1 2005-01-23 Angus Leeming <leeming@lyx.org>
3 * output_latex.C: #include "insetbibitem.h", rather than
4 forward declare function bibitemWidest.
6 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
8 * lyx_main.C (init): make it compile on the Mac.
10 2005-01-20 Angus Leeming <leeming@lyx.org>
12 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
13 (setLyXMisc): (char string literal) != (char string literal) is
14 performing a comparison on the addresses. Convert one operand
15 explicitly to string to guarantee expected behaviour.
18 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
21 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
23 * output_plaintext.C: remove unneeded #include gzstream.h.
25 2005-01-20 Angus Leeming <leeming@lyx.org>
27 * SpellBase.h: rename some of the elements of the Result enum.
34 * pspell.C (check): ditto
36 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
38 * buffer.C: add #include <fstream>.
40 * lyx_main.C (init): Compile fix.
42 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
44 2005-01-20 Angus Leeming <leeming@lyx.org>
46 * mover.h: change commentary to reflect the changed meaning of
49 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * output_linuxdoc.C (linuxdocParagraphs): silence warning
53 * lyxfind.C (MatchString::operator()): remove bogus semicolon
55 2005-01-20 Angus Leeming <leeming@lyx.org>
57 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
58 printing diagnostic data by not dereferecing an iterator past the
61 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
63 * buffer.C (readHeader): use "&&" rather than "and".
65 * lyxserver.h (inPipeName, outPipeName): make these const.
67 2005-01-19 Angus Leeming <leeming@lyx.org>
69 * lyx_main.C (error_handler, init): protect SIGHUP with
72 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
76 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text.C (setHeightOfRow): add a margin at the top and bottom of
79 the document (bug 1761)
81 2005-01-17 Angus Leeming <leeming@lyx.org>
83 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
84 with "python ". Workaround for a brain-dead Windows.
86 2005-01-16 Angus Leeming <leeming@lyx.org>
88 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
89 for MacOSX and Windows to use prependEnvPath.
90 Strip out the hard-coded block to add elements to the PATH for
91 MacOSX and replace it with a call to prependEnvPath using the
92 contents of LyXRC::path_prefix.
93 (queryUserLyXDir): strip out the code to run reconfigure, instead
94 returning a boolean indicating the necessity to do so.
95 (reconfigureUserLyXDir): contains the code to reconfigure the
96 user support directory. Is now called after the various LyXRC data
99 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
101 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * converter.[Ch] (convert): take a new parameter try_default. Use
104 a default converter (imagemagick) if try_default is true.
106 2005-01-13 Angus Leeming <leeming@lyx.org>
108 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
110 (write): output LyXRC::cygwin_path_fix as necessary.
112 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
115 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
117 2005-01-12 Angus Leeming <leeming@lyx.org>
119 * lyx_main.C (init): set the PATH variable to include the
120 directory containing the LyX binary when running on Mac or Windows.
122 2005-01-12 Angus Leeming <leeming@lyx.org>
124 * lyx_main.C (init): remove cruft that purports to set the locale
125 dir. It doesn't and is not needed anyway.
127 2005-01-10 Angus Leeming <leeming@lyx.org>
129 * Makefile.am: remove the lyx_main.C special casing.
131 * BufferView_pimpl.C:
137 * messages.C: use support/package.h to provide the paths to the
138 various directories used by LyX.
140 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
142 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
143 layout if pasting into an empty paragraph)
145 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
147 * tex-accent.C: add <string>
149 2005-01-06 José Matos <jamatos@lyx.org>
151 * ParagraphParameters.C (write): put every parameter in its own line.
152 * paragraph.C (write): reduce number of consecutive empty lines exported.
153 * buffer.C (LYX_FORMAT): increase file format to 239.
155 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
157 * everywhere: change support/tostr.h -> support/convert.h
159 * tabular.C: make all write_attributes templates, tostr -> convert
161 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
162 (emptyTag): and -> &&, and fix type for ret from getChar
163 (getFirstWord): fix type for ret from getChar
164 (onlyText): and -> &&
165 (simpleDocBookOnePar): and not -> && !, fix type for ret from
168 * toc.C (goTo, action):
169 * text3.C (dispatch):
170 * text.C (currentState):
171 * tex-accent.C (DoAccent):
174 * lyxfunc.C (menuNew):
175 * lyxfinc.C (replace):
176 * counters.C (laberItem):
177 * bufferview_funcs.C (font2string):
178 * bufferparams.C (writeFile):
179 * buffer.C (readFile):
181 * MenuBackend.C: tostr -> convert
183 * LaTeX.C (runMessage): fix format
184 (scanAuxFiles): tostr -> convert
186 * BufferView_pimpl.C (savePosition): fix format
187 (restorePosition): ditto
190 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
192 * Spacing.[Ch]: New method getValueAsString().
196 * ParagraphParameters.C:
199 * text3.C: store/read spacing value as string.
201 * rowpainter.C: change float value (spacing_val) to double.
203 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
204 broken custom document spacing).
206 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
208 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
209 namespace, also more use of temp references and const
211 * cursor.[Ch] (getStatus): move to lyxfunc.C
213 * bufferparams.C: reformat slightly
215 * bufferview_funcs.C (font2string): constify arg
221 * buffer_funcs.C: (many funcs): constify arg on function
222 definitions, also make more local vars const, also add ASSERTS on
225 * buffer.C (LYX_FORMAT): put const in correct place
226 (many funcs): constify arg on function definitions, also make
227 more local vars const
229 * aspell_local.h: remove "struct" from typdef setup
231 * aspell.C (check): make word_ok const
232 (nextMiss): simplify slightly
235 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * lyxrc.[Ch]: store all float values as strings.
238 use int (not float) for lyxrc.dpi.
240 2005-01-04 Angus Leeming <leeming@lyx.org>
242 * lyx_cb.C (Reconfigure):
243 * lyx_main.C (queryUserLyXDir):
244 to run the <system_lyxdir>/configure correctly on Windows, prefix
245 the path to the script with "sh " when generating the string that
246 is passed to system().
248 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
252 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * lyxlength.C (asLatexString): get rid of setprecision
256 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * text2.C (setLayout): remove unused variable endpit.
259 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
261 * paragraph.C (onlyText): remove unused variable style.
263 * cursor.C (bruteFind): remove unused variables beg and end.
265 * Makefile.am (dist_noinset_DATA): not needed anymore
267 * cheaders/*: remove.
269 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
271 * text3.C: fix LFUN_MATH_MODE.
273 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * buffer_funcs.C (countWords): new function. Counts words between
278 * BufferView_pimpl.C (getStatus, dispatch): handle
281 * LyXAction.C (init):
282 * lfuns.h: add LFUN_WORDS_COUNT.
284 2004-12-19 Angus Leeming <leeming@lyx.org>
286 * buffer.C (save): s/slashify_path/internal_path/.
288 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * lyxfind.C (findChange): do not search for end of pars, because
291 the change tracker cannot handle this (fixes bug 1719).
293 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
295 * paragraph.[Ch] (autoBreakRows): remove
297 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
299 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
300 avoid using the paragraph one
302 * text2.C (LyXText, insertStringAsLines): adjust
304 2004-12-16 Angus Leeming <leeming@lyx.org>
308 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
310 2004-12-14 Angus Leeming <leeming@lyx.org>
312 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
314 * bufferlist.C (emergencyWrite):
315 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
318 2004-12-14 Angus Leeming <leeming@lyx.org>
320 * main.C: (main): no longer pass pointers to os::init.
322 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
324 * undo.C (textUndoOrRedo): simplify logic, fix a crash
325 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
327 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
330 * text3.C: remove selection_possible global flag
332 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
334 * text2.C (getSelectionSpan): remove
335 (changeDepth, changeDepthAllowed): adjust
337 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
339 * Makefile.am (BOOST_LIBS): use boost variables
341 2004-12-03 José Matos <jamatos@lyx.org>
343 * buffer.C: format up to 238.
345 2004-12-03 José Matos <jamatos@lyx.org>
347 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
349 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
351 * cursor.C (goUpDown): remove call to idxUpDown2
353 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
355 * tabular.[Ch]: use size_t-like types for cell, row and column
358 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * lyxfunc.C (getStatus): do not lose previous information when
361 calling BufferView::getStatus; do not set a default "Command
362 disabled" message at the beginning, but just before returning.
364 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
366 * cursor.h (getStatus): add better comment from src/cursor.C
368 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * text3.C (getStatus): return false when the lfun is not handled
372 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * broken_headers.h: remove
376 * Makefile.am (lyx_SOURCES): remove broken_headers.h
378 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
380 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
383 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
384 top_y_, merge fitcursor with update
385 (updateScrollbar, scrollDocView, fitCursor, center, update): new
388 (workAreaDispatch): adapt to new coord scheme
389 (redoCurrentBuffer): remove
391 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
393 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
396 * coordcache.[Ch]: add paragraph cache and helpers
398 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
401 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
402 (targetX, setTargetX): introduce
404 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
405 baseline -> ascent, as the rest of lyx
407 * lyxtext.h: remove redoParagraphs, updateParPositions,
408 fullRebreak, redoParagraphInternal. move dist to anon namespace in
409 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
410 have ascent/descent (ascent is ascent of first par)
412 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
415 * paragraph.[Ch]: unify dimension handling with the rest of lyx
417 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
419 * pariterator.C: fix infinite loop introduced in par->pit renaming
421 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
422 in insets and LyXText, draw two off-screen paragraphs using
423 NullPainter, and adapt to new coord scheme
427 * text3.C: adapt lfun handlers to the new coord scheme, which
428 means: there's only guaranteed coord information for onscreen pars
429 plus one above and one below. This implies that one can do search
430 from y coordinates in the range [-1,workHeight]
432 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
434 * rename a lot of InsetOld to InsetBase
436 2004-11-25 Angus Leeming <leeming@lyx.org>
438 * BufferView_pimpl.C:
440 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
442 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
445 call BufferView::getStatus if LCursor::getStatus did nothing
446 (setStatusMessage, getStatusMessage): removed.
448 * FuncStatus.C (message): new methods. Used to provide an error
449 message indicating why a command is disabled.
450 (clear, |=, FuncStatus): update for message.
452 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * lyxfunc.C (dispatch): always call sendDispatchMessage
456 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
459 * BufferView_pimpl.C:
473 * undo.C: par->pit renaming
475 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
477 * tabular.C (cellstruct): use initialization, store a shared_ptr
478 to insettext instead of the insettext directly, adjust to fit.
479 (operator=): new function
481 (rowstruct): use initialization
482 (columnstruct): use initialization
483 (ltType): use initialization
486 * lyxlength.h (swap): new function
488 * LColor.[Ch] (operator=): use the common semantics
490 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * lyxfind.C (findNextChange): update the bufferview after setting
495 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
498 number of InsetOptArgs has already been inserted.
500 * output_latex.C (latexOptArgInsets): new method. This outputs all
501 the optarg insets, up to the limit defined in the layout file.
502 (optArgInset): removed
503 (TeXOnePar): call latexOptArgInsets; correctly update texrow
505 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * paragraph.C (isLetter): remove special spellchecker-related
508 code; return true also for digits
509 (isWord, isKomma): remove
511 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
512 * lyxfind.C (MatchString()): use isLetter instead of isWord
514 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
516 * pariterator.h (operatir=): comment out un-implemented member
519 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
522 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
524 * lyxfont.h: include LColor.h to satisfy concept checks.
526 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
528 * pariterator.h: add typdefs for value_type, difference_type,
529 pointer and reference to satisfy concept checks. Also add default
530 constructor for same reason.
532 * pariterator.C (operator++): add post-increment operator to
533 satisfy concept checks.
535 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
538 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
540 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
541 checks. Also rename base_type to BaseType to follow naming
544 * FloatList.h: include Floating.h to satisfy concept checks.
546 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * lyxfunc.C (getStatus): when the origin of the request is menu or
549 toolbar, and the LyXView does not have focus, do as if there was
552 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
553 FuncRequest to individual entries of LFUN_SEQUENCE
555 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * output_latex.C (TeXOnePar): override runparams.moving_arg
558 according to the needprotect value of the current paragraph (bug
561 * paragraph.C (simpleTeXOnePar): no need to override
562 runparams.moving_args here
564 2004-11-14 John Spray <spray_john@users.sourceforge.net>
566 * vspace.C: fix off-by-one-error, related to fix #1682
568 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
570 * lengthcommon.C: a more general fix for bug 1682
572 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
574 * text.C (backspace): fix crash
576 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
578 * format.[Ch] (getFormatFromFile): new method
579 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
581 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
583 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
585 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * lyxfunc.C (dispatch): remove the verbose argument
588 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
591 * kbmap.C (defkey): set the origin of func to KEYBOARD
593 * MenuBackend.C (MenuItem):
594 * ToolbarBackend.C (add): set the origin of func to UI
596 * funcrequest.[Ch]: add origin member, which indicates which part
597 of LyX requests an action
599 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
601 * converter.C (move): don't lie in the error message
602 * converter.h (isReachable, move): document
604 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
606 * buffer.C: remove unused using lyx::support::atoi
607 * paragraph_funcs.C: ditto
609 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
611 * bufferlist.C (exists): use bind and equal_to instead of
614 * lyxtextclasslist.C (NumberOfClass): ditto
616 * cursor.C (insert): use for_each instead of explicit for loop
618 * bufferlist.C (getFileNames): use std::transform and
619 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
621 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
624 * buffer.C (changeLanguage): use for_each instead of explicit for
626 (hasParWithID): implement using getParFromID
628 * LaTeXFeatures.C: ws change only
630 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
633 * BufferView_pimpl.C (trackChanges): use for_each instead of
636 2004-11-04 André Pönitz <poenitz@gmx.net>
639 * undo.C (textUndoOrRedo): fix crash when creating undo information.
641 * dociterator.C (asDocIterator): use hard assert again.
643 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * lyxlength.C (asLatexString): rewrite so that it does not use
648 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * text3.C (specialChar, dispatch): make sure cursor moves to the
651 right after inserting an inset
653 2004-11-02 José Matos <jamatos@lyx.org>
655 * output_docbook.C (docbook):
656 * paragraph.C (getID):
657 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
658 garantee that the output is always legal.
660 * tabular.C (docbook):
661 * outputprams.[Ch]: remove mixed contents.
663 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * text2.C (setCounter): prevent endless loop
667 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
669 * exporter.C (copyFile): use the mover instead of support::copy()
670 * exporter.C (Export): pass format and latex name to copyFile()
671 * exporter.h (addExternalFile): document
672 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
674 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
678 2004-10-30 José Matos <jamatos@lyx.org>
680 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
681 text and no inset or font change. This allows to use CDATA
682 sections just for the whole paragraph.
684 2004-10-30 José Matos <jamatos@lyx.org>
686 * paragraph.C (getFirstWord): remove unused variable.
688 2004-10-30 José Matos <jamatos@lyx.org>
690 * paragraph.C (getFirstWord): the content should always be escaped
692 (simpleDocBookOnePar):
693 * output_docbook.C (makeEnvironment): replace reference to CDATA
696 2004-10-30 José Matos <jamatos@lyx.org>
698 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
700 2004-10-30 José Matos <jamatos@lyx.org>
702 * output_docbook.C (makeParagraphs):
703 * paragraph.[Ch] (emptyTag): for docbook and company, if the
704 standard paragraph has only a given type of content drop the wrapper.
706 2004-10-29 José Matos <jamatos@lyx.org>
708 * output_docbook.C (makeEnvironment):
710 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
712 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
714 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
715 (cleanID): sanitize any id.
717 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
719 * buffer.C, lyxlex_pimpl.C:
720 * lyxlex_pimpl.C (setFile):
721 s/getExtFromContents/getFormatFromContents/
723 2004-10-28 José Matos <jamatos@lyx.org>
725 * output_docbook.C (makeEnvironment): move id to broadest possible
728 * sgml.C (openTag): apply substitution of <> for all attributes.
730 2004-10-28 José Matos <jamatos@lyx.org>
732 * buffer.C (makeLinuxDocFile, makeDocBookFile):
733 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
734 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
736 * sgml.[Ch]: new version for open and closeTag for paragraph and
737 for strings. Now they handle the ids of paragraphs.
739 2004-10-26 Angus Leeming <leeming@lyx.org>
741 * Makefile.am: add mover.[Ch].
743 * converter.C (convert, move): use the new Movers to move external
744 files to the temp directory.
746 * lyx_main.C (init): ensure that the global system_movers data
749 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
752 * mover.[Ch]: new files, defining a Mover as a utility to move an
753 external file between directories and, if necessary, manipulate this
754 file using a helper script.
756 2004-10-25 José Matos <jamatos@lyx.org>
758 * output_docbook.C (makeCommand): merge two if's that tested the
761 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * sgml.C (escapeString): fix warning in a better way
765 2004-10-25 José Matos <jamatos@lyx.org>
767 * sgml.C (escapeString): import the require boosts header file for
768 tie, and avoid a signed unsigned comparison.
770 2004-10-25 José Matos <jamatos@lyx.org>
772 * sgml.h: add #include <string>
774 2004-10-25 José Matos <jamatos@lyx.org>
776 * sgml.[Ch] (escapeString): new function to escape all the string.
778 2004-10-24 José Matos <jamatos@lyx.org>
780 * paragraph.[Ch] (getFirstWord): new function to get the first
781 word. Useful for description.
782 (simpleDocBookOnePar): remove depth argument, add another that
783 says where to start the paragraph.
785 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
786 use the new functions to fix cleanly the support for descriptions.
788 2004-10-24 José Matos <jamatos@lyx.org>
790 * buffer.C (makeLinuxDocFile, makeDocBookFile):
791 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
792 * output_linuxdoc.C (linuxdocParagraphs):
793 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
794 add buffer as argument.
796 2004-10-24 José Matos <jamatos@lyx.org>
798 * output_docbook.C (makeEnvironment, searchEnvironment): place
799 CDATA inside paragraphs and fix scope for listitems.
801 2004-10-24 José Matos <jamatos@lyx.org>
803 * output_docbook.C: remove using statement for stack.
805 2004-10-23 José Matos <jamatos@lyx.org>
807 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
808 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
809 docbook. The new scheme is recursive and makes use of iterators, the
810 same as latex export works.
811 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
812 directly with the paragraph contents. This code was moved up to
813 output_docbook.C (docbookParagraphs).
814 * sgml.C (openTag, closeTag): removed unneeded newlines.
815 (closeEnvTags) removed.
817 2004-10-23 André Pönitz <poenitz@gmx.net>
819 * undo.C (textUndoOrRedo):
820 * dociterator.C (asDocIterator): work around crash
822 * cursor.C (getStatus): replace ASSERT by more verbose error message
823 and manual correction of the problem. Should increase stability
824 while providing more sensible information.
826 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
830 * bufferlist.C (previous, next): new methods
833 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
835 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
837 * buffer.C (makeDocBookFile): add dsssl stylesheet control
838 entities to preamble.
840 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * messages.C (Pimpl): strip off translation context information
844 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
847 the cursor is correct (bug 1694)
849 2004-10-13 José Matos <jamatos@lyx.org>
851 * output_docbook.C (docbookParagraphs): fix closing tags in the
854 2004-10-09 José Matos <jamatos@lyx.org>
856 * buffer.C: format up to 237.
857 * bufferparams.C (write): use tostr to convert booleans to strings.
859 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
861 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
863 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
865 * LaTeX.C: implement use of babel language in xindy.
867 2004-10-05 José Matos <jamatos@lyx.org>
869 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
870 Add new translators to help reading and writing the lyx file.
872 2004-10-05 José Matos <jamatos@lyx.org>
874 * ParagraphParameters.C (read):
875 * text.C (readParToken): replace nexToken by more appropriate lex
878 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
880 * LaTeX.C (runMakeIndex):
881 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
882 (usually 'makeindex') configurable.
884 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
885 with a variable rather than with a number.
887 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * output_latex.C (TeXOnePar): make sure font setting is the first
890 thing that gets output (and the last at the end). Should fix bug
893 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
895 * pch.h: use proper signal include
897 * LaTeX.h: Use preferred calling of Boost.Signal
900 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
902 * pch.h: dont include <boost/function/function0.hpp>
904 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
906 * paragraph_pimpl.h: remove usage of ShareContainer
908 * paragraph_pimpl.C: remove initialization of ShareContainer.
910 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * BufferView.C (putSelectionAt): change the semantics when
915 backwards == true: now, this just swaps cursor and anchor wrt the
918 * BufferView.h (putSelectionAt): add some documentation
920 * lyxfind.C (findBackwards): rewrite using while(). In particular,
921 make sure backwardChar is done at least once (to avoid getting
923 (findNextChange): use putSelectionAt in the forward direction
924 (operator()): use Paragraph::isWord
926 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * Spacing.C (set): c_str fix
930 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * lyx_cb.C (Reconfigure): quote the name of configure script in
933 case it contains spaces
935 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
939 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
940 (BOOST_LIBS): use top_buildir when looking for the file
942 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
944 * pch.h: do not use include boost/format.hpp, multiple symbols
945 will result (gcc bug)
948 2004-08-23 José Matos <jamatos@lyx.org>
950 * bufferparams.C (readToken): fix reading of the author field.
952 2004-08-20 José Matos <jamatos@lyx.org>
954 * lyxrc.C: remove support/translator.h inclusion since it is not used.
956 2004-08-20 José Matos <jamatos@lyx.org>
958 * lyxlex.[Ch] (findToken): remove function.
960 * ParagraphParameters.C (findToken):
961 * bufferparams.C (findToken): replace call for previous function
962 with local copy. This local function has one more argument, the
963 read string argument.
965 2004-08-16 José Matos <jamatos@lyx.org>
967 * ParagraphParameters.C (write):
968 * Spacing.C (writeFile):
969 * bufferparams.C (writeLaTeX):
970 * lyx_cb.C (Reconfigure):
971 * paragraph.C (write):
972 * tabular.C (write): remove unnecessary space at end of line.
975 2004-08-16 José Matos <jamatos@lyx.org>
977 * text.C (readParagraph): remove debug message.
979 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
984 * output_plaintext.C (asciiParagraph): set depth correctly
986 * outputparams.h: add member depth
988 * paragraph_funcs.C (ownerPar): remove.
990 * text2.C (setCounter): remove first_pit; comment out some
991 non-working code that uses ownerPar
993 * BufferView.C (getParentLanguage): remove. Not used anymore, and
996 2004-08-16 José Matos <jamatos@lyx.org>
998 * text.C (readParToken, readParagraph, read): report all unknown tokens.
999 For the same level of importance use the same chanel to report problems.
1000 (read): add code to deal with \begin_body and \end_body.
1003 2004-08-15 José Matos <jamatos@lyx.org>
1005 * lyxlex.C (getString): fix comment, buffer::readBody is now
1006 buffer:readDocument.
1008 * tex-strings.C (string_papersize): Default -> default,
1009 Custom -> custom, for consistency with other options.
1011 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1015 * Makefile.am: support pch
1017 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * text.C (readParToken): remove the static LyXFont variable and
1020 pass it as a parameter instead. This fixes a nasty bug where an
1021 inset will be inserted with a bad font in some situations
1022 (readParagraph): adapt
1024 * text2.C (setCounter): reduce number of calls to pars_[pit]
1026 * text.C (singleWidth): add an assert, fix a test
1028 * rowpainter.C (paintText): reduce number of calls to singleWidth
1030 * paragraph.C (isHfill):
1031 (isNewline): ws only
1033 2004-08-14 André Pönitz <poenitz@gmx.net>
1038 * lyxtext.h (several functions): use a Paragraph & argument
1041 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1045 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1047 * text.C (singleWidth): remove useless test
1049 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * tabular.h: remove bogus comments
1053 * tabular.C (getDescentOfRow):
1054 (isPartOfMultiColumn): add assertions
1056 * lyxlength.C (inPixels): remove #warning
1058 2004-08-14 André Pönitz <poenitz@gmx.net>
1060 * paragraph.h: inline getChar()
1062 * BufferView.h: remove unused declarations
1064 2004-08-14 José Matos <jamatos@lyx.org>
1066 * Buffer.[Ch] (readDocument): new name for old readBody.
1067 * Buffer.C: new file format, new keywords: \begin_document,
1068 \begin_header, \begin_body, \end_body.
1070 * bufferparams.C (readToken): replace all calls to lex.nextToken
1071 by lex.next(). Do the same to eatLine except where really needed.
1073 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1074 line when writing to the lyx file.
1076 * output_plaintext.C (asciiParagraph): fix Bibliography style
1079 * text.C (read): fix end of file handling.
1081 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * MenuBackend.C (Menu::operator[]): new method to access
1084 individual menu items
1085 (Menu::hasFunc): new method. search for an item that corresponds
1087 (MenuBackend::specialMenu): new method
1088 (MenuBackend::expand): if a special menu has been set, skip
1089 entries whose func() appears in this menu
1091 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1093 * text3.C: use Debug::DEBUG a bit more
1095 * text.C (leftMargin): try to simplify a tiny bit change var x to
1096 l_margin. Dont output the wide margins always.
1097 (rightMargin): no margin in inner texts
1099 * rowpainter.h (nestMargin): new func
1100 (changebarMargin): new func
1101 (rightMargin): new func
1103 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1107 * factory.C (createInset): modify setDrawFrame
1109 * cursor.C: use Debug::DEBUG a bit more
1111 2004-08-14 André Pönitz <poenitz@gmx.net>
1114 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1115 cache for all insets in (at least partially) visible (top-level)
1118 * BufferView_pimpl.C: reset external coord cache before every update.
1119 This means the coord cache only contains valid entries.
1121 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1124 * BufferView_pimpl.C (getInsetByCode): move function out of class
1125 and change in to a template in anon namespace. Also fix to do what
1128 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1131 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1133 (breakParagraph): rename par to par_offset and use a local
1134 reference. Add code to keep the language over a rebreak.
1135 (breakParagraphConservative): rename par to par_offset, use a
1137 (mergeParagraph): ditto
1139 (isFirstInSequence): ditto
1140 (outerFont): rename pit to par_offset
1142 * paragraph.C: ws change
1143 * paragraph.h: ditto
1147 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1152 * paragraph.C (simpleTeXOnePar): when we have a \item with
1153 optional argument, enclose the argument with curly brackets (in
1154 case it contains a closing square bracket)
1158 * text3.C (checkInsetHit): constify
1160 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1163 documents (bug 1629)
1165 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 Fix toggling of collapsable insets with the mouse (bug 1558)
1169 * lyxfunc.C (dispatch): adapt to LCursor changes
1171 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1172 make sure that dispatch is not invoked twice
1174 * cursor.C (needsUpdate): new method
1175 (dispatch): return void
1176 (result): new method, to access the DispatchResult of the cursor.
1178 2004-08-13 José Matos <jamatos@lyx.org>
1180 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1182 2004-08-13 André Pönitz <poenitz@gmx.net>
1184 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1186 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1189 2004-08-12 André Pönitz <poenitz@gmx.net>
1191 * text3.C: take out the 'cursor right' form insertInset and only
1192 do it in those places when it is really needed. Fixes crash on
1195 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1197 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1199 * BufferView_pimpl.C (setBuffer): initialize the current font of
1200 the underlying LyXText
1202 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * kbsequence.C (print): use UI native formatting for menu
1207 * text.C (insertChar): call Paragraph::insertChar with a font
1210 * paragraph.C (insertInset, insertChar): the version that takes a
1211 LyXFont argument is now a wrapper around the other one (the
1212 opposite used to be true).
1214 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1215 argument. Font setting is done in Paragraph now.
1217 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * outputparams.h: add new members intitle and lang.
1221 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1222 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1224 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1226 * text3.C (dispatch): remove special handling of button 4 and 5,
1227 it is now taken care of in the frontend code.
1229 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * Spacing.h: add <string> (STLPort compile fix)
1233 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1235 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1237 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1242 * converter.C (showMessage): inherit from unary_function, make
1245 * buffer.C (writeFile): initialize retval
1247 * InsetList.h: rename private variable list to list_
1248 * InsetList.[Ch]: adjust accordingly.
1250 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1252 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1253 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1254 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1255 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1256 * ParagraphParameters.C, LaTeXFeatures.C: replace
1257 "support/std_sstream.h" with <sstream>
1259 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1261 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1262 * lyxsocket.C (LyXServerSocket): ditto
1263 (serverCallback): ditto
1265 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1267 * LaTeXFeatures.C: check release date when loading jurabib.
1269 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1271 * lyxserver.C (startPipe): call register_socket_callback
1272 (endPipe): call unregister_socket_callback
1274 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1276 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1277 (LyXServerSocket): register the callback
1278 (LyXServerSocket): unregister the callback
1279 (fd): delete function
1280 (serverCallback): improve error checking and setup the callbacks.
1281 (dataCallback): change arg to fd.
1282 (writeln): new func (copied fro the client socket) used for server
1284 (LyXDataSocket): simplify
1285 (~LyXDataSocket): close ann unregiser callback
1286 (server): delete function
1287 (fd): delete function
1288 (readln): small changes, improve some std::string usage
1289 (writeln): constify a bit
1291 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1296 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1299 after it has been populated
1301 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1303 * text2.C (insertInset): move cursor when inserting inset.
1305 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1307 * kbmap.C (findbindings): a couple of new methods. returns a
1308 container of kb_sequence objects. The real work is done by the
1309 private recursive version
1310 (printbindings): uses findbindings to print out a bracketed list
1311 of bindings (renamed from findbinding).
1313 * MenuBackend.C (binding): use kb_keymap::findbindings
1315 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1317 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1319 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1321 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * paragraph.C (isWord): return true on insets that report
1326 * text.C (getWord): use Paragraph::isWord to decide what is in a
1327 word and what is not; fix bug 1609.
1329 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * tex-strings.C: add "none" to string_paperpackages[], fixes
1332 off-by-one-error in the paperpackage selection.
1335 * tex-strings.[Ch]: char const * string[n]
1336 -> char const * const string[]
1338 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1341 command, return early.
1343 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1345 * debug.h: add DEBUG to enum and fix size of ANY.
1347 * debug.C: add support for Debug::DEBUG
1348 (showTags): cast errorTags.level to unsigned int
1350 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1351 (redoCurrentBuffer): ditto
1352 (updateScrollbar): ditto
1353 * cursor.C (dispatch): ditto
1354 * text2.C (setLayout): ditto
1356 (updateCounters): ditto
1358 (deleteEmptyParagraphMechanism): ditto
1360 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1362 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1363 annotations to cleanup the Makefile slightly.
1365 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * lyxrc.C: do not set user_email to a default value but use empty
1368 instead. The entry used to be translated, which does not work
1369 since at the point where lyxrc is constructed there is no
1370 translation service available
1372 * messages.C (getLocaleDir): remove and use directly
1373 lyx_localedir() instead
1375 2004-06-02 Angus Leeming <leeming@lyx.org>
1377 Fix crash caused by dereferencing null pointer 'exportdata' in
1378 OutputParams by creating a new ExportData variable on the heap,
1379 storing it in a boost::shared_ptr.
1380 The crash was triggered when generating an Instant Preview
1381 of an external inset.
1383 * Makefile.am: add outputparams.C
1385 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1386 (c-tor): allocate memory to it.
1388 * exporter.C (c-tor): associated changes.
1390 2004-06-01 Angus Leeming <leeming@lyx.org>
1392 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1393 contains data before calling isInset(0). (Bug 1513.)
1395 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1397 * exporter.C (checkOverwrite): new method
1398 * exporter.C (copyFile): new method
1399 * exporter.C (Export): copy referenced files to the document dir
1400 * exporter.[Ch]: new class ExportedFile
1401 * exporter.[Ch]: new class ExportData. Contains currently the
1402 names of referenced external files
1403 * outputparams.h: add exportdata member.
1405 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1407 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1410 2004-05-19 Angus Leeming <leeming@lyx.org>
1415 * lyxfunc.C: small changes due to the introduction of namespace
1416 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1418 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1420 * text3.C (dispatch): supress update when only moving the cursor
1421 * cursor.C (selHandle): remove commented code
1423 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1425 * paragraph.C (startTeXParParams): correct column count
1426 * CutAndPaste.C (pasteSelection): remove const_cast
1427 * output_docbook.C (docbookParagraphs): remove const_cast
1428 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1429 const_cast and return ParagraphList::const_iterator
1430 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1431 * output_plaintext.C (writeFileAscii): remove const_cast
1432 * paragraph.[Ch] (simpleTeXOnePar): make const
1433 * paragraph_funcs.C (outerPar): use const iterators
1434 * paragraph_pimpl.C (validate): use const iterators
1435 * text.C (setHeightOfRow): use const iterators
1437 2004-05-17 Angus Leeming <leeming@lyx.org>
1440 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1442 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1443 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1444 if the citation engine has changed.
1446 2004-05-14 José Matos <jamatos@lyx.org>
1448 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1449 if the textclass does not provide it. Have it different for sgml and
1451 support the language of document.
1452 * output_docbook.C (docbookParagraphs):
1453 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1454 first anchor as the id of the paragraph, remove special case code.
1455 * sgml.C (escapeChar): escape only < & >.
1457 2004-05-14 Angus Leeming <leeming@lyx.org>
1459 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1460 dependencies on src/frontends/controllers/biblio.h. Define a
1461 CiteEngine_enum wrapper class to enable the enum to be forward
1464 2004-05-12 Angus Leeming <leeming@lyx.org>
1466 * buffer.C: up LYX_FORMAT to 234.
1467 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1468 use_numerical_citations with a single biblio::CiteEngine cite_engine
1470 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1472 2004-05-13 José Matos <jamatos@lyx.org>
1475 * converter.C (Converter, readFlags): add xml member.
1476 * outputparams.h: add XML flavor.
1477 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1479 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * lyxfunc.C (dispatch):
1482 (getStatus): fix handling of LFUN_SEQUENCE
1484 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * debug.C (showLevel): do not forget the end-of-line marker
1488 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * kbmap.C (read): do not stop parsing a bind file when an error
1493 2004-04-29 Angus Leeming <leeming@lyx.org>
1498 * text2.C: wrap a bunch of #warning statements
1499 inside #ifdef WITH_WARNINGS blocks.
1501 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1503 * buffer.C: increment format to 233.
1505 2004-04-28 Angus Leeming <leeming@lyx.org>
1507 * BufferView_pimpl.C:
1510 s/updateToolbar()/updateToolbars()/
1511 s/Toolbar.h/Toolbars.h/
1513 2004-04-28 Angus Leeming <leeming@lyx.org>
1515 * BufferView.[Ch] (c-tor):
1516 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1517 No longer passes these data to the WorkArea generator.
1519 2004-04-28 Angus Leeming <leeming@lyx.org>
1521 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1523 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1525 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1527 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * output_latex.C (TeXEnvironment): make sure that there is a line
1530 break before \end{foo} for the last paragraph of a document
1531 (TeXOnePar): if the paragraph is at the end of the document (or
1532 inset) and the language has to be reset, then make sure that the
1533 line break is _before_ the language command, not after (fixes bug
1534 1225); also make sure that the language reset command is the first
1535 thing after the paragraph (to ensure proper nesting of
1536 environments and thus fix bug 1404)
1538 2004-04-21 John Levon <levon@movementarian.org>
1541 * ToolbarBackend.C: make "name" be a programmatic name
1542 and a gui_name field.
1544 * lyxfunc.C: display the minibuffer on M-x
1546 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1551 2004-04-19 Angus Leeming <leeming@lyx.org>
1553 * BufferView_pimpl.C (setBuffer): changed preview interface.
1555 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1558 2004-04-19 John Levon <levon@movementarian.org>
1560 * BufferView_pimpl.C:
1561 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1563 2004-04-05 Angus Leeming <leeming@lyx.org>
1565 * text.C (redoParagraphs): add call to updateCounters(), thereby
1566 fixing the missing "Figure #:" label from the caption of a
1569 2004-04-13 Angus Leeming <leeming@lyx.org>
1571 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1572 cursor is clicked out of an inset.
1574 2004-04-13 Angus Leeming <leeming@lyx.org>
1576 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1577 than an InsetOld one.
1579 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1581 * format.[Ch]: add editor to Format
1582 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1583 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1585 2004-04-08 André Pönitz <poenitz@gmx.net>
1587 * metricsinfo.h: remove PainterInfo::width member
1589 2004-04-08 Angus Leeming <leeming@lyx.org>
1591 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1592 "\providecommand" rather than "\newcommand", thereby preventing
1593 clashes with packages that define "\boldsymbol" themselves.
1596 2004-04-08 Angus Leeming <leeming@lyx.org>
1598 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1599 thereby squashing an unnecessary warning.
1601 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1603 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1606 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1608 * BufferView.C (setCursor): call redoParagraph (some insets could
1610 (putSelectionAt): remove the 'double update' trick
1612 * BufferView_pimpl.C (fitCursor): call refreshPar
1613 (workAreaDispatch): remove an uneeded update call
1614 (dispatch): remove some manual update calls
1616 * cursor.[Ch]: remove cached_y_, updatePos
1617 (selHandle): set noUpdate when appropriate
1619 * lyxfunc.C (dispatch): track if we need an update
1621 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1623 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1624 (paintSelection): cheap optimization, do not call cursorX when not
1626 (paintPars): change signature
1629 (paintTextInset): adjust
1633 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * lengthcommon.C: compilation fix: remove explicit array size from
1636 unit_name[] and friends
1638 2004-04-05 Angus Leeming <leeming@lyx.org>
1640 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1642 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1643 present only for the preferences dialog.
1644 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1646 2004-04-05 Angus Leeming <leeming@lyx.org>
1648 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1649 to enable the frontends to export changes to lyxrc correctly.
1651 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1653 2004-04-07 André Pönitz <poenitz@gmx.net>
1655 * cursor.[Ch] (selClear, adjust): remove math
1657 * cursor_slice.C: more agressive assert
1660 * BufferView_pimpl.C: rework mouse event dispatch
1667 2004-04-05 André Pönitz <poenitz@gmx.net>
1669 * cursor.[Ch] (valign, halign...): remove unneeded functions
1671 2004-04-05 Angus Leeming <leeming@lyx.org>
1673 * lyxlength.[Ch] (unit_name et al.): const-correct.
1675 2004-04-05 Angus Leeming <leeming@lyx.org>
1677 * BufferView_pimpl.C:
1686 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1688 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1690 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1692 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1694 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1695 * BufferView_pimpl.[Ch] (getStatus)
1696 * BufferView.[Ch] (getStatus): add
1697 * lyxfunc.C (getStatus): move lfuns handled in
1698 BufferView::dispatch to te function above
1699 * Cursor.C (setSelection): set selection() = true
1701 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1703 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1705 2004-03-31 Angus Leeming <leeming@lyx.org>
1707 * lyxfunc.C (dispatch): Fall through to the generic
1708 Dialogs::show("preamble").
1710 2004-03-31 Angus Leeming <leeming@lyx.org>
1712 * lyxfunc.C (dispatch): Fall through to the generic
1713 Dialogs::show("spellchecker").
1715 2004-03-31 Angus Leeming <leeming@lyx.org>
1717 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1720 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1725 * insetiterator.[Ch]:
1730 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1732 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1734 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1735 insets where we are putting the cursor.
1737 2004-03-31 Angus Leeming <leeming@lyx.org>
1740 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1742 * lyxrc.[Ch] (read, write): overloaded member functions taking
1743 a std::[io]stream arguments.
1745 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1747 2004-03-31 Angus Leeming <leeming@lyx.org>
1749 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1750 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1752 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1753 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1755 2004-03-31 Angus Leeming <leeming@lyx.org>
1757 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1758 the LFUN_ALL_INSETS_TOGGLE code.
1760 2004-03-30 Angus Leeming <leeming@lyx.org>
1762 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1763 has died. Fall through to the generic Dialogs::show("document").
1765 2004-03-30 Angus Leeming <leeming@lyx.org>
1768 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1769 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1771 * lyxfunc.C (getStatus, dispatch): define the actions for these
1772 lfuns. Little more than a cut and pste job from ControlDocument.C
1774 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1776 2004-03-30 Angus Leeming <leeming@lyx.org>
1779 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1780 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1782 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1783 open/closed state of ollapsable insets. Usage:
1785 all-inset-toggle <state> <name>, where
1786 <state> == "open" || "closed" || "toggle" and
1787 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1789 * lyxtext.h, text2.C (toggleInset): removed.
1791 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1792 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1793 now passes LFUN_INSET_TOGGLE to the found inset.
1795 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1796 is now invoked as "all-insets-toggle toggle branch".
1798 2004-03-30 Angus Leeming <leeming@lyx.org>
1802 * pariterator.[Ch]: added/corrected header blurb.
1804 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1806 * dociterator.[Ch]: add an inset_ member
1807 (backwardPos): implemented
1808 (backwardPos, forwardPos): use inset_ when the stack is empty.
1809 (doc_iterator_begin, doc_iterator_end): implemented
1810 * pariterator.[Ch]: adjust, add begin, end
1811 * insetiterator.[Ch]: adjust, add begin, end
1815 * BufferView_pimpl.C:
1816 * CutAndPaste.C: adjust
1818 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1820 * buffer.C: increment file format to 232.
1821 * LaTeXFeatures.C: add bibtopic package.
1822 * bufferparams.[Ch]: param \use_bibtopic.
1824 * lyxrc.[Ch]: add lyxrc bibtex_command
1825 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1827 * buffer.C: increment file format to 231.
1829 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1831 * dociterator.C: implement forwardPar
1832 * iterators.[Ch]: remove, replaced by
1833 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1835 * BufferView_pimpl.C:
1838 * bufferview_funcs.C:
1844 * Makefile.am: adjust
1846 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1848 * CutAndPaste.C (pasteSelection): fix 2 crashes
1849 (eraseSelection): fix a crash
1850 * paragraph_funcs.C: remove a warning
1852 2004-03-28 Angus Leeming <leeming@lyx.org>
1855 * LyXAction.C (init): new LFUN_PRINT.
1857 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1859 2004-03-27 Angus Leeming <leeming@lyx.org>
1862 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1864 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1866 2004-03-27 Angus Leeming <leeming@lyx.org>
1868 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1869 insetlist always contains non-null pointers to insets.
1871 2004-03-26 Angus Leeming <leeming@lyx.org>
1873 * src/BufferView_pimpl.C:
1874 * src/CutAndPaste.C:
1877 * src/output_plaintext.C:
1878 * src/outputparams.h:
1879 * src/paragraph_funcs.C:
1883 * src/frontends/controllers/ControlErrorList.C:
1884 * src/frontends/gtk/FileDialogPrivate.C:
1885 * src/frontends/gtk/GPainter.C:
1886 * src/frontends/gtk/GToolbar.C:
1887 * src/frontends/qt2/QRef.C:
1888 * src/mathed/math_scriptinset.C: squash compiler warnings.
1890 2004-03-26 Angus Leeming <leeming@lyx.org>
1892 * ispell.C (LaunchIspell::start):
1893 * lyx_cb.C (AutoSaveBuffer::start):
1894 invoke run(DontWait) rather than runNonBlocking().
1896 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1898 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1900 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * kbsequence.C (print): adjust
1904 * kbmap.C (printKeySym): rename and change signature
1905 (printKey): use LyXKeySym::print()
1907 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1909 * undo.C: add using std::advance to compile for stlport
1911 2004-03-24 Angus Leeming <leeming@lyx.org>
1913 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1914 it leads to a crash when no buffer is present.
1916 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 Martin Vermeer <martin.vermeer@hut.fi>
1919 * lyxfunc.C (dispatch):
1920 * bufferparams.C (readToken): use the new LColor::setColor
1922 * LColor.[Ch] (setColor): new version that takes two strings as
1923 argument and creates a new color entry if necessary
1925 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1927 * buffer.C (makeLaTeXFile): if the main latex file that is
1928 processed is usually a subdocument of some master, then pretend
1929 for a while that it is actually the master
1931 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1933 * buffer.C (getLabelList):
1934 (getBibkeyList): use getMasterBuffer()
1935 (getMasterBuffer): new method. Returns the main document in the
1936 case where one is using included documents.
1938 2004-03-25 André Pönitz <poenitz@gmx.net>
1942 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1944 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1946 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1947 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1949 * ParameterStruct.h: merge with ParagraphParameters
1951 * lyxtext.h: remove LyXText::parOffset() and getPar()
1953 * text3.C: Remove all 'manual' update calls. We do now one per user
1954 interaction which is completely sufficient.
1958 * BufferView_pimpl.C:
1959 * FontIterator.[Ch]:
1961 * ParagraphParameters.[Ch]:
1966 * cursor_slice.[Ch]:
1973 * output_docbook.[Ch]:
1974 * output_latex.[Ch]:
1975 * output_linuxdoc.[Ch]:
1976 * output_plaintext.[Ch]:
1978 * paragraph_funcs.[Ch]:
1979 * paragraph_pimpl.[Ch]:
1987 * frontends/controllers/ControlDocument.C:
1988 * frontends/controllers/ControlErrorList.C:
1989 * frontends/controllers/ControlSpellchecker.C:
1992 * insets/insetbase.h:
1993 * insets/insetbibitem.C:
1994 * insets/insetbox.C:
1995 * insets/insetbranch.C:
1996 * insets/insetcaption.C:
1997 * insets/insetcharstyle.C:
1998 * insets/insetcharstyle.h:
1999 * insets/insetcollapsable.C:
2000 * insets/insetcollapsable.h:
2001 * insets/insetert.C:
2002 * insets/insetfloat.C:
2003 * insets/insetfoot.C:
2004 * insets/insetmarginal.C:
2005 * insets/insetnote.C:
2006 * insets/insetoptarg.C:
2007 * insets/insettabular.C:
2008 * insets/insettext.C:
2009 * insets/insettext.h:
2010 * insets/insetwrap.C:
2011 * mathed/math_mboxinset.C:
2012 * mathed/math_nestinset.C:
2013 * mathed/math_scriptinset.C:
2014 * mathed/math_scriptinset.h:
2017 2004-03-24 Angus Leeming <leeming@lyx.org>
2019 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2020 deal with any child processes that have finished but are waiting to
2021 communicate this fact to the rest of LyX.
2023 2004-03-24 Angus Leeming <leeming@lyx.org>
2025 64-bit compile fixes.
2027 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2028 (c-tor): pass lyx::pos_types rather than ints.
2030 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2033 * text.C (Delete): compile fix.
2034 (getPar): ensure that function declaration is the same as that in
2037 2004-03-23 Angus Leeming <leeming@lyx.org>
2039 * ispell.C (LaunchIspell):
2040 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2041 a boost::shred_ptr rather than a std::auto_ptr.
2043 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2046 handle LFUN_FILE_INSERT_*
2048 * lyxrc.C (setDefaults, getDescription, output, read):
2049 * lyxrc.h: remove ps_command
2051 2004-03-22 Angus Leeming <leeming@lyx.org>
2053 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2054 Ensure that error_handler is processed once only and that all data
2055 is saved before attempting to output any warning messages.
2057 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2059 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2061 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2063 2004-03-19 André Pönitz <poenitz@gmx.net>
2065 * cursor.[Ch] (reset): take main text inset as argument
2067 * BufferView: adjust
2068 * BufferView_pimpl.C: adjust
2070 * paragraph.[Ch]: fix completely broken operator=()
2072 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2074 * LColor.C (getFromLyXName): make sure that the color name is used
2077 2004-03-17 Angus Leeming <leeming@lyx.org>
2080 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2082 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2083 dialog and to kill a forked process.
2085 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2087 * text2.C (setCursorFromCoordinates): fix font problem
2089 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2091 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2092 bogus "rebuild cursor" code
2094 2004-03-11 André Pönitz <poenitz@gmx.net>
2096 * buffer.[Ch]: use InsetText instead of LyXText as container for
2099 * dociterator.[Ch]: drop the BufferView * member which is not needed
2100 anymore after the change to buffer.C
2102 * paragraph_funcs.C:
2106 * BufferView_pimpl.[Ch]:
2108 * cursor_slice.[Ch]: adjust
2110 * text3.C: fix bug in mathDispatch
2112 2004-03-08 André Pönitz <poenitz@gmx.net>
2114 * undo.[Ch]: use 'StableDocumentIterator' as base for
2117 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2120 * bufferparams.[Ch]: add jurabib support and param.
2122 * LaTeX.C: add FIXME/comment.
2124 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2126 * buffer.C: increment file format to 230.
2128 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2130 * cursor.C (dispatch): avoid infinite loops
2132 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2134 * rowpainter.C (paintSelection): fix x coordinates
2136 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2138 * text.C (rowBreakPoint): fix breaking before displayed insets
2140 2004-03-01 André Pönitz <poenitz@gmx.net>
2142 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2144 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2148 * BufferView_pimpl.C:
2156 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2162 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2163 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2165 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2167 * Bidi.[Ch] (computeTables): const correctness
2168 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2169 fill_hfill, fill_label_hfill and x from Row
2170 * lyxtext.h: prepareToPrint returns a RowMetrics
2171 * rowPainter.C: adjust
2172 * text.C (prepareToPrint): use width, not textWidth. adjust
2173 (redoParagraphInternal, cursorX): adjust
2174 * text2.C (getColumnNearX): adjust
2175 (init): put a default value to the top LyXText::width
2177 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2179 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2181 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2183 * lyxtext.h: add FontIterator class
2185 * text.C (FontIterator, operator*, operator->, operator++): add
2186 (rowBreakPoint, setRowWidth): adjust (fixing a
2189 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * BufferView_pimpl.C (workAreaDispatch): allow also
2192 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2194 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2196 * text.C (rowBreakPoint): fix a bug showing with very large insets
2198 2004-02-25 André Pönitz <poenitz@gmx.net>
2201 * cursor.[Ch]: move some mathed specific code to mathed
2203 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2205 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2206 use_tempdir in preferences
2207 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2209 * lyx_main.C: ensure that tempdir is valid
2210 * lyxlex.h: correct typo
2211 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2212 * paragraph.[Ch] (isMultiLingual): make const
2213 * cursor.[Ch] (openable): make const
2215 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2217 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2219 2004-02-20 André Pönitz <poenitz@gmx.net>
2221 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2223 * cursor.[Ch]: prepare for localized getStatus()
2229 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2231 2004-02-20 André Pönitz <poenitz@gmx.net>
2233 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2235 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2237 * text2.C (setCursorFromCoordinates): switch to absolute coords
2239 (cursorDown): adjust
2240 * text3.C (dispatch): adjust
2242 2004-02-16 André Pönitz <poenitz@gmx.net>
2244 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2247 * cursor_slice.[Ch]: remove unneeded acessor function
2249 * lyxtext.h: rename rtl() to isRTL()
2257 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2259 * rowpainter.C (paintSelection): coord fix
2261 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2263 * Spacing.C: compile fix
2265 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2267 * cursor.C (dispatch): restore current_ before returning
2269 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2271 * text2.C (cursorUp, cursorDown): fix coords
2274 2004-02-12 André Pönitz <poenitz@gmx.net>
2279 * text3.C: add LCursor & parameter to most cursor movement functions
2280 remove usage of LyXText::cursorRow() and cursorPar()
2282 * cursor.[Ch]: add textRow() needed members
2285 * BufferView_pimpl.C:
2288 * BufferView_pimpl.C: adjust
2290 2004-02-11 André Pönitz <poenitz@gmx.net>
2294 * BufferView_pimpl.C: shift undo/redo handling
2296 * cursor.[Ch]: fix mathed crash
2299 * lyxtext.h: move selectionAsText to LCursor
2307 * rowpainter.C: fix excessive drawing
2309 2004-02-06 André Pönitz <poenitz@gmx.net>
2312 * BufferView_pimpl.[Ch]:
2313 * text3.C: move some text specific LFUN handling
2315 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2317 * text3.C (checkInsetHit): adjust coords
2318 * text2.C (getColumnNearX): adjust coords
2319 (edit): adjust coords
2320 * text.C (getRowNearY): add two asserts
2322 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2325 * format.C: add using std::distance to compile on gcc 2.95/stlport
2327 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2329 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2331 2004-02-04 André Pönitz <poenitz@gmx.net>
2333 * BufferView.[Ch] (insertInset):
2334 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2339 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2341 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2342 on the default clause of the switch
2343 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2344 wasn't catched by LCursor::dispatch
2346 2004-02-03 André Pönitz <poenitz@gmx.net>
2349 * cursor.[Ch]: some additional asserts
2351 * undo.[Ch]: remove LyXText dependency in interface
2355 * lyxtext.h (firstPar, lastPar): remove dead functions
2360 * paragraph.[Ch]: adjust
2362 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2364 * lyxfind.C (find): fix argument order in call to ::find
2366 2004-02-02 André Pönitz <poenitz@gmx.net>
2368 * cursor.[Ch]: remove direct access to anchor
2370 * text.C: remove findText() hack
2372 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2374 * iterators.[Ch] (lockPath): remove in favour of...
2375 * BufferView.[Ch] (setCursor): this addition
2376 * BufferView.C (putSelectionAt): adjust
2377 * undo.C (performUndoOrRedo): adjust
2378 * lyxfunc.C (dispatch): adjust
2380 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2382 * iterators.C (lockPath): add a missing slice
2383 * undo.C (performUndoOrRedo): remove redundant positioning code
2385 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2387 * vc-backend.C (scanMaster): ";" -> ';'
2389 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2391 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2392 std::binary_function
2394 * lyxtextclass.C (compare_name): rename to...
2395 (LayoutNamesEqual): ...this
2397 * lyxlex_pimpl.C (compare_tags): inherit from
2398 std::binary_function, put back into anon namespace
2400 * lyxfind.C (MatchString): inherig from std::binary_function
2401 (findChange): use empty() istead of !size()
2403 * format.C (FormatNamesEqual): new functor
2410 * converter.C (compare_Converter): rename to...
2411 (ConverterEqual): ...this, and fixup a bit.
2412 (getConverter): use it, and make function const
2413 (getNumber): use it, and make function const
2417 * bufferlist.C: add using boost::bind
2419 * MenuBackend.C (MenuNamesEqual): new functor
2420 (hasMenu): use it, and make function const
2421 (hasSubmenu): use nested bind to get rid of compare_memfun.
2423 2004-01-30 André Pönitz <poenitz@gmx.net>
2425 * BufferView_pimpl.C:
2428 * cursor_slice.[Ch]:
2431 * paragraph_funcs.C:
2432 * paragraph_funcs.h:
2436 * text3.C: move some of the edit(x,y) handling to the insets
2437 some coordinate changes.
2439 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2441 * text.C: add using statements for std::advance and std::distance
2443 * paragraph.C: add using statement for std::distance
2445 * lyxfind.C: add using statement for std::advance
2447 * cursor.C (region): remove std:: from swap
2448 (openable): use nucleus in stead of operator->
2450 * BufferView.C: add using statements for std::distance and std::swap
2452 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2454 * iterators.C: Remove the pimple, move the needed structures to
2455 the header file. Create accessor for the positions stack.
2456 (asPosIterator): remove function
2458 * PosIterator.C (PosIterator): move constructors to top of file
2459 (PosIterator): reimplement the constructor taking a ParIterator in
2461 (setFrom): new function
2462 (operator!=): inline it
2464 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2466 * lyxfind.C (replaceAll): use std::advance
2468 * iterators.h: inherit from std::iterator.
2470 * PosIterator.C (advance, distance): remove
2471 * PosIterator.h: interit from std::iterator.
2473 2004-01-26 André Pönitz <poenitz@gmx.net>
2476 * BufferView_pimpl.[Ch]:
2480 * bufferview_funcs.C:
2490 * output_linuxdoc.C:
2491 * output_plaintext.C:
2493 * paragraph_funcs.[Ch]:
2494 * paragraph_pimpl.[Ch]:
2500 * text3.C: more IU: dumps most of the rest of the mathcursor
2501 implementation into cursor.[Ch]; "globalize" a bit of it.
2503 2004-01-25 Angus Leeming <leeming@lyx.org>
2505 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2507 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2509 * LaTeXFeatures.h: add nice_ and nice() const
2510 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2512 2004-01-20 André Pönitz <poenitz@gmx.net>
2515 * BufferView_pimpl.C:
2517 * bufferview_funcs.C:
2519 * cursor_slice.[Ch]:
2530 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2531 LCursor and mathcursor parts to LCursor and InsetBase.
2533 2004-01-15 André Pönitz <poenitz@gmx.net>
2535 * cursor_slice.[Ch]: add a few covienience functions
2537 * funcrequest.[Ch]: remove BufferView * member
2539 * BufferView_pimpl.C:
2546 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2548 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2550 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2551 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2553 2004-01-13 André Pönitz <poenitz@gmx.net>
2556 * lyxtext.h: hide cursor and selection anchor behind accessor function
2559 * BufferView_pimpl.[Ch]:
2561 * bufferview_funcs.C:
2571 * cursor_slice.[Ch]: some integer type changes for inset unification
2573 * lyxcursor.[hC]: remove, it's CursorSlice now.
2576 * BufferView_pimpl.[Ch]:
2577 * bufferview_funcs.C:
2583 * textcursor.[Ch]: adjust
2585 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2587 * text2.C (undoSpan): add and use
2588 * text.C (breakParagraph): use undoSpan (fix bug 578)
2591 2004-01-08 Angus Leeming <leeming@lyx.org>
2593 * BufferView_pimpl.C (MenuInsertLyXFile):
2594 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2595 * lyxfunc.C (menuNew, open, doImport):
2596 FileFilterList change to the FileDialog open and save functions.
2598 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2600 * ShareContainer.h: make isEqual and isUnique adaptable
2602 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2604 2004-01-07 Angus Leeming <leeming@lyx.org>
2607 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2609 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2611 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2612 functions replacing find, replace and replaceAll.
2614 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2615 LFUN_WORDFIND(FORWARD|BACKWARD).
2617 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2619 * text.C (breakParagraph): remove an outdated #warning
2621 2004-01-07 André Pönitz <poenitz@gmx.net>
2623 * lyxfind.C: somewhat clearer logic
2625 * text.C: prevent crash in cursorX on unitialized row cache
2627 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2629 * lyxcursor.[Ch] (operator>): add
2630 * textcursor.C (selStart, selEnd): use std::min and std::max
2632 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2634 * Chktex.C: include boost/format.hpp
2636 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2638 * InsetList.C: replace functor MathcIt with adaptable functor
2640 (insetIterator): modify accordingly
2642 * BranchList.h: move the BranchNamesEqual functor here from...
2643 * BranchList.C: ... to here
2645 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2647 (add): replace a finding loop with std::find_if.
2649 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2651 * output_docbook.C: moving LatexParam functionality into
2654 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2656 * buffer.C: increment format to 229.
2658 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2661 * lyx_sty.[Ch]: remove minipageindent_def
2667 * text3.C: remove LFUN_INSET_MINIPAGE
2669 2003-12-28 Angus Leeming <leeming@lyx.org>
2671 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2673 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2675 * text2.C (setParagraph): fix off-by-one crash
2677 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2679 * output_docbook.C: header stuff for AGU
2681 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2683 * text2.C (redoCursor): remove
2686 * BufferView_pimpl.C: remove calls to redoCursor and
2687 setCursor(cursor.par(), cursor.pos()) all around
2689 2003-12-15 Angus Leeming <leeming@lyx.org>
2691 * buffer.C: up the format to 228.
2693 2003-12-15 André Pönitz <poenitz@gmx.net>
2695 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2700 * BufferView_pimpl.C:
2709 2003-12-15 Angus Leeming <leeming@lyx.org>
2711 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2712 than getFromGUIName to manipulate the color.
2714 2003-12-14 Angus Leeming <leeming@lyx.org>
2716 * BranchList.[Ch]: minimize the API.
2717 (Branch::getBranch, getColor): now return a 'const &'.
2718 (Branch::setSelected) now returns a bool set to true if the
2719 selection status changes.
2720 (BranchList::clear, size, getColor, setColor, setSelected,
2721 allBranches, allSelected, separator): removed.
2722 (BranchList::find): new functions, returning the Branch with
2724 (BranchList::add, remove): return a bool indicating that
2725 the operation was successful.
2727 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2728 new InsetBranch::isBranchSlected member function.
2730 * LColor.[Ch]: mimimize the API.
2731 (fill): renamed as addColor and made private.
2732 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2733 versions of these functions taking a string arg have been removed.
2735 * bufferparams.C (readToken):
2736 * lyxfunc.C (dispatch):
2737 * lyxrc.C (read): changes due to the altered BranchList and
2740 * factory.C (createInset, readInset): changes due to altered
2743 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2746 * lyxfunc.C: remove insetminipage. "minipage-insert"
2747 now produces a frameless minipage box inset.
2749 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2751 * textcursor.[Ch] (selStart,selEnd): add new methods
2752 remove selection::start, end, use LyXCursor::operator<
2753 * lyxcursor.[Ch] (operator<): add
2754 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2755 * BufferView.[Ch] (unsetXSel): add
2756 * text2.C (clearSelection): use unsetXSel,adjust
2759 * rowpainter.C: adjust
2760 * bufferview_funcs.C (put_selection_at): adjust
2762 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2764 * BufferView_pimpl.C: small coord. correction
2766 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2768 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2769 dragging over the splash screen.
2771 2003-12-11 Angus Leeming <leeming@lyx.org>
2773 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2774 as it is now handled in LyXText::dispatch.
2776 * text3.C (doInsertInset): remove a level of nesting.
2778 2003-12-11 Angus Leeming <leeming@lyx.org>
2780 * factory.C (createInset): changes due to the changed interface to
2781 InsetCommandMailer::string2params.
2783 2003-12-10 Angus Leeming <leeming@lyx.org>
2785 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2786 'dialog-show-new-inset <inset name>'
2788 2003-12-10 Angus Leeming <leeming@lyx.org>
2790 * buffer.C: up the format to 227.
2792 * factory.C: the box inset is now identified simply by 'Box'.
2794 2003-12-10 Angus Leeming <leeming@lyx.org>
2796 * buffer.C: up the format to 226.
2798 * factory.C: the note inset is now identified simply by 'Note'.
2800 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2802 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2803 when a pit is enough. Standarize a couple of loops.
2805 2003-12-05 Angus Leeming <leeming@lyx.org>
2807 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2808 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2809 data to the re-worked "log" dialog.
2811 2003-12-03 André Pönitz <poenitz@gmx.net>
2817 * paragraph_funcs.C:
2819 * text2.C: use Inset::getText instead of Inset::getParagraph
2821 2003-12-03 André Pönitz <poenitz@gmx.net>
2825 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2826 InsetText::read() as LyXText::read()
2828 2003-12-02 Angus Leeming <leeming@lyx.org>
2830 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2831 type. Add a comment in the implementation that the function uses
2832 the stream's bad() function rather than fail() as the std::streams
2835 2003-12-02 André Pönitz <poenitz@gmx.net>
2837 * lyxlex.[Ch]: make interface more similar to std::stream
2839 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2841 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2843 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2845 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2847 * vspace.[Ch]: remove VSpace::NONE
2849 2003-12-01 André Pönitz <poenitz@gmx.net>
2852 * lyxtext.h: move ParagraphList member to LyXText
2853 rename LyXText::ownerParagraphs to LyXText::paragraph
2856 * bufferview_funcs.C:
2866 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2868 * undo.C: fix cursor positioning
2870 2003-12-01 John Levon <levon@movementarian.org>
2872 * BufferView_pimpl.C: fix a crash on exit with
2875 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2877 * BranchList.C: fix setSelected() method.
2879 2003-11-28 André Pönitz <poenitz@gmx.net>
2881 * ParagraphParameters.[Ch]:
2882 * ParameterStruct.h: remove space above/below from Paragraph to
2885 * BufferView_pimpl.C:
2891 * paragraph_funcs.C:
2897 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2899 * factory.C: Syntax change for CharStyles
2901 2003-11-28 André Pönitz <poenitz@gmx.net>
2906 * buffer.[Ch]: move LyXText member
2908 2003-11-28 André Pönitz <poenitz@gmx.net>
2910 * BufferView.[Ch]: make LyXText * text a private member
2912 * BufferView_pimpl.C:
2923 * output_plaintext.C: cleanup
2925 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2928 * lyxtextclass.[Ch]: parametrize SGML document header
2930 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2933 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2936 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2938 * text2.C (setFont): rework using PosIterator (no more recursive)
2939 (setCharFont): no more needed
2940 (setLayout): no more selection cursors fiddling (done by redoCursor)
2941 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2942 destroy remaining ones)
2944 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2946 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2948 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2951 * text3.C: adjust + re-allow multi par depth changes
2952 * textcursor.C: simplify a bit
2954 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2960 * src/output_docbook.C:
2961 * src/output_latex.C:
2966 * src/text2.C: Introducing a number of tags parametrizing various
2967 XML formats that we may want to support
2969 2003-11-25 André Pönitz <poenitz@gmx.net>
2971 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2973 * lyxtext.h (leftMargin/rightMargin): simplify interface
2980 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2982 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2983 master file to any child files. Fixes bug 546.
2985 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2987 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2989 2003-11-24 André Pönitz <poenitz@gmx.net>
2991 * rowpainter.C: simplification
2993 * text2.C (updateCounters): remove call to redoParagraph on
2994 changed labels as this is far too expensive.
2996 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2998 * converter.C (convert): fix a crash: this function gets
2999 called with buffer == 0 from importer code.
3001 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3003 * text3.C (cursorPrevious): make sure that we do not compare
3004 iterators form different containers.
3007 * rowpainter.C (paintSelection): make sure that we do not compare
3008 iterators from different containers.
3010 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3011 iterators from different ParagraphList containers.
3014 * text2.C (LyXText): change order of initialization slightly
3015 (operator=): new function. copy all variables except cache_par_
3016 (moveUp): make sure that we do not compare iterators from
3017 different ParagraphList constainers.
3020 * text.C (firstPar): new function
3021 (lastPar): new function
3022 (endPar): new function
3024 * lyxtext.h: move things around and group public functions, public
3025 variables, private functions, private variables
3027 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3029 * factory.C: change call to InsetERT constructor to avoid
3030 additional invocation of method status
3031 * text2.C (toggleInset): remove redundant update() call
3032 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3033 instead of a Bufferview pointer
3035 2003-11-21 André Pönitz <poenitz@gmx.net>
3037 * rowpainter.C: simplification
3039 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3041 * text3.C (dispatch): make possible to extend a word/row selection
3044 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3046 * lyxtext.h: x0_,y0_ -> xo_,yo_
3047 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3048 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3049 * rowpainter.C (paintRows): paint full paragraphs
3051 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3053 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3056 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3058 * lyxtext.h: add x0_, y0_
3059 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3060 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3062 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3064 * text2.C (setCursorIntern): move the x_target update here *
3065 * text3.C: change some bv() to true/false in calls to
3066 cursorUp/Down/Right/Left
3067 * cursor.C: use helper function.
3069 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3071 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3072 * paragraph_funcs.[Ch]: correct comment
3073 * rowpainter.C: do not paint selections away from bv->cursor()
3074 Fix a long standing selection painting bug.
3075 * text3.C: generalize mouse-selection code to LyXTexts other that
3077 * textcursor.C: do not use y coords if we can use par offsets
3079 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3081 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3082 cursor position after e.g. inset insert)
3084 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3086 * lyxfind.C (replace): adjust to locking removal + some
3089 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3091 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3094 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3097 * output_docbook.C: XML sanitation: new layout
3098 parameters InnerTag and CommandDepth
3100 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3102 * BufferView_pimpl.C:
3104 * text3.C: Fix the insertion and modification of button-style
3107 2003-11-13 André Pönitz <poenitz@gmx.net>
3109 * InsetList.[Ch]: remove deleteLyXText
3111 * paragraph.[Ch]: cache beginOfBody position
3116 * text3.C: remove superfluous update() calls
3120 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3122 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3123 * BufferView.C (fitLockedInsetCursor): remove
3124 * cursor.[Ch] (getDim): add
3125 * text.C (getRowNearY): add faster version
3126 * text3.C: remove some update calls
3128 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3140 * text3.C: The Character Style /XML short element patch.
3142 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3145 * factory.C: Small step to solving 'unable to insert some insets'
3148 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3150 * cursor.[Ch] (updatePos): new function for updating the y
3151 position of the tip inset
3152 * bufferview_funcs.C (put_selection_at):
3153 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3155 2003-11-11 André Pönitz <poenitz@gmx.net>
3157 * text.C: remove big comment on invalid Paragraph pointers as it is
3160 2003-11-11 André Pönitz <poenitz@gmx.net>
3162 * text_funcs.[Ch]: merge with ...
3170 * Makefile.am: remove text_funcs.[Ch]
3172 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3174 * cursor.C (getPos): return absolute cached y coord
3176 * BufferView_pimpl.C (fitCursor): new simplistic code
3177 (workAreaDispatch): add a fitCursor call
3179 2003-11-10 André Pönitz <poenitz@gmx.net>
3182 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3184 2003-11-10 André Pönitz <poenitz@gmx.net>
3186 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3187 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3188 indicate that the cursor needs to leave an inset
3190 * lyxtext.h: remove inset locking
3192 * cursor.[Ch]: re-implement functionality provided by inset locking
3195 * BufferView_pimpl.[Ch]:
3197 * bufferview_funcs.[Ch]:
3209 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3211 * PosIterator.[Ch]: replace the stack with a vector, add inset
3213 * iterators.[C]: adjust
3215 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3217 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3219 * paragraph_funcs.C (readParToken): put the correct id in the
3220 error item, not the id of the top paragraph
3222 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3224 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3225 * bufferview_funcs.C (put_selection_at): use the above
3227 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3229 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3231 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3233 * output_linuxdoc.h:
3234 * output_plaintext.h:
3236 * output_docbook.h: add #include statements
3238 2003-11-05 José Matos <jamatos@lyx.org>
3240 * output_docbook.[Ch]:
3241 * output_latex.[Ch]:
3242 * output_linuxdoc.[Ch]:
3243 * output_plaintext.[Ch]: New files for output formats.
3244 * output.[Ch]: New file for helper functions.
3247 * paragraph_funcs.[Ch]: output functions moved to new files.
3249 * outputparams.h: rename of latexrunparams.h
3257 * paragraph_funcs.[Ch]:
3258 * paragraph_pimpl.[Ch]:
3259 * tabular.[Ch]: rename ascii to plaintext
3260 and LatexRunParams to OutputParams.
3262 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3264 * iterators.[Ch] (text): require bv argument
3265 * undo.C (recordUndo):
3266 * lyxfunc.C (dispatch):
3267 * bufferview_funcs.C (put_selection_at): adjust
3269 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3271 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3273 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3275 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3278 2003-11-04 André Pönitz <poenitz@gmx.net>
3280 * cursor.[Ch]: restructure
3283 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3285 * iterators.[Ch] (asCursor): remove
3287 * lfuns.h: remove LFUN_INSET_EDIT
3293 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3295 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3297 * lyxfind.[Ch]: complete overhaul
3298 * BufferView_pimpl.C:
3300 * paragraph.[Ch] (insert): add
3302 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3306 * text.C: remove dead spellcheck code
3308 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * dispatchresult.h: add a val setter
3312 * cursor.C (dispatch): use a tempvar for data_[i]
3314 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3316 * PosIterator.[Ch]: compile fix
3318 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3320 * text.C (cursorPar): deactivate the cursor cache
3322 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3324 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3326 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text3.C (dispatch): adjust for new DisptchResult semantics.
3330 * lyxfunc.C (dispatch): handle update when return from
3331 Cursor::dispatch, adjust for new DispatchResult semantics.
3333 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3334 DispatchResult(true) mean to not update. Add class functions for
3335 setting dispatched and update, as well as reading.
3337 * cursor.C (dispatch): don't handle update here
3339 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3342 * trans_mgr.C: adjust
3344 * paragraph_funcs.C (readParToken): exception safety
3346 * lyxvc.h: store the vcs pointer in a scoped_ptr
3349 * lyxsocket.C (serverCallback): exception safety
3351 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3353 * ispell.C (clone): make it return a auto_ptr
3355 * factory.C (createInset): exception safety
3356 (readInset): exception safety
3358 * bufferlist.C (newBuffer): exception safety
3360 * Thesaurus.C (Thesaurus): use initialization for aik_
3362 * MenuBackend.C (expandToc): exception safety.
3364 2003-11-03 André Pönitz <poenitz@gmx.net>
3368 * bufferview_funcs.C: remove getInsetFromId()
3371 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3377 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3379 * PosIterator.C (distance, advance): new
3380 * bufferview_funcs.[Ch] (put_selection_at): new
3381 * iterators.[Ch] (lockPath): new
3383 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3385 * iterators.[Ch] (asPosIterator): added
3386 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3387 * PosIterator.[Ch]: added
3389 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * cursor.C (dispatch):
3394 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3396 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3397 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3398 contructor, add a class function dispatched. Remove operator>=
3400 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * debug.C: only use the default constructor for debugstream
3405 * main.C (main): include debug.h and setup the lyxerr streambuf
3408 2003-10-31 José Matos <jamatos@lyx.org>
3410 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3412 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3413 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3414 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3415 * paragraph_pimpl.C (simpleTeXSpecialC):
3416 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3417 add LatexRunParams argument.
3419 * exporter.C (Export): change call accordingly.
3421 * latexrunparams.h: add new member to take care of the other backends.
3422 2003-10-30 José Matos <jamatos@lyx.org>
3424 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3425 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3426 factorise code for paragraph output.
3428 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3431 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3433 * text3.C (dispatch):
3434 * lyxfunc.C (dispatch):
3435 * cursor.C (dispatch):
3436 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3438 * dispatchresult.h: make the dispatch_result_t ctor explicit
3440 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3443 * buffer.C: small refactoring of docbook stuff
3445 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3450 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3453 operator dispatch_result_t, and operators for == != and >=
3455 * cursor.C (dispatch): adjust for operator dispatch_result_t
3456 removal. comment out call to update
3458 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3460 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3468 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3471 * dispatchresult.h: new file, DispatchResult broken out of
3474 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3476 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3478 * text.C (rowBreakPoint): put a hack inside #if 0
3480 2003-10-28 André Pönitz <poenitz@gmx.net>
3484 * paragraph_funcs.C:
3487 * text2.C: general cleanup (lots of small stuff)
3489 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3491 * text2.C (cursorEnd): simple fix to the "end key goes to one
3492 before the end on last row" bug
3494 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3496 * text.C (backspace): fix the "zombie characters"
3498 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3500 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3502 2003-10-27 André Pönitz <poenitz@gmx.net>
3504 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3506 * factory.C: handle new InsetPagebreak, InsetLine
3508 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3509 and move handling into new InsetPagebreak, InsetLine
3511 * BufferView_pimpl.C:
3513 * ParagraphParameters.C:
3514 * ParameterStruct.h:
3519 * paragraph_funcs.C:
3520 * paragraph_pimpl.C:
3526 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3529 * lyxrow_funcs.[Ch]:
3535 * text3.C: remove lastPos uses in favour of Row::endpos
3537 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3539 * undo.C (performUndoOrRedo): fix two crashes by setting a
3540 cursor by hand and reordering some calls. Use bv->lockInset instead
3541 of inset->edit because the latter loses cursor information
3543 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3545 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3547 (rowBreakPoint): fix width. change point to point + 1.
3548 Add a missing check.
3550 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3553 * lyxfunc.C: fix (at least partly) the problems
3554 with the Nav menu and headers inside branch insets
3557 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3559 * paragraph.C (getChar): add strong asserts
3561 * lyxrow_funcs.C (lastPos): remove hideous hack
3563 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3564 (fill): adjust to that (avoid an infinite loop)
3566 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3568 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3570 2003-10-23 André Pönitz <poenitz@gmx.net>
3572 * RowList_fwd.h: change list<> to vector<> to gain speed
3573 after suggestion from Alfredo
3575 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3577 * lyxtext.h: move the bidi stuff from here...
3580 * Bidi.[Ch]: ... to here
3582 2003-10-23 André Pönitz <poenitz@gmx.net>
3585 * text.C (isLastRow, isFirstRow): new functions
3587 * paragraph.h: new width cache member
3589 * rowpainter.C: replace RowList::iterator with Row & where possible
3591 * lyxfunc.C: replace several view()->text with a single call
3593 * toc.C: fix 'unused' warning
3595 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3598 when woring with stream::pos_type
3599 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3601 2003-10-22 André Pönitz <poenitz@gmx.net>
3604 * text.C: use Row & instead of RowList::iterator
3606 * lyxrow.h: rename end() to endpos()
3612 2003-10-22 Angus Leeming <leeming@lyx.org>
3614 * buffer.[Ch] (fully_loaded): new member function, returning true
3615 only when the file has been loaded fully.
3616 Used to prevent the premature generation of previews and by the
3617 citation inset to prevent computation of the natbib-style label.
3619 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3620 templates are all set up.
3622 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3624 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3626 * text.C: fixed an "oops" in the "is a bit silly"
3629 2003-10-21 André Pönitz <poenitz@gmx.net>
3631 * FuncStatus.[Ch]: small stuff, whitespace
3633 * lyxfont.[Ch]: operator<<() for debug reasons
3637 * lyxtext.h: whitespace, spelling
3639 * paragraph.C: naming of variables
3642 * text2.C: small stuff
3645 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3647 * text.C: (1) finish off the inset display() work;
3648 (2) fix the "is a bit silly" bug (accessing char
3651 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3653 * text.C: re-introduce display() for insets, fixing the
3654 various bugs (stretch of line above, math inset
3657 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3659 * text.C (rightMargin): remove spurious semicolon
3661 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3664 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3666 * text3.C: fix one crash due to wrong cursor def
3668 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * vc-backend.C (scanMaster): make the regex static
3672 * LaTeX.C (scanAuxFile): make the regexs static
3674 * text3.C (doInsertInset, dispatch, dispatch):
3675 * text2.C (cursorUp, cursorDown):
3676 * text.C (selectNextWordToSpellcheck):
3677 * BufferView_pimpl.C (dispatch):
3678 * lyxfunc.C (dispatch): localDispatch -> dispatch
3680 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3682 * lyxsocket.C: include <cerrno>
3684 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * lyxfunc.C (dispatch): remove textcache stuff
3688 * bufferlist.C (release): remove textcache stuff
3691 * TextCache.C: delete file
3692 * TextCache.h: delete file
3694 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3696 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3697 delete of the bv_->text.
3698 (resizeCurrentBuffer): remove texcache stuff
3699 (workAreaResize): ditto
3701 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3706 2003-10-16 André Pönitz <poenitz@gmx.net>
3713 * text3.C: speed up by storing y positions per paragraph plus per-row
3714 offset instead of having a 'full' y position in the row.
3716 2003-10-15 André Pönitz <poenitz@gmx.net>
3720 * undo.[Ch]: make undo aware of inner insets
3722 2003-10-14 Angus Leeming <leeming@lyx.org>
3724 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3725 static member functions LyX::ref() and LyX::cref.
3726 (lastfiles): new accessor functions for the new lastfiles_ member var.
3727 (addLyXView, views_): add a new LyXView to the list of views_.
3728 (updateInset): loop over all LyXViews to call their own updateInset
3729 member function, returning a pointer to the Buffer owning the inset.
3731 * BufferView_pimpl.C (loadLyXFile):
3732 * MenuBackend.C (expandLastfiles):
3733 * bufferlist.C (MenuWrite, QuitLyX):
3734 lastfiles is no longer a global variable.
3735 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3737 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3738 static function. Access through LyX::cref().emergencyCleanup().
3740 2003-10-14 André Pönitz <poenitz@gmx.net>
3742 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3744 * undo.[Ch]: restoring part of 'undo in insets'
3747 * undo_funcs.[Ch]: merge with undo.[Ch]
3749 * tabular.C: small cleansing stuff
3751 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3753 * paragraph_funcs.C (readParToken): report unknown insets as error
3754 boxes. Use the outer paragraph as location (also for unknown
3757 * factory.C (readInset): do not abort on reading an unknown inset.
3758 Eat it and return 0.
3760 2003-10-13 Angus Leeming <leeming@lyx.org>
3762 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3764 * lyxrc.C: displayTranslator is now a function,
3765 declared in GraphicsTypes.h.
3767 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3769 * format.C: new placeholder $$a to pass the socket address.
3771 * bufferlist.[Ch]: new function getBufferFromTmp.
3773 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3774 files in the temporary dir.
3776 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3778 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3780 * Makefile.am: add lyxsocket.[Ch].
3782 * lyx_main.C (error_handler): handle SIGPIPE.
3784 2003-10-13 André Pönitz <poenitz@gmx.net>
3786 * BufferView_pimpl.C:
3791 * undo_funcs.[Ch]: use paroffset_type instead of
3792 ParagraphList::iterators to prevent multiple conversion
3793 (and get a more robust interface)
3795 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3799 * text3.C (dispatch): ditto
3801 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3804 move the onlyfile, use onlyfile instead of foundfile in a couple
3807 * DepTable.C (update): flush the error stream a bit more
3809 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * lyxserver.C (callback): adjust
3813 * lyxfunc.C (getStatus): add a missing brace in commented code
3814 (ensureBufferClean): reindent
3815 (dispatch): delete version taking a string
3817 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3819 * LaTeX.C (deplog): move found file handlig from here...
3820 (handleFoundFile): .. to new function here.
3821 (deplog): make sure to discover several files mentioned on the
3824 2003-10-10 André Pönitz <poenitz@gmx.net>
3831 * text3.C: fix some of the tabular crashes
3833 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3835 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3837 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3839 2003-10-09 André Pönitz <poenitz@gmx.net>
3841 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3844 * BufferView_pimpl.C:
3845 * bufferview_funcs.C:
3856 * undo_funcs.C: adjust
3858 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * text2.C (incrementItemDepth): new function, use a backtracking
3861 algorithm to discover the correct item depth.
3862 (resetEnumCounterIfNeeded): new function, use a backtracking
3863 algorithm to discover if counter reset is needed.
3864 (setCounter): use them. Simplify a bit. Add different labels for
3865 different item depths for itemize.
3867 * paragraph.C (Paragraph): remove initialization of enumdepth
3870 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3871 enumerate and itemize. Change the type of itemdepth to signed char.
3873 2003-10-08 André Pönitz <poenitz@gmx.net>
3875 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3880 * tabular.[Ch]: fix crash after 'row-insert'
3882 2003-10-08 Angus Leeming <leeming@lyx.org>
3884 Fix doxygen warnings.
3886 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3887 Remove CutAndPaste:: prefix from header file declaration.
3889 * LColor.h (fill): remove LColor:: prefix from declaration.
3891 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3892 use lyx::depth_type rather than Paragraph::depth_type so that
3893 header file and .C file match.
3895 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3897 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3898 * aspell.C: \file aspell_local.C -> \file aspell.C
3899 * gettext.C: \file gettext.C -> \file src/gettext.C
3900 * gettext.h: \file gettext.h -> \file src/gettext.h
3901 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3902 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3903 * text.C: \file text.C -> \file src/text.C
3905 * toc.C: move comment so that doxygen is not confused.
3907 2003-10-07 Angus Leeming <leeming@lyx.org>
3909 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3911 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3914 * aspell_local.h: add forgotten std::string's.
3916 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3923 * text3.C: The Box patch. Fancybox support, minipage, parbox
3925 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3931 * ParagraphParameters.h:
3941 * lyxtextclasslist.h:
3944 * paragraph_pimpl.C:
3945 * textcursor.h: add <string> and other small fixes to make Lars'
3946 std::string patch compile with STLport.
3948 2003-10-06 Angus Leeming <leeming@lyx.org>
3950 * LColor.h: Add missing #include <string>.
3952 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * All most all file in all subdirs: Make <string> be the prefered
3955 way of getting to std::string, add using declarations.
3957 2003-10-06 André Pönitz <poenitz@gmx.net>
3959 * metricsinfo.C: initialize LyXFont before changing attribute.
3960 (fixes the 'math in \emph is upright' bug)
3962 2003-10-06 André Pönitz <poenitz@gmx.net>
3964 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3966 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3969 * paragraph_pimpl.C: Small fixes to build using STLport
3971 2003-10-02 André Pönitz <poenitz@gmx.net>
3974 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3976 2003-10-01 André Pönitz <poenitz@gmx.net>
3978 * factory.C: assert early
3980 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * lyx_main.C: remove the global debug object
3984 * debug.h: adjust for new debugstream
3986 * debug.C: adjust for new debugstream and keep the global debug
3989 2003-09-22 Angus Leeming <leeming@lyx.org>
3991 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3992 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3993 an incomplete class LyXFont.
3995 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3997 * factory.C: bug fix in branches
3999 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * lyxfunc.C (processKeySym): adjust
4003 (dispatch): change arg name from ev to func, adjust
4004 (sendDispatchMessage): ditto
4006 * lyx_main.C (defaultKeyBindings): adjust keybindings
4007 (deadKeyBindings): ditto
4009 * kbsequence.C (addkey): return a FuncRequest
4011 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4013 * kbmap.C (bind): take a FuncRequest as arg, adjust
4016 (defkey): change to take a FuncRequest as arg, adjust
4017 (findbinding): take a FuncRequest as arg, adjust.
4019 * funcrequest.h (operator=): added
4021 * funcrequest.C (FuncRequest): default kb_action changed from
4022 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4024 * buffer.C (dispatch): simplify
4025 (dispatch): adjust to take a FuncRequest as arg, adjust
4027 * boost.C (assertion_failed): change assertion message slightly
4029 * ToolbarBackend.C (read): simplify
4031 * MenuBackend.C (binding): adjust call to findbinding, add a
4032 message if no binding is found.
4034 (expandToc): correct by adding a empty FuncRequest
4036 * LyXAction.C: include <boost/assert.hpp>
4037 (isPseudoAction): delete function
4038 (LookupFunc): change name to...
4039 (lookupFunc): this. change return type to FuncRequest.
4040 (getActionName): take kb_action as arg, simplify
4041 (funcHasFlag): add an assert, simplify.
4043 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * toc.C (action): return a FuncRequest, simplify
4047 * lyxfunc.C (processKeySym): adjust
4048 (getStatus): delete version that takes an int.
4050 (dispatch): delete version that takes action as int
4052 (sendDispatchMessage): simplify and adjust
4054 * funcrequest.C (getArg): take unsigned int as arg
4056 * ToolbarBackend.C (read): adjust
4057 (add): delete version that takes func as a string.
4058 (getIton): take a FuncRequest as arg
4060 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4063 * MenuBackend.C (MenuItem): add a new construct that only takes a
4064 Kind, simplify the constructor use for submenus.
4066 (expandLastfiles): adjust
4067 (expandDocuments): adjust
4068 (expandFormats): adjust
4069 (expandFloatListInsert): adjust
4070 (expandFloatInsert): adjust
4071 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4073 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4074 Remove class variables lyx_pseudo_map and lyx_arg_map
4076 * LyXAction.C (searchActionArg): delete function
4077 (getPseudoAction): delete function
4078 (retrieveActionArg): delete function
4079 (LookupFunc): make it return kb_action, simplify.
4080 (getActionName): simplify
4082 * factory.C (createInset): fix new bug
4084 2003-09-19 Angus Leeming <leeming@lyx.org>
4086 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4087 masterFilename_ parameter in the include inset.
4089 * factory.C (createInset): changes due to the changes to InsetInclude.
4091 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4093 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4095 2003-09-18 Angus Leeming <leeming@lyx.org>
4098 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4099 Inset::fillWithBibKeys.
4100 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4102 2003-09-18 Angus Leeming <leeming@lyx.org>
4104 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4106 (ctor): pass and store a 'Buffer const &'
4107 (buffer): new member function.
4109 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4110 '*this' to the LaTeXFeatures ctor.
4112 2003-09-18 Angus Leeming <leeming@lyx.org>
4118 * text.C: rename EnumLColor as LColor_color.
4120 2003-09-18 Angus Leeming <leeming@lyx.org>
4122 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4123 remove #include "insets/insetbase.h" from cursor.h.
4125 2003-09-18 Angus Leeming <leeming@lyx.org>
4127 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4128 InsetOld_code to remove #include "inset.h".
4130 * iterators.C: add #include "insets/inset.h"
4132 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4134 * BufferView.C: remove more locking stuff that apparently doesn't
4135 do anything sensible.
4137 2003-09-16 André Pönitz <poenitz@gmx.net>
4140 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4143 2003-09-16 Angus Leeming <leeming@lyx.org>
4145 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4147 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4150 * paragraph.h: remove #include "lyxfont.h". Forward declare
4153 2003-09-16 Angus Leeming <leeming@lyx.org>
4155 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4156 of support/textutils.h.
4157 (isWord): move the contents of support/textutils.h's IsWordChar here.
4163 * text2.C: add #include "paragraph.h".
4166 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4168 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * LaTeX.C: use namespace alias for lyx::support::os
4176 2003-09-16 Angus Leeming <leeming@lyx.org>
4179 * bufferview_funcs.C:
4182 * paragraph_pimpl.C:
4184 * text.C: add #include "LColor.h".
4186 2003-09-16 Angus Leeming <leeming@lyx.org>
4188 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4189 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4191 Store the FontBits::color variable as an int rather than as an
4192 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4195 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4196 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4197 string calls together.
4199 * lyxrc.C: add #include "LColor.h".
4201 2003-09-15 Angus Leeming <leeming@lyx.org>
4203 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4206 2003-09-15 Angus Leeming <leeming@lyx.org>
4208 * LColor.h: add an EnumLColor wrapper for LColor::color.
4210 * lyxfont.[Ch] (color, setColor, realColor):
4211 * lyxtext.h, text.C (backgroundColor):
4212 pass EnumLColor args to/from the functions, rather than LColor::color
4216 * lyxtext.h: forward declare EnumLColor.
4218 * lyx_main.C: add #include "LColor.h".
4220 2003-09-15 Angus Leeming <leeming@lyx.org>
4222 * .cvsignore: add lyx-gtk.
4224 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * ParagraphParameters.C
4233 * bufferview_funcs.C
4243 * vc-backend.C: remove usage of STRCONV
4245 2003-09-15 Angus Leeming <leeming@lyx.org>
4247 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4248 explicitly define the color passed to the painter.
4250 2003-09-15 Angus Leeming <leeming@lyx.org>
4252 * bufferparams.C (BufferParams): reorder member initializers to avoid
4255 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4257 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4258 * text.C (updateRowPositions): remove an unusual nop
4260 2003-09-12 André Pönitz <poenitz@gmx.net>
4262 * BufferView_pimpl.C:
4271 * Counters.[Ch]: finish the 'automatic counters' job
4273 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4275 * aspell.C: include <boost/assert.cpp> (compile fix)
4277 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4279 * boost.C (assertion_failed): use lyx::support::abort instead of
4282 2003-09-10 Angus Leeming <leeming@lyx.org>
4284 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4285 with their _fwd progeny.
4287 2003-09-09 Angus Leeming <leeming@lyx.org>
4289 134 files throughtout the source tree: replace 'using namespace abc;'
4290 directives with the appropriate 'using abc::xyz;' declarations.
4292 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4294 * boost.C (emergencyCleanup): moved here from LAssert.c
4295 (assertion_failed): new function, called by BOOST_ASSERT
4297 * several files: change Assert to BOOST_ASSERT
4299 2003-09-09 Angus Leeming <leeming@lyx.org>
4301 * buffer.[Ch]: Add an Impl class and move Buffer's member
4302 variables into it. As a result move several header files out of
4305 Add header files to lots of .C files all over the tree as a result.
4307 2003-09-09 Angus Leeming <leeming@lyx.org>
4309 * buffer.[Ch]: make Buffer's member variables private. Add
4312 Lots of changes all over the tree as a result.
4314 2003-09-08 Angus Leeming <leeming@lyx.org>
4316 * graph.C: #include <config.h>.
4318 2003-09-08 Angus Leeming <leeming@lyx.org>
4322 * BufferView_pimpl.C:
4351 * toc.C: remove redundant using directives.
4353 2003-09-07 Angus Leeming <leeming@lyx.org>
4355 * LaTeXFeatures.h: remove #include "support/types.h".
4356 * ToolbarBackend.h: remove #include <algorithm>.
4357 * changes.h: remove #include <ctime>.
4358 * debug.h: remove #include <iosfwd>.
4359 * graph.h: remove #include "support/std_string.h".
4360 * lyx_main.h: remove #include <csignal>.
4361 * lyxlex_pimpl.h: remove #include <fstream>.
4362 * sgml.h: remove #include <algorithm>, <utility>.
4363 * toc.h: remove #include "support/std_ostream.h".
4364 Add #include <iosfwd>.
4366 2003-09-07 Angus Leeming <leeming@lyx.org>
4368 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4370 * converter.h: forward declare LatexRunParams.
4371 * encoding.h: remove #include "lyxrc.h".
4372 * lyxtext.h: remove #include "LColor.h".
4373 * lyxtextclass.h: remove #include "support/types.h".
4374 * trans.h: remove #include "tex-accent.h".
4375 * trans_mgr.h: remove #include "tex-accent.h".
4376 * insets/inset.h: remove #include "support/types.h", <vector>.
4377 * insets/insetcollapsable.h: remove #include "LColor.h".
4378 * insets/insetinclude.h: remove #include "dimension.h".
4379 * insets/insetlatexaccent.h: remove #include "dimension.h".
4380 * insets/insetoptarg.h:: remove #include "insettext.h".
4381 * insets/insettext.h: remove #include "dimension.h",
4382 <boost/shared_ptr.hpp>
4384 * insets/renderers.h: add #include "dimension.h".
4385 * insets/updatableinset.h: add #include "support/types.h".
4387 * many .C files: Associated changes.
4389 2003-09-06 Angus Leeming <leeming@lyx.org>
4391 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4392 one, inside testInvariant.
4394 * PrinterParams.C: new file.
4395 * PrinterParams.[Ch]: move the function bodies out of line.
4397 2003-09-06 Angus Leeming <leeming@lyx.org>
4399 * ParagraphParameters.h: forward declare ParameterStruct rather than
4400 including its header file.
4401 (depth): moved out-of-line.
4403 2003-09-06 Angus Leeming <leeming@lyx.org>
4405 * BufferView_pimpl.h:
4408 * lyxfunc.h: forward declare LyXKeySym rather than
4409 #include "frontends/LyXKeySym.h".
4411 * BufferView_pimpl.C:
4414 * lyxfunc.C: associated changes.
4416 2003-09-06 Angus Leeming <leeming@lyx.org>
4418 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4419 As a result, can remove the #include "insets/inset.h" from BufferView.h
4421 2003-09-06 Angus Leeming <leeming@lyx.org>
4423 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4424 As a result, can remove the #include "insets/inset.h" from BufferView.h
4426 2003-09-06 Angus Leeming <leeming@lyx.org>
4432 * bufferview_funcs.C:
4433 * BufferView_pimpl.C:
4438 * ParagraphParameters.C:
4443 * frontends/controllers/ControlDocument.C:
4444 * insets/insetcaption.C: rearrange the #includes into some sort of
4447 * buffer.h: remove #includes ErrorList.h, undo.h
4449 2003-09-06 Angus Leeming <leeming@lyx.org>
4451 * support/types.h: add a 'depth_type' typedef, used to store the
4452 nesting depth of a paragraph.
4455 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4456 defining explicitly.
4459 * paragraph_funcs.h:
4460 * ParagraphParameters.h:
4461 * sgml.h: use lyx::depth_type rather than Paragraph or
4462 ParameterStruct's depth_type.
4465 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4468 * BufferView_pimpl.C:
4470 * ParagraphParameters.C:
4473 * bufferview_funcs.C:
4480 * frontends/LyXView.C:
4481 * frontends/controllers/ControlDocument.C:
4482 * frontends/controllers/ControlErrorList.C:
4483 * insets/insetbibitem.C:
4484 * insets/insetbranch.C:
4485 * insets/insetcaption.C:
4486 * insets/insetcollapsable.C:
4487 * insets/insetenv.C:
4488 * insets/insetert.C:
4489 * insets/insetfloat.C:
4490 * insets/insetfoot.C:
4491 * insets/insetfootlike.C:
4492 * insets/insetnewline.C:
4493 * insets/insetquotes.C:
4494 * insets/insettabular.C:
4495 * insets/insettext.C:
4496 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4498 * frontends/controllers/ControlChanges.C: #include "changes.h".
4500 2003-09-06 Angus Leeming <leeming@lyx.org>
4502 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4503 than #including paragraph.h.
4506 * RowList.h: deleted. Superfluous.
4516 * insets/insettext.h: use ParagraphList_fwd.h rather than
4519 * paragraph.h: don't forward declare ParagraphList.
4522 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4523 rather than ParagraphList.h. paragraph.h is still needed for the
4524 Paragraph::depth_type parameters.
4526 * textcursor.h: enable it to compile stand-alone in light of the
4529 * bufferview_funcs.C:
4541 * frontends/controllers/ControlParagraph.C:
4542 * frontends/controllers/ControlTabular.C:
4543 * insets/insetmarginal.C:
4544 * insets/insetminipage.C:
4545 * insets/insetnote.C:
4546 * insets/insetoptarg.C: add header files needed to compile again.
4548 2003-09-06 Angus Leeming <leeming@lyx.org>
4550 * RowList_fwd.h: new file, forward-declaring Row rather than
4551 #including lyxrow.h.
4556 * insets/insettext.h: use it instead of RowList.h
4558 * bufferview_funcs.C:
4565 * text3.C: #include "RowList.h".
4567 2003-09-05 Angus Leeming <leeming@lyx.org>
4569 * factory.C (createInset):
4570 * vspace.C (c-tor): replace sscanf call with an istringstream.
4571 * ispell.C: re-add missing HP/UX headers.
4572 * lyxserver.C: re-add missing os2 headers.
4574 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4583 * text3.C: re-add missing system headers, needed for 2.95.2.
4585 2003-09-05 Angus Leeming <leeming@lyx.org>
4587 Changes most place everywhere due to the removal of using directives
4588 from support/std_sstream.h.
4590 2003-09-05 Angus Leeming <leeming@lyx.org>
4592 Replace LString.h with support/std_string.h,
4593 Lsstream.h with support/std_sstream.h,
4594 support/LIstream.h with support/std_istream.h,
4595 support/LOstream.h with support/std_ostream.h.
4597 Changes resulting throughout the tree.
4599 2003-09-05 Angus Leeming <leeming@lyx.org>
4601 * sgml.h: ensure that the header file can be compiled stand-alone.
4602 * *.C: strip out redundant #includes. (320 in total.)
4604 2003-09-04 Angus Leeming <leeming@lyx.org>
4606 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4607 here (from getPackages).
4609 * debug.[Ch]: add a new EXTERNAL tag.
4611 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4613 * text2.C (cursorEnd): simplify
4615 (getColumnNearX): adjust
4617 * text.C (computeBidiTables): adjust
4620 * rowpainter.C (paintChars): adjust
4621 (paintSelection): adjust
4622 (paintChangeBar): adjust
4625 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4627 (numberOfSeparators): adjust
4629 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4635 * text3.C: Restricts the mouse click functionality
4636 of insets like bibtex, include, toc and floatlist to the visible
4637 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4638 up the dialogs. Cursor has to be in front of the inset (i.e.
4639 start of row) for this to function.
4641 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4643 * bufferview_funcs.C (currentState): output row information
4645 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4647 * bufferview_funcs.C (currentState): output paragraph position
4649 2003-09-04 Angus Leeming <leeming@lyx.org>
4651 * FloatList.h: move out #include "Floating.h".
4652 * LaTeX.h: move out #include "DepTable.h".
4653 * LyXAction.h: move out #include "funcrequest.h".
4654 * buffer.h: move out #include "author.h", "iterators.h".
4655 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4656 * lyx_main.h: move out #include "errorlist.h".
4657 * lyxfunc.h: move out #include "FuncStatus.h".
4658 * lyxtext: move out #include "lyxcursor.h".
4659 * paragraph_pimpl.h: move out #include "counters.h".
4661 2003-09-03 Angus Leeming <leeming@lyx.org>
4663 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4664 preamble_snippets list, enabling us to add snippets to the preamble
4665 only if the snippet was not there already.
4667 2003-09-04 Angus Leeming <leeming@lyx.org>
4669 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4671 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4676 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4678 * BranchList.C: point fix, earlier forgotten
4680 2003-09-02 Angus Leeming <leeming@lyx.org>
4682 * box.C (contains): renamed from 'contained' after a fantastic
4685 2003-09-02 John Levon <levon@movementarian.org>
4691 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4693 2003-09-02 John Levon <levon@movementarian.org>
4695 * text2.C: simplification of cursorEnd(), including partial
4698 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * buffer.C (readFile): add a space
4702 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4704 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4706 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * buffer.C (readFile): new function, take a filename and a
4709 ParagraphList::iterator
4711 (readFile): adjust, make it private. don't use setStream, make
4712 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4713 always contain the filename.
4715 * BufferView.C (insertLyXFile): simplify and make it work for
4718 2003-08-30 John Levon <levon@movementarian.org>
4720 * Makefile.am: fix dist (from Kayvan)
4722 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * most files: change to use const Buffer refs
4726 2003-08-27 André Pönitz <poenitz@gmx.net>
4728 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4729 on top of ownerPar().
4731 2003-08-27 John Levon <levon@movementarian.org>
4733 * funcrequest.C: properly initialise POD members
4735 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4737 * lyxtext.h (top_y): move top_y from here
4742 * BufferView_pimpl.[Ch]: to here
4743 * frontends/screen.C:
4744 * insets/insettabular.C:
4745 * insets/insettext.C: adjust
4746 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4748 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4751 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4753 2003-08-26 André Pönitz <poenitz@gmx.net>
4755 * paragraph_func.[Ch] (outerPar): new function
4758 * paragraph_funcs.C:
4759 * paragraph_funcs.h:
4760 * paragraph_pimpl.C:
4761 * text2.C: remove Inset::par_owner
4763 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4768 * text2.C: eliminates the needFullRow/display() stuff
4769 altogether, putting the logic in metrics/draw in the insets.
4771 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4773 * text2.C (redoParagraphInternal, redoParagraphs):
4774 * text.C (redoParagraph): add a call to updateRowPositions at the
4775 end of each 'metrics-like' call. Remove all others.
4776 (getRow): remove the 'y-computing' version.
4777 (getRowNearY): do not compute nor return the real y. Solve the
4778 'y < 0' problem and simplify.
4780 2003-08-22 Angus Leeming <leeming@lyx.org>
4782 * *.[Ch]: clean-up of licence and author blurbs.
4783 Also move config.h out of a few .h files and into a few .C files.
4785 2003-08-22 André Pönitz <poenitz@gmx.net>
4787 * lyxrow.[Ch]: add x_ and *fill_ members
4792 * text2.C: adjust/remove prepareToPrint() calls
4794 2003-08-22 André Pönitz <poenitz@gmx.net>
4796 * lyxrow.[Ch]: add end_ member
4798 * lyxrow_funcs.C: use LyXRow::end_
4800 * lyxtext.h (singleWidth): add LyXFont parameter
4803 * text2.C: adjust LyXText::singleWidth() calls
4805 * text.C (redoParagraph): simplify row breaking logic
4808 2003-08-19 André Pönitz <poenitz@gmx.net>
4810 * funcrequest.C: initialize button_ member
4813 * rowpainter.[Ch]: interface consolidation
4815 2003-08-18 André Pönitz <poenitz@gmx.net>
4818 * BufferView_pimpl.C:
4820 * paragraph_funcs.C:
4822 * text3.C: remove LyXScreen::draw() and fitCursor calls
4824 * BranchList.h: remove spurious semicolons
4826 * MenuBackend.C: fix branchlist related crash
4828 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4836 * bufferparams.[Ch]:
4840 * text3.C: implements the 'branch inset'
4841 idea. This allows the output of various versions of a document
4842 from a single source version, selectively outputing or suppressing
4843 output of parts of the text.
4844 This implementation contains a 'branch list editor' in a separate
4845 tab of the document settings dialog. Branches are user definable
4846 and have a "display colour" to distinguish them on-screen.
4848 ColorHandler was somewhat cleaned up.
4849 (1) make possible a dynamically growing LColor list by allowing
4850 the graphic context cache to grow along (vector);
4851 (2) eliminate an IMHO unnecessary step in colour allocation.
4853 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4855 * BufferView_pimpl.C: compile fix
4857 2003-08-15 André Pönitz <poenitz@gmx.net>
4859 * rowpainter.C: remove extra metrics calls
4861 * lyxtext.h: merge the two constructors into a single one,
4862 pass reference to owner's par list
4864 * BufferView_pimpl.C:
4868 2003-08-15 André Pönitz <poenitz@gmx.net>
4870 * lyxrow_funcs.[Ch]:
4873 * paragraph_funcs.C:
4878 * text_funcs.C: split LyXText::rowlist_ into individual
4879 Paragraph::rows_ chunks
4882 * BufferView_pimpl.[Ch]:
4885 * text3.C: remove toggleSelection()
4887 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4889 * bufferlist.C: beautify two alerts (shorter text of buttons)
4890 * buffer.C: Remove redundant ' ' from message
4892 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4893 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4894 rename VALIGN_CENTER to VALIGN_MIDDLE
4896 2003-08-11 André Pönitz <poenitz@gmx.net>
4898 * lyxtext.h (getPar):
4899 * text.C: new function
4901 2003-08-11 André Pönitz <poenitz@gmx.net>
4904 * tracer.[Ch]: remove unneeded files
4906 * InsetList.[Ch]: remove resizeInsetsLyXText()
4911 * text3.C: merge insertParagraphs() and appendParagraph()
4912 remove breakAgain(), update()
4914 * BufferView_pimpl.[Ch]:
4915 * bufferview_funcs.[Ch]:
4919 * tabular.C: adjust after text & InsetList changes.
4921 2003-08-08 André Pönitz <poenitz@gmx.net>
4923 * text.C (insertChar, backspace): replace rowlist fiddling
4924 with rebreak of full par
4927 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4928 checkParagraph, updateInset): removed
4930 2003-08-07 André Pönitz <poenitz@gmx.net>
4933 * text3.C: merge some LFUN handlers, remove dead code
4935 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4937 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4939 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4941 * text2.C (DEPM): fix part of bug 1255 and 1256
4943 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4945 * BufferView_pimpl.C (workAreaDispatch): change to use
4946 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4947 that are no mouse related.
4949 2003-08-05 André Pönitz <poenitz@gmx.net>
4952 * BufferView_pimpl.[Ch]:
4953 * bufferview_funcs.C:
4955 * text3.C: rip out "deep update"
4957 * textcursor.[Ch] (last_sel_cursor): remove unused member
4959 2003-08-04 André Pönitz <poenitz@gmx.net>
4962 * BufferView_pimpl.[Ch]:
4963 * ParagraphParameters.C:
4964 * bufferview_funcs.C:
4970 * text3.C: replace "complicated" BufferView::update(...) calls with
4973 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4975 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4977 * Makefile.am (lyx_SOURCES): add paper.h
4979 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4981 * Makefile.am: move things around so that both lyx-qt and
4982 lyx-xforms can be built (according to --with-frontend). Then lyx
4983 is a symbolic link to lyx-[firstfrontend]
4985 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4987 * Always use std::endl with lyxerr
4989 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4991 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4993 2003-08-01 André Pönitz <poenitz@gmx.net>
4996 * BufferView_pimpl.[Ch]:
4998 * text3.C: merge BufferView::repaint() and BufferView::update()
5000 2003-08-01 José Matos <jamatos@lyx.org>
5002 * buffer.[Ch]: file_format is no longer a buffer data element.
5004 2003-08-01 André Pönitz <poenitz@gmx.net>
5009 * text2.C: make redoParagraph more independent of current cursor
5011 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5013 * text2.C: remove unneeded members
5015 2003-07-30 André Pönitz <poenitz@gmx.net>
5017 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5019 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5020 create a single function...
5022 * paragraph_funcs.C (moveItem): ... here.
5025 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5027 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5029 * LColor.[Ch]: Add comment and greyedout logical colors.
5031 2003-07-30 André Pönitz <poenitz@gmx.net>
5033 * tabular.C: don't use Assert too heavily. This crashes where it
5036 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5038 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5039 is disabled (bug 1232)
5041 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5043 * factory.C: limited 'arg' scope
5045 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5047 * factory.C: fixed Note submenu issues
5049 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5051 * factory.C: submenu for Note/Comment/Greyedout
5053 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5056 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5058 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5061 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5062 greyedout. Patch provided by Jürgen Spitzmüller.
5064 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5066 * kbmap.C (read): fix error message when reading bind files
5068 2003-07-29 Angus Leeming <leeming@lyx.org>
5070 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5071 certainly does not do what it purports to do. I am doing it, and
5072 us, a favour by killing it.
5074 2003-07-28 José Matos <jamatos@lyx.org>
5076 * buffer.C (readBody, do_writeFile):
5077 * paragraph.C(readParagraph): \end_document replaces \the_end.
5079 2003-07-29 André Pönitz <poenitz@gmx.net>
5082 * BufferView_pimpl.[Ch]:
5086 * textcursor.[Ch]: remove toggleToggle & Co
5088 2003-07-28 José Matos <jamatos@fep.up.pt>
5090 * buffer.C (readParagraph):
5091 * params_func (readParToken, readParagraph):
5092 * paragraph.C (write): \layout -> \begin_layout.
5094 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * lyxlex_pimpl.C (setFile): clean up slightly.
5098 * bufferparams.h: add compressed var
5100 * buffer_funcs.C (readFile): adjust for LyXLex change
5101 (newFile): ditto + simplify
5103 * buffer.C (writeFile): handle writing of compressed files
5105 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5106 Check if the file is compressed and set a bufferparm if so.
5108 * Makefile.am (lyx_LDADD): remove explicit -lz
5110 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5112 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5113 makeDocBookFile): put the real LyX version in the first line of
5117 * version.C.in: remove lyx_docversion
5119 * tabular.C (write_attribute): add a template-based version to
5120 write enums properly
5122 2003-07-28 André Pönitz <poenitz@gmx.net>
5127 * text3.C: use doubles again for x-coordinates. They are needed.
5129 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * messages.C (getLocaleDir): use lyx_localedir()
5133 * lyxlex_pimpl.C (setFile): compress stuff
5135 * buffer.C (writeFile): add some compression stuff
5136 (do_writeFile): new func, dont call expliti close... will this
5139 * Makefile.am (lyx_LDADD): add -lz
5141 2003-07-28 José Matos <jamatos@fep.up.pt>
5143 * buffer.C: increment file format.
5144 * paragraph_funcs (readParagraph, readParToken):
5145 * paragraph.C (readParagraph): add \end_layout.
5147 2003-07-27 Angus Leeming <leeming@lyx.org>
5149 * Makefile.am: remove special casing for configure-time setting of
5150 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5152 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5153 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5155 2003-07-26 André Pönitz <poenitz@gmx.net>
5157 * paragraph_func.[Ch]:
5158 * paragraph.C (realizeFont): inline it whereever it is used
5163 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5166 2003-07-26 André Pönitz <poenitz@gmx.net>
5170 * text2.C: get rid of LyXText::need_break_row
5172 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * toc.[Ch]: put namespace toc inside namespace lyx
5176 * MenuBackend.C (expandToc2): adjust for lyx::toc
5179 * lyxfunc.C (dispatch): adjust for lyx::find
5181 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5182 lyx::find instead. Reorganize a bit.
5183 (LyXReplace): rename to replace
5184 (LyXFind): rename to find
5186 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5189 2003-07-26 André Pönitz <poenitz@gmx.net>
5191 * text.C (setHeightOfRow): restrict scope of temporary variable
5193 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5194 code (never has been used?)
5196 2003-07-27 Asger Alstrup <alstrup@local>
5198 * text.C (fill): Optimise algorithm to exploit that we can reuse
5199 the LyXFont for many characters.
5200 (setHeightOfRow): Same thing.
5201 (rowBreakPoint): Same thing.
5203 2003-07-26 Asger Alstrup <alstrup@local>
5205 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5207 * text.C (singleWidth): Spurious font copying in hot-spot
5208 singleWidth avoided. Reorder tests for arabic for efficiency.
5210 * text.C (fill): handle empty paragraphs better.
5212 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5215 * encoding.h: add includes
5217 * lyxrc.C: remove reading of bind files
5219 * lyx_main.C (init): setup bindings and menus only if we have a
5222 * kbmap.C (read): new method. Do the actual reading of bind
5225 * converter.C (dvipdfm_options):
5228 (output): adapt PAPER_* enums.
5230 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5232 * bufferparams.h: remove paper-related enums from there
5234 * paper.h: New file. A trivial header file to hold paper-related
5235 enums. It should later expand to contain many paper-related
5238 * lyxrc.C: declare extern displayTranslator
5240 2003-07-27 José Matos <jamatos@fep.up.pt>
5242 * tabular.[Ch] (linuxdoc): add support for tables and figures
5245 2003-07-27 José Matos <jamatos@fep.up.pt>
5247 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5248 consistency in both functions.
5249 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5251 2003-07-26 Asger Alstrup <alstrup@local>
5253 * rowpainter.C (paintRows): Change algorithm to work directly on
5254 the insets rather than asking every character in the document
5255 whether its an inset.
5257 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5259 * buffer.C (openFileWrite): factorize some code
5261 2003-07-26 Angus Leeming <leeming@lyx.org>
5264 * lyx_main.[Ch]: replace occurances of system_tempdir with
5267 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * rename Inset to InsetOld
5271 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5273 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5274 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5275 which I think is a bit clearer. EDIT is gone, since it was
5276 premature optimisation, and broken for mathed anyway.
5277 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5278 with cursor positioning in insets as well (math insets still do not
5279 work, but that's a different story anyway.) It mysteriously
5280 crashes sometimes with undo in the first paragraph, but I'm fairly
5281 confident that this is a compiler bug.
5283 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5285 * paragraph.C (Paragraph): adjust for new clone return type
5287 (copyIntoMinibuffer): ditto
5289 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5291 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5292 by not having a special case, and always doing a full rebreak of
5293 the document after undo.
5295 2003-07-23 Angus Leeming <leeming@lyx.org>
5297 * factory.C (createInset): InsetExternal::setParams now takes a
5300 2003-07-23 Angus Leeming <leeming@lyx.org>
5302 * factory.C (createInset): changed interface to the external and
5303 graphics mailers' string2params functions.
5305 2003-07-23 Angus Leeming <leeming@lyx.org>
5307 * factory.C (createInset): pass a
5308 Buffer const * parameter to InsetExternalMailer's string2params.
5310 2003-07-22 John Levon <levon@movementarian.org>
5312 * Thesaurus.h: include the right aiksaurus header
5314 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5316 * MenuBackend.C (expand): check menu shortcuts unconditionally
5318 2003-07-21 Angus Leeming <leeming@lyx.org>
5320 * factory.C (createInset): pass a
5321 buffer_path parameter to InsetGraphicsMailer's string2params.
5323 2003-07-21 Angus Leeming <leeming@lyx.org>
5325 * BufferView_pimpl.C (buffer):
5328 * lyxfunc.C (dispatch):
5329 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5330 rather than the grfx shortcut.
5332 2003-07-21 André Pönitz <poenitz@gmx.net>
5334 * rowpainter.C: remove unused variables
5337 * tabular_funcs.h: move to tabular.C
5338 * Makefile.am: adjust
5340 * tabular.[Ch]: basic optical cleaning
5342 * author.h: pass references, not values
5344 2003-07-18 André Pönitz <poenitz@gmx.net>
5352 * text3.C: two-phase drawing for InsetText and InsetTabular
5353 some float -> int changes.
5355 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5357 * lyx_main.C: fix the fix
5359 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5361 * lyx_main.C: fix a crash in batch mode if no files specified
5364 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5366 * format.[Ch] (papersize): moved to BufferParams
5367 * converter.[Ch] (dvips_options): moved to BufferParams
5368 (dvipdfm_options): moved to anon namespace
5369 * bufferparams.[Ch]: added above functions.
5371 2003-07-17 André Pönitz <poenitz@gmx.net>
5375 * text2.C: don't call inset->update() anymore
5377 * metricsinfo.[Ch]: add convenience constructor
5379 2003-07-16 André Pönitz <poenitz@gmx.net>
5384 * text2.C: replace the LyXCursor::irow_ member with
5385 on-demand computation of the value
5387 2003-07-16 John Levon <levon@movementarian.org>
5389 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5391 2003-07-15 André Pönitz <poenitz@gmx.net>
5394 * text2.C: remove no more needed refresh_row
5396 2003-07-15 André Pönitz <poenitz@gmx.net>
5401 * text3.C: refresh_status tristate -> need_update bool
5403 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5405 * lyxtext.h (init): remove reinit argument (act as if always true)
5406 * text2.C: adjust to that
5408 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5410 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5411 * text3.C: use it to delete selections in some cases
5412 (bugs 441, 673, 702, 954).
5414 2003-07-14 André Pönitz <poenitz@gmx.net>
5416 * rowpainter.[Ch]: reduce interface
5418 2003-07-14 André Pönitz <poenitz@gmx.net>
5420 * BufferView_pimpl.C:
5421 * text2.C: adjust after removing unused BufferView * argument
5423 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5425 * text2.C (init): fix a crash fired on resize
5427 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5429 * buffer.[Ch]: added new closing signal
5430 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5431 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5432 BufferView::Pimpl via the closing the signal
5434 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5436 * buffer.[Ch]: take out all bv-related from buffer
5438 * BufferView_pimpl.[Ch]: connect to new signals
5439 * CutAndPaste.C: removed useless asserts
5440 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5443 * lyxfunc.C: moved view-related funciontality from vc here
5444 * paragraph.C: removed outdated comments
5447 2003-07-10 André Pönitz <poenitz@gmx.net>
5449 * BufferView_pimpl.C:
5453 * text2.C: remove InsetText::InnerCache, clean up consequences
5455 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5457 * ispell.C: fix two typos in error messages
5459 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5461 * Extend Note inset to other forms of annotation like Comment
5462 and Greyedout. Right button click gives dialog.
5464 Files modified or added (+):
5468 * ControlNote.[Ch] +
5470 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5471 frontends/controllers
5475 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5477 * aspell.C: add missing namespace lyx::support
5479 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5481 * BufferView.[Ch] (newFile): Add
5482 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5483 * LaTeX.[Ch] (message): added this signal and use it
5484 * buffer.[Ch] (busy, message): added these signals and use them
5485 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5489 * importer.C: use buffer signals instead of direct bv calling
5490 * lyx_cb.[Ch] (ShowMessage): removed
5493 * paragraph_funcs.C:
5494 * text2.C: use buffer signals
5496 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * introduce namespace lyx::graphics
5500 2003-07-02 André Pönitz <poenitz@gmx.net>
5502 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5504 2003-07-01 André Pönitz <poenitz@gmx.net>
5511 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5512 text*.C to text_func.C
5514 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5516 * introduce namespace lyx::support
5518 2003-06-30 André Pönitz <poenitz@gmx.net>
5523 * text.C: re-enable --with-included-string
5525 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * textcursor.C: add <config.h>
5529 * text.C (getWord): remove const from word_location arg
5531 * lyxvc.C (getLogFile): fix const type order
5533 * lyxtext.h: remove const from word_location arg, add arg name
5535 * lyxlayout.h: currect type on labeltype.
5537 * importer.C: correct \file
5539 * converter.C (intToFormat): use std:: on ret val, ws changes
5541 * bufferlist.h: correct \file
5543 * buffer.C (makeLinuxDocFile): fix const type order
5544 (makeDocBookFile): ditto
5545 (fillWithBibKeys): use std:: on stdlib args.
5547 * CutAndPaste.C: fix authors.
5548 (availableSelections): use std:: on return vector
5550 2003-06-27 André Pönitz <poenitz@gmx.net>
5552 * BufferView_pimpl.C:
5553 * bufferview_funcs.C:
5561 * text3.C: remove LyXCursor::row_ member
5564 * text.C: rename fullRebreak() to partialRebreak() and implement
5565 a fullRebreak() that really bereks fully
5567 * textcursor.h: new struct for cursor-related data
5569 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5571 * lyx_main.C (LyX): get full path of document loaded on the
5574 2003-06-26 André Pönitz <poenitz@gmx.net>
5576 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5577 remove unused/broken operator>,<,>=.
5579 * text.C: remove only use of broken operator<= in an Assert().
5581 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5583 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5584 moved errorlist_.clear to showErrorList
5586 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5588 * converter.C (scanLog, runLaTeX):
5589 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5590 move the bv->showErrorList call to the callers
5591 * lyxfunc.C: i.e. here...
5593 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5594 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5595 namespace, the second to...
5596 * buffer_funcs (BufferFormat, parseErrors): added
5597 * errorlist.C (ErrorList(TeXErrors const &)): removed
5599 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5601 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5603 2003-06-24 "Garst R. Reese" <reese@isn.net>
5607 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5609 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5611 * version.C.in: change docversion to 1.4
5613 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5615 * buffer.C: fix a bug just introduced
5617 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5619 * buffer.[Ch]: added the parseError signal and use it, removed
5621 * BufferView.[Ch] (addError): moved to ...
5622 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5623 to the Buffer::parseError signal to catch (guess what) parse errors
5624 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5626 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5628 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5629 ability to create a buffer and to return an existing one from
5630 the list. Moved these functions to...
5631 * buffer_funcs.[Ch]: added
5632 * BufferView.[Ch] (loadLyXFile): added
5633 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5634 job removed from bufferlist::loadLyXFile.
5635 * buffer.C (setReadOnly): make it work without view
5636 (i.e added an if (users))
5638 2003-06-19 Angus Leeming <leeming@lyx.org>
5641 * LyXAction.C (init):
5642 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5643 with LFUN_DIALOG_SHOW <name> <data>.
5645 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5647 * CutAndPaste.C (availableSelections): small compilation fix for
5648 ancient (gcc 2.9x) compilers
5650 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * text3.C (cursorNext): add tmp var
5654 * text2.C (updateCounters): for function calling out of for clause
5655 (replaceSelectionWithString): ditto
5656 (insertStringAsParagraphs): ditto
5657 (getColumnNearX): add tmp var
5658 (setCursorFromCoordinates): add tmp var
5659 (cursorDownParagraph): add tmp var
5660 (deleteEmptyParagraphMechanism): add tmp var
5662 * text.C (insertChar): add tmp var
5664 * rowpainter.C (paintDepthBar): add tmp var
5666 * CutAndPaste.C (availableSelections): potentially check all
5667 paragraphs in a cut to fill the shown strings.
5669 2003-06-18 André Pönitz <poenitz@gmx.net>
5671 * kbmap.[Ch]: use vector<> instead of list<>
5673 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5675 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5676 pasteSelection with index
5678 * text2.C (pasteSelection): modify, call pasteSelection with index
5680 * paragraph.C (asString): reimplement version with no interval to
5681 call the one with interval.
5683 * lyxtext.h: add index arg to pasteSelection
5685 * MenuBackend.C (MenuItem): handle PasteRecent
5686 (Menu::read::Menutags): add md_pasterecent
5688 (expandPasteRecent): new function
5691 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5693 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5695 (availableSelections): new function
5697 2003-06-17 Angus Leeming <leeming@lyx.org>
5699 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5701 2003-06-17 Angus Leeming <leeming@lyx.org>
5704 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5706 * lyxfunc.C (dispatch): invoke it.
5708 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5710 * iterators.C (operator++, ParPosition): reintroduce some
5711 const_cast for the benefit of older compilers.
5713 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5715 * text3.C (dispatch): do not modify clipboard when doing
5716 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5717 LFUN_DELETE_SKIP on a selection selection
5719 2003-06-16 André Pönitz <poenitz@gmx.net>
5725 * tabular.[Ch]: IU of clone() and getLabelList();
5727 2003-06-13 André Pönitz <poenitz@gmx.net>
5729 * tabular.h: compactification
5731 2003-06-12 André Pönitz <poenitz@gmx.net>
5735 * tabular_funcs.h: some renaming plus whitespace
5737 2003-06-12 André Pönitz <poenitz@gmx.net>
5740 * BufferView_pimpl.C:
5746 * toc.C: Return a Paragraph & for ParIterator::operator*()
5748 2003-06-11 John Levon <levon@movementarian.org>
5752 * ToolbarBackend.C: add "Toolbars" section and
5755 2003-06-10 Angus Leeming <leeming@lyx.org>
5758 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5760 * lyxfunc.C (dispatch): invoke it.
5762 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * main.C: protect <ios> with HAVE_IOS
5765 (main): protect sync_with_stdio with HAVE_IOS
5767 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5769 * text2.C (cutSelection): adjust
5770 (pasteSelection): adjust
5772 * messages.C: handle get of empty string
5774 * main.C (main): use sync_with_stdio(false)
5776 * lyxfunc.C (dispatch): adjust
5778 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5779 (WriteAs): remove unneeded BufferView arg.
5781 * bufferparams.h: use correct types on papersize, papersize2 and
5784 * bufferparams.C (readToken): adjust for type
5785 (writeLaTeX): add missing cases to switch.
5787 * bufferlist.C (quitWriteBuffer): adjust
5790 * buffer.C (asciiParagraph): remove some commented code.
5792 * CutAndPaste.C: remove current_view extern variable.
5793 (cutSelection): add BufferParams arg.
5794 (eraseSelection): add BufferParams arg.
5795 (pasteSelection): add Buffer const & arg
5797 2003-06-07 John Levon <levon@movementarian.org>
5800 * paragraph_funcs.C:
5801 * paragraph_pimpl.C:
5805 * paragraph.C: allow InsetERT to freely space lines,
5806 and some consolidation of code
5808 2003-06-06 José Matos <jamatos@fep.up.pt>
5810 * buffer.C (makeDocBookFile): fix bug #821
5812 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5814 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5816 2003-06-04 Angus Leeming <leeming@lyx.org>
5818 * buffer.C: bump format to 224.
5820 2003-06-05 André Pönitz <poenitz@gmx.net>
5822 * text2.C (redoParagraphs): remove two const_cast<>
5824 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5826 * ParagraphList.h: remove last remnants of NO_STD_LIST
5828 2003-06-03 Angus Leeming <leeming@lyx.org>
5830 * factory.C (createInset): small change to the way InsetExternal's params
5833 2003-06-04 André Pönitz <poenitz@gmx.net>
5835 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5837 * paragraph_pimpl.h:
5838 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5840 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5842 * undo_funcs.C: make some simple cases of undo work again
5844 2003-06-03 John Levon <levon@movementarian.org>
5846 * ispell.C: HPUX doesn't have sys/select.h
5849 2003-06-03 John Levon <levon@movementarian.org>
5851 * CutAndPaste.C: update tabular and include inset
5856 * paragraph.C: remove owningBuffer(), don't pass Buffer
5859 * factory.C: insetGraphicsParams changed
5861 2003-06-02 John Levon <levon@movementarian.org>
5867 * text3.C: remove insetparent
5869 2003-06-02 John Levon <levon@movementarian.org>
5872 * buffer.C: fix inset_iterator.end(), move out of line
5875 2003-06-01 John Levon <levon@movementarian.org>
5877 * text3.C: use a proper cut/paste when doing inset
5878 insert (from Jürgen Spitzmüller)
5880 2003-06-01 John Levon <levon@movementarian.org>
5882 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5884 2003-05-30 André Pönitz <poenitz@gmx.net>
5886 * rowpainter.C: unify second drawing phase
5888 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * trans_mgr.C: remove one case of current_view
5892 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5894 * paragraph_funcs.h: remove paragraph.h include
5896 * paragraph.h: delete NO_STD_LIST stuff
5898 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5900 * buffer.h: remove paragraph.h include
5902 * ParagraphList.C: delete file
5904 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5906 * toc.C (getTocList): adjust
5908 * paragraph_pimpl.C (validate): adjust
5910 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5912 * paragraph.C (Paragraph): adjust
5913 (getPositionOfInset): use const_iterator, adjust
5914 (bibitem): use const_iterator, adjust
5915 (setInsetOwner): adjust
5917 * iterators.C (operator++): adjust
5919 * InsetList.[Ch]: Replace selfmade iterator with standard
5920 vector::iterator also introduce const_iterator. Remove getPos,
5921 getInset and setInset from InsetTable. Adjust accordingly.
5923 * BufferView.C (lockInset): adjust
5924 (ChangeInsets): adjust
5926 * tabular.[Ch]: delete commented same_id functions
5928 2003-05-28 John Levon <levon@movementarian.org>
5930 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5932 2003-05-28 André Pönitz <poenitz@gmx.net>
5934 * metricsinfo.[Ch]: remove 'fullredraw' member
5936 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5938 * lyxtextclass.C (operator): remove caching.
5940 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * text2.C (cursorBottom): adjust
5945 (setCounter): use ParagraphList::find, adjust
5947 * text.C (workWidth): use ParagraphList::find, adjust
5949 * lyxcursor.C (LyXCursor): adjust
5951 * buffer.C (inset_iterator): adjust
5953 * ParagraphList.h: make iterator(value_type) private, make
5954 ParagraphList a friend of iterator.
5956 * ParagraphList.C (find): new function
5958 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5960 2003-05-27 André Pönitz <poenitz@gmx.net>
5962 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5964 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5966 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5968 2003-05-26 John Levon <levon@movementarian.org>
5970 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5972 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * remove same_id from function signatures, adjust.
5976 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5980 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5982 * paragraph.C (Paragraph): get rid of same_ids parameter
5984 * ParagraphList.C (insert): adjust
5987 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5989 * paragraph_funcs.C (breakParagraph): adjust
5990 (breakParagraphConservative): adjust
5992 * buffer.C (readParagraph): adjust
5994 * ParagraphList.C (insert): take a reference instead of a pointer
5997 * paragraph.[Ch] (id): new function
5999 * bufferlist.C (newFile): adjust
6001 * ParagraphList.C (ParagraphList): adjust
6003 (push_back): take a reference instead of a pointer.
6005 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6007 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6010 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6011 set else use old code.
6013 * ParagraphList.C: remove all NO_NEXT code and only compile this
6014 code of NO_STD_LIST is set.
6016 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6018 * BufferView_pimpl.C:
6028 * graphics/GraphicsConverter.C:
6029 * graphics/PreviewLoader.C: header adjustment
6031 2003-05-23 Angus Leeming <leeming@lyx.org>
6033 * LaTeXFeatures.[Ch] (useBabel): new method.
6034 * bufferparams.C (writeLaTeX): use it.
6036 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * ParagraphList.h (set): remove unused function.
6040 2003-05-23 André Pönitz <poenitz@gmx.net>
6043 * BufferView_pimpl.C:
6047 * undo_funcs.C: setUndo reworked
6049 * iterators.[Ch]: add access to topmost ParagraphList
6051 * lyxtext.[Ch] (workWidth): add a const
6053 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6055 * texrow.[Ch] (increasePos): remove function
6056 * exporter.C (export): removed unused var and outdated comment
6058 2003-05-23 Angus Leeming <leeming@lyx.org>
6060 * latexrunparams.h: rename fragile as moving_arg.
6061 * paragraph.C (simpleTeXOnePar): ditto.
6062 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6064 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6068 (textUndoOrRedo): comment out a currently unused var.
6070 * paragraph.h (NO_NEXT): enable NO_NEXT
6072 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6074 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6076 * exporter.C (Export): adjust for removeAutoInsets removal.
6078 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6080 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6082 * BufferView.[Ch] (removeAutoInsets): delete function
6084 2003-05-22 Angus Leeming <leeming@lyx.org>
6086 * latexrunparams.h: add a free_spacing variable.
6088 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6089 to pass moving_arg, as the data is stored in runparams.fragile.
6091 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6092 to Inset::latexOptional or to simpleTeXOnePar.
6094 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6095 free_spacing arg to Inset::latexOptional.
6097 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6100 2003-05-22 Angus Leeming <leeming@lyx.org>
6102 * latexrunparams.h: add fragile and use_babel variables.
6104 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6105 * buffer.C (makeLaTeXFile): store this returned value in
6106 runparams.use_babel, thus passing it to the inset::latex methods.
6108 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6109 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6111 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6112 longer has a fragile arg, as it is stored in runparams.fragile.
6114 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6115 moving_arg parameter as the data is stored in runparams.fragile.
6117 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6118 a fragile parameter as the data is stored in runparams.fragile.
6120 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6124 2003-05-22 Angus Leeming <leeming@lyx.org>
6126 * latexrunparams.h: add a 'bool nice' which defaults to false.
6128 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6129 now encapsulated within runparams.
6131 * bufferlist.C (updateIncludedTeXfiles):
6132 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6134 2003-05-22 Angus Leeming <leeming@lyx.org>
6136 * latexrunparams.h: new file containing struct LatexRunParams.
6137 * Makefile.am: add new file.
6139 * LaTeX.[Ch] (c-tor, run):
6140 * buffer.[Ch] (makeLaTeXFile):
6141 * bufferlist.[Ch] (updateIncludedTeXfiles):
6142 * converter.C (convert, scanLog):
6143 * converter.[Ch] (runLaTeX):
6144 * exporter.C (Export):
6145 * paragraph.[Ch] (simpleTeXOnePar):
6146 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6147 * paragraph_funcs.[Ch] (latexParagraphs):
6148 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6149 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6150 pass around a LatexRunParams parameter.
6152 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * paragraph.[Ch]: remove unused constructor
6156 * ParagraphList.C (erase): new function, taking two iterators
6158 2003-05-22 André Pönitz <poenitz@gmx.net>
6160 * undo_funcs.C: remove duplicated code
6162 * iterator.[Ch]: operator=
6164 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * tabular.C (SetMultiColumn): ws changes
6168 * rowpainter.C (paintFirst): get rid of a ->previous
6170 * lyx_cb.C (getPossibleLabel): parlist simplification
6172 * BufferView.C (ChangeInsets): simplify slightly.
6174 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6176 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6177 * lfuns.h: new LFUN_SPACE
6178 * lyxfunc.C: protected space has a new lfun
6179 * paragraph_funcs.C: read new space insets
6181 * factory.C: handle new space insets
6183 2003-05-22 André Pönitz <poenitz@gmx.net>
6186 * BufferView_pimpl.C:
6189 * undo_funcs.C: return a ParIterator from getParFromID.
6191 * iterators.[Ch]: add two const's
6193 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * toc.C (getTocList): adjust
6197 * iterators.[Ch]: rework for parlist
6199 * buffer.C (par_iterator_begin): adjust
6200 (par_iterator_end): adjust
6202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6204 * BufferView.C (removeAutoInsets): adjust
6205 (ChangeInsets): adjust
6207 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6209 * text.C (top_y): fix bug 1110
6211 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6213 * errorlist.[Ch]: added
6216 * BufferView_pimpl.C:
6217 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6220 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * Makefile.am: ensure that lyx is relinked upon changes to the
6223 various "convenience" libs.
6225 2003-05-20 Angus Leeming <leeming@lyx.org>
6227 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6228 files are compiled in alphabetical order again.
6230 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6232 2003-05-19 Angus Leeming <leeming@lyx.org>
6234 * gettext.[Ch]: remove "char const * _(char const *)".
6236 2003-05-19 André Pönitz <poenitz@gmx.net>
6238 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6247 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6249 2003-05-19 André Pönitz <poenitz@gmx.net>
6253 * lyxtextclass.[Ch]:
6255 * paragraph_funcs.[Ch]:
6257 * text3.C: more insetenv work
6259 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6261 * ParagraphParameters.C (params2string): small bug fixed
6263 2003-05-16 André Pönitz <poenitz@gmx.net>
6266 * bufferview_funcs.C: patch from Kornel Benko to prevent
6267 crash when _(...) is called twice in a statement
6269 2003-05-16 André Pönitz <poenitz@gmx.net>
6276 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6278 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6280 * lyx_main.C (init): remove spurious static_cast
6282 2003-05-14 André Pönitz <poenitz@gmx.net>
6284 * BufferView.C: fix format string
6286 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6288 * BufferView.[Ch] (insertErrors): removed
6289 * BufferView.[Ch] (showErrorList): added
6290 * buffer.C (runChkTeX):
6291 * converter.C (scanLog): call showErrorList instead of inserterrors
6293 2003-05-13 André Pönitz <poenitz@gmx.net>
6295 * BufferView_pimpl.C:
6297 * bufferview_func.C:
6304 * tabular_funcs.h: tostr() from its own header
6306 * ParagraphParameters.C:
6311 * text3.C: STRCONV()
6313 2003-05-12 André Pönitz <poenitz@gmx.net>
6316 * BufferView_pimpl.C:
6320 * ParagraphParameters.C:
6324 * bufferview_funcs.C:
6337 * paragraph_funcs.C:
6341 * text3.C: boost::format -> bformat all over the place
6344 2003-05-09 André Pönitz <poenitz@gmx.net>
6346 * LColor.[Ch]: Pimpl the #include <map> away
6348 2003-05-09 John Levon <levon@movementarian.org>
6350 * bufferlist.C: never remove emergency saves
6352 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * Makefile.am: better lib building
6356 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6358 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6360 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6361 (simpleTeXSpecialChars): adjust
6362 (simpleTeXSpecialChars): adjust
6363 * paragraph.C (simpleTeXOnePar): adjust
6364 * buffer.C (makeLaTeXFile): adjust
6366 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6368 * text2.C (changeDepth): parlist cleanup
6369 (getColumnNearX): ditto
6371 * rowpainter.C (getLabelFont): parlist cleanup
6373 * bufferlist.C (newFile): parlist cleanup
6375 * CutAndPaste.C (eraseSelection): parlist cleanup
6377 * BufferView_pimpl.C (trackChanges): parlist cleanup
6380 * BufferView.C (lockInset): parlist cleanup.
6381 (ChangeInsets): ditto
6383 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * CutAndPaste.h: Update file header.
6387 * CutAndPaste.C: Update file header.
6388 Store the parts cut out of the Document in a limited_stack.
6389 (copySelection): adjust
6390 (pasteSelection): new function, takes the index in the limited stack.
6391 (nrOfParagraphs): adjust
6392 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6393 simplify error inset insertion.
6394 (checkPastePossible): adjust
6396 2003-05-06 John Levon <levon@movementarian.org>
6398 * text2.C: don't cast wrap inset to float
6400 2003-05-05 André Pönitz <poenitz@gmx.net>
6403 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6405 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6406 few naked Paragraph *.
6408 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6410 * bufferparams.C: Output warning if a document with missing
6411 TeX document class is loaded
6412 * exporter.C: Disable TeX exports if the document class is missing
6415 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6416 isTeXClassAvailable()
6418 2003-05-03 John Levon <levon@movementarian.org>
6421 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6422 explicit cursor show/hide
6424 * BufferView_pimpl.h:
6425 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6426 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6428 * lyxfunc.C: hide cursor before dispatching.
6433 * text3.C: remove explicit cursor hides
6435 2003-05-02 André Pönitz <poenitz@gmx.net>
6437 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6440 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6443 * text2.C: tiny whitespace
6445 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * undo_funcs.C: almost only ws changes.
6449 * ParagraphList.C (splice): just return if pl is empty.
6451 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * ParagraphList.C (splice): new function.
6455 * CutAndPaste.C (pasteSelection): use it
6457 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * CutAndPaste.C (pasteSelection): remove the last next and
6460 previous from this file.
6462 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * CutAndPaste.C (pasteSelection): more clean up, user proper
6465 ParagraphList functions for pasteing.
6467 * ParagraphList.C (insert): new function, three arg insert
6469 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * ParagraphList.C (insert): new function, three arg insert
6473 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6476 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6480 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6484 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6487 (copySelection): clean up a bit.
6488 (pasteSelection): use make_pair
6490 * ParagraphList.C (ParagraphList): implement copy constructor
6491 (operator=): implement, base on copy constructor.
6494 * paragraph.C (erase): return a bool
6496 * paragraph_pimpl.C (erasePos): remove function, move contents...
6497 (erase): ... here. Return a bool.
6498 (erase): call erase instead of erasePos.
6500 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6502 * ParagraphList.h: define PitPosPair
6503 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6504 ParagraphList, fix a bug on pasting multiple pars
6505 * text2.C: change interface to C&P
6507 2003-04-30 André Pönitz <poenitz@gmx.net>
6509 * undo_func.C: revert part of yesterday's patch 2
6511 2003-04-30 John Levon <levon@movementarian.org>
6513 * LColor.C: s/tabular/table/
6515 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * text3.C (dispatch): do not convert iterator -> pointer
6518 * undo_funcs.C (setCursorParUndo): ditto
6519 * text_funcs.C (transposeChars): ditto
6521 * text2.C (setLayout): ws changes only
6523 * text.C (breakParagraph): do not convert iterator -> pointer
6525 (acceptChange): ditto
6526 (rejectChange): ditto
6531 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6534 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6536 * text3.C (gotoInset): YABG (yet another bad getChar)
6538 2003-04-29 André Pönitz <poenitz@gmx.net>
6540 * paragraph.h: make operator= private unimplemented as long as
6543 * ParagraphList.C: whitespace
6546 * paragraph_pimpl.[Ch]:
6547 * paragraph_funcs.C:
6549 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6552 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6554 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6556 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6557 * paragraph.[Ch] (erase):
6558 * paragraph_pimpl.[Ch] (erase): change return type and value
6559 * text2.C (cutSelection): some rework
6561 2003-04-28 John Levon <levon@movementarian.org>
6563 * bufferlist.C: changes for unsaved changes dialog
6565 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * bufferlist.C (newFile): set language (messages_) for new
6570 * buffer.C (readFile): ws changes only.
6572 2003-04-28 André Pönitz <poenitz@gmx.net>
6577 * BufferView_pimpl.C:
6578 * BufferView.C: getParFromID related ParagraphList::iterator changes
6580 2003-04-28 André Pönitz <poenitz@gmx.net>
6582 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6585 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * messages.C: remove one more localedir class variable.
6589 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * messages.C (getLocaleDir): singleton generation function
6593 (Messages): add a default constructor.
6595 * main.C (main): do not setup localedir here, do not call
6598 * gettext.C (_): use it.
6599 (gettext_init): delete funciton
6601 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * gettext.C (getLyXMessages): new singleton generating function.
6605 * buffer.C (updateDocLang): adjust
6607 * Makefile.am (messages.o): add target
6608 (main.o): remove target
6610 2003-04-27 John Levon <levon@movementarian.org>
6615 * lyxvc.C: specify cancel button in Alert::prompt
6617 2003-04-26 John Levon <levon@movementarian.org>
6622 * LyXAction.C: add LFUN_INSET_SETTINGS
6624 * lyxfunc.C: don't enable tabular-feature when there's
6625 just any locking inset
6627 2003-04-26 John Levon <levon@movementarian.org>
6629 * bufferlist.C: re-add Cancel to buffer close question
6631 * lyxfunc.C: fix import UI a bit
6633 2003-04-25 John Levon <levon@movementarian.org>
6635 * gettext.C: remove the broken asserts for now
6637 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * messages.C: make case where setlocale cannot comply work better.
6641 * buffer.C (updateDocLang): new function
6642 (changeLanguage): use it
6645 * text2.C (setCounter): use B_ a bit.
6647 * lyxlayout.C (Read): be sure to trim the label strings.
6649 * messages.C (Messages): fix typo in comment
6651 * buffer.C (readFile): set message_ after file is loaded.
6652 (makeDocBookFile): remove double return
6653 (changeLanguage): reset message_ upon language change.
6654 (B_): new func, use this to get translated buffer strings.
6656 * main.C: add myself and Jean Marc as authors.
6658 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * messages.[hC]: pimplify Messages, and three different pimpls to be
6661 used in different circumstances.
6663 * gettext.[Ch]: change for use with new message code.
6665 2003-04-24 André Pönitz <poenitz@gmx.net>
6667 * factory.C: support for eqref
6669 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * messages.[Ch]: add missing char
6673 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6675 * messages.[Ch]: New files
6677 2003-04-18 John Levon <levon@movementarian.org>
6681 * BufferView_pimpl.C:
6685 * text2.C: remove layout-copy/paste (bug 778)
6687 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6689 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6691 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6693 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6694 if they succeed. Act accordingly.
6696 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * text2.C (setCharFont): adjust
6699 (setCounter): adjust
6700 (insertStringAsLines): adjust
6702 * text.C (leftMargin): adjust
6703 (setHeightOfRow): adjust
6705 * rowpainter.C (paintFirst): adjust
6708 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6710 (isFirstInSequence): ditto
6711 (getEndLabel): ditto
6714 * paragraph.C (getParLanguage): comment out some hard stuff.
6716 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6718 (simpleDocBookOnePar): ditto
6719 (makeDocBookFile): use ParagraphList::iterator
6721 * CutAndPaste.C (pasteSelection): adjust
6723 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * text2.C (getFont): adjust
6726 (getLayoutFont): adjust
6727 (getLabelFont): adjust
6729 * paragraph_funcs.C (TeXOnePar): adjust
6731 * buffer.C (simpleLinuxDocOnePar): adjust
6732 (simpleDocBookOnePar): adjust
6734 * CutAndPaste.C (pasteSelection): adjust
6736 * BufferView.C (getEncoding): adjust
6738 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6740 2003-04-16 John Levon <levon@movementarian.org>
6742 * lyxfind.C: use parlist stuff for search/changes
6744 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6748 * text2.C (deleteEmptyParagraphMechanism): adjust
6750 * text2.[Ch] (ownerParagraph): delete func (both of them
6752 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * ParagraphList.C: prepare for NO_NEXT
6760 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6762 * text2.C (getFont): adjust
6763 (getLayoutFont): adjust
6764 (getLabelFont): adjust
6766 * paragraph.C (getFont): adjust
6767 (getLabelFont): adjust
6768 (getLayoutFont): adjust
6770 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6772 2003-04-15 John Levon <levon@movementarian.org>
6776 * lyx_main.C: handle Include in .ui files
6778 2003-04-15 John Levon <levon@movementarian.org>
6780 * MenuBackend.C: make the doc files length shorter
6783 * ToolbarBackend.C: handle toolbar placement flags,
6786 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6791 * paragraph_funcs.C (TeXOnePar): adjust
6793 * paragraph.C (getLabelFont): add outerfont arg, adjust
6794 (getLayoutFont): ditto
6795 (simpleTeXOnePar): adjust
6797 * paragraph_pimpl.C (realizeFont): delete func
6799 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6801 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6802 row argument, constify cur argument.
6804 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text2.C (getFont): adjust
6807 (getLayoutFont): adjust
6808 (getLabelFont): adjust
6810 * paragraph_funcs.C (TeXOnePar): adjust
6811 (outerFont): new func...
6812 (realizeFont): ...moved out from here, changed this to facilitate
6815 * paragraph.C (getFont): take outerfont as arg, adjust
6816 (simpleTeXOnePar): add outerfont arg, adjust
6818 * buffer.C (simpleLinuxDocOnePar): adjust
6819 (simpleDocBookOnePar): adjust
6821 * CutAndPaste.C (pasteSelection): adjust
6823 * BufferView.C (getEncoding): adjust
6825 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * text2.C (setCharFont): adjust
6828 (setCounter): adjust
6830 * text.C (leftMargin): adjust
6831 (setHeightOfRow): adjust
6833 * rowpainter.C (paintFirst): adjust
6836 * paragraph_pimpl.C (realizeFont): adjust
6838 * paragraph.C (isFirstInSequence): move from here...
6839 * paragraph_funcs.C (isFirstInSequence): ...to here
6841 * paragraph.C (outerHook): move from here...
6842 * paragraph_funcs.C (outerHook): ...to here
6844 * paragraph.C (depthHook): move from here...
6845 * paragraph_funcs.C (depthHook): ...to here
6847 * paragraph.C (getEndLabel): move from here...
6848 * paragraph_funcs.C (getEndLabel): ...to here
6850 * text2.C (realizeFont): move from here...
6851 * paragraph_funcs.C (realizeFont): ...to here
6853 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6857 2003-04-14 Angus Leeming <leeming@lyx.org>
6859 * LColor.[Ch]: scrap LColor mathcursor.
6861 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * lyxlex.[Ch] (text): delete function
6864 * trans.C (Load): adjust
6865 * paragraph_funcs.C (readParToken): adjust
6867 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6870 vector<char> instead of a char[].
6872 * lyxlex_pimpl.C (getString): adjust
6874 (lex): use getString
6878 * lyxlex.C (text): use pimpl_->getString()
6882 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6885 (makeFontEntriesLayoutSpecific): temp var for par.size()
6886 (setLayout): temp var for ownerParagraphs().end()
6887 (fullRebreak): temp var for rows().end()
6888 (selectionAsString): temp var for boost::next(startpit), realize
6889 that the while really is a regular for loop.
6890 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6891 setCursor in one place.
6892 (setParagraph): temp vr for ownerParagraphs().end()
6893 (updateCounters): make the while loop a for loop
6894 (cutSelection): temp var for ownerParagraphs().end()
6895 (updateInset): make the do {} while() a regular for loop
6896 (getCursorX): use temp vars
6897 (setCurrentFont): use temp vars
6898 (getColumnNearX): use temp vars
6900 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * text.C (transformChar): use temp var for getChar
6903 (computeBidiTables): use temp var for row->par()
6904 (fill): move temp vars for row->par() and pit->layout() earlier in
6906 (labelFill): use temp var for row->par()
6907 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6908 asc and desc, realize that pit never changes and that firstpit is
6909 just a duplicate and not needed. Exchange rit->par() with pit in a
6911 (breakAgain): use a temp var for boost::next(rit)
6912 (breakAgainOneRow): ditto
6913 (breakParagraph): use a temp var for rows().begin()
6914 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6915 (cursorRightOneWord): use temp var for cursor.par() and
6916 cursor.pos(), remove usage of tmpcursor.
6917 (cursorLeftOneWord): use temp var for cursor.par() and
6918 cursor.pos() only set cur at end of function.
6920 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * text.C, text2.C: exchange all usage of Paragraph::next with
6923 boost::next(ParagraphList::iterator)
6925 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6927 * text2.C (cursorTop): simplify implementation
6928 (cursorBottom): ditto
6929 (setParagraph): use ParagraphList::iterator
6930 (setCurrentFont): adjust
6931 (getColumnNearX): adjust
6932 (cursorRight): adjust
6933 (cursorLeft): remove usage of Paragraph::previous
6934 (cursorUpParagraph): ditto
6935 (deleteEmptyParagraphMechanism): slight cleanup
6937 * text.C (isBoundary): take a Paragraph const & instead of a
6939 (addressBreakPoint): ditto
6940 (leftMargin): remove usage of Paragraph::previous.
6941 (setHeightOfRow): ditto
6942 (cursorLeftOneWord): ditto
6943 (selectNextWordToSpellcheck): ditto
6946 (breakParagraph): remove one usage of Paragraph::next
6947 (redoParagraph): ditto
6948 (acceptChange): ditto
6949 (insertChar): adjust
6950 (rowBreakPoint): adjust
6952 * bufferview_funcs.C (toggleAndShow): adjust
6954 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6956 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6957 methods to access it.
6959 * text.C: Added updateRowPositions to compute all row positions.
6960 Make top_y and getRowNearY() to use the cached y position
6962 2003-04-11 John Levon <levon@movementarian.org>
6964 * text.C (rowBreakPoint): reintroduce the labelEnd
6965 checks, code copied from the row fill stuff. Deep voodoo.
6967 * text.C (fill): add a comment and debugging for the
6970 2003-04-11 John Levon <levon@movementarian.org>
6972 * text.C: make sure fullrow insets get wrapped to the next line,
6973 even when they're in a manual label
6975 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * text2.C (insertParagraph): make it take ParagraphList::iterator
6979 (setLayout): make it return ParagraphList::iterator
6980 (redoParagraphs): ditto
6982 (checkParagraph): ditto
6984 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6986 * text2.C: adjust several funcs.
6987 (realizeFont): take a ParagraphList::iterator as arg.
6988 (getLayoutFont): ditto
6989 (getLabelFont): ditto
6990 (setCharFont): ditto
6992 * text.C: adjust several funcs.
6994 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6996 * text.C (selectNextWordToSpellcheck): don't accidentally
6999 2003-04-10 John Levon <levon@movementarian.org>
7001 * ToolbarBackend.C (getIcon): special handling for
7004 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7006 * text2.C (cursorRight): a getChar assert fixed
7008 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * text2.C (getFont): change to take a ParagraphList::iterator
7011 instead of Paragraph*
7012 Adjust several functions.
7014 * text.C (transformChar): change to take a ParagraphList::iterator
7015 instead of Paragraph*
7016 (singleWidth): ditto
7017 Adjust several functions.
7019 * rowpainter.C: adjust several functions
7020 * rowpainter.h:store a ParagraphList::iterator and not a
7024 2003-04-09 John Levon <levon@movementarian.org>
7029 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7030 and the "help" bits as well
7032 2003-04-09 John Levon <levon@movementarian.org>
7035 * ToolbarBackend.C: allow multiple toolbars
7037 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * undo_funcs.C (setCursorParUndo): adjust
7041 * text_funcs.C (transposeChars): adjust
7043 * text3.C (gotoNextInset): adjust
7046 * text2.C (setLayout): adjust
7047 (changeDepth): adjust
7049 (redoParagraphs): adjust
7050 (selectionAsString): adjust
7051 (setParagraph): adjust
7052 (insertInset): adjust
7053 (cutSelection): adjust
7054 (copySelection): adjust
7055 (pasteSelection): adjust
7056 (insertStringAsLines): adjust
7057 (updateInset): adjust
7058 (setCursor): change to take a ParagraphList::iterator parameter
7059 (setCursorIntern): change to take a ParagraphList::iterator parameter
7060 (setCurrentFont): adjust
7061 (cursorLeft): adjust
7062 (cursorRight): adjust
7063 (deleteEmptyParagraphMechanism): adjust
7065 * text.C (breakParagraph): adjust
7066 (insertChar): adjust
7067 (acceptChange): adjust
7068 (rejectChange): adjust
7069 (selectNextWordToSpellcheck): adjust
7070 (changeCase): adjust
7074 * lyxfind.C (SearchForward): adjust
7075 (SearchBackward): adjust
7076 (nextChange): adjust
7078 * lyxcursor.C (par): adjust
7080 * lyxcursor.h: store a ParagraphList::iterator instead of a
7083 * lyx_cb.C (getPossibleLabel): adjust
7085 * bufferview_funcs.C (toggleAndShow): adjust
7087 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7090 * BufferView.C (removeAutoInsets): adjust
7091 (lockedInsetStoreUndo): adjust
7093 2003-04-09 John Levon <levon@movementarian.org>
7095 * ToolbarBackend.C: try icon without argument
7096 if with argument fails
7098 2003-04-08 John Levon <levon@movementarian.org>
7101 * ToolbarBackend.C: add getIcon(), handle tooltip,
7102 and change from "Icon" to "Item".
7104 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7106 * BufferView.C (lockInset): another bad getchar crunched
7108 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7110 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7113 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7115 * lyxfind.C (searchForward, searchBackwards): bug 782
7117 2003-04-07 John Levon <levon@movementarian.org>
7119 * paragraph.C: remove dead comment
7121 * text.C: remove troublesome depth-fiddling code
7122 in leftMargin() and rightMargin() (bug 1017)
7124 * text.C: fix breaking of rows in nested lists
7127 * text2.C (updateCounters): fix up depth values
7130 2003-04-07 John Levon <levon@movementarian.org>
7132 * BufferView_pimpl.C: clear message when doc finishes resizing,
7133 and after a mouse event
7135 * lyxfunc.C: clear message after exiting inset
7137 2003-04-07 John Levon <levon@movementarian.org>
7139 * bufferview_funcs.C: show math status not outside
7140 status in the statusbar
7142 2003-04-07 John Levon <levon@movementarian.org>
7144 * lyxfunc.C: note status changed after a depth change
7146 2003-04-04 Angus Leeming <leeming@lyx.org>
7148 * LaTeX.h: move AuxInfo operator==, != out of line.
7149 Remove LaTeX virtual destructor; nothing derives from it.
7150 Move operator()() out of public area and rename it startscript().
7151 Change protected for private.
7153 2003-04-04 Angus Leeming <leeming@lyx.org>
7156 * text2.C: remove unneeded #includes.
7158 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7160 * text2.C (dEPM): fix the heigth of the next row
7162 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7164 * text.C: squashed an invalid getChar requester + some ws changes
7166 2003-04-03 John Levon <levon@movementarian.org>
7168 * bufferview_funcs.h:
7169 * bufferview_funcs.C:
7172 * text2.C: make getStatus work for the env depth lfuns
7174 2003-04-03 John Levon <levon@movementarian.org>
7176 * bufferview_funcs.h:
7177 * bufferview_funcs.C:
7180 * text2.C: parlistize decDepth(), by merging it with incDepth()
7182 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7184 * lyxrow.h: store a ParagraphList::iterator instead of a
7185 Paragraph* and adjust other class functions to suit.
7187 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7190 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7192 * text2.C (setCursor): do not anchor to cursor row for the time being
7194 2003-04-02 John Levon <levon@movementarian.org>
7201 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7203 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * paragraph.h: make ParagraphList and ParagraphList::iterator
7206 friends of Paragraph.
7208 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7210 * ParagraphList.C: Use the private next_ and previous_ from
7213 2003-04-01 John Levon <levon@movementarian.org>
7217 * Makefile.am: rename, remove defaults gunk
7220 * MenuBackend.C: remove defaults gunk
7223 * Languages.C: remove defaults gunk
7226 * lyx_main.C: error out if files couldn't be found.
7228 2003-04-02 John Levon <levon@movementarian.org>
7230 * text2.C: make incDepth() use parlist
7232 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * undo_funcs.C (firstUndoParagraph): adjust
7236 * text3.C (gotoInset): adjust
7237 (dispatch): adjust, and rewrite loop.
7239 * text2.C (init): adjust, and rewrite loop.
7240 (redoParagraphs): adjust
7241 (updateInset): adjust, and rewrite loop.
7242 (deleteEmptyParagraphMechanism): adjust
7244 * tabular.C (LyXTabular): adjust
7245 (SetMultiColumn): adjust
7248 * lyxtext.[Ch] (ownerParagraph): delete function
7249 (ownerParagraphs): new function returns a ParagraphList.
7251 * BufferView.C (removeAutoInsets): adjust
7252 (insertErrors): adjust
7253 (setCursorFromRow): adjust
7255 2003-04-01 Angus Leeming <leeming@lyx.org>
7257 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7260 2003-04-02 John Levon <levon@movementarian.org>
7266 * text_funcs.C: make transposeChars a free function
7268 * lyxrow_funcs.C: remove wrong comment
7270 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * rowpainter.C: adjust
7278 * lyxrow_funcs. [Ch]: new files
7280 * lyxrow.[Ch]: remove next and previous pointers
7281 (next,previous): remove accessor functions
7282 (isParEnd): move to lyxrow_funcs
7283 (lastPos): move to lyxrow_funcs
7284 (nextRowIsAllInset): move to lyxrow_funcs
7285 (lastPrintablePos): move to lyxrow_funcs
7286 (numberOfSeparators): move to lyxrow_funcs
7287 (numberOfHfills): move to lyxrow_funcs
7288 (numberOfLabelHfills): move to lyxrow_funcs
7289 (hfillExpansion): move to lyxrow_funcs
7293 * bufferview_funcs.C (toggleAndShow): adjust
7295 * RowList.h: Remove class RowList from file leave just a
7298 * RowList.C: delete file
7300 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * text3.C (cursorPrevious): adjust
7306 (cursorNext): adjust
7309 * text2.C (redoHeightOfParagraph): adjust
7310 (redoDrawingOfParagraph): adjust
7313 * text.C (breakParagraph): adjust
7314 (insertChar): adjust
7317 * rowpainter.C (RowPainter): adjust
7318 (leftMargin): simplify and adjust
7319 (most rowpainter functions): adjust.
7321 * rowpainter.h: store the row as RowList::iterator not as Row*
7323 * lyxcursor.C (row): taka RowList::iterator as arg
7326 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7329 2003-04-01 Angus Leeming <leeming@lyx.org>
7331 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7332 stuff like bool Bool.
7334 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7336 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7339 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7344 * lyxtext.h (rows): drop one version and leve a const variant that
7345 returns a RowList::iterator.
7347 2003-03-31 Angus Leeming <leeming@lyx.org>
7349 * text.C (fill): ensure that the signature is the same as that in the
7352 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * text2.C (redoParagraphs): adjust
7355 (updateCounters): adjust
7356 (checkParagraph): adjust
7357 (getColumnNearX): adjust and reformat a bit.
7359 * text.C (top_y): adjust
7361 (leftMargin): adjust
7362 (prepareToPrint): adjust
7364 (getRowNearY): adjust
7366 * lyxtext.h: make rowlist_ mutable.
7368 * RowList.h: add const_iterator
7369 * RowList.C: adjust for RowList::const_iterator.
7371 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7374 2003-03-31 John Levon <levon@movementarian.org>
7377 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7379 * lyx_main.C: set default fonts from using lyx_gui funcs
7381 * exporter.C: pdf_mode moved from lyxrc
7384 * lyxfunc.C: changes from above
7386 2003-03-31 John Levon <levon@movementarian.org>
7388 * lyx_main.C: fix to the last fix
7390 2003-03-31 John Levon <levon@movementarian.org>
7392 * bufferlist.C: "Load original" -> "Load Original"
7398 * format.C: more Alert cleanups
7400 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * text2.C (removeParagraph): make it take a RowList::iterator as
7404 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7405 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7407 * text.C (anchor_row): make it take a RowList::iterator as arg,
7409 (computeBidiTables): make it take a const reference to Row instead
7410 of Row pointer, adjust.
7411 (leftMargin): make it take a RowList::iterator as arg, adjust.
7412 (rowBreakPoint): adjust
7413 (breakAgainOneRow): make it take a RowList::iterator as arg,
7415 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7417 * bufferview_funcs.C (toggleAndShow): adjust
7419 2003-03-30 John Levon <levon@movementarian.org>
7423 * boost-inst.C: moved to support
7425 * several files: changes as a result
7427 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * text2.C (LyXText): adjust.
7431 (removeRow): make it take a RowList::iterator as arg, adjust.
7432 (fullRebreak): adjust
7433 (deleteEmptyParagraphMechanism): adjust
7434 (clearPaint): adjust
7437 * text.C (top_y): adjust
7438 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7439 (breakAgain): make it take a RowList::iterator as arg, adjust.
7440 (breakParagraph): adjust
7441 (insertChar): adjust
7444 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7445 need_break_row, and refresh_row.
7447 * text3.C (dispatch): adjust
7449 * text2.C (checkParagraph): adjust
7451 (setCursorFromCoordinates): adjust
7453 * text.C (top_y): adjust
7455 (getRow): make it return a RowList::iterator, adjust
7456 (getRowNearY): make it return a RowList::iterator, adjust
7458 * text2.C (init): adjust
7459 (insertRow): remove function
7460 (insertParagraph): adjust
7461 (redoParagraphs): adjust
7462 (fullRebreak): adjust
7463 (updateCounters): adjust
7465 * text.C (top_y): rewrite to use RowList iterators.
7467 (setHeightOfRow): rewrite to sue RowList iterators.
7468 (appendParagraph): adjust
7469 (breakAgain): adjust
7470 (breakAgainOneRow): adjust
7471 (breakParagraph): adjust
7473 (getRowNearY): adjust, and remove commented code.
7475 * lyxtext.h (firstRow): delete function
7476 (lastRow): delete function
7477 (rows): new function (const and non-const versions.)
7478 (insertRow): delete function
7480 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7482 2003-03-29 John Levon <levon@movementarian.org>
7484 * BufferView_pimpl.C: always update scrollbar top
7485 because pasting text when we're anchored could mean we
7486 miss an update altogether
7488 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * text2.C (init): use rowlist_.end() and not 0.
7491 (insertRow): change to take a RowList::iterator as arg, adjust
7493 (insertParagraph): change to take a RowList::iterator as arg,
7495 (redoParagraphs): remove some debug msgs.
7497 * text.C (appendParagraph): change to take a RowList::iterator
7498 arg, adjust for this.
7499 (breakAgain): add an assert
7500 (breakAgainOneRow): ditto
7502 2003-03-29 John Levon <levon@movementarian.org>
7504 * text2.C: do not clear selection after inc/decDepth
7507 2003-03-29 John Levon <levon@movementarian.org>
7510 * buffer.C: fix broken strerrors according to Lars
7512 2003-03-29 John Levon <levon@movementarian.org>
7514 * converters.C: more Alert cleanups
7516 2003-03-29 John Levon <levon@movementarian.org>
7518 * bufferview_funcs.C: remove pointless Alert
7520 * buffer.C: fix confusing error message when
7521 a template is chmoded 000
7523 2003-03-29 John Levon <levon@movementarian.org>
7527 * BufferView_pimpl.C: Alert fixes
7531 * tabular-old.C: remove unused table compat reading
7533 2003-03-29 John Levon <levon@movementarian.org>
7538 * lyx_cb.C: more Alert cleanups
7540 * lyxfunc.C: don't allow chktex if not latex document
7542 2003-03-29 John Levon <levon@movementarian.org>
7546 * buffer.C: warnings pushed down from support/,
7549 2003-03-29 John Levon <levon@movementarian.org>
7551 * lyxfunc.C: safety check for C-r (revert)
7553 2003-03-29 John Levon <levon@movementarian.org>
7556 * bufferlist.C: several UI fixes using Alert::prompt.
7557 Fix the pointless looping quit code. Fix stupid revert
7562 * lyx_cb.C: use Alert::prompt
7564 * lyx_main.C: remove a silly question
7566 * lyxfunc.C: remove a couple of silly questions,
7569 2003-03-28 John Levon <levon@movementarian.org>
7571 * text2.C: fix bug 974 (End on empty par)
7573 2003-03-28 John Levon <levon@movementarian.org>
7575 * BufferView_pimpl.C:
7577 * lfuns.h: remove do-nothing math greek lfuns
7579 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * lyxgluelength.h (isValidGlueLength): add default arg on
7582 parameter 2. Remove default arg from friend in class.
7584 * lyxlength.h (isValidLength): add default arg on parameter 2.
7585 Remove default arg from friend in class.
7587 * text2.C (LyXText): adjust, initialize refresh_row.
7591 (insertParagraph): adjst
7592 (redoParagraphs): adjust
7593 (fullRebreak): adjust
7594 (updateCounters): adjust
7595 (deleteEmptyParagraphMechanism): first attempt at fixing a
7598 * text.C (top_y): adjust
7599 (setHeightOfRow): adjust
7601 (getRowNearY): adjust
7603 * lyxtext.h: include RowList.h
7604 (~LyXText): not needed anymore, deleted.
7605 (firstRow): modify for RowList
7606 (lastRow): new function
7607 Delete firstrow and lastrow class variables, add a Rowlist
7608 rowlist_ class variable.
7610 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7613 * RowList.C (insert): fix case where it == begin().
7615 2003-03-26 Angus Leeming <leeming@lyx.org>
7617 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7618 the thesaurus dialog.
7620 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7624 * RowList.[Ch]: new files
7626 * ParagraphList.C (erase): handle the case where it == begin
7629 2003-03-25 John Levon <levon@movementarian.org>
7633 * aspell.C: add new aspell support
7636 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7639 2003-03-25 Angus Leeming <leeming@lyx.org>
7642 * LyXAction.C (init): new LFUN_INSET_INSERT.
7644 * BufferView_pimpl.C (dispatch): split out part of the
7645 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7647 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7650 2003-03-25 Angus Leeming <leeming@lyx.org>
7652 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7654 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7657 * text3.C: remove useless row->height(0)
7659 2003-03-25 John Levon <levon@movementarian.org>
7663 * text3.C: rename the refreshing stuff to better names
7665 2003-03-24 John Levon <levon@movementarian.org>
7667 * BufferView_pimpl.h:
7668 * BufferView_pimpl.C: update layout choice on a mouse
7671 2003-03-23 John Levon <levon@movementarian.org>
7673 * Makefile.am: fix commandtags.h reference
7675 2003-03-22 John Levon <levon@movementarian.org>
7677 * BufferView_pimpl.C:
7682 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7684 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7687 * text.C: take the rtl methods out of line
7689 2003-03-21 André Pönitz <poenitz@gmx.net>
7691 * metricsinfo.[Ch]: new files containing structures to be passed around
7692 during the two-phase-drawing...
7694 2003-03-21 André Pönitz <poenitz@gmx.net>
7696 * lyxtextclass.C: read 'environment' tag.
7698 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7700 * text2.C (removeRow): fix bug 964
7702 2003-03-20 John Levon <levon@movementarian.org>
7706 * text2.C: paint cleanups. Inset::update() dropped font
7709 2003-03-19 John Levon <levon@movementarian.org>
7711 * lyxfunc.C: only fitcursor/markDirty if available()
7713 2003-03-19 John Levon <levon@movementarian.org>
7715 * commandtags.h: rename to ...
7717 * lfuns.h: ... this, and renumber / cleanup
7719 2003-03-19 John Levon <levon@movementarian.org>
7721 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7722 fit the cursor after an lfun
7726 * BufferView_pimpl.h:
7727 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7729 * LyXAction.C: layout-character should have ReadOnly
7731 * ParagraphParameters.C:
7733 * bufferview_funcs.C:
7740 * undo_funcs.C: changes from above
7742 2003-03-18 John Levon <levon@movementarian.org>
7744 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7745 remove it from update()
7747 * lyxfunc.C: update layout choice after an lfun
7749 * text3.C: remove extra updateLayoutChoice()s
7751 2003-03-18 John Levon <levon@movementarian.org>
7753 * text.C: top_y change means full repaint, fix
7754 a drawing bug with cursor movement
7756 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7760 * text2.C: anchor row on setCursor
7762 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7764 * lyxtext.h: remove almost all mutable keywords
7767 * text3.C: remove const keywords accordingly
7769 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7773 (TeXEnvironment): ditto
7776 2003-03-17 John Levon <levon@movementarian.org>
7778 * text.C (rowBreakPoint): remove attempt to fix displayed
7779 math insets inside a manual label
7781 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * lyxtext.h: remove BufferView* as first arg from almost all class
7785 * other files: adjust.
7787 2003-03-17 John Levon <levon@movementarian.org>
7791 * text2.C: more paint cleanups
7793 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7796 * rowpainter.C: remove "smart" background painting code
7798 2003-03-16 John Levon <levon@movementarian.org>
7803 * text3.C: add helper functions for setting refresh_row/y
7805 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7807 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7808 newline inset which *can* get inserted in the pass_thru layouts.
7809 This is primarily for literate documents.
7811 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7813 * buffer.C: increment LYX_FORMAT to 223
7815 2003-03-14 André Pönitz <poenitz@gmx.net>
7817 * textclass.h: prepare for environment handling, ws changes
7818 * lyxlayout.C: read latexheader and latexfooter tags
7820 2003-03-14 John Levon <levon@movementarian.org>
7822 * text2.C: rewrite ::status() a bit
7824 2003-03-13 John Levon <levon@movementarian.org>
7826 * lyxtext.h: add some docs
7828 2003-03-13 John Levon <levon@movementarian.org>
7833 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7835 2003-03-13 John Levon <levon@movementarian.org>
7837 * text3.C: fix appendix redrawing
7839 2003-03-13 John Levon <levon@movementarian.org>
7841 * text.C (setHeightOfRow):
7843 * rowpainter.C: make appendix mark have the text
7844 "Appendix" so the user knows what it is
7847 * LColor.C: s/appendixline/appendix/ from above
7849 2003-03-13 John Levon <levon@movementarian.org>
7851 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7853 * text.C: fix a getChar(pos) bug properly
7855 2003-03-13 Angus Leeming <leeming@lyx.org>
7858 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7859 Probably only temporary. Let's see how things pan out.
7861 * BufferView.C (unlockInset):
7862 * BufferView_pimpl.C (fitCursor):
7863 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7865 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7866 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7868 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7869 new functions that convert ParagraphParameters to and from a string.
7871 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7872 BufferView::Pimpl's dispatch.
7873 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7875 2003-03-13 André Pönitz <poenitz@gmx.net>
7879 * factory.C: make it aware of InsetEnv
7881 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7883 * text2.C (setCursor): never ask for one past last
7884 (setCursor): add some debugging messages.
7886 * text.C (singleWidth): never ask for one past last
7887 (singleWidth): ditto
7889 (rightMargin): ditto
7890 (rowBreakPoint): ditto
7891 (setHeightOfRow): ditto
7892 (prepareToPrint): ditto
7894 * rowpainter.C (paintBackground): never ask for one past last
7895 (paintText): never ask for one past last
7897 * paragraph_pimpl.C (getChar): make the assert stricter, never
7898 allow the one past last pos to be taken
7900 * paragraph.C (getChar): ws changes only
7902 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7903 (numberOfSeparators): ditto
7904 (numberOfHfills): ditto
7906 2003-03-12 John Levon <levon@movementarian.org>
7912 * paragraph_funcs.C: fix per-buffer authorlists
7914 2003-03-12 John Levon <levon@movementarian.org>
7916 * text.C: fix newline in right address
7918 2003-03-12 Angus Leeming <leeming@lyx.org>
7920 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7921 duplicate those in LyXFunc::dispatch.
7925 * ToolbarDefaults.C:
7926 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7927 Add LFUN_FONTFREE_UPDATE.
7929 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7930 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7932 * bufferview_func.[Ch]: several new functions to facilliate
7933 transfer of data to and from the character dialog.
7935 2003-03-12 John Levon <levon@movementarian.org>
7940 * paragraph_funcs.C:
7941 * paragraph_pimpl.C:
7945 * text3.C: remove META_NEWLINE in favour of an inset
7948 * rowpainter.C: remove paintNewline (done by inset)
7950 2003-03-12 John Levon <levon@movementarian.org>
7952 * paragraph_pimpl.C: complain about bad getChar()s
7953 for a while at least
7955 2003-03-12 John Levon <levon@movementarian.org>
7958 * buffer.C: move paragraph read into a separate function,
7959 a little renaming to reflect that.
7962 * bufferparams.C: remove the author_ids map, not necessary now
7965 * factory.C: moved Buffer::readInset to here
7967 * paragraph_funcs.h:
7968 * paragraph_funcs.C: readParagraph free function moved from
7971 * tabular.C: name change
7973 2003-03-12 John Levon <levon@movementarian.org>
7976 * ParagraphParameters.C: move par params input to
7979 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7980 behave like a normal read from the stream wrt reading
7981 a line vs. a \\token
7983 2003-03-12 John Levon <levon@movementarian.org>
7986 * ParagraphParameters.h:
7987 * ParagraphParameters.C: move output code to a
7990 2003-03-12 John Levon <levon@movementarian.org>
7992 * BufferView.C (insertLyXFile):
7995 * tabular.C: use a parlist iterator for creating the
7998 2003-03-12 John Levon <levon@movementarian.org>
8000 * buffer.C: make current_change static local not
8003 2003-03-12 John Levon <levon@movementarian.org>
8005 * buffer.C: fix insertStringAsLines for change tracking
8007 2003-03-12 John Levon <levon@movementarian.org>
8014 * bufferparams.C: move author list into params. Rename some
8015 functions. Move the header reading into a separate token
8016 loop. Move the header token reading into BufferParams.
8018 2003-03-12 John Levon <levon@movementarian.org>
8020 * changes.C: put debug inside lyxerr.debugging() checks
8022 2003-03-11 André Pönitz <poenitz@gmx.net>
8024 * factory.C: make it aware of InsetHFill
8026 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8028 * buffer.C (latexParagraphs): move function from here...
8029 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8032 2003-03-10 Angus Leeming <leeming@lyx.org>
8034 * LyXAction.C (init): fix bug in poplating array with multiple entries
8035 with the same LFUN (spotted by JMarc).
8037 2003-03-10 John Levon <levon@movementarian.org>
8040 * text2.C: move getColumnNearX() near its
8043 2003-03-10 John Levon <levon@movementarian.org>
8045 * text.C: fix break before a minipage
8047 2003-03-10 John Levon <levon@movementarian.org>
8049 * text.C: fix the last commit
8051 2003-03-09 John Levon <levon@movementarian.org>
8055 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8056 bug 365 (don't break before insets unless needed). Don't
8057 return a value > last under any circumstances.
8059 2003-03-09 Angus Leeming <leeming@lyx.org>
8061 * BufferView_pimpl.C (trackChanges, dispatch): call
8062 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8064 2003-03-09 Angus Leeming <leeming@lyx.org>
8066 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8067 than Dialogs::showAboutlyx().
8069 2003-03-09 Angus Leeming <leeming@lyx.org>
8071 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8072 than Dialogs::showTabularCreate().
8074 2003-03-09 John Levon <levon@movementarian.org>
8078 * text2.C: 3rd arg to nextBreakPoint was always the same.
8081 2003-03-08 John Levon <levon@movementarian.org>
8088 * text2.C: Remove the "main" bit from the "main body"
8091 2003-03-08 John Levon <levon@movementarian.org>
8093 * text.C (leftMargin): The left margin of an empty
8094 manual label paragraph should not include the label width
8097 * text.C (prepareToPrint): don't attempt to measure hfills
8098 for empty manual label paragraphs - the answer should be 0
8100 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * CutAndPaste.C: remove commented code and reindent.
8104 2003-03-08 John Levon <levon@movementarian.org>
8107 * lyxfunc.C: move reloadBuffer()
8110 * BufferView.C: to here
8112 * lyxvc.C: add comment
8115 * vc-backend.C: call bv->reload() to avoid
8116 getStatus() check on MENURELOAD
8118 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8120 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8121 to an old format .dep file.
8123 2003-03-07 Angus Leeming <leeming@lyx.org>
8125 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8126 when the LFUN_MOUSE_RELEASE should have been handled by
8127 inset->localDispatch.
8129 2003-03-07 Angus Leeming <leeming@lyx.org>
8131 * BufferView_pimpl.C (dispatch):
8132 * LyXAction.C (init):
8133 * ToolbarDefaults.C (init):
8135 * lyxfunc.C (getStatus):
8136 remove LFUN_INSET_GRAPHICS.
8138 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8140 2003-03-07 Angus Leeming <leeming@lyx.org>
8143 * LyXAction.C (init):
8144 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8146 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8149 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8151 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8152 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8154 2003-03-07 Angus Leeming <leeming@lyx.org>
8156 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8159 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * ParagraphList.C (front): new function
8164 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8166 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8167 and top_row_offset_. removed var first_y.
8169 * text2.C (LyXText, removeRow):
8171 * BufferView_pimpl.C:
8172 use these methods instead of using first_y
8174 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * text2.C (pasteSelection): adjust for checkPastePossible
8178 * CutAndPaste.C: remove Paragraph * buf and replace with
8179 ParagraphList paragraphs.
8180 (DeleteBuffer): delete
8181 (cutSelection): change the tc type to textclass_type
8182 (copySelection): change the tc type to textclass_type
8183 (copySelection): adjust for ParagraphList
8184 (pasteSelection): change the tc type to textclass_type
8185 (pasteSelection): adjust for Paragraphlist
8186 (nrOfParagraphs): simplify for ParagraphList
8187 (checkPastePossible): simplify for ParagraphList
8188 (checkPastePossible): remove unused arg
8190 * ParagraphList.C (insert): handle the case where there are no
8193 * CutAndPaste.h: make CutAndPaste a namespace.
8195 * text3.C (dispatch): adjust
8197 * text.C (breakParagraph): add a ParagraphList as arg
8199 * paragraph_funcs.C (breakParagraph): change to take a
8200 BufferParams and a ParagraphList as args.
8201 (breakParagraphConservative): ditto
8202 (mergeParagraph): ditto
8203 (TeXDeeper): add a ParagraphList arg
8204 (TeXEnvironment): ditto
8207 * buffer.C (readLyXformat2): adjust
8208 (insertStringAsLines): adjust
8209 (latexParagraphs): adjust
8211 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8212 (cutSelection): adjust
8213 (pasteSelection): adjust
8215 * BufferView_pimpl.C (insertInset): adjust
8217 2003-03-05 Angus Leeming <leeming@lyx.org>
8220 * LyXAction.C (init):
8221 * BufferView_pimpl.C (dispatch):
8222 * lyxfunc.C (getStatus):
8223 remove LFUN_CHILD_INSERT.
8225 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8227 2003-03-05 Angus Leeming <leeming@lyx.org>
8230 * LyXAction.C (init):
8231 * src/factory.C (createInset):
8232 * lyxfunc.C (getStatus):
8233 * text3.C (dispatch):
8234 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8236 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8238 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * ParagraphList.C (insert): handle insert right before end()
8241 (erase): fix cases where it can be first or last paragraph.
8243 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8246 Paragraph::next and Paragraph::previous
8249 * text.C (breakParagraph): adjust
8251 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8252 BufferParams& as arg.
8253 (breakParagraph): use ParagraphList::insert
8254 (breakParagraphConservative): take a Buffer* instead of a
8255 BufferParams& as arg.
8256 (breakParagraphConservative): use ParagraphList::insert.
8258 * buffer.C (insertStringAsLines): un-const it
8259 (insertStringAsLines): adjust
8261 * ParagraphList.C (insert): new function
8263 * CutAndPaste.C (pasteSelection): adjust
8265 * text.C (backspace): adjust
8267 * tabular.C (SetMultiColumn): adjust
8269 * CutAndPaste.C (cutSelection): adjust
8270 (pasteSelection): adjust
8272 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8273 Buffer const * as arg
8275 * ParagraphList.C (erase): new function
8276 * paragraph_funcs.C (mergeParagraph): use it
8277 (mergeParagraph): make it take a Buffer* instead of a
8278 BufferParams* as arg
8280 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8282 (breakParagraphConservative): ditto
8284 * paragraph.h: remove the breakParagraph friend
8286 * paragraph.C (eraseIntern): new function
8287 (setChange): new function
8289 * paragraph_funcs.C (mergeParagraph): make it take a
8290 ParagraphList::iterator instead of a Paragraph *, adjust
8293 * paragraph.h: move an #endif so that the change tracking stuff
8294 also works in the NO_NEXT case.
8296 2003-03-04 Angus Leeming <leeming@lyx.org>
8299 * LyXAction.C: new LFUN_INSET_MODIFY.
8301 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8302 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8304 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * several files: ws changes only
8308 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8309 (TeXEnvironment): ditto
8312 * buffer.C (makeLaTeXFile): adjust
8313 (latexParagraphs): make it take ParagraphList::iterator as args
8315 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * buffer.C (latexParagraphs): adjust
8319 * paragraph.C (TeXOnePar): move function...
8320 (optArgInset): move function...
8321 (TeXEnvironment): move function...
8322 * paragraph_pimpl.C (TeXDeeper): move function...
8323 * paragraph_funcs.C: ...here
8325 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8327 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * buffer.C (readInset): remove compability code for old Figure and
8332 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * buffer.C: ws changes
8337 * BufferView_pimpl.C: ditto
8340 * bufferlist.h: ditto
8344 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8346 * converter.[Ch]: split into itself +
8349 * Makefile.am: += graph.[Ch] + format.[Ch]
8356 * lyxrc.C: added #include "format.h"
8358 2003-02-27 Angus Leeming <leeming@lyx.org>
8360 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8363 * factory.C (createInset): add "label" to the factory.
8365 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8366 string and do no more.
8368 2003-02-27 Angus Leeming <leeming@lyx.org>
8371 * LyXAction.C (init):
8372 * factory.C (createInset):
8373 * BufferView_pimpl.C (dispatch):
8374 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8376 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8378 * lyxfunc.C (dispatch):
8379 * text3.C (dispatch): pass name to params2string.
8381 2003-02-26 Angus Leeming <leeming@lyx.org>
8383 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8385 Rearrange the ~includes. Strip out the unnecessary ones.
8387 * factory.C (createInset): reformat.
8388 create new insets for the various LFUN_XYZ_APPLY lfuns.
8390 2003-02-26 John Levon <levon@movementarian.org>
8393 * lyxrow.C: add isParStart,isParEnd helpers
8395 * paragraph.h: make isInserted/DeletedText take refs
8397 * paragraph_funcs.h:
8398 * paragraph_funcs.C: remove #if 0'd code
8403 * text.C: use lyxrow helpers above.
8404 Move draw and paint routines to RowPainter.
8405 Make several methods use refs not pointers.
8406 Make backgroundColor() const.
8407 Add markChangeInDraw(), isInInset().
8408 Merge changeRegionCase into changeCase.
8409 Make workWidth() shouldn't-happen code into an Assert.
8412 * rowpainter.C: new class for painting a row.
8415 * vspace.C: make inPixels take a ref
8417 2003-02-26 Angus Leeming <leeming@lyx.org>
8419 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8422 2003-02-25 John Levon <levon@movementarian.org>
8424 * ispell.C: give the forked command a more accurate name
8426 2003-02-22 John Levon <levon@movementarian.org>
8429 * toc.C: make TocItem store an id not a Paragraph *
8432 2003-02-21 Angus Leeming <leeming@lyx.org>
8434 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8435 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8436 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8437 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8438 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8439 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8441 * BufferView_pimpl.C (dispatch):
8442 * LyXAction.C (init):
8443 * factory.C (createInset):
8444 * lyxfunc.C (getStatus, dispatch):
8445 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8447 2003-02-21 Angus Leeming <leeming@lyx.org>
8449 * BufferView_pimpl.C (MenuInsertLyXFile):
8450 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8451 * lyxfunc.C (menuNew, open, doImport):
8452 no longer pass a LyXView & to fileDlg.
8454 2003-02-21 Angus Leeming <leeming@lyx.org>
8456 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8457 * LyXAction.C: change, BIBKEY to BIBITEM.
8458 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8459 Change InsetBibKey to InsetBibitem.
8460 Change BIBKEY_CODE to BIBITEM_CODE.
8461 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8462 * factory.C: replace insetbib.h with insetbibitem.h.
8463 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8464 * paragraph.C: replace insetbib.h with insetbibitem.h.
8465 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8466 Change bibkey() to bibitem().
8467 * text.C: remove insetbib.h.
8468 * text2.C: replace insetbib.h with insetbibitem.h.
8469 change bibkey() to bibitem().
8470 * text3.C: remove insetbib.h.
8471 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8473 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8475 * lyxrc.C (output): enclose user email in quotes (in case there are
8478 2003-02-18 John Levon <levon@movementarian.org>
8480 * buffer.h: add std::
8482 2003-02-17 John Levon <levon@movementarian.org>
8488 * pspell.C: reworking. Especially in ispell, a large
8489 number of clean ups and bug fixes.
8491 * lyxfunc.C: fix revert to behave sensibly
8493 2003-02-17 André Pönitz <poenitz@gmx.net>
8496 * commandtags.h: new LFUN_INSERT_BIBKEY
8506 * paragraph_func.C: remove special bibkey handling
8508 2003-02-17 John Levon <levon@movementarian.org>
8510 * text.C (Delete): fix case where delete at the end of
8511 the very first paragraph would not merge the pars
8513 2003-02-17 John Levon <levon@movementarian.org>
8515 * lyxrow.C: fix lastPrintablePos()
8517 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * bufferparams.C (writeLaTeX): add a std:here
8521 * buffer.C: and remove a using directive there
8523 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * buffer.C (makeLaTeXFile): move the code that generates the
8528 * bufferparams.C (writeLaTeX): ... in this new method
8530 * LaTeXFeatures.C (getEncodingSet): make const
8531 (getLanguages): make const
8533 * MenuBackend.C (binding): returns the binding associated to this
8535 (add): sets the status of each item by calling getStatus. Adds
8537 (read): add support for OptSubMenu
8538 (expand): remove extra separator at the end of expanded menu
8540 2003-02-15 John Levon <levon@movementarian.org>
8543 * BufferView_pimpl.C:
8545 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8546 inset code that had no actual effect. Remove unneeded status
8549 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8551 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8554 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8556 * text.C (drawLengthMarker): also draw an arrow marker for
8557 symbolic lengths (medskip...)
8559 2003-02-14 John Levon <levon@movementarian.org>
8562 * tabular.C: better method names
8564 2003-02-14 John Levon <levon@movementarian.org>
8566 * BufferView_pimpl.C:
8571 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8572 it's a more accurate name. Remove some pointless uses.
8574 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * text2.C (LyXText): change order of initilizers to shut off
8579 2003-02-14 John Levon <levon@movementarian.org>
8581 * buffer.C: use ParIterator for getParFromID()
8585 * paragraph_pimpl.h:
8586 * paragraph_pimpl.C: remove unused getParFromID()
8588 2003-02-14 John Levon <levon@movementarian.org>
8590 * buffer.C: remove some very old #if 0'd parse code
8592 2003-02-13 John Levon <levon@movementarian.org>
8596 * text2.C: move hfillExpansion(), numberOfSeparators(),
8597 rowLast(), rowLastPrintable(), numberofHfills(),
8598 numberOfLabelHfills() ...
8601 * lyxrow.C: ... to member functions here.
8606 * text.C: remove LyXText::beginningOfMainBody(), and call
8607 p->beginningOfMainBody() directly. Move the check for
8608 LABEL_MANUAL into the latter.
8615 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8621 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8622 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8624 2003-02-13 John Levon <levon@movementarian.org>
8626 * CutAndPaste.C: remove debug
8628 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8630 * paragraph.C (asString): remove two unused variables
8632 * lyxtextclass.C (readTitleType):
8634 (LyXTextClass): handle new members titletype_ and titlename_
8636 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8638 2003-02-09 John Levon <levon@movementarian.org>
8641 * buffer.C: replace hand-coded list with a map for the dep clean
8643 2003-02-08 John Levon <levon@movementarian.org>
8645 * LaTeX.C: consolidate code into showRunMessage() helper
8647 2003-02-08 John Levon <levon@movementarian.org>
8652 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8653 and pass the size in explicitly
8655 * BufferView_pimpl.h:
8656 * BufferView_pimpl.C:
8658 * BufferView.C: add getCurrentChange()
8660 * BufferView_pimpl.h:
8661 * BufferView_pimpl.C: handle change lfuns
8663 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8664 for changes. Mark pasted paragraphs as new.
8666 * support/lyxtime.h:
8667 * support/lyxtime.C:
8668 * DepTable.C: abstract time_t as lyx::time_type
8671 * LColor.C: add colours for new text, deleted text, changebars
8673 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8674 package use "usenames" option.
8678 * LyXAction.C: add change lfuns
8682 * author.C: author handling
8685 * buffer.C: add a per-buffer author list, with first entry as
8686 current author. Handle new .lyx tokens for change tracking. Output
8687 author list to .lyx file. Output dvipost stuff to .tex preamble.
8688 Bump lyx format to 222.
8691 * bufferlist.C: add setCurrentAuthor() to reset current author details
8695 * bufferparams.C: add param for tracking
8697 * bufferview_funcs.C: output change info in minibuffer
8701 * changes.C: add change-tracking structure
8704 * debug.C: add CHANGES debug flag
8707 * lyxfind.C: add code for finding the next change piece
8710 * lyxrc.C: add user_name and user_email
8713 * lyxrow.C: add a metric for the top of the text line
8716 * text.C: implement accept/rejectChange()
8719 * text.C: paint changebars. Paint new/deleted text in the chosen
8720 colours. Strike through deleted text.
8724 * paragraph_pimpl.h:
8725 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8726 in the current change to the insert functions. Rework erase to
8727 mark text as deleted, adding an eraseIntern() and a range-based
8728 erase(). Implement per-paragraph change lookup and
8731 * paragraph_funcs.C: Fixup paste for change tracking.
8733 * tabular.C: mark added row/columns as new.
8735 * text.C: fix rowLast() to never return -1. Don't allow
8736 spellchecking of deleted text. Track transpose changes. Don't
8737 allow paragraph break or merge where appropriate.
8739 * text2.C: leave cursor at end of selection after a cut.
8741 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * text.C (getLengthMarkerHeight):
8744 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8745 visible on screen too.
8747 2003-02-07 John Levon <levon@movementarian.org>
8749 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8751 2003-02-05 Angus Leeming <leeming@lyx.org>
8753 * lyxserver.C (read_ready): revert my patch of 11 September last year
8754 as it sends PC cpu through the roof. Presumably this means that
8755 the lyxserver will no longer run on an Alpha...
8757 2003-01-30 Angus Leeming <leeming@lyx.org>
8759 * factory.C (createInset): create an InsetCommandParam of type "index"
8760 and use it to 'do the right thing'.
8762 * text2.C (getStringToIndex): ensure that cursor position is always
8763 reset to the reset_cursor position.
8765 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8767 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8770 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8774 * lyxfunc.C: Output messages with identical spelling, punctuation,
8777 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8779 * MenuBackend.C (expandFormats): List only viewable export formats
8782 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8785 * lyxfunc.C (getStatus): Make sure that formats other than
8786 "fax" can also be disabled
8788 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * text3.C (dispatch): put the lfuns that insert insets in 3
8791 groups, and call doInsertInset with appropriate arguments.
8792 (doInsertInset): new function, that creates an inset and inserts
8793 it according to some boolean parameters.
8795 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * buffer.C (readFile): remember to pass on 'par' when calling
8798 readFile recursively.
8800 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * MenuBackend.C (expandFormats): add "..." to import formats.
8804 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8806 * paragraph.C (asString): Remove XForms RTL hacks.
8808 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8809 * buffer.C: fix typo
8811 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * Makefile.am (LIBS): delete var
8814 (lyx_LDADD): add @LIBS@ here instead.
8816 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8818 * Clarify the meaning of "wheel mouse jump"
8820 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8825 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8827 * importer.C (Loaders): do not preallocate 3 elements in the
8828 vector, since one ends up with 6 elements otherwise
8830 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8832 * DepTable.C (write): write the file name as last element of the
8833 .dep file (because it may contain spaces)
8834 (read): read info in the right order
8836 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8838 * paragraph_pimpl.C (simpleTeXBlanks):
8839 (simpleTeXSpecialChars):
8840 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8842 * tabular.C (latex): add some missing case statements. Reindent.
8844 * MenuBackend.C (expandToc): remove unused variable.
8846 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8855 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8858 2003-01-05 John Levon <levon@movementarian.org>
8861 * BufferView.C: add getEncoding()
8864 * kbsequence.C: do not store last keypress
8867 * lyxfunc.C: store last keypress here instead. Pass encoding
8870 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8872 * lyx_main.C (init): remove annoying error message when following
8873 symbolic links (bug #780)
8875 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8877 * text.C (insertChar):
8878 * lyxrc.C (getDescription): remove extra spaces
8880 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8882 * lyxrc.C (getDescription): remove extra spaces
8884 2002-12-20 John Levon <levon@movementarian.org>
8886 * text3.C: hack fix for page up/down across tall rows
8888 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8893 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8896 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8897 thesaurus is not compiled in
8899 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8901 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8903 2002-12-16 Angus Leeming <leeming@lyx.org>
8906 * lyx_main.C (init): remove override_x_deadkeys stuff.
8908 2002-12-12 John Levon <levon@movementarian.org>
8910 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8911 insert. Only remove shift modifier under strict
8914 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8916 * MenuBackend.C (expandToc): fix crash.
8918 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * MenuBackend.C (expandToc): gettext on float names.
8922 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8924 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8925 implement bool empty() [bug 490]
8927 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8929 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8931 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * several files: ws changes
8935 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * text2.C (setCounter): clean up a bit, use boost.format.
8938 (updateCounters): initialize par upon declaration.
8940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8941 if the layout exists. We do not just store the layout any more.
8942 (SwitchLayoutsBetweenClasses): use boost.format
8944 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * converter.C (convert): if from and to files are the same, use a
8947 temporary files as intermediary
8949 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8952 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8954 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8956 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8958 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8960 * tabular.C (asciiPrintCell): use string(size, char) instead of
8963 * sgml.C (openTag): fix order of arguments to string constructor
8966 * lyxfunc.C (dispatch): use boost.format
8968 * lots of files: change "c" -> 'c'
8970 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8972 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8974 2002-11-25 Angus Leeming <leeming@lyx.org>
8976 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8978 * lyx_main.C (init): compile fix.
8980 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * lyx_cb.C (start): boost.formatify
8983 do not include <iostream>
8985 * lengthcommon.C: ws only
8987 * boost-inst.C,BoostFormat.h: add more explict instantations
8989 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8991 * lots of files: handle USE_BOOST_FORMAT
8993 2002-11-21 John Levon <levon@movementarian.org>
8995 * pspell.C: fix compile
8997 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * lyxfunc.C (dispatch): use boost::format
9003 * lyxfont.C (stateText): use boost::format
9005 * lyx_main.C (LyX): use boost::format
9007 (queryUserLyXDir): ditto
9010 (typedef boost::function): use the recommened syntax.
9012 * importer.C (Import): use boost::format
9014 * debug.C (showLevel): use boost::format
9016 * converter.C (view): use boost::format
9021 * bufferview_funcs.C (currentState): use boost::format
9023 * bufferlist.C (emergencyWrite): use boost::format
9025 * buffer.C (readLyXformat2): use boost::format
9026 (parseSingleLyXformat2Token): ditto
9028 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9030 * LaTeX.C (run): use boost::format
9032 * Chktex.C (scanLogFile): use boost::format
9034 * BufferView_pimpl.C (savePosition): use boost::format
9035 (restorePosition): ditto
9036 (MenuInsertLyXFile): ditto
9038 * BoostFormat.h: help file for explicit instation.
9040 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9042 * tabular.C (latex): Support for block alignment in fixed width
9045 2002-11-17 John Levon <levon@movementarian.org>
9047 * BufferView_pimpl.C:
9049 * lyxfunc.C: split filedialog into open/save
9051 2002-11-08 Juergen Vigna <jug@sad.it>
9053 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9054 by my last patch (hopefully).
9056 2002-11-08 John Levon <levon@movementarian.org>
9065 * toc.C: ParConstIterator, and use it (from Lars)
9067 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9069 * lyxtextclass.[Ch]: revise and add doxygen comments
9071 2002-11-07 John Levon <levon@movementarian.org>
9073 * text.C: fix progress value for spellchecker
9075 * toc.C: fix navigate menu for insetwrap inside minipage
9077 * paragraph_funcs.C: added FIXME for suspect code
9079 2002-11-07 John Levon <levon@movementarian.org>
9081 * BufferView_pimpl.C: fix redrawing of insets
9084 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * text2.C (updateCounters): fix bug 668
9088 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9090 * text3.C (dispatch): Do not make the buffer dirty when moving the
9093 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9095 * vc-backend.C: STRCONV
9098 * text2.C (setCounter): STRCONV
9100 * paragraph.C (asString): STRCONV
9102 * lyxlength.C (asString): STRCONV
9103 (asLatexString): ditto
9105 * lyxgluelength.C (asString): STRCONV
9106 (asLatexString): ditto
9108 * lyxfunc.C (dispatch): STRCONV
9111 * lyxfont.C (stateText): STRCONV
9113 * importer.C (Import): STRCONV
9115 * counters.C (labelItem): STRCONV
9116 (numberLabel): ditto
9117 (numberLabel): remove unused ostringstream o
9122 * bufferview_funcs.C (currentState): STRCONV
9124 * buffer.C (readFile): STRCONV
9125 (asciiParagraph): ditto
9126 (makeLaTeXFile): ditto
9128 * Spacing.C (writeEnvirBegin): STRCONV
9130 * LaTeXFeatures.C (getLanguages): STRCONV
9131 (getPackages): ditto
9133 (getBabelOptions): ditto
9134 (getTClassPreamble): ditto
9135 (getLyXSGMLEntities): ditto
9136 (getIncludedFiles): ditto
9140 (scanAuxFile): ditto
9143 * LString.h: add the STRCONV macros
9145 * BufferView_pimpl.C (savePosition): STRCONV
9146 (restorePosition): ditto
9147 (MenuInsertLyXFile): ditto
9149 * vc-backend.C (scanMaster): change from submatch[...] to
9152 * funcrequest.C: include config.h
9154 * factory.C: include config.h
9156 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9158 * box.C: include config.h
9160 * LaTeX.C (scanAuxFile): change from submatch[...] to
9164 2002-10-25 Angus Leeming <leeming@lyx.org>
9166 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9168 * ispell.[Ch] (setError): new method.
9169 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9170 Use setError() insetead of goto END.
9172 * lyx_cb.C (AutoSave): move out child process into new class
9175 2002-10-30 John Levon <levon@movementarian.org>
9177 * text3.C: make start appendix undoable
9179 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9181 * lyxlength.C (inPixels): Fix returned value.
9183 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9186 2002-10-24 Angus Leeming <leeming@lyx.org>
9188 * lyxgluelength.h: no need to forward declare BufferParams
9189 or BufferView, so don't.
9191 2002-10-21 John Levon <levon@movementarian.org>
9193 * BufferView.C: menuUndo ->undo, redo
9195 * BufferView.h: document, remove dead, make some methods private
9197 * paragraph_funcs.h:
9198 * paragraph_funcs.C:
9199 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9204 * sgml.C: move sgml open/close tag into sgml.C
9206 * bufferview_funcs.h: unused prototype
9209 * lyxfunc.C: remove unused
9212 * text.C: remove unused
9214 2002-10-21 John Levon <levon@movementarian.org>
9218 * BufferView_pimpl.h:
9219 * BufferView_pimpl.C: fix mouse wheel handling based on
9220 patch from Darren Freeman
9222 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9224 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9226 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9228 * lyxlength.C (inPixels): Fix hanfling of negative length.
9229 Fix LyXLength::MU case.
9231 2002-10-16 John Levon <levon@movementarian.org>
9233 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9235 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * converter.C (view): add support for $$i (file name) and $$p
9238 (file path) for the viewer command. If $$i is not specified, then
9239 it is appended to the command (for compatibility with old syntax)
9241 2002-10-14 Juergen Vigna <jug@sad.it>
9243 * undo_funcs.C (textHandleUndo): alter the order in which the
9244 new undopar is added to the LyXText, as we have to set first
9245 the right prev/next and then add it as otherwise the rebuild of
9246 LyXText is not correct. Also reset the cursor to the right paragraph,
9247 with this IMO we could remove the hack in "redoParagraphs()".
9249 2002-10-09 Angus Leeming <leeming@lyx.org>
9251 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9252 to turn off an optimisation if a new inset is to be inserted.
9254 2002-10-11 André Pönitz <poenitz@gmx.net>
9256 * lyxtext.h: make some functions public to allow access
9257 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9259 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9261 * text3.C (dispatch): when changing layout, avoid an infinite loop
9264 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9266 * lyxrc.C (read): treat a viewer or converter command of "none" as
9269 * MenuBackend.C (expandFormats): for an update, also allow the
9270 formats that are not viewable
9272 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9273 script if it is newer than the lyxrc.defaults in user directory
9275 2002-10-07 André Pönitz <poenitz@gmx.net>
9277 * text.C: Vitaly Lipatov's small i18n fix
9279 2002-09-25 Angus Leeming <leeming@lyx.org>
9281 * ispell.h: doxygen fix.
9283 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9285 * buffer.h (readFile): Add a new argument to the method, to allow
9286 reading of old-format templates.
9288 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9290 * toc.C (getTocList): Get TOC from InsetWrap.
9292 2002-09-16 John Levon <levon@movementarian.org>
9294 * lyxfunc.C: check tabular for cut/copy too
9296 2002-09-12 John Levon <levon@movementarian.org>
9301 * factory.C: add header
9303 * paragraph_funcs.h:
9304 * paragraph_funcs.C: cleanup
9306 2002-09-11 John Levon <levon@movementarian.org>
9308 * PrinterParams.h: odd/even default to true
9310 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9312 * PrinterParams.h: update printer parameters for new xforms dialog
9314 2002-09-11 Angus Leeming <leeming@lyx.org>
9316 * lyxserver.C (read_ready): re-write to make it more transparent
9317 and to make it work in coherent fashion under Tru64 Unix.
9319 2002-09-11 André Pönitz <poenitz@gmx.net>
9323 * text3.C: implement LFUN_WORDSEL
9325 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9327 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9328 make floatlist_ a boost::shared_ptr<FloatList>
9330 * lyxtextclass.C: include FloatList.h
9331 (LyXTextClass): initialize floatlist_
9332 (TextClassTags): add TC_NOFLOAT
9333 (Read): match "nofloat" to TC_NOFLOAT and use it.
9334 (readFloat): modify call to floatlist_
9338 * FloatList.[Ch] (FloatList): remove commented out float
9340 (erase): new function
9342 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9344 * MenuBackend.C (expandToc): fix crash when there is no document
9347 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9349 * many files: Add insetwrap.
9351 2002-09-09 John Levon <levon@movementarian.org>
9353 * text2.C: remove confusing and awkward depth wraparound
9355 2002-09-09 John Levon <levon@movementarian.org>
9357 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9360 * buffer.C: remove getIncludeonlyList()
9363 * lyxfunc.C: remove headers
9365 2002-09-09 Juergen Vigna <jug@sad.it>
9367 * text.C (getColumnNearX): fix form Michael this is most
9368 probably a cut&paste bug.
9370 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9372 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9374 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9375 references, ws changes.
9377 * text2.C (init): update counters after init
9378 (insertParagraph): no need to set counter on idividual paragraphs.
9379 (setCounter): access the counters object in the textclass object
9380 on in the buffer object.
9381 (updateCounters): ditto
9383 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9384 shared_ptr<Counters> to avoid loading counters.h in all
9386 (LyXTextClass): initialize ctrs_
9387 (TextClassTags): add TC_COUNTER, and ...
9388 (Read): use it here.
9389 (CounterTags): new tags
9390 (readCounter): new function
9391 (counters): new funtion
9392 (defaultLayoutName): return a const reference
9394 * counters.C (Counters): remove contructor
9395 (newCounter): remove a couple of unneeded statements.
9396 (newCounter): simplify a bit.
9397 (numberLabel): some small formatting changes.
9399 * buffer.[Ch]: remove all traces of counters, move the Counters
9400 object to the LyXTextClass.
9402 2002-09-06 Alain Castera <castera@in2p3.fr>
9404 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9405 package to set the horizontal alignment on fixed width columns.
9408 * lyx_sty.h: added tabularnewline macro def.
9410 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9412 2002-09-06 John Levon <levon@movementarian.org>
9414 * LyXAction.C: tooltips for sub/superscript
9416 * MenuBackend.C: a bit more verbose
9418 * lyxfunc.C: tiny clean
9420 * undo_funcs.C: document undo_frozen
9422 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9424 * counters.C (Counters): add missing algorithm counter.
9426 * text2.C (setCounter): lookup the counter with layouts latexname
9427 instead of by section number.
9428 (setCounter): use a hackish way to lookup the correct enum
9430 a float name->type change
9431 reset enum couners with counter name directly instead of depth value.
9433 * counters.C (Counters): remove the push_backs, change to use the
9434 float type not the float name.
9435 (labelItem): remove unused string, float name->type change
9437 * counters.h: don't include vector, loose the enums and sects vectors
9439 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9441 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9442 (Read): add float->TC_FLOAT to textclassTags
9443 (Read): and handle it in the switch
9444 (readFloat): new function
9446 * FloatList.C (FloatList): comment out the hardcoded float
9449 * lyxlayout.h: ws change.
9451 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9453 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9455 2002-09-03 Angus Leeming <leeming@lyx.org>
9457 * BufferView_pimpl.h: qualified name is not allowed in member
9458 declaration: WorkArea & Pimpl::workarea() const;
9460 * factory.C: added using std::endl directive.
9462 * text3.C: added using std::find and std::vector directives.
9464 2002-08-29 André Pönitz <poenitz@gmx.net>
9467 * text2.C: remove unused member number_of_rows
9470 * BufferView2.C: remove file, move contents to...
9471 * BufferView.C: ... here
9473 * BufferView_pimpl.C:
9474 * factory.C: move more inset creation to factory
9476 * vspace.C: avoid direct usage of LyXText, ws changes
9479 don't provide direct access to WorkArea, use two simple
9480 acessors haveSelction() and workHeight() instead
9483 2002-08-29 John Levon <levon@movementarian.org>
9485 * BufferView_pimpl.C (dispatch): do not continue when
9488 2002-08-28 André Pönitz <poenitz@gmx.net>
9490 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9493 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9495 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9497 * buffer.C: increment LYX_FORMAT to 221
9499 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9500 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9502 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9504 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9506 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * factory.C (createInset): use LyXTextClass::floats
9510 * MenuBackend.C (expandFloatListInsert):
9511 (expandFloatInsert):
9514 * text2.C (setCounter):
9516 * LaTeXFeatures.C (useFloat):
9517 (getFloatDefinitions):
9519 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9521 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9522 floatlist_, with accessor floats().
9524 * FloatList.h: remove global FloatList
9526 2002-08-26 André Pönitz <poenitz@gmx.net>
9528 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9532 * BufferView_pimpl.C:
9533 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9535 2002-08-25 John Levon <levon@movementarian.org>
9537 * LyXAction.C: fix margin note description
9539 2002-08-24 John Levon <levon@movementarian.org>
9543 * bufferview_funcs.C:
9545 * undo_funcs.C: cleanups
9547 * lyxfunc.C: disable CUT/COPY when no selection
9549 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9551 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9552 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9554 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9555 Add backward compatibility to "mono", "gray" and "no".
9557 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9559 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9560 (and file_format >= 200).
9562 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9564 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9566 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9568 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9570 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9572 * BufferView_pimpl.C:
9579 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9580 inset and code to make it work with the paragraph code. The inset
9581 can be anywhere in the paragraph, but will only do the expected
9582 thing in LaTeX if the layout file contains the parameter line
9584 (or more generally, a nonzero value) for that layout.
9586 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9588 * paragraph.h: remove the declaration of undefined counters class
9591 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9593 * text2.C (setCounter): fixed enumeration mis-count as reported by
9594 Dr. Richard Hawkins.
9596 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9598 * paragraph_funcs.h: remove some unneeded includes
9600 * text.C (backspace): pasteParagraph now in global scipe
9602 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9603 (pasteSelection): ditto
9605 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9606 * paragraph_funcs.C (pasteParagraph): ... here
9608 2002-08-20 André Pönitz <poenitz@gmx.net>
9610 * commandtags.h: new LFUNs for swapping/copying table row/colums
9613 * lyxfunc.C: support for new lfuns
9615 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9618 * buffer.[Ch]: remove NO_COMPABILITY stuff
9620 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9622 * boost.C (throw_exception): new file, with helper function for
9623 boost compiled without exceptions.
9628 * ParameterStruct.h:
9629 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9631 * bufferlist.C (emergencyWriteAll): use boost bind
9633 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9635 * text.C: include paragraph_funcs.h
9636 (breakParagraph): breakParagraph is now in global scope
9638 * paragraph_funcs.[Ch]: new files
9640 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9643 * buffer.C: include paragraph_funcs.h
9644 (insertStringAsLines): breakParagraph is now in global scope
9646 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9649 * CutAndPaste.C: include paragraph_funcs.h
9650 (cutSelection): breakParagraphConservative is now in global scope
9651 (pasteSelection): ditto
9653 * buffer.h: declare oprator== and operator!= for
9654 Buffer::inset_iterator
9656 * bufferlist.C (emergencyWrite): don't use fmt(...)
9658 * text3.C: add using std::endl
9660 * BufferView.C (moveCursorUpdate): remove default arg
9662 2002-08-20 André Pönitz <poenitz@gmx.net>
9664 * buffer.[Ch]: move inline functions to .C
9667 * BufferView_pimpl.C:
9669 * buffer.[Ch]: use improved inset_iterator
9672 * paragraph.[Ch]: write one paragraph at a time
9674 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9676 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9677 style if style is not specified.
9679 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * text2.C (setCounter): when searching for right label for a
9682 caption, make sure to recurse to parent insets (so that a caption
9683 in a minipage in a figure float works) (bug #568)
9685 2002-08-20 André Pönitz <poenitz@gmx.net>
9687 * text3.C: new file for LyXText::dispatch() and helpers
9689 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9691 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9693 2002-08-19 André Pönitz <poenitz@gmx.net>
9696 * text.C: new LyXText::dispatch()
9698 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9700 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9702 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9704 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9707 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * Makefile.am: use $(variables) instead of @substitutions@
9711 2002-08-15 André Pönitz <poenitz@gmx.net>
9714 * BufferView_pimpl.C: streamlining mathed <-> outer world
9718 * LyXAction.C: remove unused LFUN_MATH
9720 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9722 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9724 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9726 * paragraph.C (Paragraph): reformat a bit
9727 (cutIntoMinibuffer): use builtin InsetList function instad of
9731 * buffer.C: include boost/bind.hpp, add using std::for_each
9732 (writeFileAscii): use ParagraphList iterators
9733 (validate): use for_each for validate traversal of paragraphs
9734 (getBibkeyList): use ParagraphList iterators
9735 (resizeInsets): use for_each to resizeInsetsLyXText for all
9737 (getParFromID): use ParagraphList iterators
9739 * BufferView2.C (lockInset): use paragraph list and iterators
9741 2002-08-14 John Levon <levon@movementarian.org>
9743 * lyxserver.C: remove spurious xforms include
9745 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9749 2002-08-13 André Pönitz <poenitz@gmx.net>
9752 * lyxfunc.C: further cleaning
9754 2002-08-13 André Pönitz <poenitz@gmx.net>
9756 * funcrequest.h: new constructor
9758 * funcrequest.C: move stuff here from .h
9761 * BufferView_pimpl.C:
9764 * lyxfunc.C: subsequent changes
9766 * lyxfunc.h: new view() member function
9768 * lyxfunc.C: subsequent changes
9770 2002-08-13 Angus Leeming <leeming@lyx.org>
9773 * BufferView_pimpl.C:
9781 changes due to the changed LyXView interface that now returns references
9782 to member variables not pointers.
9784 2002-08-13 Angus Leeming <leeming@lyx.org>
9786 * WordLangTuple (word, lang_code): return references to strings,
9791 * lyxtext.h: forward-declare WordLangTuple.
9796 * text.C: #include "WordLangTuple.h".
9799 * text.C: (selectNextWordToSpellcheck): constify return type.
9801 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9807 * paragraph_pimpl.h:
9810 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9812 Made updateCounter always count from start of buffer, and removed
9813 second argument (par).
9814 Reverted floats number display to '#'. Perhaps I'll try again when the
9815 code base is sanitized a bit.
9817 2002-08-12 Angus Leeming <leeming@lyx.org>
9819 * buffer.[Ch] (getLabelList): constify.
9821 2002-08-07 André Pönitz <poenitz@gmx.net>
9823 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9825 * funcrequest.h: extension to keep mouse (x,y) position
9827 2002-08-12 Juergen Vigna <jug@sad.it>
9829 * BufferView2.C (insertErrors): forbid undo when inserting error
9832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9834 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9836 * ParagraphList.[Ch]: new files
9838 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9840 * BufferView2.C (lockInset): ParagraphList changes
9843 * bufferlist.C: ditto
9847 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9849 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9850 unused class variable counter_,
9852 * paragraph.[Ch] (getFirstCounter): delete unused function
9854 * counters.C: include LAssert.h
9855 (reset): add a new function with no arg, change other version to
9856 not have def. arg and to not allow empty arg.
9858 * text2.C (setCounter): remove empty arg from call to Counters::reset
9860 2002-08-11 John Levon <levon@movementarian.org>
9862 * Makefile.am: add WordLangTuple.h
9864 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9866 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9867 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9869 * insets/insettext.C: InsetList changes
9871 * graphics/GraphicsSupport.C (operator()): InsetList changes
9873 * toc.C (getTocList): InsetList changes
9875 * paragraph_pimpl.[Ch]: InsetList changes
9877 * paragraph.[Ch]: InsetList changes
9879 * buffer.C (inset_iterator): InsetList changes
9880 (setParagraph): ditto
9881 * buffer.h (inset_iterator): ditto
9882 * iterators.C (operator++): ditto
9883 * iterators.h: ditto
9885 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9887 * InsetList.[Ch]: new files, most InsetList handling moved out of
9890 * BufferView2.C (removeAutoInsets): InsetList changes
9892 (ChangeInsets): ditto
9894 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9896 * paragraph_pimpl.h (empty): new function
9898 * paragraph.[Ch] (empty): new function
9900 * other files: use the new Paragraph::empty function
9902 2002-08-09 John Levon <levon@movementarian.org>
9904 * lyxtext.h: remove unused refresh_height
9906 2002-08-09 John Levon <levon@movementarian.org>
9913 * paragraph.C: move sgml char escaping out of paragraph
9916 * paragraph.C: remove id setter
9920 * paragraph_pimpl.C: remove dead tex_code_break_column
9922 * bufferview_funcs.C: small cleanup
9924 * lyxfunc.C: remove dead proto
9926 * lyxtext.h: make some stuff private. Remove some dead stuff.
9928 * lyxgluelength.C: make as[LyX]String() readable
9930 2002-08-08 John Levon <levon@movementarian.org>
9935 * ToolbarDefaults.C:
9938 * toc.C: lyxaction cleanup
9940 2002-08-08 John Levon <levon@movementarian.org>
9942 * BufferView2.C: small cleanup
9945 * lyxfind.C: move unnecessary header into the .C
9947 2002-08-08 John Levon <levon@movementarian.org>
9949 * funcrequest.h: just tedious nonsense
9952 * lyx_main.C: cleanups
9955 * vspace.C: remove dead header lyx_main.h
9957 2002-08-07 Angus Leeming <leeming@lyx.org>
9960 * paragraph_pimpl.h:
9961 Forward declare class Counters in paragraph.h by moving the ctrs member
9962 variable into Paragraph::Pimpl.
9963 (counters): new method, returning a reference to pimpl_->ctrs.
9965 * text2.C: ensuing changes.
9967 2002-08-07 John Levon <levon@movementarian.org>
9969 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9971 * BufferView_pimpl.C: announce X selection on double/triple
9974 * lyx_main.C: use correct bool in batch dispatch
9976 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9978 2002-08-07 André Pönitz <poenitz@gmx.net>
9980 * funcrequest.h: new class to wrap a kb_action and its argument
9983 * BufferView_pimpl[Ch]:
9987 * lyxrc.C: subsequent changes
9990 2002-08-07 John Levon <levon@movementarian.org>
9992 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9993 document options change.
9995 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10000 * makefile.am: move counters functionality over from
10001 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10003 2002-08-06 John Levon <levon@movementarian.org>
10005 * WordLangTuple.h: new file for word + language code tuple
10016 * BufferView2.C: use WordLangTuple
10019 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10021 2002-08-06 John Levon <levon@movementarian.org>
10023 * lyx_main.C: fix cmdline batch handling
10025 2002-08-06 André Pönitz <poenitz@gmx.net>
10027 * lyxrc.C: set default for show_banner to true
10029 2002-08-06 John Levon <levon@movementarian.org>
10031 * pspell.C: fix a crash, and allow new aspell to work
10033 2002-08-06 John Levon <levon@movementarian.org>
10036 * kbmap.C: small cleanup
10039 * vspace.C: add const
10041 2002-08-05 John Levon <levon@movementarian.org>
10043 * LyXAction.C: back to tabular-insert
10045 2002-08-04 John Levon <levon@movementarian.org>
10048 * BufferView.C: cosmetic change
10050 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10060 * BufferView2.C: purge all "Lyx" not "LyX" strings
10063 * lyxcursor.C: attempt to add some documentation
10068 * ToolbarDefaults.C:
10069 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10070 merge with LFUN_TABULAR_INSERT
10077 * pspell.C: split up i/pspell implementations into separate
10078 files, many cleanups
10080 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10082 * text2.C: some cleanup
10084 * lyxfunc.C: don't check for isp_command == "none" any more, it
10085 didn't make any sense
10087 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10092 * makefile.am: move counters functionality over
10093 from text2.C/paragraph.[Ch] to counters.[Ch], and
10095 2002-08-02 John Levon <levon@movementarian.org>
10097 * buffer.C: s/lyxconvert/lyx2lyx/
10099 2002-08-02 Angus Leeming <leeming@lyx.org>
10101 * lyxlex.C: revert John's change as it breaks reading of the user
10104 2002-08-02 Angus Leeming <leeming@lyx.org>
10106 * importer.C (Import):
10107 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10108 changes due to LyXView::view() now returning a boost::shared_ptr.
10110 2002-08-02 John Levon <levon@movementarian.org>
10112 * lyxlex.C: small cleanup
10114 2002-08-02 John Levon <levon@movementarian.org>
10116 * text2.C (status): small cleanup, no logic change
10118 2002-08-01 John Levon <levon@movementarian.org>
10121 * buffer.C (writeFile): don't output alerts, caller
10125 * lyx_cb.C: from above
10127 * lyxfunc.C: allow to open non-existent files
10129 2002-07-31 John Levon <levon@movementarian.org>
10131 * lyxserver.C: don't let incidental errors get
10134 2002-07-30 John Levon <levon@movementarian.org>
10136 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10138 2002-07-30 John Levon <levon@movementarian.org>
10141 * lyxserver.C: remove I/O callback too
10143 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10148 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10150 * many files: strip,frontStrip -> trim,ltrim,rtrim
10152 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10154 * PrinterParams.h: remove extern containsOnly, and include
10155 support/lstrings.h instead.
10157 * LaTeX.C (scanAuxFile): modify because of strip changes
10159 * buffer.C (makeLaTeXFile): ditto
10160 * bufferparams.C (writeFile): ditt
10161 * lyxfont.C (stateText): ditto
10162 * lyxserver.C (read_ready): ditto
10163 * vc-backend.C (scanMaster): ditto
10165 * BufferView_pimpl.h: ws changes
10167 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10169 2002-07-26 André Pönitz <poenitz@gmx.net>
10171 * kb_sequence.C: remove unnedred usings
10173 2002-07-26 Juergen Vigna <jug@sad.it>
10175 * lyxfind.C (LyXReplace): we have to check better if the returned
10176 text is not of theLockingInset()->getLockingInset().
10178 2002-07-25 Juergen Vigna <jug@sad.it>
10180 * lyxfind.C (LyXReplace): don't replace if we don't get the
10183 * undo_funcs.C (createUndo): remove debugging code.
10185 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10187 * buffer.C (parseSingleLyXformat2Token): Use default placement
10188 when reading old floats.
10190 * FloatList.C (FloatList): Change the default placement of figure
10191 and tables to "tbp".
10193 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10195 * MenuBackend.C: using std::max
10197 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * MenuBackend.C (expandToc):
10200 (expandToc2): code moved from xforms menu frontend. It is now
10201 generic and TOCs are transparent to menu frontends.
10203 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * toc.C (getTocList): protect against buf=0
10207 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10208 Menu as first parameter. Now, this calls itself recursively to
10209 expand a whole tree (this will be useful for TOC handling)
10210 (expandFloatInsert): remove 'wide' version of floats
10212 * MenuBackend.h (submenuname): returns the name of the submenu.
10213 (submenu): returns the submenu itself, provided it has been
10214 created by MenuBackend::expand
10216 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10219 insets which have noFontChange == true. (bug #172)
10221 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * BufferView_pimpl.C: add connection objects and use them...
10226 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * MenuBackend.C (expandLastfiles):
10231 (expandFloatListInsert):
10232 (expandFloatInsert):
10233 (expand): split expand in parts
10235 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10237 * lyx_gui.C: use lyx_gui::exit()
10239 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10241 * LyXAction.C: show the failing pseudo action
10243 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10245 * buffer.C (readFile): Run the lyxconvert script in order to read
10248 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10252 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10254 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10258 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10260 2002-07-22 Herbert Voss <voss@lyx.org>
10263 * lyxlength.[Ch]: add support for the vertical lengths
10265 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10267 * toc.[Ch]: std:: fixes
10269 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * lyxrc.C: do not include lyx_main.h
10273 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10279 * BufferView2.C: include "lyxlex.h"
10282 * bufferparams.h: do not #include "lyxlex.h"
10284 * lyxtextclasslist.C (Add): remove method
10285 (classlist): renamed to classlist_
10287 * paragraph_pimpl.C:
10291 * bufferview_funcs.C:
10296 * toc.C (getTocList): use BufferParams::getLyXTextClass
10298 * toc.C (getTocList): use InsetFloat::addToToc
10300 * toc.[Ch]: new files, containing helper functions to handle table
10303 * lyxfunc.C (dispatch): no need to remove spaces around command
10305 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10306 first command of the sequence; it is not very clever, but I do not
10307 have a better idea, actually
10309 * LyXAction.C (LookupFunc): make sure to remove space at the
10310 beginning and end of the command
10312 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10314 * MenuBackend.C (getMenubar): new method: return the menubar of
10316 (read): treat differently reading of menu and menubar (in
10317 particular, the menubar has no name now)
10318 (Menu::menubar): remove
10320 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10323 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10325 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10326 a bibitem inset in a RTL paragraph.
10328 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10330 * paragraph_pimpl.C: constify
10332 * BufferView_pimpl.C:
10334 * lyxfunc.C: fix dispatch in a nicer way
10336 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10338 * lyxfunc.C (dispatch):
10339 * BufferView_pimpl.C:
10340 * BufferView_pimpl.h:
10342 * BufferView.h: rename Dispatch() to dispatch()
10344 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10346 * lyxlayout.C (Read): honor DependsOn tag
10348 * lyxlayout.[Ch] (depends_on): new method
10350 * version.C.in: update lyx_docversion
10352 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10354 * paragraph.C (validate): remove from here...
10355 * paragraph_pimpl.C (validate): ... and move here
10356 (isTextAt): make it const
10358 * buffer.C (getLists): ws cleanup
10360 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10362 * language.C (read): Use iso8859-1 encoding in latex_lang
10363 (this prevents LyX from crashing when using iso10646-1 encoding).
10365 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * text2.C (toggleInset): if cursor is inside an inset, close the
10368 inset and leave cursor _after_ it
10370 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10372 * lyxfunc.C: move minibuffer completion handling out of here
10374 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10376 * BufferView_pimpl.C:
10377 * LaTeX.C: fix dispatch calls
10379 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10381 * text.C (drawChars): Fix Arabic text rendering.
10383 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10387 * lyxfunc.C: remove message-push/pop
10391 * lyxfunc.C: rationalise some code by removing verboseDispatch
10392 in favour of a bool argument to dispatch()
10394 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10396 * lyx_main.C (init): make sure to read symlinks as absolute paths
10398 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10401 * lyxfunc.C: no need for commandshortcut to be a member
10403 2002-07-15 André Pönitz <poenitz@gmx.net>
10405 * converter.C: add support for $$s (scripts from lib/scripts dir)
10406 * lyx_main.C: white space
10408 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10412 * lyxrc.C: remove second exit confirmation
10414 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10419 * BufferView_pimpl.h:
10420 * BufferView_pimpl.C:
10421 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10423 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * MenuBackend.C (expand): add numeric shortcuts to document menu
10427 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10429 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10431 * lyxfont.C (setLyXFamily):
10438 * buffer.C (asciiParagraph): use ascii_lowercase
10440 2002-07-15 Mike Fabian <mfabian@suse.de>
10442 * lyxlex_pimpl.C (search_kw):
10443 * lyxlex.C (getLongString):
10444 * converter.h (operator<):
10445 * converter.C (operator<):
10446 * buffer.C (parseSingleLyXformat2Token):
10448 * ToolbarDefaults.C (read):
10449 * MenuBackend.C (checkShortcuts):
10451 * LColor.C (getFromGUIName):
10452 (getFromLyXName): use the compare_ascii_no_case instead of
10453 compare_no_case, because in turkish, 'i' is not the lowercase
10454 version of 'I', and thus turkish locale breaks parsing of tags.
10456 2002-07-16 Angus Leeming <leeming@lyx.org>
10458 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10459 now takes a Buffer const & argument.
10461 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10463 * BufferView.C (resize): check there's a buffer to resize
10465 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10467 * lyxfunc.C: remove dead code
10470 * lyxserver.C: use lyx_guii::set_read_callback
10472 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10474 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10475 an inset in a RTL paragraph.
10477 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10479 * lyxfunc.C: repaint after a font size update
10481 2002-07-15 André Pönitz <poenitz@gmx.net>
10483 * lyxlength.C: inBP should be able to return negative values
10485 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10487 * lyxfunc.C: use lyx_gui::update_fonts()
10489 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10491 * lyxfunc.C: use lyx_gui::update_color()
10493 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10499 * lyxrc.C: remove file->new asks for name option, and let
10500 buffer-new take an argument
10502 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C: remove unneeded extra repaint()
10506 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10508 * LyXAction.C: allow command-sequence with NoBuffer
10510 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10512 2002-07-10 Angus Leeming <leeming@lyx.org>
10514 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10516 2002-07-09 Angus Leeming <leeming@lyx.org>
10518 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10520 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10522 * lengthcommon.h: whitespace
10524 * lyxfunc.C: update scrollbar after goto paragraph
10526 * lyxtext.h: factor out page break drawing, and fix it so
10527 page break/added space paints as selected nicely
10529 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10531 * BufferView_pimpl.C: add FIXMEs, clean up a little
10533 2002-07-09 André Pönitz <poenitz@gmx.net>
10535 * lyxfont.[Ch]: support for wasy symbols
10537 2002-07-08 André Pönitz <poenitz@gmx.net>
10539 * BufferView_pimpl.C: apply John's patch for #93.
10541 2002-07-05 Angus Leeming <leeming@lyx.org>
10543 * BufferView_pimpl.C (buffer): generate previews if desired.
10545 * LColor.h: add "preview" to the color enum.
10547 * LColor.C (LColor): add a corresponding entry to the items array.
10549 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10552 2002-07-05 Angus Leeming <leeming@lyx.org>
10554 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10555 The body of the code is now in the method that is passed an ostream &
10556 rather than a file name.
10557 Pass an additional only_preamble parameter, useful for the forthcoming
10560 2002-07-03 André Pönitz <poenitz@gmx.net>
10562 * lyxfunc.C: simplify getStatus() a bit for math stuff
10564 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10566 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10568 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * text.C (changeRegionCase): do not change case of all the
10571 document when region ends at paragraph end (bug #461)
10573 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * paragraph.C (startTeXParParams):
10576 (endTeXParParams): add \protect when necessary
10578 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * BufferView_pimpl.C (workAreaExpose): remove warning
10582 2002-06-27 Angus Leeming <leeming@lyx.org>
10584 * Makefile.am: add lyxlayout_ptr_fwd.h.
10586 2002-06-26 André Pönitz <poenitz@gmx.net>
10588 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10590 2002-06-25 Angus Leeming <leeming@lyx.org>
10592 * lyxfunc.C (dispatch): Comment out the call to
10593 grfx::GCache::changeDisplay. The method no longer exists now that the
10594 pixmap generation part of the graphics loader has been moved into
10597 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10599 * text2.C: layout as layout
10601 * text.C: layout as layout
10603 * tabular.C (OldFormatRead): layout as layout
10605 * paragraph_pimpl.C (TeXDeeper): layout as layout
10606 (realizeFont): layout as layout
10608 * paragraph.C (writeFile): layout as layout
10609 (validate): layout as layout
10610 (getFont): layout as layout
10611 (getLabelFont): layout as layout
10612 (getLayoutFont): layout as layout
10613 (breakParagraph): layout as layout
10614 (stripLeadingSpaces): layout as layout
10615 (getEndLabel): layout as layout
10616 (getMaxDepthAfter): layout as layout
10617 (applyLayout): layout as layout
10618 (TeXOnePar): layout as layout
10619 (simpleTeXOnePar): layout as layout
10620 (TeXEnvironment): layout as layout
10621 (layout): layout as layout
10622 (layout): layout as layout
10624 * lyxtextclass.C (compare_name): new functor to work with
10625 shared_ptr, layout as layout
10626 (Read): layout as layout
10627 (hasLayout): layout as layout
10628 (operator): layout as layout
10629 (delete_layout): layout as layout
10630 (defaultLayout): layout as layout
10632 * lyxlayout_ptr_fwd.h: new file
10634 * lyxlayout.C (Read): layout as layout
10636 * lyx_cb.C (MenuInsertLabel): layout as layout
10638 * bufferlist.C (newFile): layout as layout
10640 * buffer.C (readLyXformat2): layout as layout
10641 (parseSingleLyXformat2Token): layout as layout
10642 (insertStringAsLines): layout as layout
10643 (asciiParagraph): layout as layout
10644 (latexParagraphs): layout as layout
10645 (makeLinuxDocFile): layout as layout
10646 (simpleLinuxDocOnePar): layout as layout
10647 (makeDocBookFile): layout as layout
10648 (simpleDocBookOnePar): layout as layout
10649 (getLists): layout as layout
10651 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10653 * CutAndPaste.C (cutSelection): layout as layout
10654 (pasteSelection): layout as layout
10655 (SwitchLayoutsBetweenClasses): layout as layout
10657 * BufferView_pimpl.C (Dispatch): layout as layout
10658 (smartQuote): layout as layout
10660 * BufferView2.C (unlockInset): layout as layout
10662 2002-06-24 André Pönitz <poenitz@gmx.net>
10664 * lyxfunc.C: fix #487
10666 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10670 * lyxfunc.C: remove display_shortcuts, show_banner
10672 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10674 * Buffer_pimpl.C: oops, update on resize
10676 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10683 * BufferView.C: use repaint()
10685 * BufferView_pimpl.h:
10686 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10687 as it's a clearer description. Remove superfluous
10690 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10692 * text.C: fix bug 488. Not ideal, but getting
10693 getWord() to work properly for the insets that
10694 matter is more difficult ...
10696 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10698 * BufferView_pimpl.C:
10701 * lyxfunc.C: remove the six million index lyxfuncs to just
10702 one, and DTRT (bug 458)
10704 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.h:
10709 * BufferView_pimpl.C: clean up resize() stuff,
10710 and unnecessary updateScreen()s
10712 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView_pimpl.h:
10717 * BufferView_pimpl.C:
10720 * minibuffer.C: remove focus management of workarea,
10721 not needed. Use screen's greyOut()
10723 2002-06-17 Herbert Voss <voss@lyx.org>
10725 * converter.C: (convert) do not post a message, when converting
10726 fails, let the calling function decide what to do in this case
10728 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10730 * lyxfunc.C: tidy up a little
10732 2002-06-16 <alstrup@diku.dk>
10734 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10735 Got rid of FORMS_H_LOCATION include. Now we are
10738 2002-06-15 LyX Development team <lyx@rilke>
10740 * buffer.[Ch] (sgmlOpenTag):
10741 (sgmlCloseTag): Added support for avoiding pernicious mixed
10742 content. Return number of lines written.
10744 (makeLinuxDocFile):
10745 (makeDocBookFile): Fixed calls to sgml*Tag.
10746 Simple white space clean.
10748 (simpleDocBookOnePar): Simple white space clean.
10750 * tabular.[Ch] (docBook): Renamed to docbook and got another
10751 argument to related with the pernicious mixed content.
10753 (docbookRow): Fixed calls for docbook inset method.
10755 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10757 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10758 so it's X11 independent.
10762 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10764 2002-06-15 Lyx Development team <lyx@electronia>
10766 * intl.h: Renamed getTrans to getTransManager.
10768 2002-06-14 Angus Leeming <leeming@lyx.org>
10770 * Makefile.am: nuke forgotten stl_string_fwd.h.
10772 2002-06-12 Angus Leeming <leeming@lyx.org>
10774 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10776 2002-06-13 Angus Leeming <leeming@lyx.org>
10779 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10781 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10783 * kbmap.C (getiso): add support for cyrillic and greek
10785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10789 * BufferView_pimpl.h:
10790 * BufferView_pimpl.C: move bogus scrolling logic
10793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10796 * BufferView_pimpl.C: view->resize() change
10798 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.C: topCursorVisible
10803 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10807 * lyx_gui.C: move to frontends/
10811 * lyx_main.C: changes from above
10813 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10820 * lyx_main.C: minor tidy
10822 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10824 * BufferView_pimpl.h:
10825 * BufferView_pimpl.C:
10827 * BufferView.C: make painter() const,
10830 * BufferView2.C: use screen() accessor
10833 * lyx_main.C: some minor cleanup
10835 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10837 * BufferView_pimpl.h:
10838 * BufferView_pimpl.C: remove enter/leaveView,
10841 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10846 * BufferView_pimpl.h:
10847 * BufferView_pimpl.C: only construct screen once,
10850 * lyxrc.C: remove pointless comment
10852 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10855 * BufferView.C: remove active() and belowMouse()
10857 * BufferView_pimpl.h:
10858 * BufferView_pimpl.C: use workarea() not workarea_,
10859 and make it use a scoped_ptr instead
10861 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10863 * lyx_gui.C: add debug message on BadWindow
10865 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10867 * sp_spell.C: fdopen is not part of the C++ standard.
10869 * paragraph.C (InsetIterator): use >= instead of ==
10871 2002-06-07 Angus Leeming <leeming@lyx.org>
10873 Fixes needed to compile with Compaq cxx 6.5.
10874 * BufferView_pimpl.C:
10881 * lyxtextclasslist.C:
10886 all c-library variables have been moved into namespace std. Wrap
10887 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10892 Add a using std::abs declaration.
10894 * kbmap.h (modifier_pair):
10895 * paragraph.h (InsetTable, InsetList):
10896 * lyxfont.h (FontBits):
10897 type definition made public.
10899 * bufferlist.C (emergencyWriteAll): the compiler complains that
10900 there is more than one possible lyx::class_fun template to choose from.
10901 I re-named the void specialisation as lyx::void_class_fun.
10903 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10905 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10906 the compiler is is unable to find tostr in write_attribute.
10908 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * buffer.C (sgmlError): hide #warning
10912 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * xtl/*: get rid of xtl, which is not in use anyway
10916 * LyXAction.C (init):
10917 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10918 were unimplemented xtl experimentation
10920 2002-06-04 André Pönitz <poenitz@gmx.net>
10922 * lyxfunc.C: disable array operation on simple formulae
10924 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10926 * converter.C: constify a bit
10928 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10930 * lyx_gui.C: check xforms version correctly
10932 2002-04-30 Herbert Voss <voss@lyx.org>
10934 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10937 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10939 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10940 attempt to register it with a VCS)
10942 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * lyx_main.C (init): honor variables LYX_DIR_13x and
10947 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10951 * lyx_main.C: fix a crash on bad command line,
10952 and give a useful exit status on error
10954 * lyxfunc.C (doImport): allow -i lyx to work
10956 2002-03-30 André Pönitz <poenitz@gmx.net>
10958 * lyxfunc.C: mathed font changes
10960 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10975 * trans_mgr.h: srcdocs, and some minor cleanups
10977 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10980 call getFont all the time)
10982 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * switch from SigC signals to boost::signals
10986 2002-05-29 André Pönitz <poenitz@gmx.net>
10988 * paragraph_pimpl.C (getChar): don't call size() too often...
10990 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10992 * paragraph_pimpl.C (insertChar): do not try to update tables when
10993 appending (pos == size())
10995 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10996 in order to reduce drastically the number of comparisons needed to
10997 parse a large document
10999 2002-05-29 André Pönitz <poenitz@gmx.net>
11005 * textclasslist.[Ch]:
11006 * sp_ispell.h: whitespace change
11008 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11010 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11011 lyxaction directly now.
11013 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11017 * lyxvc.C: remove unused headers
11019 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11026 * undo_funcs.C: some cleanups. Use shared_ptr
11027 and a template for the undo stacks.
11029 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11031 * BufferView_pimpl.h:
11032 * BufferView_pimpl.C:
11039 * text2.C: use key_state/mouse_state
11041 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11046 * chset.C: change include order
11047 (loadFile): use boost regex and get rid of LRegex and LSubstring
11049 * Makefile.am (BOOST_LIBS): new variable
11050 (lyx_LDADD): use it
11052 * LaTeX.C: change include order.
11053 (scanAuxFile): use boost regex and get rid of LRegex and
11057 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11062 * FontInfo.C: moved to frontends/xforms/
11065 * FontLoader.C: moved into frontends for GUIIzation
11070 * lyxfunc.C: changes from above
11072 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11074 * LColor.C: remove spurious X include
11076 * BufferView_pimpl.C:
11081 * text2.C: move font metrics to frontends/
11083 2002-05-24 Juergen Vigna <jug@sad.it>
11085 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11086 setting the undo_cursor.
11088 * ParagraphParameters.h: include local includes first.
11090 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11092 * BufferView_pimpl.C:
11093 * BufferView_pimpl.h:
11097 * screen.C: move WorkArea into frontends/
11103 * BufferView2.C: move LyXScreen into frontends/
11107 * lyx_gui.C: move lyxlookup into frontends/xforms/
11109 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11112 * BufferView_pimpl.C:
11122 * bufferview_funcs.C:
11135 * vc-backend.C: move LyX/XFormsView into frontends/
11137 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11149 * text2.C: move Painter to frontends/
11151 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * buffer.C: comment out some some code that depend upon lyx_format
11156 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11157 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11159 * buffer.h (NO_COMPABILITY): turn off compability
11161 * ColorHandler.C: include scoped_array.hpp
11163 * font.C: Use more specific smart_ptr header.
11166 * ShareContainer.h: ditto
11167 * lyx_main.h: ditto
11169 * FontInfo.h: ditto
11170 * BufferView_pimpl.h: ditto
11171 * ColorHandler.h: ditto
11173 * kbmap.C (defkey): change call to shared_ptr::reset
11175 2002-05-21 Juergen Vigna <jug@sad.it>
11177 * buffer.C (insertErtContents): fix to insert ert asis if it is
11178 non empty. Skip it completely if it contains only whitespaces.
11180 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.C:
11183 * BufferView2.C: clear selection on paste (bug 393)
11185 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11187 * DepTable.C: include ctime
11189 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11191 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11193 2002-05-14 Juergen Vigna <jug@sad.it>
11195 * text.C (breakParagraph): fixed function to honor the keepempty
11196 layout in the right maner and also to permit the right breaking
11197 algorithm on empty or non empyt keepempty paragraphs.
11199 * paragraph.C (breakParagraph): we have to check also if the par
11200 is really empty (!size()) for isempty otherwise we do the wrong
11203 2002-05-10 Juergen Vigna <jug@sad.it>
11205 * buffer.[Ch] : The following are only changes to the ert
11206 compatibility read reading old LaTeX layout and font stuff and
11207 convert it to ERTInsets.
11209 * buffer.h: added isErtInset().
11211 * buffer.C (struct ErtComp): add a fromlayout bool to check
11212 if we're inside a LaTeX layout.
11213 (isErtInset): new helper function.
11214 (insertErtContents): look for other ert insets before this one
11215 and insert the contents there, so that we don't have subsequent
11216 ERT insets with nothing between them. This way we create only one
11217 inset with multiple paragraphs. Also check if we don't insert only
11218 spaces ' ' as they are ignored anyway afterwards in the .tex file
11219 so if we have only spaces we will ignore this latex part in the
11221 (parseSingleLyXformat2Token \\layout): better compatibility when
11222 reading layout-latex stuff.
11223 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11225 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11226 stuff after reading the inset only get the information back from
11229 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11231 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11233 * LaTeXFeatures.C (getBabelOptions): New method.
11235 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * BufferView_pimpl.C (Dispatch): work around missing argument for
11240 2002-05-08 Juergen Vigna <jug@sad.it>
11242 * text.C (leftMargin): handle paragraph leftindent.
11244 * paragraph.C (writeFile): write the new \\leftindent tag.
11245 (validate): handle leftindent code.
11246 (TeXEnvironment): handle paragraphleftindent code again.
11248 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11250 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11251 for paragrap_extra indent code and new token \\leftindent.
11252 (latexParagraphs): handle the leftindent as environment.
11254 * ParameterStruct.h: added leftindent support.
11256 * ParagraphParameters.C (leftIndent): added support functions for
11257 the paragraph left indent.
11259 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11262 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11264 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11267 * text.C (computeBidiTables): No bidi in insetERT.
11269 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11272 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * version.C.in: pre 5
11276 2002-05-02 José Matos <jamatos@fep.up.pt>
11277 * buffer.C (makeDocBookFile): white space changes, add newline to
11279 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11281 * tabular.C (docBook): fix typo.
11283 2002-05-03 Juergen Vigna <jug@sad.it>
11285 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11286 change in LyXText as we can not be sure it was not freed.
11287 (drawOneRow): remove unused code.
11289 * text.C (drawInset): redo the calculation of the need_break_row as
11290 it could have a row which was already freed.
11291 (draw): look at the return value of drawInset and return false if
11292 it also returned false.
11293 (paintRowText): look at the return value of draw and return false if
11294 it also returned false.
11296 * lyxtext.h: added bool return type to drawInset() and draw() so that
11297 if we have a change in the row so that the rowbreak has to be redone
11298 we abort drawing as it will be called again.
11300 2002-05-02 Juergen Vigna <jug@sad.it>
11302 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11303 a change in the maintext also if we're inside an inset.
11304 (Dispatch): set the cursor again after a break line and after the
11305 screen has been updated as it could be we're in a different row.
11307 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11308 to set the cursor behind the pargraph with > size().
11309 (setCursor): check also for the same paragraph when checking where
11310 to put the cursor if we have a NFR inset.
11312 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11313 parts of layout read further up as it still was in the wrong
11316 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11318 * screen.C (drawFromTo): change sine fullRebreak always return
11321 * buffer.C (parseSingleLyXformat2Token): reindent some
11323 * BufferView_pimpl.C (update): change since fullRebreak always
11325 (Dispatch): git rid of the last hardcoded "Standard"s.
11327 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * text2.[Ch] (fullRebreak): make it return void now that we always
11332 2002-04-30 Juergen Vigna <jug@sad.it>
11334 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11335 ert compatibility check for "latex" layout.
11337 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11339 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11340 minipages: use col% instead of p%, and also use the current font.
11341 (makeLaTeXFile): Fix use babel condition.
11342 (parseSingleLyXformat2Token): Correct font when reading old floats.
11344 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11346 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11347 inserting list of floats.
11349 2002-04-25 Herbert Voss <voss@lyx.org>
11351 * MenuBackend.C (expand): don't add the graphics extensions to the
11354 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11357 non-existing layout, do not complain if it was the default layout
11358 of the original class (bug #342)
11360 2002-04-24 Juergen Vigna <jug@sad.it>
11362 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11363 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11365 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11367 * buffer.C (getBibkeyList): If using \bibliography, return the
11368 option field with the reference itself. Enables us to provide natbib
11369 support when using \bibliography.
11371 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11373 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11375 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11376 natbib is provided by the LaTeX class.
11378 2002-04-23 Juergen Vigna <jug@sad.it>
11380 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11383 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11385 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11387 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11389 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11390 ensuremath around textordmasculine, textordfeminine and
11393 2002-04-19 Juergen Vigna <jug@sad.it>
11395 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11396 reinitializing the buffer otherwise row-dimensions may be wrong.
11397 (update): reset also the selection cursors if they do exits otherwise
11398 their x/y positions may be wrong.
11400 * text2.C (cursorDown): don't enter the inset if we came from a row
11401 above and are one row over the inset.
11403 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11404 really leaving an inset.
11406 2002-04-18 Juergen Vigna <jug@sad.it>
11408 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11409 of the selected paragraph does not have the selected layout also if
11412 * text2.C (setLayout): fixed bug which did not change last selected
11415 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11416 changed the read and substituted \\end_float with \\end_inset!
11418 * BufferView_pimpl.C (cursorPrevious):
11419 (cursorNext): fixed to make it work with rows heigher than the work
11420 area without moving the cursor only the draw of the row.
11421 (workAreaMotionNotify): fix jumping over high rows.
11423 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11428 2002-04-16 Juergen Vigna <jug@sad.it>
11430 * text2.C (setCursor): set also the irow().
11431 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11433 (cursorDown): support for locking an inset if the x_fix value goes
11434 inside it. That way I can transverse insets too with cursor up/down.
11436 * lyxrow.h: added irow helper function same as other (i) functions.
11438 * BufferView_pimpl.C (cursorPrevious):
11439 (cursorNext): fixed for insets!
11441 2002-04-15 Juergen Vigna <jug@sad.it>
11443 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11444 position otherwise it is wrong in some cases.
11446 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11447 inside the inset before the call.
11449 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11451 * buffer.[Ch] (getBibkeyList): make it const.
11453 2002-04-12 Juergen Vigna <jug@sad.it>
11455 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11457 * text2.C (getCursorX): new helper function
11458 (setCursor): compute also ix_
11459 (setCursorFromCoordinates): set also ix.
11461 * lyxcursor.h: added ix_ and helper functions.
11463 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11465 * buffer.C (insertStringAsLines): dont break paragraph if the this
11466 paragraph is inside an inset which does not permit it!
11468 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11469 also with no chars on this paragraph.
11470 (paintRowText): only paint stuff if it's inside the workarea!
11472 * paragraph.C (breakParagraph): honor keepempty flag and break the
11473 paragraph always below not above.
11475 * BufferView2.C (unlockInset): update the paragraph layout on inset
11476 unlock as we changed paragraph in such a case.
11478 * lyxfind.C (LyXFind): clear the former selection if not found!
11480 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11481 again called in insertChar().
11483 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11484 an inset which uses the whole row!
11485 (rightMargin): ditto.
11486 (insertChar): force a rebreak if we inserted an inset!
11488 2002-03-28 Herbert Voss <voss@lyx.org>
11490 * lyxlength.[Ch]: add inBP() to get the right PS-point
11491 units (BigPoint). With inPixels we have rounding errors
11493 2002-04-11 Juergen Vigna <jug@sad.it>
11495 * text2.C (setCursorFromCoordinates): set iy to the right value.
11496 (setCursor): add check if row->previous exists!
11498 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11499 an old float_type as this was the case in the old code!
11501 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11503 * BufferView2.C (showLockedInsetCursor): use iy
11504 (fitLockedInsetCursor): ditto
11506 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11507 locked insets as there we have the right value now.
11509 * lyxcursor.C: added iy_ variable and iy functions to set to the
11510 baseline of cursor-y of the locked inset.
11512 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11513 (setCursor): fixed for insets which need a full row.
11515 * text.C (rowLastPrintable): don't ignore the last space when before
11516 an inset which needs a full row.
11517 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11518 as last character of a row when before a inset which needs a full row.
11520 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11522 * version.C.in: update date
11524 * text2.C (fullRebreak): try to always return true and see what
11527 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * MenuBackend.C (expand): use Floating::listName
11531 * FloatList.C (FloatList): add listName argument to the built-in
11534 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11535 text associated with the float.
11537 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11539 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11541 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * ShareContainer.h: add a couple of missing typenames.
11545 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11547 * lyxrc.C (getDescription): use _() correctly rather than N_().
11549 2002-03-28 Herbert Voss <voss@lyx.org>
11551 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11552 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11554 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11556 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11557 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11559 2002-03-29 Juergen Vigna <jug@sad.it>
11561 * lyxfunc.C (dispatch): add a missing fitCursor call.
11563 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11564 it was scrolled by a cursor move, so return the bool status.
11566 * BufferView.C (fitCursor): return the bool flag also to the outside
11567 world as this is needed.
11569 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11571 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11572 call the edit() as it is not needed (and wrong) IMO.
11573 (workAreaButtonPress): set the screen_first variable before evt.
11574 unlock the inset as this may change screen_first and then we have
11575 a wrong y position for the click!
11577 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * MenuBackend.C (expand): another translation that I missed
11581 2002-03-28 Juergen Vigna <jug@sad.it>
11583 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11585 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11587 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11589 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11591 * MenuBackend.C (expand): fix export/view/update when there is no
11594 2002-03-27 Herbert Voss <voss@lyx.org>
11596 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11599 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11601 * bufferview_funcs.C (currentState): only show paragraph number
11602 for is DEVEL_VERSION is set.
11604 * lyxfunc.C (dispatch): put warning in INFO channel
11606 * MenuBackend.C (expand): translate the name of floats
11608 * FloatList.C (FloatList): mark the float names for translation
11610 * converter.C (convert): use LibScriptSearch
11612 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * MenuBackend.C (defaults): fix default menu (we might as well get
11617 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11619 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11622 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11624 * lyxvc.C: reorder includes.
11626 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11628 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11631 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11633 * CutAndPaste.C: change layouts earlier on paste
11634 to avoid crashing when calling getFont()
11636 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11638 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11641 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * WorkArea.C: remove 'Pending' debug message.
11645 * most files: ws cleanup
11647 * buffer.[Ch]: ws changes
11649 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11651 2002-03-21 Juergen Vigna <jug@sad.it>
11653 * tabular.C (SetMultiColumn): collapse also the contents of the
11654 cells and set the last border right. Added a Buffer const * param.
11656 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11658 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11661 2002-03-19 Juergen Vigna <jug@sad.it>
11663 * text2.C (clearSelection): reset also xsel_cache.
11665 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11666 where it needs to be called (John tells us to do so too :)
11667 (selectionLost): reset sel_cache.
11669 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11671 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * text2.C (setCursorIntern): put debuging code in INSETS channel
11675 2002-03-19 André Pönitz <poenitz@gmx.net>
11677 * lyxfunc.C: tiny whitespace change
11679 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * ToolbarDefaults.C (init):
11682 * LyXAction.C (init):
11684 * BufferView_pimpl.C (Dispatch):
11685 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11687 2002-03-19 Allan Rae <rae@lyx.org>
11689 * exporter.C (Export): removeAutoInsets before doing anything else.
11690 While I've just introduced a dependency on BufferView this really is
11691 the best place to clean the buffer otherwise you need to cleanup in
11692 a dozen places before calling export or cleanup in a dozen functions
11695 * converter.C (runLaTeX):
11696 (scanLog): Better handling of removeAutoInsets and screen updates.
11698 * lyxfunc.C (dispatch): small whitespace changes
11700 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * WorkArea.C (C_WorkAreaEvent): return a value.
11703 (event_cb): return 1 if we handled the event, 0 otherwise.
11705 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11707 2002-03-18 Juergen Vigna <jug@sad.it>
11709 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11710 (GetAdditionalWidth): ditto.
11711 (RightLine): ditto.
11714 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11715 inset if we're there actually (probably not used right now but this
11716 is the direction to go for unifying code).
11717 (paste): disable code to clear the selection.
11719 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11720 inside an InsetText and move the check further up as it is in the
11723 * text2.C (pasteSelection): set a selection over the pasted text.
11725 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11727 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11728 and libgraphics to build on Cygwin.
11730 2002-03-15 Juergen Vigna <jug@sad.it>
11732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11733 inserting an Inset into the paragraph. I know this is not the best
11734 fix but we already use current_view in CutAndPaste so we will remove
11735 all of it's using at the same time.
11737 * buffer.C (sgmlError): deactivated function till it is rewritten in
11738 the right mode, now it can create problems.
11740 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11741 before accessing it.
11743 2002-03-14 Juergen Vigna <jug@sad.it>
11745 * undo_funcs.C (textHandleUndo): do the right thing when updating
11746 the inset after the undo/redo.
11748 * text2.C (setCursor): just some testcode for #44 not ready yet.
11750 * undo_funcs.C (textHandleUndo): set the next() and previous()
11751 pointers of the paragraph to 0 before deleting otherwise we have
11752 problems with the Paragraph::[destructor].
11754 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11755 on a paragraph insertion.
11757 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * buffer.C (asciiParagraph): use += operator for char append to
11762 * paragraph.C (getFontSettings): compare >= not just >
11763 (highestFontInRange): ditto
11766 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * paragraph.C: change several algorithm to be more appripriate for
11769 the problem domain. This is lookip in FontList and in the InsetList.
11771 2002-03-13 André Pönitz <poenitz@gmx.net>
11774 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11776 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11781 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11783 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11785 * Painter.C (display): anon helper function, adjust code for this
11787 (pixmap): remove function.
11789 * Painter.h: remove private display variable.
11791 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11793 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11795 * WorkArea.[Ch]: remove figinset_canvas cruft.
11797 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * lyxtextclass.C (operator): add one item cache optimization.
11801 * bufferlist.h: doxy changes
11803 * bufferlist.C: ws changes
11805 * DepTable.[Ch] (ext_exist): place const in the right spot.
11807 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11809 (workAreaExpose): call resizeInsets when the with BufferView changes.
11810 (Dispatch): adjust for protectedBlank removal
11811 (specialChar): call updateInset if the insert went ok.
11813 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11814 specialChar instead.
11816 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11818 * BufferView.h: doxy change
11820 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11822 * lyxtextclass.C (operator[]): remove non-const version
11823 (defaultLayout): remove non-const version
11825 2002-03-12 Juergen Vigna <jug@sad.it>
11827 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11828 did resize the LyXText too.
11830 * buffer.C (readLyXformat2): set layout information on newly allocated
11833 * tabular.C (OldFormatRead): set layout information on the paragraph.
11835 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11837 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11839 2002-03-11 Juergen Vigna <jug@sad.it>
11841 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11843 (resizeCurrentBuffer): force also the insets to resize themselfes.
11844 (moveCursorUpdate): fixed up for InsetText.
11846 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11849 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11850 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11851 value of Dialogs::tooltipsEnabled().
11852 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11854 2002-03-08 Juergen Vigna <jug@sad.it>
11856 * BufferView_pimpl.C (updateInset): update inset inside inset also
11857 if it isn't inside theLockingInset().
11859 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11861 * buffer.C (asciiParagraph): redo some of the word and line length
11863 (getLists): look for Caption instead of caption.
11865 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * buffer.C (Buffer): initialize niceFile to true
11869 (makeLinuxDocFile):
11870 (makeDocBookFile): make sure niceFile is true on exit
11872 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11874 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11876 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11878 * LyXSendto.C: remove.
11879 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11880 * lyx_gui.C: remove now-redundant comment.
11881 * ColorHandler.h: remove forward declaration of class WorkArea.
11882 * lyxfunc.C: remove #include "WorkArea.h".
11884 2002-03-07 Juergen Vigna <jug@sad.it>
11886 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11887 got moved away with the DEPM and also set the inset_owner always
11888 right which before could have been omitted.
11890 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11893 wanted layout is not found.
11895 2002-03-07 Juergen Vigna <jug@sad.it>
11897 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11899 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11901 * paragraph.C (breakParagraph): use default layout not layout of
11903 (Paragraph): clear ParagraphParameters.
11905 2002-03-06 Juergen Vigna <jug@sad.it>
11907 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11908 otherwise it would not be a valid lenght. Fixed a special case in
11909 the minipage compatibility read where we end the document with a
11912 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11913 was set as it could be 0 for InsetTexts first entry.
11915 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11917 * paragraph.C (writeFile): if layout is empty write out
11918 defaultLayoutName().
11920 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11921 file without named layout we set layout to defaultLayoutName().
11923 2002-03-06 Juergen Vigna <jug@sad.it>
11925 * CutAndPaste.C (copySelection): set layout for new paragraph.
11927 * text.C (prepareToPrint): leave ERT inset left aligned
11928 (leftMargin): don't indent paragraphs inside ERT insets
11930 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11932 * paragraph.C (breakParagraph): dont call clear do the work manually
11934 * paragraph.[Ch] (clear): remove function
11936 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * paragraph.C (Paragraph): dont call clear, the work has already
11941 * lyxtextclass.C (operator): assert if n is empty
11943 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11944 work manually instead.
11946 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11948 * BufferView_pimpl.C: protect selectionLost against text == 0
11950 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * text.C (breakParagraph): fix a setting layout to '0' problem.
11954 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11956 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11957 final location of file, for the included files, and graphics.
11959 2002-03-05 Juergen Vigna <jug@sad.it>
11961 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11963 2002-03-04 Juergen Vigna <jug@sad.it>
11965 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11967 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11968 last column of multicolumn cells.
11969 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11971 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11973 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11974 file if it doesn't go to a temporary file.
11976 * buffer.C (sgmlOpenTag):
11977 (sgmlCloseTag): remove extra newline insertion.
11979 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * text.C (getRowNearY): comment out debug msg
11983 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11985 * text2.C: first -> first_y
11987 * text.C (getRowNearY): add some attemts at a possible
11988 optimization, not working.
11990 * tabular.[Ch]: add BufferParams to several function so that newly
11991 created paragraph can be initialized to he default layotu for the
11994 * tabular-old.C (ReadOld): add buf->params to call of Init
11996 * screen.C: rename text->first to text->first_y
11998 * paragraph.C (breakParagraph): always set layout in the broken
12001 * lyxtextclass.C (Read): remove lowercase
12004 (delete_layout): ditto
12006 * lyxtext.h: rename first -> first_y
12008 * lyxlayout.C (Read): remove lowercase
12011 (obsoleted_by): ditto
12013 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12015 * buffer.C (insertErtContents): add params are to InsetERT
12016 (parseSingleLyXformat2Token): add code to check if a paragraphs
12017 layout really exist.
12018 (parseSingleLyXformat2Token): add params to several inset
12020 (asciiParagraph): remove lowercase, do the layout comparisons with
12023 * BufferView_pimpl.C (cursorNext): first -> first_y
12024 (resizeCurrentBuffer): first -> first_y
12025 (updateScrollbar): first -> first_y
12026 (scrollCB): first -> first_y
12027 (workAreaMotionNotify): first -> first_y
12028 (workAreaButtonPress): first -> first_y
12029 (checkInsetHit): first -> first_y
12030 (cursorPrevious): first -> first_y
12031 (cursorNext): first -> first_y
12032 (Dispatch): add buffer_->params to severl inset contructors
12034 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * lyxlayout.C (Read): remove some debug info that I forgot.
12038 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12039 clean up the code slightly.
12040 (makeLinuxDocFile): ditto
12041 (makeDocBookFile): ditto
12043 * text2.C: layout as string
12045 * text.C: layout as string
12047 * paragraph_pimpl.C: layout as string
12049 * paragraph.[Ch]: layout as string
12051 * lyxtextclasslist.[Ch]: layout as string
12053 * lyxtextclass.[Ch]: layout as string
12055 * lyxtext.h: layout as string
12057 * lyxlayout.[Ch]: layout as string
12059 * lyx_cb.C: layout as string
12061 * bufferview_funcs.C: layout as string
12063 * bufferparams.C: layout as string
12065 * buffer.C: layout as string
12067 * LyXView.[Ch]: layout as string
12069 * LaTeXFeatures.[Ch]: layout as string
12071 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12073 * BufferView_pimpl.C: change current_layout to string, remove
12078 (workAreaButtonRelease): layout as string
12080 * BufferView2.C (unlockInset): adjust
12082 * vspace.C (asLatexCommand): use an explict temp variable.
12084 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12086 * Makefile.am: use FRONTEND_*
12088 2002-03-01 Juergen Vigna <jug@sad.it>
12090 * tabular.C (SetWidthOfMulticolCell): changed to something better
12091 I hope but still work in progress.
12092 (recalculateMulticolumnsOfColumn): renamed function from
12093 recalculateMulticolCells as it is more appropriate now.
12094 (SetWidthOfCell): calculate multicols better.
12096 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12100 * lyxfunc.C (processKeySym): print sequence also if it is
12101 `deleted' (complete)
12103 * kbsequence.C (print): print sequence even if it is deleted
12104 (complete would be a better word, actually).
12106 * lyxfunc.C (dispatch): print complete options after a prefix key
12108 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12110 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12112 * text2.C (setCharFont): eliminate setCharFont code duplication.
12114 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12117 LFUN_TABULAR_FEATURE (bug #177)
12119 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12121 * Makefile.am: remove figure.h
12123 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12125 * Bufferview_pimpl.C:
12137 * text2.C: remove #include "lyx_gui_misc.h".
12139 * LaTeX.C: added #include <cstdio>
12141 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12144 that the paragraph following this one can have.
12146 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12148 * vspace.C (asLatexCommand): fix bogus gcc warning
12150 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12152 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12154 * text2.C (setLayout): get rid of redundant code
12156 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12158 * text2.C (incDepth): make sure depth cannot be increased beyond
12161 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12163 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12164 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12166 * PainterBase.h (image):
12167 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12168 a LyXImage const *.
12170 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12174 * BufferView_pimpl.C:
12175 * BufferView_pimpl.h:
12195 * sp_spell.C: remove fig inset, and the crap house of
12196 cards that follows it
12198 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12203 * os2_errortable.h:
12204 * nt_defines.h: move .h into support/
12206 * vms_defines.h: remove
12208 * WorkArea.C: add space in debug output
12212 * buffer.C: add WITH_WARNINGS
12216 * bufferlist.C: s/retrive/retrieve/, add docs
12225 * chset.C: add docs
12227 * lyxgui.C: add ID to X error handler
12229 * lyxtestclass.c: fix typo
12231 2002-02-26 Juergen Vigna <jug@sad.it>
12233 * tabular_funcs.C (write_attribute): changed so that some default
12234 attributes are not written at all.
12235 (getTokenValue): set default values before trying to read the
12236 value so we have the return value always set as default if we don't
12237 find the token we search for.
12239 * tabular.C (Write): write bools as bools not as strings!
12241 2002-02-22 Juergen Vigna <jug@sad.it>
12243 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12244 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12246 * text.C (leftMargin): don't add an indent for paragraphs inside
12247 tabular cells (fix #208).
12249 2002-02-21 José Matos <jamatos@fep.up.pt>
12251 * tabular.C (docBook): fixed support for long tables.
12253 2002-02-20 Juergen Vigna <jug@sad.it>
12255 * text2.C (getFont): get the drawing font of the Inset if this
12256 paragraph is inside an inset (only important for InsetERT for now).
12258 * buffer.C (insertErtContents): use new lanugage params in ERT
12261 * CutAndPaste.C: commenting out seemingly uneeded code.
12263 2002-02-19 Allan Rae <rae@lyx.org>
12265 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12266 Iterators might be simple to use but they also get invalidated.
12267 (removeAutoInsets): renamed saved cursor tracking variables and added
12268 some comments to clarify what everything does.
12270 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12277 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12278 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12281 * vc-backend.h: remove #include "support/syscall.h"
12285 * converter.C: rearrange #includes in Lars' approved fashion.
12287 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12288 forward declare class Timeout in the header file.
12290 * XFormsView.C: changes due to the above.
12292 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12293 similar to LyXView.
12295 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12296 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12298 2002-02-18 José Matos <jamatos@fep.up.pt>
12300 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12303 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12305 * a lot of small ws changes
12306 * add a lot of using std::XXX
12307 * use std construcs some places where approp.
12308 * use some exisint stuff from lyxfunctional where approp.
12309 * Make file changes to use partial linking (lets test this now...)
12311 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12315 remove #include "support/syscontr.h" as it's redundant. Always has been.
12323 change Systemcalls::System to Systemcalls::Wait and
12324 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12325 No change of functionality, just reflects the stripped down Systemcalls
12328 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12330 * debug.[Ch]: add a GRAPHICS type to the enum.
12332 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12336 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12339 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12341 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12342 match the changes below.
12344 * text2.C (toggleInset): if there is not editable inset at cursor
12345 position, try to see if cursor is _inside_ a collapsable inset
12348 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12350 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12351 document menu has a nice checkbox
12353 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * lyxlength.C (asLatexString): change PW to output as percent of
12358 * lengthcommon.C: change '%' to 't%'
12360 * lyxfunc.C (dispatch): a few comments from Martin
12362 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12366 * BufferView_pimpl.h:
12367 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12370 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * vspace.C (inPixels): fix compiler warning
12374 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * lyxfunc.C (getStatus): fix status message for disabled commands.
12378 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12380 * BufferView_pimpl.C: fix crash on close buffer
12381 during selection (#227)
12383 2002-01-27 Herbert Voss <voss@lyx.org>
12385 * buffer.C: link old Figure to new graphic inset
12387 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12389 * FontLoader.C (getFontinfo): Change the latex font names in order
12390 to match the names of type1inst.
12392 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12396 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12397 (extchanged): ditto
12399 (remove_files_with_extension): ditto
12400 (remove_file): ditto
12403 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12404 document is smaller than the work area height. Do not initialize
12405 static variables to 0.
12407 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12411 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12412 LFUN_LAYOUT_PARAGRAPHS.
12414 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12415 tabular. It is possible to provide a possible cell, which will
12416 typically be the actcell from the corresponding insettabular
12418 * lyxfunc.C (getStatus): small cleanup; disable
12419 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12422 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12424 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12426 * paragraph.C (startTeXParParams):
12427 (endTeXParParams): new methods. The LaTeX code to
12428 start/end paragraph formatting
12429 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12430 empty (fixes bug #200)
12432 * vspace.C (inPixels): adapt to the change below
12433 (inPixels): [later] more cleanups (remove unused variables)
12435 * lyxlength.C (inPixels): change to use a width and a height as
12438 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12440 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12441 Replaced with \paperwidth
12443 * DepTable.C (insert): add std:: qualifier
12445 2002-01-18 Allan Rae <rae@lyx.org>
12447 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12450 * text.C (drawInset): Turned out I didn't know enough about how
12451 rebreaking worked. This fixes most of the redraw problems. I see
12452 an occasional cursor trail when a line is broken now and the cursor
12453 placement can seem out by a few pixels also after a rebreak.
12455 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * buffer.C (parseSingleLyXformat2Token): update because minipage
12458 width is now a LyXLength
12460 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12462 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12465 2002-01-17 Juergen Vigna <jug@sad.it>
12467 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12469 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12470 is set correctly and the inset is updated correctly.
12472 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12475 the beginning of the loop.
12477 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12479 * lyxrc.C: improve help for use_scalable_fonts
12481 2002-01-17 Allan Rae <rae@lyx.org>
12483 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12485 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12488 make sure to set their inset_owner to the right value (bug #171)
12490 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12493 * DepTable.C: Implement mtime checking to reduce time spent doing
12496 2002-01-16 Juergen Vigna <jug@sad.it>
12498 * tabular.C (GetAdditionalHeight): one of error fixed.
12500 * lyxrc.C (output): small fix in writing use_pspell.
12502 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12504 * sp_base.h: #include LString.h
12506 2002-01-16 Allan Rae <rae@lyx.org>
12508 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12509 Can someone check this please?
12511 * text.C (drawInset): It was possible that p.row would be removed by
12512 breakAgainOneRow upsetting a few other settings. There may be another
12513 small tweak possible by setting need_break_row = 0 when p.row has been
12514 removed but I don't know enough about the logic here.
12516 2002-01-15 Allan Rae <rae@lyx.org>
12518 * text.C (insertChar): removed conditional truism.
12520 * BufferView2.C (removeAutoInsets): More tweaks.
12521 cur_par_prev could be a stray pointer. Check for trailing empty line
12522 in case last line was cur_par and only had an error inset on it.
12524 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12526 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12529 * vc-backend.C (most methods):
12530 * exporter.C (Export):
12531 * converter.C (convert):
12533 * LyXSendto.C (SendtoApplyCB):
12534 * lyxfunc.C (dispatch):
12538 * lyx_cb.C (AutoSave):
12540 * BufferView_pimpl.C (MenuInsertLyXFile):
12541 * buffer.C (runChktex): use Buffer::filePath().
12543 * buffer.h: rename filename to filename_; rename filepath to
12544 filepath_ and make it private
12545 (filePath): new method
12547 * buffer.C (writeFile): use fileName()
12550 * lyx_main.C (init): fix starting of LyX when the binary is a
12551 link from so,ewhere else.
12553 * minibuffer.C: include <cctype> for isprint
12555 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12557 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12558 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12559 name clash with InsetCollapsable's width function.
12561 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lastfiles.C: include <iterator>
12565 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12567 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12570 * buffer.C (makeLaTeXFile): ditto.
12571 Also make loop operation more transparent.
12573 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12575 * ToolbarDefaults.C: remove trailing comma closing namespace.
12577 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12579 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12582 * trans.C (Load): comment out unused variable, allowed.
12584 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12586 * minibuffer.[Ch] (append_char): new method to recieve input from the
12587 drop-down completion browser. If a key was pressed, then recieve this
12588 char and append it to the existing string.
12589 (peek_event): modify the positioning data passed to the completion
12590 browser so that it can be placed above the minibuffer rather than below.
12591 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * LyXAction.C (init): alloe error-next for readonly documents.
12595 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12598 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12600 * bufferlist.C (readFile): create the buffer _after_ checking that
12603 * lyxfunc.C (verboseDispatch): fix handling of arguments
12605 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12607 * lyxrc.C: use string::erase() instead of initializing to "".
12610 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12612 * BufferView_pimpl.h:
12613 * BufferView_pimpl.C:
12616 * text2.C: tell X when we have made a selection for copying
12618 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12620 * BufferView_pimpl.C (MenuInsertLyXFile):
12621 * lyxfunc.C (menuNew):
12623 (doImport): add shortcuts to directory buttons
12625 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12628 * lyxfunc.C (setStatusMessage):
12629 (getStatusMessage): new methods
12630 (getStatus):use setStatusMessage instead of setErrorMessage
12631 (dispatch): when function is disabled, set error message here
12632 [instead of in getStatus previously]
12634 * BufferView_pimpl.C (workAreaButtonRelease): update
12635 toolbar/menubar here too.
12637 2002-01-13 Allan Rae <rae@lyx.org>
12639 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12640 Now seems indestructible. Remaining task is to audit all other
12641 code affected by deleteEmptyParagraphMechanism. One small quirk
12642 left is that an empty document with an error in the preamble can
12643 be made to report an error but no error box appears. I don't know
12645 (removeAutoInsets): Improved comments.
12647 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12650 * Thesaurus.C: update for Aiksaurus 0.14
12652 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12654 * text2.C (firstParagraph): removed member function, all uses
12655 replaces with ownerParagraph
12656 (redoParagraphs): here
12657 (updateInset): here
12658 (toggleAppendix): here
12659 * BufferView2.C (insertErrors): here
12660 (setCursorFromRow): here
12662 2002-01-13 Allan Rae <rae@lyx.org>
12664 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12665 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12666 There is still a way to segfault this although you may have to do this
12667 multiple times: Have an InsetERT with an unknown command in it.
12668 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12669 <down-arrow>, <Enter> again, View->DVI, BANG!
12671 * text2.C (setCursor):
12672 (deleteEmptyParagraphMechanism):
12673 * lyxtext.h (setCursor):
12674 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12675 Making use of the return value may help fix other bugs.
12677 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12679 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12681 * LyXView.C (updateMenubar): call MenuBar::update here
12682 (updateToolbar): but not here
12683 (showState): do not update toolbar/menubar
12685 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12686 should need to care about that.
12688 * lyxfunc.C (verboseDispatch): simplify a bit
12689 (getStatus): have a version which takes a pseudoaction, and
12690 another which requires a (kb_action,string).
12692 * LyXAction.C (retrieveActionArg): make it work also when action
12693 is not a pseudo-action.
12694 (getActionName): simplify a bit
12697 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12699 * lyxfunc.C (verboseDispatch): new families of methods with
12700 several ways to specify a command and a bool to indicate whether
12701 the command name and shortcut should be displayed in minibuffer
12702 (eventually, we could extend that to a finer bitmask like
12703 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12704 (dispatch): the pristine dispatch command which just, well,
12705 dispatchs! Note it still sets its result to minibuffer; I'm not
12708 * lyxfunc.h: remove setHintMessage
12710 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12712 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12714 * BufferView_pimpl.C (specialChar): delete new inset if we have
12715 not been able to insert it.
12717 * kbmap.C: revert to using int instead of kb_action, since all we
12718 are dealing with is pseudo-actions.
12720 * LyXAction.C (searchActionArg): change to return int instead of
12721 kb_action, since the result is a pseudoaction.
12723 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12725 * buffer.C (insertErtContents): Fix (partially) the font bug.
12727 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12729 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12730 as the other one is broken on my machine!
12732 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12735 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12737 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12739 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12740 reflect their actual use. Provide compatibility code for older lyxrc
12743 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12745 change names of popup font variables in line with the changes to lyxrc.C
12747 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12749 * buffer.C (asciiParagraph): avoid outputing a word twice after
12752 * lyxrc.C (getDescription): document that document_path and
12753 template_path can be empty.
12755 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12757 * LaTeXFeatures.C (getMacros):
12758 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12760 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12762 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12764 (getPackages): rename feature "floats" to "float". Use an array to
12765 iterate over 'simple' features (i.e. just a \usepackage). Add
12766 handling of "amsmath" (renamed from "amsstyle").
12768 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12770 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12773 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12775 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12776 FuncStaus::FuncStatus & FuncStaus::some_method().
12778 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12780 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12781 of the func_satus stuff. Edited and massaged in various ways by
12784 * lyxfunc.C (getStatus): use FuncStatus
12786 2002-01-08 Juergen Vigna <jug@sad.it>
12788 * text.C (nextBreakPoint): use function Inset::isChar().
12790 * paragraph.C (TeXOnePar): use function
12791 Inset::forceDefaultParagraphs.
12793 * buffer.C (latexParagraphs): use function
12794 Inset::forceDefaultParagraphs.
12796 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12798 * lyx_gui.C (init): set the style of the menu popups to
12799 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12801 2002-01-07 Juergen Vigna <jug@sad.it>
12803 * text.C (setHeightOfRow): small fix
12804 (prepareToPrint): don't look at alignment if we don't have the place
12807 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12809 * box.C: New file. Move the Box methods and functions out of box.h,
12810 following Lars' suggestion.
12812 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12814 * box.h: #include "support/LOstream.h", needed for inlined function.
12817 * lyxtextclasslist.C: added some using std declarations.
12819 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12821 * box.h: make signed dimensions to allow insets wider than
12822 the screen (bug #162)
12824 * BufferView_pimpl.C: add some insetHit debug
12826 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12828 * vc-backend.C: add FIXME
12830 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12832 * lyxfunc.C (getStatus): enable code for showing math font status
12835 2002-01-07 Juergen Vigna <jug@sad.it>
12837 * text.C (nextBreakPoint): removed debug output not needed anymore.
12839 2002-01-06 Juergen Vigna <jug@sad.it>
12841 * text.C (nextBreakPoint): fixed up this function we had this bug
12842 since ever but now hopefully we break row better.
12843 (insertChar): we have to check if an inset is the next char as it
12844 could now happen that a large inset is causing a break.
12846 2002-01-05 Juergen Vigna <jug@sad.it>
12848 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12849 if it doesn't like to be drawed.
12851 2002-01-04 Juergen Vigna <jug@sad.it>
12853 * BufferView2.C (lockInset): forgot to set a cursor.
12855 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12857 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12859 * FormMathsPanel.C:
12862 * form_maths_panel.C:
12863 * form_maths_panel.h:
12864 * form_maths_panel.fd: implemented sub- and super- buttons in math
12867 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12868 (or ^ space) to be used as in TeX (req'd by André).
12870 * lyxfunc.C: Allow ^ and _ again to be used both as
12871 super/subscript (mathed) and as themselves (in text).
12873 2002-01-03 Allan Rae <rae@lyx.org>
12875 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12876 "LyX" or the filename of the current buffer if it has one. This is a
12877 modified form of John Levon's patch.
12879 * XFormsView.C (setWindowTitle): also set icon title.
12881 * LyXView.h (setWindowTitle): signature changed.
12882 * XFormsView.h (setWindowTitle): ditto.
12884 2002-01-02 Juergen Vigna <jug@sad.it>
12886 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12888 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * screen.C (topCursorVisible): introduce a temp var for
12891 text->cursor.row(), handle the case where this row is null. (kindo
12894 * text2.C (setCursor): add a couple of asserts.
12896 * paragraph.h (inset_iterator): add -> operator
12898 * paragraph.[Ch] (autoDeleteInsets): remove member function
12900 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12901 cursor pos correctly and handle inset deletion by itself.
12902 (insertErrors): move iterator declaration out of for expression
12904 * lyxtextclass.C: add <algorithm>
12906 * Makefile.am: added the new files to sources, removed layout.C
12908 * layout.C: removed file
12910 * layout.h: remove LYX_DUMMY_LAYOUT
12912 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12916 * lyxtextclass.[Ch]:
12917 * lyxtextclasslist.[Ch]: new files
12919 * include order changes to a lot of files, also changes because of
12922 2001-12-27 Juergen Vigna <jug@sad.it>
12924 * buffer.C (asciiParagraph): more fixes.
12926 * tabular.C (ascii): make ascii export support export of only the
12927 data separated by a column-delimiter.
12928 (ascii): better support for ascii export.
12930 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12932 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * tabular_funcs.C: use a "using std::getline" instead of the
12935 previous fix from Angus (necessary for cxx + lyxstring)
12937 2001-12-24 Juergen Vigna <jug@sad.it>
12939 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12941 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12942 problems. First check a minipage also if we have some ert-contents
12943 (not only on par->size(), second set the right depth of the paragraph
12944 on the relink to the root-paragraph-list!
12946 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12947 which then did not anymore update the main paragraphs on undo/redo!
12949 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12951 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12952 code. Support all font-changing funcs (even those which are not in
12953 menu currently). Support for reporting font settings in
12954 mathed (disabled until Andre provides a function on mathed's side).
12956 * func_status.h (toggle): small helper function to set toggle
12959 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12961 * tabular_funcs.C: getline -> std::getline
12963 2001-12-21 Juergen Vigna <jug@sad.it>
12965 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12966 accessed and could be 0 (I couldn't generate this but it seems
12969 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12972 * tabular_funcs.h: here and include iosfwd
12974 2001-12-20 Juergen Vigna <jug@sad.it>
12976 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12977 inside inset but undo_par was.
12979 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12981 * Thesaurus.C: always include <config.h> in sources.
12985 * box.h: do not include <config.h> in header files
12987 * text.C (paintLastRow): remove unused variable
12989 * text.C (transformChar):
12991 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12993 * Painter.C (text):
12994 * font.C (width): rewrite to use uppercase() instead of
12997 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12999 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13001 * lyxfind.C: clean up of find failure position change
13003 2001-12-20 Juergen Vigna <jug@sad.it>
13005 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13007 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13008 (TeXRow): added to LaTeX a single tabular row.
13009 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13010 (Latex): simplified and finally good LT-h/f support.
13011 (various_functions): just small adaptions for LT-h/f support.
13013 * tabular_funcs.[hC]: added and moved here all not classfunctions
13016 2001-12-19 Juergen Vigna <jug@sad.it>
13018 * tabular.[Ch]: better support for longtabular options (not finished
13021 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13023 * text.C (paintLastRow): use the label font instead of the font of
13024 the last character to compute the size of *_BOX. This makes more
13025 sense and avoids a crash with empty paragraphs.
13026 Use Painter::rectangle to draw EMPTY_BOX.
13028 2001-12-19 Juergen Vigna <jug@sad.it>
13030 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13031 the paragraphs if the replaced paragraph is not the first one!
13032 Tried to delete not used paragraphs but does not work yet so for
13033 now it's inside #ifdef's and by default off!
13035 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13037 * MenuBackend.C: include "lyx_main.h" instead of declaring
13038 lastfiles (actually was declared as LastFiles* instead of a
13041 2001-12-17 Juergen Vigna <jug@sad.it>
13043 * tabular.C (AppendColumn): applied John's fix
13045 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13049 * BufferView_pimpl.h:
13050 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13053 * box.h: new start of class for above
13055 * lyxfunc.C: ignore space-only minibuffer dispatches.
13056 Show the command name when it doesn't exist
13058 * minibuffer.C: don't add empty lines to the history
13060 * minibuffer.C: add a space on dropdown completion
13062 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13064 * text.C: fix line above/below drawing in insets
13066 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * lyxlength.C (LyXLength): Initialize private variables.
13070 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13072 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13073 when inserting error insets.
13075 2001-12-13 Juergen Vigna <jug@sad.it>
13077 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13078 actually sometimes the before-paragraph.
13079 (setUndo): don't clear the redostack if we're not actually undoing!
13081 2001-12-06 Juergen Vigna <jug@sad.it>
13083 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13084 and fixed redoing of main paragraph, so we can use it now ;)
13086 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13088 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13090 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13093 2001-12-13 André Pönitz <poenitz@gmx.net>
13096 * undo_func.C: minor cleanup
13098 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13101 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13102 font in urw-fonts package which is marked as -urw-fontspecific and
13103 does not work (incidentally, changing the encoding in the
13104 fonts.dir of this package to -adobe-fontspecific fixes the
13107 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13108 is a crash when undoing first paragraph (Juergen, please take a
13109 look). THis does not mean the undo fix is wrong, just that it
13112 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13113 the (Paragraph*) version when needed instead of duplicating the
13116 * text.C (workWidth): use Inset::parOwner to find out where the
13117 inset has been inserted. This is a huge performance gain for large
13118 documents with lots of insets. If Inset::parOwner is not set, fall
13119 back on the brute force method
13121 * paragraph_pimpl.C (insertInset):
13122 * paragraph.C (Paragraph):
13123 (cutIntoMinibuffer): set parOwner of insets when
13124 inserting/removing them
13126 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13128 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13134 * mathed/formulabase.C:
13135 * mathed/math_cursor.[Ch]:
13136 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13139 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * lyxlength.[Ch] (operator!=): new function
13143 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * text.C (workWidth): use Inset::parOwner to find out where the
13146 inset has been inserted. This is a huge performance gain for large
13147 documents with lots of insets. If Inset::parOwner is not set, fall
13148 back on the brute force method
13150 * paragraph_pimpl.C (insertInset):
13151 * paragraph.C (Paragraph):
13152 (cutIntoMinibuffer): set parOwner of insets when
13153 inserting/removing them
13155 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13157 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13159 * tabular-old.C (getTokenValue):
13160 * tabular.C (getTokenValue):
13161 (write_attribute): new versions for LyXLength
13162 (everywhere): adjust the use of widths
13164 * tabular.h: change the type of widths from string to LyXLength
13166 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13168 * paragraph.C: fixed missing line number count when exporting
13169 Environments to LaTeX file
13171 * buffer.C: added informational message for checking line numbers.
13173 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13175 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13176 paragraph, do the 'double space' part, but not the 'empty
13179 * text.C (workWidth): small optimization
13180 (getLengthMarkerHeight): use minimal size for negative lengths.
13182 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13184 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13186 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13188 2001-12-11 André Pönitz <poenitz@gmx.net>
13191 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13193 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13195 * text2.C: keep selection on a setFont()
13197 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13199 * lyx_cb.C: another bv->text misuse, from insert label
13201 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13204 * kbsequence.C: re-instate nmodifier mask
13206 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13208 * lyx_main.h: make lyxGUI private.
13210 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13212 * lyxfind.C: place the cursor correctly on failed search
13214 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13216 * text.C (getLengthMarkerHeight): for small heights, the arrows
13217 are not always on top/bottom of the text
13218 (drawLengthMarker): smaller arrows; take the left margin in
13219 account; draw also vfills.
13221 (paintLastRow): remove special code for vfill and standard spaces,
13222 since everything is handled in drawLengthMarker now.
13224 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * buffer.C (insertErtContents): try to handle font and language
13227 interaction a bit better.g
13229 * ColorHandler.C (updateColor): change the hash to cover the whole
13230 LColor enum, ws cleanup
13231 (getGCLinepars): ditto
13232 (getGCLinepars): only lookup in the linecache once.
13234 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13236 * iterators.C (operator++): Make the iterator more robust
13238 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13242 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13245 * text.C: better added space drawing
13247 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13250 * BufferView2.C: fix layout combo update on inset unlock
13252 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13254 * Makefile.am: don't compile unused files
13256 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13260 * LyXAction.C: remove old LFUN_LAYOUTNO
13262 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13264 * paragraph_pimpl.h:
13265 * paragraph_pimpl.C: isTextAt() doesn't need font param
13267 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13270 * lyxlex.C: little cleanup
13272 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13274 * BufferView_pimpl.C: fix insertAscii for insets
13276 2001-12-05 Juergen Vigna <jug@sad.it>
13278 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13279 set the right font on the "multi" paragraph paste!
13281 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * lyxlength.C: remove out-commented code.
13289 * BufferView_pimpl:
13303 * vc-backend.C: change "while(" to "while ("
13305 * lyxlength.[Ch]: add zero function to check if length is zero or
13307 * lyxgluelength.C: use it
13309 2001-12-05 Allan Rae <rae@lyx.org>
13311 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13312 Works for 2.95.3, from what I understand of Garst's reports this should
13313 work for other g++ versions. We're screwed if the abs(int) definition
13314 changed between bugfix releases of gcc.
13316 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13318 * text.C: fix chapter label offset !
13320 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13323 * text.C: fix hfill at end of line, clean up
13325 2001-12-04 Juergen Vigna <jug@sad.it>
13327 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13328 that we force an update of the inset and it's owners if neccessary.
13330 2001-12-03 Juergen Vigna <jug@sad.it>
13332 * text.C (rowLast): simplified code
13334 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13336 * lyxfunc.C: fix show options on timeout
13338 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * screen.C (topCursorVisible): scroll half a page when the cursor
13341 reached top of bottom of screen
13343 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13345 * minibuffer.C: deactivate on loss of focus
13347 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * vspace.[Ch] (operator!=): add operator.
13351 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13353 * BufferView_pimpl.C: refuse to open an inset when
13354 there's a selection.
13356 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13358 * BufferView_pimpl.C: allow to click on RHS of full row insets
13360 2001-11-30 Juergen Vigna <jug@sad.it>
13362 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13363 insets for undo reasons.
13365 2001-11-28 André Pönitz <poenitz@gmx.net>
13367 * vspace.[Ch]: cosmetical changes
13369 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13379 * kbsequence.C: part re-write of old kb code
13382 * WorkArea.C: remove Lgb_bug_find_hack
13384 2001-11-30 José Matos <jamatos@fep.up.pt>
13386 * buffer.C (makeDocBookFile): add a comment to point a hack.
13387 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13388 Fixed a double write of labels.
13390 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13393 * LaTeX.h Fixed bug in LaTeX class where it would not
13394 re-run latex if no depfiles were changed, but the .dvi was removed.
13396 2001-11-28 André Pönitz <poenitz@gmx.net>
13398 * all the files from the change on 2001/11/26:
13399 use lyx::layout_type instead of LyXTextClass::size_type
13400 use lyx::textclass_type instead of LyXTextClassList::size_type
13402 2001-11-29 Juergen Vigna <jug@sad.it>
13404 * text.C: added support for paragraph::isFreeSpacing()
13406 * buffer.C: same as above
13408 * paragraph.h: inserted isFreeSpacing() function to enable
13409 FreeSpacing inside InsetERT.
13411 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13412 of the paragraph's in the cut/copy buffer to 0!
13414 * text2.C (removeRow): remove the assert as it can!
13416 * lyxtext.h: added helper function firstRow returning firstrow and
13417 made firstrow private again.
13419 * BufferView2.C (lockInset): don't relock if we're already locked!
13421 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13422 the only paragraph.
13423 (removeRow): added Assert::(firstrow)
13425 * debug.C: forgot to add INSETTEXT here.
13427 2001-11-28 Juergen Vigna <jug@sad.it>
13429 * sp_spell.C (initialize): changed error text to more general
13430 spellchecker command use (not only ispell!)
13432 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13434 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13436 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13438 * vspace.C: initialise lyxgluelength on failure
13440 2001-11-28 Allan Rae <rae@lyx.org>
13442 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13443 declaration & definition that looks like a function declaration.
13445 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13447 * BufferView2.C (copy):
13448 (copyEnvironment): do not clear the selection when doing a copy.
13450 * text.C (paintFirstRow): compilation fix
13452 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13454 * tabular.C (Latex): correct line count when writing latex.
13456 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13458 * paragraph_pimpl.h:
13459 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13466 * LColor.C: change vfillline->added_space
13468 * text.C: add markers and text for added space
13470 * vspace.C: fix comment
13472 2001-11-28 André Pönitz <poenitz@gmx.net>
13474 * paragraph.C: whitespace changes
13475 * all the other files from the change on 2001/11/26:
13476 change *::pos_type into lyx::pos_type
13478 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13480 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13481 language of the document when inserting error insets.
13483 2001-11-26 André Pönitz <poenitz@gmx.net>
13485 * BufferView_pimpl.[Ch]:
13493 * paragraph_pimpl.[Ch]:
13496 * text2.C: reduce header dependencies, introduce type for positions
13498 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13500 * <various>: change to use Alert.h
13502 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13504 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13505 when encountering an unknown token.
13506 (readLyXformat2): Show an error message if there were unknown tokens.
13508 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13511 * BufferView_pimpl.C:
13515 * text2.C: use par->isInset()
13517 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13519 * paragraph_pimpl.h:
13520 * paragraph_pimpl.C: cleanup
13522 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * text2.C (removeRow):
13525 * text.C (setHeightOfRow): remove useless (and costly) call to
13528 2001-11-20 Allan Rae <rae@lyx.org>
13530 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13531 Now need Inset*::checkInsertChar() to return true for appropriate
13532 cases so that the characters in the minibuffer will actually be
13535 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * text.C: change the order of the includes.
13538 (workWidth): initialize it at once.
13539 (workWidth): make maxw unsigned
13540 (setHeightOfRow): remove unused variable (inset)
13541 (selectSelectedWord): remove unused variable (inset)
13542 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13544 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13547 server is not running.
13549 (closeConnection): add debug info when server is disabled.
13551 * ColorHandler.C (getGCForeground): send debug message to GUI
13554 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13556 * kbmap.C (bind): modify because return conventions of
13557 kb_sequence::parse have changed.
13559 * kbsequence.C (parse): only ignore spaces and not any stupid
13560 control character. This avoids tests like s[i] <= ' ', which are
13561 guaranteed to fail with 8bit characters and signed chars.
13562 Change return code to string::npos when there have been no error
13563 (0 was a bad idea when error is at first character)
13565 2001-11-14 José Matos <jamatos@fep.up.pt>
13568 * buffer.C (simpleDocBookOnePar): removed unused argument.
13570 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13573 insets which are part of a word. Paragraph::isLetter takes care of
13574 that now. Use Paragraph::isInset to identify insets.
13575 (selectSelectedWord): do not test for hyphenation break.
13577 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13578 that protected spaces are considered as spaces.
13580 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13583 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13586 * lyxserver.C: fix it. and small cleanup.
13588 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13590 * BufferView_pimpl.C: use inline helpers
13593 * LaTeXFeatures.C: fix typos
13596 * Spacing.C: move spacing_string into class
13598 * ToolbarDefaults.C: move stuff into namespace anon
13600 * layout.h: update enum
13602 * lyxfunc.C: use better debug
13604 * minibuffer.h: fix typo
13608 * WorkArea.C: add and use Debug::WORKAREA
13612 * text2.C: code re-organisation, inline helpers
13614 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13616 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13617 std::vector.empty().
13619 2001-11-09 Allan Rae <rae@lyx.org>
13621 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13622 '\n's after tables. Tabular and ERT inset work now makes this no
13625 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13628 * minibuffer.C: fix crash, improve drop-down completion
13630 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13633 * lyxserver.C: invalidate fd's when doing endPipe()
13635 2001-11-08 José Matos <jamatos@fep.up.pt>
13637 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13638 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13641 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13643 2001-11-07 José Matos <jamatos@fep.up.pt>
13646 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13649 * buffer.C (sgmlOpenTag):
13650 * buffer.C (sgmlCloseTag): removed debug info.
13652 * buffer.h (sgmlOpenTag):
13653 * buffer.h (sgmlCloseTag): made public.
13655 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * buffer.C (saveParamsAsDefaults):
13658 * lyx_cb.C (MenuLayoutSave): remove
13660 * LyXAction.C (init):
13662 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13664 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13666 * buffer.C (setPaperStuff): removed from here...
13668 * bufferparams.C (setPaperStuff): ... and moved there.
13670 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13674 * XFormsView.C: add support for drop-down completion
13676 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13678 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13681 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13686 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13688 * lyx_main.C: change ref to known bugs
13690 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13692 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13693 to work around older babel problems.
13695 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13697 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13699 2001-10-24 Juergen Vigna <jug@sad.it>
13701 * tabular-old.C (ReadOld): below variable changes reflected.
13703 * tabular.[Ch]: added ltType struct for longtable header/footer
13704 defines and changed all instances where they are used. Added
13705 future support for double top/bottom rows.
13707 2001-10-24 José Matos <jamatos@fep.up.pt>
13709 * buffer.h (docbookHandleCaption):
13710 * buffer.C (docbookHandleCaption): removed unused function.
13711 (makeDocBookFile): moved docbook supported version to v4.1.
13713 2001-10-24 José Matos <jamatos@fep.up.pt>
13716 * tabular.C (docbookRow): new function to export docbook code of a row.
13717 (DocBook): now honors the longtable flags.
13719 2001-10-23 José Matos <jamatos@fep.up.pt>
13722 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13723 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13725 * buffer.C (makeLinuxDocFile):
13726 (makeDocBookFile): reworked the preamble, more clean, and with
13727 support for lyx defined entities. Changed the document declaration
13728 to be more XML friendly.
13730 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13731 if we need to output XML that should be done with a filter.
13733 2001-10-22 Juergen Vigna <jug@sad.it>
13735 * sp_pspell.h (class PSpell): add alive function needed in the
13736 controller to see if the spellchecker could be started.
13738 2001-10-22 Juergen Vigna <jug@sad.it>
13740 * buffer.C (insertStringAsLines): modify the font for inserting
13741 chars in certain conditions by calling checkInsertChar(font).
13743 2001-10-19 Juergen Vigna <jug@sad.it>
13745 * text.C (workWidth): use getRow instead of wrong algorithm.
13746 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13748 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13753 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13755 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13757 * text.C (workWidth): do not search for the exact row when
13758 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13759 optimization for big documents.
13761 2001-10-18 Juergen Vigna <jug@sad.it>
13763 * text.C (workWidth): new function with added Inset * parameter.
13765 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13769 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13770 change return type of getColumnNearX.
13773 * text.C (changeRegionCase): use uppercase/lowercase instead of
13776 (rightMargin): simplify code by factoring out the uses of
13781 (appendParagraph): use Paragraph::size_type
13783 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * vspace.C (asLatexString): add a missing break
13787 2001-10-15 Herbert Voss <voss@perce.de>
13789 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13791 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13796 2001-10-10 André Pönitz <poenitz@gmx.net>
13798 * lyxfunc.C: removed greek_kb_flag.
13800 2001-10-10 Herbert Voss <voss@perce.de>
13802 * lyx_main.C: delete global string help_lyxdir.
13804 2001-10-09 Herbert Voss <voss@perce.de>
13806 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13808 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13810 * lyx_main.C: added global string help_lyxdir.
13812 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13814 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13816 * lyxrc.C (set_font_norm_type): support iso8859-4
13818 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13820 * LaTeX.C (deplog): add another regex for MikTeX
13822 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13824 * lyxrc.C (set_font_norm_type): support iso8859-3
13826 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13828 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13830 * LaTeXFeatures.C: remove special case of french and index
13832 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13833 before \begin{document}). This solves several incompatibilities.
13835 2001-10-03 Garst Reese <reese@isn.net>
13837 * lyx_cb.C: change CheckTex error msg.
13839 2001-10-03 José Matos <jamatos@fep.up.pt>
13841 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13843 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * .cvsignore: update
13847 * lyx_main.C (commandLineVersionInfo): use new style version info.
13849 * buffer.C (writeFile):
13851 (makeLinuxDocFile):
13852 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13854 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13856 * version.h: update to use stuff in version.C
13858 * version.C.in: new file. Contains version information determined
13859 at compile time. This is a merging of version.h and
13862 2001-10-03 Juergen Vigna <jug@sad.it>
13864 * BufferView_pimpl.C (update): don't change "dirty" status in
13867 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13869 * WorkArea.C (c-tor): re-position version string slightly.
13871 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13873 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13874 revert to previous code.
13876 WorkArea.[Ch]: (show, destroySplash): methods removed.
13878 WorkArea.C: rework code so that it's an amalgam of the codes before and
13879 after the splash screen was moved to WorkArea.
13881 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13884 * vspace.C (inPixels):
13887 * buffer.C (insertStringAsLines):
13888 (asciiParagraph): fix types to be large enough
13890 * lyxlex_pimpl.h: change member status from short to int
13892 * layout.h: fix type of endlabeltype
13895 * kbsequence.C (parse): change return type to string::size_type
13897 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13900 * Bullet.C (bulletSize):
13901 (bulletEntry): do not use short ints as parameters
13903 * BufferView2.C (insertLyXFile): change a char to an int.
13905 * WorkArea.C (WorkArea): remove unneeded floats in computation
13907 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13909 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13911 * paragraph.C (asString): Do not ignore newline/hfill chars when
13912 copying to the clipboard.
13914 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13916 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13917 after a multi-line inset.
13919 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13921 * paragraph.C (validate): Set NeedLyXFootnoteCode
13923 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13925 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13926 and decrease-error to decrease.
13928 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13931 it more readable (should be equivalent)
13933 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13935 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13937 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13939 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13940 of a cursor (row, etc.) after a character has been deleted
13941 (deleteEmptyParagraphMechanism): call the method above on _all_
13942 cursors held by the LyXText when a double space has been
13945 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13947 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13949 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13951 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13952 background. Use greyOut() and the new show() methods to toggle between
13953 the foreground and background. Add code to remove the splash after
13954 its initial showing.
13956 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13957 (create_forms): no longer call Dialogs::showSplash.
13959 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * .cvsignore: add version_info.h
13963 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13965 * version_info.h.in: new file
13967 * Makefile.am: add version_info.h.in
13969 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13970 version_info.h instead of VERSION_INFO
13972 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13974 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13975 The ERT inset now returns string().
13977 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13979 * lyxtext.h, text.C (selectNextWord): renamed as
13980 selectNextWordToSpellcheck.
13982 * text.C (selectNextWordToSpellcheck): Modified to not select
13983 words inside an ERT inset.
13985 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13987 * lyx_cb.C (MenuLayoutSave): change a bit the question
13989 * sp_base.h: include <sys/types.h>
13991 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13993 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13995 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13997 * several files: fix typos in user-visible strings
13999 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * text2.C (pasteSelection): do not set the selection, since it
14002 will be cleared later. Actually, the intent was to fix the way the
14003 selection was set, but I figured rmoving the code was just as good.
14005 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14007 * FontLoader.C (available): Check if font is available without
14010 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14012 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14014 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14016 * lyxrc.[Ch]: added display_graphics variable and associated code.
14018 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * bufferparams.C (hasClassDefaults): new method. Returns true if
14021 the buffer parameters correspond to known class defaults
14023 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14025 * XFormsView.C (show): set minimum size to the main window.
14027 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14029 * text2.C (copySelection):
14031 * lyxfind.C (LyXReplace):
14032 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14033 LyXText::selectionAsString.
14035 * paragraph.C (asString): add "label" argument to the second form
14037 * text2.C (selectionAsString): add "label" argument and pass it to
14038 Paragraph::asString.
14040 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * lyx_main.C (commandLineHelp): remove version information
14044 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14046 * lyx_main.C: add -version commandline option
14048 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14050 * paragraph.h: make the optional constructor arg required instead.
14051 some modifications to other files because of this.
14053 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14055 * lyxserver.C (C_LyXComm_callback): make it static
14057 * lyx_main.C (error_handler): make it static
14059 * lyx_gui.C (LyX_XErrHandler): make it static
14061 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14063 * WorkArea.C: make the extern "C" methods static.
14065 * Makefile.am (lyx_LDADD): simplify
14067 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14069 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14070 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14072 * LyXAction.C (init):
14073 * lyxfunc.C (dispatch): associated code removal.
14075 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14077 * lyxfont.h (isSymbolFont): shut off warning
14079 * text.C (setHeightOfRow):
14080 (getVisibleRow): fix crash with empty paragraphs which have a
14083 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14085 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14088 2001-09-04 José Matos <jamatos@fep.up.pt>
14091 * tabular.C (docbook): rename docBook method to docbook.
14093 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14095 * Makefile.am: add dependencies to main.o.
14097 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14099 * FontLoader.C (available): Return false if !lyxrc.use_gui
14101 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14103 * FontInfo.C (query):
14104 * converter.C (view):
14105 * importer.C (Import):
14106 * exporter.C (Export): Can not -> cannot.
14108 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14110 * BufferView_pimpl.C: allow to create index inset even if
14113 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14115 * buffer.C (getLists): replace boost::tie code with an explicit pair
14116 as boost::tie can break some compilers.
14118 * iterators.h: Added a std:: declaration to the return type of
14121 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14123 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14126 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14128 * iterators.[Ch]: New files. Provide paragraph iterators.
14130 * buffer.C (changeLanguage): Use paragraph iterators.
14131 (isMultiLingual): ditto
14133 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14135 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14137 * FontLoader.C: Support for cmr font.
14139 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14141 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14142 (available): New method.
14144 * FontInfo.C (getFontname): Use scalable fonts even when
14145 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14148 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14150 * converter.C (Formats::view): reverted! Incorrect fix.
14152 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14154 * converter.C (Formats::view): only output the -paper option
14155 if the dvi viewer is xdvi, thereby fixing bug #233429.
14157 2001-08-23 Herbert Voss <voss@perce>
14159 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14161 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14163 * Spacing.h (Spacing): Set space to Default on in the default
14166 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * vc-backend.h (RCS::versionString): add RCS to version
14169 (CVS::versionString): add CVS to version
14171 * vc-backend.C (scanMaster): do not add CVS to version.
14172 (scanMaster): do not add RCS to version
14174 * lyxvc.C (versionString): new method
14176 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14178 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14180 * Spacing.C (set): initialize fval
14182 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14184 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14187 2001-08-16 Juergen Vigna <jug@sad.it>
14189 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14191 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14193 * BufferView_pimpl.C:
14196 * text2.C: setParagraph takes linespacing now
14198 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14200 * LyxAction.C: add internal LFUN_CITATION_INSERT
14202 * LyXView.C: actually apply fix
14204 * bufferlist.C: fix open non-existent file
14206 * lyxfind.C: fix indentation
14208 * lyxfunc.C: remove unneeded assert, fix typo
14210 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14212 * MenuBackend.C: use "Floatname List"
14214 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14216 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14217 when converting LaTeX layout to insetERT.
14218 Generate a non-collapsed float when reading old float
14220 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14222 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14225 2001-08-13 Juergen Vigna <jug@sad.it>
14227 * text.C (fill): return 0 instead of 20 as this seems to be the more
14230 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14232 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14235 2001-08-13 Juergen Vigna <jug@sad.it>
14237 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14239 (SearchBackward): comment out the unlocking of the inset_owner this
14240 should not be needed!
14242 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14244 * Many files: Remove inherit_language, and add latex_language
14246 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14247 collapsible insets.
14249 2001-08-10 Juergen Vigna <jug@sad.it>
14251 * text.C (prepareToPrint): fixed hfill-width in draw!
14253 * BufferView2.C (selectLastWord): save the selection cursor as this
14254 now is cleared in the function LyXText::clearSelection!
14256 2001-08-08 Juergen Vigna <jug@sad.it>
14258 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14259 BACKSPACE type functions.
14261 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14262 is only cutted from the document but not put in the cut-buffer, where
14263 still the old stuff should be.
14265 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14267 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14269 * tabular.C (SetWidthOfCell): fixed special case where the width
14271 (LeftLine): handle '|' in align_special.
14273 (LeftAlreadyDrawed): ditto
14274 (SetWidthOfCell): ditto
14276 2001-08-07 Juergen Vigna <jug@sad.it>
14278 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14280 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14283 * lyxlex.[hC]: ditto
14285 2001-08-06 Juergen Vigna <jug@sad.it>
14287 * text.C (getVisibleRow): fix up row clearing a bit.
14289 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * minibuffer.C: make sure the X server sees the changes in the input.
14293 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * paragraph.C (getFont): split into...
14296 (getLabelFont): this
14297 (getLayoutFont): and this
14298 * paragraph_pimpl.C (realizeFont): calling this
14300 * text2.C (getFont): split into...
14301 (getLayoutFont): this
14302 (getLabelFont): and this
14303 (realizeFont): all three calling this
14305 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14308 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14312 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14314 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14315 layouts from the Quote inset insertion.
14317 2001-08-03 Juergen Vigna <jug@sad.it>
14319 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14321 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14322 only if status not is already CHANGED_IN_DRAW (second level).
14324 * text.C (draw): don't set the need_break_row when inside an
14327 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * buffer.C (parseSingleLyXformat2Token): handle more latex
14332 * bufferview_funcs.[hC]: change function names to
14333 begin with small char, adjust other files.
14335 2001-08-02 André Pönitz <poenitz@gmx.net>
14338 BufferView_pimpl.C: remove broken special code for math-greek
14340 2001-08-02 Juergen Vigna <jug@sad.it>
14342 * BufferView_pimpl.C (update): redone this function so that we
14343 update the text again if there was a CHANGE_IN_DRAW.
14345 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14346 (drawFromTo): added a new internal bool which is used by draw() and
14348 (general): some cursor drawing problems fixed.
14350 2001-08-01 Juergen Vigna <jug@sad.it>
14352 * lyxfind.C (LyXFind): fixed
14353 (SearchForward): ditto
14354 (SearchBackward): ditto
14356 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14357 spurius drawing of the cursor in the main area.
14359 * text2.C (status): small fix which could lead to a segfault!
14360 (clearSelection): remove unneeded BufferView param.
14362 2001-08-01 André Pönitz <poenitz@gmx.net>
14364 * lyxfunc.C: small change due to changed mathed interface
14366 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14370 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14372 * lyxfunc.c: fail gracefully if file doesn't exist
14377 * BufferView_pimpl.C: IsDirWriteable() proto changed
14379 * LyXView.C: fix updateWindowTitle() to store the last title
14381 2001-07-31 Juergen Vigna <jug@sad.it>
14383 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14384 the font (wrong since using of Paragraph::highestFontInRange).
14386 * paragraph.C (highestFontInRange): added a default_size parameter.
14388 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14389 (setHeightOfRow): reformat
14391 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * converter.[hC] + affected files: move to (inital-char)lowercase
14396 * ParagraphParameters.C (ParagraphParameters): remove commented code
14398 * PainterBase.[Ch]: remove commented code
14400 * LaTeXFeatures.h: add "bool floats" for float.sty
14402 * LaTeXFeatures.C (LaTeXFeatures): init floats
14403 (require): handle float
14404 (getPackages): do it with floats
14406 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * BufferView_pimpl.C (Dispatch): improve handling of
14409 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14411 * commandtags.h: #include lyxfont.h here temporarily to avoid
14414 * bufferlist.h: include LString.h here.
14416 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14418 * text2.C (getStringToIndex): new method.
14420 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14422 * *: Reduced header file dependencies all over.
14424 2001-07-30 Baruch Even <baruch@lyx.org>
14426 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14428 2001-07-29 Baruch Even <baruch@lyx.org>
14430 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14432 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * ParameterStruct.h (endif): add a default constructor to make
14435 sure that all variables is initialized.
14437 * ParagraphParameters.C (ParagraphParameters): adjust
14439 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14441 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14442 index; also, check that there is something to index, and that it
14443 does not span over several paragraphs.
14444 (doubleClick): use WHOLE_WORD_STRICT for double click.
14446 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14448 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14451 2001-07-26 Baruch Even <baruch@lyx.org>
14453 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14454 an InsetFig figure, backwards compatible reading of old figure code.
14456 2001-07-27 Juergen Vigna <jug@sad.it>
14458 * text2.C: font.realize function adaption.
14460 * text.C (draw): add a warnings lyxerr text if needed.
14462 * layout.C: font.realize function adaption.
14464 * language.C: add inherit_language and implement it's handlings
14466 * bufferview_funcs.C (StyleReset): remove language parameter from
14467 font creation (should be language_inherit now).
14469 * bufferparams.C (writeFile): handle ignore_language.
14471 * paragraph.C (getFontSettings): the language has to be resolved
14472 otherwise we have problems in LyXFont!
14474 * lyxfont.C (lyxWriteChanges): added document_language parameter
14475 (update): removed unneeded language parameter
14477 * paragraph.C (validate): fixed wrong output of color-package when
14478 using interface colors for certain fonts in certain environments,
14479 which should not seen as that on the final output.
14481 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14483 * BufferView_pimpl.C:
14488 * LyXAction.C: add thesaurus support
14491 * lyxfind.C: add "once" parameter, for thesaurus, to not
14492 move to the next match
14494 2001-07-26 Juergen Vigna <jug@sad.it>
14496 * lyxfont.C (realize): honor ignore_language too!
14499 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14501 * text.C (draw): one place more for ignore_language to not draw
14504 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14506 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14508 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14511 the minipage conversion problem.
14513 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14518 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14520 * BufferView.h: don't forward declare WorkArea
14522 * BufferView.C: don't include WorkArea.h
14524 2001-07-25 André Pönitz <poenitz@gmx.net>
14528 * lyxfunc.C: new LFUN 'math-space'
14530 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14532 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * text2.C (toggleInset): call open/close
14536 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14538 * lyxfunc.C (dispatch): add debug for the disabled case
14540 * font.C (buttonText): make similar to rectText
14542 * buffer.C (readInset): comment out parsing of insetlist and
14545 * PainterBase.C (rectText): small correction
14547 * BufferView_pimpl.C: comment out insettheorem and insetlist
14548 * LyXAction.C: ditto
14549 * commandtags.h: ditto
14551 2001-07-24 Juergen Vigna <jug@sad.it>
14553 * text.C (draw): honor the ignore_language.
14555 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14557 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14562 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14564 * lyxtext.h: remove unused (and unimplemented) methods
14566 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14568 * text.C (getVisibleRow): honor background color
14571 * Painter.h: remove default color argument for fillRectangle
14573 * text.C (backgroundColor): new method
14575 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * text.C (getVisibleRow): adjust
14579 * font.[Ch] (rectText): new method, metrics
14580 (buttonText): new method, metrics
14582 * PainterBase.[hC]: make rectText and buttonText always draw and take
14585 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14587 * ToolbarDefaults.C (read):
14588 * MenuBackend.C (read): allow escaping in all strings
14590 * BufferView_pimpl.C (insertAndEditInset): new method.
14591 (Dispatch): use insertAndEditInset whenever appropriate.
14593 * BufferView_pimpl.C (insertNote): removed
14595 * BufferView_pimpl.C (smartQuote): new method, moved from
14596 BufferView; if an insetquote cannot be inserted, insert a '"'
14599 * BufferView2.C: remove insertCorrectQuote();
14601 * lyxfunc.C (getStatus): Add support for all remaingin
14602 inset-insert lfuns.
14604 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14606 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14607 command (necessary to pass " as parameter of self-insert.
14609 * text.C (selectWordWhenUnderCursor):
14610 (selectWord): add word_location parameter
14611 (selectWordWhenUnderCursor): same + remove special code for word
14613 (selectNextWord): use kind() to guess type of insetspecialchar,
14616 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14617 (insertErtContents): create ert insets as collapsed.
14618 (readInset): better compatibility code for Info inset.
14620 2001-07-20 Juergen Vigna <jug@sad.it>
14622 * lyxfunc.C (dispatch): use always LyXFind now!
14624 * text2.C (init): add a reinit flag so that the LyXText can be
14625 reinited instead of deleted and reallocated (used in InsetText).
14627 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14633 2001-07-18 Juergen Vigna <jug@sad.it>
14635 * text.C (selectNextWord): handle insets inside inset by calling
14636 always the bv->text functions so that we can go up the_locking_inset!
14638 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14639 in strange locations when inside an inset!
14641 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14642 handling to include insets.
14644 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14646 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14648 * LyXAction.C (init):
14650 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14651 LIGATURE_BREAK, since the name is so stupid.
14653 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14655 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14658 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14660 * sp_form.[Ch]: remove.
14662 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14664 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14667 * src/buffer.C (readInset): ditto.
14669 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14671 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14672 menuSeparator(), endOfSentenceDot(), ldots() and
14673 hyphenationPoint(), which are therefore removed.
14674 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14676 * LyXAction.C (init):
14677 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14679 * paragraph.C (getWord): removed.
14681 * BufferView_pimpl.C (Dispatch): use last word or selection for
14682 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14684 * lyx_main.C (queryUserLyXDir): do not ask before creating
14685 user_dir, except if it has been named explicitely.
14687 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14689 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14690 a document of zero size.
14692 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14694 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14695 approriately in the c-tor and in require().
14696 (getPackages): output the appropriate LaTeX for natbib support.
14698 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14699 variables "use_natbib" and "use_numerical_citations" when reading the
14701 (readInset): read the various natbib cite commands.
14702 (validate): white-space change.
14704 * bufferparams.[Ch]: new variables "bool use_natbib" and
14705 "bool use_numerical_citations".
14706 (writeFile): output them in the LyX file.
14708 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14710 * lyxfunc.C (getStatus): add support for all the inset insertion
14713 * text2.C (insertInset):
14714 * paragraph.C (insetAllowed):
14715 * BufferView_pimpl.C (insertInset): update to take in account the
14716 renaming of insertInsetAllowed
14718 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14720 * text2.C (getInset): new method. returns inset at cursor position.
14722 * BufferView_pimpl.C (Dispatch): changes because of this.
14724 * LyXAction.C (init): rename open-stuff to inset-toggle.
14726 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14728 * text2.C (toggleInset): renamed from openStuff; use
14731 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14733 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14735 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14737 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14739 * buffer.C (readLyXformat2): Add filename to the error dialog
14741 2001-07-18 Juergen Vigna <jug@sad.it>
14743 * tabular.C (GetCellNumber): put an assert here instead of the check!
14745 2001-07-17 Juergen Vigna <jug@sad.it>
14747 * BufferView_pimpl.C (toggleSelection): adapted too.
14749 * text.C (selectNextWord): adapted for use with insets.
14750 (selectSelectedWord): ditto
14752 2001-07-17 Juergen Vigna <jug@sad.it>
14754 * sp_spell.C (PSpell): fix initialitation order.
14756 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * paragraph.C: spacing
14760 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14762 * sp_spell.C: repair language selection for pspell
14764 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * lyxfunc.h: change more methods to begin with lower char.
14768 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14770 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14771 for unknown layouts.
14773 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14775 * buffer.C (readLyXformat2): Generate an error dialog if there are
14778 2001-07-16 Juergen Vigna <jug@sad.it>
14780 * sp_spell.C: always compile ISpell part.
14782 * lyxrc.C: added use_pspell entry and it's handling.
14784 2001-07-13 Juergen Vigna <jug@sad.it>
14786 * sp_spell.C: removed double includes.
14788 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14790 Consistent use of Lsstream.h:
14791 * Lsstream.h: added using std::stringstream for consistencies sake.
14793 * buffer.C: removed using std::stringstream
14795 * lyxfont.C (stateText):
14796 * paragraph.C (asString):
14797 * text.C (selectNextWord, selectSelectedWord):
14798 * text2.C (setCounter):
14799 * vspace.C (asString, asLatexString):
14800 std::ostringstream -> ostringstream.
14802 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14804 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14805 * commandtags.h: add LFUN_HELP_ABOUTLYX
14806 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14808 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14810 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14812 * lyx_gui_misc.C: remove spellchecker
14813 * lyxfunc.C: showSpellchecker
14815 * sp_ispell.h: added
14816 * sp_pspell.h: added
14817 * sp_spell.C: added
14818 * sp_form.[Ch]: removed
14819 * spellchecker.[Ch]: removed
14821 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14823 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14825 (simpleTeXSpecialChars): Simply print the input character without
14826 any special translation if pass_thru is set.
14828 * layout.h: Added bool pass_thru to layout class for being able to
14829 implement pass through of a paragraph for Literate Programming.
14831 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14832 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14833 * layout.C (Read): add "passthru" to list of layout tags and add
14834 code to set the pass_thru boolean when it is read.
14836 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * trans_decl.h: remove allowed from KmodInfo
14840 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14841 remove allowed code
14844 * paragraph_pimpl.C (erase): use boost::prior
14846 * Painter.C (text): use data() instead of c_str() when length is
14848 * WorkArea.C (putClipboard): ditto
14849 * font.h (width): ditto
14851 * BufferView2.C: use it-> instead of (*it). for iterators
14853 * paragraph_pimpl.C: ditto
14854 * paragraph.C: ditto
14855 * minibuffer.C: ditto
14856 * language.C: ditto
14858 * encoding.C: ditto
14859 * counters.C: ditto
14860 * converter.C: ditto
14862 * Variables.C: ditto
14863 * TextCache.C: ditto
14864 * MenuBackend.C: ditto
14865 * LyXAction.C: ditto
14867 * FloatList.C: ditto
14868 * DepTable.C: ditto
14869 * ColorHandler.C (LyXColorHandler): ditto
14871 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14873 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14875 * text2.C (openStuff): reintroduce this method (which had been
14876 nuked in NEW_INSETS frenzy).
14878 * lyxfunc.C (Dispatch): when an action has not been handled, use
14879 its name in the error message, not its number.
14881 * paragraph.C (inInset): change method name to begin with lowercase.
14884 * text2.C: updates because of this.
14886 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * ToolbarDefaults.C (add): add spaces in error message
14890 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14893 (readLyXformat2): rename return_par to first_par, use lyxlex's
14894 pushToken and remove the manual push handling.
14895 (parseSingleLyXformat2Token): add another ert comp. variable:
14896 in_tabular, rename return_par to first_par. handle newlines better
14898 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14902 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * text2.C (getParFromID): removed
14906 * buffer.C (getParFromID): new method moved form lyxtext.
14907 * BufferView2.C (insertErrors): adjust
14908 (setCursorFromRow): adjust
14909 * BufferView_pimpl.C (restorePosition): adjust
14910 * lyxfunc.C (Dispatch): adjust
14911 * undo_funcs.C (textUndo): adjust
14913 (textHandleUndo): adjust
14914 (textHandleUndo): adjust
14916 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14918 * buffer.C: up' the LYX_FORMAT
14920 * lyxfont.h: turn NO_LATEX on as default
14922 * buffer.C (insertErtContents): new methods of tex style compability.
14923 (parseSingleLyXformat2Token): use it several places.
14924 * tabular.C (OldFormatRead): and here
14926 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14928 * text2.C: remove some commented code.
14931 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14932 * trans.C: changes because of the above.
14934 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14936 * text2.C (setCounter): Fix counters bug with bibliography layout.
14938 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14940 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14941 own member functions
14942 (simpleTeXSpecialChars): ditto
14944 2001-07-06 Juergen Vigna <jug@sad.it>
14946 * a lot of files: changed the access to LyXText::status and the
14947 call of undo-functions.
14949 * undo.[Ch]: added a inset_id to the undo informations.
14951 * undo_funcs.[Ch]: added and moved here all undo functions.
14953 * lyxtext.h: give the status enum a weight, made status_ a private
14954 variable and made accessor functions for it, removed the whole bunch
14955 of undo-functions as they are now in their own file, make some
14956 functions publically available. Added function ownerParagraph with
14959 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14960 made InInset() a const function, added getParFromID() function.
14962 * buffer.[Ch]: added const version for inset_iterator functions,
14963 added getInsetFromID() function.
14965 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14966 changed undo functions for new version.
14968 2001-07-05 Juergen Vigna <jug@sad.it>
14970 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14971 unknow mechanism does not call the proper constructor but only this
14972 one also if I request the other!?
14974 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14978 * text2.C (LyXText): use initialization lists.
14980 * lyxtext.h (Selection): initialize set_ and mark_
14981 (init): remove method
14983 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14985 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14987 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * screen.[Ch]: change method names to begin with lowercase
14991 * BufferView_pimpl.C (updateScrollbar): simplify further and
14992 hopefully make it a bit faster.
14994 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14996 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14997 calling directly xforms functions.
14999 * Painter.C (Painter):
15000 * lyx_cb.C (MenuWrite):
15001 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15004 * lyx_gui.C: remove bogus guiruntime extern declaration.
15006 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15010 (redoDrawingOfParagraph): ditto
15011 (redoParagraphs): ditto
15012 (cutSelection): don't create a object for CutAndPaste use the
15013 static method directly
15014 (pasteSelection): ditto
15016 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15019 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15021 * modifications to some other files because of this.
15023 * Makefile.am (lyx_SOURCES): add XFormsView
15025 * XFormsView.[Ch]: new files
15027 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15028 the main window. Move the gui dependent stuff to XFormsView
15030 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * tabular.C (GetCellInset): update cur_cell also in the row/col
15033 version of this function.
15035 * lyxfunc.C: no need to include figure_form.h here.
15041 * lyxvc.C: no need to include forms.h here.
15043 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15045 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15047 * lyxfunc.C (Dispatch):
15049 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15050 constructor argument.
15052 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * paragraph.C (Paragraph): dont't clear, and just set layout.
15055 (makeSameLayout): use params's copy contructor.
15057 * ParagraphParameters.[Ch] (makeSame): delete method
15059 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15061 * Variables.[Ch]: fix indentation, rename set to isSet
15063 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * lyxfunc.C (Dispatch): fix typo
15067 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15072 * bufferlist.C: include assert.h for emergencyWrite().
15074 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15076 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15077 give up at last (bug #425202) !
15079 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15085 * spellchecker.C: strip spellchecker options and bring up
15086 preferences tab instead
15088 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15090 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15091 the istringstream constructor
15093 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * paragraph.C (getLayout): fix return value
15097 * paragraph.h: do not declare getLayout as inline.
15099 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15101 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * lyxcursor.h (operator<): new func
15104 (operator>): new func
15105 (operator>=): new func
15106 (operator<=): new func
15108 * text.C (changeCase): use selection.start and selection.end
15109 (changeRegionCase): require from to be <= to. Require par to be a
15112 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15114 2001-06-27 Juergen Vigna <jug@sad.it>
15116 * text.C (cursorLeftOneWord): changed to return the cursor and added
15117 overlay with BufferView * parameter which calls this one.
15119 (selectWord): use new getWord function.
15120 (changeCase): renamed from changeWordCase as and extended to work
15121 also on selections.
15123 * lyxtext.h: added enum word_location
15125 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15126 changeCase as this operates now also on selections.
15128 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15130 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15132 * many files: send debug output to Debug::INFO instead of
15135 * converter.C (View):
15137 (Move): send debug output to Debug::FILES instead of console.
15139 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15141 * lyxfunc.C (getStatus): use func_status
15143 * func_status.h: new header, describing the results of
15144 LyXFunc::getStatus;
15146 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15149 2001-06-25 The LyX Project <jug@sad.it>
15151 * buffer.C (sgmlOpenTag):
15153 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15155 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * text2.C: remove some dead code
15159 * tabular.C (GetCellInset): store the last cell checked (gotten)
15161 * tabular.h: add the helper for the speedup
15163 * lyxtext.h: remove some dead code
15165 2001-06-26 The LyX Project <Asger>
15167 * paragraph.C: Change export to LaTeX of alignment to
15168 \begin{center} and family for better roundtrip work with reLyX.
15170 * Tune the math drawing a bit.
15172 2001-06-25 The LyX Project <Asger>
15174 * LColor.C (LColor): New color for math background. New color
15177 2001-06-25 The LyX Project <jug@sad.it>
15179 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15181 * lyxfunc.C (Open):
15182 * bufferlist.C (newFile): do not restrict to files ending with
15185 * BufferView_pimpl.C (MenuInsertLyXFile):
15187 2001-06-24 The LyX Project <jug@sad.it>
15189 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15192 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15194 * lyxtext.h: rename most methods to begin with a small char.
15195 Lots of changes because of this.
15197 * paragraph.C (Paragraph): do not call fitToSize
15198 (erase): call Pimpl::erase
15199 (insertChar): call Pimpl::insertChar
15200 (insertInset): call Pipl::insertInset
15201 (breakParagraph): do not call fitToSize
15202 (breakParagraphConservative): do not call fitToSize
15203 (fitToSize): remove method
15205 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15207 2001-06-24 The LyX Project <Asger>
15209 * Fix Qt compilation^2
15211 2001-06-24 The LyX Project <jug@sad.it>
15213 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15214 depthHook(getDepth()-1).
15217 * ParagraphParameters.h:
15218 * ParameterStruct.h: change type of depth to unsigned int ==
15219 depth_type. Many adaptations to other files before of that.
15221 2001-06-24 The LyX Project <Asger>
15223 * Fix Qt compilation.
15225 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * paragraph.h: renamed several methods to begin with small letter.
15228 several changes to many parts of the code because of this.
15230 2001-06-23 The LyX Project <jug@sad.it>
15232 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15233 rewritten to discard all double spaces when KeepEmpty is off
15234 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15235 to only handle newlines but not fiddle with spaces and friends.
15237 * lyxfunc.C (MenuNew): when doing 'new from template', use
15238 template_path as default directory
15240 2001-06-23 The LyX Project <Asger>
15242 * Clean-up of header file includes all over
15243 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15245 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * paragraph.h: renamed from lyxparagraph.h
15249 2001-06-23 Asger <lyx@violet.home.sad.it>
15251 * Buffer.h: Removed Buffer::resize
15252 * BufferList.h: Removed BufferList::resize
15253 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15254 the document lazily when we change the width, or the font settings.
15256 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15258 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15260 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15262 * buffer.h: remove out of date comment
15264 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15267 * screen.C: fix "theoretical" GC leak
15269 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * LaTeX.C (scanAuxFile):
15272 (deplog): remove trailing \r when reading stream (useful under
15275 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15277 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15278 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15279 and BufferView::theLockingInset(Inset*), so should use them and not
15280 access bv_->text->the_locking_inset directly.
15282 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15284 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15287 * tex-defs.h: remove old unused file
15289 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15291 * BufferView_pimpl.C: fix typo, remove minibuffer message
15292 when buffer has loaded
15294 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * lyxfunc.C (Dispatch): use stringstream
15297 (MenuNew): use stringstream
15298 (Open): use stringstream
15300 * importer.C (Import): use stringstream
15302 * bufferview_funcs.C (CurrentState): use stringstream
15304 * LaTeX.C (run): use stringstream
15306 * BufferView_pimpl.C (savePosition): use stringstream
15307 (restorePosition): use stringstream
15308 (MenuInsertLyXFile): use stringstream
15310 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15323 * vspace.C: removed // -*- C++ -*- as first line.
15326 * version.h: added // -*- C++ -*- as first line.
15328 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15332 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15335 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15340 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * gettext.C: include LString.h even when --disable-nls is on.
15344 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15346 * converter.h (Get): changed argument type from int to
15347 FormatList::size_type to avoid unnecessary conversion.
15349 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15352 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15354 * gettext.h: include LString.h even when --disable-nls is on.
15356 2001-06-07 Juergen Vigna <jug@sad.it>
15358 * text.C (BreakAgain): subst spaces with tabs.
15360 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15361 (resizeInsetsLyXText): set force on resizeLyXText.
15363 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * gettext.h (gettext_init):
15366 (locale_init): use a real definition instead of a macro
15368 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15370 * Bufferview_pimpl.C:
15372 * LColor.C: further lcolor tidies
15374 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * BufferView_pimpl.C (updateScrollbar): simplify.
15378 * BufferView2.C: don't include insets/insetinfo.h, change
15379 prototype for insertInset and call the Pimpl version. let
15380 updateInset call Pimpl version.
15382 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15383 gotoInset to BufferView::Pimpl
15385 2001-06-01 Juergen Vigna <jug@sad.it>
15387 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15388 inside a LockingInset (is the update needed at all?).
15390 2001-05-31 Juergen Vigna <jug@sad.it>
15392 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15393 here not the old one otherwise how should we compare it afterwards
15396 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * FontInfo.C: bring C functions into global namespace when
15404 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15406 * LString.h: make sure config.h has been loaded before LString.h.
15408 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15409 (one for each char read by EatLine!).
15411 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15414 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15417 to the same as the par we break from
15419 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15421 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15423 * MenuBackend.C (expand): also create menu entries for wide
15424 versions of the floats.
15426 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15428 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15430 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15431 frontends/Makefile.am
15437 * tabular.C (getTokenValue): add std::
15439 * tabular-old.C (getTokenValue): add std::
15440 (getTokenValue): ditto
15441 (getTokenValue): ditto
15443 * screen.C (ToggleSelection): adjust
15445 * lyxtext.h: put selection cursors inside a Selection struct.
15447 * lyxfunc.C (moveCursorUpdate): adjust
15449 * lyxfont.C (latexWriteStartChanges): add std::
15451 * lyxfind.C: adjust
15453 * font.h: delete with(char const *, LyXFont const &)
15455 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15457 * FontInfo.C (getFontname): add std::
15459 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15460 (workAreaButtonPress): adjust
15461 (tripleClick): adjust
15463 (moveCursorUpdate): adjust
15466 * BufferView2.C (gotoInset): adjust
15468 2001-05-30 Juergen Vigna <jug@sad.it>
15470 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15471 to check pspell I add this as default as I now have new pspell
15472 libraries and they seem to use this.
15474 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * text2.C (CutSelection): make the cursor valid before the call to
15479 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15481 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15482 relied on 0 terminated strings and other horrors. Bug found due to
15483 the new assert in lyxstring!
15485 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15488 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15490 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15493 * lyxfunc.C (processKeySym): change method of getting to the
15496 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15497 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15498 * BufferView_pimpl.[Ch]: here as private methods.
15500 2001-05-28 Juergen Vigna <jug@sad.it>
15502 * text.C (SetHeightOfRow): added the update() call again as it is
15503 needed to initialize inset dimensions!
15505 2001-05-16 Juergen Vigna <jug@sad.it>
15507 * text2.C (SetCharFont): Add new function with BufferView * and
15508 bool toggleall parameters for setting insets internal fonts.
15509 (SetFont): Freeze the undo as we may change fonts in Insets and
15510 all this change should be inside only one Undo!
15512 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15513 setting font's in insets as for them we have the SetFont function!
15515 2001-05-15 Juergen Vigna <jug@sad.it>
15517 * text2.C (ClearSelection): to be sure we REALLY don't have any
15520 * tabular.C (TeXCellPreamble): fixed the left border problem for
15523 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15525 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15528 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15530 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15531 LFUN_BREAKPARAGRAPH.
15533 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15534 help test to "internal only", similar for LFUN_INSERT_URL
15536 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15537 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15538 auto_region_delete and deadkeys.
15540 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15543 * LColor.C: remove some dead entries, tidy a little
15545 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15549 (Dispatch): implement LFUN_ESCAPE
15551 * commandtags.h: add LFUN_ESCAPE
15553 * LyXAction.C (init): add entry for LFUN_ESCAPE
15555 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15556 Remove commented code.
15557 (insertNote): moved here
15558 (open_new_inset): moved here
15560 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15563 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * kbmap.C (findbinding): clean it up and make it work correctly.
15567 * lyx_main.C (init): do not pass argc and argv as parameters
15569 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15571 * buffer.C: fix path for OS/2 & Win32
15575 * lyx_main.C: Added os:: class.
15577 * os2_defines.h: update
15579 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15581 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15582 better by trying again with reduced state.
15584 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * lyxrc.C (read): print error about invalid key sequence only when
15587 debugging (because not all latinX keysyms are known to some X
15590 * kbsequence.C (getiso): add a few std:: qualifiers
15591 (getiso): comment out extra return statement.
15593 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15595 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15597 (Dispatch): enhance the accent inset a bit. (not perfect)
15599 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15601 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15603 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * bufferlist.C (emergencyWrite): fix assert() call
15607 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15609 * text.C (InsertChar): Added trivial patch to only send the "you
15610 can not do multiple spaces this way" message once during a
15613 2001-05-08 Baruch Even <baruch@lyx.org>
15615 * Makefile.am: Changed order of libraries to get LyX to link properly
15616 with the gnome frontend.
15618 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * LaTeXFeatures.h: add a std:: qualifier
15622 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15624 * paragraph.C (String): use stringstream
15626 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * paragraph.C (writeFile): remove footflag arg
15630 * buffer.C (makeLaTeXFile): use stringstream
15631 (latexParagraphs): remove footnot gurba
15633 * LaTeXFeatures.C (getPackages): use stringstream
15634 (getMacros): likewise
15635 (getTClassPreamble): likewise
15636 (getFloatDefinitions): new method
15638 * paragraph.C (writeFile): reindent
15641 * WorkArea.h: revert the xpos + etc changes.
15643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15645 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15647 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15648 (pasteSelection): likewise
15649 * text2.C (CreateUndo): likewise
15651 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15653 * minibuffer.C (peek_event): temporarily reduce the functionality
15654 of the minibuffer (to allow args on lfuns)
15656 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15657 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15659 * buffer.C (readInset): add compability reading of old float
15660 lists, add reading of new style float list.
15661 (readInset): avoid reevaluation of inscmd.getCmdName()
15662 (getLists): reindent
15664 * MenuBackend.C (MenuItem): implement parsing of
15665 md_floatlistinsert and md_floatinsert.
15666 (expand::LastFiles): move initalizaton of iterators out of loop,
15667 avoid reevaluation.
15668 (expand::Documents): introduce typdedef vector<string> Strings,
15670 (expand::ExportFormats): introduce typedef vector<Format const *>
15671 Formats, and use it.
15672 (expand): implement FloatListInsert and FloatInsert.
15674 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15675 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15676 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15678 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15680 (Dispatch::LFUN_FLOAT_LIST): implement
15682 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15684 * LaTeX.C (run): Fix problem with --export code.
15686 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15688 * BufferView.[Ch] (workarea): removed.
15689 (getClipboard) new method; wrapper for workarea()->getClipboard()
15691 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15694 * WorkArea.h (width, height, xpos, ypos): These methods all
15695 returned the dimensions of the work_area sub-area of WorkArea,
15696 resulting in a position error if the WorkArea were resized. Now
15697 return the dimensions of the entire WorkArea.
15699 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15701 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * LaTeX.C (deplog): correct the syntax of regex reg1
15705 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15707 * undo.C: remove !NEW_INSETS cruft
15709 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15711 * text2.C: remove !NEW_INSETS cruft
15713 * text.C: remove !NEW_INSETS cruft
15715 * tabular.C: remove !NEW_INSETS cruft
15717 * spellchecker.C: remove !NEW_INSETS cruft
15719 * lyxtext.h: remove !NEW_INSETS cruft
15721 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15723 * lyxfunc.C: remove !NEW_INSETS cruft
15725 * lyxfind.C: remove !NEW_INSETS cruft
15727 * lyx_cb.C: remove !NEW_INSETS cruft
15729 * figureForm.C: remove !NEW_INSETS cruft
15731 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15733 * buffer.[Ch]: remove !NEW_INSETS cruft
15735 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15737 * CutAndPaste.C: remove !NEW_INSETS cruft
15739 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15741 * BufferView2.C: remove !NEW_INSETS cruft
15743 * BufferView.h: remove !NEW_INSETS cruft
15745 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * Lsstream.h: include LString.h before the sstream headers to
15748 fix problem with gcc 2.95.3 and lyxstring
15750 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15752 * lyx_main.C: add using directives when needed for C functions
15753 declared in std:: namespace.
15755 2001-04-27 Juergen Vigna <jug@sad.it>
15757 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15758 (SetHeightOfRow): comment out the update call should not be needed!
15760 2001-04-13 Juergen Vigna <jug@sad.it>
15762 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15763 (LyXTabular): tried to minimize operator= operations (and realized
15764 hopfully Lars wish).
15766 2001-04-27 Juergen Vigna <jug@sad.it>
15768 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15770 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15774 * buffer.C (readInset): hack to make listof algorithm work
15776 * BufferView_pimpl.C: hack to make listof algorithm work
15778 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * LyXAction.C: removed all !NEW_INSETS cruft
15781 (init): moved lfun_item in method
15783 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15785 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15787 * BufferView2.C (theLockingInset): white space.
15789 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * minibuffer.C: include <iostream>
15793 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15795 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15797 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15799 * text.[Ch] (TransposeChars): new method
15801 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * call message directly through LyXView instead of through LyXFunc
15804 * BufferView2.C: adjust
15805 * BufferView_pimpl.C: adjust
15806 * FontLoader.C: adjust
15808 * bufferview_funcs.C: adjust
15809 * converter.C: adjust
15810 * figureForm.C: adjust
15811 * importer.C: adjust
15813 * lyx_gui_misc.C: adjust
15814 * lyxfunc.C: adjust
15817 + more files in subdirs
15819 * lyxparagraph.h (size): move up int file
15822 * adjust all uses of Assert to lyx::Assert.
15824 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15825 lyxfunctional in namespace lyx
15826 * layout.C (hasLayout): ditto
15829 (delete_layout): ditto
15830 (NumberOfClass): ditto
15831 * converter.C (GetFormat): ditto
15836 * bufferlist.C (getFileNames): ditto
15837 (emergencyWriteAll): ditto
15840 * MenuBackend.C (hasSubmenu): ditto
15843 * BufferView_pimpl.C (getInsetByCode): ditto
15845 2001-04-18 Juergen Vigna <jug@sad.it>
15847 * vspace.C (asLatexString): fixed the 100% problem.
15849 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15851 * lyxfunc.C (Dispatch):
15853 * minibuffer.h: add a few std:: qualifiers
15855 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * minibuffer.[Ch]: reimplement so that commands is initiated and
15858 run from lyxfunc, simplified som handling, and made the completion
15859 and history code for complete. wip.
15861 * lyxfunc.C (processKeySym): call message
15862 (miniDispatch): new temporary method
15863 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15864 (LFUN_MESSAGE): implement
15865 (LFUN_MESSAGE_PUSH): implement
15866 (LFUN_MESSAGE_POP): implement
15867 (initMiniBuffer): the initial/defualt minibuffer message.
15869 * lyxfont.[Ch]: inline some more getters
15871 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15873 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15875 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15876 (AutoSave): use LFUN_MESSAGE
15877 (Reconfigure): ditto
15879 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15881 * figureForm.C: use LFUN_MESSAGE
15883 * converter.C (runLaTeX): use LFUN_MESSAGE
15885 * bufferview_funcs.C: use LFUN_MESSAGE
15887 (changeDepth): ditto
15889 * bufferparams.h: use boost::
15891 * bufferlist.h: inherit privately from noncopyable
15893 * bufferlist.C (loadLyXFile): remove some commented code.
15895 * buffer.C (runChktex): use LFUN_MESSAGE
15897 * ShareContainer.h: inherit privately from noncopyable
15899 * ParagraphParameters.[hC] (depth): inline it.
15901 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15903 (message): new method
15904 (messagePush): ditto
15905 (messagePop): ditto
15906 (show): init minibuffer
15907 (showState): direct call
15909 * LaTeX.[Ch]: inherit privately from noncopyable
15910 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15911 instead of WriteStatus.
15913 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15915 * BufferView_pimpl.C (buffer): don't init minibuffer
15916 (workAreaButtonPress): use LFUN_MESSAGE
15917 (workAreaButtonRelease): ditto
15918 (savePosition): ditto
15919 (restorePosition): ditto
15920 (MenuInsertLyXFile): ditto
15921 (workAreaExpose): don't init minibuffer
15922 (update): remove commented code, simplify
15924 * BufferView2.C (openStuff): use LFUN_MESSAGE
15925 (toggleFloat): ditto
15928 (copyEnvironment): ditto
15929 (pasteEnvironment): ditto
15934 (updateInset): remove some commented code
15936 * lastfiles.h: inherit privately from noncopyable
15939 * lyx_main.h: ditto
15941 * lyxlex_pimpl.h: ditto
15943 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15944 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15945 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15947 * LyXAction.h: inherit privately from noncopyable, add methods
15948 func_begin, func_end, returning iterators to the func map.
15950 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15951 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15952 (func_begin): new method
15953 (func_end): new method
15955 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15957 (copySelection): ditto
15958 (pasteSelection): ditto
15960 * BufferView.C: whitespace change
15961 * BufferView.h: inherit privately from noncopyable
15963 2001-04-16 Allan Rae <rae@lyx.org>
15965 * tabular-old.C (l_getline):
15966 * spellchecker.C (sc_check_word):
15967 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15968 an unrecognised preprocessor directive. So ensure they're wrapped.
15970 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15972 * src/exporter.C (Export): Give an error message when path to file
15975 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15977 * LaTeX.C (deplog): Always check that foundfile exists.
15979 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15982 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15984 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * tabular.[Ch] (getLabelList): implement new method
15988 * minibuffer.h: comment ouf setTiimer
15990 * minibuffer.C (ExecutingCB): constify res
15991 (peek_event): constify s
15992 (Set): constify ntext
15993 (Init): constify nicename
15995 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15997 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15998 (savePosition): use two params to Minibuffer::Set
15999 (restorePosition): ditto
16001 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16003 * lyx_main.C: include language.h
16005 * Makefile.am (lyx_main.o): add language.h
16007 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * CutAndPaste.C: include gettext.h
16015 * lyxfont.h: remove old hack with ON and OFF.
16018 * lyxfont.h: do not include language.h...
16023 * bufferview_funcs.C:
16029 * paragraph.C: ... but do it here instead
16031 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16033 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16035 * tabular.C: small reformat
16037 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16040 (BreakParagraph): ditto
16041 (SetOnlyLayout): ditto
16044 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16047 * lastfiles.C: removed most using decl, add std:: where needed
16049 * buffer.C: ws changes
16051 * MenuBackend.C (class compare_format): put into anon namespace
16052 (expand): constify label, names, action, action2
16055 * text.C (SingleWidth): constify font
16056 (IsBoundary): constify rtl2
16057 (GetVisibleRow): constify ww
16059 * LaTeX.C (deplog): constify logfile
16061 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16063 (workAreaExpose): constify widthChange, heightChange
16065 * lyxrow.C (par): moved
16068 * lyxrow.h: as inlines here
16070 * lyxfont.h (shape): moved from lyxfont.C
16071 (emph): moved from lyxfont.C
16073 * lyxfont.C (LyXFont): use initialization list for all
16075 (shape): move to lyxfont.h as inline
16076 (emph): move to lyxfont.h as inline
16079 2001-04-04 Juergen Vigna <jug@sad.it>
16081 * vspace.C: had to include stdio.h for use of sscanf
16083 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16086 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16087 independent of xforms.
16089 2001-04-02 Juergen Vigna <jug@sad.it>
16091 * spellchecker.C: fixed namespace placing!
16093 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16095 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16096 the LyXParagraph * is 0.
16098 2001-03-29 Juergen Vigna <jug@sad.it>
16100 * vspace.C: added support for %, c%, p%, l%.
16101 (stringFromUnit): added helper function.
16102 (asLatexString): changed to give right results for the %-values.
16104 * buffer.C: convert the widthp in a width%.
16106 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16108 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16111 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16112 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16114 * lyx_cb.[Ch]: see above.
16116 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16120 * lyx.[Ch]: replaced by figure_form.[Ch].
16124 * lyxfunc.C: changed headers associated with above changes.
16126 2001-03-27 Juergen Vigna <jug@sad.it>
16128 * BufferView_pimpl.C: set the temporary cursor right!
16130 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16132 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16134 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16136 * LString.h: removed "using std::getline"!
16138 * BufferView_pimpl.C (Dispatch): changes due to changes in
16139 InsetInclude::Params.
16141 * buffer.C (tag_name): removed redundant break statements as they were
16142 producing lots of warnings with my compiler.
16144 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16146 * LString.h: add "using std::getline" when using the real <string>.
16148 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16150 * buffer.C: removed bitset usage.
16151 PAR_TAG moved to an anonymous name space.
16152 (tag_name): new funtion, also in the anonymous namespace.
16153 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16154 (makeDocBookFile): clean code. Completed transition from string arrays
16156 (SimpleDocBookOnePar): code clean.
16158 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16160 * tabular.C: add some comments.
16162 2001-03-22 Juergen Vigna <jug@sad.it>
16164 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16165 compatibility read a bit and fixed bug with minipage in different
16168 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16170 * buffer.C (pop_tag): removed.
16171 (push_tag): removed.
16172 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16173 array replaced with vector. Added support for CDATA sections.
16174 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16176 (makeDocBookFile): XML conformant declaration of CDATA section,
16177 fixed bug related to <emphasis> in the first paragraph char.
16178 (sgmlOpenTag): exclude empty tags.
16179 (sgmlCloseTag): ditto.
16181 * buffer.h (pop_tag): removed.
16182 (push_tag): removed.
16184 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16186 * language.h (Languages): added size_type and size().
16188 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16190 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16191 response on compability reading of minipages. One probliem is that
16192 the old usage of minipages was «flertydig»
16194 * several files here and in subdirs: don't use static at file
16195 scope use anon namespaces instead.
16197 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16199 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16200 LaTeX output. This is necessary for Literate document
16203 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16205 * buffer.C: insert hfill when needed.
16207 * tabular.C (l_getline): use string::erase, small whitespace change.
16209 * BufferView_pimpl.C: try the anon namespace.
16210 * WorkArea.C: ditto
16212 2001-03-16 Juergen Vigna <jug@sad.it>
16214 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16215 otherwise it won't open options-dialogs.
16217 * buffer.C: honor pextraWidth(p) on converting minipages.
16219 * tabular.C (l_getline): changed the functions to strip trailing \r.
16221 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16223 * BufferView_pimpl.C:
16224 * minibuffer..C: added "using SigC::slot" declaration.
16226 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16228 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16234 * paragraph.C: ditto
16236 * lyxtext.h: NO_PEXTRA
16238 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16240 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16241 * ParameterStruct.h: ditto
16242 * ParagraphParameters.h: ditto
16243 * lyxparagraph.h: ditto
16245 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16247 * buffer.C: add compability for minipage alignment.
16248 (latexParagraphs): remove unwanted pextra check.
16250 * several files: remove CXX_WORKING_NAMESPACES
16252 * buffer.C (pop_tag): tie is in namespace boost
16254 * BufferView.h: noncopyable is in namespace boost
16256 * lyx_main.h: ditto
16259 * lastfiles.h: ditto
16260 * bufferlist.h: ditto
16261 * ShareContainer.h: ditto
16263 * LyXAction.h: ditto
16266 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16268 * Merging changes from BRANCH_MVC back into HEAD.
16270 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16272 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16274 * BufferView_pimpl.C: change from intl.C
16278 * Makefile.am: move combox.*
16284 * intl.C: remove dialog (covered by prefs)
16286 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16288 * lyxfunc.C (Dispatch): removed redundant break statement.
16290 2001-03-14 Juergen Vigna <jug@sad.it>
16292 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16294 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16296 * buffer.C: add hack to fix compability reading of minipages.
16298 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16300 * buffer.C (getLists): Cleanup.
16302 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16304 * lyxfont.C (update): don't honor toggleall on font size.
16306 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16310 * Makefile.am: moved to frontends/xforms/
16314 * BufferView_pimpl.C: changes for moved mathpanel
16316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16318 * gettext.h: fix gettext_init() in --disable-nls
16320 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16322 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16324 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16327 * lyx.h: strip external form
16329 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16331 * BufferView_pimpl.C: add comment, destroySplash()
16333 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16335 * BufferView_pimpl.C:
16339 * lyxfunc.C: use re-worked insetinclude
16341 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16343 * buffer.C: add using std::stringstream.
16345 * lyx_cb.C: readd using std::ios.
16347 * buffer.C: add using std::map.
16349 * BufferView_pimpl.C: add using std::vector.
16351 * ShareContainer.h: add std:: to swap.
16353 * buffer.h: add some typedefs
16354 * buffer.C (getLists): use them
16355 (getLists): renamed from getTocList.
16356 add a counter for the different float types and use it in the
16358 (getLists): use the same counter for the NEW_INSETS and the "non"
16361 * lyx_cb.h: remove unused items, includes, using etc.
16363 * ShareContainer.h: remove some commented code, add more comments
16364 and "documentation".
16366 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16368 * buffer.C (getTocList): make the list also when NEW_INSETS is
16371 * buffer.h: remove TocType
16373 * buffer.C (getTocList): change to return a map<string,
16374 vector<TocItem> >, implement for dynamic number of list.
16376 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16377 * text2.C (PasteSelection): adjust
16378 * CutAndPaste.C (pasteSelection): adjust
16380 * FloatList.C (FloatList): update from the new_insets branch.
16381 * Floating.[Ch]: ditto
16382 * LaTeXFeatures.C: ditto
16384 * lyxlex_pimpl.C: ditto
16386 * paragraph.C (Last): remove when NEW_INSETS is defined.
16388 * other file: changes because of the above.
16390 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16392 * lyxparagraph.h: rename next to next_, previous to previous_,
16393 make them private for NEW_INSETS. Rename Next() to next(),
16394 Previous() to previous().
16396 * other files: changes because of the above.
16398 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16401 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16404 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * main.C (main): pass lyx_localedir to gettext_init().
16408 * gettext.h: remove locale_init and gettext_init macros
16410 * gettext.C (locale_init): new function
16411 (gettext_init): new function
16413 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16416 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16418 * Moved credits to frontends:
16419 * credits.[Ch]: removed
16420 * credits_form.[Ch]: removed
16421 * lyx_gui_misc.C: remove credits stuff
16424 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16426 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16428 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16429 unneeded destructor.
16431 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16432 a standalone pointer again.
16434 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16436 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16442 * ToolbarDefaults.C:
16451 * BufferView_pimpl.C: use new file dialog in GUII
16454 * lyx_cb.C: remove LayoutsCB to Toolbar
16456 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * ShareContainer.h (get): add std:: qualifier
16460 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16462 * ShareContainer.h: define a proper ShareContainer::value_type
16463 type (and use typename to please compaq cxx)
16465 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16467 * lyxparagraph.h: move serveral local vars to
16468 ParameterStruct/ParagraphParameters., use ShareContainer in
16469 FontTable., make vars in FontTable private and add getter and
16472 * paragraph.C: changes because of the above.
16474 * lyxfont.h: remove copy constructor and copy assignment. (the
16475 default ones is ok), move number inside FontBits. move inlines to
16478 * lyxfont.C: add number to initializaton of statics, move several
16479 inlines here. constify several local vars. some whitespace
16480 cleanup. Dont hide outerscope variables.
16482 * Spacing.h: add two new constructors to match the set methods.
16484 * ShareContainer.h: new file, will perhaps be moved to support
16486 * ParameterStruct.h: new file
16488 * ParagraphParameters.h: new file
16490 * ParagraphParameters.C: new file
16492 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16493 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16495 * BufferView_pimpl.C: ParagraphParameter changes.
16496 * buffer.C: Likewise.
16497 * bufferview_funcs.C: Likewise.
16498 * text.C: Likewise.
16499 * text2.C: Likewise.
16501 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * lyxfind.C (LyXReplace): do not redefine default argument in
16505 (IsStringInText): ditto
16506 (SearchForward): ditto
16507 (SearchBackward): ditto
16509 2001-03-06 Juergen Vigna <jug@sad.it>
16511 * lyxfind.C (IsStringInText): put parentes around expressions.
16513 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16515 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16517 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16519 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16521 * stl_string_fwd.h: add comment
16523 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16526 * tabular.C: remove unused DocBook methods
16532 killed DO_USE_DEFAULT_LANGUAGE
16534 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * lyx_gui.C: do not include language.h.
16538 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16539 arguments in function implementation.
16541 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16543 * BufferView_pimpl.C: add <ctime>
16545 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16547 * BufferView_pimpl.C: add using std::find_if
16549 2001-02-27 José Matos <jamatos@fep.up.pt>
16551 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16554 2001-02-11 José Matos <jamatos@fep.up.pt>
16556 * buffer.C (makeDocBookFile): command styles now have a parameter as
16557 "title" by default.
16559 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16561 * layout_forms.[Ch]: removed
16562 * lyx_cb.[Ch]: out character
16563 * lyx_gui.C: out character
16564 * lyx_gui_misc.C: out character
16565 * bufferview_funcs.C: : out character,
16566 added toggleall as parameter in ToggleAndShow
16568 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16570 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16572 * text2.C (SetCurrentFont): Disable number property at boundary.
16574 2001-02-26 Juergen Vigna <jug@sad.it>
16576 * lyxfunc.C (getStatus): added a string argument override function so
16577 that this is correctly called from LyXFunc::Dispatch if it contains a
16578 do_not_use_argument which is used!
16579 (Dispatch): added check for "custom" export and call appropriate func.
16581 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16583 * lyxrc.C: Add language_command_local, language_use_babel and
16584 language_global_options.
16586 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16588 * buffer.C (makeLaTeXFile): Use language_use_babel and
16589 language_global_options.
16591 2001-02-23 Juergen Vigna <jug@sad.it>
16593 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16594 which works with LyXText and putted it inside BufferView. Here now we
16595 only call for that part the BufferView::Dispatch() function.
16597 * BufferView.C (Dispatch): added.
16599 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16600 functions which needs to use a LyXText over from LyXFunc.
16601 (MenuInsertLyXFile): added
16602 (getInsetByCode): added
16603 (moveCursorUpdate): added
16604 (static TEXT): added
16606 2001-02-22 Juergen Vigna <jug@sad.it>
16608 * BufferView_pimpl.C (update): call a status update to see if LyXText
16611 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16613 * vc-backend.C (revert): implement for CVS
16614 (getLog): implement for CVS
16616 2001-02-20 Juergen Vigna <jug@sad.it>
16618 * text2.C (ClearSelection): added BufferView param for inset_owner call
16620 * lyxfunc.C (TEXT): added this function and use it instead of
16621 directly owner->view()-text of getLyXText().
16623 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16625 * src/layout_forms.C: out preamble
16626 * src/layout_forms.h: out preamble
16627 * src/lyx_cb.C: out preamble
16628 * src/lyx_cb.h: out preamble
16629 * src/lyx_gui.C: out preamble
16630 * src/lyx_gui_misc.C: out preamble
16631 * src/lyxfunc.C: connect with guii preamble
16633 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16635 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16637 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16639 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16640 whether to run bibtex.
16642 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16644 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16646 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16648 * Makefile.am (lyx_SOURCES): removed bibforms.h
16650 * vspace.h: doxygen
16652 * text.C (GetVisibleRow): make several local vars const
16654 * tabular.C: small cleanup.
16656 * lyxserver.C (callback): use compare instead of strncmp
16658 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16659 inlines to after class or to paragraph.C
16661 * lyxfont.h: remove friend operator!=
16663 * converter.h: move friend bool operator< to non friend and after
16666 * combox.h: small cleanup
16668 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16669 to inlines after class def.
16671 * buffer.C (pop_tag): use string operations instead of strcmp
16673 * bmtable.c: doxygen, small cleanup
16675 * LaTeX.h: remove friend operator==
16677 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16689 * BufferView_pimpl.C:
16690 * BufferView.[Ch]: remove cruft
16692 2001-02-14 Juergen Vigna <jug@sad.it>
16694 * lyxfunc.C: removed #if 0 unused code
16696 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16698 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16700 * text2.C (SetSelection): added a BufferView * parameter
16702 2001-02-13 Juergen Vigna <jug@sad.it>
16704 * lyxfunc.C (Dispatch): fixed protected blank problem.
16705 * BufferView2.C (protectedBlank): added LyxText * parameter.
16707 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16708 (AppendColumn): same as above for column_info.
16710 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16711 (moveCursorUpdate): use a LyXText param for support of InsetText.
16713 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16714 (tripleClick): ditto
16716 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16718 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16720 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16722 * text2.C (SetSelection): set correct update status if inset_owner
16723 (ToggleFree): ditto
16725 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16727 * tabular.C: remove some commented code.
16729 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16731 * BufferView_pimpl.C: call hideSplash()
16733 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16736 * bibforms.h: remove
16739 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16740 add LFUN_CHILD_CREATE
16742 * counters.h: fix tiny typo
16747 * lyx.C: move splash to frontends/xforms/
16749 * lyx_gui_misc.C: move Include and Bibform to frontends
16751 * lyxvc.h: clarify comment
16753 * vspace.C: tiny housekeeping
16755 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16757 * text.C (PrepareToPrint): RTL Fix.
16759 * paragraph.C (GetUChar): New method.
16760 (String): Use GetUChar.
16762 * buffer.C (asciiParagraph): Use GetUChar.
16764 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16766 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16768 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16771 * buffer.C: rename to getLogName(), handle
16772 build log / latex log nicely
16774 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * MenuBackend.h: remove support for reference menuitem type.
16779 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16781 * BufferView_pimpl.C: housekeeping
16782 * BufferView_pimpl.h:
16787 * minibuffer.h: move Timeout GUI-I
16789 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16791 * lyxrc.C (read): Update converters data-structures.
16793 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16795 * LaTeX.h (operator!=): add operator != for Aux_Info
16797 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16799 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16801 * LaTeXLog.C: deleted, useful code moved to Buffer
16804 * buffer.C: new function getLatexLogName()
16810 * lyxfunc.C: use frontends for LaTeX and VC logs
16812 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16814 * LaTeX.h: yet another std:: that Allan forgot.
16816 * Variables.C (set): renamed from isset(), because this clashes
16817 with some HP-UX macros (grr).
16819 2001-02-06 Allan Rae <rae@lyx.org>
16821 * LaTeX.h: Another bug fix. Missing std:: this time.
16823 2001-02-04 Allan Rae <rae@lyx.org>
16825 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16826 floats problem. I've left it commented out because it's not quite
16827 correct. It should also test that the current object is a table or
16828 figure inset. But I haven't gotten around to figuring out how to do
16829 that. I *think* it'll be something like: "table" == inset.type()
16831 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16834 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16836 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16837 all the citation/databases/styles in the auxilary file.
16838 (run): Rerun latex if there was a babel language error.
16840 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16842 * text.C (Backspace): Preserve the font when changing newline char
16844 (BreakParagraph): If the cursor is before a space, delete the space.
16846 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16848 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16850 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16851 new argument (code).
16852 (ChangeCitationsIfUnique): New method.
16854 * paragraph.C (GetPositionOfInset): Handle bibkey.
16856 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16858 * BufferView_pimpl.h: change type of Position::par_pos to
16859 LyXParagraph::size_type.
16861 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16863 * BufferView_pimpl.C (savePosition, restorePosition): Write
16864 messages to minibuffer.
16866 2001-01-28 José Matos <jamatos@fep.up.pt>
16868 * buffer.C (makeDocBookFile): adds support for document language.
16869 A silly restriction on the name of LatexCommand types where removed.
16870 Added support for CDATA sections, allows to chars unescaped, used
16871 among others in code, to avoid escape < and >.
16873 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16875 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16876 saved positions instrad of a stack. Furthermore, a position is
16877 stored using paragraph id/paragraph position.
16879 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16880 Remove LFUN_REF_BACK.
16882 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16884 * converter.C (dvipdfm_options): New method.
16886 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16888 * vspace.C (isValidLength): Fix for empty input string.
16890 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16892 * LyXAction.C (init): change description of LFUN_FIGURE to
16895 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16897 * LaTeX.C: add using directive
16899 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16901 * MenuBackend.C (expand): Fix the sorting of the formats.
16903 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16905 * lyx_main.C: tiny error message fix
16907 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16909 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16910 calling fl_initialize(). This fixes the problem with ',' as
16911 decimal separator in text files.
16913 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16915 * trans.C (process): Fix the keymap bug.
16917 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16919 * LaTeX.C (scanAuxFiles): New method. Provides support for
16920 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16921 (scanLogFile) Scan for "run BibTeX" messages.
16923 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16924 OT1 font encoding. Also, load the aecompl package if the ae
16927 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16929 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16931 * texrow.C (increasePos): turn two error messages into debug
16934 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16936 * LaTeX.C (scanAux): Handle the \@input macro.
16937 (runBibTeX): Use scanAux().
16939 * language.C (latex_options_): New field.
16941 * LaTeXFeatures.C (getMacros): Add language macros.
16943 * buffer.C (makeLaTeXFile): Small fix.
16945 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16949 * text2.C: add a using directive.
16951 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16956 * lyxfunc.C: kill LyXBell.
16958 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16960 * text.C (IsBoundary): Remove the error message
16962 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16964 * lyxrc.C (setDefaults): Correct initialization value for
16967 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16969 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16972 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16973 and GotoNextNote().
16975 * src/LyXAction.C: Added reference-next.
16977 * text.C (InsertChar): Use contains instead of strchr.
16979 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16981 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16983 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16984 alignment commands (when needed).
16986 * text.C (InsertChar): Add ':' to number separator chars.