1 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
3 * lyx_main.C (init): Compile fix.
5 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
7 2005-01-20 Angus Leeming <leeming@lyx.org>
9 * mover.h: change commentary to reflect the changed meaning of
12 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * output_linuxdoc.C (linuxdocParagraphs): silence warning
16 * lyxfind.C (MatchString::operator()): remove bogus semicolon
18 2005-01-20 Angus Leeming <leeming@lyx.org>
20 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
21 printing diagnostic data by not dereferecing an iterator past the
24 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
26 * buffer.C (readHeader): use "&&" rather than "and".
28 * lyxserver.h (inPipeName, outPipeName): make these const.
30 2005-01-19 Angus Leeming <leeming@lyx.org>
32 * lyx_main.C (error_handler, init): protect SIGHUP with
35 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
39 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * text.C (setHeightOfRow): add a margin at the top and bottom of
42 the document (bug 1761)
44 2005-01-17 Angus Leeming <leeming@lyx.org>
46 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
47 with "python ". Workaround for a brain-dead Windows.
49 2005-01-16 Angus Leeming <leeming@lyx.org>
51 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
52 for MacOSX and Windows to use prependEnvPath.
53 Strip out the hard-coded block to add elements to the PATH for
54 MacOSX and replace it with a call to prependEnvPath using the
55 contents of LyXRC::path_prefix.
56 (queryUserLyXDir): strip out the code to run reconfigure, instead
57 returning a boolean indicating the necessity to do so.
58 (reconfigureUserLyXDir): contains the code to reconfigure the
59 user support directory. Is now called after the various LyXRC data
62 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
64 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * converter.[Ch] (convert): take a new parameter try_default. Use
67 a default converter (imagemagick) if try_default is true.
69 2005-01-13 Angus Leeming <leeming@lyx.org>
71 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
73 (write): output LyXRC::cygwin_path_fix as necessary.
75 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
78 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
80 2005-01-12 Angus Leeming <leeming@lyx.org>
82 * lyx_main.C (init): set the PATH variable to include the
83 directory containing the LyX binary when running on Mac or Windows.
85 2005-01-12 Angus Leeming <leeming@lyx.org>
87 * lyx_main.C (init): remove cruft that purports to set the locale
88 dir. It doesn't and is not needed anyway.
90 2005-01-10 Angus Leeming <leeming@lyx.org>
92 * Makefile.am: remove the lyx_main.C special casing.
100 * messages.C: use support/package.h to provide the paths to the
101 various directories used by LyX.
103 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
106 layout if pasting into an empty paragraph)
108 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
110 * tex-accent.C: add <string>
112 2005-01-06 José Matos <jamatos@lyx.org>
114 * ParagraphParameters.C (write): put every parameter in its own line.
115 * paragraph.C (write): reduce number of consecutive empty lines exported.
116 * buffer.C (LYX_FORMAT): increase file format to 239.
118 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
120 * everywhere: change support/tostr.h -> support/convert.h
122 * tabular.C: make all write_attributes templates, tostr -> convert
124 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
125 (emptyTag): and -> &&, and fix type for ret from getChar
126 (getFirstWord): fix type for ret from getChar
127 (onlyText): and -> &&
128 (simpleDocBookOnePar): and not -> && !, fix type for ret from
131 * toc.C (goTo, action):
132 * text3.C (dispatch):
133 * text.C (currentState):
134 * tex-accent.C (DoAccent):
137 * lyxfunc.C (menuNew):
138 * lyxfinc.C (replace):
139 * counters.C (laberItem):
140 * bufferview_funcs.C (font2string):
141 * bufferparams.C (writeFile):
142 * buffer.C (readFile):
144 * MenuBackend.C: tostr -> convert
146 * LaTeX.C (runMessage): fix format
147 (scanAuxFiles): tostr -> convert
149 * BufferView_pimpl.C (savePosition): fix format
150 (restorePosition): ditto
153 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * Spacing.[Ch]: New method getValueAsString().
159 * ParagraphParameters.C:
162 * text3.C: store/read spacing value as string.
164 * rowpainter.C: change float value (spacing_val) to double.
166 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
167 broken custom document spacing).
169 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
172 namespace, also more use of temp references and const
174 * cursor.[Ch] (getStatus): move to lyxfunc.C
176 * bufferparams.C: reformat slightly
178 * bufferview_funcs.C (font2string): constify arg
184 * buffer_funcs.C: (many funcs): constify arg on function
185 definitions, also make more local vars const, also add ASSERTS on
188 * buffer.C (LYX_FORMAT): put const in correct place
189 (many funcs): constify arg on function definitions, also make
190 more local vars const
192 * aspell_local.h: remove "struct" from typdef setup
194 * aspell.C (check): make word_ok const
195 (nextMiss): simplify slightly
198 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * lyxrc.[Ch]: store all float values as strings.
201 use int (not float) for lyxrc.dpi.
203 2005-01-04 Angus Leeming <leeming@lyx.org>
205 * lyx_cb.C (Reconfigure):
206 * lyx_main.C (queryUserLyXDir):
207 to run the <system_lyxdir>/configure correctly on Windows, prefix
208 the path to the script with "sh " when generating the string that
209 is passed to system().
211 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
213 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
215 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * lyxlength.C (asLatexString): get rid of setprecision
219 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * text2.C (setLayout): remove unused variable endpit.
222 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
224 * paragraph.C (onlyText): remove unused variable style.
226 * cursor.C (bruteFind): remove unused variables beg and end.
228 * Makefile.am (dist_noinset_DATA): not needed anymore
230 * cheaders/*: remove.
232 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * text3.C: fix LFUN_MATH_MODE.
236 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * buffer_funcs.C (countWords): new function. Counts words between
241 * BufferView_pimpl.C (getStatus, dispatch): handle
244 * LyXAction.C (init):
245 * lfuns.h: add LFUN_WORDS_COUNT.
247 2004-12-19 Angus Leeming <leeming@lyx.org>
249 * buffer.C (save): s/slashify_path/internal_path/.
251 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
253 * lyxfind.C (findChange): do not search for end of pars, because
254 the change tracker cannot handle this (fixes bug 1719).
256 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
258 * paragraph.[Ch] (autoBreakRows): remove
260 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
262 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
263 avoid using the paragraph one
265 * text2.C (LyXText, insertStringAsLines): adjust
267 2004-12-16 Angus Leeming <leeming@lyx.org>
271 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
273 2004-12-14 Angus Leeming <leeming@lyx.org>
275 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
277 * bufferlist.C (emergencyWrite):
278 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
281 2004-12-14 Angus Leeming <leeming@lyx.org>
283 * main.C: (main): no longer pass pointers to os::init.
285 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
287 * undo.C (textUndoOrRedo): simplify logic, fix a crash
288 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
290 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
293 * text3.C: remove selection_possible global flag
295 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
297 * text2.C (getSelectionSpan): remove
298 (changeDepth, changeDepthAllowed): adjust
300 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
302 * Makefile.am (BOOST_LIBS): use boost variables
304 2004-12-03 José Matos <jamatos@lyx.org>
306 * buffer.C: format up to 238.
308 2004-12-03 José Matos <jamatos@lyx.org>
310 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
312 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
314 * cursor.C (goUpDown): remove call to idxUpDown2
316 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * tabular.[Ch]: use size_t-like types for cell, row and column
321 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * lyxfunc.C (getStatus): do not lose previous information when
324 calling BufferView::getStatus; do not set a default "Command
325 disabled" message at the beginning, but just before returning.
327 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * cursor.h (getStatus): add better comment from src/cursor.C
331 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * text3.C (getStatus): return false when the lfun is not handled
335 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * broken_headers.h: remove
339 * Makefile.am (lyx_SOURCES): remove broken_headers.h
341 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
343 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
346 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
347 top_y_, merge fitcursor with update
348 (updateScrollbar, scrollDocView, fitCursor, center, update): new
351 (workAreaDispatch): adapt to new coord scheme
352 (redoCurrentBuffer): remove
354 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
356 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
359 * coordcache.[Ch]: add paragraph cache and helpers
361 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
364 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
365 (targetX, setTargetX): introduce
367 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
368 baseline -> ascent, as the rest of lyx
370 * lyxtext.h: remove redoParagraphs, updateParPositions,
371 fullRebreak, redoParagraphInternal. move dist to anon namespace in
372 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
373 have ascent/descent (ascent is ascent of first par)
375 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
378 * paragraph.[Ch]: unify dimension handling with the rest of lyx
380 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
382 * pariterator.C: fix infinite loop introduced in par->pit renaming
384 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
385 in insets and LyXText, draw two off-screen paragraphs using
386 NullPainter, and adapt to new coord scheme
390 * text3.C: adapt lfun handlers to the new coord scheme, which
391 means: there's only guaranteed coord information for onscreen pars
392 plus one above and one below. This implies that one can do search
393 from y coordinates in the range [-1,workHeight]
395 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
397 * rename a lot of InsetOld to InsetBase
399 2004-11-25 Angus Leeming <leeming@lyx.org>
401 * BufferView_pimpl.C:
403 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
405 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
408 call BufferView::getStatus if LCursor::getStatus did nothing
409 (setStatusMessage, getStatusMessage): removed.
411 * FuncStatus.C (message): new methods. Used to provide an error
412 message indicating why a command is disabled.
413 (clear, |=, FuncStatus): update for message.
415 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
417 * lyxfunc.C (dispatch): always call sendDispatchMessage
419 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
422 * BufferView_pimpl.C:
436 * undo.C: par->pit renaming
438 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
440 * tabular.C (cellstruct): use initialization, store a shared_ptr
441 to insettext instead of the insettext directly, adjust to fit.
442 (operator=): new function
444 (rowstruct): use initialization
445 (columnstruct): use initialization
446 (ltType): use initialization
449 * lyxlength.h (swap): new function
451 * LColor.[Ch] (operator=): use the common semantics
453 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * lyxfind.C (findNextChange): update the bufferview after setting
458 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
461 number of InsetOptArgs has already been inserted.
463 * output_latex.C (latexOptArgInsets): new method. This outputs all
464 the optarg insets, up to the limit defined in the layout file.
465 (optArgInset): removed
466 (TeXOnePar): call latexOptArgInsets; correctly update texrow
468 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * paragraph.C (isLetter): remove special spellchecker-related
471 code; return true also for digits
472 (isWord, isKomma): remove
474 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
475 * lyxfind.C (MatchString()): use isLetter instead of isWord
477 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
479 * pariterator.h (operatir=): comment out un-implemented member
482 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
485 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
487 * lyxfont.h: include LColor.h to satisfy concept checks.
489 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
491 * pariterator.h: add typdefs for value_type, difference_type,
492 pointer and reference to satisfy concept checks. Also add default
493 constructor for same reason.
495 * pariterator.C (operator++): add post-increment operator to
496 satisfy concept checks.
498 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
501 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
503 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
504 checks. Also rename base_type to BaseType to follow naming
507 * FloatList.h: include Floating.h to satisfy concept checks.
509 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * lyxfunc.C (getStatus): when the origin of the request is menu or
512 toolbar, and the LyXView does not have focus, do as if there was
515 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
516 FuncRequest to individual entries of LFUN_SEQUENCE
518 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * output_latex.C (TeXOnePar): override runparams.moving_arg
521 according to the needprotect value of the current paragraph (bug
524 * paragraph.C (simpleTeXOnePar): no need to override
525 runparams.moving_args here
527 2004-11-14 John Spray <spray_john@users.sourceforge.net>
529 * vspace.C: fix off-by-one-error, related to fix #1682
531 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * lengthcommon.C: a more general fix for bug 1682
535 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
537 * text.C (backspace): fix crash
539 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
541 * format.[Ch] (getFormatFromFile): new method
542 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
544 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
548 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * lyxfunc.C (dispatch): remove the verbose argument
551 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
554 * kbmap.C (defkey): set the origin of func to KEYBOARD
556 * MenuBackend.C (MenuItem):
557 * ToolbarBackend.C (add): set the origin of func to UI
559 * funcrequest.[Ch]: add origin member, which indicates which part
560 of LyX requests an action
562 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * converter.C (move): don't lie in the error message
565 * converter.h (isReachable, move): document
567 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
569 * buffer.C: remove unused using lyx::support::atoi
570 * paragraph_funcs.C: ditto
572 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
574 * bufferlist.C (exists): use bind and equal_to instead of
577 * lyxtextclasslist.C (NumberOfClass): ditto
579 * cursor.C (insert): use for_each instead of explicit for loop
581 * bufferlist.C (getFileNames): use std::transform and
582 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
584 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
587 * buffer.C (changeLanguage): use for_each instead of explicit for
589 (hasParWithID): implement using getParFromID
591 * LaTeXFeatures.C: ws change only
593 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
596 * BufferView_pimpl.C (trackChanges): use for_each instead of
599 2004-11-04 André Pönitz <poenitz@gmx.net>
602 * undo.C (textUndoOrRedo): fix crash when creating undo information.
604 * dociterator.C (asDocIterator): use hard assert again.
606 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * lyxlength.C (asLatexString): rewrite so that it does not use
611 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * text3.C (specialChar, dispatch): make sure cursor moves to the
614 right after inserting an inset
616 2004-11-02 José Matos <jamatos@lyx.org>
618 * output_docbook.C (docbook):
619 * paragraph.C (getID):
620 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
621 garantee that the output is always legal.
623 * tabular.C (docbook):
624 * outputprams.[Ch]: remove mixed contents.
626 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * text2.C (setCounter): prevent endless loop
630 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
632 * exporter.C (copyFile): use the mover instead of support::copy()
633 * exporter.C (Export): pass format and latex name to copyFile()
634 * exporter.h (addExternalFile): document
635 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
637 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
639 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
641 2004-10-30 José Matos <jamatos@lyx.org>
643 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
644 text and no inset or font change. This allows to use CDATA
645 sections just for the whole paragraph.
647 2004-10-30 José Matos <jamatos@lyx.org>
649 * paragraph.C (getFirstWord): remove unused variable.
651 2004-10-30 José Matos <jamatos@lyx.org>
653 * paragraph.C (getFirstWord): the content should always be escaped
655 (simpleDocBookOnePar):
656 * output_docbook.C (makeEnvironment): replace reference to CDATA
659 2004-10-30 José Matos <jamatos@lyx.org>
661 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
663 2004-10-30 José Matos <jamatos@lyx.org>
665 * output_docbook.C (makeParagraphs):
666 * paragraph.[Ch] (emptyTag): for docbook and company, if the
667 standard paragraph has only a given type of content drop the wrapper.
669 2004-10-29 José Matos <jamatos@lyx.org>
671 * output_docbook.C (makeEnvironment):
673 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
675 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
677 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
678 (cleanID): sanitize any id.
680 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
682 * buffer.C, lyxlex_pimpl.C:
683 * lyxlex_pimpl.C (setFile):
684 s/getExtFromContents/getFormatFromContents/
686 2004-10-28 José Matos <jamatos@lyx.org>
688 * output_docbook.C (makeEnvironment): move id to broadest possible
691 * sgml.C (openTag): apply substitution of <> for all attributes.
693 2004-10-28 José Matos <jamatos@lyx.org>
695 * buffer.C (makeLinuxDocFile, makeDocBookFile):
696 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
697 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
699 * sgml.[Ch]: new version for open and closeTag for paragraph and
700 for strings. Now they handle the ids of paragraphs.
702 2004-10-26 Angus Leeming <leeming@lyx.org>
704 * Makefile.am: add mover.[Ch].
706 * converter.C (convert, move): use the new Movers to move external
707 files to the temp directory.
709 * lyx_main.C (init): ensure that the global system_movers data
712 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
715 * mover.[Ch]: new files, defining a Mover as a utility to move an
716 external file between directories and, if necessary, manipulate this
717 file using a helper script.
719 2004-10-25 José Matos <jamatos@lyx.org>
721 * output_docbook.C (makeCommand): merge two if's that tested the
724 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * sgml.C (escapeString): fix warning in a better way
728 2004-10-25 José Matos <jamatos@lyx.org>
730 * sgml.C (escapeString): import the require boosts header file for
731 tie, and avoid a signed unsigned comparison.
733 2004-10-25 José Matos <jamatos@lyx.org>
735 * sgml.h: add #include <string>
737 2004-10-25 José Matos <jamatos@lyx.org>
739 * sgml.[Ch] (escapeString): new function to escape all the string.
741 2004-10-24 José Matos <jamatos@lyx.org>
743 * paragraph.[Ch] (getFirstWord): new function to get the first
744 word. Useful for description.
745 (simpleDocBookOnePar): remove depth argument, add another that
746 says where to start the paragraph.
748 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
749 use the new functions to fix cleanly the support for descriptions.
751 2004-10-24 José Matos <jamatos@lyx.org>
753 * buffer.C (makeLinuxDocFile, makeDocBookFile):
754 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
755 * output_linuxdoc.C (linuxdocParagraphs):
756 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
757 add buffer as argument.
759 2004-10-24 José Matos <jamatos@lyx.org>
761 * output_docbook.C (makeEnvironment, searchEnvironment): place
762 CDATA inside paragraphs and fix scope for listitems.
764 2004-10-24 José Matos <jamatos@lyx.org>
766 * output_docbook.C: remove using statement for stack.
768 2004-10-23 José Matos <jamatos@lyx.org>
770 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
771 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
772 docbook. The new scheme is recursive and makes use of iterators, the
773 same as latex export works.
774 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
775 directly with the paragraph contents. This code was moved up to
776 output_docbook.C (docbookParagraphs).
777 * sgml.C (openTag, closeTag): removed unneeded newlines.
778 (closeEnvTags) removed.
780 2004-10-23 André Pönitz <poenitz@gmx.net>
782 * undo.C (textUndoOrRedo):
783 * dociterator.C (asDocIterator): work around crash
785 * cursor.C (getStatus): replace ASSERT by more verbose error message
786 and manual correction of the problem. Should increase stability
787 while providing more sensible information.
789 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
793 * bufferlist.C (previous, next): new methods
796 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
798 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
800 * buffer.C (makeDocBookFile): add dsssl stylesheet control
801 entities to preamble.
803 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
805 * messages.C (Pimpl): strip off translation context information
807 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
810 the cursor is correct (bug 1694)
812 2004-10-13 José Matos <jamatos@lyx.org>
814 * output_docbook.C (docbookParagraphs): fix closing tags in the
817 2004-10-09 José Matos <jamatos@lyx.org>
819 * buffer.C: format up to 237.
820 * bufferparams.C (write): use tostr to convert booleans to strings.
822 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
824 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
826 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
828 * LaTeX.C: implement use of babel language in xindy.
830 2004-10-05 José Matos <jamatos@lyx.org>
832 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
833 Add new translators to help reading and writing the lyx file.
835 2004-10-05 José Matos <jamatos@lyx.org>
837 * ParagraphParameters.C (read):
838 * text.C (readParToken): replace nexToken by more appropriate lex
841 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
843 * LaTeX.C (runMakeIndex):
844 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
845 (usually 'makeindex') configurable.
847 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
848 with a variable rather than with a number.
850 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * output_latex.C (TeXOnePar): make sure font setting is the first
853 thing that gets output (and the last at the end). Should fix bug
856 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
858 * pch.h: use proper signal include
860 * LaTeX.h: Use preferred calling of Boost.Signal
863 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
865 * pch.h: dont include <boost/function/function0.hpp>
867 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
869 * paragraph_pimpl.h: remove usage of ShareContainer
871 * paragraph_pimpl.C: remove initialization of ShareContainer.
873 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
877 * BufferView.C (putSelectionAt): change the semantics when
878 backwards == true: now, this just swaps cursor and anchor wrt the
881 * BufferView.h (putSelectionAt): add some documentation
883 * lyxfind.C (findBackwards): rewrite using while(). In particular,
884 make sure backwardChar is done at least once (to avoid getting
886 (findNextChange): use putSelectionAt in the forward direction
887 (operator()): use Paragraph::isWord
889 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * Spacing.C (set): c_str fix
893 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * lyx_cb.C (Reconfigure): quote the name of configure script in
896 case it contains spaces
898 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
902 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
903 (BOOST_LIBS): use top_buildir when looking for the file
905 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
907 * pch.h: do not use include boost/format.hpp, multiple symbols
908 will result (gcc bug)
911 2004-08-23 José Matos <jamatos@lyx.org>
913 * bufferparams.C (readToken): fix reading of the author field.
915 2004-08-20 José Matos <jamatos@lyx.org>
917 * lyxrc.C: remove support/translator.h inclusion since it is not used.
919 2004-08-20 José Matos <jamatos@lyx.org>
921 * lyxlex.[Ch] (findToken): remove function.
923 * ParagraphParameters.C (findToken):
924 * bufferparams.C (findToken): replace call for previous function
925 with local copy. This local function has one more argument, the
926 read string argument.
928 2004-08-16 José Matos <jamatos@lyx.org>
930 * ParagraphParameters.C (write):
931 * Spacing.C (writeFile):
932 * bufferparams.C (writeLaTeX):
933 * lyx_cb.C (Reconfigure):
934 * paragraph.C (write):
935 * tabular.C (write): remove unnecessary space at end of line.
938 2004-08-16 José Matos <jamatos@lyx.org>
940 * text.C (readParagraph): remove debug message.
942 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
947 * output_plaintext.C (asciiParagraph): set depth correctly
949 * outputparams.h: add member depth
951 * paragraph_funcs.C (ownerPar): remove.
953 * text2.C (setCounter): remove first_pit; comment out some
954 non-working code that uses ownerPar
956 * BufferView.C (getParentLanguage): remove. Not used anymore, and
959 2004-08-16 José Matos <jamatos@lyx.org>
961 * text.C (readParToken, readParagraph, read): report all unknown tokens.
962 For the same level of importance use the same chanel to report problems.
963 (read): add code to deal with \begin_body and \end_body.
966 2004-08-15 José Matos <jamatos@lyx.org>
968 * lyxlex.C (getString): fix comment, buffer::readBody is now
971 * tex-strings.C (string_papersize): Default -> default,
972 Custom -> custom, for consistency with other options.
974 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
978 * Makefile.am: support pch
980 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
982 * text.C (readParToken): remove the static LyXFont variable and
983 pass it as a parameter instead. This fixes a nasty bug where an
984 inset will be inserted with a bad font in some situations
985 (readParagraph): adapt
987 * text2.C (setCounter): reduce number of calls to pars_[pit]
989 * text.C (singleWidth): add an assert, fix a test
991 * rowpainter.C (paintText): reduce number of calls to singleWidth
993 * paragraph.C (isHfill):
996 2004-08-14 André Pönitz <poenitz@gmx.net>
1001 * lyxtext.h (several functions): use a Paragraph & argument
1004 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1008 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1010 * text.C (singleWidth): remove useless test
1012 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * tabular.h: remove bogus comments
1016 * tabular.C (getDescentOfRow):
1017 (isPartOfMultiColumn): add assertions
1019 * lyxlength.C (inPixels): remove #warning
1021 2004-08-14 André Pönitz <poenitz@gmx.net>
1023 * paragraph.h: inline getChar()
1025 * BufferView.h: remove unused declarations
1027 2004-08-14 José Matos <jamatos@lyx.org>
1029 * Buffer.[Ch] (readDocument): new name for old readBody.
1030 * Buffer.C: new file format, new keywords: \begin_document,
1031 \begin_header, \begin_body, \end_body.
1033 * bufferparams.C (readToken): replace all calls to lex.nextToken
1034 by lex.next(). Do the same to eatLine except where really needed.
1036 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1037 line when writing to the lyx file.
1039 * output_plaintext.C (asciiParagraph): fix Bibliography style
1042 * text.C (read): fix end of file handling.
1044 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1046 * MenuBackend.C (Menu::operator[]): new method to access
1047 individual menu items
1048 (Menu::hasFunc): new method. search for an item that corresponds
1050 (MenuBackend::specialMenu): new method
1051 (MenuBackend::expand): if a special menu has been set, skip
1052 entries whose func() appears in this menu
1054 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1056 * text3.C: use Debug::DEBUG a bit more
1058 * text.C (leftMargin): try to simplify a tiny bit change var x to
1059 l_margin. Dont output the wide margins always.
1060 (rightMargin): no margin in inner texts
1062 * rowpainter.h (nestMargin): new func
1063 (changebarMargin): new func
1064 (rightMargin): new func
1066 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1070 * factory.C (createInset): modify setDrawFrame
1072 * cursor.C: use Debug::DEBUG a bit more
1074 2004-08-14 André Pönitz <poenitz@gmx.net>
1077 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1078 cache for all insets in (at least partially) visible (top-level)
1081 * BufferView_pimpl.C: reset external coord cache before every update.
1082 This means the coord cache only contains valid entries.
1084 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1087 * BufferView_pimpl.C (getInsetByCode): move function out of class
1088 and change in to a template in anon namespace. Also fix to do what
1091 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1094 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1096 (breakParagraph): rename par to par_offset and use a local
1097 reference. Add code to keep the language over a rebreak.
1098 (breakParagraphConservative): rename par to par_offset, use a
1100 (mergeParagraph): ditto
1102 (isFirstInSequence): ditto
1103 (outerFont): rename pit to par_offset
1105 * paragraph.C: ws change
1106 * paragraph.h: ditto
1110 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1112 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1115 * paragraph.C (simpleTeXOnePar): when we have a \item with
1116 optional argument, enclose the argument with curly brackets (in
1117 case it contains a closing square bracket)
1121 * text3.C (checkInsetHit): constify
1123 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1126 documents (bug 1629)
1128 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1130 Fix toggling of collapsable insets with the mouse (bug 1558)
1132 * lyxfunc.C (dispatch): adapt to LCursor changes
1134 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1135 make sure that dispatch is not invoked twice
1137 * cursor.C (needsUpdate): new method
1138 (dispatch): return void
1139 (result): new method, to access the DispatchResult of the cursor.
1141 2004-08-13 José Matos <jamatos@lyx.org>
1143 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1145 2004-08-13 André Pönitz <poenitz@gmx.net>
1147 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1149 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1152 2004-08-12 André Pönitz <poenitz@gmx.net>
1154 * text3.C: take out the 'cursor right' form insertInset and only
1155 do it in those places when it is really needed. Fixes crash on
1158 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1160 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1162 * BufferView_pimpl.C (setBuffer): initialize the current font of
1163 the underlying LyXText
1165 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * kbsequence.C (print): use UI native formatting for menu
1170 * text.C (insertChar): call Paragraph::insertChar with a font
1173 * paragraph.C (insertInset, insertChar): the version that takes a
1174 LyXFont argument is now a wrapper around the other one (the
1175 opposite used to be true).
1177 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1178 argument. Font setting is done in Paragraph now.
1180 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * outputparams.h: add new members intitle and lang.
1184 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1185 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1187 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1189 * text3.C (dispatch): remove special handling of button 4 and 5,
1190 it is now taken care of in the frontend code.
1192 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1194 * Spacing.h: add <string> (STLPort compile fix)
1196 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1198 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1200 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1202 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1205 * converter.C (showMessage): inherit from unary_function, make
1208 * buffer.C (writeFile): initialize retval
1210 * InsetList.h: rename private variable list to list_
1211 * InsetList.[Ch]: adjust accordingly.
1213 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1215 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1216 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1217 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1218 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1219 * ParagraphParameters.C, LaTeXFeatures.C: replace
1220 "support/std_sstream.h" with <sstream>
1222 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1224 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1225 * lyxsocket.C (LyXServerSocket): ditto
1226 (serverCallback): ditto
1228 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1230 * LaTeXFeatures.C: check release date when loading jurabib.
1232 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1234 * lyxserver.C (startPipe): call register_socket_callback
1235 (endPipe): call unregister_socket_callback
1237 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1239 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1240 (LyXServerSocket): register the callback
1241 (LyXServerSocket): unregister the callback
1242 (fd): delete function
1243 (serverCallback): improve error checking and setup the callbacks.
1244 (dataCallback): change arg to fd.
1245 (writeln): new func (copied fro the client socket) used for server
1247 (LyXDataSocket): simplify
1248 (~LyXDataSocket): close ann unregiser callback
1249 (server): delete function
1250 (fd): delete function
1251 (readln): small changes, improve some std::string usage
1252 (writeln): constify a bit
1254 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1256 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1259 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1262 after it has been populated
1264 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1266 * text2.C (insertInset): move cursor when inserting inset.
1268 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * kbmap.C (findbindings): a couple of new methods. returns a
1271 container of kb_sequence objects. The real work is done by the
1272 private recursive version
1273 (printbindings): uses findbindings to print out a bracketed list
1274 of bindings (renamed from findbinding).
1276 * MenuBackend.C (binding): use kb_keymap::findbindings
1278 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1280 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1284 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1286 * paragraph.C (isWord): return true on insets that report
1289 * text.C (getWord): use Paragraph::isWord to decide what is in a
1290 word and what is not; fix bug 1609.
1292 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1294 * tex-strings.C: add "none" to string_paperpackages[], fixes
1295 off-by-one-error in the paperpackage selection.
1298 * tex-strings.[Ch]: char const * string[n]
1299 -> char const * const string[]
1301 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1303 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1304 command, return early.
1306 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1308 * debug.h: add DEBUG to enum and fix size of ANY.
1310 * debug.C: add support for Debug::DEBUG
1311 (showTags): cast errorTags.level to unsigned int
1313 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1314 (redoCurrentBuffer): ditto
1315 (updateScrollbar): ditto
1316 * cursor.C (dispatch): ditto
1317 * text2.C (setLayout): ditto
1319 (updateCounters): ditto
1321 (deleteEmptyParagraphMechanism): ditto
1323 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1325 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1326 annotations to cleanup the Makefile slightly.
1328 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * lyxrc.C: do not set user_email to a default value but use empty
1331 instead. The entry used to be translated, which does not work
1332 since at the point where lyxrc is constructed there is no
1333 translation service available
1335 * messages.C (getLocaleDir): remove and use directly
1336 lyx_localedir() instead
1338 2004-06-02 Angus Leeming <leeming@lyx.org>
1340 Fix crash caused by dereferencing null pointer 'exportdata' in
1341 OutputParams by creating a new ExportData variable on the heap,
1342 storing it in a boost::shared_ptr.
1343 The crash was triggered when generating an Instant Preview
1344 of an external inset.
1346 * Makefile.am: add outputparams.C
1348 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1349 (c-tor): allocate memory to it.
1351 * exporter.C (c-tor): associated changes.
1353 2004-06-01 Angus Leeming <leeming@lyx.org>
1355 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1356 contains data before calling isInset(0). (Bug 1513.)
1358 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1360 * exporter.C (checkOverwrite): new method
1361 * exporter.C (copyFile): new method
1362 * exporter.C (Export): copy referenced files to the document dir
1363 * exporter.[Ch]: new class ExportedFile
1364 * exporter.[Ch]: new class ExportData. Contains currently the
1365 names of referenced external files
1366 * outputparams.h: add exportdata member.
1368 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1370 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1373 2004-05-19 Angus Leeming <leeming@lyx.org>
1378 * lyxfunc.C: small changes due to the introduction of namespace
1379 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1381 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1383 * text3.C (dispatch): supress update when only moving the cursor
1384 * cursor.C (selHandle): remove commented code
1386 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1388 * paragraph.C (startTeXParParams): correct column count
1389 * CutAndPaste.C (pasteSelection): remove const_cast
1390 * output_docbook.C (docbookParagraphs): remove const_cast
1391 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1392 const_cast and return ParagraphList::const_iterator
1393 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1394 * output_plaintext.C (writeFileAscii): remove const_cast
1395 * paragraph.[Ch] (simpleTeXOnePar): make const
1396 * paragraph_funcs.C (outerPar): use const iterators
1397 * paragraph_pimpl.C (validate): use const iterators
1398 * text.C (setHeightOfRow): use const iterators
1400 2004-05-17 Angus Leeming <leeming@lyx.org>
1403 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1405 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1406 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1407 if the citation engine has changed.
1409 2004-05-14 José Matos <jamatos@lyx.org>
1411 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1412 if the textclass does not provide it. Have it different for sgml and
1414 support the language of document.
1415 * output_docbook.C (docbookParagraphs):
1416 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1417 first anchor as the id of the paragraph, remove special case code.
1418 * sgml.C (escapeChar): escape only < & >.
1420 2004-05-14 Angus Leeming <leeming@lyx.org>
1422 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1423 dependencies on src/frontends/controllers/biblio.h. Define a
1424 CiteEngine_enum wrapper class to enable the enum to be forward
1427 2004-05-12 Angus Leeming <leeming@lyx.org>
1429 * buffer.C: up LYX_FORMAT to 234.
1430 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1431 use_numerical_citations with a single biblio::CiteEngine cite_engine
1433 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1435 2004-05-13 José Matos <jamatos@lyx.org>
1438 * converter.C (Converter, readFlags): add xml member.
1439 * outputparams.h: add XML flavor.
1440 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1442 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * lyxfunc.C (dispatch):
1445 (getStatus): fix handling of LFUN_SEQUENCE
1447 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * debug.C (showLevel): do not forget the end-of-line marker
1451 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * kbmap.C (read): do not stop parsing a bind file when an error
1456 2004-04-29 Angus Leeming <leeming@lyx.org>
1461 * text2.C: wrap a bunch of #warning statements
1462 inside #ifdef WITH_WARNINGS blocks.
1464 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1466 * buffer.C: increment format to 233.
1468 2004-04-28 Angus Leeming <leeming@lyx.org>
1470 * BufferView_pimpl.C:
1473 s/updateToolbar()/updateToolbars()/
1474 s/Toolbar.h/Toolbars.h/
1476 2004-04-28 Angus Leeming <leeming@lyx.org>
1478 * BufferView.[Ch] (c-tor):
1479 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1480 No longer passes these data to the WorkArea generator.
1482 2004-04-28 Angus Leeming <leeming@lyx.org>
1484 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1486 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1488 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1490 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1492 * output_latex.C (TeXEnvironment): make sure that there is a line
1493 break before \end{foo} for the last paragraph of a document
1494 (TeXOnePar): if the paragraph is at the end of the document (or
1495 inset) and the language has to be reset, then make sure that the
1496 line break is _before_ the language command, not after (fixes bug
1497 1225); also make sure that the language reset command is the first
1498 thing after the paragraph (to ensure proper nesting of
1499 environments and thus fix bug 1404)
1501 2004-04-21 John Levon <levon@movementarian.org>
1504 * ToolbarBackend.C: make "name" be a programmatic name
1505 and a gui_name field.
1507 * lyxfunc.C: display the minibuffer on M-x
1509 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1514 2004-04-19 Angus Leeming <leeming@lyx.org>
1516 * BufferView_pimpl.C (setBuffer): changed preview interface.
1518 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1521 2004-04-19 John Levon <levon@movementarian.org>
1523 * BufferView_pimpl.C:
1524 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1526 2004-04-05 Angus Leeming <leeming@lyx.org>
1528 * text.C (redoParagraphs): add call to updateCounters(), thereby
1529 fixing the missing "Figure #:" label from the caption of a
1532 2004-04-13 Angus Leeming <leeming@lyx.org>
1534 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1535 cursor is clicked out of an inset.
1537 2004-04-13 Angus Leeming <leeming@lyx.org>
1539 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1540 than an InsetOld one.
1542 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1544 * format.[Ch]: add editor to Format
1545 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1546 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1548 2004-04-08 André Pönitz <poenitz@gmx.net>
1550 * metricsinfo.h: remove PainterInfo::width member
1552 2004-04-08 Angus Leeming <leeming@lyx.org>
1554 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1555 "\providecommand" rather than "\newcommand", thereby preventing
1556 clashes with packages that define "\boldsymbol" themselves.
1559 2004-04-08 Angus Leeming <leeming@lyx.org>
1561 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1562 thereby squashing an unnecessary warning.
1564 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1566 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1569 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1571 * BufferView.C (setCursor): call redoParagraph (some insets could
1573 (putSelectionAt): remove the 'double update' trick
1575 * BufferView_pimpl.C (fitCursor): call refreshPar
1576 (workAreaDispatch): remove an uneeded update call
1577 (dispatch): remove some manual update calls
1579 * cursor.[Ch]: remove cached_y_, updatePos
1580 (selHandle): set noUpdate when appropriate
1582 * lyxfunc.C (dispatch): track if we need an update
1584 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1586 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1587 (paintSelection): cheap optimization, do not call cursorX when not
1589 (paintPars): change signature
1592 (paintTextInset): adjust
1596 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * lengthcommon.C: compilation fix: remove explicit array size from
1599 unit_name[] and friends
1601 2004-04-05 Angus Leeming <leeming@lyx.org>
1603 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1605 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1606 present only for the preferences dialog.
1607 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1609 2004-04-05 Angus Leeming <leeming@lyx.org>
1611 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1612 to enable the frontends to export changes to lyxrc correctly.
1614 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1616 2004-04-07 André Pönitz <poenitz@gmx.net>
1618 * cursor.[Ch] (selClear, adjust): remove math
1620 * cursor_slice.C: more agressive assert
1623 * BufferView_pimpl.C: rework mouse event dispatch
1630 2004-04-05 André Pönitz <poenitz@gmx.net>
1632 * cursor.[Ch] (valign, halign...): remove unneeded functions
1634 2004-04-05 Angus Leeming <leeming@lyx.org>
1636 * lyxlength.[Ch] (unit_name et al.): const-correct.
1638 2004-04-05 Angus Leeming <leeming@lyx.org>
1640 * BufferView_pimpl.C:
1649 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1651 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1653 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1655 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1657 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1658 * BufferView_pimpl.[Ch] (getStatus)
1659 * BufferView.[Ch] (getStatus): add
1660 * lyxfunc.C (getStatus): move lfuns handled in
1661 BufferView::dispatch to te function above
1662 * Cursor.C (setSelection): set selection() = true
1664 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1666 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1668 2004-03-31 Angus Leeming <leeming@lyx.org>
1670 * lyxfunc.C (dispatch): Fall through to the generic
1671 Dialogs::show("preamble").
1673 2004-03-31 Angus Leeming <leeming@lyx.org>
1675 * lyxfunc.C (dispatch): Fall through to the generic
1676 Dialogs::show("spellchecker").
1678 2004-03-31 Angus Leeming <leeming@lyx.org>
1680 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1683 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1688 * insetiterator.[Ch]:
1693 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1695 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1697 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1698 insets where we are putting the cursor.
1700 2004-03-31 Angus Leeming <leeming@lyx.org>
1703 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1705 * lyxrc.[Ch] (read, write): overloaded member functions taking
1706 a std::[io]stream arguments.
1708 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1710 2004-03-31 Angus Leeming <leeming@lyx.org>
1712 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1713 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1715 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1716 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1718 2004-03-31 Angus Leeming <leeming@lyx.org>
1720 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1721 the LFUN_ALL_INSETS_TOGGLE code.
1723 2004-03-30 Angus Leeming <leeming@lyx.org>
1725 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1726 has died. Fall through to the generic Dialogs::show("document").
1728 2004-03-30 Angus Leeming <leeming@lyx.org>
1731 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1732 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1734 * lyxfunc.C (getStatus, dispatch): define the actions for these
1735 lfuns. Little more than a cut and pste job from ControlDocument.C
1737 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1739 2004-03-30 Angus Leeming <leeming@lyx.org>
1742 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1743 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1745 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1746 open/closed state of ollapsable insets. Usage:
1748 all-inset-toggle <state> <name>, where
1749 <state> == "open" || "closed" || "toggle" and
1750 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1752 * lyxtext.h, text2.C (toggleInset): removed.
1754 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1755 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1756 now passes LFUN_INSET_TOGGLE to the found inset.
1758 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1759 is now invoked as "all-insets-toggle toggle branch".
1761 2004-03-30 Angus Leeming <leeming@lyx.org>
1765 * pariterator.[Ch]: added/corrected header blurb.
1767 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1769 * dociterator.[Ch]: add an inset_ member
1770 (backwardPos): implemented
1771 (backwardPos, forwardPos): use inset_ when the stack is empty.
1772 (doc_iterator_begin, doc_iterator_end): implemented
1773 * pariterator.[Ch]: adjust, add begin, end
1774 * insetiterator.[Ch]: adjust, add begin, end
1778 * BufferView_pimpl.C:
1779 * CutAndPaste.C: adjust
1781 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1783 * buffer.C: increment file format to 232.
1784 * LaTeXFeatures.C: add bibtopic package.
1785 * bufferparams.[Ch]: param \use_bibtopic.
1787 * lyxrc.[Ch]: add lyxrc bibtex_command
1788 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1790 * buffer.C: increment file format to 231.
1792 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1794 * dociterator.C: implement forwardPar
1795 * iterators.[Ch]: remove, replaced by
1796 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1798 * BufferView_pimpl.C:
1801 * bufferview_funcs.C:
1807 * Makefile.am: adjust
1809 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1811 * CutAndPaste.C (pasteSelection): fix 2 crashes
1812 (eraseSelection): fix a crash
1813 * paragraph_funcs.C: remove a warning
1815 2004-03-28 Angus Leeming <leeming@lyx.org>
1818 * LyXAction.C (init): new LFUN_PRINT.
1820 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1822 2004-03-27 Angus Leeming <leeming@lyx.org>
1825 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1827 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1829 2004-03-27 Angus Leeming <leeming@lyx.org>
1831 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1832 insetlist always contains non-null pointers to insets.
1834 2004-03-26 Angus Leeming <leeming@lyx.org>
1836 * src/BufferView_pimpl.C:
1837 * src/CutAndPaste.C:
1840 * src/output_plaintext.C:
1841 * src/outputparams.h:
1842 * src/paragraph_funcs.C:
1846 * src/frontends/controllers/ControlErrorList.C:
1847 * src/frontends/gtk/FileDialogPrivate.C:
1848 * src/frontends/gtk/GPainter.C:
1849 * src/frontends/gtk/GToolbar.C:
1850 * src/frontends/qt2/QRef.C:
1851 * src/mathed/math_scriptinset.C: squash compiler warnings.
1853 2004-03-26 Angus Leeming <leeming@lyx.org>
1855 * ispell.C (LaunchIspell::start):
1856 * lyx_cb.C (AutoSaveBuffer::start):
1857 invoke run(DontWait) rather than runNonBlocking().
1859 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1861 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1863 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * kbsequence.C (print): adjust
1867 * kbmap.C (printKeySym): rename and change signature
1868 (printKey): use LyXKeySym::print()
1870 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1872 * undo.C: add using std::advance to compile for stlport
1874 2004-03-24 Angus Leeming <leeming@lyx.org>
1876 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1877 it leads to a crash when no buffer is present.
1879 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 Martin Vermeer <martin.vermeer@hut.fi>
1882 * lyxfunc.C (dispatch):
1883 * bufferparams.C (readToken): use the new LColor::setColor
1885 * LColor.[Ch] (setColor): new version that takes two strings as
1886 argument and creates a new color entry if necessary
1888 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1890 * buffer.C (makeLaTeXFile): if the main latex file that is
1891 processed is usually a subdocument of some master, then pretend
1892 for a while that it is actually the master
1894 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1896 * buffer.C (getLabelList):
1897 (getBibkeyList): use getMasterBuffer()
1898 (getMasterBuffer): new method. Returns the main document in the
1899 case where one is using included documents.
1901 2004-03-25 André Pönitz <poenitz@gmx.net>
1905 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1907 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1909 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1910 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1912 * ParameterStruct.h: merge with ParagraphParameters
1914 * lyxtext.h: remove LyXText::parOffset() and getPar()
1916 * text3.C: Remove all 'manual' update calls. We do now one per user
1917 interaction which is completely sufficient.
1921 * BufferView_pimpl.C:
1922 * FontIterator.[Ch]:
1924 * ParagraphParameters.[Ch]:
1929 * cursor_slice.[Ch]:
1936 * output_docbook.[Ch]:
1937 * output_latex.[Ch]:
1938 * output_linuxdoc.[Ch]:
1939 * output_plaintext.[Ch]:
1941 * paragraph_funcs.[Ch]:
1942 * paragraph_pimpl.[Ch]:
1950 * frontends/controllers/ControlDocument.C:
1951 * frontends/controllers/ControlErrorList.C:
1952 * frontends/controllers/ControlSpellchecker.C:
1955 * insets/insetbase.h:
1956 * insets/insetbibitem.C:
1957 * insets/insetbox.C:
1958 * insets/insetbranch.C:
1959 * insets/insetcaption.C:
1960 * insets/insetcharstyle.C:
1961 * insets/insetcharstyle.h:
1962 * insets/insetcollapsable.C:
1963 * insets/insetcollapsable.h:
1964 * insets/insetert.C:
1965 * insets/insetfloat.C:
1966 * insets/insetfoot.C:
1967 * insets/insetmarginal.C:
1968 * insets/insetnote.C:
1969 * insets/insetoptarg.C:
1970 * insets/insettabular.C:
1971 * insets/insettext.C:
1972 * insets/insettext.h:
1973 * insets/insetwrap.C:
1974 * mathed/math_mboxinset.C:
1975 * mathed/math_nestinset.C:
1976 * mathed/math_scriptinset.C:
1977 * mathed/math_scriptinset.h:
1980 2004-03-24 Angus Leeming <leeming@lyx.org>
1982 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1983 deal with any child processes that have finished but are waiting to
1984 communicate this fact to the rest of LyX.
1986 2004-03-24 Angus Leeming <leeming@lyx.org>
1988 64-bit compile fixes.
1990 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1991 (c-tor): pass lyx::pos_types rather than ints.
1993 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1996 * text.C (Delete): compile fix.
1997 (getPar): ensure that function declaration is the same as that in
2000 2004-03-23 Angus Leeming <leeming@lyx.org>
2002 * ispell.C (LaunchIspell):
2003 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2004 a boost::shred_ptr rather than a std::auto_ptr.
2006 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2009 handle LFUN_FILE_INSERT_*
2011 * lyxrc.C (setDefaults, getDescription, output, read):
2012 * lyxrc.h: remove ps_command
2014 2004-03-22 Angus Leeming <leeming@lyx.org>
2016 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2017 Ensure that error_handler is processed once only and that all data
2018 is saved before attempting to output any warning messages.
2020 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2022 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2024 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2026 2004-03-19 André Pönitz <poenitz@gmx.net>
2028 * cursor.[Ch] (reset): take main text inset as argument
2030 * BufferView: adjust
2031 * BufferView_pimpl.C: adjust
2033 * paragraph.[Ch]: fix completely broken operator=()
2035 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * LColor.C (getFromLyXName): make sure that the color name is used
2040 2004-03-17 Angus Leeming <leeming@lyx.org>
2043 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2045 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2046 dialog and to kill a forked process.
2048 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2050 * text2.C (setCursorFromCoordinates): fix font problem
2052 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2054 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2055 bogus "rebuild cursor" code
2057 2004-03-11 André Pönitz <poenitz@gmx.net>
2059 * buffer.[Ch]: use InsetText instead of LyXText as container for
2062 * dociterator.[Ch]: drop the BufferView * member which is not needed
2063 anymore after the change to buffer.C
2065 * paragraph_funcs.C:
2069 * BufferView_pimpl.[Ch]:
2071 * cursor_slice.[Ch]: adjust
2073 * text3.C: fix bug in mathDispatch
2075 2004-03-08 André Pönitz <poenitz@gmx.net>
2077 * undo.[Ch]: use 'StableDocumentIterator' as base for
2080 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2083 * bufferparams.[Ch]: add jurabib support and param.
2085 * LaTeX.C: add FIXME/comment.
2087 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2089 * buffer.C: increment file format to 230.
2091 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2093 * cursor.C (dispatch): avoid infinite loops
2095 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2097 * rowpainter.C (paintSelection): fix x coordinates
2099 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2101 * text.C (rowBreakPoint): fix breaking before displayed insets
2103 2004-03-01 André Pönitz <poenitz@gmx.net>
2105 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2107 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2111 * BufferView_pimpl.C:
2119 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2125 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2126 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2128 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2130 * Bidi.[Ch] (computeTables): const correctness
2131 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2132 fill_hfill, fill_label_hfill and x from Row
2133 * lyxtext.h: prepareToPrint returns a RowMetrics
2134 * rowPainter.C: adjust
2135 * text.C (prepareToPrint): use width, not textWidth. adjust
2136 (redoParagraphInternal, cursorX): adjust
2137 * text2.C (getColumnNearX): adjust
2138 (init): put a default value to the top LyXText::width
2140 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2142 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2144 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2146 * lyxtext.h: add FontIterator class
2148 * text.C (FontIterator, operator*, operator->, operator++): add
2149 (rowBreakPoint, setRowWidth): adjust (fixing a
2152 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * BufferView_pimpl.C (workAreaDispatch): allow also
2155 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2157 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2159 * text.C (rowBreakPoint): fix a bug showing with very large insets
2161 2004-02-25 André Pönitz <poenitz@gmx.net>
2164 * cursor.[Ch]: move some mathed specific code to mathed
2166 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2168 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2169 use_tempdir in preferences
2170 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2172 * lyx_main.C: ensure that tempdir is valid
2173 * lyxlex.h: correct typo
2174 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2175 * paragraph.[Ch] (isMultiLingual): make const
2176 * cursor.[Ch] (openable): make const
2178 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2180 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2182 2004-02-20 André Pönitz <poenitz@gmx.net>
2184 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2186 * cursor.[Ch]: prepare for localized getStatus()
2192 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2194 2004-02-20 André Pönitz <poenitz@gmx.net>
2196 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2198 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2200 * text2.C (setCursorFromCoordinates): switch to absolute coords
2202 (cursorDown): adjust
2203 * text3.C (dispatch): adjust
2205 2004-02-16 André Pönitz <poenitz@gmx.net>
2207 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2210 * cursor_slice.[Ch]: remove unneeded acessor function
2212 * lyxtext.h: rename rtl() to isRTL()
2220 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2222 * rowpainter.C (paintSelection): coord fix
2224 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2226 * Spacing.C: compile fix
2228 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2230 * cursor.C (dispatch): restore current_ before returning
2232 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2234 * text2.C (cursorUp, cursorDown): fix coords
2237 2004-02-12 André Pönitz <poenitz@gmx.net>
2242 * text3.C: add LCursor & parameter to most cursor movement functions
2243 remove usage of LyXText::cursorRow() and cursorPar()
2245 * cursor.[Ch]: add textRow() needed members
2248 * BufferView_pimpl.C:
2251 * BufferView_pimpl.C: adjust
2253 2004-02-11 André Pönitz <poenitz@gmx.net>
2257 * BufferView_pimpl.C: shift undo/redo handling
2259 * cursor.[Ch]: fix mathed crash
2262 * lyxtext.h: move selectionAsText to LCursor
2270 * rowpainter.C: fix excessive drawing
2272 2004-02-06 André Pönitz <poenitz@gmx.net>
2275 * BufferView_pimpl.[Ch]:
2276 * text3.C: move some text specific LFUN handling
2278 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2280 * text3.C (checkInsetHit): adjust coords
2281 * text2.C (getColumnNearX): adjust coords
2282 (edit): adjust coords
2283 * text.C (getRowNearY): add two asserts
2285 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2288 * format.C: add using std::distance to compile on gcc 2.95/stlport
2290 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2292 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2294 2004-02-04 André Pönitz <poenitz@gmx.net>
2296 * BufferView.[Ch] (insertInset):
2297 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2302 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2304 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2305 on the default clause of the switch
2306 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2307 wasn't catched by LCursor::dispatch
2309 2004-02-03 André Pönitz <poenitz@gmx.net>
2312 * cursor.[Ch]: some additional asserts
2314 * undo.[Ch]: remove LyXText dependency in interface
2318 * lyxtext.h (firstPar, lastPar): remove dead functions
2323 * paragraph.[Ch]: adjust
2325 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2327 * lyxfind.C (find): fix argument order in call to ::find
2329 2004-02-02 André Pönitz <poenitz@gmx.net>
2331 * cursor.[Ch]: remove direct access to anchor
2333 * text.C: remove findText() hack
2335 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2337 * iterators.[Ch] (lockPath): remove in favour of...
2338 * BufferView.[Ch] (setCursor): this addition
2339 * BufferView.C (putSelectionAt): adjust
2340 * undo.C (performUndoOrRedo): adjust
2341 * lyxfunc.C (dispatch): adjust
2343 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2345 * iterators.C (lockPath): add a missing slice
2346 * undo.C (performUndoOrRedo): remove redundant positioning code
2348 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2350 * vc-backend.C (scanMaster): ";" -> ';'
2352 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2354 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2355 std::binary_function
2357 * lyxtextclass.C (compare_name): rename to...
2358 (LayoutNamesEqual): ...this
2360 * lyxlex_pimpl.C (compare_tags): inherit from
2361 std::binary_function, put back into anon namespace
2363 * lyxfind.C (MatchString): inherig from std::binary_function
2364 (findChange): use empty() istead of !size()
2366 * format.C (FormatNamesEqual): new functor
2373 * converter.C (compare_Converter): rename to...
2374 (ConverterEqual): ...this, and fixup a bit.
2375 (getConverter): use it, and make function const
2376 (getNumber): use it, and make function const
2380 * bufferlist.C: add using boost::bind
2382 * MenuBackend.C (MenuNamesEqual): new functor
2383 (hasMenu): use it, and make function const
2384 (hasSubmenu): use nested bind to get rid of compare_memfun.
2386 2004-01-30 André Pönitz <poenitz@gmx.net>
2388 * BufferView_pimpl.C:
2391 * cursor_slice.[Ch]:
2394 * paragraph_funcs.C:
2395 * paragraph_funcs.h:
2399 * text3.C: move some of the edit(x,y) handling to the insets
2400 some coordinate changes.
2402 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2404 * text.C: add using statements for std::advance and std::distance
2406 * paragraph.C: add using statement for std::distance
2408 * lyxfind.C: add using statement for std::advance
2410 * cursor.C (region): remove std:: from swap
2411 (openable): use nucleus in stead of operator->
2413 * BufferView.C: add using statements for std::distance and std::swap
2415 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2417 * iterators.C: Remove the pimple, move the needed structures to
2418 the header file. Create accessor for the positions stack.
2419 (asPosIterator): remove function
2421 * PosIterator.C (PosIterator): move constructors to top of file
2422 (PosIterator): reimplement the constructor taking a ParIterator in
2424 (setFrom): new function
2425 (operator!=): inline it
2427 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2429 * lyxfind.C (replaceAll): use std::advance
2431 * iterators.h: inherit from std::iterator.
2433 * PosIterator.C (advance, distance): remove
2434 * PosIterator.h: interit from std::iterator.
2436 2004-01-26 André Pönitz <poenitz@gmx.net>
2439 * BufferView_pimpl.[Ch]:
2443 * bufferview_funcs.C:
2453 * output_linuxdoc.C:
2454 * output_plaintext.C:
2456 * paragraph_funcs.[Ch]:
2457 * paragraph_pimpl.[Ch]:
2463 * text3.C: more IU: dumps most of the rest of the mathcursor
2464 implementation into cursor.[Ch]; "globalize" a bit of it.
2466 2004-01-25 Angus Leeming <leeming@lyx.org>
2468 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2470 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2472 * LaTeXFeatures.h: add nice_ and nice() const
2473 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2475 2004-01-20 André Pönitz <poenitz@gmx.net>
2478 * BufferView_pimpl.C:
2480 * bufferview_funcs.C:
2482 * cursor_slice.[Ch]:
2493 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2494 LCursor and mathcursor parts to LCursor and InsetBase.
2496 2004-01-15 André Pönitz <poenitz@gmx.net>
2498 * cursor_slice.[Ch]: add a few covienience functions
2500 * funcrequest.[Ch]: remove BufferView * member
2502 * BufferView_pimpl.C:
2509 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2511 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2513 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2514 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2516 2004-01-13 André Pönitz <poenitz@gmx.net>
2519 * lyxtext.h: hide cursor and selection anchor behind accessor function
2522 * BufferView_pimpl.[Ch]:
2524 * bufferview_funcs.C:
2534 * cursor_slice.[Ch]: some integer type changes for inset unification
2536 * lyxcursor.[hC]: remove, it's CursorSlice now.
2539 * BufferView_pimpl.[Ch]:
2540 * bufferview_funcs.C:
2546 * textcursor.[Ch]: adjust
2548 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2550 * text2.C (undoSpan): add and use
2551 * text.C (breakParagraph): use undoSpan (fix bug 578)
2554 2004-01-08 Angus Leeming <leeming@lyx.org>
2556 * BufferView_pimpl.C (MenuInsertLyXFile):
2557 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2558 * lyxfunc.C (menuNew, open, doImport):
2559 FileFilterList change to the FileDialog open and save functions.
2561 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2563 * ShareContainer.h: make isEqual and isUnique adaptable
2565 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2567 2004-01-07 Angus Leeming <leeming@lyx.org>
2570 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2572 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2574 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2575 functions replacing find, replace and replaceAll.
2577 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2578 LFUN_WORDFIND(FORWARD|BACKWARD).
2580 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2582 * text.C (breakParagraph): remove an outdated #warning
2584 2004-01-07 André Pönitz <poenitz@gmx.net>
2586 * lyxfind.C: somewhat clearer logic
2588 * text.C: prevent crash in cursorX on unitialized row cache
2590 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2592 * lyxcursor.[Ch] (operator>): add
2593 * textcursor.C (selStart, selEnd): use std::min and std::max
2595 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2597 * Chktex.C: include boost/format.hpp
2599 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2601 * InsetList.C: replace functor MathcIt with adaptable functor
2603 (insetIterator): modify accordingly
2605 * BranchList.h: move the BranchNamesEqual functor here from...
2606 * BranchList.C: ... to here
2608 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2610 (add): replace a finding loop with std::find_if.
2612 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2614 * output_docbook.C: moving LatexParam functionality into
2617 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2619 * buffer.C: increment format to 229.
2621 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2624 * lyx_sty.[Ch]: remove minipageindent_def
2630 * text3.C: remove LFUN_INSET_MINIPAGE
2632 2003-12-28 Angus Leeming <leeming@lyx.org>
2634 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2636 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2638 * text2.C (setParagraph): fix off-by-one crash
2640 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2642 * output_docbook.C: header stuff for AGU
2644 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2646 * text2.C (redoCursor): remove
2649 * BufferView_pimpl.C: remove calls to redoCursor and
2650 setCursor(cursor.par(), cursor.pos()) all around
2652 2003-12-15 Angus Leeming <leeming@lyx.org>
2654 * buffer.C: up the format to 228.
2656 2003-12-15 André Pönitz <poenitz@gmx.net>
2658 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2663 * BufferView_pimpl.C:
2672 2003-12-15 Angus Leeming <leeming@lyx.org>
2674 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2675 than getFromGUIName to manipulate the color.
2677 2003-12-14 Angus Leeming <leeming@lyx.org>
2679 * BranchList.[Ch]: minimize the API.
2680 (Branch::getBranch, getColor): now return a 'const &'.
2681 (Branch::setSelected) now returns a bool set to true if the
2682 selection status changes.
2683 (BranchList::clear, size, getColor, setColor, setSelected,
2684 allBranches, allSelected, separator): removed.
2685 (BranchList::find): new functions, returning the Branch with
2687 (BranchList::add, remove): return a bool indicating that
2688 the operation was successful.
2690 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2691 new InsetBranch::isBranchSlected member function.
2693 * LColor.[Ch]: mimimize the API.
2694 (fill): renamed as addColor and made private.
2695 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2696 versions of these functions taking a string arg have been removed.
2698 * bufferparams.C (readToken):
2699 * lyxfunc.C (dispatch):
2700 * lyxrc.C (read): changes due to the altered BranchList and
2703 * factory.C (createInset, readInset): changes due to altered
2706 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2709 * lyxfunc.C: remove insetminipage. "minipage-insert"
2710 now produces a frameless minipage box inset.
2712 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2714 * textcursor.[Ch] (selStart,selEnd): add new methods
2715 remove selection::start, end, use LyXCursor::operator<
2716 * lyxcursor.[Ch] (operator<): add
2717 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2718 * BufferView.[Ch] (unsetXSel): add
2719 * text2.C (clearSelection): use unsetXSel,adjust
2722 * rowpainter.C: adjust
2723 * bufferview_funcs.C (put_selection_at): adjust
2725 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2727 * BufferView_pimpl.C: small coord. correction
2729 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2731 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2732 dragging over the splash screen.
2734 2003-12-11 Angus Leeming <leeming@lyx.org>
2736 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2737 as it is now handled in LyXText::dispatch.
2739 * text3.C (doInsertInset): remove a level of nesting.
2741 2003-12-11 Angus Leeming <leeming@lyx.org>
2743 * factory.C (createInset): changes due to the changed interface to
2744 InsetCommandMailer::string2params.
2746 2003-12-10 Angus Leeming <leeming@lyx.org>
2748 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2749 'dialog-show-new-inset <inset name>'
2751 2003-12-10 Angus Leeming <leeming@lyx.org>
2753 * buffer.C: up the format to 227.
2755 * factory.C: the box inset is now identified simply by 'Box'.
2757 2003-12-10 Angus Leeming <leeming@lyx.org>
2759 * buffer.C: up the format to 226.
2761 * factory.C: the note inset is now identified simply by 'Note'.
2763 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2765 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2766 when a pit is enough. Standarize a couple of loops.
2768 2003-12-05 Angus Leeming <leeming@lyx.org>
2770 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2771 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2772 data to the re-worked "log" dialog.
2774 2003-12-03 André Pönitz <poenitz@gmx.net>
2780 * paragraph_funcs.C:
2782 * text2.C: use Inset::getText instead of Inset::getParagraph
2784 2003-12-03 André Pönitz <poenitz@gmx.net>
2788 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2789 InsetText::read() as LyXText::read()
2791 2003-12-02 Angus Leeming <leeming@lyx.org>
2793 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2794 type. Add a comment in the implementation that the function uses
2795 the stream's bad() function rather than fail() as the std::streams
2798 2003-12-02 André Pönitz <poenitz@gmx.net>
2800 * lyxlex.[Ch]: make interface more similar to std::stream
2802 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2804 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2806 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2808 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2810 * vspace.[Ch]: remove VSpace::NONE
2812 2003-12-01 André Pönitz <poenitz@gmx.net>
2815 * lyxtext.h: move ParagraphList member to LyXText
2816 rename LyXText::ownerParagraphs to LyXText::paragraph
2819 * bufferview_funcs.C:
2829 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2831 * undo.C: fix cursor positioning
2833 2003-12-01 John Levon <levon@movementarian.org>
2835 * BufferView_pimpl.C: fix a crash on exit with
2838 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2840 * BranchList.C: fix setSelected() method.
2842 2003-11-28 André Pönitz <poenitz@gmx.net>
2844 * ParagraphParameters.[Ch]:
2845 * ParameterStruct.h: remove space above/below from Paragraph to
2848 * BufferView_pimpl.C:
2854 * paragraph_funcs.C:
2860 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2862 * factory.C: Syntax change for CharStyles
2864 2003-11-28 André Pönitz <poenitz@gmx.net>
2869 * buffer.[Ch]: move LyXText member
2871 2003-11-28 André Pönitz <poenitz@gmx.net>
2873 * BufferView.[Ch]: make LyXText * text a private member
2875 * BufferView_pimpl.C:
2886 * output_plaintext.C: cleanup
2888 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2891 * lyxtextclass.[Ch]: parametrize SGML document header
2893 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2896 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2899 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2901 * text2.C (setFont): rework using PosIterator (no more recursive)
2902 (setCharFont): no more needed
2903 (setLayout): no more selection cursors fiddling (done by redoCursor)
2904 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2905 destroy remaining ones)
2907 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2909 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2911 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2914 * text3.C: adjust + re-allow multi par depth changes
2915 * textcursor.C: simplify a bit
2917 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2923 * src/output_docbook.C:
2924 * src/output_latex.C:
2929 * src/text2.C: Introducing a number of tags parametrizing various
2930 XML formats that we may want to support
2932 2003-11-25 André Pönitz <poenitz@gmx.net>
2934 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2936 * lyxtext.h (leftMargin/rightMargin): simplify interface
2943 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2945 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2946 master file to any child files. Fixes bug 546.
2948 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2950 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2952 2003-11-24 André Pönitz <poenitz@gmx.net>
2954 * rowpainter.C: simplification
2956 * text2.C (updateCounters): remove call to redoParagraph on
2957 changed labels as this is far too expensive.
2959 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2961 * converter.C (convert): fix a crash: this function gets
2962 called with buffer == 0 from importer code.
2964 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2966 * text3.C (cursorPrevious): make sure that we do not compare
2967 iterators form different containers.
2970 * rowpainter.C (paintSelection): make sure that we do not compare
2971 iterators from different containers.
2973 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2974 iterators from different ParagraphList containers.
2977 * text2.C (LyXText): change order of initialization slightly
2978 (operator=): new function. copy all variables except cache_par_
2979 (moveUp): make sure that we do not compare iterators from
2980 different ParagraphList constainers.
2983 * text.C (firstPar): new function
2984 (lastPar): new function
2985 (endPar): new function
2987 * lyxtext.h: move things around and group public functions, public
2988 variables, private functions, private variables
2990 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2992 * factory.C: change call to InsetERT constructor to avoid
2993 additional invocation of method status
2994 * text2.C (toggleInset): remove redundant update() call
2995 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2996 instead of a Bufferview pointer
2998 2003-11-21 André Pönitz <poenitz@gmx.net>
3000 * rowpainter.C: simplification
3002 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3004 * text3.C (dispatch): make possible to extend a word/row selection
3007 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3009 * lyxtext.h: x0_,y0_ -> xo_,yo_
3010 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3011 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3012 * rowpainter.C (paintRows): paint full paragraphs
3014 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3016 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3019 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3021 * lyxtext.h: add x0_, y0_
3022 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3023 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3025 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3027 * text2.C (setCursorIntern): move the x_target update here *
3028 * text3.C: change some bv() to true/false in calls to
3029 cursorUp/Down/Right/Left
3030 * cursor.C: use helper function.
3032 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3034 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3035 * paragraph_funcs.[Ch]: correct comment
3036 * rowpainter.C: do not paint selections away from bv->cursor()
3037 Fix a long standing selection painting bug.
3038 * text3.C: generalize mouse-selection code to LyXTexts other that
3040 * textcursor.C: do not use y coords if we can use par offsets
3042 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3044 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3045 cursor position after e.g. inset insert)
3047 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3049 * lyxfind.C (replace): adjust to locking removal + some
3052 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3054 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3057 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3060 * output_docbook.C: XML sanitation: new layout
3061 parameters InnerTag and CommandDepth
3063 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3065 * BufferView_pimpl.C:
3067 * text3.C: Fix the insertion and modification of button-style
3070 2003-11-13 André Pönitz <poenitz@gmx.net>
3072 * InsetList.[Ch]: remove deleteLyXText
3074 * paragraph.[Ch]: cache beginOfBody position
3079 * text3.C: remove superfluous update() calls
3083 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3085 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3086 * BufferView.C (fitLockedInsetCursor): remove
3087 * cursor.[Ch] (getDim): add
3088 * text.C (getRowNearY): add faster version
3089 * text3.C: remove some update calls
3091 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3103 * text3.C: The Character Style /XML short element patch.
3105 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3108 * factory.C: Small step to solving 'unable to insert some insets'
3111 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3113 * cursor.[Ch] (updatePos): new function for updating the y
3114 position of the tip inset
3115 * bufferview_funcs.C (put_selection_at):
3116 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3118 2003-11-11 André Pönitz <poenitz@gmx.net>
3120 * text.C: remove big comment on invalid Paragraph pointers as it is
3123 2003-11-11 André Pönitz <poenitz@gmx.net>
3125 * text_funcs.[Ch]: merge with ...
3133 * Makefile.am: remove text_funcs.[Ch]
3135 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3137 * cursor.C (getPos): return absolute cached y coord
3139 * BufferView_pimpl.C (fitCursor): new simplistic code
3140 (workAreaDispatch): add a fitCursor call
3142 2003-11-10 André Pönitz <poenitz@gmx.net>
3145 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3147 2003-11-10 André Pönitz <poenitz@gmx.net>
3149 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3150 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3151 indicate that the cursor needs to leave an inset
3153 * lyxtext.h: remove inset locking
3155 * cursor.[Ch]: re-implement functionality provided by inset locking
3158 * BufferView_pimpl.[Ch]:
3160 * bufferview_funcs.[Ch]:
3172 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3174 * PosIterator.[Ch]: replace the stack with a vector, add inset
3176 * iterators.[C]: adjust
3178 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3180 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3182 * paragraph_funcs.C (readParToken): put the correct id in the
3183 error item, not the id of the top paragraph
3185 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3187 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3188 * bufferview_funcs.C (put_selection_at): use the above
3190 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3192 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3194 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3196 * output_linuxdoc.h:
3197 * output_plaintext.h:
3199 * output_docbook.h: add #include statements
3201 2003-11-05 José Matos <jamatos@lyx.org>
3203 * output_docbook.[Ch]:
3204 * output_latex.[Ch]:
3205 * output_linuxdoc.[Ch]:
3206 * output_plaintext.[Ch]: New files for output formats.
3207 * output.[Ch]: New file for helper functions.
3210 * paragraph_funcs.[Ch]: output functions moved to new files.
3212 * outputparams.h: rename of latexrunparams.h
3220 * paragraph_funcs.[Ch]:
3221 * paragraph_pimpl.[Ch]:
3222 * tabular.[Ch]: rename ascii to plaintext
3223 and LatexRunParams to OutputParams.
3225 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3227 * iterators.[Ch] (text): require bv argument
3228 * undo.C (recordUndo):
3229 * lyxfunc.C (dispatch):
3230 * bufferview_funcs.C (put_selection_at): adjust
3232 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3234 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3236 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3238 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3241 2003-11-04 André Pönitz <poenitz@gmx.net>
3243 * cursor.[Ch]: restructure
3246 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3248 * iterators.[Ch] (asCursor): remove
3250 * lfuns.h: remove LFUN_INSET_EDIT
3256 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3258 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3260 * lyxfind.[Ch]: complete overhaul
3261 * BufferView_pimpl.C:
3263 * paragraph.[Ch] (insert): add
3265 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3269 * text.C: remove dead spellcheck code
3271 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * dispatchresult.h: add a val setter
3275 * cursor.C (dispatch): use a tempvar for data_[i]
3277 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3279 * PosIterator.[Ch]: compile fix
3281 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3283 * text.C (cursorPar): deactivate the cursor cache
3285 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3287 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3289 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text3.C (dispatch): adjust for new DisptchResult semantics.
3293 * lyxfunc.C (dispatch): handle update when return from
3294 Cursor::dispatch, adjust for new DispatchResult semantics.
3296 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3297 DispatchResult(true) mean to not update. Add class functions for
3298 setting dispatched and update, as well as reading.
3300 * cursor.C (dispatch): don't handle update here
3302 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3305 * trans_mgr.C: adjust
3307 * paragraph_funcs.C (readParToken): exception safety
3309 * lyxvc.h: store the vcs pointer in a scoped_ptr
3312 * lyxsocket.C (serverCallback): exception safety
3314 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3316 * ispell.C (clone): make it return a auto_ptr
3318 * factory.C (createInset): exception safety
3319 (readInset): exception safety
3321 * bufferlist.C (newBuffer): exception safety
3323 * Thesaurus.C (Thesaurus): use initialization for aik_
3325 * MenuBackend.C (expandToc): exception safety.
3327 2003-11-03 André Pönitz <poenitz@gmx.net>
3331 * bufferview_funcs.C: remove getInsetFromId()
3334 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3340 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3342 * PosIterator.C (distance, advance): new
3343 * bufferview_funcs.[Ch] (put_selection_at): new
3344 * iterators.[Ch] (lockPath): new
3346 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3348 * iterators.[Ch] (asPosIterator): added
3349 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3350 * PosIterator.[Ch]: added
3352 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * cursor.C (dispatch):
3357 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3359 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3360 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3361 contructor, add a class function dispatched. Remove operator>=
3363 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3365 * debug.C: only use the default constructor for debugstream
3368 * main.C (main): include debug.h and setup the lyxerr streambuf
3371 2003-10-31 José Matos <jamatos@lyx.org>
3373 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3375 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3376 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3377 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3378 * paragraph_pimpl.C (simpleTeXSpecialC):
3379 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3380 add LatexRunParams argument.
3382 * exporter.C (Export): change call accordingly.
3384 * latexrunparams.h: add new member to take care of the other backends.
3385 2003-10-30 José Matos <jamatos@lyx.org>
3387 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3388 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3389 factorise code for paragraph output.
3391 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3394 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * text3.C (dispatch):
3397 * lyxfunc.C (dispatch):
3398 * cursor.C (dispatch):
3399 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3401 * dispatchresult.h: make the dispatch_result_t ctor explicit
3403 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3406 * buffer.C: small refactoring of docbook stuff
3408 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3413 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3416 operator dispatch_result_t, and operators for == != and >=
3418 * cursor.C (dispatch): adjust for operator dispatch_result_t
3419 removal. comment out call to update
3421 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3423 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3434 * dispatchresult.h: new file, DispatchResult broken out of
3437 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3439 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3441 * text.C (rowBreakPoint): put a hack inside #if 0
3443 2003-10-28 André Pönitz <poenitz@gmx.net>
3447 * paragraph_funcs.C:
3450 * text2.C: general cleanup (lots of small stuff)
3452 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3454 * text2.C (cursorEnd): simple fix to the "end key goes to one
3455 before the end on last row" bug
3457 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3459 * text.C (backspace): fix the "zombie characters"
3461 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3463 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3465 2003-10-27 André Pönitz <poenitz@gmx.net>
3467 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3469 * factory.C: handle new InsetPagebreak, InsetLine
3471 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3472 and move handling into new InsetPagebreak, InsetLine
3474 * BufferView_pimpl.C:
3476 * ParagraphParameters.C:
3477 * ParameterStruct.h:
3482 * paragraph_funcs.C:
3483 * paragraph_pimpl.C:
3489 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3492 * lyxrow_funcs.[Ch]:
3498 * text3.C: remove lastPos uses in favour of Row::endpos
3500 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3502 * undo.C (performUndoOrRedo): fix two crashes by setting a
3503 cursor by hand and reordering some calls. Use bv->lockInset instead
3504 of inset->edit because the latter loses cursor information
3506 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3508 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3510 (rowBreakPoint): fix width. change point to point + 1.
3511 Add a missing check.
3513 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3516 * lyxfunc.C: fix (at least partly) the problems
3517 with the Nav menu and headers inside branch insets
3520 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3522 * paragraph.C (getChar): add strong asserts
3524 * lyxrow_funcs.C (lastPos): remove hideous hack
3526 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3527 (fill): adjust to that (avoid an infinite loop)
3529 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3531 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3533 2003-10-23 André Pönitz <poenitz@gmx.net>
3535 * RowList_fwd.h: change list<> to vector<> to gain speed
3536 after suggestion from Alfredo
3538 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3540 * lyxtext.h: move the bidi stuff from here...
3543 * Bidi.[Ch]: ... to here
3545 2003-10-23 André Pönitz <poenitz@gmx.net>
3548 * text.C (isLastRow, isFirstRow): new functions
3550 * paragraph.h: new width cache member
3552 * rowpainter.C: replace RowList::iterator with Row & where possible
3554 * lyxfunc.C: replace several view()->text with a single call
3556 * toc.C: fix 'unused' warning
3558 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3561 when woring with stream::pos_type
3562 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3564 2003-10-22 André Pönitz <poenitz@gmx.net>
3567 * text.C: use Row & instead of RowList::iterator
3569 * lyxrow.h: rename end() to endpos()
3575 2003-10-22 Angus Leeming <leeming@lyx.org>
3577 * buffer.[Ch] (fully_loaded): new member function, returning true
3578 only when the file has been loaded fully.
3579 Used to prevent the premature generation of previews and by the
3580 citation inset to prevent computation of the natbib-style label.
3582 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3583 templates are all set up.
3585 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3587 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3589 * text.C: fixed an "oops" in the "is a bit silly"
3592 2003-10-21 André Pönitz <poenitz@gmx.net>
3594 * FuncStatus.[Ch]: small stuff, whitespace
3596 * lyxfont.[Ch]: operator<<() for debug reasons
3600 * lyxtext.h: whitespace, spelling
3602 * paragraph.C: naming of variables
3605 * text2.C: small stuff
3608 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3610 * text.C: (1) finish off the inset display() work;
3611 (2) fix the "is a bit silly" bug (accessing char
3614 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3616 * text.C: re-introduce display() for insets, fixing the
3617 various bugs (stretch of line above, math inset
3620 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3622 * text.C (rightMargin): remove spurious semicolon
3624 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3627 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3629 * text3.C: fix one crash due to wrong cursor def
3631 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * vc-backend.C (scanMaster): make the regex static
3635 * LaTeX.C (scanAuxFile): make the regexs static
3637 * text3.C (doInsertInset, dispatch, dispatch):
3638 * text2.C (cursorUp, cursorDown):
3639 * text.C (selectNextWordToSpellcheck):
3640 * BufferView_pimpl.C (dispatch):
3641 * lyxfunc.C (dispatch): localDispatch -> dispatch
3643 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3645 * lyxsocket.C: include <cerrno>
3647 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxfunc.C (dispatch): remove textcache stuff
3651 * bufferlist.C (release): remove textcache stuff
3654 * TextCache.C: delete file
3655 * TextCache.h: delete file
3657 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3659 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3660 delete of the bv_->text.
3661 (resizeCurrentBuffer): remove texcache stuff
3662 (workAreaResize): ditto
3664 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3666 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3669 2003-10-16 André Pönitz <poenitz@gmx.net>
3676 * text3.C: speed up by storing y positions per paragraph plus per-row
3677 offset instead of having a 'full' y position in the row.
3679 2003-10-15 André Pönitz <poenitz@gmx.net>
3683 * undo.[Ch]: make undo aware of inner insets
3685 2003-10-14 Angus Leeming <leeming@lyx.org>
3687 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3688 static member functions LyX::ref() and LyX::cref.
3689 (lastfiles): new accessor functions for the new lastfiles_ member var.
3690 (addLyXView, views_): add a new LyXView to the list of views_.
3691 (updateInset): loop over all LyXViews to call their own updateInset
3692 member function, returning a pointer to the Buffer owning the inset.
3694 * BufferView_pimpl.C (loadLyXFile):
3695 * MenuBackend.C (expandLastfiles):
3696 * bufferlist.C (MenuWrite, QuitLyX):
3697 lastfiles is no longer a global variable.
3698 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3700 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3701 static function. Access through LyX::cref().emergencyCleanup().
3703 2003-10-14 André Pönitz <poenitz@gmx.net>
3705 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3707 * undo.[Ch]: restoring part of 'undo in insets'
3710 * undo_funcs.[Ch]: merge with undo.[Ch]
3712 * tabular.C: small cleansing stuff
3714 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3716 * paragraph_funcs.C (readParToken): report unknown insets as error
3717 boxes. Use the outer paragraph as location (also for unknown
3720 * factory.C (readInset): do not abort on reading an unknown inset.
3721 Eat it and return 0.
3723 2003-10-13 Angus Leeming <leeming@lyx.org>
3725 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3727 * lyxrc.C: displayTranslator is now a function,
3728 declared in GraphicsTypes.h.
3730 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3732 * format.C: new placeholder $$a to pass the socket address.
3734 * bufferlist.[Ch]: new function getBufferFromTmp.
3736 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3737 files in the temporary dir.
3739 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3741 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3743 * Makefile.am: add lyxsocket.[Ch].
3745 * lyx_main.C (error_handler): handle SIGPIPE.
3747 2003-10-13 André Pönitz <poenitz@gmx.net>
3749 * BufferView_pimpl.C:
3754 * undo_funcs.[Ch]: use paroffset_type instead of
3755 ParagraphList::iterators to prevent multiple conversion
3756 (and get a more robust interface)
3758 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3762 * text3.C (dispatch): ditto
3764 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3767 move the onlyfile, use onlyfile instead of foundfile in a couple
3770 * DepTable.C (update): flush the error stream a bit more
3772 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * lyxserver.C (callback): adjust
3776 * lyxfunc.C (getStatus): add a missing brace in commented code
3777 (ensureBufferClean): reindent
3778 (dispatch): delete version taking a string
3780 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * LaTeX.C (deplog): move found file handlig from here...
3783 (handleFoundFile): .. to new function here.
3784 (deplog): make sure to discover several files mentioned on the
3787 2003-10-10 André Pönitz <poenitz@gmx.net>
3794 * text3.C: fix some of the tabular crashes
3796 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3798 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3800 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3802 2003-10-09 André Pönitz <poenitz@gmx.net>
3804 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3807 * BufferView_pimpl.C:
3808 * bufferview_funcs.C:
3819 * undo_funcs.C: adjust
3821 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * text2.C (incrementItemDepth): new function, use a backtracking
3824 algorithm to discover the correct item depth.
3825 (resetEnumCounterIfNeeded): new function, use a backtracking
3826 algorithm to discover if counter reset is needed.
3827 (setCounter): use them. Simplify a bit. Add different labels for
3828 different item depths for itemize.
3830 * paragraph.C (Paragraph): remove initialization of enumdepth
3833 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3834 enumerate and itemize. Change the type of itemdepth to signed char.
3836 2003-10-08 André Pönitz <poenitz@gmx.net>
3838 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3843 * tabular.[Ch]: fix crash after 'row-insert'
3845 2003-10-08 Angus Leeming <leeming@lyx.org>
3847 Fix doxygen warnings.
3849 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3850 Remove CutAndPaste:: prefix from header file declaration.
3852 * LColor.h (fill): remove LColor:: prefix from declaration.
3854 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3855 use lyx::depth_type rather than Paragraph::depth_type so that
3856 header file and .C file match.
3858 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3860 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3861 * aspell.C: \file aspell_local.C -> \file aspell.C
3862 * gettext.C: \file gettext.C -> \file src/gettext.C
3863 * gettext.h: \file gettext.h -> \file src/gettext.h
3864 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3865 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3866 * text.C: \file text.C -> \file src/text.C
3868 * toc.C: move comment so that doxygen is not confused.
3870 2003-10-07 Angus Leeming <leeming@lyx.org>
3872 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3874 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3877 * aspell_local.h: add forgotten std::string's.
3879 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3886 * text3.C: The Box patch. Fancybox support, minipage, parbox
3888 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3894 * ParagraphParameters.h:
3904 * lyxtextclasslist.h:
3907 * paragraph_pimpl.C:
3908 * textcursor.h: add <string> and other small fixes to make Lars'
3909 std::string patch compile with STLport.
3911 2003-10-06 Angus Leeming <leeming@lyx.org>
3913 * LColor.h: Add missing #include <string>.
3915 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * All most all file in all subdirs: Make <string> be the prefered
3918 way of getting to std::string, add using declarations.
3920 2003-10-06 André Pönitz <poenitz@gmx.net>
3922 * metricsinfo.C: initialize LyXFont before changing attribute.
3923 (fixes the 'math in \emph is upright' bug)
3925 2003-10-06 André Pönitz <poenitz@gmx.net>
3927 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3929 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3932 * paragraph_pimpl.C: Small fixes to build using STLport
3934 2003-10-02 André Pönitz <poenitz@gmx.net>
3937 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3939 2003-10-01 André Pönitz <poenitz@gmx.net>
3941 * factory.C: assert early
3943 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * lyx_main.C: remove the global debug object
3947 * debug.h: adjust for new debugstream
3949 * debug.C: adjust for new debugstream and keep the global debug
3952 2003-09-22 Angus Leeming <leeming@lyx.org>
3954 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3955 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3956 an incomplete class LyXFont.
3958 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3960 * factory.C: bug fix in branches
3962 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3964 * lyxfunc.C (processKeySym): adjust
3966 (dispatch): change arg name from ev to func, adjust
3967 (sendDispatchMessage): ditto
3969 * lyx_main.C (defaultKeyBindings): adjust keybindings
3970 (deadKeyBindings): ditto
3972 * kbsequence.C (addkey): return a FuncRequest
3974 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3976 * kbmap.C (bind): take a FuncRequest as arg, adjust
3979 (defkey): change to take a FuncRequest as arg, adjust
3980 (findbinding): take a FuncRequest as arg, adjust.
3982 * funcrequest.h (operator=): added
3984 * funcrequest.C (FuncRequest): default kb_action changed from
3985 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3987 * buffer.C (dispatch): simplify
3988 (dispatch): adjust to take a FuncRequest as arg, adjust
3990 * boost.C (assertion_failed): change assertion message slightly
3992 * ToolbarBackend.C (read): simplify
3994 * MenuBackend.C (binding): adjust call to findbinding, add a
3995 message if no binding is found.
3997 (expandToc): correct by adding a empty FuncRequest
3999 * LyXAction.C: include <boost/assert.hpp>
4000 (isPseudoAction): delete function
4001 (LookupFunc): change name to...
4002 (lookupFunc): this. change return type to FuncRequest.
4003 (getActionName): take kb_action as arg, simplify
4004 (funcHasFlag): add an assert, simplify.
4006 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * toc.C (action): return a FuncRequest, simplify
4010 * lyxfunc.C (processKeySym): adjust
4011 (getStatus): delete version that takes an int.
4013 (dispatch): delete version that takes action as int
4015 (sendDispatchMessage): simplify and adjust
4017 * funcrequest.C (getArg): take unsigned int as arg
4019 * ToolbarBackend.C (read): adjust
4020 (add): delete version that takes func as a string.
4021 (getIton): take a FuncRequest as arg
4023 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4026 * MenuBackend.C (MenuItem): add a new construct that only takes a
4027 Kind, simplify the constructor use for submenus.
4029 (expandLastfiles): adjust
4030 (expandDocuments): adjust
4031 (expandFormats): adjust
4032 (expandFloatListInsert): adjust
4033 (expandFloatInsert): adjust
4034 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4036 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4037 Remove class variables lyx_pseudo_map and lyx_arg_map
4039 * LyXAction.C (searchActionArg): delete function
4040 (getPseudoAction): delete function
4041 (retrieveActionArg): delete function
4042 (LookupFunc): make it return kb_action, simplify.
4043 (getActionName): simplify
4045 * factory.C (createInset): fix new bug
4047 2003-09-19 Angus Leeming <leeming@lyx.org>
4049 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4050 masterFilename_ parameter in the include inset.
4052 * factory.C (createInset): changes due to the changes to InsetInclude.
4054 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4056 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4058 2003-09-18 Angus Leeming <leeming@lyx.org>
4061 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4062 Inset::fillWithBibKeys.
4063 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4065 2003-09-18 Angus Leeming <leeming@lyx.org>
4067 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4069 (ctor): pass and store a 'Buffer const &'
4070 (buffer): new member function.
4072 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4073 '*this' to the LaTeXFeatures ctor.
4075 2003-09-18 Angus Leeming <leeming@lyx.org>
4081 * text.C: rename EnumLColor as LColor_color.
4083 2003-09-18 Angus Leeming <leeming@lyx.org>
4085 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4086 remove #include "insets/insetbase.h" from cursor.h.
4088 2003-09-18 Angus Leeming <leeming@lyx.org>
4090 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4091 InsetOld_code to remove #include "inset.h".
4093 * iterators.C: add #include "insets/inset.h"
4095 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4097 * BufferView.C: remove more locking stuff that apparently doesn't
4098 do anything sensible.
4100 2003-09-16 André Pönitz <poenitz@gmx.net>
4103 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4106 2003-09-16 Angus Leeming <leeming@lyx.org>
4108 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4110 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4113 * paragraph.h: remove #include "lyxfont.h". Forward declare
4116 2003-09-16 Angus Leeming <leeming@lyx.org>
4118 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4119 of support/textutils.h.
4120 (isWord): move the contents of support/textutils.h's IsWordChar here.
4126 * text2.C: add #include "paragraph.h".
4129 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4131 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * LaTeX.C: use namespace alias for lyx::support::os
4139 2003-09-16 Angus Leeming <leeming@lyx.org>
4142 * bufferview_funcs.C:
4145 * paragraph_pimpl.C:
4147 * text.C: add #include "LColor.h".
4149 2003-09-16 Angus Leeming <leeming@lyx.org>
4151 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4152 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4154 Store the FontBits::color variable as an int rather than as an
4155 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4158 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4159 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4160 string calls together.
4162 * lyxrc.C: add #include "LColor.h".
4164 2003-09-15 Angus Leeming <leeming@lyx.org>
4166 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4169 2003-09-15 Angus Leeming <leeming@lyx.org>
4171 * LColor.h: add an EnumLColor wrapper for LColor::color.
4173 * lyxfont.[Ch] (color, setColor, realColor):
4174 * lyxtext.h, text.C (backgroundColor):
4175 pass EnumLColor args to/from the functions, rather than LColor::color
4179 * lyxtext.h: forward declare EnumLColor.
4181 * lyx_main.C: add #include "LColor.h".
4183 2003-09-15 Angus Leeming <leeming@lyx.org>
4185 * .cvsignore: add lyx-gtk.
4187 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * ParagraphParameters.C
4196 * bufferview_funcs.C
4206 * vc-backend.C: remove usage of STRCONV
4208 2003-09-15 Angus Leeming <leeming@lyx.org>
4210 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4211 explicitly define the color passed to the painter.
4213 2003-09-15 Angus Leeming <leeming@lyx.org>
4215 * bufferparams.C (BufferParams): reorder member initializers to avoid
4218 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4220 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4221 * text.C (updateRowPositions): remove an unusual nop
4223 2003-09-12 André Pönitz <poenitz@gmx.net>
4225 * BufferView_pimpl.C:
4234 * Counters.[Ch]: finish the 'automatic counters' job
4236 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4238 * aspell.C: include <boost/assert.cpp> (compile fix)
4240 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4242 * boost.C (assertion_failed): use lyx::support::abort instead of
4245 2003-09-10 Angus Leeming <leeming@lyx.org>
4247 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4248 with their _fwd progeny.
4250 2003-09-09 Angus Leeming <leeming@lyx.org>
4252 134 files throughtout the source tree: replace 'using namespace abc;'
4253 directives with the appropriate 'using abc::xyz;' declarations.
4255 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4257 * boost.C (emergencyCleanup): moved here from LAssert.c
4258 (assertion_failed): new function, called by BOOST_ASSERT
4260 * several files: change Assert to BOOST_ASSERT
4262 2003-09-09 Angus Leeming <leeming@lyx.org>
4264 * buffer.[Ch]: Add an Impl class and move Buffer's member
4265 variables into it. As a result move several header files out of
4268 Add header files to lots of .C files all over the tree as a result.
4270 2003-09-09 Angus Leeming <leeming@lyx.org>
4272 * buffer.[Ch]: make Buffer's member variables private. Add
4275 Lots of changes all over the tree as a result.
4277 2003-09-08 Angus Leeming <leeming@lyx.org>
4279 * graph.C: #include <config.h>.
4281 2003-09-08 Angus Leeming <leeming@lyx.org>
4285 * BufferView_pimpl.C:
4314 * toc.C: remove redundant using directives.
4316 2003-09-07 Angus Leeming <leeming@lyx.org>
4318 * LaTeXFeatures.h: remove #include "support/types.h".
4319 * ToolbarBackend.h: remove #include <algorithm>.
4320 * changes.h: remove #include <ctime>.
4321 * debug.h: remove #include <iosfwd>.
4322 * graph.h: remove #include "support/std_string.h".
4323 * lyx_main.h: remove #include <csignal>.
4324 * lyxlex_pimpl.h: remove #include <fstream>.
4325 * sgml.h: remove #include <algorithm>, <utility>.
4326 * toc.h: remove #include "support/std_ostream.h".
4327 Add #include <iosfwd>.
4329 2003-09-07 Angus Leeming <leeming@lyx.org>
4331 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4333 * converter.h: forward declare LatexRunParams.
4334 * encoding.h: remove #include "lyxrc.h".
4335 * lyxtext.h: remove #include "LColor.h".
4336 * lyxtextclass.h: remove #include "support/types.h".
4337 * trans.h: remove #include "tex-accent.h".
4338 * trans_mgr.h: remove #include "tex-accent.h".
4339 * insets/inset.h: remove #include "support/types.h", <vector>.
4340 * insets/insetcollapsable.h: remove #include "LColor.h".
4341 * insets/insetinclude.h: remove #include "dimension.h".
4342 * insets/insetlatexaccent.h: remove #include "dimension.h".
4343 * insets/insetoptarg.h:: remove #include "insettext.h".
4344 * insets/insettext.h: remove #include "dimension.h",
4345 <boost/shared_ptr.hpp>
4347 * insets/renderers.h: add #include "dimension.h".
4348 * insets/updatableinset.h: add #include "support/types.h".
4350 * many .C files: Associated changes.
4352 2003-09-06 Angus Leeming <leeming@lyx.org>
4354 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4355 one, inside testInvariant.
4357 * PrinterParams.C: new file.
4358 * PrinterParams.[Ch]: move the function bodies out of line.
4360 2003-09-06 Angus Leeming <leeming@lyx.org>
4362 * ParagraphParameters.h: forward declare ParameterStruct rather than
4363 including its header file.
4364 (depth): moved out-of-line.
4366 2003-09-06 Angus Leeming <leeming@lyx.org>
4368 * BufferView_pimpl.h:
4371 * lyxfunc.h: forward declare LyXKeySym rather than
4372 #include "frontends/LyXKeySym.h".
4374 * BufferView_pimpl.C:
4377 * lyxfunc.C: associated changes.
4379 2003-09-06 Angus Leeming <leeming@lyx.org>
4381 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4382 As a result, can remove the #include "insets/inset.h" from BufferView.h
4384 2003-09-06 Angus Leeming <leeming@lyx.org>
4386 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4387 As a result, can remove the #include "insets/inset.h" from BufferView.h
4389 2003-09-06 Angus Leeming <leeming@lyx.org>
4395 * bufferview_funcs.C:
4396 * BufferView_pimpl.C:
4401 * ParagraphParameters.C:
4406 * frontends/controllers/ControlDocument.C:
4407 * insets/insetcaption.C: rearrange the #includes into some sort of
4410 * buffer.h: remove #includes ErrorList.h, undo.h
4412 2003-09-06 Angus Leeming <leeming@lyx.org>
4414 * support/types.h: add a 'depth_type' typedef, used to store the
4415 nesting depth of a paragraph.
4418 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4419 defining explicitly.
4422 * paragraph_funcs.h:
4423 * ParagraphParameters.h:
4424 * sgml.h: use lyx::depth_type rather than Paragraph or
4425 ParameterStruct's depth_type.
4428 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4431 * BufferView_pimpl.C:
4433 * ParagraphParameters.C:
4436 * bufferview_funcs.C:
4443 * frontends/LyXView.C:
4444 * frontends/controllers/ControlDocument.C:
4445 * frontends/controllers/ControlErrorList.C:
4446 * insets/insetbibitem.C:
4447 * insets/insetbranch.C:
4448 * insets/insetcaption.C:
4449 * insets/insetcollapsable.C:
4450 * insets/insetenv.C:
4451 * insets/insetert.C:
4452 * insets/insetfloat.C:
4453 * insets/insetfoot.C:
4454 * insets/insetfootlike.C:
4455 * insets/insetnewline.C:
4456 * insets/insetquotes.C:
4457 * insets/insettabular.C:
4458 * insets/insettext.C:
4459 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4461 * frontends/controllers/ControlChanges.C: #include "changes.h".
4463 2003-09-06 Angus Leeming <leeming@lyx.org>
4465 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4466 than #including paragraph.h.
4469 * RowList.h: deleted. Superfluous.
4479 * insets/insettext.h: use ParagraphList_fwd.h rather than
4482 * paragraph.h: don't forward declare ParagraphList.
4485 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4486 rather than ParagraphList.h. paragraph.h is still needed for the
4487 Paragraph::depth_type parameters.
4489 * textcursor.h: enable it to compile stand-alone in light of the
4492 * bufferview_funcs.C:
4504 * frontends/controllers/ControlParagraph.C:
4505 * frontends/controllers/ControlTabular.C:
4506 * insets/insetmarginal.C:
4507 * insets/insetminipage.C:
4508 * insets/insetnote.C:
4509 * insets/insetoptarg.C: add header files needed to compile again.
4511 2003-09-06 Angus Leeming <leeming@lyx.org>
4513 * RowList_fwd.h: new file, forward-declaring Row rather than
4514 #including lyxrow.h.
4519 * insets/insettext.h: use it instead of RowList.h
4521 * bufferview_funcs.C:
4528 * text3.C: #include "RowList.h".
4530 2003-09-05 Angus Leeming <leeming@lyx.org>
4532 * factory.C (createInset):
4533 * vspace.C (c-tor): replace sscanf call with an istringstream.
4534 * ispell.C: re-add missing HP/UX headers.
4535 * lyxserver.C: re-add missing os2 headers.
4537 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4546 * text3.C: re-add missing system headers, needed for 2.95.2.
4548 2003-09-05 Angus Leeming <leeming@lyx.org>
4550 Changes most place everywhere due to the removal of using directives
4551 from support/std_sstream.h.
4553 2003-09-05 Angus Leeming <leeming@lyx.org>
4555 Replace LString.h with support/std_string.h,
4556 Lsstream.h with support/std_sstream.h,
4557 support/LIstream.h with support/std_istream.h,
4558 support/LOstream.h with support/std_ostream.h.
4560 Changes resulting throughout the tree.
4562 2003-09-05 Angus Leeming <leeming@lyx.org>
4564 * sgml.h: ensure that the header file can be compiled stand-alone.
4565 * *.C: strip out redundant #includes. (320 in total.)
4567 2003-09-04 Angus Leeming <leeming@lyx.org>
4569 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4570 here (from getPackages).
4572 * debug.[Ch]: add a new EXTERNAL tag.
4574 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4576 * text2.C (cursorEnd): simplify
4578 (getColumnNearX): adjust
4580 * text.C (computeBidiTables): adjust
4583 * rowpainter.C (paintChars): adjust
4584 (paintSelection): adjust
4585 (paintChangeBar): adjust
4588 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4590 (numberOfSeparators): adjust
4592 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4598 * text3.C: Restricts the mouse click functionality
4599 of insets like bibtex, include, toc and floatlist to the visible
4600 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4601 up the dialogs. Cursor has to be in front of the inset (i.e.
4602 start of row) for this to function.
4604 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4606 * bufferview_funcs.C (currentState): output row information
4608 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4610 * bufferview_funcs.C (currentState): output paragraph position
4612 2003-09-04 Angus Leeming <leeming@lyx.org>
4614 * FloatList.h: move out #include "Floating.h".
4615 * LaTeX.h: move out #include "DepTable.h".
4616 * LyXAction.h: move out #include "funcrequest.h".
4617 * buffer.h: move out #include "author.h", "iterators.h".
4618 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4619 * lyx_main.h: move out #include "errorlist.h".
4620 * lyxfunc.h: move out #include "FuncStatus.h".
4621 * lyxtext: move out #include "lyxcursor.h".
4622 * paragraph_pimpl.h: move out #include "counters.h".
4624 2003-09-03 Angus Leeming <leeming@lyx.org>
4626 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4627 preamble_snippets list, enabling us to add snippets to the preamble
4628 only if the snippet was not there already.
4630 2003-09-04 Angus Leeming <leeming@lyx.org>
4632 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4634 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4639 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4641 * BranchList.C: point fix, earlier forgotten
4643 2003-09-02 Angus Leeming <leeming@lyx.org>
4645 * box.C (contains): renamed from 'contained' after a fantastic
4648 2003-09-02 John Levon <levon@movementarian.org>
4654 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4656 2003-09-02 John Levon <levon@movementarian.org>
4658 * text2.C: simplification of cursorEnd(), including partial
4661 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * buffer.C (readFile): add a space
4665 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4667 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4669 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * buffer.C (readFile): new function, take a filename and a
4672 ParagraphList::iterator
4674 (readFile): adjust, make it private. don't use setStream, make
4675 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4676 always contain the filename.
4678 * BufferView.C (insertLyXFile): simplify and make it work for
4681 2003-08-30 John Levon <levon@movementarian.org>
4683 * Makefile.am: fix dist (from Kayvan)
4685 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * most files: change to use const Buffer refs
4689 2003-08-27 André Pönitz <poenitz@gmx.net>
4691 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4692 on top of ownerPar().
4694 2003-08-27 John Levon <levon@movementarian.org>
4696 * funcrequest.C: properly initialise POD members
4698 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4700 * lyxtext.h (top_y): move top_y from here
4705 * BufferView_pimpl.[Ch]: to here
4706 * frontends/screen.C:
4707 * insets/insettabular.C:
4708 * insets/insettext.C: adjust
4709 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4711 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4714 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4716 2003-08-26 André Pönitz <poenitz@gmx.net>
4718 * paragraph_func.[Ch] (outerPar): new function
4721 * paragraph_funcs.C:
4722 * paragraph_funcs.h:
4723 * paragraph_pimpl.C:
4724 * text2.C: remove Inset::par_owner
4726 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4731 * text2.C: eliminates the needFullRow/display() stuff
4732 altogether, putting the logic in metrics/draw in the insets.
4734 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4736 * text2.C (redoParagraphInternal, redoParagraphs):
4737 * text.C (redoParagraph): add a call to updateRowPositions at the
4738 end of each 'metrics-like' call. Remove all others.
4739 (getRow): remove the 'y-computing' version.
4740 (getRowNearY): do not compute nor return the real y. Solve the
4741 'y < 0' problem and simplify.
4743 2003-08-22 Angus Leeming <leeming@lyx.org>
4745 * *.[Ch]: clean-up of licence and author blurbs.
4746 Also move config.h out of a few .h files and into a few .C files.
4748 2003-08-22 André Pönitz <poenitz@gmx.net>
4750 * lyxrow.[Ch]: add x_ and *fill_ members
4755 * text2.C: adjust/remove prepareToPrint() calls
4757 2003-08-22 André Pönitz <poenitz@gmx.net>
4759 * lyxrow.[Ch]: add end_ member
4761 * lyxrow_funcs.C: use LyXRow::end_
4763 * lyxtext.h (singleWidth): add LyXFont parameter
4766 * text2.C: adjust LyXText::singleWidth() calls
4768 * text.C (redoParagraph): simplify row breaking logic
4771 2003-08-19 André Pönitz <poenitz@gmx.net>
4773 * funcrequest.C: initialize button_ member
4776 * rowpainter.[Ch]: interface consolidation
4778 2003-08-18 André Pönitz <poenitz@gmx.net>
4781 * BufferView_pimpl.C:
4783 * paragraph_funcs.C:
4785 * text3.C: remove LyXScreen::draw() and fitCursor calls
4787 * BranchList.h: remove spurious semicolons
4789 * MenuBackend.C: fix branchlist related crash
4791 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4799 * bufferparams.[Ch]:
4803 * text3.C: implements the 'branch inset'
4804 idea. This allows the output of various versions of a document
4805 from a single source version, selectively outputing or suppressing
4806 output of parts of the text.
4807 This implementation contains a 'branch list editor' in a separate
4808 tab of the document settings dialog. Branches are user definable
4809 and have a "display colour" to distinguish them on-screen.
4811 ColorHandler was somewhat cleaned up.
4812 (1) make possible a dynamically growing LColor list by allowing
4813 the graphic context cache to grow along (vector);
4814 (2) eliminate an IMHO unnecessary step in colour allocation.
4816 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4818 * BufferView_pimpl.C: compile fix
4820 2003-08-15 André Pönitz <poenitz@gmx.net>
4822 * rowpainter.C: remove extra metrics calls
4824 * lyxtext.h: merge the two constructors into a single one,
4825 pass reference to owner's par list
4827 * BufferView_pimpl.C:
4831 2003-08-15 André Pönitz <poenitz@gmx.net>
4833 * lyxrow_funcs.[Ch]:
4836 * paragraph_funcs.C:
4841 * text_funcs.C: split LyXText::rowlist_ into individual
4842 Paragraph::rows_ chunks
4845 * BufferView_pimpl.[Ch]:
4848 * text3.C: remove toggleSelection()
4850 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4852 * bufferlist.C: beautify two alerts (shorter text of buttons)
4853 * buffer.C: Remove redundant ' ' from message
4855 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4856 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4857 rename VALIGN_CENTER to VALIGN_MIDDLE
4859 2003-08-11 André Pönitz <poenitz@gmx.net>
4861 * lyxtext.h (getPar):
4862 * text.C: new function
4864 2003-08-11 André Pönitz <poenitz@gmx.net>
4867 * tracer.[Ch]: remove unneeded files
4869 * InsetList.[Ch]: remove resizeInsetsLyXText()
4874 * text3.C: merge insertParagraphs() and appendParagraph()
4875 remove breakAgain(), update()
4877 * BufferView_pimpl.[Ch]:
4878 * bufferview_funcs.[Ch]:
4882 * tabular.C: adjust after text & InsetList changes.
4884 2003-08-08 André Pönitz <poenitz@gmx.net>
4886 * text.C (insertChar, backspace): replace rowlist fiddling
4887 with rebreak of full par
4890 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4891 checkParagraph, updateInset): removed
4893 2003-08-07 André Pönitz <poenitz@gmx.net>
4896 * text3.C: merge some LFUN handlers, remove dead code
4898 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4900 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4902 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4904 * text2.C (DEPM): fix part of bug 1255 and 1256
4906 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4908 * BufferView_pimpl.C (workAreaDispatch): change to use
4909 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4910 that are no mouse related.
4912 2003-08-05 André Pönitz <poenitz@gmx.net>
4915 * BufferView_pimpl.[Ch]:
4916 * bufferview_funcs.C:
4918 * text3.C: rip out "deep update"
4920 * textcursor.[Ch] (last_sel_cursor): remove unused member
4922 2003-08-04 André Pönitz <poenitz@gmx.net>
4925 * BufferView_pimpl.[Ch]:
4926 * ParagraphParameters.C:
4927 * bufferview_funcs.C:
4933 * text3.C: replace "complicated" BufferView::update(...) calls with
4936 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4938 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4940 * Makefile.am (lyx_SOURCES): add paper.h
4942 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * Makefile.am: move things around so that both lyx-qt and
4945 lyx-xforms can be built (according to --with-frontend). Then lyx
4946 is a symbolic link to lyx-[firstfrontend]
4948 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4950 * Always use std::endl with lyxerr
4952 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4954 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4956 2003-08-01 André Pönitz <poenitz@gmx.net>
4959 * BufferView_pimpl.[Ch]:
4961 * text3.C: merge BufferView::repaint() and BufferView::update()
4963 2003-08-01 José Matos <jamatos@lyx.org>
4965 * buffer.[Ch]: file_format is no longer a buffer data element.
4967 2003-08-01 André Pönitz <poenitz@gmx.net>
4972 * text2.C: make redoParagraph more independent of current cursor
4974 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4976 * text2.C: remove unneeded members
4978 2003-07-30 André Pönitz <poenitz@gmx.net>
4980 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4982 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4983 create a single function...
4985 * paragraph_funcs.C (moveItem): ... here.
4988 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4990 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4992 * LColor.[Ch]: Add comment and greyedout logical colors.
4994 2003-07-30 André Pönitz <poenitz@gmx.net>
4996 * tabular.C: don't use Assert too heavily. This crashes where it
4999 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5001 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5002 is disabled (bug 1232)
5004 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5006 * factory.C: limited 'arg' scope
5008 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5010 * factory.C: fixed Note submenu issues
5012 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5014 * factory.C: submenu for Note/Comment/Greyedout
5016 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5019 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5021 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5024 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5025 greyedout. Patch provided by Jürgen Spitzmüller.
5027 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5029 * kbmap.C (read): fix error message when reading bind files
5031 2003-07-29 Angus Leeming <leeming@lyx.org>
5033 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5034 certainly does not do what it purports to do. I am doing it, and
5035 us, a favour by killing it.
5037 2003-07-28 José Matos <jamatos@lyx.org>
5039 * buffer.C (readBody, do_writeFile):
5040 * paragraph.C(readParagraph): \end_document replaces \the_end.
5042 2003-07-29 André Pönitz <poenitz@gmx.net>
5045 * BufferView_pimpl.[Ch]:
5049 * textcursor.[Ch]: remove toggleToggle & Co
5051 2003-07-28 José Matos <jamatos@fep.up.pt>
5053 * buffer.C (readParagraph):
5054 * params_func (readParToken, readParagraph):
5055 * paragraph.C (write): \layout -> \begin_layout.
5057 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * lyxlex_pimpl.C (setFile): clean up slightly.
5061 * bufferparams.h: add compressed var
5063 * buffer_funcs.C (readFile): adjust for LyXLex change
5064 (newFile): ditto + simplify
5066 * buffer.C (writeFile): handle writing of compressed files
5068 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5069 Check if the file is compressed and set a bufferparm if so.
5071 * Makefile.am (lyx_LDADD): remove explicit -lz
5073 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5075 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5076 makeDocBookFile): put the real LyX version in the first line of
5080 * version.C.in: remove lyx_docversion
5082 * tabular.C (write_attribute): add a template-based version to
5083 write enums properly
5085 2003-07-28 André Pönitz <poenitz@gmx.net>
5090 * text3.C: use doubles again for x-coordinates. They are needed.
5092 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * messages.C (getLocaleDir): use lyx_localedir()
5096 * lyxlex_pimpl.C (setFile): compress stuff
5098 * buffer.C (writeFile): add some compression stuff
5099 (do_writeFile): new func, dont call expliti close... will this
5102 * Makefile.am (lyx_LDADD): add -lz
5104 2003-07-28 José Matos <jamatos@fep.up.pt>
5106 * buffer.C: increment file format.
5107 * paragraph_funcs (readParagraph, readParToken):
5108 * paragraph.C (readParagraph): add \end_layout.
5110 2003-07-27 Angus Leeming <leeming@lyx.org>
5112 * Makefile.am: remove special casing for configure-time setting of
5113 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5115 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5116 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5118 2003-07-26 André Pönitz <poenitz@gmx.net>
5120 * paragraph_func.[Ch]:
5121 * paragraph.C (realizeFont): inline it whereever it is used
5126 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5129 2003-07-26 André Pönitz <poenitz@gmx.net>
5133 * text2.C: get rid of LyXText::need_break_row
5135 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * toc.[Ch]: put namespace toc inside namespace lyx
5139 * MenuBackend.C (expandToc2): adjust for lyx::toc
5142 * lyxfunc.C (dispatch): adjust for lyx::find
5144 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5145 lyx::find instead. Reorganize a bit.
5146 (LyXReplace): rename to replace
5147 (LyXFind): rename to find
5149 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5152 2003-07-26 André Pönitz <poenitz@gmx.net>
5154 * text.C (setHeightOfRow): restrict scope of temporary variable
5156 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5157 code (never has been used?)
5159 2003-07-27 Asger Alstrup <alstrup@local>
5161 * text.C (fill): Optimise algorithm to exploit that we can reuse
5162 the LyXFont for many characters.
5163 (setHeightOfRow): Same thing.
5164 (rowBreakPoint): Same thing.
5166 2003-07-26 Asger Alstrup <alstrup@local>
5168 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5170 * text.C (singleWidth): Spurious font copying in hot-spot
5171 singleWidth avoided. Reorder tests for arabic for efficiency.
5173 * text.C (fill): handle empty paragraphs better.
5175 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5178 * encoding.h: add includes
5180 * lyxrc.C: remove reading of bind files
5182 * lyx_main.C (init): setup bindings and menus only if we have a
5185 * kbmap.C (read): new method. Do the actual reading of bind
5188 * converter.C (dvipdfm_options):
5191 (output): adapt PAPER_* enums.
5193 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5195 * bufferparams.h: remove paper-related enums from there
5197 * paper.h: New file. A trivial header file to hold paper-related
5198 enums. It should later expand to contain many paper-related
5201 * lyxrc.C: declare extern displayTranslator
5203 2003-07-27 José Matos <jamatos@fep.up.pt>
5205 * tabular.[Ch] (linuxdoc): add support for tables and figures
5208 2003-07-27 José Matos <jamatos@fep.up.pt>
5210 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5211 consistency in both functions.
5212 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5214 2003-07-26 Asger Alstrup <alstrup@local>
5216 * rowpainter.C (paintRows): Change algorithm to work directly on
5217 the insets rather than asking every character in the document
5218 whether its an inset.
5220 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5222 * buffer.C (openFileWrite): factorize some code
5224 2003-07-26 Angus Leeming <leeming@lyx.org>
5227 * lyx_main.[Ch]: replace occurances of system_tempdir with
5230 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * rename Inset to InsetOld
5234 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5236 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5237 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5238 which I think is a bit clearer. EDIT is gone, since it was
5239 premature optimisation, and broken for mathed anyway.
5240 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5241 with cursor positioning in insets as well (math insets still do not
5242 work, but that's a different story anyway.) It mysteriously
5243 crashes sometimes with undo in the first paragraph, but I'm fairly
5244 confident that this is a compiler bug.
5246 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * paragraph.C (Paragraph): adjust for new clone return type
5250 (copyIntoMinibuffer): ditto
5252 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5254 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5255 by not having a special case, and always doing a full rebreak of
5256 the document after undo.
5258 2003-07-23 Angus Leeming <leeming@lyx.org>
5260 * factory.C (createInset): InsetExternal::setParams now takes a
5263 2003-07-23 Angus Leeming <leeming@lyx.org>
5265 * factory.C (createInset): changed interface to the external and
5266 graphics mailers' string2params functions.
5268 2003-07-23 Angus Leeming <leeming@lyx.org>
5270 * factory.C (createInset): pass a
5271 Buffer const * parameter to InsetExternalMailer's string2params.
5273 2003-07-22 John Levon <levon@movementarian.org>
5275 * Thesaurus.h: include the right aiksaurus header
5277 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5279 * MenuBackend.C (expand): check menu shortcuts unconditionally
5281 2003-07-21 Angus Leeming <leeming@lyx.org>
5283 * factory.C (createInset): pass a
5284 buffer_path parameter to InsetGraphicsMailer's string2params.
5286 2003-07-21 Angus Leeming <leeming@lyx.org>
5288 * BufferView_pimpl.C (buffer):
5291 * lyxfunc.C (dispatch):
5292 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5293 rather than the grfx shortcut.
5295 2003-07-21 André Pönitz <poenitz@gmx.net>
5297 * rowpainter.C: remove unused variables
5300 * tabular_funcs.h: move to tabular.C
5301 * Makefile.am: adjust
5303 * tabular.[Ch]: basic optical cleaning
5305 * author.h: pass references, not values
5307 2003-07-18 André Pönitz <poenitz@gmx.net>
5315 * text3.C: two-phase drawing for InsetText and InsetTabular
5316 some float -> int changes.
5318 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5320 * lyx_main.C: fix the fix
5322 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5324 * lyx_main.C: fix a crash in batch mode if no files specified
5327 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5329 * format.[Ch] (papersize): moved to BufferParams
5330 * converter.[Ch] (dvips_options): moved to BufferParams
5331 (dvipdfm_options): moved to anon namespace
5332 * bufferparams.[Ch]: added above functions.
5334 2003-07-17 André Pönitz <poenitz@gmx.net>
5338 * text2.C: don't call inset->update() anymore
5340 * metricsinfo.[Ch]: add convenience constructor
5342 2003-07-16 André Pönitz <poenitz@gmx.net>
5347 * text2.C: replace the LyXCursor::irow_ member with
5348 on-demand computation of the value
5350 2003-07-16 John Levon <levon@movementarian.org>
5352 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5354 2003-07-15 André Pönitz <poenitz@gmx.net>
5357 * text2.C: remove no more needed refresh_row
5359 2003-07-15 André Pönitz <poenitz@gmx.net>
5364 * text3.C: refresh_status tristate -> need_update bool
5366 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5368 * lyxtext.h (init): remove reinit argument (act as if always true)
5369 * text2.C: adjust to that
5371 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5373 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5374 * text3.C: use it to delete selections in some cases
5375 (bugs 441, 673, 702, 954).
5377 2003-07-14 André Pönitz <poenitz@gmx.net>
5379 * rowpainter.[Ch]: reduce interface
5381 2003-07-14 André Pönitz <poenitz@gmx.net>
5383 * BufferView_pimpl.C:
5384 * text2.C: adjust after removing unused BufferView * argument
5386 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5388 * text2.C (init): fix a crash fired on resize
5390 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5392 * buffer.[Ch]: added new closing signal
5393 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5394 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5395 BufferView::Pimpl via the closing the signal
5397 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5399 * buffer.[Ch]: take out all bv-related from buffer
5401 * BufferView_pimpl.[Ch]: connect to new signals
5402 * CutAndPaste.C: removed useless asserts
5403 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5406 * lyxfunc.C: moved view-related funciontality from vc here
5407 * paragraph.C: removed outdated comments
5410 2003-07-10 André Pönitz <poenitz@gmx.net>
5412 * BufferView_pimpl.C:
5416 * text2.C: remove InsetText::InnerCache, clean up consequences
5418 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5420 * ispell.C: fix two typos in error messages
5422 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5424 * Extend Note inset to other forms of annotation like Comment
5425 and Greyedout. Right button click gives dialog.
5427 Files modified or added (+):
5431 * ControlNote.[Ch] +
5433 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5434 frontends/controllers
5438 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5440 * aspell.C: add missing namespace lyx::support
5442 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5444 * BufferView.[Ch] (newFile): Add
5445 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5446 * LaTeX.[Ch] (message): added this signal and use it
5447 * buffer.[Ch] (busy, message): added these signals and use them
5448 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5452 * importer.C: use buffer signals instead of direct bv calling
5453 * lyx_cb.[Ch] (ShowMessage): removed
5456 * paragraph_funcs.C:
5457 * text2.C: use buffer signals
5459 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * introduce namespace lyx::graphics
5463 2003-07-02 André Pönitz <poenitz@gmx.net>
5465 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5467 2003-07-01 André Pönitz <poenitz@gmx.net>
5474 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5475 text*.C to text_func.C
5477 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * introduce namespace lyx::support
5481 2003-06-30 André Pönitz <poenitz@gmx.net>
5486 * text.C: re-enable --with-included-string
5488 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * textcursor.C: add <config.h>
5492 * text.C (getWord): remove const from word_location arg
5494 * lyxvc.C (getLogFile): fix const type order
5496 * lyxtext.h: remove const from word_location arg, add arg name
5498 * lyxlayout.h: currect type on labeltype.
5500 * importer.C: correct \file
5502 * converter.C (intToFormat): use std:: on ret val, ws changes
5504 * bufferlist.h: correct \file
5506 * buffer.C (makeLinuxDocFile): fix const type order
5507 (makeDocBookFile): ditto
5508 (fillWithBibKeys): use std:: on stdlib args.
5510 * CutAndPaste.C: fix authors.
5511 (availableSelections): use std:: on return vector
5513 2003-06-27 André Pönitz <poenitz@gmx.net>
5515 * BufferView_pimpl.C:
5516 * bufferview_funcs.C:
5524 * text3.C: remove LyXCursor::row_ member
5527 * text.C: rename fullRebreak() to partialRebreak() and implement
5528 a fullRebreak() that really bereks fully
5530 * textcursor.h: new struct for cursor-related data
5532 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5534 * lyx_main.C (LyX): get full path of document loaded on the
5537 2003-06-26 André Pönitz <poenitz@gmx.net>
5539 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5540 remove unused/broken operator>,<,>=.
5542 * text.C: remove only use of broken operator<= in an Assert().
5544 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5546 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5547 moved errorlist_.clear to showErrorList
5549 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5551 * converter.C (scanLog, runLaTeX):
5552 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5553 move the bv->showErrorList call to the callers
5554 * lyxfunc.C: i.e. here...
5556 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5557 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5558 namespace, the second to...
5559 * buffer_funcs (BufferFormat, parseErrors): added
5560 * errorlist.C (ErrorList(TeXErrors const &)): removed
5562 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5564 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5566 2003-06-24 "Garst R. Reese" <reese@isn.net>
5570 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5572 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5574 * version.C.in: change docversion to 1.4
5576 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5578 * buffer.C: fix a bug just introduced
5580 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5582 * buffer.[Ch]: added the parseError signal and use it, removed
5584 * BufferView.[Ch] (addError): moved to ...
5585 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5586 to the Buffer::parseError signal to catch (guess what) parse errors
5587 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5589 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5591 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5592 ability to create a buffer and to return an existing one from
5593 the list. Moved these functions to...
5594 * buffer_funcs.[Ch]: added
5595 * BufferView.[Ch] (loadLyXFile): added
5596 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5597 job removed from bufferlist::loadLyXFile.
5598 * buffer.C (setReadOnly): make it work without view
5599 (i.e added an if (users))
5601 2003-06-19 Angus Leeming <leeming@lyx.org>
5604 * LyXAction.C (init):
5605 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5606 with LFUN_DIALOG_SHOW <name> <data>.
5608 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5610 * CutAndPaste.C (availableSelections): small compilation fix for
5611 ancient (gcc 2.9x) compilers
5613 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * text3.C (cursorNext): add tmp var
5617 * text2.C (updateCounters): for function calling out of for clause
5618 (replaceSelectionWithString): ditto
5619 (insertStringAsParagraphs): ditto
5620 (getColumnNearX): add tmp var
5621 (setCursorFromCoordinates): add tmp var
5622 (cursorDownParagraph): add tmp var
5623 (deleteEmptyParagraphMechanism): add tmp var
5625 * text.C (insertChar): add tmp var
5627 * rowpainter.C (paintDepthBar): add tmp var
5629 * CutAndPaste.C (availableSelections): potentially check all
5630 paragraphs in a cut to fill the shown strings.
5632 2003-06-18 André Pönitz <poenitz@gmx.net>
5634 * kbmap.[Ch]: use vector<> instead of list<>
5636 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5638 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5639 pasteSelection with index
5641 * text2.C (pasteSelection): modify, call pasteSelection with index
5643 * paragraph.C (asString): reimplement version with no interval to
5644 call the one with interval.
5646 * lyxtext.h: add index arg to pasteSelection
5648 * MenuBackend.C (MenuItem): handle PasteRecent
5649 (Menu::read::Menutags): add md_pasterecent
5651 (expandPasteRecent): new function
5654 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5656 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5658 (availableSelections): new function
5660 2003-06-17 Angus Leeming <leeming@lyx.org>
5662 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5664 2003-06-17 Angus Leeming <leeming@lyx.org>
5667 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5669 * lyxfunc.C (dispatch): invoke it.
5671 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5673 * iterators.C (operator++, ParPosition): reintroduce some
5674 const_cast for the benefit of older compilers.
5676 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5678 * text3.C (dispatch): do not modify clipboard when doing
5679 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5680 LFUN_DELETE_SKIP on a selection selection
5682 2003-06-16 André Pönitz <poenitz@gmx.net>
5688 * tabular.[Ch]: IU of clone() and getLabelList();
5690 2003-06-13 André Pönitz <poenitz@gmx.net>
5692 * tabular.h: compactification
5694 2003-06-12 André Pönitz <poenitz@gmx.net>
5698 * tabular_funcs.h: some renaming plus whitespace
5700 2003-06-12 André Pönitz <poenitz@gmx.net>
5703 * BufferView_pimpl.C:
5709 * toc.C: Return a Paragraph & for ParIterator::operator*()
5711 2003-06-11 John Levon <levon@movementarian.org>
5715 * ToolbarBackend.C: add "Toolbars" section and
5718 2003-06-10 Angus Leeming <leeming@lyx.org>
5721 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5723 * lyxfunc.C (dispatch): invoke it.
5725 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * main.C: protect <ios> with HAVE_IOS
5728 (main): protect sync_with_stdio with HAVE_IOS
5730 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5732 * text2.C (cutSelection): adjust
5733 (pasteSelection): adjust
5735 * messages.C: handle get of empty string
5737 * main.C (main): use sync_with_stdio(false)
5739 * lyxfunc.C (dispatch): adjust
5741 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5742 (WriteAs): remove unneeded BufferView arg.
5744 * bufferparams.h: use correct types on papersize, papersize2 and
5747 * bufferparams.C (readToken): adjust for type
5748 (writeLaTeX): add missing cases to switch.
5750 * bufferlist.C (quitWriteBuffer): adjust
5753 * buffer.C (asciiParagraph): remove some commented code.
5755 * CutAndPaste.C: remove current_view extern variable.
5756 (cutSelection): add BufferParams arg.
5757 (eraseSelection): add BufferParams arg.
5758 (pasteSelection): add Buffer const & arg
5760 2003-06-07 John Levon <levon@movementarian.org>
5763 * paragraph_funcs.C:
5764 * paragraph_pimpl.C:
5768 * paragraph.C: allow InsetERT to freely space lines,
5769 and some consolidation of code
5771 2003-06-06 José Matos <jamatos@fep.up.pt>
5773 * buffer.C (makeDocBookFile): fix bug #821
5775 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5777 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5779 2003-06-04 Angus Leeming <leeming@lyx.org>
5781 * buffer.C: bump format to 224.
5783 2003-06-05 André Pönitz <poenitz@gmx.net>
5785 * text2.C (redoParagraphs): remove two const_cast<>
5787 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5789 * ParagraphList.h: remove last remnants of NO_STD_LIST
5791 2003-06-03 Angus Leeming <leeming@lyx.org>
5793 * factory.C (createInset): small change to the way InsetExternal's params
5796 2003-06-04 André Pönitz <poenitz@gmx.net>
5798 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5800 * paragraph_pimpl.h:
5801 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5803 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5805 * undo_funcs.C: make some simple cases of undo work again
5807 2003-06-03 John Levon <levon@movementarian.org>
5809 * ispell.C: HPUX doesn't have sys/select.h
5812 2003-06-03 John Levon <levon@movementarian.org>
5814 * CutAndPaste.C: update tabular and include inset
5819 * paragraph.C: remove owningBuffer(), don't pass Buffer
5822 * factory.C: insetGraphicsParams changed
5824 2003-06-02 John Levon <levon@movementarian.org>
5830 * text3.C: remove insetparent
5832 2003-06-02 John Levon <levon@movementarian.org>
5835 * buffer.C: fix inset_iterator.end(), move out of line
5838 2003-06-01 John Levon <levon@movementarian.org>
5840 * text3.C: use a proper cut/paste when doing inset
5841 insert (from Jürgen Spitzmüller)
5843 2003-06-01 John Levon <levon@movementarian.org>
5845 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5847 2003-05-30 André Pönitz <poenitz@gmx.net>
5849 * rowpainter.C: unify second drawing phase
5851 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * trans_mgr.C: remove one case of current_view
5855 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5857 * paragraph_funcs.h: remove paragraph.h include
5859 * paragraph.h: delete NO_STD_LIST stuff
5861 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5863 * buffer.h: remove paragraph.h include
5865 * ParagraphList.C: delete file
5867 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5869 * toc.C (getTocList): adjust
5871 * paragraph_pimpl.C (validate): adjust
5873 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5875 * paragraph.C (Paragraph): adjust
5876 (getPositionOfInset): use const_iterator, adjust
5877 (bibitem): use const_iterator, adjust
5878 (setInsetOwner): adjust
5880 * iterators.C (operator++): adjust
5882 * InsetList.[Ch]: Replace selfmade iterator with standard
5883 vector::iterator also introduce const_iterator. Remove getPos,
5884 getInset and setInset from InsetTable. Adjust accordingly.
5886 * BufferView.C (lockInset): adjust
5887 (ChangeInsets): adjust
5889 * tabular.[Ch]: delete commented same_id functions
5891 2003-05-28 John Levon <levon@movementarian.org>
5893 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5895 2003-05-28 André Pönitz <poenitz@gmx.net>
5897 * metricsinfo.[Ch]: remove 'fullredraw' member
5899 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5901 * lyxtextclass.C (operator): remove caching.
5903 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * text2.C (cursorBottom): adjust
5908 (setCounter): use ParagraphList::find, adjust
5910 * text.C (workWidth): use ParagraphList::find, adjust
5912 * lyxcursor.C (LyXCursor): adjust
5914 * buffer.C (inset_iterator): adjust
5916 * ParagraphList.h: make iterator(value_type) private, make
5917 ParagraphList a friend of iterator.
5919 * ParagraphList.C (find): new function
5921 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5923 2003-05-27 André Pönitz <poenitz@gmx.net>
5925 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5927 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5929 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5931 2003-05-26 John Levon <levon@movementarian.org>
5933 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5935 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5937 * remove same_id from function signatures, adjust.
5939 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5943 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5945 * paragraph.C (Paragraph): get rid of same_ids parameter
5947 * ParagraphList.C (insert): adjust
5950 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * paragraph_funcs.C (breakParagraph): adjust
5953 (breakParagraphConservative): adjust
5955 * buffer.C (readParagraph): adjust
5957 * ParagraphList.C (insert): take a reference instead of a pointer
5960 * paragraph.[Ch] (id): new function
5962 * bufferlist.C (newFile): adjust
5964 * ParagraphList.C (ParagraphList): adjust
5966 (push_back): take a reference instead of a pointer.
5968 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5970 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5973 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5974 set else use old code.
5976 * ParagraphList.C: remove all NO_NEXT code and only compile this
5977 code of NO_STD_LIST is set.
5979 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5981 * BufferView_pimpl.C:
5991 * graphics/GraphicsConverter.C:
5992 * graphics/PreviewLoader.C: header adjustment
5994 2003-05-23 Angus Leeming <leeming@lyx.org>
5996 * LaTeXFeatures.[Ch] (useBabel): new method.
5997 * bufferparams.C (writeLaTeX): use it.
5999 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6001 * ParagraphList.h (set): remove unused function.
6003 2003-05-23 André Pönitz <poenitz@gmx.net>
6006 * BufferView_pimpl.C:
6010 * undo_funcs.C: setUndo reworked
6012 * iterators.[Ch]: add access to topmost ParagraphList
6014 * lyxtext.[Ch] (workWidth): add a const
6016 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6018 * texrow.[Ch] (increasePos): remove function
6019 * exporter.C (export): removed unused var and outdated comment
6021 2003-05-23 Angus Leeming <leeming@lyx.org>
6023 * latexrunparams.h: rename fragile as moving_arg.
6024 * paragraph.C (simpleTeXOnePar): ditto.
6025 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6027 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6031 (textUndoOrRedo): comment out a currently unused var.
6033 * paragraph.h (NO_NEXT): enable NO_NEXT
6035 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6037 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6039 * exporter.C (Export): adjust for removeAutoInsets removal.
6041 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6043 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6045 * BufferView.[Ch] (removeAutoInsets): delete function
6047 2003-05-22 Angus Leeming <leeming@lyx.org>
6049 * latexrunparams.h: add a free_spacing variable.
6051 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6052 to pass moving_arg, as the data is stored in runparams.fragile.
6054 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6055 to Inset::latexOptional or to simpleTeXOnePar.
6057 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6058 free_spacing arg to Inset::latexOptional.
6060 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6063 2003-05-22 Angus Leeming <leeming@lyx.org>
6065 * latexrunparams.h: add fragile and use_babel variables.
6067 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6068 * buffer.C (makeLaTeXFile): store this returned value in
6069 runparams.use_babel, thus passing it to the inset::latex methods.
6071 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6072 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6074 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6075 longer has a fragile arg, as it is stored in runparams.fragile.
6077 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6078 moving_arg parameter as the data is stored in runparams.fragile.
6080 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6081 a fragile parameter as the data is stored in runparams.fragile.
6083 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6087 2003-05-22 Angus Leeming <leeming@lyx.org>
6089 * latexrunparams.h: add a 'bool nice' which defaults to false.
6091 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6092 now encapsulated within runparams.
6094 * bufferlist.C (updateIncludedTeXfiles):
6095 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6097 2003-05-22 Angus Leeming <leeming@lyx.org>
6099 * latexrunparams.h: new file containing struct LatexRunParams.
6100 * Makefile.am: add new file.
6102 * LaTeX.[Ch] (c-tor, run):
6103 * buffer.[Ch] (makeLaTeXFile):
6104 * bufferlist.[Ch] (updateIncludedTeXfiles):
6105 * converter.C (convert, scanLog):
6106 * converter.[Ch] (runLaTeX):
6107 * exporter.C (Export):
6108 * paragraph.[Ch] (simpleTeXOnePar):
6109 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6110 * paragraph_funcs.[Ch] (latexParagraphs):
6111 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6112 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6113 pass around a LatexRunParams parameter.
6115 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * paragraph.[Ch]: remove unused constructor
6119 * ParagraphList.C (erase): new function, taking two iterators
6121 2003-05-22 André Pönitz <poenitz@gmx.net>
6123 * undo_funcs.C: remove duplicated code
6125 * iterator.[Ch]: operator=
6127 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * tabular.C (SetMultiColumn): ws changes
6131 * rowpainter.C (paintFirst): get rid of a ->previous
6133 * lyx_cb.C (getPossibleLabel): parlist simplification
6135 * BufferView.C (ChangeInsets): simplify slightly.
6137 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6139 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6140 * lfuns.h: new LFUN_SPACE
6141 * lyxfunc.C: protected space has a new lfun
6142 * paragraph_funcs.C: read new space insets
6144 * factory.C: handle new space insets
6146 2003-05-22 André Pönitz <poenitz@gmx.net>
6149 * BufferView_pimpl.C:
6152 * undo_funcs.C: return a ParIterator from getParFromID.
6154 * iterators.[Ch]: add two const's
6156 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * toc.C (getTocList): adjust
6160 * iterators.[Ch]: rework for parlist
6162 * buffer.C (par_iterator_begin): adjust
6163 (par_iterator_end): adjust
6165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6167 * BufferView.C (removeAutoInsets): adjust
6168 (ChangeInsets): adjust
6170 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6172 * text.C (top_y): fix bug 1110
6174 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6176 * errorlist.[Ch]: added
6179 * BufferView_pimpl.C:
6180 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6183 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * Makefile.am: ensure that lyx is relinked upon changes to the
6186 various "convenience" libs.
6188 2003-05-20 Angus Leeming <leeming@lyx.org>
6190 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6191 files are compiled in alphabetical order again.
6193 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6195 2003-05-19 Angus Leeming <leeming@lyx.org>
6197 * gettext.[Ch]: remove "char const * _(char const *)".
6199 2003-05-19 André Pönitz <poenitz@gmx.net>
6201 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6210 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6212 2003-05-19 André Pönitz <poenitz@gmx.net>
6216 * lyxtextclass.[Ch]:
6218 * paragraph_funcs.[Ch]:
6220 * text3.C: more insetenv work
6222 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6224 * ParagraphParameters.C (params2string): small bug fixed
6226 2003-05-16 André Pönitz <poenitz@gmx.net>
6229 * bufferview_funcs.C: patch from Kornel Benko to prevent
6230 crash when _(...) is called twice in a statement
6232 2003-05-16 André Pönitz <poenitz@gmx.net>
6239 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6241 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6243 * lyx_main.C (init): remove spurious static_cast
6245 2003-05-14 André Pönitz <poenitz@gmx.net>
6247 * BufferView.C: fix format string
6249 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6251 * BufferView.[Ch] (insertErrors): removed
6252 * BufferView.[Ch] (showErrorList): added
6253 * buffer.C (runChkTeX):
6254 * converter.C (scanLog): call showErrorList instead of inserterrors
6256 2003-05-13 André Pönitz <poenitz@gmx.net>
6258 * BufferView_pimpl.C:
6260 * bufferview_func.C:
6267 * tabular_funcs.h: tostr() from its own header
6269 * ParagraphParameters.C:
6274 * text3.C: STRCONV()
6276 2003-05-12 André Pönitz <poenitz@gmx.net>
6279 * BufferView_pimpl.C:
6283 * ParagraphParameters.C:
6287 * bufferview_funcs.C:
6300 * paragraph_funcs.C:
6304 * text3.C: boost::format -> bformat all over the place
6307 2003-05-09 André Pönitz <poenitz@gmx.net>
6309 * LColor.[Ch]: Pimpl the #include <map> away
6311 2003-05-09 John Levon <levon@movementarian.org>
6313 * bufferlist.C: never remove emergency saves
6315 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * Makefile.am: better lib building
6319 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6323 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6324 (simpleTeXSpecialChars): adjust
6325 (simpleTeXSpecialChars): adjust
6326 * paragraph.C (simpleTeXOnePar): adjust
6327 * buffer.C (makeLaTeXFile): adjust
6329 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6331 * text2.C (changeDepth): parlist cleanup
6332 (getColumnNearX): ditto
6334 * rowpainter.C (getLabelFont): parlist cleanup
6336 * bufferlist.C (newFile): parlist cleanup
6338 * CutAndPaste.C (eraseSelection): parlist cleanup
6340 * BufferView_pimpl.C (trackChanges): parlist cleanup
6343 * BufferView.C (lockInset): parlist cleanup.
6344 (ChangeInsets): ditto
6346 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * CutAndPaste.h: Update file header.
6350 * CutAndPaste.C: Update file header.
6351 Store the parts cut out of the Document in a limited_stack.
6352 (copySelection): adjust
6353 (pasteSelection): new function, takes the index in the limited stack.
6354 (nrOfParagraphs): adjust
6355 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6356 simplify error inset insertion.
6357 (checkPastePossible): adjust
6359 2003-05-06 John Levon <levon@movementarian.org>
6361 * text2.C: don't cast wrap inset to float
6363 2003-05-05 André Pönitz <poenitz@gmx.net>
6366 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6368 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6369 few naked Paragraph *.
6371 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6373 * bufferparams.C: Output warning if a document with missing
6374 TeX document class is loaded
6375 * exporter.C: Disable TeX exports if the document class is missing
6378 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6379 isTeXClassAvailable()
6381 2003-05-03 John Levon <levon@movementarian.org>
6384 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6385 explicit cursor show/hide
6387 * BufferView_pimpl.h:
6388 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6389 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6391 * lyxfunc.C: hide cursor before dispatching.
6396 * text3.C: remove explicit cursor hides
6398 2003-05-02 André Pönitz <poenitz@gmx.net>
6400 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6403 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6406 * text2.C: tiny whitespace
6408 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * undo_funcs.C: almost only ws changes.
6412 * ParagraphList.C (splice): just return if pl is empty.
6414 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * ParagraphList.C (splice): new function.
6418 * CutAndPaste.C (pasteSelection): use it
6420 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * CutAndPaste.C (pasteSelection): remove the last next and
6423 previous from this file.
6425 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * CutAndPaste.C (pasteSelection): more clean up, user proper
6428 ParagraphList functions for pasteing.
6430 * ParagraphList.C (insert): new function, three arg insert
6432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * ParagraphList.C (insert): new function, three arg insert
6436 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6439 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6443 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6447 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6450 (copySelection): clean up a bit.
6451 (pasteSelection): use make_pair
6453 * ParagraphList.C (ParagraphList): implement copy constructor
6454 (operator=): implement, base on copy constructor.
6457 * paragraph.C (erase): return a bool
6459 * paragraph_pimpl.C (erasePos): remove function, move contents...
6460 (erase): ... here. Return a bool.
6461 (erase): call erase instead of erasePos.
6463 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6465 * ParagraphList.h: define PitPosPair
6466 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6467 ParagraphList, fix a bug on pasting multiple pars
6468 * text2.C: change interface to C&P
6470 2003-04-30 André Pönitz <poenitz@gmx.net>
6472 * undo_func.C: revert part of yesterday's patch 2
6474 2003-04-30 John Levon <levon@movementarian.org>
6476 * LColor.C: s/tabular/table/
6478 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * text3.C (dispatch): do not convert iterator -> pointer
6481 * undo_funcs.C (setCursorParUndo): ditto
6482 * text_funcs.C (transposeChars): ditto
6484 * text2.C (setLayout): ws changes only
6486 * text.C (breakParagraph): do not convert iterator -> pointer
6488 (acceptChange): ditto
6489 (rejectChange): ditto
6494 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6497 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6499 * text3.C (gotoInset): YABG (yet another bad getChar)
6501 2003-04-29 André Pönitz <poenitz@gmx.net>
6503 * paragraph.h: make operator= private unimplemented as long as
6506 * ParagraphList.C: whitespace
6509 * paragraph_pimpl.[Ch]:
6510 * paragraph_funcs.C:
6512 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6515 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6517 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6519 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6520 * paragraph.[Ch] (erase):
6521 * paragraph_pimpl.[Ch] (erase): change return type and value
6522 * text2.C (cutSelection): some rework
6524 2003-04-28 John Levon <levon@movementarian.org>
6526 * bufferlist.C: changes for unsaved changes dialog
6528 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6530 * bufferlist.C (newFile): set language (messages_) for new
6533 * buffer.C (readFile): ws changes only.
6535 2003-04-28 André Pönitz <poenitz@gmx.net>
6540 * BufferView_pimpl.C:
6541 * BufferView.C: getParFromID related ParagraphList::iterator changes
6543 2003-04-28 André Pönitz <poenitz@gmx.net>
6545 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6548 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * messages.C: remove one more localedir class variable.
6552 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * messages.C (getLocaleDir): singleton generation function
6556 (Messages): add a default constructor.
6558 * main.C (main): do not setup localedir here, do not call
6561 * gettext.C (_): use it.
6562 (gettext_init): delete funciton
6564 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * gettext.C (getLyXMessages): new singleton generating function.
6568 * buffer.C (updateDocLang): adjust
6570 * Makefile.am (messages.o): add target
6571 (main.o): remove target
6573 2003-04-27 John Levon <levon@movementarian.org>
6578 * lyxvc.C: specify cancel button in Alert::prompt
6580 2003-04-26 John Levon <levon@movementarian.org>
6585 * LyXAction.C: add LFUN_INSET_SETTINGS
6587 * lyxfunc.C: don't enable tabular-feature when there's
6588 just any locking inset
6590 2003-04-26 John Levon <levon@movementarian.org>
6592 * bufferlist.C: re-add Cancel to buffer close question
6594 * lyxfunc.C: fix import UI a bit
6596 2003-04-25 John Levon <levon@movementarian.org>
6598 * gettext.C: remove the broken asserts for now
6600 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * messages.C: make case where setlocale cannot comply work better.
6604 * buffer.C (updateDocLang): new function
6605 (changeLanguage): use it
6608 * text2.C (setCounter): use B_ a bit.
6610 * lyxlayout.C (Read): be sure to trim the label strings.
6612 * messages.C (Messages): fix typo in comment
6614 * buffer.C (readFile): set message_ after file is loaded.
6615 (makeDocBookFile): remove double return
6616 (changeLanguage): reset message_ upon language change.
6617 (B_): new func, use this to get translated buffer strings.
6619 * main.C: add myself and Jean Marc as authors.
6621 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * messages.[hC]: pimplify Messages, and three different pimpls to be
6624 used in different circumstances.
6626 * gettext.[Ch]: change for use with new message code.
6628 2003-04-24 André Pönitz <poenitz@gmx.net>
6630 * factory.C: support for eqref
6632 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * messages.[Ch]: add missing char
6636 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6638 * messages.[Ch]: New files
6640 2003-04-18 John Levon <levon@movementarian.org>
6644 * BufferView_pimpl.C:
6648 * text2.C: remove layout-copy/paste (bug 778)
6650 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6652 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6654 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6656 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6657 if they succeed. Act accordingly.
6659 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * text2.C (setCharFont): adjust
6662 (setCounter): adjust
6663 (insertStringAsLines): adjust
6665 * text.C (leftMargin): adjust
6666 (setHeightOfRow): adjust
6668 * rowpainter.C (paintFirst): adjust
6671 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6673 (isFirstInSequence): ditto
6674 (getEndLabel): ditto
6677 * paragraph.C (getParLanguage): comment out some hard stuff.
6679 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6681 (simpleDocBookOnePar): ditto
6682 (makeDocBookFile): use ParagraphList::iterator
6684 * CutAndPaste.C (pasteSelection): adjust
6686 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * text2.C (getFont): adjust
6689 (getLayoutFont): adjust
6690 (getLabelFont): adjust
6692 * paragraph_funcs.C (TeXOnePar): adjust
6694 * buffer.C (simpleLinuxDocOnePar): adjust
6695 (simpleDocBookOnePar): adjust
6697 * CutAndPaste.C (pasteSelection): adjust
6699 * BufferView.C (getEncoding): adjust
6701 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6703 2003-04-16 John Levon <levon@movementarian.org>
6705 * lyxfind.C: use parlist stuff for search/changes
6707 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6711 * text2.C (deleteEmptyParagraphMechanism): adjust
6713 * text2.[Ch] (ownerParagraph): delete func (both of them
6715 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6719 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * ParagraphList.C: prepare for NO_NEXT
6723 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * text2.C (getFont): adjust
6726 (getLayoutFont): adjust
6727 (getLabelFont): adjust
6729 * paragraph.C (getFont): adjust
6730 (getLabelFont): adjust
6731 (getLayoutFont): adjust
6733 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6735 2003-04-15 John Levon <levon@movementarian.org>
6739 * lyx_main.C: handle Include in .ui files
6741 2003-04-15 John Levon <levon@movementarian.org>
6743 * MenuBackend.C: make the doc files length shorter
6746 * ToolbarBackend.C: handle toolbar placement flags,
6749 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6754 * paragraph_funcs.C (TeXOnePar): adjust
6756 * paragraph.C (getLabelFont): add outerfont arg, adjust
6757 (getLayoutFont): ditto
6758 (simpleTeXOnePar): adjust
6760 * paragraph_pimpl.C (realizeFont): delete func
6762 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6764 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6765 row argument, constify cur argument.
6767 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * text2.C (getFont): adjust
6770 (getLayoutFont): adjust
6771 (getLabelFont): adjust
6773 * paragraph_funcs.C (TeXOnePar): adjust
6774 (outerFont): new func...
6775 (realizeFont): ...moved out from here, changed this to facilitate
6778 * paragraph.C (getFont): take outerfont as arg, adjust
6779 (simpleTeXOnePar): add outerfont arg, adjust
6781 * buffer.C (simpleLinuxDocOnePar): adjust
6782 (simpleDocBookOnePar): adjust
6784 * CutAndPaste.C (pasteSelection): adjust
6786 * BufferView.C (getEncoding): adjust
6788 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * text2.C (setCharFont): adjust
6791 (setCounter): adjust
6793 * text.C (leftMargin): adjust
6794 (setHeightOfRow): adjust
6796 * rowpainter.C (paintFirst): adjust
6799 * paragraph_pimpl.C (realizeFont): adjust
6801 * paragraph.C (isFirstInSequence): move from here...
6802 * paragraph_funcs.C (isFirstInSequence): ...to here
6804 * paragraph.C (outerHook): move from here...
6805 * paragraph_funcs.C (outerHook): ...to here
6807 * paragraph.C (depthHook): move from here...
6808 * paragraph_funcs.C (depthHook): ...to here
6810 * paragraph.C (getEndLabel): move from here...
6811 * paragraph_funcs.C (getEndLabel): ...to here
6813 * text2.C (realizeFont): move from here...
6814 * paragraph_funcs.C (realizeFont): ...to here
6816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6820 2003-04-14 Angus Leeming <leeming@lyx.org>
6822 * LColor.[Ch]: scrap LColor mathcursor.
6824 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * lyxlex.[Ch] (text): delete function
6827 * trans.C (Load): adjust
6828 * paragraph_funcs.C (readParToken): adjust
6830 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6833 vector<char> instead of a char[].
6835 * lyxlex_pimpl.C (getString): adjust
6837 (lex): use getString
6841 * lyxlex.C (text): use pimpl_->getString()
6845 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6848 (makeFontEntriesLayoutSpecific): temp var for par.size()
6849 (setLayout): temp var for ownerParagraphs().end()
6850 (fullRebreak): temp var for rows().end()
6851 (selectionAsString): temp var for boost::next(startpit), realize
6852 that the while really is a regular for loop.
6853 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6854 setCursor in one place.
6855 (setParagraph): temp vr for ownerParagraphs().end()
6856 (updateCounters): make the while loop a for loop
6857 (cutSelection): temp var for ownerParagraphs().end()
6858 (updateInset): make the do {} while() a regular for loop
6859 (getCursorX): use temp vars
6860 (setCurrentFont): use temp vars
6861 (getColumnNearX): use temp vars
6863 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * text.C (transformChar): use temp var for getChar
6866 (computeBidiTables): use temp var for row->par()
6867 (fill): move temp vars for row->par() and pit->layout() earlier in
6869 (labelFill): use temp var for row->par()
6870 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6871 asc and desc, realize that pit never changes and that firstpit is
6872 just a duplicate and not needed. Exchange rit->par() with pit in a
6874 (breakAgain): use a temp var for boost::next(rit)
6875 (breakAgainOneRow): ditto
6876 (breakParagraph): use a temp var for rows().begin()
6877 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6878 (cursorRightOneWord): use temp var for cursor.par() and
6879 cursor.pos(), remove usage of tmpcursor.
6880 (cursorLeftOneWord): use temp var for cursor.par() and
6881 cursor.pos() only set cur at end of function.
6883 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * text.C, text2.C: exchange all usage of Paragraph::next with
6886 boost::next(ParagraphList::iterator)
6888 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6890 * text2.C (cursorTop): simplify implementation
6891 (cursorBottom): ditto
6892 (setParagraph): use ParagraphList::iterator
6893 (setCurrentFont): adjust
6894 (getColumnNearX): adjust
6895 (cursorRight): adjust
6896 (cursorLeft): remove usage of Paragraph::previous
6897 (cursorUpParagraph): ditto
6898 (deleteEmptyParagraphMechanism): slight cleanup
6900 * text.C (isBoundary): take a Paragraph const & instead of a
6902 (addressBreakPoint): ditto
6903 (leftMargin): remove usage of Paragraph::previous.
6904 (setHeightOfRow): ditto
6905 (cursorLeftOneWord): ditto
6906 (selectNextWordToSpellcheck): ditto
6909 (breakParagraph): remove one usage of Paragraph::next
6910 (redoParagraph): ditto
6911 (acceptChange): ditto
6912 (insertChar): adjust
6913 (rowBreakPoint): adjust
6915 * bufferview_funcs.C (toggleAndShow): adjust
6917 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6919 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6920 methods to access it.
6922 * text.C: Added updateRowPositions to compute all row positions.
6923 Make top_y and getRowNearY() to use the cached y position
6925 2003-04-11 John Levon <levon@movementarian.org>
6927 * text.C (rowBreakPoint): reintroduce the labelEnd
6928 checks, code copied from the row fill stuff. Deep voodoo.
6930 * text.C (fill): add a comment and debugging for the
6933 2003-04-11 John Levon <levon@movementarian.org>
6935 * text.C: make sure fullrow insets get wrapped to the next line,
6936 even when they're in a manual label
6938 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * text2.C (insertParagraph): make it take ParagraphList::iterator
6942 (setLayout): make it return ParagraphList::iterator
6943 (redoParagraphs): ditto
6945 (checkParagraph): ditto
6947 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6949 * text2.C: adjust several funcs.
6950 (realizeFont): take a ParagraphList::iterator as arg.
6951 (getLayoutFont): ditto
6952 (getLabelFont): ditto
6953 (setCharFont): ditto
6955 * text.C: adjust several funcs.
6957 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6959 * text.C (selectNextWordToSpellcheck): don't accidentally
6962 2003-04-10 John Levon <levon@movementarian.org>
6964 * ToolbarBackend.C (getIcon): special handling for
6967 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6969 * text2.C (cursorRight): a getChar assert fixed
6971 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * text2.C (getFont): change to take a ParagraphList::iterator
6974 instead of Paragraph*
6975 Adjust several functions.
6977 * text.C (transformChar): change to take a ParagraphList::iterator
6978 instead of Paragraph*
6979 (singleWidth): ditto
6980 Adjust several functions.
6982 * rowpainter.C: adjust several functions
6983 * rowpainter.h:store a ParagraphList::iterator and not a
6987 2003-04-09 John Levon <levon@movementarian.org>
6992 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6993 and the "help" bits as well
6995 2003-04-09 John Levon <levon@movementarian.org>
6998 * ToolbarBackend.C: allow multiple toolbars
7000 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * undo_funcs.C (setCursorParUndo): adjust
7004 * text_funcs.C (transposeChars): adjust
7006 * text3.C (gotoNextInset): adjust
7009 * text2.C (setLayout): adjust
7010 (changeDepth): adjust
7012 (redoParagraphs): adjust
7013 (selectionAsString): adjust
7014 (setParagraph): adjust
7015 (insertInset): adjust
7016 (cutSelection): adjust
7017 (copySelection): adjust
7018 (pasteSelection): adjust
7019 (insertStringAsLines): adjust
7020 (updateInset): adjust
7021 (setCursor): change to take a ParagraphList::iterator parameter
7022 (setCursorIntern): change to take a ParagraphList::iterator parameter
7023 (setCurrentFont): adjust
7024 (cursorLeft): adjust
7025 (cursorRight): adjust
7026 (deleteEmptyParagraphMechanism): adjust
7028 * text.C (breakParagraph): adjust
7029 (insertChar): adjust
7030 (acceptChange): adjust
7031 (rejectChange): adjust
7032 (selectNextWordToSpellcheck): adjust
7033 (changeCase): adjust
7037 * lyxfind.C (SearchForward): adjust
7038 (SearchBackward): adjust
7039 (nextChange): adjust
7041 * lyxcursor.C (par): adjust
7043 * lyxcursor.h: store a ParagraphList::iterator instead of a
7046 * lyx_cb.C (getPossibleLabel): adjust
7048 * bufferview_funcs.C (toggleAndShow): adjust
7050 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7053 * BufferView.C (removeAutoInsets): adjust
7054 (lockedInsetStoreUndo): adjust
7056 2003-04-09 John Levon <levon@movementarian.org>
7058 * ToolbarBackend.C: try icon without argument
7059 if with argument fails
7061 2003-04-08 John Levon <levon@movementarian.org>
7064 * ToolbarBackend.C: add getIcon(), handle tooltip,
7065 and change from "Icon" to "Item".
7067 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7069 * BufferView.C (lockInset): another bad getchar crunched
7071 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7073 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7076 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7078 * lyxfind.C (searchForward, searchBackwards): bug 782
7080 2003-04-07 John Levon <levon@movementarian.org>
7082 * paragraph.C: remove dead comment
7084 * text.C: remove troublesome depth-fiddling code
7085 in leftMargin() and rightMargin() (bug 1017)
7087 * text.C: fix breaking of rows in nested lists
7090 * text2.C (updateCounters): fix up depth values
7093 2003-04-07 John Levon <levon@movementarian.org>
7095 * BufferView_pimpl.C: clear message when doc finishes resizing,
7096 and after a mouse event
7098 * lyxfunc.C: clear message after exiting inset
7100 2003-04-07 John Levon <levon@movementarian.org>
7102 * bufferview_funcs.C: show math status not outside
7103 status in the statusbar
7105 2003-04-07 John Levon <levon@movementarian.org>
7107 * lyxfunc.C: note status changed after a depth change
7109 2003-04-04 Angus Leeming <leeming@lyx.org>
7111 * LaTeX.h: move AuxInfo operator==, != out of line.
7112 Remove LaTeX virtual destructor; nothing derives from it.
7113 Move operator()() out of public area and rename it startscript().
7114 Change protected for private.
7116 2003-04-04 Angus Leeming <leeming@lyx.org>
7119 * text2.C: remove unneeded #includes.
7121 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7123 * text2.C (dEPM): fix the heigth of the next row
7125 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7127 * text.C: squashed an invalid getChar requester + some ws changes
7129 2003-04-03 John Levon <levon@movementarian.org>
7131 * bufferview_funcs.h:
7132 * bufferview_funcs.C:
7135 * text2.C: make getStatus work for the env depth lfuns
7137 2003-04-03 John Levon <levon@movementarian.org>
7139 * bufferview_funcs.h:
7140 * bufferview_funcs.C:
7143 * text2.C: parlistize decDepth(), by merging it with incDepth()
7145 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * lyxrow.h: store a ParagraphList::iterator instead of a
7148 Paragraph* and adjust other class functions to suit.
7150 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7153 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7155 * text2.C (setCursor): do not anchor to cursor row for the time being
7157 2003-04-02 John Levon <levon@movementarian.org>
7164 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7166 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph.h: make ParagraphList and ParagraphList::iterator
7169 friends of Paragraph.
7171 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7173 * ParagraphList.C: Use the private next_ and previous_ from
7176 2003-04-01 John Levon <levon@movementarian.org>
7180 * Makefile.am: rename, remove defaults gunk
7183 * MenuBackend.C: remove defaults gunk
7186 * Languages.C: remove defaults gunk
7189 * lyx_main.C: error out if files couldn't be found.
7191 2003-04-02 John Levon <levon@movementarian.org>
7193 * text2.C: make incDepth() use parlist
7195 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * undo_funcs.C (firstUndoParagraph): adjust
7199 * text3.C (gotoInset): adjust
7200 (dispatch): adjust, and rewrite loop.
7202 * text2.C (init): adjust, and rewrite loop.
7203 (redoParagraphs): adjust
7204 (updateInset): adjust, and rewrite loop.
7205 (deleteEmptyParagraphMechanism): adjust
7207 * tabular.C (LyXTabular): adjust
7208 (SetMultiColumn): adjust
7211 * lyxtext.[Ch] (ownerParagraph): delete function
7212 (ownerParagraphs): new function returns a ParagraphList.
7214 * BufferView.C (removeAutoInsets): adjust
7215 (insertErrors): adjust
7216 (setCursorFromRow): adjust
7218 2003-04-01 Angus Leeming <leeming@lyx.org>
7220 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7223 2003-04-02 John Levon <levon@movementarian.org>
7229 * text_funcs.C: make transposeChars a free function
7231 * lyxrow_funcs.C: remove wrong comment
7233 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * rowpainter.C: adjust
7241 * lyxrow_funcs. [Ch]: new files
7243 * lyxrow.[Ch]: remove next and previous pointers
7244 (next,previous): remove accessor functions
7245 (isParEnd): move to lyxrow_funcs
7246 (lastPos): move to lyxrow_funcs
7247 (nextRowIsAllInset): move to lyxrow_funcs
7248 (lastPrintablePos): move to lyxrow_funcs
7249 (numberOfSeparators): move to lyxrow_funcs
7250 (numberOfHfills): move to lyxrow_funcs
7251 (numberOfLabelHfills): move to lyxrow_funcs
7252 (hfillExpansion): move to lyxrow_funcs
7256 * bufferview_funcs.C (toggleAndShow): adjust
7258 * RowList.h: Remove class RowList from file leave just a
7261 * RowList.C: delete file
7263 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7266 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * text3.C (cursorPrevious): adjust
7269 (cursorNext): adjust
7272 * text2.C (redoHeightOfParagraph): adjust
7273 (redoDrawingOfParagraph): adjust
7276 * text.C (breakParagraph): adjust
7277 (insertChar): adjust
7280 * rowpainter.C (RowPainter): adjust
7281 (leftMargin): simplify and adjust
7282 (most rowpainter functions): adjust.
7284 * rowpainter.h: store the row as RowList::iterator not as Row*
7286 * lyxcursor.C (row): taka RowList::iterator as arg
7289 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7292 2003-04-01 Angus Leeming <leeming@lyx.org>
7294 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7295 stuff like bool Bool.
7297 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7299 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7302 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7307 * lyxtext.h (rows): drop one version and leve a const variant that
7308 returns a RowList::iterator.
7310 2003-03-31 Angus Leeming <leeming@lyx.org>
7312 * text.C (fill): ensure that the signature is the same as that in the
7315 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * text2.C (redoParagraphs): adjust
7318 (updateCounters): adjust
7319 (checkParagraph): adjust
7320 (getColumnNearX): adjust and reformat a bit.
7322 * text.C (top_y): adjust
7324 (leftMargin): adjust
7325 (prepareToPrint): adjust
7327 (getRowNearY): adjust
7329 * lyxtext.h: make rowlist_ mutable.
7331 * RowList.h: add const_iterator
7332 * RowList.C: adjust for RowList::const_iterator.
7334 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7337 2003-03-31 John Levon <levon@movementarian.org>
7340 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7342 * lyx_main.C: set default fonts from using lyx_gui funcs
7344 * exporter.C: pdf_mode moved from lyxrc
7347 * lyxfunc.C: changes from above
7349 2003-03-31 John Levon <levon@movementarian.org>
7351 * lyx_main.C: fix to the last fix
7353 2003-03-31 John Levon <levon@movementarian.org>
7355 * bufferlist.C: "Load original" -> "Load Original"
7361 * format.C: more Alert cleanups
7363 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * text2.C (removeParagraph): make it take a RowList::iterator as
7367 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7368 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7370 * text.C (anchor_row): make it take a RowList::iterator as arg,
7372 (computeBidiTables): make it take a const reference to Row instead
7373 of Row pointer, adjust.
7374 (leftMargin): make it take a RowList::iterator as arg, adjust.
7375 (rowBreakPoint): adjust
7376 (breakAgainOneRow): make it take a RowList::iterator as arg,
7378 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7380 * bufferview_funcs.C (toggleAndShow): adjust
7382 2003-03-30 John Levon <levon@movementarian.org>
7386 * boost-inst.C: moved to support
7388 * several files: changes as a result
7390 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * text2.C (LyXText): adjust.
7394 (removeRow): make it take a RowList::iterator as arg, adjust.
7395 (fullRebreak): adjust
7396 (deleteEmptyParagraphMechanism): adjust
7397 (clearPaint): adjust
7400 * text.C (top_y): adjust
7401 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7402 (breakAgain): make it take a RowList::iterator as arg, adjust.
7403 (breakParagraph): adjust
7404 (insertChar): adjust
7407 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7408 need_break_row, and refresh_row.
7410 * text3.C (dispatch): adjust
7412 * text2.C (checkParagraph): adjust
7414 (setCursorFromCoordinates): adjust
7416 * text.C (top_y): adjust
7418 (getRow): make it return a RowList::iterator, adjust
7419 (getRowNearY): make it return a RowList::iterator, adjust
7421 * text2.C (init): adjust
7422 (insertRow): remove function
7423 (insertParagraph): adjust
7424 (redoParagraphs): adjust
7425 (fullRebreak): adjust
7426 (updateCounters): adjust
7428 * text.C (top_y): rewrite to use RowList iterators.
7430 (setHeightOfRow): rewrite to sue RowList iterators.
7431 (appendParagraph): adjust
7432 (breakAgain): adjust
7433 (breakAgainOneRow): adjust
7434 (breakParagraph): adjust
7436 (getRowNearY): adjust, and remove commented code.
7438 * lyxtext.h (firstRow): delete function
7439 (lastRow): delete function
7440 (rows): new function (const and non-const versions.)
7441 (insertRow): delete function
7443 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7445 2003-03-29 John Levon <levon@movementarian.org>
7447 * BufferView_pimpl.C: always update scrollbar top
7448 because pasting text when we're anchored could mean we
7449 miss an update altogether
7451 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * text2.C (init): use rowlist_.end() and not 0.
7454 (insertRow): change to take a RowList::iterator as arg, adjust
7456 (insertParagraph): change to take a RowList::iterator as arg,
7458 (redoParagraphs): remove some debug msgs.
7460 * text.C (appendParagraph): change to take a RowList::iterator
7461 arg, adjust for this.
7462 (breakAgain): add an assert
7463 (breakAgainOneRow): ditto
7465 2003-03-29 John Levon <levon@movementarian.org>
7467 * text2.C: do not clear selection after inc/decDepth
7470 2003-03-29 John Levon <levon@movementarian.org>
7473 * buffer.C: fix broken strerrors according to Lars
7475 2003-03-29 John Levon <levon@movementarian.org>
7477 * converters.C: more Alert cleanups
7479 2003-03-29 John Levon <levon@movementarian.org>
7481 * bufferview_funcs.C: remove pointless Alert
7483 * buffer.C: fix confusing error message when
7484 a template is chmoded 000
7486 2003-03-29 John Levon <levon@movementarian.org>
7490 * BufferView_pimpl.C: Alert fixes
7494 * tabular-old.C: remove unused table compat reading
7496 2003-03-29 John Levon <levon@movementarian.org>
7501 * lyx_cb.C: more Alert cleanups
7503 * lyxfunc.C: don't allow chktex if not latex document
7505 2003-03-29 John Levon <levon@movementarian.org>
7509 * buffer.C: warnings pushed down from support/,
7512 2003-03-29 John Levon <levon@movementarian.org>
7514 * lyxfunc.C: safety check for C-r (revert)
7516 2003-03-29 John Levon <levon@movementarian.org>
7519 * bufferlist.C: several UI fixes using Alert::prompt.
7520 Fix the pointless looping quit code. Fix stupid revert
7525 * lyx_cb.C: use Alert::prompt
7527 * lyx_main.C: remove a silly question
7529 * lyxfunc.C: remove a couple of silly questions,
7532 2003-03-28 John Levon <levon@movementarian.org>
7534 * text2.C: fix bug 974 (End on empty par)
7536 2003-03-28 John Levon <levon@movementarian.org>
7538 * BufferView_pimpl.C:
7540 * lfuns.h: remove do-nothing math greek lfuns
7542 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * lyxgluelength.h (isValidGlueLength): add default arg on
7545 parameter 2. Remove default arg from friend in class.
7547 * lyxlength.h (isValidLength): add default arg on parameter 2.
7548 Remove default arg from friend in class.
7550 * text2.C (LyXText): adjust, initialize refresh_row.
7554 (insertParagraph): adjst
7555 (redoParagraphs): adjust
7556 (fullRebreak): adjust
7557 (updateCounters): adjust
7558 (deleteEmptyParagraphMechanism): first attempt at fixing a
7561 * text.C (top_y): adjust
7562 (setHeightOfRow): adjust
7564 (getRowNearY): adjust
7566 * lyxtext.h: include RowList.h
7567 (~LyXText): not needed anymore, deleted.
7568 (firstRow): modify for RowList
7569 (lastRow): new function
7570 Delete firstrow and lastrow class variables, add a Rowlist
7571 rowlist_ class variable.
7573 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7576 * RowList.C (insert): fix case where it == begin().
7578 2003-03-26 Angus Leeming <leeming@lyx.org>
7580 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7581 the thesaurus dialog.
7583 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7587 * RowList.[Ch]: new files
7589 * ParagraphList.C (erase): handle the case where it == begin
7592 2003-03-25 John Levon <levon@movementarian.org>
7596 * aspell.C: add new aspell support
7599 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7602 2003-03-25 Angus Leeming <leeming@lyx.org>
7605 * LyXAction.C (init): new LFUN_INSET_INSERT.
7607 * BufferView_pimpl.C (dispatch): split out part of the
7608 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7610 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7613 2003-03-25 Angus Leeming <leeming@lyx.org>
7615 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7617 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7620 * text3.C: remove useless row->height(0)
7622 2003-03-25 John Levon <levon@movementarian.org>
7626 * text3.C: rename the refreshing stuff to better names
7628 2003-03-24 John Levon <levon@movementarian.org>
7630 * BufferView_pimpl.h:
7631 * BufferView_pimpl.C: update layout choice on a mouse
7634 2003-03-23 John Levon <levon@movementarian.org>
7636 * Makefile.am: fix commandtags.h reference
7638 2003-03-22 John Levon <levon@movementarian.org>
7640 * BufferView_pimpl.C:
7645 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7647 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7650 * text.C: take the rtl methods out of line
7652 2003-03-21 André Pönitz <poenitz@gmx.net>
7654 * metricsinfo.[Ch]: new files containing structures to be passed around
7655 during the two-phase-drawing...
7657 2003-03-21 André Pönitz <poenitz@gmx.net>
7659 * lyxtextclass.C: read 'environment' tag.
7661 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7663 * text2.C (removeRow): fix bug 964
7665 2003-03-20 John Levon <levon@movementarian.org>
7669 * text2.C: paint cleanups. Inset::update() dropped font
7672 2003-03-19 John Levon <levon@movementarian.org>
7674 * lyxfunc.C: only fitcursor/markDirty if available()
7676 2003-03-19 John Levon <levon@movementarian.org>
7678 * commandtags.h: rename to ...
7680 * lfuns.h: ... this, and renumber / cleanup
7682 2003-03-19 John Levon <levon@movementarian.org>
7684 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7685 fit the cursor after an lfun
7689 * BufferView_pimpl.h:
7690 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7692 * LyXAction.C: layout-character should have ReadOnly
7694 * ParagraphParameters.C:
7696 * bufferview_funcs.C:
7703 * undo_funcs.C: changes from above
7705 2003-03-18 John Levon <levon@movementarian.org>
7707 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7708 remove it from update()
7710 * lyxfunc.C: update layout choice after an lfun
7712 * text3.C: remove extra updateLayoutChoice()s
7714 2003-03-18 John Levon <levon@movementarian.org>
7716 * text.C: top_y change means full repaint, fix
7717 a drawing bug with cursor movement
7719 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7723 * text2.C: anchor row on setCursor
7725 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7727 * lyxtext.h: remove almost all mutable keywords
7730 * text3.C: remove const keywords accordingly
7732 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7736 (TeXEnvironment): ditto
7739 2003-03-17 John Levon <levon@movementarian.org>
7741 * text.C (rowBreakPoint): remove attempt to fix displayed
7742 math insets inside a manual label
7744 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * lyxtext.h: remove BufferView* as first arg from almost all class
7748 * other files: adjust.
7750 2003-03-17 John Levon <levon@movementarian.org>
7754 * text2.C: more paint cleanups
7756 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7759 * rowpainter.C: remove "smart" background painting code
7761 2003-03-16 John Levon <levon@movementarian.org>
7766 * text3.C: add helper functions for setting refresh_row/y
7768 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7770 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7771 newline inset which *can* get inserted in the pass_thru layouts.
7772 This is primarily for literate documents.
7774 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7776 * buffer.C: increment LYX_FORMAT to 223
7778 2003-03-14 André Pönitz <poenitz@gmx.net>
7780 * textclass.h: prepare for environment handling, ws changes
7781 * lyxlayout.C: read latexheader and latexfooter tags
7783 2003-03-14 John Levon <levon@movementarian.org>
7785 * text2.C: rewrite ::status() a bit
7787 2003-03-13 John Levon <levon@movementarian.org>
7789 * lyxtext.h: add some docs
7791 2003-03-13 John Levon <levon@movementarian.org>
7796 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7798 2003-03-13 John Levon <levon@movementarian.org>
7800 * text3.C: fix appendix redrawing
7802 2003-03-13 John Levon <levon@movementarian.org>
7804 * text.C (setHeightOfRow):
7806 * rowpainter.C: make appendix mark have the text
7807 "Appendix" so the user knows what it is
7810 * LColor.C: s/appendixline/appendix/ from above
7812 2003-03-13 John Levon <levon@movementarian.org>
7814 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7816 * text.C: fix a getChar(pos) bug properly
7818 2003-03-13 Angus Leeming <leeming@lyx.org>
7821 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7822 Probably only temporary. Let's see how things pan out.
7824 * BufferView.C (unlockInset):
7825 * BufferView_pimpl.C (fitCursor):
7826 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7828 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7829 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7831 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7832 new functions that convert ParagraphParameters to and from a string.
7834 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7835 BufferView::Pimpl's dispatch.
7836 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7838 2003-03-13 André Pönitz <poenitz@gmx.net>
7842 * factory.C: make it aware of InsetEnv
7844 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * text2.C (setCursor): never ask for one past last
7847 (setCursor): add some debugging messages.
7849 * text.C (singleWidth): never ask for one past last
7850 (singleWidth): ditto
7852 (rightMargin): ditto
7853 (rowBreakPoint): ditto
7854 (setHeightOfRow): ditto
7855 (prepareToPrint): ditto
7857 * rowpainter.C (paintBackground): never ask for one past last
7858 (paintText): never ask for one past last
7860 * paragraph_pimpl.C (getChar): make the assert stricter, never
7861 allow the one past last pos to be taken
7863 * paragraph.C (getChar): ws changes only
7865 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7866 (numberOfSeparators): ditto
7867 (numberOfHfills): ditto
7869 2003-03-12 John Levon <levon@movementarian.org>
7875 * paragraph_funcs.C: fix per-buffer authorlists
7877 2003-03-12 John Levon <levon@movementarian.org>
7879 * text.C: fix newline in right address
7881 2003-03-12 Angus Leeming <leeming@lyx.org>
7883 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7884 duplicate those in LyXFunc::dispatch.
7888 * ToolbarDefaults.C:
7889 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7890 Add LFUN_FONTFREE_UPDATE.
7892 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7893 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7895 * bufferview_func.[Ch]: several new functions to facilliate
7896 transfer of data to and from the character dialog.
7898 2003-03-12 John Levon <levon@movementarian.org>
7903 * paragraph_funcs.C:
7904 * paragraph_pimpl.C:
7908 * text3.C: remove META_NEWLINE in favour of an inset
7911 * rowpainter.C: remove paintNewline (done by inset)
7913 2003-03-12 John Levon <levon@movementarian.org>
7915 * paragraph_pimpl.C: complain about bad getChar()s
7916 for a while at least
7918 2003-03-12 John Levon <levon@movementarian.org>
7921 * buffer.C: move paragraph read into a separate function,
7922 a little renaming to reflect that.
7925 * bufferparams.C: remove the author_ids map, not necessary now
7928 * factory.C: moved Buffer::readInset to here
7930 * paragraph_funcs.h:
7931 * paragraph_funcs.C: readParagraph free function moved from
7934 * tabular.C: name change
7936 2003-03-12 John Levon <levon@movementarian.org>
7939 * ParagraphParameters.C: move par params input to
7942 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7943 behave like a normal read from the stream wrt reading
7944 a line vs. a \\token
7946 2003-03-12 John Levon <levon@movementarian.org>
7949 * ParagraphParameters.h:
7950 * ParagraphParameters.C: move output code to a
7953 2003-03-12 John Levon <levon@movementarian.org>
7955 * BufferView.C (insertLyXFile):
7958 * tabular.C: use a parlist iterator for creating the
7961 2003-03-12 John Levon <levon@movementarian.org>
7963 * buffer.C: make current_change static local not
7966 2003-03-12 John Levon <levon@movementarian.org>
7968 * buffer.C: fix insertStringAsLines for change tracking
7970 2003-03-12 John Levon <levon@movementarian.org>
7977 * bufferparams.C: move author list into params. Rename some
7978 functions. Move the header reading into a separate token
7979 loop. Move the header token reading into BufferParams.
7981 2003-03-12 John Levon <levon@movementarian.org>
7983 * changes.C: put debug inside lyxerr.debugging() checks
7985 2003-03-11 André Pönitz <poenitz@gmx.net>
7987 * factory.C: make it aware of InsetHFill
7989 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7991 * buffer.C (latexParagraphs): move function from here...
7992 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7995 2003-03-10 Angus Leeming <leeming@lyx.org>
7997 * LyXAction.C (init): fix bug in poplating array with multiple entries
7998 with the same LFUN (spotted by JMarc).
8000 2003-03-10 John Levon <levon@movementarian.org>
8003 * text2.C: move getColumnNearX() near its
8006 2003-03-10 John Levon <levon@movementarian.org>
8008 * text.C: fix break before a minipage
8010 2003-03-10 John Levon <levon@movementarian.org>
8012 * text.C: fix the last commit
8014 2003-03-09 John Levon <levon@movementarian.org>
8018 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8019 bug 365 (don't break before insets unless needed). Don't
8020 return a value > last under any circumstances.
8022 2003-03-09 Angus Leeming <leeming@lyx.org>
8024 * BufferView_pimpl.C (trackChanges, dispatch): call
8025 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8027 2003-03-09 Angus Leeming <leeming@lyx.org>
8029 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8030 than Dialogs::showAboutlyx().
8032 2003-03-09 Angus Leeming <leeming@lyx.org>
8034 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8035 than Dialogs::showTabularCreate().
8037 2003-03-09 John Levon <levon@movementarian.org>
8041 * text2.C: 3rd arg to nextBreakPoint was always the same.
8044 2003-03-08 John Levon <levon@movementarian.org>
8051 * text2.C: Remove the "main" bit from the "main body"
8054 2003-03-08 John Levon <levon@movementarian.org>
8056 * text.C (leftMargin): The left margin of an empty
8057 manual label paragraph should not include the label width
8060 * text.C (prepareToPrint): don't attempt to measure hfills
8061 for empty manual label paragraphs - the answer should be 0
8063 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * CutAndPaste.C: remove commented code and reindent.
8067 2003-03-08 John Levon <levon@movementarian.org>
8070 * lyxfunc.C: move reloadBuffer()
8073 * BufferView.C: to here
8075 * lyxvc.C: add comment
8078 * vc-backend.C: call bv->reload() to avoid
8079 getStatus() check on MENURELOAD
8081 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8083 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8084 to an old format .dep file.
8086 2003-03-07 Angus Leeming <leeming@lyx.org>
8088 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8089 when the LFUN_MOUSE_RELEASE should have been handled by
8090 inset->localDispatch.
8092 2003-03-07 Angus Leeming <leeming@lyx.org>
8094 * BufferView_pimpl.C (dispatch):
8095 * LyXAction.C (init):
8096 * ToolbarDefaults.C (init):
8098 * lyxfunc.C (getStatus):
8099 remove LFUN_INSET_GRAPHICS.
8101 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8103 2003-03-07 Angus Leeming <leeming@lyx.org>
8106 * LyXAction.C (init):
8107 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8109 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8112 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8114 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8115 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8117 2003-03-07 Angus Leeming <leeming@lyx.org>
8119 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8122 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * ParagraphList.C (front): new function
8127 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8129 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8130 and top_row_offset_. removed var first_y.
8132 * text2.C (LyXText, removeRow):
8134 * BufferView_pimpl.C:
8135 use these methods instead of using first_y
8137 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * text2.C (pasteSelection): adjust for checkPastePossible
8141 * CutAndPaste.C: remove Paragraph * buf and replace with
8142 ParagraphList paragraphs.
8143 (DeleteBuffer): delete
8144 (cutSelection): change the tc type to textclass_type
8145 (copySelection): change the tc type to textclass_type
8146 (copySelection): adjust for ParagraphList
8147 (pasteSelection): change the tc type to textclass_type
8148 (pasteSelection): adjust for Paragraphlist
8149 (nrOfParagraphs): simplify for ParagraphList
8150 (checkPastePossible): simplify for ParagraphList
8151 (checkPastePossible): remove unused arg
8153 * ParagraphList.C (insert): handle the case where there are no
8156 * CutAndPaste.h: make CutAndPaste a namespace.
8158 * text3.C (dispatch): adjust
8160 * text.C (breakParagraph): add a ParagraphList as arg
8162 * paragraph_funcs.C (breakParagraph): change to take a
8163 BufferParams and a ParagraphList as args.
8164 (breakParagraphConservative): ditto
8165 (mergeParagraph): ditto
8166 (TeXDeeper): add a ParagraphList arg
8167 (TeXEnvironment): ditto
8170 * buffer.C (readLyXformat2): adjust
8171 (insertStringAsLines): adjust
8172 (latexParagraphs): adjust
8174 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8175 (cutSelection): adjust
8176 (pasteSelection): adjust
8178 * BufferView_pimpl.C (insertInset): adjust
8180 2003-03-05 Angus Leeming <leeming@lyx.org>
8183 * LyXAction.C (init):
8184 * BufferView_pimpl.C (dispatch):
8185 * lyxfunc.C (getStatus):
8186 remove LFUN_CHILD_INSERT.
8188 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8190 2003-03-05 Angus Leeming <leeming@lyx.org>
8193 * LyXAction.C (init):
8194 * src/factory.C (createInset):
8195 * lyxfunc.C (getStatus):
8196 * text3.C (dispatch):
8197 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8199 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8201 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * ParagraphList.C (insert): handle insert right before end()
8204 (erase): fix cases where it can be first or last paragraph.
8206 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8209 Paragraph::next and Paragraph::previous
8212 * text.C (breakParagraph): adjust
8214 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8215 BufferParams& as arg.
8216 (breakParagraph): use ParagraphList::insert
8217 (breakParagraphConservative): take a Buffer* instead of a
8218 BufferParams& as arg.
8219 (breakParagraphConservative): use ParagraphList::insert.
8221 * buffer.C (insertStringAsLines): un-const it
8222 (insertStringAsLines): adjust
8224 * ParagraphList.C (insert): new function
8226 * CutAndPaste.C (pasteSelection): adjust
8228 * text.C (backspace): adjust
8230 * tabular.C (SetMultiColumn): adjust
8232 * CutAndPaste.C (cutSelection): adjust
8233 (pasteSelection): adjust
8235 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8236 Buffer const * as arg
8238 * ParagraphList.C (erase): new function
8239 * paragraph_funcs.C (mergeParagraph): use it
8240 (mergeParagraph): make it take a Buffer* instead of a
8241 BufferParams* as arg
8243 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8245 (breakParagraphConservative): ditto
8247 * paragraph.h: remove the breakParagraph friend
8249 * paragraph.C (eraseIntern): new function
8250 (setChange): new function
8252 * paragraph_funcs.C (mergeParagraph): make it take a
8253 ParagraphList::iterator instead of a Paragraph *, adjust
8256 * paragraph.h: move an #endif so that the change tracking stuff
8257 also works in the NO_NEXT case.
8259 2003-03-04 Angus Leeming <leeming@lyx.org>
8262 * LyXAction.C: new LFUN_INSET_MODIFY.
8264 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8265 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8267 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * several files: ws changes only
8271 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8272 (TeXEnvironment): ditto
8275 * buffer.C (makeLaTeXFile): adjust
8276 (latexParagraphs): make it take ParagraphList::iterator as args
8278 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * buffer.C (latexParagraphs): adjust
8282 * paragraph.C (TeXOnePar): move function...
8283 (optArgInset): move function...
8284 (TeXEnvironment): move function...
8285 * paragraph_pimpl.C (TeXDeeper): move function...
8286 * paragraph_funcs.C: ...here
8288 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8290 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * buffer.C (readInset): remove compability code for old Figure and
8295 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8297 * buffer.C: ws changes
8300 * BufferView_pimpl.C: ditto
8303 * bufferlist.h: ditto
8307 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8309 * converter.[Ch]: split into itself +
8312 * Makefile.am: += graph.[Ch] + format.[Ch]
8319 * lyxrc.C: added #include "format.h"
8321 2003-02-27 Angus Leeming <leeming@lyx.org>
8323 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8326 * factory.C (createInset): add "label" to the factory.
8328 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8329 string and do no more.
8331 2003-02-27 Angus Leeming <leeming@lyx.org>
8334 * LyXAction.C (init):
8335 * factory.C (createInset):
8336 * BufferView_pimpl.C (dispatch):
8337 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8339 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8341 * lyxfunc.C (dispatch):
8342 * text3.C (dispatch): pass name to params2string.
8344 2003-02-26 Angus Leeming <leeming@lyx.org>
8346 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8348 Rearrange the ~includes. Strip out the unnecessary ones.
8350 * factory.C (createInset): reformat.
8351 create new insets for the various LFUN_XYZ_APPLY lfuns.
8353 2003-02-26 John Levon <levon@movementarian.org>
8356 * lyxrow.C: add isParStart,isParEnd helpers
8358 * paragraph.h: make isInserted/DeletedText take refs
8360 * paragraph_funcs.h:
8361 * paragraph_funcs.C: remove #if 0'd code
8366 * text.C: use lyxrow helpers above.
8367 Move draw and paint routines to RowPainter.
8368 Make several methods use refs not pointers.
8369 Make backgroundColor() const.
8370 Add markChangeInDraw(), isInInset().
8371 Merge changeRegionCase into changeCase.
8372 Make workWidth() shouldn't-happen code into an Assert.
8375 * rowpainter.C: new class for painting a row.
8378 * vspace.C: make inPixels take a ref
8380 2003-02-26 Angus Leeming <leeming@lyx.org>
8382 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8385 2003-02-25 John Levon <levon@movementarian.org>
8387 * ispell.C: give the forked command a more accurate name
8389 2003-02-22 John Levon <levon@movementarian.org>
8392 * toc.C: make TocItem store an id not a Paragraph *
8395 2003-02-21 Angus Leeming <leeming@lyx.org>
8397 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8398 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8399 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8400 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8401 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8402 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8404 * BufferView_pimpl.C (dispatch):
8405 * LyXAction.C (init):
8406 * factory.C (createInset):
8407 * lyxfunc.C (getStatus, dispatch):
8408 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8410 2003-02-21 Angus Leeming <leeming@lyx.org>
8412 * BufferView_pimpl.C (MenuInsertLyXFile):
8413 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8414 * lyxfunc.C (menuNew, open, doImport):
8415 no longer pass a LyXView & to fileDlg.
8417 2003-02-21 Angus Leeming <leeming@lyx.org>
8419 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8420 * LyXAction.C: change, BIBKEY to BIBITEM.
8421 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8422 Change InsetBibKey to InsetBibitem.
8423 Change BIBKEY_CODE to BIBITEM_CODE.
8424 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8425 * factory.C: replace insetbib.h with insetbibitem.h.
8426 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8427 * paragraph.C: replace insetbib.h with insetbibitem.h.
8428 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8429 Change bibkey() to bibitem().
8430 * text.C: remove insetbib.h.
8431 * text2.C: replace insetbib.h with insetbibitem.h.
8432 change bibkey() to bibitem().
8433 * text3.C: remove insetbib.h.
8434 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8436 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8438 * lyxrc.C (output): enclose user email in quotes (in case there are
8441 2003-02-18 John Levon <levon@movementarian.org>
8443 * buffer.h: add std::
8445 2003-02-17 John Levon <levon@movementarian.org>
8451 * pspell.C: reworking. Especially in ispell, a large
8452 number of clean ups and bug fixes.
8454 * lyxfunc.C: fix revert to behave sensibly
8456 2003-02-17 André Pönitz <poenitz@gmx.net>
8459 * commandtags.h: new LFUN_INSERT_BIBKEY
8469 * paragraph_func.C: remove special bibkey handling
8471 2003-02-17 John Levon <levon@movementarian.org>
8473 * text.C (Delete): fix case where delete at the end of
8474 the very first paragraph would not merge the pars
8476 2003-02-17 John Levon <levon@movementarian.org>
8478 * lyxrow.C: fix lastPrintablePos()
8480 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * bufferparams.C (writeLaTeX): add a std:here
8484 * buffer.C: and remove a using directive there
8486 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8488 * buffer.C (makeLaTeXFile): move the code that generates the
8491 * bufferparams.C (writeLaTeX): ... in this new method
8493 * LaTeXFeatures.C (getEncodingSet): make const
8494 (getLanguages): make const
8496 * MenuBackend.C (binding): returns the binding associated to this
8498 (add): sets the status of each item by calling getStatus. Adds
8500 (read): add support for OptSubMenu
8501 (expand): remove extra separator at the end of expanded menu
8503 2003-02-15 John Levon <levon@movementarian.org>
8506 * BufferView_pimpl.C:
8508 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8509 inset code that had no actual effect. Remove unneeded status
8512 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8517 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8519 * text.C (drawLengthMarker): also draw an arrow marker for
8520 symbolic lengths (medskip...)
8522 2003-02-14 John Levon <levon@movementarian.org>
8525 * tabular.C: better method names
8527 2003-02-14 John Levon <levon@movementarian.org>
8529 * BufferView_pimpl.C:
8534 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8535 it's a more accurate name. Remove some pointless uses.
8537 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8539 * text2.C (LyXText): change order of initilizers to shut off
8542 2003-02-14 John Levon <levon@movementarian.org>
8544 * buffer.C: use ParIterator for getParFromID()
8548 * paragraph_pimpl.h:
8549 * paragraph_pimpl.C: remove unused getParFromID()
8551 2003-02-14 John Levon <levon@movementarian.org>
8553 * buffer.C: remove some very old #if 0'd parse code
8555 2003-02-13 John Levon <levon@movementarian.org>
8559 * text2.C: move hfillExpansion(), numberOfSeparators(),
8560 rowLast(), rowLastPrintable(), numberofHfills(),
8561 numberOfLabelHfills() ...
8564 * lyxrow.C: ... to member functions here.
8569 * text.C: remove LyXText::beginningOfMainBody(), and call
8570 p->beginningOfMainBody() directly. Move the check for
8571 LABEL_MANUAL into the latter.
8578 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8584 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8585 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8587 2003-02-13 John Levon <levon@movementarian.org>
8589 * CutAndPaste.C: remove debug
8591 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8593 * paragraph.C (asString): remove two unused variables
8595 * lyxtextclass.C (readTitleType):
8597 (LyXTextClass): handle new members titletype_ and titlename_
8599 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8601 2003-02-09 John Levon <levon@movementarian.org>
8604 * buffer.C: replace hand-coded list with a map for the dep clean
8606 2003-02-08 John Levon <levon@movementarian.org>
8608 * LaTeX.C: consolidate code into showRunMessage() helper
8610 2003-02-08 John Levon <levon@movementarian.org>
8615 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8616 and pass the size in explicitly
8618 * BufferView_pimpl.h:
8619 * BufferView_pimpl.C:
8621 * BufferView.C: add getCurrentChange()
8623 * BufferView_pimpl.h:
8624 * BufferView_pimpl.C: handle change lfuns
8626 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8627 for changes. Mark pasted paragraphs as new.
8629 * support/lyxtime.h:
8630 * support/lyxtime.C:
8631 * DepTable.C: abstract time_t as lyx::time_type
8634 * LColor.C: add colours for new text, deleted text, changebars
8636 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8637 package use "usenames" option.
8641 * LyXAction.C: add change lfuns
8645 * author.C: author handling
8648 * buffer.C: add a per-buffer author list, with first entry as
8649 current author. Handle new .lyx tokens for change tracking. Output
8650 author list to .lyx file. Output dvipost stuff to .tex preamble.
8651 Bump lyx format to 222.
8654 * bufferlist.C: add setCurrentAuthor() to reset current author details
8658 * bufferparams.C: add param for tracking
8660 * bufferview_funcs.C: output change info in minibuffer
8664 * changes.C: add change-tracking structure
8667 * debug.C: add CHANGES debug flag
8670 * lyxfind.C: add code for finding the next change piece
8673 * lyxrc.C: add user_name and user_email
8676 * lyxrow.C: add a metric for the top of the text line
8679 * text.C: implement accept/rejectChange()
8682 * text.C: paint changebars. Paint new/deleted text in the chosen
8683 colours. Strike through deleted text.
8687 * paragraph_pimpl.h:
8688 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8689 in the current change to the insert functions. Rework erase to
8690 mark text as deleted, adding an eraseIntern() and a range-based
8691 erase(). Implement per-paragraph change lookup and
8694 * paragraph_funcs.C: Fixup paste for change tracking.
8696 * tabular.C: mark added row/columns as new.
8698 * text.C: fix rowLast() to never return -1. Don't allow
8699 spellchecking of deleted text. Track transpose changes. Don't
8700 allow paragraph break or merge where appropriate.
8702 * text2.C: leave cursor at end of selection after a cut.
8704 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * text.C (getLengthMarkerHeight):
8707 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8708 visible on screen too.
8710 2003-02-07 John Levon <levon@movementarian.org>
8712 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8714 2003-02-05 Angus Leeming <leeming@lyx.org>
8716 * lyxserver.C (read_ready): revert my patch of 11 September last year
8717 as it sends PC cpu through the roof. Presumably this means that
8718 the lyxserver will no longer run on an Alpha...
8720 2003-01-30 Angus Leeming <leeming@lyx.org>
8722 * factory.C (createInset): create an InsetCommandParam of type "index"
8723 and use it to 'do the right thing'.
8725 * text2.C (getStringToIndex): ensure that cursor position is always
8726 reset to the reset_cursor position.
8728 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8733 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8737 * lyxfunc.C: Output messages with identical spelling, punctuation,
8740 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8742 * MenuBackend.C (expandFormats): List only viewable export formats
8745 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8748 * lyxfunc.C (getStatus): Make sure that formats other than
8749 "fax" can also be disabled
8751 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8753 * text3.C (dispatch): put the lfuns that insert insets in 3
8754 groups, and call doInsertInset with appropriate arguments.
8755 (doInsertInset): new function, that creates an inset and inserts
8756 it according to some boolean parameters.
8758 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * buffer.C (readFile): remember to pass on 'par' when calling
8761 readFile recursively.
8763 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8765 * MenuBackend.C (expandFormats): add "..." to import formats.
8767 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8769 * paragraph.C (asString): Remove XForms RTL hacks.
8771 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8772 * buffer.C: fix typo
8774 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8776 * Makefile.am (LIBS): delete var
8777 (lyx_LDADD): add @LIBS@ here instead.
8779 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8781 * Clarify the meaning of "wheel mouse jump"
8783 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8785 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8788 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * importer.C (Loaders): do not preallocate 3 elements in the
8791 vector, since one ends up with 6 elements otherwise
8793 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8795 * DepTable.C (write): write the file name as last element of the
8796 .dep file (because it may contain spaces)
8797 (read): read info in the right order
8799 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8801 * paragraph_pimpl.C (simpleTeXBlanks):
8802 (simpleTeXSpecialChars):
8803 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8805 * tabular.C (latex): add some missing case statements. Reindent.
8807 * MenuBackend.C (expandToc): remove unused variable.
8809 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8818 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8821 2003-01-05 John Levon <levon@movementarian.org>
8824 * BufferView.C: add getEncoding()
8827 * kbsequence.C: do not store last keypress
8830 * lyxfunc.C: store last keypress here instead. Pass encoding
8833 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * lyx_main.C (init): remove annoying error message when following
8836 symbolic links (bug #780)
8838 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * text.C (insertChar):
8841 * lyxrc.C (getDescription): remove extra spaces
8843 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8845 * lyxrc.C (getDescription): remove extra spaces
8847 2002-12-20 John Levon <levon@movementarian.org>
8849 * text3.C: hack fix for page up/down across tall rows
8851 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8853 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8856 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8859 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8860 thesaurus is not compiled in
8862 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8864 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8866 2002-12-16 Angus Leeming <leeming@lyx.org>
8869 * lyx_main.C (init): remove override_x_deadkeys stuff.
8871 2002-12-12 John Levon <levon@movementarian.org>
8873 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8874 insert. Only remove shift modifier under strict
8877 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * MenuBackend.C (expandToc): fix crash.
8881 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * MenuBackend.C (expandToc): gettext on float names.
8885 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8887 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8888 implement bool empty() [bug 490]
8890 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8894 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8896 * several files: ws changes
8898 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8900 * text2.C (setCounter): clean up a bit, use boost.format.
8901 (updateCounters): initialize par upon declaration.
8903 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8904 if the layout exists. We do not just store the layout any more.
8905 (SwitchLayoutsBetweenClasses): use boost.format
8907 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8909 * converter.C (convert): if from and to files are the same, use a
8910 temporary files as intermediary
8912 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8917 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8919 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8921 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8923 * tabular.C (asciiPrintCell): use string(size, char) instead of
8926 * sgml.C (openTag): fix order of arguments to string constructor
8929 * lyxfunc.C (dispatch): use boost.format
8931 * lots of files: change "c" -> 'c'
8933 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8935 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8937 2002-11-25 Angus Leeming <leeming@lyx.org>
8939 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8941 * lyx_main.C (init): compile fix.
8943 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8945 * lyx_cb.C (start): boost.formatify
8946 do not include <iostream>
8948 * lengthcommon.C: ws only
8950 * boost-inst.C,BoostFormat.h: add more explict instantations
8952 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8954 * lots of files: handle USE_BOOST_FORMAT
8956 2002-11-21 John Levon <levon@movementarian.org>
8958 * pspell.C: fix compile
8960 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8962 * lyxfunc.C (dispatch): use boost::format
8966 * lyxfont.C (stateText): use boost::format
8968 * lyx_main.C (LyX): use boost::format
8970 (queryUserLyXDir): ditto
8973 (typedef boost::function): use the recommened syntax.
8975 * importer.C (Import): use boost::format
8977 * debug.C (showLevel): use boost::format
8979 * converter.C (view): use boost::format
8984 * bufferview_funcs.C (currentState): use boost::format
8986 * bufferlist.C (emergencyWrite): use boost::format
8988 * buffer.C (readLyXformat2): use boost::format
8989 (parseSingleLyXformat2Token): ditto
8991 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8993 * LaTeX.C (run): use boost::format
8995 * Chktex.C (scanLogFile): use boost::format
8997 * BufferView_pimpl.C (savePosition): use boost::format
8998 (restorePosition): ditto
8999 (MenuInsertLyXFile): ditto
9001 * BoostFormat.h: help file for explicit instation.
9003 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9005 * tabular.C (latex): Support for block alignment in fixed width
9008 2002-11-17 John Levon <levon@movementarian.org>
9010 * BufferView_pimpl.C:
9012 * lyxfunc.C: split filedialog into open/save
9014 2002-11-08 Juergen Vigna <jug@sad.it>
9016 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9017 by my last patch (hopefully).
9019 2002-11-08 John Levon <levon@movementarian.org>
9028 * toc.C: ParConstIterator, and use it (from Lars)
9030 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9032 * lyxtextclass.[Ch]: revise and add doxygen comments
9034 2002-11-07 John Levon <levon@movementarian.org>
9036 * text.C: fix progress value for spellchecker
9038 * toc.C: fix navigate menu for insetwrap inside minipage
9040 * paragraph_funcs.C: added FIXME for suspect code
9042 2002-11-07 John Levon <levon@movementarian.org>
9044 * BufferView_pimpl.C: fix redrawing of insets
9047 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9049 * text2.C (updateCounters): fix bug 668
9051 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9053 * text3.C (dispatch): Do not make the buffer dirty when moving the
9056 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9058 * vc-backend.C: STRCONV
9061 * text2.C (setCounter): STRCONV
9063 * paragraph.C (asString): STRCONV
9065 * lyxlength.C (asString): STRCONV
9066 (asLatexString): ditto
9068 * lyxgluelength.C (asString): STRCONV
9069 (asLatexString): ditto
9071 * lyxfunc.C (dispatch): STRCONV
9074 * lyxfont.C (stateText): STRCONV
9076 * importer.C (Import): STRCONV
9078 * counters.C (labelItem): STRCONV
9079 (numberLabel): ditto
9080 (numberLabel): remove unused ostringstream o
9085 * bufferview_funcs.C (currentState): STRCONV
9087 * buffer.C (readFile): STRCONV
9088 (asciiParagraph): ditto
9089 (makeLaTeXFile): ditto
9091 * Spacing.C (writeEnvirBegin): STRCONV
9093 * LaTeXFeatures.C (getLanguages): STRCONV
9094 (getPackages): ditto
9096 (getBabelOptions): ditto
9097 (getTClassPreamble): ditto
9098 (getLyXSGMLEntities): ditto
9099 (getIncludedFiles): ditto
9103 (scanAuxFile): ditto
9106 * LString.h: add the STRCONV macros
9108 * BufferView_pimpl.C (savePosition): STRCONV
9109 (restorePosition): ditto
9110 (MenuInsertLyXFile): ditto
9112 * vc-backend.C (scanMaster): change from submatch[...] to
9115 * funcrequest.C: include config.h
9117 * factory.C: include config.h
9119 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9121 * box.C: include config.h
9123 * LaTeX.C (scanAuxFile): change from submatch[...] to
9127 2002-10-25 Angus Leeming <leeming@lyx.org>
9129 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9131 * ispell.[Ch] (setError): new method.
9132 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9133 Use setError() insetead of goto END.
9135 * lyx_cb.C (AutoSave): move out child process into new class
9138 2002-10-30 John Levon <levon@movementarian.org>
9140 * text3.C: make start appendix undoable
9142 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9144 * lyxlength.C (inPixels): Fix returned value.
9146 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9149 2002-10-24 Angus Leeming <leeming@lyx.org>
9151 * lyxgluelength.h: no need to forward declare BufferParams
9152 or BufferView, so don't.
9154 2002-10-21 John Levon <levon@movementarian.org>
9156 * BufferView.C: menuUndo ->undo, redo
9158 * BufferView.h: document, remove dead, make some methods private
9160 * paragraph_funcs.h:
9161 * paragraph_funcs.C:
9162 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9167 * sgml.C: move sgml open/close tag into sgml.C
9169 * bufferview_funcs.h: unused prototype
9172 * lyxfunc.C: remove unused
9175 * text.C: remove unused
9177 2002-10-21 John Levon <levon@movementarian.org>
9181 * BufferView_pimpl.h:
9182 * BufferView_pimpl.C: fix mouse wheel handling based on
9183 patch from Darren Freeman
9185 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9187 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9189 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9191 * lyxlength.C (inPixels): Fix hanfling of negative length.
9192 Fix LyXLength::MU case.
9194 2002-10-16 John Levon <levon@movementarian.org>
9196 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9198 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * converter.C (view): add support for $$i (file name) and $$p
9201 (file path) for the viewer command. If $$i is not specified, then
9202 it is appended to the command (for compatibility with old syntax)
9204 2002-10-14 Juergen Vigna <jug@sad.it>
9206 * undo_funcs.C (textHandleUndo): alter the order in which the
9207 new undopar is added to the LyXText, as we have to set first
9208 the right prev/next and then add it as otherwise the rebuild of
9209 LyXText is not correct. Also reset the cursor to the right paragraph,
9210 with this IMO we could remove the hack in "redoParagraphs()".
9212 2002-10-09 Angus Leeming <leeming@lyx.org>
9214 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9215 to turn off an optimisation if a new inset is to be inserted.
9217 2002-10-11 André Pönitz <poenitz@gmx.net>
9219 * lyxtext.h: make some functions public to allow access
9220 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9222 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9224 * text3.C (dispatch): when changing layout, avoid an infinite loop
9227 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9229 * lyxrc.C (read): treat a viewer or converter command of "none" as
9232 * MenuBackend.C (expandFormats): for an update, also allow the
9233 formats that are not viewable
9235 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9236 script if it is newer than the lyxrc.defaults in user directory
9238 2002-10-07 André Pönitz <poenitz@gmx.net>
9240 * text.C: Vitaly Lipatov's small i18n fix
9242 2002-09-25 Angus Leeming <leeming@lyx.org>
9244 * ispell.h: doxygen fix.
9246 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9248 * buffer.h (readFile): Add a new argument to the method, to allow
9249 reading of old-format templates.
9251 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9253 * toc.C (getTocList): Get TOC from InsetWrap.
9255 2002-09-16 John Levon <levon@movementarian.org>
9257 * lyxfunc.C: check tabular for cut/copy too
9259 2002-09-12 John Levon <levon@movementarian.org>
9264 * factory.C: add header
9266 * paragraph_funcs.h:
9267 * paragraph_funcs.C: cleanup
9269 2002-09-11 John Levon <levon@movementarian.org>
9271 * PrinterParams.h: odd/even default to true
9273 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9275 * PrinterParams.h: update printer parameters for new xforms dialog
9277 2002-09-11 Angus Leeming <leeming@lyx.org>
9279 * lyxserver.C (read_ready): re-write to make it more transparent
9280 and to make it work in coherent fashion under Tru64 Unix.
9282 2002-09-11 André Pönitz <poenitz@gmx.net>
9286 * text3.C: implement LFUN_WORDSEL
9288 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9290 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9291 make floatlist_ a boost::shared_ptr<FloatList>
9293 * lyxtextclass.C: include FloatList.h
9294 (LyXTextClass): initialize floatlist_
9295 (TextClassTags): add TC_NOFLOAT
9296 (Read): match "nofloat" to TC_NOFLOAT and use it.
9297 (readFloat): modify call to floatlist_
9301 * FloatList.[Ch] (FloatList): remove commented out float
9303 (erase): new function
9305 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9307 * MenuBackend.C (expandToc): fix crash when there is no document
9310 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9312 * many files: Add insetwrap.
9314 2002-09-09 John Levon <levon@movementarian.org>
9316 * text2.C: remove confusing and awkward depth wraparound
9318 2002-09-09 John Levon <levon@movementarian.org>
9320 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9323 * buffer.C: remove getIncludeonlyList()
9326 * lyxfunc.C: remove headers
9328 2002-09-09 Juergen Vigna <jug@sad.it>
9330 * text.C (getColumnNearX): fix form Michael this is most
9331 probably a cut&paste bug.
9333 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9337 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9338 references, ws changes.
9340 * text2.C (init): update counters after init
9341 (insertParagraph): no need to set counter on idividual paragraphs.
9342 (setCounter): access the counters object in the textclass object
9343 on in the buffer object.
9344 (updateCounters): ditto
9346 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9347 shared_ptr<Counters> to avoid loading counters.h in all
9349 (LyXTextClass): initialize ctrs_
9350 (TextClassTags): add TC_COUNTER, and ...
9351 (Read): use it here.
9352 (CounterTags): new tags
9353 (readCounter): new function
9354 (counters): new funtion
9355 (defaultLayoutName): return a const reference
9357 * counters.C (Counters): remove contructor
9358 (newCounter): remove a couple of unneeded statements.
9359 (newCounter): simplify a bit.
9360 (numberLabel): some small formatting changes.
9362 * buffer.[Ch]: remove all traces of counters, move the Counters
9363 object to the LyXTextClass.
9365 2002-09-06 Alain Castera <castera@in2p3.fr>
9367 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9368 package to set the horizontal alignment on fixed width columns.
9371 * lyx_sty.h: added tabularnewline macro def.
9373 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9375 2002-09-06 John Levon <levon@movementarian.org>
9377 * LyXAction.C: tooltips for sub/superscript
9379 * MenuBackend.C: a bit more verbose
9381 * lyxfunc.C: tiny clean
9383 * undo_funcs.C: document undo_frozen
9385 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9387 * counters.C (Counters): add missing algorithm counter.
9389 * text2.C (setCounter): lookup the counter with layouts latexname
9390 instead of by section number.
9391 (setCounter): use a hackish way to lookup the correct enum
9393 a float name->type change
9394 reset enum couners with counter name directly instead of depth value.
9396 * counters.C (Counters): remove the push_backs, change to use the
9397 float type not the float name.
9398 (labelItem): remove unused string, float name->type change
9400 * counters.h: don't include vector, loose the enums and sects vectors
9402 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9404 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9405 (Read): add float->TC_FLOAT to textclassTags
9406 (Read): and handle it in the switch
9407 (readFloat): new function
9409 * FloatList.C (FloatList): comment out the hardcoded float
9412 * lyxlayout.h: ws change.
9414 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9416 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9418 2002-09-03 Angus Leeming <leeming@lyx.org>
9420 * BufferView_pimpl.h: qualified name is not allowed in member
9421 declaration: WorkArea & Pimpl::workarea() const;
9423 * factory.C: added using std::endl directive.
9425 * text3.C: added using std::find and std::vector directives.
9427 2002-08-29 André Pönitz <poenitz@gmx.net>
9430 * text2.C: remove unused member number_of_rows
9433 * BufferView2.C: remove file, move contents to...
9434 * BufferView.C: ... here
9436 * BufferView_pimpl.C:
9437 * factory.C: move more inset creation to factory
9439 * vspace.C: avoid direct usage of LyXText, ws changes
9442 don't provide direct access to WorkArea, use two simple
9443 acessors haveSelction() and workHeight() instead
9446 2002-08-29 John Levon <levon@movementarian.org>
9448 * BufferView_pimpl.C (dispatch): do not continue when
9451 2002-08-28 André Pönitz <poenitz@gmx.net>
9453 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9456 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9458 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9460 * buffer.C: increment LYX_FORMAT to 221
9462 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9463 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9465 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9467 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9469 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9471 * factory.C (createInset): use LyXTextClass::floats
9473 * MenuBackend.C (expandFloatListInsert):
9474 (expandFloatInsert):
9477 * text2.C (setCounter):
9479 * LaTeXFeatures.C (useFloat):
9480 (getFloatDefinitions):
9482 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9484 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9485 floatlist_, with accessor floats().
9487 * FloatList.h: remove global FloatList
9489 2002-08-26 André Pönitz <poenitz@gmx.net>
9491 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9495 * BufferView_pimpl.C:
9496 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9498 2002-08-25 John Levon <levon@movementarian.org>
9500 * LyXAction.C: fix margin note description
9502 2002-08-24 John Levon <levon@movementarian.org>
9506 * bufferview_funcs.C:
9508 * undo_funcs.C: cleanups
9510 * lyxfunc.C: disable CUT/COPY when no selection
9512 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9514 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9515 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9517 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9518 Add backward compatibility to "mono", "gray" and "no".
9520 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9522 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9523 (and file_format >= 200).
9525 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9529 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9531 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9533 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9535 * BufferView_pimpl.C:
9542 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9543 inset and code to make it work with the paragraph code. The inset
9544 can be anywhere in the paragraph, but will only do the expected
9545 thing in LaTeX if the layout file contains the parameter line
9547 (or more generally, a nonzero value) for that layout.
9549 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9551 * paragraph.h: remove the declaration of undefined counters class
9554 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9556 * text2.C (setCounter): fixed enumeration mis-count as reported by
9557 Dr. Richard Hawkins.
9559 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * paragraph_funcs.h: remove some unneeded includes
9563 * text.C (backspace): pasteParagraph now in global scipe
9565 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9566 (pasteSelection): ditto
9568 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9569 * paragraph_funcs.C (pasteParagraph): ... here
9571 2002-08-20 André Pönitz <poenitz@gmx.net>
9573 * commandtags.h: new LFUNs for swapping/copying table row/colums
9576 * lyxfunc.C: support for new lfuns
9578 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * buffer.[Ch]: remove NO_COMPABILITY stuff
9583 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9585 * boost.C (throw_exception): new file, with helper function for
9586 boost compiled without exceptions.
9591 * ParameterStruct.h:
9592 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9594 * bufferlist.C (emergencyWriteAll): use boost bind
9596 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9598 * text.C: include paragraph_funcs.h
9599 (breakParagraph): breakParagraph is now in global scope
9601 * paragraph_funcs.[Ch]: new files
9603 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9606 * buffer.C: include paragraph_funcs.h
9607 (insertStringAsLines): breakParagraph is now in global scope
9609 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9612 * CutAndPaste.C: include paragraph_funcs.h
9613 (cutSelection): breakParagraphConservative is now in global scope
9614 (pasteSelection): ditto
9616 * buffer.h: declare oprator== and operator!= for
9617 Buffer::inset_iterator
9619 * bufferlist.C (emergencyWrite): don't use fmt(...)
9621 * text3.C: add using std::endl
9623 * BufferView.C (moveCursorUpdate): remove default arg
9625 2002-08-20 André Pönitz <poenitz@gmx.net>
9627 * buffer.[Ch]: move inline functions to .C
9630 * BufferView_pimpl.C:
9632 * buffer.[Ch]: use improved inset_iterator
9635 * paragraph.[Ch]: write one paragraph at a time
9637 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9639 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9640 style if style is not specified.
9642 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * text2.C (setCounter): when searching for right label for a
9645 caption, make sure to recurse to parent insets (so that a caption
9646 in a minipage in a figure float works) (bug #568)
9648 2002-08-20 André Pönitz <poenitz@gmx.net>
9650 * text3.C: new file for LyXText::dispatch() and helpers
9652 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9654 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9656 2002-08-19 André Pönitz <poenitz@gmx.net>
9659 * text.C: new LyXText::dispatch()
9661 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9663 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9665 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9667 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9670 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * Makefile.am: use $(variables) instead of @substitutions@
9674 2002-08-15 André Pönitz <poenitz@gmx.net>
9677 * BufferView_pimpl.C: streamlining mathed <-> outer world
9681 * LyXAction.C: remove unused LFUN_MATH
9683 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9685 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9687 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9689 * paragraph.C (Paragraph): reformat a bit
9690 (cutIntoMinibuffer): use builtin InsetList function instad of
9694 * buffer.C: include boost/bind.hpp, add using std::for_each
9695 (writeFileAscii): use ParagraphList iterators
9696 (validate): use for_each for validate traversal of paragraphs
9697 (getBibkeyList): use ParagraphList iterators
9698 (resizeInsets): use for_each to resizeInsetsLyXText for all
9700 (getParFromID): use ParagraphList iterators
9702 * BufferView2.C (lockInset): use paragraph list and iterators
9704 2002-08-14 John Levon <levon@movementarian.org>
9706 * lyxserver.C: remove spurious xforms include
9708 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9712 2002-08-13 André Pönitz <poenitz@gmx.net>
9715 * lyxfunc.C: further cleaning
9717 2002-08-13 André Pönitz <poenitz@gmx.net>
9719 * funcrequest.h: new constructor
9721 * funcrequest.C: move stuff here from .h
9724 * BufferView_pimpl.C:
9727 * lyxfunc.C: subsequent changes
9729 * lyxfunc.h: new view() member function
9731 * lyxfunc.C: subsequent changes
9733 2002-08-13 Angus Leeming <leeming@lyx.org>
9736 * BufferView_pimpl.C:
9744 changes due to the changed LyXView interface that now returns references
9745 to member variables not pointers.
9747 2002-08-13 Angus Leeming <leeming@lyx.org>
9749 * WordLangTuple (word, lang_code): return references to strings,
9754 * lyxtext.h: forward-declare WordLangTuple.
9759 * text.C: #include "WordLangTuple.h".
9762 * text.C: (selectNextWordToSpellcheck): constify return type.
9764 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9770 * paragraph_pimpl.h:
9773 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9775 Made updateCounter always count from start of buffer, and removed
9776 second argument (par).
9777 Reverted floats number display to '#'. Perhaps I'll try again when the
9778 code base is sanitized a bit.
9780 2002-08-12 Angus Leeming <leeming@lyx.org>
9782 * buffer.[Ch] (getLabelList): constify.
9784 2002-08-07 André Pönitz <poenitz@gmx.net>
9786 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9788 * funcrequest.h: extension to keep mouse (x,y) position
9790 2002-08-12 Juergen Vigna <jug@sad.it>
9792 * BufferView2.C (insertErrors): forbid undo when inserting error
9795 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9797 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9799 * ParagraphList.[Ch]: new files
9801 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9803 * BufferView2.C (lockInset): ParagraphList changes
9806 * bufferlist.C: ditto
9810 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9813 unused class variable counter_,
9815 * paragraph.[Ch] (getFirstCounter): delete unused function
9817 * counters.C: include LAssert.h
9818 (reset): add a new function with no arg, change other version to
9819 not have def. arg and to not allow empty arg.
9821 * text2.C (setCounter): remove empty arg from call to Counters::reset
9823 2002-08-11 John Levon <levon@movementarian.org>
9825 * Makefile.am: add WordLangTuple.h
9827 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9829 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9830 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9832 * insets/insettext.C: InsetList changes
9834 * graphics/GraphicsSupport.C (operator()): InsetList changes
9836 * toc.C (getTocList): InsetList changes
9838 * paragraph_pimpl.[Ch]: InsetList changes
9840 * paragraph.[Ch]: InsetList changes
9842 * buffer.C (inset_iterator): InsetList changes
9843 (setParagraph): ditto
9844 * buffer.h (inset_iterator): ditto
9845 * iterators.C (operator++): ditto
9846 * iterators.h: ditto
9848 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9850 * InsetList.[Ch]: new files, most InsetList handling moved out of
9853 * BufferView2.C (removeAutoInsets): InsetList changes
9855 (ChangeInsets): ditto
9857 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9859 * paragraph_pimpl.h (empty): new function
9861 * paragraph.[Ch] (empty): new function
9863 * other files: use the new Paragraph::empty function
9865 2002-08-09 John Levon <levon@movementarian.org>
9867 * lyxtext.h: remove unused refresh_height
9869 2002-08-09 John Levon <levon@movementarian.org>
9876 * paragraph.C: move sgml char escaping out of paragraph
9879 * paragraph.C: remove id setter
9883 * paragraph_pimpl.C: remove dead tex_code_break_column
9885 * bufferview_funcs.C: small cleanup
9887 * lyxfunc.C: remove dead proto
9889 * lyxtext.h: make some stuff private. Remove some dead stuff.
9891 * lyxgluelength.C: make as[LyX]String() readable
9893 2002-08-08 John Levon <levon@movementarian.org>
9898 * ToolbarDefaults.C:
9901 * toc.C: lyxaction cleanup
9903 2002-08-08 John Levon <levon@movementarian.org>
9905 * BufferView2.C: small cleanup
9908 * lyxfind.C: move unnecessary header into the .C
9910 2002-08-08 John Levon <levon@movementarian.org>
9912 * funcrequest.h: just tedious nonsense
9915 * lyx_main.C: cleanups
9918 * vspace.C: remove dead header lyx_main.h
9920 2002-08-07 Angus Leeming <leeming@lyx.org>
9923 * paragraph_pimpl.h:
9924 Forward declare class Counters in paragraph.h by moving the ctrs member
9925 variable into Paragraph::Pimpl.
9926 (counters): new method, returning a reference to pimpl_->ctrs.
9928 * text2.C: ensuing changes.
9930 2002-08-07 John Levon <levon@movementarian.org>
9932 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9934 * BufferView_pimpl.C: announce X selection on double/triple
9937 * lyx_main.C: use correct bool in batch dispatch
9939 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9941 2002-08-07 André Pönitz <poenitz@gmx.net>
9943 * funcrequest.h: new class to wrap a kb_action and its argument
9946 * BufferView_pimpl[Ch]:
9950 * lyxrc.C: subsequent changes
9953 2002-08-07 John Levon <levon@movementarian.org>
9955 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9956 document options change.
9958 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9963 * makefile.am: move counters functionality over from
9964 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9966 2002-08-06 John Levon <levon@movementarian.org>
9968 * WordLangTuple.h: new file for word + language code tuple
9979 * BufferView2.C: use WordLangTuple
9982 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9984 2002-08-06 John Levon <levon@movementarian.org>
9986 * lyx_main.C: fix cmdline batch handling
9988 2002-08-06 André Pönitz <poenitz@gmx.net>
9990 * lyxrc.C: set default for show_banner to true
9992 2002-08-06 John Levon <levon@movementarian.org>
9994 * pspell.C: fix a crash, and allow new aspell to work
9996 2002-08-06 John Levon <levon@movementarian.org>
9999 * kbmap.C: small cleanup
10002 * vspace.C: add const
10004 2002-08-05 John Levon <levon@movementarian.org>
10006 * LyXAction.C: back to tabular-insert
10008 2002-08-04 John Levon <levon@movementarian.org>
10011 * BufferView.C: cosmetic change
10013 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10023 * BufferView2.C: purge all "Lyx" not "LyX" strings
10026 * lyxcursor.C: attempt to add some documentation
10031 * ToolbarDefaults.C:
10032 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10033 merge with LFUN_TABULAR_INSERT
10040 * pspell.C: split up i/pspell implementations into separate
10041 files, many cleanups
10043 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10045 * text2.C: some cleanup
10047 * lyxfunc.C: don't check for isp_command == "none" any more, it
10048 didn't make any sense
10050 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10055 * makefile.am: move counters functionality over
10056 from text2.C/paragraph.[Ch] to counters.[Ch], and
10058 2002-08-02 John Levon <levon@movementarian.org>
10060 * buffer.C: s/lyxconvert/lyx2lyx/
10062 2002-08-02 Angus Leeming <leeming@lyx.org>
10064 * lyxlex.C: revert John's change as it breaks reading of the user
10067 2002-08-02 Angus Leeming <leeming@lyx.org>
10069 * importer.C (Import):
10070 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10071 changes due to LyXView::view() now returning a boost::shared_ptr.
10073 2002-08-02 John Levon <levon@movementarian.org>
10075 * lyxlex.C: small cleanup
10077 2002-08-02 John Levon <levon@movementarian.org>
10079 * text2.C (status): small cleanup, no logic change
10081 2002-08-01 John Levon <levon@movementarian.org>
10084 * buffer.C (writeFile): don't output alerts, caller
10088 * lyx_cb.C: from above
10090 * lyxfunc.C: allow to open non-existent files
10092 2002-07-31 John Levon <levon@movementarian.org>
10094 * lyxserver.C: don't let incidental errors get
10097 2002-07-30 John Levon <levon@movementarian.org>
10099 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10101 2002-07-30 John Levon <levon@movementarian.org>
10104 * lyxserver.C: remove I/O callback too
10106 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10108 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10111 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10113 * many files: strip,frontStrip -> trim,ltrim,rtrim
10115 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10117 * PrinterParams.h: remove extern containsOnly, and include
10118 support/lstrings.h instead.
10120 * LaTeX.C (scanAuxFile): modify because of strip changes
10122 * buffer.C (makeLaTeXFile): ditto
10123 * bufferparams.C (writeFile): ditt
10124 * lyxfont.C (stateText): ditto
10125 * lyxserver.C (read_ready): ditto
10126 * vc-backend.C (scanMaster): ditto
10128 * BufferView_pimpl.h: ws changes
10130 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10132 2002-07-26 André Pönitz <poenitz@gmx.net>
10134 * kb_sequence.C: remove unnedred usings
10136 2002-07-26 Juergen Vigna <jug@sad.it>
10138 * lyxfind.C (LyXReplace): we have to check better if the returned
10139 text is not of theLockingInset()->getLockingInset().
10141 2002-07-25 Juergen Vigna <jug@sad.it>
10143 * lyxfind.C (LyXReplace): don't replace if we don't get the
10146 * undo_funcs.C (createUndo): remove debugging code.
10148 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10150 * buffer.C (parseSingleLyXformat2Token): Use default placement
10151 when reading old floats.
10153 * FloatList.C (FloatList): Change the default placement of figure
10154 and tables to "tbp".
10156 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10158 * MenuBackend.C: using std::max
10160 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * MenuBackend.C (expandToc):
10163 (expandToc2): code moved from xforms menu frontend. It is now
10164 generic and TOCs are transparent to menu frontends.
10166 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * toc.C (getTocList): protect against buf=0
10170 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10171 Menu as first parameter. Now, this calls itself recursively to
10172 expand a whole tree (this will be useful for TOC handling)
10173 (expandFloatInsert): remove 'wide' version of floats
10175 * MenuBackend.h (submenuname): returns the name of the submenu.
10176 (submenu): returns the submenu itself, provided it has been
10177 created by MenuBackend::expand
10179 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10181 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10182 insets which have noFontChange == true. (bug #172)
10184 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10186 * BufferView_pimpl.C: add connection objects and use them...
10189 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * MenuBackend.C (expandLastfiles):
10194 (expandFloatListInsert):
10195 (expandFloatInsert):
10196 (expand): split expand in parts
10198 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10200 * lyx_gui.C: use lyx_gui::exit()
10202 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10204 * LyXAction.C: show the failing pseudo action
10206 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10208 * buffer.C (readFile): Run the lyxconvert script in order to read
10211 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10215 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10217 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10221 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10223 2002-07-22 Herbert Voss <voss@lyx.org>
10226 * lyxlength.[Ch]: add support for the vertical lengths
10228 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10230 * toc.[Ch]: std:: fixes
10232 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10234 * lyxrc.C: do not include lyx_main.h
10236 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10242 * BufferView2.C: include "lyxlex.h"
10245 * bufferparams.h: do not #include "lyxlex.h"
10247 * lyxtextclasslist.C (Add): remove method
10248 (classlist): renamed to classlist_
10250 * paragraph_pimpl.C:
10254 * bufferview_funcs.C:
10259 * toc.C (getTocList): use BufferParams::getLyXTextClass
10261 * toc.C (getTocList): use InsetFloat::addToToc
10263 * toc.[Ch]: new files, containing helper functions to handle table
10266 * lyxfunc.C (dispatch): no need to remove spaces around command
10268 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10269 first command of the sequence; it is not very clever, but I do not
10270 have a better idea, actually
10272 * LyXAction.C (LookupFunc): make sure to remove space at the
10273 beginning and end of the command
10275 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * MenuBackend.C (getMenubar): new method: return the menubar of
10279 (read): treat differently reading of menu and menubar (in
10280 particular, the menubar has no name now)
10281 (Menu::menubar): remove
10283 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10286 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10288 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10289 a bibitem inset in a RTL paragraph.
10291 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10293 * paragraph_pimpl.C: constify
10295 * BufferView_pimpl.C:
10297 * lyxfunc.C: fix dispatch in a nicer way
10299 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * lyxfunc.C (dispatch):
10302 * BufferView_pimpl.C:
10303 * BufferView_pimpl.h:
10305 * BufferView.h: rename Dispatch() to dispatch()
10307 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10309 * lyxlayout.C (Read): honor DependsOn tag
10311 * lyxlayout.[Ch] (depends_on): new method
10313 * version.C.in: update lyx_docversion
10315 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10317 * paragraph.C (validate): remove from here...
10318 * paragraph_pimpl.C (validate): ... and move here
10319 (isTextAt): make it const
10321 * buffer.C (getLists): ws cleanup
10323 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10325 * language.C (read): Use iso8859-1 encoding in latex_lang
10326 (this prevents LyX from crashing when using iso10646-1 encoding).
10328 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * text2.C (toggleInset): if cursor is inside an inset, close the
10331 inset and leave cursor _after_ it
10333 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10335 * lyxfunc.C: move minibuffer completion handling out of here
10337 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView_pimpl.C:
10340 * LaTeX.C: fix dispatch calls
10342 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10344 * text.C (drawChars): Fix Arabic text rendering.
10346 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10350 * lyxfunc.C: remove message-push/pop
10354 * lyxfunc.C: rationalise some code by removing verboseDispatch
10355 in favour of a bool argument to dispatch()
10357 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * lyx_main.C (init): make sure to read symlinks as absolute paths
10361 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10364 * lyxfunc.C: no need for commandshortcut to be a member
10366 2002-07-15 André Pönitz <poenitz@gmx.net>
10368 * converter.C: add support for $$s (scripts from lib/scripts dir)
10369 * lyx_main.C: white space
10371 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10375 * lyxrc.C: remove second exit confirmation
10377 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10382 * BufferView_pimpl.h:
10383 * BufferView_pimpl.C:
10384 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10386 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * MenuBackend.C (expand): add numeric shortcuts to document menu
10390 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10392 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * lyxfont.C (setLyXFamily):
10401 * buffer.C (asciiParagraph): use ascii_lowercase
10403 2002-07-15 Mike Fabian <mfabian@suse.de>
10405 * lyxlex_pimpl.C (search_kw):
10406 * lyxlex.C (getLongString):
10407 * converter.h (operator<):
10408 * converter.C (operator<):
10409 * buffer.C (parseSingleLyXformat2Token):
10411 * ToolbarDefaults.C (read):
10412 * MenuBackend.C (checkShortcuts):
10414 * LColor.C (getFromGUIName):
10415 (getFromLyXName): use the compare_ascii_no_case instead of
10416 compare_no_case, because in turkish, 'i' is not the lowercase
10417 version of 'I', and thus turkish locale breaks parsing of tags.
10419 2002-07-16 Angus Leeming <leeming@lyx.org>
10421 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10422 now takes a Buffer const & argument.
10424 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10426 * BufferView.C (resize): check there's a buffer to resize
10428 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10430 * lyxfunc.C: remove dead code
10433 * lyxserver.C: use lyx_guii::set_read_callback
10435 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10437 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10438 an inset in a RTL paragraph.
10440 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10442 * lyxfunc.C: repaint after a font size update
10444 2002-07-15 André Pönitz <poenitz@gmx.net>
10446 * lyxlength.C: inBP should be able to return negative values
10448 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10450 * lyxfunc.C: use lyx_gui::update_fonts()
10452 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10454 * lyxfunc.C: use lyx_gui::update_color()
10456 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10462 * lyxrc.C: remove file->new asks for name option, and let
10463 buffer-new take an argument
10465 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10467 * BufferView_pimpl.C: remove unneeded extra repaint()
10469 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10471 * LyXAction.C: allow command-sequence with NoBuffer
10473 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10475 2002-07-10 Angus Leeming <leeming@lyx.org>
10477 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10479 2002-07-09 Angus Leeming <leeming@lyx.org>
10481 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10483 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10485 * lengthcommon.h: whitespace
10487 * lyxfunc.C: update scrollbar after goto paragraph
10489 * lyxtext.h: factor out page break drawing, and fix it so
10490 page break/added space paints as selected nicely
10492 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10494 * BufferView_pimpl.C: add FIXMEs, clean up a little
10496 2002-07-09 André Pönitz <poenitz@gmx.net>
10498 * lyxfont.[Ch]: support for wasy symbols
10500 2002-07-08 André Pönitz <poenitz@gmx.net>
10502 * BufferView_pimpl.C: apply John's patch for #93.
10504 2002-07-05 Angus Leeming <leeming@lyx.org>
10506 * BufferView_pimpl.C (buffer): generate previews if desired.
10508 * LColor.h: add "preview" to the color enum.
10510 * LColor.C (LColor): add a corresponding entry to the items array.
10512 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10515 2002-07-05 Angus Leeming <leeming@lyx.org>
10517 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10518 The body of the code is now in the method that is passed an ostream &
10519 rather than a file name.
10520 Pass an additional only_preamble parameter, useful for the forthcoming
10523 2002-07-03 André Pönitz <poenitz@gmx.net>
10525 * lyxfunc.C: simplify getStatus() a bit for math stuff
10527 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10531 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * text.C (changeRegionCase): do not change case of all the
10534 document when region ends at paragraph end (bug #461)
10536 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10538 * paragraph.C (startTeXParParams):
10539 (endTeXParParams): add \protect when necessary
10541 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * BufferView_pimpl.C (workAreaExpose): remove warning
10545 2002-06-27 Angus Leeming <leeming@lyx.org>
10547 * Makefile.am: add lyxlayout_ptr_fwd.h.
10549 2002-06-26 André Pönitz <poenitz@gmx.net>
10551 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10553 2002-06-25 Angus Leeming <leeming@lyx.org>
10555 * lyxfunc.C (dispatch): Comment out the call to
10556 grfx::GCache::changeDisplay. The method no longer exists now that the
10557 pixmap generation part of the graphics loader has been moved into
10560 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * text2.C: layout as layout
10564 * text.C: layout as layout
10566 * tabular.C (OldFormatRead): layout as layout
10568 * paragraph_pimpl.C (TeXDeeper): layout as layout
10569 (realizeFont): layout as layout
10571 * paragraph.C (writeFile): layout as layout
10572 (validate): layout as layout
10573 (getFont): layout as layout
10574 (getLabelFont): layout as layout
10575 (getLayoutFont): layout as layout
10576 (breakParagraph): layout as layout
10577 (stripLeadingSpaces): layout as layout
10578 (getEndLabel): layout as layout
10579 (getMaxDepthAfter): layout as layout
10580 (applyLayout): layout as layout
10581 (TeXOnePar): layout as layout
10582 (simpleTeXOnePar): layout as layout
10583 (TeXEnvironment): layout as layout
10584 (layout): layout as layout
10585 (layout): layout as layout
10587 * lyxtextclass.C (compare_name): new functor to work with
10588 shared_ptr, layout as layout
10589 (Read): layout as layout
10590 (hasLayout): layout as layout
10591 (operator): layout as layout
10592 (delete_layout): layout as layout
10593 (defaultLayout): layout as layout
10595 * lyxlayout_ptr_fwd.h: new file
10597 * lyxlayout.C (Read): layout as layout
10599 * lyx_cb.C (MenuInsertLabel): layout as layout
10601 * bufferlist.C (newFile): layout as layout
10603 * buffer.C (readLyXformat2): layout as layout
10604 (parseSingleLyXformat2Token): layout as layout
10605 (insertStringAsLines): layout as layout
10606 (asciiParagraph): layout as layout
10607 (latexParagraphs): layout as layout
10608 (makeLinuxDocFile): layout as layout
10609 (simpleLinuxDocOnePar): layout as layout
10610 (makeDocBookFile): layout as layout
10611 (simpleDocBookOnePar): layout as layout
10612 (getLists): layout as layout
10614 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10616 * CutAndPaste.C (cutSelection): layout as layout
10617 (pasteSelection): layout as layout
10618 (SwitchLayoutsBetweenClasses): layout as layout
10620 * BufferView_pimpl.C (Dispatch): layout as layout
10621 (smartQuote): layout as layout
10623 * BufferView2.C (unlockInset): layout as layout
10625 2002-06-24 André Pönitz <poenitz@gmx.net>
10627 * lyxfunc.C: fix #487
10629 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10633 * lyxfunc.C: remove display_shortcuts, show_banner
10635 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10637 * Buffer_pimpl.C: oops, update on resize
10639 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10646 * BufferView.C: use repaint()
10648 * BufferView_pimpl.h:
10649 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10650 as it's a clearer description. Remove superfluous
10653 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10655 * text.C: fix bug 488. Not ideal, but getting
10656 getWord() to work properly for the insets that
10657 matter is more difficult ...
10659 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10661 * BufferView_pimpl.C:
10664 * lyxfunc.C: remove the six million index lyxfuncs to just
10665 one, and DTRT (bug 458)
10667 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.h:
10672 * BufferView_pimpl.C: clean up resize() stuff,
10673 and unnecessary updateScreen()s
10675 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10679 * BufferView_pimpl.h:
10680 * BufferView_pimpl.C:
10683 * minibuffer.C: remove focus management of workarea,
10684 not needed. Use screen's greyOut()
10686 2002-06-17 Herbert Voss <voss@lyx.org>
10688 * converter.C: (convert) do not post a message, when converting
10689 fails, let the calling function decide what to do in this case
10691 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10693 * lyxfunc.C: tidy up a little
10695 2002-06-16 <alstrup@diku.dk>
10697 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10698 Got rid of FORMS_H_LOCATION include. Now we are
10701 2002-06-15 LyX Development team <lyx@rilke>
10703 * buffer.[Ch] (sgmlOpenTag):
10704 (sgmlCloseTag): Added support for avoiding pernicious mixed
10705 content. Return number of lines written.
10707 (makeLinuxDocFile):
10708 (makeDocBookFile): Fixed calls to sgml*Tag.
10709 Simple white space clean.
10711 (simpleDocBookOnePar): Simple white space clean.
10713 * tabular.[Ch] (docBook): Renamed to docbook and got another
10714 argument to related with the pernicious mixed content.
10716 (docbookRow): Fixed calls for docbook inset method.
10718 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10720 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10721 so it's X11 independent.
10725 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10727 2002-06-15 Lyx Development team <lyx@electronia>
10729 * intl.h: Renamed getTrans to getTransManager.
10731 2002-06-14 Angus Leeming <leeming@lyx.org>
10733 * Makefile.am: nuke forgotten stl_string_fwd.h.
10735 2002-06-12 Angus Leeming <leeming@lyx.org>
10737 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10739 2002-06-13 Angus Leeming <leeming@lyx.org>
10742 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10744 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10746 * kbmap.C (getiso): add support for cyrillic and greek
10748 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.h:
10753 * BufferView_pimpl.C: move bogus scrolling logic
10756 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10759 * BufferView_pimpl.C: view->resize() change
10761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10763 * BufferView_pimpl.C: topCursorVisible
10766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10770 * lyx_gui.C: move to frontends/
10774 * lyx_main.C: changes from above
10776 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10783 * lyx_main.C: minor tidy
10785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10787 * BufferView_pimpl.h:
10788 * BufferView_pimpl.C:
10790 * BufferView.C: make painter() const,
10793 * BufferView2.C: use screen() accessor
10796 * lyx_main.C: some minor cleanup
10798 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.h:
10801 * BufferView_pimpl.C: remove enter/leaveView,
10804 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10809 * BufferView_pimpl.h:
10810 * BufferView_pimpl.C: only construct screen once,
10813 * lyxrc.C: remove pointless comment
10815 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10818 * BufferView.C: remove active() and belowMouse()
10820 * BufferView_pimpl.h:
10821 * BufferView_pimpl.C: use workarea() not workarea_,
10822 and make it use a scoped_ptr instead
10824 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10826 * lyx_gui.C: add debug message on BadWindow
10828 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * sp_spell.C: fdopen is not part of the C++ standard.
10832 * paragraph.C (InsetIterator): use >= instead of ==
10834 2002-06-07 Angus Leeming <leeming@lyx.org>
10836 Fixes needed to compile with Compaq cxx 6.5.
10837 * BufferView_pimpl.C:
10844 * lyxtextclasslist.C:
10849 all c-library variables have been moved into namespace std. Wrap
10850 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10855 Add a using std::abs declaration.
10857 * kbmap.h (modifier_pair):
10858 * paragraph.h (InsetTable, InsetList):
10859 * lyxfont.h (FontBits):
10860 type definition made public.
10862 * bufferlist.C (emergencyWriteAll): the compiler complains that
10863 there is more than one possible lyx::class_fun template to choose from.
10864 I re-named the void specialisation as lyx::void_class_fun.
10866 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10868 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10869 the compiler is is unable to find tostr in write_attribute.
10871 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * buffer.C (sgmlError): hide #warning
10875 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10877 * xtl/*: get rid of xtl, which is not in use anyway
10879 * LyXAction.C (init):
10880 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10881 were unimplemented xtl experimentation
10883 2002-06-04 André Pönitz <poenitz@gmx.net>
10885 * lyxfunc.C: disable array operation on simple formulae
10887 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10889 * converter.C: constify a bit
10891 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10893 * lyx_gui.C: check xforms version correctly
10895 2002-04-30 Herbert Voss <voss@lyx.org>
10897 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10900 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10902 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10903 attempt to register it with a VCS)
10905 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * lyx_main.C (init): honor variables LYX_DIR_13x and
10910 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10914 * lyx_main.C: fix a crash on bad command line,
10915 and give a useful exit status on error
10917 * lyxfunc.C (doImport): allow -i lyx to work
10919 2002-03-30 André Pönitz <poenitz@gmx.net>
10921 * lyxfunc.C: mathed font changes
10923 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10938 * trans_mgr.h: srcdocs, and some minor cleanups
10940 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10942 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10943 call getFont all the time)
10945 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * switch from SigC signals to boost::signals
10949 2002-05-29 André Pönitz <poenitz@gmx.net>
10951 * paragraph_pimpl.C (getChar): don't call size() too often...
10953 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * paragraph_pimpl.C (insertChar): do not try to update tables when
10956 appending (pos == size())
10958 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10959 in order to reduce drastically the number of comparisons needed to
10960 parse a large document
10962 2002-05-29 André Pönitz <poenitz@gmx.net>
10968 * textclasslist.[Ch]:
10969 * sp_ispell.h: whitespace change
10971 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10973 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10974 lyxaction directly now.
10976 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10980 * lyxvc.C: remove unused headers
10982 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10989 * undo_funcs.C: some cleanups. Use shared_ptr
10990 and a template for the undo stacks.
10992 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10994 * BufferView_pimpl.h:
10995 * BufferView_pimpl.C:
11002 * text2.C: use key_state/mouse_state
11004 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11009 * chset.C: change include order
11010 (loadFile): use boost regex and get rid of LRegex and LSubstring
11012 * Makefile.am (BOOST_LIBS): new variable
11013 (lyx_LDADD): use it
11015 * LaTeX.C: change include order.
11016 (scanAuxFile): use boost regex and get rid of LRegex and
11020 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11025 * FontInfo.C: moved to frontends/xforms/
11028 * FontLoader.C: moved into frontends for GUIIzation
11033 * lyxfunc.C: changes from above
11035 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11037 * LColor.C: remove spurious X include
11039 * BufferView_pimpl.C:
11044 * text2.C: move font metrics to frontends/
11046 2002-05-24 Juergen Vigna <jug@sad.it>
11048 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11049 setting the undo_cursor.
11051 * ParagraphParameters.h: include local includes first.
11053 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11055 * BufferView_pimpl.C:
11056 * BufferView_pimpl.h:
11060 * screen.C: move WorkArea into frontends/
11066 * BufferView2.C: move LyXScreen into frontends/
11070 * lyx_gui.C: move lyxlookup into frontends/xforms/
11072 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11075 * BufferView_pimpl.C:
11085 * bufferview_funcs.C:
11098 * vc-backend.C: move LyX/XFormsView into frontends/
11100 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11112 * text2.C: move Painter to frontends/
11114 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11116 * buffer.C: comment out some some code that depend upon lyx_format
11119 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11120 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11122 * buffer.h (NO_COMPABILITY): turn off compability
11124 * ColorHandler.C: include scoped_array.hpp
11126 * font.C: Use more specific smart_ptr header.
11129 * ShareContainer.h: ditto
11130 * lyx_main.h: ditto
11132 * FontInfo.h: ditto
11133 * BufferView_pimpl.h: ditto
11134 * ColorHandler.h: ditto
11136 * kbmap.C (defkey): change call to shared_ptr::reset
11138 2002-05-21 Juergen Vigna <jug@sad.it>
11140 * buffer.C (insertErtContents): fix to insert ert asis if it is
11141 non empty. Skip it completely if it contains only whitespaces.
11143 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11145 * BufferView_pimpl.C:
11146 * BufferView2.C: clear selection on paste (bug 393)
11148 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11150 * DepTable.C: include ctime
11152 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11154 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11156 2002-05-14 Juergen Vigna <jug@sad.it>
11158 * text.C (breakParagraph): fixed function to honor the keepempty
11159 layout in the right maner and also to permit the right breaking
11160 algorithm on empty or non empyt keepempty paragraphs.
11162 * paragraph.C (breakParagraph): we have to check also if the par
11163 is really empty (!size()) for isempty otherwise we do the wrong
11166 2002-05-10 Juergen Vigna <jug@sad.it>
11168 * buffer.[Ch] : The following are only changes to the ert
11169 compatibility read reading old LaTeX layout and font stuff and
11170 convert it to ERTInsets.
11172 * buffer.h: added isErtInset().
11174 * buffer.C (struct ErtComp): add a fromlayout bool to check
11175 if we're inside a LaTeX layout.
11176 (isErtInset): new helper function.
11177 (insertErtContents): look for other ert insets before this one
11178 and insert the contents there, so that we don't have subsequent
11179 ERT insets with nothing between them. This way we create only one
11180 inset with multiple paragraphs. Also check if we don't insert only
11181 spaces ' ' as they are ignored anyway afterwards in the .tex file
11182 so if we have only spaces we will ignore this latex part in the
11184 (parseSingleLyXformat2Token \\layout): better compatibility when
11185 reading layout-latex stuff.
11186 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11188 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11189 stuff after reading the inset only get the information back from
11192 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11194 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11196 * LaTeXFeatures.C (getBabelOptions): New method.
11198 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * BufferView_pimpl.C (Dispatch): work around missing argument for
11203 2002-05-08 Juergen Vigna <jug@sad.it>
11205 * text.C (leftMargin): handle paragraph leftindent.
11207 * paragraph.C (writeFile): write the new \\leftindent tag.
11208 (validate): handle leftindent code.
11209 (TeXEnvironment): handle paragraphleftindent code again.
11211 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11213 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11214 for paragrap_extra indent code and new token \\leftindent.
11215 (latexParagraphs): handle the leftindent as environment.
11217 * ParameterStruct.h: added leftindent support.
11219 * ParagraphParameters.C (leftIndent): added support functions for
11220 the paragraph left indent.
11222 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11225 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11227 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11230 * text.C (computeBidiTables): No bidi in insetERT.
11232 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11235 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11237 * version.C.in: pre 5
11239 2002-05-02 José Matos <jamatos@fep.up.pt>
11240 * buffer.C (makeDocBookFile): white space changes, add newline to
11242 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11244 * tabular.C (docBook): fix typo.
11246 2002-05-03 Juergen Vigna <jug@sad.it>
11248 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11249 change in LyXText as we can not be sure it was not freed.
11250 (drawOneRow): remove unused code.
11252 * text.C (drawInset): redo the calculation of the need_break_row as
11253 it could have a row which was already freed.
11254 (draw): look at the return value of drawInset and return false if
11255 it also returned false.
11256 (paintRowText): look at the return value of draw and return false if
11257 it also returned false.
11259 * lyxtext.h: added bool return type to drawInset() and draw() so that
11260 if we have a change in the row so that the rowbreak has to be redone
11261 we abort drawing as it will be called again.
11263 2002-05-02 Juergen Vigna <jug@sad.it>
11265 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11266 a change in the maintext also if we're inside an inset.
11267 (Dispatch): set the cursor again after a break line and after the
11268 screen has been updated as it could be we're in a different row.
11270 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11271 to set the cursor behind the pargraph with > size().
11272 (setCursor): check also for the same paragraph when checking where
11273 to put the cursor if we have a NFR inset.
11275 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11276 parts of layout read further up as it still was in the wrong
11279 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * screen.C (drawFromTo): change sine fullRebreak always return
11284 * buffer.C (parseSingleLyXformat2Token): reindent some
11286 * BufferView_pimpl.C (update): change since fullRebreak always
11288 (Dispatch): git rid of the last hardcoded "Standard"s.
11290 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11292 * text2.[Ch] (fullRebreak): make it return void now that we always
11295 2002-04-30 Juergen Vigna <jug@sad.it>
11297 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11298 ert compatibility check for "latex" layout.
11300 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11302 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11303 minipages: use col% instead of p%, and also use the current font.
11304 (makeLaTeXFile): Fix use babel condition.
11305 (parseSingleLyXformat2Token): Correct font when reading old floats.
11307 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11309 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11310 inserting list of floats.
11312 2002-04-25 Herbert Voss <voss@lyx.org>
11314 * MenuBackend.C (expand): don't add the graphics extensions to the
11317 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11320 non-existing layout, do not complain if it was the default layout
11321 of the original class (bug #342)
11323 2002-04-24 Juergen Vigna <jug@sad.it>
11325 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11326 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11328 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11330 * buffer.C (getBibkeyList): If using \bibliography, return the
11331 option field with the reference itself. Enables us to provide natbib
11332 support when using \bibliography.
11334 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11336 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11338 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11339 natbib is provided by the LaTeX class.
11341 2002-04-23 Juergen Vigna <jug@sad.it>
11343 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11346 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11348 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11352 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11353 ensuremath around textordmasculine, textordfeminine and
11356 2002-04-19 Juergen Vigna <jug@sad.it>
11358 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11359 reinitializing the buffer otherwise row-dimensions may be wrong.
11360 (update): reset also the selection cursors if they do exits otherwise
11361 their x/y positions may be wrong.
11363 * text2.C (cursorDown): don't enter the inset if we came from a row
11364 above and are one row over the inset.
11366 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11367 really leaving an inset.
11369 2002-04-18 Juergen Vigna <jug@sad.it>
11371 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11372 of the selected paragraph does not have the selected layout also if
11375 * text2.C (setLayout): fixed bug which did not change last selected
11378 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11379 changed the read and substituted \\end_float with \\end_inset!
11381 * BufferView_pimpl.C (cursorPrevious):
11382 (cursorNext): fixed to make it work with rows heigher than the work
11383 area without moving the cursor only the draw of the row.
11384 (workAreaMotionNotify): fix jumping over high rows.
11386 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11391 2002-04-16 Juergen Vigna <jug@sad.it>
11393 * text2.C (setCursor): set also the irow().
11394 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11396 (cursorDown): support for locking an inset if the x_fix value goes
11397 inside it. That way I can transverse insets too with cursor up/down.
11399 * lyxrow.h: added irow helper function same as other (i) functions.
11401 * BufferView_pimpl.C (cursorPrevious):
11402 (cursorNext): fixed for insets!
11404 2002-04-15 Juergen Vigna <jug@sad.it>
11406 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11407 position otherwise it is wrong in some cases.
11409 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11410 inside the inset before the call.
11412 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11414 * buffer.[Ch] (getBibkeyList): make it const.
11416 2002-04-12 Juergen Vigna <jug@sad.it>
11418 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11420 * text2.C (getCursorX): new helper function
11421 (setCursor): compute also ix_
11422 (setCursorFromCoordinates): set also ix.
11424 * lyxcursor.h: added ix_ and helper functions.
11426 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11428 * buffer.C (insertStringAsLines): dont break paragraph if the this
11429 paragraph is inside an inset which does not permit it!
11431 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11432 also with no chars on this paragraph.
11433 (paintRowText): only paint stuff if it's inside the workarea!
11435 * paragraph.C (breakParagraph): honor keepempty flag and break the
11436 paragraph always below not above.
11438 * BufferView2.C (unlockInset): update the paragraph layout on inset
11439 unlock as we changed paragraph in such a case.
11441 * lyxfind.C (LyXFind): clear the former selection if not found!
11443 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11444 again called in insertChar().
11446 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11447 an inset which uses the whole row!
11448 (rightMargin): ditto.
11449 (insertChar): force a rebreak if we inserted an inset!
11451 2002-03-28 Herbert Voss <voss@lyx.org>
11453 * lyxlength.[Ch]: add inBP() to get the right PS-point
11454 units (BigPoint). With inPixels we have rounding errors
11456 2002-04-11 Juergen Vigna <jug@sad.it>
11458 * text2.C (setCursorFromCoordinates): set iy to the right value.
11459 (setCursor): add check if row->previous exists!
11461 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11462 an old float_type as this was the case in the old code!
11464 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11466 * BufferView2.C (showLockedInsetCursor): use iy
11467 (fitLockedInsetCursor): ditto
11469 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11470 locked insets as there we have the right value now.
11472 * lyxcursor.C: added iy_ variable and iy functions to set to the
11473 baseline of cursor-y of the locked inset.
11475 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11476 (setCursor): fixed for insets which need a full row.
11478 * text.C (rowLastPrintable): don't ignore the last space when before
11479 an inset which needs a full row.
11480 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11481 as last character of a row when before a inset which needs a full row.
11483 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * version.C.in: update date
11487 * text2.C (fullRebreak): try to always return true and see what
11490 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * MenuBackend.C (expand): use Floating::listName
11494 * FloatList.C (FloatList): add listName argument to the built-in
11497 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11498 text associated with the float.
11500 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11502 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11504 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11506 * ShareContainer.h: add a couple of missing typenames.
11508 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11510 * lyxrc.C (getDescription): use _() correctly rather than N_().
11512 2002-03-28 Herbert Voss <voss@lyx.org>
11514 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11515 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11517 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11520 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11522 2002-03-29 Juergen Vigna <jug@sad.it>
11524 * lyxfunc.C (dispatch): add a missing fitCursor call.
11526 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11527 it was scrolled by a cursor move, so return the bool status.
11529 * BufferView.C (fitCursor): return the bool flag also to the outside
11530 world as this is needed.
11532 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11534 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11535 call the edit() as it is not needed (and wrong) IMO.
11536 (workAreaButtonPress): set the screen_first variable before evt.
11537 unlock the inset as this may change screen_first and then we have
11538 a wrong y position for the click!
11540 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11542 * MenuBackend.C (expand): another translation that I missed
11544 2002-03-28 Juergen Vigna <jug@sad.it>
11546 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11548 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11550 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11552 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11554 * MenuBackend.C (expand): fix export/view/update when there is no
11557 2002-03-27 Herbert Voss <voss@lyx.org>
11559 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11562 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * bufferview_funcs.C (currentState): only show paragraph number
11565 for is DEVEL_VERSION is set.
11567 * lyxfunc.C (dispatch): put warning in INFO channel
11569 * MenuBackend.C (expand): translate the name of floats
11571 * FloatList.C (FloatList): mark the float names for translation
11573 * converter.C (convert): use LibScriptSearch
11575 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * MenuBackend.C (defaults): fix default menu (we might as well get
11580 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11585 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * lyxvc.C: reorder includes.
11589 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11591 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11594 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11596 * CutAndPaste.C: change layouts earlier on paste
11597 to avoid crashing when calling getFont()
11599 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11601 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11604 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11606 * WorkArea.C: remove 'Pending' debug message.
11608 * most files: ws cleanup
11610 * buffer.[Ch]: ws changes
11612 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11614 2002-03-21 Juergen Vigna <jug@sad.it>
11616 * tabular.C (SetMultiColumn): collapse also the contents of the
11617 cells and set the last border right. Added a Buffer const * param.
11619 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11624 2002-03-19 Juergen Vigna <jug@sad.it>
11626 * text2.C (clearSelection): reset also xsel_cache.
11628 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11629 where it needs to be called (John tells us to do so too :)
11630 (selectionLost): reset sel_cache.
11632 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11634 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * text2.C (setCursorIntern): put debuging code in INSETS channel
11638 2002-03-19 André Pönitz <poenitz@gmx.net>
11640 * lyxfunc.C: tiny whitespace change
11642 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * ToolbarDefaults.C (init):
11645 * LyXAction.C (init):
11647 * BufferView_pimpl.C (Dispatch):
11648 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11650 2002-03-19 Allan Rae <rae@lyx.org>
11652 * exporter.C (Export): removeAutoInsets before doing anything else.
11653 While I've just introduced a dependency on BufferView this really is
11654 the best place to clean the buffer otherwise you need to cleanup in
11655 a dozen places before calling export or cleanup in a dozen functions
11658 * converter.C (runLaTeX):
11659 (scanLog): Better handling of removeAutoInsets and screen updates.
11661 * lyxfunc.C (dispatch): small whitespace changes
11663 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * WorkArea.C (C_WorkAreaEvent): return a value.
11666 (event_cb): return 1 if we handled the event, 0 otherwise.
11668 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11670 2002-03-18 Juergen Vigna <jug@sad.it>
11672 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11673 (GetAdditionalWidth): ditto.
11674 (RightLine): ditto.
11677 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11678 inset if we're there actually (probably not used right now but this
11679 is the direction to go for unifying code).
11680 (paste): disable code to clear the selection.
11682 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11683 inside an InsetText and move the check further up as it is in the
11686 * text2.C (pasteSelection): set a selection over the pasted text.
11688 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11690 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11691 and libgraphics to build on Cygwin.
11693 2002-03-15 Juergen Vigna <jug@sad.it>
11695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11696 inserting an Inset into the paragraph. I know this is not the best
11697 fix but we already use current_view in CutAndPaste so we will remove
11698 all of it's using at the same time.
11700 * buffer.C (sgmlError): deactivated function till it is rewritten in
11701 the right mode, now it can create problems.
11703 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11704 before accessing it.
11706 2002-03-14 Juergen Vigna <jug@sad.it>
11708 * undo_funcs.C (textHandleUndo): do the right thing when updating
11709 the inset after the undo/redo.
11711 * text2.C (setCursor): just some testcode for #44 not ready yet.
11713 * undo_funcs.C (textHandleUndo): set the next() and previous()
11714 pointers of the paragraph to 0 before deleting otherwise we have
11715 problems with the Paragraph::[destructor].
11717 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11718 on a paragraph insertion.
11720 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * buffer.C (asciiParagraph): use += operator for char append to
11725 * paragraph.C (getFontSettings): compare >= not just >
11726 (highestFontInRange): ditto
11729 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * paragraph.C: change several algorithm to be more appripriate for
11732 the problem domain. This is lookip in FontList and in the InsetList.
11734 2002-03-13 André Pönitz <poenitz@gmx.net>
11737 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11739 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11746 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * Painter.C (display): anon helper function, adjust code for this
11750 (pixmap): remove function.
11752 * Painter.h: remove private display variable.
11754 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11756 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11758 * WorkArea.[Ch]: remove figinset_canvas cruft.
11760 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * lyxtextclass.C (operator): add one item cache optimization.
11764 * bufferlist.h: doxy changes
11766 * bufferlist.C: ws changes
11768 * DepTable.[Ch] (ext_exist): place const in the right spot.
11770 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11772 (workAreaExpose): call resizeInsets when the with BufferView changes.
11773 (Dispatch): adjust for protectedBlank removal
11774 (specialChar): call updateInset if the insert went ok.
11776 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11777 specialChar instead.
11779 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11781 * BufferView.h: doxy change
11783 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11785 * lyxtextclass.C (operator[]): remove non-const version
11786 (defaultLayout): remove non-const version
11788 2002-03-12 Juergen Vigna <jug@sad.it>
11790 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11791 did resize the LyXText too.
11793 * buffer.C (readLyXformat2): set layout information on newly allocated
11796 * tabular.C (OldFormatRead): set layout information on the paragraph.
11798 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11800 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11802 2002-03-11 Juergen Vigna <jug@sad.it>
11804 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11806 (resizeCurrentBuffer): force also the insets to resize themselfes.
11807 (moveCursorUpdate): fixed up for InsetText.
11809 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11812 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11813 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11814 value of Dialogs::tooltipsEnabled().
11815 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11817 2002-03-08 Juergen Vigna <jug@sad.it>
11819 * BufferView_pimpl.C (updateInset): update inset inside inset also
11820 if it isn't inside theLockingInset().
11822 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * buffer.C (asciiParagraph): redo some of the word and line length
11826 (getLists): look for Caption instead of caption.
11828 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * buffer.C (Buffer): initialize niceFile to true
11832 (makeLinuxDocFile):
11833 (makeDocBookFile): make sure niceFile is true on exit
11835 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11837 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11839 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11841 * LyXSendto.C: remove.
11842 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11843 * lyx_gui.C: remove now-redundant comment.
11844 * ColorHandler.h: remove forward declaration of class WorkArea.
11845 * lyxfunc.C: remove #include "WorkArea.h".
11847 2002-03-07 Juergen Vigna <jug@sad.it>
11849 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11850 got moved away with the DEPM and also set the inset_owner always
11851 right which before could have been omitted.
11853 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11856 wanted layout is not found.
11858 2002-03-07 Juergen Vigna <jug@sad.it>
11860 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11862 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11864 * paragraph.C (breakParagraph): use default layout not layout of
11866 (Paragraph): clear ParagraphParameters.
11868 2002-03-06 Juergen Vigna <jug@sad.it>
11870 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11871 otherwise it would not be a valid lenght. Fixed a special case in
11872 the minipage compatibility read where we end the document with a
11875 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11876 was set as it could be 0 for InsetTexts first entry.
11878 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * paragraph.C (writeFile): if layout is empty write out
11881 defaultLayoutName().
11883 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11884 file without named layout we set layout to defaultLayoutName().
11886 2002-03-06 Juergen Vigna <jug@sad.it>
11888 * CutAndPaste.C (copySelection): set layout for new paragraph.
11890 * text.C (prepareToPrint): leave ERT inset left aligned
11891 (leftMargin): don't indent paragraphs inside ERT insets
11893 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * paragraph.C (breakParagraph): dont call clear do the work manually
11897 * paragraph.[Ch] (clear): remove function
11899 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11901 * paragraph.C (Paragraph): dont call clear, the work has already
11904 * lyxtextclass.C (operator): assert if n is empty
11906 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11907 work manually instead.
11909 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11911 * BufferView_pimpl.C: protect selectionLost against text == 0
11913 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * text.C (breakParagraph): fix a setting layout to '0' problem.
11917 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11919 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11920 final location of file, for the included files, and graphics.
11922 2002-03-05 Juergen Vigna <jug@sad.it>
11924 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11926 2002-03-04 Juergen Vigna <jug@sad.it>
11928 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11930 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11931 last column of multicolumn cells.
11932 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11934 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11936 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11937 file if it doesn't go to a temporary file.
11939 * buffer.C (sgmlOpenTag):
11940 (sgmlCloseTag): remove extra newline insertion.
11942 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11944 * text.C (getRowNearY): comment out debug msg
11946 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11948 * text2.C: first -> first_y
11950 * text.C (getRowNearY): add some attemts at a possible
11951 optimization, not working.
11953 * tabular.[Ch]: add BufferParams to several function so that newly
11954 created paragraph can be initialized to he default layotu for the
11957 * tabular-old.C (ReadOld): add buf->params to call of Init
11959 * screen.C: rename text->first to text->first_y
11961 * paragraph.C (breakParagraph): always set layout in the broken
11964 * lyxtextclass.C (Read): remove lowercase
11967 (delete_layout): ditto
11969 * lyxtext.h: rename first -> first_y
11971 * lyxlayout.C (Read): remove lowercase
11974 (obsoleted_by): ditto
11976 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11978 * buffer.C (insertErtContents): add params are to InsetERT
11979 (parseSingleLyXformat2Token): add code to check if a paragraphs
11980 layout really exist.
11981 (parseSingleLyXformat2Token): add params to several inset
11983 (asciiParagraph): remove lowercase, do the layout comparisons with
11986 * BufferView_pimpl.C (cursorNext): first -> first_y
11987 (resizeCurrentBuffer): first -> first_y
11988 (updateScrollbar): first -> first_y
11989 (scrollCB): first -> first_y
11990 (workAreaMotionNotify): first -> first_y
11991 (workAreaButtonPress): first -> first_y
11992 (checkInsetHit): first -> first_y
11993 (cursorPrevious): first -> first_y
11994 (cursorNext): first -> first_y
11995 (Dispatch): add buffer_->params to severl inset contructors
11997 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11999 * lyxlayout.C (Read): remove some debug info that I forgot.
12001 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12002 clean up the code slightly.
12003 (makeLinuxDocFile): ditto
12004 (makeDocBookFile): ditto
12006 * text2.C: layout as string
12008 * text.C: layout as string
12010 * paragraph_pimpl.C: layout as string
12012 * paragraph.[Ch]: layout as string
12014 * lyxtextclasslist.[Ch]: layout as string
12016 * lyxtextclass.[Ch]: layout as string
12018 * lyxtext.h: layout as string
12020 * lyxlayout.[Ch]: layout as string
12022 * lyx_cb.C: layout as string
12024 * bufferview_funcs.C: layout as string
12026 * bufferparams.C: layout as string
12028 * buffer.C: layout as string
12030 * LyXView.[Ch]: layout as string
12032 * LaTeXFeatures.[Ch]: layout as string
12034 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12036 * BufferView_pimpl.C: change current_layout to string, remove
12041 (workAreaButtonRelease): layout as string
12043 * BufferView2.C (unlockInset): adjust
12045 * vspace.C (asLatexCommand): use an explict temp variable.
12047 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12049 * Makefile.am: use FRONTEND_*
12051 2002-03-01 Juergen Vigna <jug@sad.it>
12053 * tabular.C (SetWidthOfMulticolCell): changed to something better
12054 I hope but still work in progress.
12055 (recalculateMulticolumnsOfColumn): renamed function from
12056 recalculateMulticolCells as it is more appropriate now.
12057 (SetWidthOfCell): calculate multicols better.
12059 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12061 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12063 * lyxfunc.C (processKeySym): print sequence also if it is
12064 `deleted' (complete)
12066 * kbsequence.C (print): print sequence even if it is deleted
12067 (complete would be a better word, actually).
12069 * lyxfunc.C (dispatch): print complete options after a prefix key
12071 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12073 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12075 * text2.C (setCharFont): eliminate setCharFont code duplication.
12077 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12080 LFUN_TABULAR_FEATURE (bug #177)
12082 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12084 * Makefile.am: remove figure.h
12086 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12088 * Bufferview_pimpl.C:
12100 * text2.C: remove #include "lyx_gui_misc.h".
12102 * LaTeX.C: added #include <cstdio>
12104 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12107 that the paragraph following this one can have.
12109 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12111 * vspace.C (asLatexCommand): fix bogus gcc warning
12113 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12115 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12117 * text2.C (setLayout): get rid of redundant code
12119 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12121 * text2.C (incDepth): make sure depth cannot be increased beyond
12124 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12126 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12127 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12129 * PainterBase.h (image):
12130 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12131 a LyXImage const *.
12133 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12137 * BufferView_pimpl.C:
12138 * BufferView_pimpl.h:
12158 * sp_spell.C: remove fig inset, and the crap house of
12159 cards that follows it
12161 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12166 * os2_errortable.h:
12167 * nt_defines.h: move .h into support/
12169 * vms_defines.h: remove
12171 * WorkArea.C: add space in debug output
12175 * buffer.C: add WITH_WARNINGS
12179 * bufferlist.C: s/retrive/retrieve/, add docs
12188 * chset.C: add docs
12190 * lyxgui.C: add ID to X error handler
12192 * lyxtestclass.c: fix typo
12194 2002-02-26 Juergen Vigna <jug@sad.it>
12196 * tabular_funcs.C (write_attribute): changed so that some default
12197 attributes are not written at all.
12198 (getTokenValue): set default values before trying to read the
12199 value so we have the return value always set as default if we don't
12200 find the token we search for.
12202 * tabular.C (Write): write bools as bools not as strings!
12204 2002-02-22 Juergen Vigna <jug@sad.it>
12206 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12207 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12209 * text.C (leftMargin): don't add an indent for paragraphs inside
12210 tabular cells (fix #208).
12212 2002-02-21 José Matos <jamatos@fep.up.pt>
12214 * tabular.C (docBook): fixed support for long tables.
12216 2002-02-20 Juergen Vigna <jug@sad.it>
12218 * text2.C (getFont): get the drawing font of the Inset if this
12219 paragraph is inside an inset (only important for InsetERT for now).
12221 * buffer.C (insertErtContents): use new lanugage params in ERT
12224 * CutAndPaste.C: commenting out seemingly uneeded code.
12226 2002-02-19 Allan Rae <rae@lyx.org>
12228 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12229 Iterators might be simple to use but they also get invalidated.
12230 (removeAutoInsets): renamed saved cursor tracking variables and added
12231 some comments to clarify what everything does.
12233 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12240 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12241 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12244 * vc-backend.h: remove #include "support/syscall.h"
12248 * converter.C: rearrange #includes in Lars' approved fashion.
12250 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12251 forward declare class Timeout in the header file.
12253 * XFormsView.C: changes due to the above.
12255 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12256 similar to LyXView.
12258 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12259 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12261 2002-02-18 José Matos <jamatos@fep.up.pt>
12263 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12266 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12268 * a lot of small ws changes
12269 * add a lot of using std::XXX
12270 * use std construcs some places where approp.
12271 * use some exisint stuff from lyxfunctional where approp.
12272 * Make file changes to use partial linking (lets test this now...)
12274 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12278 remove #include "support/syscontr.h" as it's redundant. Always has been.
12286 change Systemcalls::System to Systemcalls::Wait and
12287 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12288 No change of functionality, just reflects the stripped down Systemcalls
12291 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12293 * debug.[Ch]: add a GRAPHICS type to the enum.
12295 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12297 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12299 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12302 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12305 match the changes below.
12307 * text2.C (toggleInset): if there is not editable inset at cursor
12308 position, try to see if cursor is _inside_ a collapsable inset
12311 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12313 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12314 document menu has a nice checkbox
12316 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12318 * lyxlength.C (asLatexString): change PW to output as percent of
12321 * lengthcommon.C: change '%' to 't%'
12323 * lyxfunc.C (dispatch): a few comments from Martin
12325 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.h:
12330 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12333 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * vspace.C (inPixels): fix compiler warning
12337 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * lyxfunc.C (getStatus): fix status message for disabled commands.
12341 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12343 * BufferView_pimpl.C: fix crash on close buffer
12344 during selection (#227)
12346 2002-01-27 Herbert Voss <voss@lyx.org>
12348 * buffer.C: link old Figure to new graphic inset
12350 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12352 * FontLoader.C (getFontinfo): Change the latex font names in order
12353 to match the names of type1inst.
12355 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12359 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12360 (extchanged): ditto
12362 (remove_files_with_extension): ditto
12363 (remove_file): ditto
12366 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12367 document is smaller than the work area height. Do not initialize
12368 static variables to 0.
12370 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12374 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12375 LFUN_LAYOUT_PARAGRAPHS.
12377 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12378 tabular. It is possible to provide a possible cell, which will
12379 typically be the actcell from the corresponding insettabular
12381 * lyxfunc.C (getStatus): small cleanup; disable
12382 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12385 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12387 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12389 * paragraph.C (startTeXParParams):
12390 (endTeXParParams): new methods. The LaTeX code to
12391 start/end paragraph formatting
12392 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12393 empty (fixes bug #200)
12395 * vspace.C (inPixels): adapt to the change below
12396 (inPixels): [later] more cleanups (remove unused variables)
12398 * lyxlength.C (inPixels): change to use a width and a height as
12401 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12403 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12404 Replaced with \paperwidth
12406 * DepTable.C (insert): add std:: qualifier
12408 2002-01-18 Allan Rae <rae@lyx.org>
12410 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12413 * text.C (drawInset): Turned out I didn't know enough about how
12414 rebreaking worked. This fixes most of the redraw problems. I see
12415 an occasional cursor trail when a line is broken now and the cursor
12416 placement can seem out by a few pixels also after a rebreak.
12418 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * buffer.C (parseSingleLyXformat2Token): update because minipage
12421 width is now a LyXLength
12423 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12425 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12428 2002-01-17 Juergen Vigna <jug@sad.it>
12430 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12432 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12433 is set correctly and the inset is updated correctly.
12435 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12437 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12438 the beginning of the loop.
12440 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12442 * lyxrc.C: improve help for use_scalable_fonts
12444 2002-01-17 Allan Rae <rae@lyx.org>
12446 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12448 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12451 make sure to set their inset_owner to the right value (bug #171)
12453 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12456 * DepTable.C: Implement mtime checking to reduce time spent doing
12459 2002-01-16 Juergen Vigna <jug@sad.it>
12461 * tabular.C (GetAdditionalHeight): one of error fixed.
12463 * lyxrc.C (output): small fix in writing use_pspell.
12465 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12467 * sp_base.h: #include LString.h
12469 2002-01-16 Allan Rae <rae@lyx.org>
12471 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12472 Can someone check this please?
12474 * text.C (drawInset): It was possible that p.row would be removed by
12475 breakAgainOneRow upsetting a few other settings. There may be another
12476 small tweak possible by setting need_break_row = 0 when p.row has been
12477 removed but I don't know enough about the logic here.
12479 2002-01-15 Allan Rae <rae@lyx.org>
12481 * text.C (insertChar): removed conditional truism.
12483 * BufferView2.C (removeAutoInsets): More tweaks.
12484 cur_par_prev could be a stray pointer. Check for trailing empty line
12485 in case last line was cur_par and only had an error inset on it.
12487 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12492 * vc-backend.C (most methods):
12493 * exporter.C (Export):
12494 * converter.C (convert):
12496 * LyXSendto.C (SendtoApplyCB):
12497 * lyxfunc.C (dispatch):
12501 * lyx_cb.C (AutoSave):
12503 * BufferView_pimpl.C (MenuInsertLyXFile):
12504 * buffer.C (runChktex): use Buffer::filePath().
12506 * buffer.h: rename filename to filename_; rename filepath to
12507 filepath_ and make it private
12508 (filePath): new method
12510 * buffer.C (writeFile): use fileName()
12513 * lyx_main.C (init): fix starting of LyX when the binary is a
12514 link from so,ewhere else.
12516 * minibuffer.C: include <cctype> for isprint
12518 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12520 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12521 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12522 name clash with InsetCollapsable's width function.
12524 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * lastfiles.C: include <iterator>
12528 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12530 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12533 * buffer.C (makeLaTeXFile): ditto.
12534 Also make loop operation more transparent.
12536 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12538 * ToolbarDefaults.C: remove trailing comma closing namespace.
12540 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12542 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12545 * trans.C (Load): comment out unused variable, allowed.
12547 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12549 * minibuffer.[Ch] (append_char): new method to recieve input from the
12550 drop-down completion browser. If a key was pressed, then recieve this
12551 char and append it to the existing string.
12552 (peek_event): modify the positioning data passed to the completion
12553 browser so that it can be placed above the minibuffer rather than below.
12554 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * LyXAction.C (init): alloe error-next for readonly documents.
12558 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12561 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * bufferlist.C (readFile): create the buffer _after_ checking that
12566 * lyxfunc.C (verboseDispatch): fix handling of arguments
12568 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12570 * lyxrc.C: use string::erase() instead of initializing to "".
12573 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12575 * BufferView_pimpl.h:
12576 * BufferView_pimpl.C:
12579 * text2.C: tell X when we have made a selection for copying
12581 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * BufferView_pimpl.C (MenuInsertLyXFile):
12584 * lyxfunc.C (menuNew):
12586 (doImport): add shortcuts to directory buttons
12588 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12591 * lyxfunc.C (setStatusMessage):
12592 (getStatusMessage): new methods
12593 (getStatus):use setStatusMessage instead of setErrorMessage
12594 (dispatch): when function is disabled, set error message here
12595 [instead of in getStatus previously]
12597 * BufferView_pimpl.C (workAreaButtonRelease): update
12598 toolbar/menubar here too.
12600 2002-01-13 Allan Rae <rae@lyx.org>
12602 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12603 Now seems indestructible. Remaining task is to audit all other
12604 code affected by deleteEmptyParagraphMechanism. One small quirk
12605 left is that an empty document with an error in the preamble can
12606 be made to report an error but no error box appears. I don't know
12608 (removeAutoInsets): Improved comments.
12610 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12613 * Thesaurus.C: update for Aiksaurus 0.14
12615 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * text2.C (firstParagraph): removed member function, all uses
12618 replaces with ownerParagraph
12619 (redoParagraphs): here
12620 (updateInset): here
12621 (toggleAppendix): here
12622 * BufferView2.C (insertErrors): here
12623 (setCursorFromRow): here
12625 2002-01-13 Allan Rae <rae@lyx.org>
12627 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12628 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12629 There is still a way to segfault this although you may have to do this
12630 multiple times: Have an InsetERT with an unknown command in it.
12631 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12632 <down-arrow>, <Enter> again, View->DVI, BANG!
12634 * text2.C (setCursor):
12635 (deleteEmptyParagraphMechanism):
12636 * lyxtext.h (setCursor):
12637 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12638 Making use of the return value may help fix other bugs.
12640 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12642 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12644 * LyXView.C (updateMenubar): call MenuBar::update here
12645 (updateToolbar): but not here
12646 (showState): do not update toolbar/menubar
12648 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12649 should need to care about that.
12651 * lyxfunc.C (verboseDispatch): simplify a bit
12652 (getStatus): have a version which takes a pseudoaction, and
12653 another which requires a (kb_action,string).
12655 * LyXAction.C (retrieveActionArg): make it work also when action
12656 is not a pseudo-action.
12657 (getActionName): simplify a bit
12660 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12662 * lyxfunc.C (verboseDispatch): new families of methods with
12663 several ways to specify a command and a bool to indicate whether
12664 the command name and shortcut should be displayed in minibuffer
12665 (eventually, we could extend that to a finer bitmask like
12666 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12667 (dispatch): the pristine dispatch command which just, well,
12668 dispatchs! Note it still sets its result to minibuffer; I'm not
12671 * lyxfunc.h: remove setHintMessage
12673 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12675 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12677 * BufferView_pimpl.C (specialChar): delete new inset if we have
12678 not been able to insert it.
12680 * kbmap.C: revert to using int instead of kb_action, since all we
12681 are dealing with is pseudo-actions.
12683 * LyXAction.C (searchActionArg): change to return int instead of
12684 kb_action, since the result is a pseudoaction.
12686 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12688 * buffer.C (insertErtContents): Fix (partially) the font bug.
12690 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12692 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12693 as the other one is broken on my machine!
12695 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12698 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12700 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12702 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12703 reflect their actual use. Provide compatibility code for older lyxrc
12706 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12708 change names of popup font variables in line with the changes to lyxrc.C
12710 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * buffer.C (asciiParagraph): avoid outputing a word twice after
12715 * lyxrc.C (getDescription): document that document_path and
12716 template_path can be empty.
12718 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12720 * LaTeXFeatures.C (getMacros):
12721 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12723 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12725 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12727 (getPackages): rename feature "floats" to "float". Use an array to
12728 iterate over 'simple' features (i.e. just a \usepackage). Add
12729 handling of "amsmath" (renamed from "amsstyle").
12731 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12733 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12736 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12738 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12739 FuncStaus::FuncStatus & FuncStaus::some_method().
12741 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12743 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12744 of the func_satus stuff. Edited and massaged in various ways by
12747 * lyxfunc.C (getStatus): use FuncStatus
12749 2002-01-08 Juergen Vigna <jug@sad.it>
12751 * text.C (nextBreakPoint): use function Inset::isChar().
12753 * paragraph.C (TeXOnePar): use function
12754 Inset::forceDefaultParagraphs.
12756 * buffer.C (latexParagraphs): use function
12757 Inset::forceDefaultParagraphs.
12759 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12761 * lyx_gui.C (init): set the style of the menu popups to
12762 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12764 2002-01-07 Juergen Vigna <jug@sad.it>
12766 * text.C (setHeightOfRow): small fix
12767 (prepareToPrint): don't look at alignment if we don't have the place
12770 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12772 * box.C: New file. Move the Box methods and functions out of box.h,
12773 following Lars' suggestion.
12775 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12777 * box.h: #include "support/LOstream.h", needed for inlined function.
12780 * lyxtextclasslist.C: added some using std declarations.
12782 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12784 * box.h: make signed dimensions to allow insets wider than
12785 the screen (bug #162)
12787 * BufferView_pimpl.C: add some insetHit debug
12789 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12791 * vc-backend.C: add FIXME
12793 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12795 * lyxfunc.C (getStatus): enable code for showing math font status
12798 2002-01-07 Juergen Vigna <jug@sad.it>
12800 * text.C (nextBreakPoint): removed debug output not needed anymore.
12802 2002-01-06 Juergen Vigna <jug@sad.it>
12804 * text.C (nextBreakPoint): fixed up this function we had this bug
12805 since ever but now hopefully we break row better.
12806 (insertChar): we have to check if an inset is the next char as it
12807 could now happen that a large inset is causing a break.
12809 2002-01-05 Juergen Vigna <jug@sad.it>
12811 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12812 if it doesn't like to be drawed.
12814 2002-01-04 Juergen Vigna <jug@sad.it>
12816 * BufferView2.C (lockInset): forgot to set a cursor.
12818 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12820 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12822 * FormMathsPanel.C:
12825 * form_maths_panel.C:
12826 * form_maths_panel.h:
12827 * form_maths_panel.fd: implemented sub- and super- buttons in math
12830 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12831 (or ^ space) to be used as in TeX (req'd by André).
12833 * lyxfunc.C: Allow ^ and _ again to be used both as
12834 super/subscript (mathed) and as themselves (in text).
12836 2002-01-03 Allan Rae <rae@lyx.org>
12838 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12839 "LyX" or the filename of the current buffer if it has one. This is a
12840 modified form of John Levon's patch.
12842 * XFormsView.C (setWindowTitle): also set icon title.
12844 * LyXView.h (setWindowTitle): signature changed.
12845 * XFormsView.h (setWindowTitle): ditto.
12847 2002-01-02 Juergen Vigna <jug@sad.it>
12849 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12851 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * screen.C (topCursorVisible): introduce a temp var for
12854 text->cursor.row(), handle the case where this row is null. (kindo
12857 * text2.C (setCursor): add a couple of asserts.
12859 * paragraph.h (inset_iterator): add -> operator
12861 * paragraph.[Ch] (autoDeleteInsets): remove member function
12863 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12864 cursor pos correctly and handle inset deletion by itself.
12865 (insertErrors): move iterator declaration out of for expression
12867 * lyxtextclass.C: add <algorithm>
12869 * Makefile.am: added the new files to sources, removed layout.C
12871 * layout.C: removed file
12873 * layout.h: remove LYX_DUMMY_LAYOUT
12875 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12879 * lyxtextclass.[Ch]:
12880 * lyxtextclasslist.[Ch]: new files
12882 * include order changes to a lot of files, also changes because of
12885 2001-12-27 Juergen Vigna <jug@sad.it>
12887 * buffer.C (asciiParagraph): more fixes.
12889 * tabular.C (ascii): make ascii export support export of only the
12890 data separated by a column-delimiter.
12891 (ascii): better support for ascii export.
12893 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12895 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12897 * tabular_funcs.C: use a "using std::getline" instead of the
12898 previous fix from Angus (necessary for cxx + lyxstring)
12900 2001-12-24 Juergen Vigna <jug@sad.it>
12902 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12904 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12905 problems. First check a minipage also if we have some ert-contents
12906 (not only on par->size(), second set the right depth of the paragraph
12907 on the relink to the root-paragraph-list!
12909 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12910 which then did not anymore update the main paragraphs on undo/redo!
12912 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12914 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12915 code. Support all font-changing funcs (even those which are not in
12916 menu currently). Support for reporting font settings in
12917 mathed (disabled until Andre provides a function on mathed's side).
12919 * func_status.h (toggle): small helper function to set toggle
12922 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12924 * tabular_funcs.C: getline -> std::getline
12926 2001-12-21 Juergen Vigna <jug@sad.it>
12928 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12929 accessed and could be 0 (I couldn't generate this but it seems
12932 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12935 * tabular_funcs.h: here and include iosfwd
12937 2001-12-20 Juergen Vigna <jug@sad.it>
12939 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12940 inside inset but undo_par was.
12942 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * Thesaurus.C: always include <config.h> in sources.
12948 * box.h: do not include <config.h> in header files
12950 * text.C (paintLastRow): remove unused variable
12952 * text.C (transformChar):
12954 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12956 * Painter.C (text):
12957 * font.C (width): rewrite to use uppercase() instead of
12960 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12962 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12964 * lyxfind.C: clean up of find failure position change
12966 2001-12-20 Juergen Vigna <jug@sad.it>
12968 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12970 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12971 (TeXRow): added to LaTeX a single tabular row.
12972 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12973 (Latex): simplified and finally good LT-h/f support.
12974 (various_functions): just small adaptions for LT-h/f support.
12976 * tabular_funcs.[hC]: added and moved here all not classfunctions
12979 2001-12-19 Juergen Vigna <jug@sad.it>
12981 * tabular.[Ch]: better support for longtabular options (not finished
12984 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12986 * text.C (paintLastRow): use the label font instead of the font of
12987 the last character to compute the size of *_BOX. This makes more
12988 sense and avoids a crash with empty paragraphs.
12989 Use Painter::rectangle to draw EMPTY_BOX.
12991 2001-12-19 Juergen Vigna <jug@sad.it>
12993 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12994 the paragraphs if the replaced paragraph is not the first one!
12995 Tried to delete not used paragraphs but does not work yet so for
12996 now it's inside #ifdef's and by default off!
12998 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * MenuBackend.C: include "lyx_main.h" instead of declaring
13001 lastfiles (actually was declared as LastFiles* instead of a
13004 2001-12-17 Juergen Vigna <jug@sad.it>
13006 * tabular.C (AppendColumn): applied John's fix
13008 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13012 * BufferView_pimpl.h:
13013 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13016 * box.h: new start of class for above
13018 * lyxfunc.C: ignore space-only minibuffer dispatches.
13019 Show the command name when it doesn't exist
13021 * minibuffer.C: don't add empty lines to the history
13023 * minibuffer.C: add a space on dropdown completion
13025 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13027 * text.C: fix line above/below drawing in insets
13029 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * lyxlength.C (LyXLength): Initialize private variables.
13033 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13036 when inserting error insets.
13038 2001-12-13 Juergen Vigna <jug@sad.it>
13040 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13041 actually sometimes the before-paragraph.
13042 (setUndo): don't clear the redostack if we're not actually undoing!
13044 2001-12-06 Juergen Vigna <jug@sad.it>
13046 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13047 and fixed redoing of main paragraph, so we can use it now ;)
13049 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13051 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13053 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13056 2001-12-13 André Pönitz <poenitz@gmx.net>
13059 * undo_func.C: minor cleanup
13061 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13063 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13064 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13065 font in urw-fonts package which is marked as -urw-fontspecific and
13066 does not work (incidentally, changing the encoding in the
13067 fonts.dir of this package to -adobe-fontspecific fixes the
13070 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13071 is a crash when undoing first paragraph (Juergen, please take a
13072 look). THis does not mean the undo fix is wrong, just that it
13075 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13076 the (Paragraph*) version when needed instead of duplicating the
13079 * text.C (workWidth): use Inset::parOwner to find out where the
13080 inset has been inserted. This is a huge performance gain for large
13081 documents with lots of insets. If Inset::parOwner is not set, fall
13082 back on the brute force method
13084 * paragraph_pimpl.C (insertInset):
13085 * paragraph.C (Paragraph):
13086 (cutIntoMinibuffer): set parOwner of insets when
13087 inserting/removing them
13089 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13091 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13097 * mathed/formulabase.C:
13098 * mathed/math_cursor.[Ch]:
13099 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13102 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * lyxlength.[Ch] (operator!=): new function
13106 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13108 * text.C (workWidth): use Inset::parOwner to find out where the
13109 inset has been inserted. This is a huge performance gain for large
13110 documents with lots of insets. If Inset::parOwner is not set, fall
13111 back on the brute force method
13113 * paragraph_pimpl.C (insertInset):
13114 * paragraph.C (Paragraph):
13115 (cutIntoMinibuffer): set parOwner of insets when
13116 inserting/removing them
13118 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13120 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13122 * tabular-old.C (getTokenValue):
13123 * tabular.C (getTokenValue):
13124 (write_attribute): new versions for LyXLength
13125 (everywhere): adjust the use of widths
13127 * tabular.h: change the type of widths from string to LyXLength
13129 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13131 * paragraph.C: fixed missing line number count when exporting
13132 Environments to LaTeX file
13134 * buffer.C: added informational message for checking line numbers.
13136 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13138 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13139 paragraph, do the 'double space' part, but not the 'empty
13142 * text.C (workWidth): small optimization
13143 (getLengthMarkerHeight): use minimal size for negative lengths.
13145 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13147 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13149 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13151 2001-12-11 André Pönitz <poenitz@gmx.net>
13154 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13156 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13158 * text2.C: keep selection on a setFont()
13160 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13162 * lyx_cb.C: another bv->text misuse, from insert label
13164 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13167 * kbsequence.C: re-instate nmodifier mask
13169 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13171 * lyx_main.h: make lyxGUI private.
13173 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13175 * lyxfind.C: place the cursor correctly on failed search
13177 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13179 * text.C (getLengthMarkerHeight): for small heights, the arrows
13180 are not always on top/bottom of the text
13181 (drawLengthMarker): smaller arrows; take the left margin in
13182 account; draw also vfills.
13184 (paintLastRow): remove special code for vfill and standard spaces,
13185 since everything is handled in drawLengthMarker now.
13187 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * buffer.C (insertErtContents): try to handle font and language
13190 interaction a bit better.g
13192 * ColorHandler.C (updateColor): change the hash to cover the whole
13193 LColor enum, ws cleanup
13194 (getGCLinepars): ditto
13195 (getGCLinepars): only lookup in the linecache once.
13197 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13199 * iterators.C (operator++): Make the iterator more robust
13201 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13205 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13208 * text.C: better added space drawing
13210 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13213 * BufferView2.C: fix layout combo update on inset unlock
13215 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13217 * Makefile.am: don't compile unused files
13219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13223 * LyXAction.C: remove old LFUN_LAYOUTNO
13225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13227 * paragraph_pimpl.h:
13228 * paragraph_pimpl.C: isTextAt() doesn't need font param
13230 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13233 * lyxlex.C: little cleanup
13235 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13237 * BufferView_pimpl.C: fix insertAscii for insets
13239 2001-12-05 Juergen Vigna <jug@sad.it>
13241 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13242 set the right font on the "multi" paragraph paste!
13244 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * lyxlength.C: remove out-commented code.
13252 * BufferView_pimpl:
13266 * vc-backend.C: change "while(" to "while ("
13268 * lyxlength.[Ch]: add zero function to check if length is zero or
13270 * lyxgluelength.C: use it
13272 2001-12-05 Allan Rae <rae@lyx.org>
13274 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13275 Works for 2.95.3, from what I understand of Garst's reports this should
13276 work for other g++ versions. We're screwed if the abs(int) definition
13277 changed between bugfix releases of gcc.
13279 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13281 * text.C: fix chapter label offset !
13283 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13286 * text.C: fix hfill at end of line, clean up
13288 2001-12-04 Juergen Vigna <jug@sad.it>
13290 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13291 that we force an update of the inset and it's owners if neccessary.
13293 2001-12-03 Juergen Vigna <jug@sad.it>
13295 * text.C (rowLast): simplified code
13297 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13299 * lyxfunc.C: fix show options on timeout
13301 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * screen.C (topCursorVisible): scroll half a page when the cursor
13304 reached top of bottom of screen
13306 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13308 * minibuffer.C: deactivate on loss of focus
13310 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13312 * vspace.[Ch] (operator!=): add operator.
13314 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13316 * BufferView_pimpl.C: refuse to open an inset when
13317 there's a selection.
13319 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13321 * BufferView_pimpl.C: allow to click on RHS of full row insets
13323 2001-11-30 Juergen Vigna <jug@sad.it>
13325 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13326 insets for undo reasons.
13328 2001-11-28 André Pönitz <poenitz@gmx.net>
13330 * vspace.[Ch]: cosmetical changes
13332 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13342 * kbsequence.C: part re-write of old kb code
13345 * WorkArea.C: remove Lgb_bug_find_hack
13347 2001-11-30 José Matos <jamatos@fep.up.pt>
13349 * buffer.C (makeDocBookFile): add a comment to point a hack.
13350 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13351 Fixed a double write of labels.
13353 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13356 * LaTeX.h Fixed bug in LaTeX class where it would not
13357 re-run latex if no depfiles were changed, but the .dvi was removed.
13359 2001-11-28 André Pönitz <poenitz@gmx.net>
13361 * all the files from the change on 2001/11/26:
13362 use lyx::layout_type instead of LyXTextClass::size_type
13363 use lyx::textclass_type instead of LyXTextClassList::size_type
13365 2001-11-29 Juergen Vigna <jug@sad.it>
13367 * text.C: added support for paragraph::isFreeSpacing()
13369 * buffer.C: same as above
13371 * paragraph.h: inserted isFreeSpacing() function to enable
13372 FreeSpacing inside InsetERT.
13374 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13375 of the paragraph's in the cut/copy buffer to 0!
13377 * text2.C (removeRow): remove the assert as it can!
13379 * lyxtext.h: added helper function firstRow returning firstrow and
13380 made firstrow private again.
13382 * BufferView2.C (lockInset): don't relock if we're already locked!
13384 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13385 the only paragraph.
13386 (removeRow): added Assert::(firstrow)
13388 * debug.C: forgot to add INSETTEXT here.
13390 2001-11-28 Juergen Vigna <jug@sad.it>
13392 * sp_spell.C (initialize): changed error text to more general
13393 spellchecker command use (not only ispell!)
13395 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13397 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13399 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13401 * vspace.C: initialise lyxgluelength on failure
13403 2001-11-28 Allan Rae <rae@lyx.org>
13405 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13406 declaration & definition that looks like a function declaration.
13408 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * BufferView2.C (copy):
13411 (copyEnvironment): do not clear the selection when doing a copy.
13413 * text.C (paintFirstRow): compilation fix
13415 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13417 * tabular.C (Latex): correct line count when writing latex.
13419 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13421 * paragraph_pimpl.h:
13422 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13425 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13429 * LColor.C: change vfillline->added_space
13431 * text.C: add markers and text for added space
13433 * vspace.C: fix comment
13435 2001-11-28 André Pönitz <poenitz@gmx.net>
13437 * paragraph.C: whitespace changes
13438 * all the other files from the change on 2001/11/26:
13439 change *::pos_type into lyx::pos_type
13441 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13443 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13444 language of the document when inserting error insets.
13446 2001-11-26 André Pönitz <poenitz@gmx.net>
13448 * BufferView_pimpl.[Ch]:
13456 * paragraph_pimpl.[Ch]:
13459 * text2.C: reduce header dependencies, introduce type for positions
13461 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13463 * <various>: change to use Alert.h
13465 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13467 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13468 when encountering an unknown token.
13469 (readLyXformat2): Show an error message if there were unknown tokens.
13471 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13474 * BufferView_pimpl.C:
13478 * text2.C: use par->isInset()
13480 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13482 * paragraph_pimpl.h:
13483 * paragraph_pimpl.C: cleanup
13485 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * text2.C (removeRow):
13488 * text.C (setHeightOfRow): remove useless (and costly) call to
13491 2001-11-20 Allan Rae <rae@lyx.org>
13493 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13494 Now need Inset*::checkInsertChar() to return true for appropriate
13495 cases so that the characters in the minibuffer will actually be
13498 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13500 * text.C: change the order of the includes.
13501 (workWidth): initialize it at once.
13502 (workWidth): make maxw unsigned
13503 (setHeightOfRow): remove unused variable (inset)
13504 (selectSelectedWord): remove unused variable (inset)
13505 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13507 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13510 server is not running.
13512 (closeConnection): add debug info when server is disabled.
13514 * ColorHandler.C (getGCForeground): send debug message to GUI
13517 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13519 * kbmap.C (bind): modify because return conventions of
13520 kb_sequence::parse have changed.
13522 * kbsequence.C (parse): only ignore spaces and not any stupid
13523 control character. This avoids tests like s[i] <= ' ', which are
13524 guaranteed to fail with 8bit characters and signed chars.
13525 Change return code to string::npos when there have been no error
13526 (0 was a bad idea when error is at first character)
13528 2001-11-14 José Matos <jamatos@fep.up.pt>
13531 * buffer.C (simpleDocBookOnePar): removed unused argument.
13533 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13536 insets which are part of a word. Paragraph::isLetter takes care of
13537 that now. Use Paragraph::isInset to identify insets.
13538 (selectSelectedWord): do not test for hyphenation break.
13540 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13541 that protected spaces are considered as spaces.
13543 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13546 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13549 * lyxserver.C: fix it. and small cleanup.
13551 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13553 * BufferView_pimpl.C: use inline helpers
13556 * LaTeXFeatures.C: fix typos
13559 * Spacing.C: move spacing_string into class
13561 * ToolbarDefaults.C: move stuff into namespace anon
13563 * layout.h: update enum
13565 * lyxfunc.C: use better debug
13567 * minibuffer.h: fix typo
13571 * WorkArea.C: add and use Debug::WORKAREA
13575 * text2.C: code re-organisation, inline helpers
13577 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13579 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13580 std::vector.empty().
13582 2001-11-09 Allan Rae <rae@lyx.org>
13584 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13585 '\n's after tables. Tabular and ERT inset work now makes this no
13588 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13591 * minibuffer.C: fix crash, improve drop-down completion
13593 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13596 * lyxserver.C: invalidate fd's when doing endPipe()
13598 2001-11-08 José Matos <jamatos@fep.up.pt>
13600 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13601 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13604 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13606 2001-11-07 José Matos <jamatos@fep.up.pt>
13609 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13612 * buffer.C (sgmlOpenTag):
13613 * buffer.C (sgmlCloseTag): removed debug info.
13615 * buffer.h (sgmlOpenTag):
13616 * buffer.h (sgmlCloseTag): made public.
13618 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13620 * buffer.C (saveParamsAsDefaults):
13621 * lyx_cb.C (MenuLayoutSave): remove
13623 * LyXAction.C (init):
13625 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13627 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * buffer.C (setPaperStuff): removed from here...
13631 * bufferparams.C (setPaperStuff): ... and moved there.
13633 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13637 * XFormsView.C: add support for drop-down completion
13639 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13641 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13644 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13646 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13649 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13651 * lyx_main.C: change ref to known bugs
13653 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13655 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13656 to work around older babel problems.
13658 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13660 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13662 2001-10-24 Juergen Vigna <jug@sad.it>
13664 * tabular-old.C (ReadOld): below variable changes reflected.
13666 * tabular.[Ch]: added ltType struct for longtable header/footer
13667 defines and changed all instances where they are used. Added
13668 future support for double top/bottom rows.
13670 2001-10-24 José Matos <jamatos@fep.up.pt>
13672 * buffer.h (docbookHandleCaption):
13673 * buffer.C (docbookHandleCaption): removed unused function.
13674 (makeDocBookFile): moved docbook supported version to v4.1.
13676 2001-10-24 José Matos <jamatos@fep.up.pt>
13679 * tabular.C (docbookRow): new function to export docbook code of a row.
13680 (DocBook): now honors the longtable flags.
13682 2001-10-23 José Matos <jamatos@fep.up.pt>
13685 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13686 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13688 * buffer.C (makeLinuxDocFile):
13689 (makeDocBookFile): reworked the preamble, more clean, and with
13690 support for lyx defined entities. Changed the document declaration
13691 to be more XML friendly.
13693 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13694 if we need to output XML that should be done with a filter.
13696 2001-10-22 Juergen Vigna <jug@sad.it>
13698 * sp_pspell.h (class PSpell): add alive function needed in the
13699 controller to see if the spellchecker could be started.
13701 2001-10-22 Juergen Vigna <jug@sad.it>
13703 * buffer.C (insertStringAsLines): modify the font for inserting
13704 chars in certain conditions by calling checkInsertChar(font).
13706 2001-10-19 Juergen Vigna <jug@sad.it>
13708 * text.C (workWidth): use getRow instead of wrong algorithm.
13709 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13711 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13716 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13718 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * text.C (workWidth): do not search for the exact row when
13721 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13722 optimization for big documents.
13724 2001-10-18 Juergen Vigna <jug@sad.it>
13726 * text.C (workWidth): new function with added Inset * parameter.
13728 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13730 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13732 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13733 change return type of getColumnNearX.
13736 * text.C (changeRegionCase): use uppercase/lowercase instead of
13739 (rightMargin): simplify code by factoring out the uses of
13744 (appendParagraph): use Paragraph::size_type
13746 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * vspace.C (asLatexString): add a missing break
13750 2001-10-15 Herbert Voss <voss@perce.de>
13752 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13754 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13756 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13759 2001-10-10 André Pönitz <poenitz@gmx.net>
13761 * lyxfunc.C: removed greek_kb_flag.
13763 2001-10-10 Herbert Voss <voss@perce.de>
13765 * lyx_main.C: delete global string help_lyxdir.
13767 2001-10-09 Herbert Voss <voss@perce.de>
13769 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13771 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13773 * lyx_main.C: added global string help_lyxdir.
13775 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13777 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13779 * lyxrc.C (set_font_norm_type): support iso8859-4
13781 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13783 * LaTeX.C (deplog): add another regex for MikTeX
13785 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13787 * lyxrc.C (set_font_norm_type): support iso8859-3
13789 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13793 * LaTeXFeatures.C: remove special case of french and index
13795 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13796 before \begin{document}). This solves several incompatibilities.
13798 2001-10-03 Garst Reese <reese@isn.net>
13800 * lyx_cb.C: change CheckTex error msg.
13802 2001-10-03 José Matos <jamatos@fep.up.pt>
13804 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13806 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * .cvsignore: update
13810 * lyx_main.C (commandLineVersionInfo): use new style version info.
13812 * buffer.C (writeFile):
13814 (makeLinuxDocFile):
13815 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13817 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13819 * version.h: update to use stuff in version.C
13821 * version.C.in: new file. Contains version information determined
13822 at compile time. This is a merging of version.h and
13825 2001-10-03 Juergen Vigna <jug@sad.it>
13827 * BufferView_pimpl.C (update): don't change "dirty" status in
13830 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13832 * WorkArea.C (c-tor): re-position version string slightly.
13834 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13836 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13837 revert to previous code.
13839 WorkArea.[Ch]: (show, destroySplash): methods removed.
13841 WorkArea.C: rework code so that it's an amalgam of the codes before and
13842 after the splash screen was moved to WorkArea.
13844 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * vspace.C (inPixels):
13850 * buffer.C (insertStringAsLines):
13851 (asciiParagraph): fix types to be large enough
13853 * lyxlex_pimpl.h: change member status from short to int
13855 * layout.h: fix type of endlabeltype
13858 * kbsequence.C (parse): change return type to string::size_type
13860 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13863 * Bullet.C (bulletSize):
13864 (bulletEntry): do not use short ints as parameters
13866 * BufferView2.C (insertLyXFile): change a char to an int.
13868 * WorkArea.C (WorkArea): remove unneeded floats in computation
13870 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13872 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13874 * paragraph.C (asString): Do not ignore newline/hfill chars when
13875 copying to the clipboard.
13877 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13879 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13880 after a multi-line inset.
13882 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13884 * paragraph.C (validate): Set NeedLyXFootnoteCode
13886 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13888 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13889 and decrease-error to decrease.
13891 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13893 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13894 it more readable (should be equivalent)
13896 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13898 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13900 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13903 of a cursor (row, etc.) after a character has been deleted
13904 (deleteEmptyParagraphMechanism): call the method above on _all_
13905 cursors held by the LyXText when a double space has been
13908 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13910 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13912 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13914 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13915 background. Use greyOut() and the new show() methods to toggle between
13916 the foreground and background. Add code to remove the splash after
13917 its initial showing.
13919 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13920 (create_forms): no longer call Dialogs::showSplash.
13922 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * .cvsignore: add version_info.h
13926 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * version_info.h.in: new file
13930 * Makefile.am: add version_info.h.in
13932 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13933 version_info.h instead of VERSION_INFO
13935 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13937 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13938 The ERT inset now returns string().
13940 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13942 * lyxtext.h, text.C (selectNextWord): renamed as
13943 selectNextWordToSpellcheck.
13945 * text.C (selectNextWordToSpellcheck): Modified to not select
13946 words inside an ERT inset.
13948 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13950 * lyx_cb.C (MenuLayoutSave): change a bit the question
13952 * sp_base.h: include <sys/types.h>
13954 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13956 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13958 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13960 * several files: fix typos in user-visible strings
13962 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * text2.C (pasteSelection): do not set the selection, since it
13965 will be cleared later. Actually, the intent was to fix the way the
13966 selection was set, but I figured rmoving the code was just as good.
13968 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13970 * FontLoader.C (available): Check if font is available without
13973 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13975 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13977 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13979 * lyxrc.[Ch]: added display_graphics variable and associated code.
13981 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13983 * bufferparams.C (hasClassDefaults): new method. Returns true if
13984 the buffer parameters correspond to known class defaults
13986 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13988 * XFormsView.C (show): set minimum size to the main window.
13990 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * text2.C (copySelection):
13994 * lyxfind.C (LyXReplace):
13995 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13996 LyXText::selectionAsString.
13998 * paragraph.C (asString): add "label" argument to the second form
14000 * text2.C (selectionAsString): add "label" argument and pass it to
14001 Paragraph::asString.
14003 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * lyx_main.C (commandLineHelp): remove version information
14007 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14009 * lyx_main.C: add -version commandline option
14011 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * paragraph.h: make the optional constructor arg required instead.
14014 some modifications to other files because of this.
14016 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14018 * lyxserver.C (C_LyXComm_callback): make it static
14020 * lyx_main.C (error_handler): make it static
14022 * lyx_gui.C (LyX_XErrHandler): make it static
14024 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14026 * WorkArea.C: make the extern "C" methods static.
14028 * Makefile.am (lyx_LDADD): simplify
14030 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14032 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14033 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14035 * LyXAction.C (init):
14036 * lyxfunc.C (dispatch): associated code removal.
14038 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * lyxfont.h (isSymbolFont): shut off warning
14042 * text.C (setHeightOfRow):
14043 (getVisibleRow): fix crash with empty paragraphs which have a
14046 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14048 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14051 2001-09-04 José Matos <jamatos@fep.up.pt>
14054 * tabular.C (docbook): rename docBook method to docbook.
14056 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14058 * Makefile.am: add dependencies to main.o.
14060 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14062 * FontLoader.C (available): Return false if !lyxrc.use_gui
14064 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14066 * FontInfo.C (query):
14067 * converter.C (view):
14068 * importer.C (Import):
14069 * exporter.C (Export): Can not -> cannot.
14071 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14073 * BufferView_pimpl.C: allow to create index inset even if
14076 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14078 * buffer.C (getLists): replace boost::tie code with an explicit pair
14079 as boost::tie can break some compilers.
14081 * iterators.h: Added a std:: declaration to the return type of
14084 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14086 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14089 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14091 * iterators.[Ch]: New files. Provide paragraph iterators.
14093 * buffer.C (changeLanguage): Use paragraph iterators.
14094 (isMultiLingual): ditto
14096 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14098 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14100 * FontLoader.C: Support for cmr font.
14102 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14104 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14105 (available): New method.
14107 * FontInfo.C (getFontname): Use scalable fonts even when
14108 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14111 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14113 * converter.C (Formats::view): reverted! Incorrect fix.
14115 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14117 * converter.C (Formats::view): only output the -paper option
14118 if the dvi viewer is xdvi, thereby fixing bug #233429.
14120 2001-08-23 Herbert Voss <voss@perce>
14122 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14124 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14126 * Spacing.h (Spacing): Set space to Default on in the default
14129 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14131 * vc-backend.h (RCS::versionString): add RCS to version
14132 (CVS::versionString): add CVS to version
14134 * vc-backend.C (scanMaster): do not add CVS to version.
14135 (scanMaster): do not add RCS to version
14137 * lyxvc.C (versionString): new method
14139 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14141 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * Spacing.C (set): initialize fval
14145 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14147 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14150 2001-08-16 Juergen Vigna <jug@sad.it>
14152 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14154 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14156 * BufferView_pimpl.C:
14159 * text2.C: setParagraph takes linespacing now
14161 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14163 * LyxAction.C: add internal LFUN_CITATION_INSERT
14165 * LyXView.C: actually apply fix
14167 * bufferlist.C: fix open non-existent file
14169 * lyxfind.C: fix indentation
14171 * lyxfunc.C: remove unneeded assert, fix typo
14173 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14175 * MenuBackend.C: use "Floatname List"
14177 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14179 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14180 when converting LaTeX layout to insetERT.
14181 Generate a non-collapsed float when reading old float
14183 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14185 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14188 2001-08-13 Juergen Vigna <jug@sad.it>
14190 * text.C (fill): return 0 instead of 20 as this seems to be the more
14193 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14195 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14198 2001-08-13 Juergen Vigna <jug@sad.it>
14200 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14202 (SearchBackward): comment out the unlocking of the inset_owner this
14203 should not be needed!
14205 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14207 * Many files: Remove inherit_language, and add latex_language
14209 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14210 collapsible insets.
14212 2001-08-10 Juergen Vigna <jug@sad.it>
14214 * text.C (prepareToPrint): fixed hfill-width in draw!
14216 * BufferView2.C (selectLastWord): save the selection cursor as this
14217 now is cleared in the function LyXText::clearSelection!
14219 2001-08-08 Juergen Vigna <jug@sad.it>
14221 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14222 BACKSPACE type functions.
14224 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14225 is only cutted from the document but not put in the cut-buffer, where
14226 still the old stuff should be.
14228 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14230 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14232 * tabular.C (SetWidthOfCell): fixed special case where the width
14234 (LeftLine): handle '|' in align_special.
14236 (LeftAlreadyDrawed): ditto
14237 (SetWidthOfCell): ditto
14239 2001-08-07 Juergen Vigna <jug@sad.it>
14241 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14243 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14246 * lyxlex.[hC]: ditto
14248 2001-08-06 Juergen Vigna <jug@sad.it>
14250 * text.C (getVisibleRow): fix up row clearing a bit.
14252 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * minibuffer.C: make sure the X server sees the changes in the input.
14256 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * paragraph.C (getFont): split into...
14259 (getLabelFont): this
14260 (getLayoutFont): and this
14261 * paragraph_pimpl.C (realizeFont): calling this
14263 * text2.C (getFont): split into...
14264 (getLayoutFont): this
14265 (getLabelFont): and this
14266 (realizeFont): all three calling this
14268 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14271 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14273 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14275 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14277 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14278 layouts from the Quote inset insertion.
14280 2001-08-03 Juergen Vigna <jug@sad.it>
14282 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14284 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14285 only if status not is already CHANGED_IN_DRAW (second level).
14287 * text.C (draw): don't set the need_break_row when inside an
14290 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14292 * buffer.C (parseSingleLyXformat2Token): handle more latex
14295 * bufferview_funcs.[hC]: change function names to
14296 begin with small char, adjust other files.
14298 2001-08-02 André Pönitz <poenitz@gmx.net>
14301 BufferView_pimpl.C: remove broken special code for math-greek
14303 2001-08-02 Juergen Vigna <jug@sad.it>
14305 * BufferView_pimpl.C (update): redone this function so that we
14306 update the text again if there was a CHANGE_IN_DRAW.
14308 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14309 (drawFromTo): added a new internal bool which is used by draw() and
14311 (general): some cursor drawing problems fixed.
14313 2001-08-01 Juergen Vigna <jug@sad.it>
14315 * lyxfind.C (LyXFind): fixed
14316 (SearchForward): ditto
14317 (SearchBackward): ditto
14319 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14320 spurius drawing of the cursor in the main area.
14322 * text2.C (status): small fix which could lead to a segfault!
14323 (clearSelection): remove unneeded BufferView param.
14325 2001-08-01 André Pönitz <poenitz@gmx.net>
14327 * lyxfunc.C: small change due to changed mathed interface
14329 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14333 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14335 * lyxfunc.c: fail gracefully if file doesn't exist
14340 * BufferView_pimpl.C: IsDirWriteable() proto changed
14342 * LyXView.C: fix updateWindowTitle() to store the last title
14344 2001-07-31 Juergen Vigna <jug@sad.it>
14346 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14347 the font (wrong since using of Paragraph::highestFontInRange).
14349 * paragraph.C (highestFontInRange): added a default_size parameter.
14351 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14352 (setHeightOfRow): reformat
14354 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * converter.[hC] + affected files: move to (inital-char)lowercase
14359 * ParagraphParameters.C (ParagraphParameters): remove commented code
14361 * PainterBase.[Ch]: remove commented code
14363 * LaTeXFeatures.h: add "bool floats" for float.sty
14365 * LaTeXFeatures.C (LaTeXFeatures): init floats
14366 (require): handle float
14367 (getPackages): do it with floats
14369 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * BufferView_pimpl.C (Dispatch): improve handling of
14372 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14374 * commandtags.h: #include lyxfont.h here temporarily to avoid
14377 * bufferlist.h: include LString.h here.
14379 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * text2.C (getStringToIndex): new method.
14383 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14385 * *: Reduced header file dependencies all over.
14387 2001-07-30 Baruch Even <baruch@lyx.org>
14389 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14391 2001-07-29 Baruch Even <baruch@lyx.org>
14393 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14395 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14397 * ParameterStruct.h (endif): add a default constructor to make
14398 sure that all variables is initialized.
14400 * ParagraphParameters.C (ParagraphParameters): adjust
14402 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14405 index; also, check that there is something to index, and that it
14406 does not span over several paragraphs.
14407 (doubleClick): use WHOLE_WORD_STRICT for double click.
14409 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14411 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14414 2001-07-26 Baruch Even <baruch@lyx.org>
14416 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14417 an InsetFig figure, backwards compatible reading of old figure code.
14419 2001-07-27 Juergen Vigna <jug@sad.it>
14421 * text2.C: font.realize function adaption.
14423 * text.C (draw): add a warnings lyxerr text if needed.
14425 * layout.C: font.realize function adaption.
14427 * language.C: add inherit_language and implement it's handlings
14429 * bufferview_funcs.C (StyleReset): remove language parameter from
14430 font creation (should be language_inherit now).
14432 * bufferparams.C (writeFile): handle ignore_language.
14434 * paragraph.C (getFontSettings): the language has to be resolved
14435 otherwise we have problems in LyXFont!
14437 * lyxfont.C (lyxWriteChanges): added document_language parameter
14438 (update): removed unneeded language parameter
14440 * paragraph.C (validate): fixed wrong output of color-package when
14441 using interface colors for certain fonts in certain environments,
14442 which should not seen as that on the final output.
14444 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14446 * BufferView_pimpl.C:
14451 * LyXAction.C: add thesaurus support
14454 * lyxfind.C: add "once" parameter, for thesaurus, to not
14455 move to the next match
14457 2001-07-26 Juergen Vigna <jug@sad.it>
14459 * lyxfont.C (realize): honor ignore_language too!
14462 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14464 * text.C (draw): one place more for ignore_language to not draw
14467 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14469 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14471 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14473 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14474 the minipage conversion problem.
14476 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14478 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14481 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * BufferView.h: don't forward declare WorkArea
14485 * BufferView.C: don't include WorkArea.h
14487 2001-07-25 André Pönitz <poenitz@gmx.net>
14491 * lyxfunc.C: new LFUN 'math-space'
14493 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14495 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14497 * text2.C (toggleInset): call open/close
14499 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14501 * lyxfunc.C (dispatch): add debug for the disabled case
14503 * font.C (buttonText): make similar to rectText
14505 * buffer.C (readInset): comment out parsing of insetlist and
14508 * PainterBase.C (rectText): small correction
14510 * BufferView_pimpl.C: comment out insettheorem and insetlist
14511 * LyXAction.C: ditto
14512 * commandtags.h: ditto
14514 2001-07-24 Juergen Vigna <jug@sad.it>
14516 * text.C (draw): honor the ignore_language.
14518 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14520 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14525 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14527 * lyxtext.h: remove unused (and unimplemented) methods
14529 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14531 * text.C (getVisibleRow): honor background color
14534 * Painter.h: remove default color argument for fillRectangle
14536 * text.C (backgroundColor): new method
14538 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * text.C (getVisibleRow): adjust
14542 * font.[Ch] (rectText): new method, metrics
14543 (buttonText): new method, metrics
14545 * PainterBase.[hC]: make rectText and buttonText always draw and take
14548 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14550 * ToolbarDefaults.C (read):
14551 * MenuBackend.C (read): allow escaping in all strings
14553 * BufferView_pimpl.C (insertAndEditInset): new method.
14554 (Dispatch): use insertAndEditInset whenever appropriate.
14556 * BufferView_pimpl.C (insertNote): removed
14558 * BufferView_pimpl.C (smartQuote): new method, moved from
14559 BufferView; if an insetquote cannot be inserted, insert a '"'
14562 * BufferView2.C: remove insertCorrectQuote();
14564 * lyxfunc.C (getStatus): Add support for all remaingin
14565 inset-insert lfuns.
14567 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14569 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14570 command (necessary to pass " as parameter of self-insert.
14572 * text.C (selectWordWhenUnderCursor):
14573 (selectWord): add word_location parameter
14574 (selectWordWhenUnderCursor): same + remove special code for word
14576 (selectNextWord): use kind() to guess type of insetspecialchar,
14579 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14580 (insertErtContents): create ert insets as collapsed.
14581 (readInset): better compatibility code for Info inset.
14583 2001-07-20 Juergen Vigna <jug@sad.it>
14585 * lyxfunc.C (dispatch): use always LyXFind now!
14587 * text2.C (init): add a reinit flag so that the LyXText can be
14588 reinited instead of deleted and reallocated (used in InsetText).
14590 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14596 2001-07-18 Juergen Vigna <jug@sad.it>
14598 * text.C (selectNextWord): handle insets inside inset by calling
14599 always the bv->text functions so that we can go up the_locking_inset!
14601 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14602 in strange locations when inside an inset!
14604 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14605 handling to include insets.
14607 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14609 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14611 * LyXAction.C (init):
14613 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14614 LIGATURE_BREAK, since the name is so stupid.
14616 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14618 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14621 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14623 * sp_form.[Ch]: remove.
14625 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14627 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14630 * src/buffer.C (readInset): ditto.
14632 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14634 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14635 menuSeparator(), endOfSentenceDot(), ldots() and
14636 hyphenationPoint(), which are therefore removed.
14637 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14639 * LyXAction.C (init):
14640 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14642 * paragraph.C (getWord): removed.
14644 * BufferView_pimpl.C (Dispatch): use last word or selection for
14645 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14647 * lyx_main.C (queryUserLyXDir): do not ask before creating
14648 user_dir, except if it has been named explicitely.
14650 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14652 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14653 a document of zero size.
14655 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14657 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14658 approriately in the c-tor and in require().
14659 (getPackages): output the appropriate LaTeX for natbib support.
14661 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14662 variables "use_natbib" and "use_numerical_citations" when reading the
14664 (readInset): read the various natbib cite commands.
14665 (validate): white-space change.
14667 * bufferparams.[Ch]: new variables "bool use_natbib" and
14668 "bool use_numerical_citations".
14669 (writeFile): output them in the LyX file.
14671 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14673 * lyxfunc.C (getStatus): add support for all the inset insertion
14676 * text2.C (insertInset):
14677 * paragraph.C (insetAllowed):
14678 * BufferView_pimpl.C (insertInset): update to take in account the
14679 renaming of insertInsetAllowed
14681 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14683 * text2.C (getInset): new method. returns inset at cursor position.
14685 * BufferView_pimpl.C (Dispatch): changes because of this.
14687 * LyXAction.C (init): rename open-stuff to inset-toggle.
14689 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14691 * text2.C (toggleInset): renamed from openStuff; use
14694 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14696 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14698 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14700 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14702 * buffer.C (readLyXformat2): Add filename to the error dialog
14704 2001-07-18 Juergen Vigna <jug@sad.it>
14706 * tabular.C (GetCellNumber): put an assert here instead of the check!
14708 2001-07-17 Juergen Vigna <jug@sad.it>
14710 * BufferView_pimpl.C (toggleSelection): adapted too.
14712 * text.C (selectNextWord): adapted for use with insets.
14713 (selectSelectedWord): ditto
14715 2001-07-17 Juergen Vigna <jug@sad.it>
14717 * sp_spell.C (PSpell): fix initialitation order.
14719 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * paragraph.C: spacing
14723 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14725 * sp_spell.C: repair language selection for pspell
14727 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * lyxfunc.h: change more methods to begin with lower char.
14731 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14733 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14734 for unknown layouts.
14736 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14738 * buffer.C (readLyXformat2): Generate an error dialog if there are
14741 2001-07-16 Juergen Vigna <jug@sad.it>
14743 * sp_spell.C: always compile ISpell part.
14745 * lyxrc.C: added use_pspell entry and it's handling.
14747 2001-07-13 Juergen Vigna <jug@sad.it>
14749 * sp_spell.C: removed double includes.
14751 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14753 Consistent use of Lsstream.h:
14754 * Lsstream.h: added using std::stringstream for consistencies sake.
14756 * buffer.C: removed using std::stringstream
14758 * lyxfont.C (stateText):
14759 * paragraph.C (asString):
14760 * text.C (selectNextWord, selectSelectedWord):
14761 * text2.C (setCounter):
14762 * vspace.C (asString, asLatexString):
14763 std::ostringstream -> ostringstream.
14765 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14767 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14768 * commandtags.h: add LFUN_HELP_ABOUTLYX
14769 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14771 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14773 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14775 * lyx_gui_misc.C: remove spellchecker
14776 * lyxfunc.C: showSpellchecker
14778 * sp_ispell.h: added
14779 * sp_pspell.h: added
14780 * sp_spell.C: added
14781 * sp_form.[Ch]: removed
14782 * spellchecker.[Ch]: removed
14784 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14786 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14788 (simpleTeXSpecialChars): Simply print the input character without
14789 any special translation if pass_thru is set.
14791 * layout.h: Added bool pass_thru to layout class for being able to
14792 implement pass through of a paragraph for Literate Programming.
14794 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14795 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14796 * layout.C (Read): add "passthru" to list of layout tags and add
14797 code to set the pass_thru boolean when it is read.
14799 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14801 * trans_decl.h: remove allowed from KmodInfo
14803 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14804 remove allowed code
14807 * paragraph_pimpl.C (erase): use boost::prior
14809 * Painter.C (text): use data() instead of c_str() when length is
14811 * WorkArea.C (putClipboard): ditto
14812 * font.h (width): ditto
14814 * BufferView2.C: use it-> instead of (*it). for iterators
14816 * paragraph_pimpl.C: ditto
14817 * paragraph.C: ditto
14818 * minibuffer.C: ditto
14819 * language.C: ditto
14821 * encoding.C: ditto
14822 * counters.C: ditto
14823 * converter.C: ditto
14825 * Variables.C: ditto
14826 * TextCache.C: ditto
14827 * MenuBackend.C: ditto
14828 * LyXAction.C: ditto
14830 * FloatList.C: ditto
14831 * DepTable.C: ditto
14832 * ColorHandler.C (LyXColorHandler): ditto
14834 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14838 * text2.C (openStuff): reintroduce this method (which had been
14839 nuked in NEW_INSETS frenzy).
14841 * lyxfunc.C (Dispatch): when an action has not been handled, use
14842 its name in the error message, not its number.
14844 * paragraph.C (inInset): change method name to begin with lowercase.
14847 * text2.C: updates because of this.
14849 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * ToolbarDefaults.C (add): add spaces in error message
14853 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14856 (readLyXformat2): rename return_par to first_par, use lyxlex's
14857 pushToken and remove the manual push handling.
14858 (parseSingleLyXformat2Token): add another ert comp. variable:
14859 in_tabular, rename return_par to first_par. handle newlines better
14861 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14865 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14867 * text2.C (getParFromID): removed
14869 * buffer.C (getParFromID): new method moved form lyxtext.
14870 * BufferView2.C (insertErrors): adjust
14871 (setCursorFromRow): adjust
14872 * BufferView_pimpl.C (restorePosition): adjust
14873 * lyxfunc.C (Dispatch): adjust
14874 * undo_funcs.C (textUndo): adjust
14876 (textHandleUndo): adjust
14877 (textHandleUndo): adjust
14879 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14881 * buffer.C: up' the LYX_FORMAT
14883 * lyxfont.h: turn NO_LATEX on as default
14885 * buffer.C (insertErtContents): new methods of tex style compability.
14886 (parseSingleLyXformat2Token): use it several places.
14887 * tabular.C (OldFormatRead): and here
14889 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14891 * text2.C: remove some commented code.
14894 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14895 * trans.C: changes because of the above.
14897 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14899 * text2.C (setCounter): Fix counters bug with bibliography layout.
14901 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14904 own member functions
14905 (simpleTeXSpecialChars): ditto
14907 2001-07-06 Juergen Vigna <jug@sad.it>
14909 * a lot of files: changed the access to LyXText::status and the
14910 call of undo-functions.
14912 * undo.[Ch]: added a inset_id to the undo informations.
14914 * undo_funcs.[Ch]: added and moved here all undo functions.
14916 * lyxtext.h: give the status enum a weight, made status_ a private
14917 variable and made accessor functions for it, removed the whole bunch
14918 of undo-functions as they are now in their own file, make some
14919 functions publically available. Added function ownerParagraph with
14922 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14923 made InInset() a const function, added getParFromID() function.
14925 * buffer.[Ch]: added const version for inset_iterator functions,
14926 added getInsetFromID() function.
14928 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14929 changed undo functions for new version.
14931 2001-07-05 Juergen Vigna <jug@sad.it>
14933 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14934 unknow mechanism does not call the proper constructor but only this
14935 one also if I request the other!?
14937 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14941 * text2.C (LyXText): use initialization lists.
14943 * lyxtext.h (Selection): initialize set_ and mark_
14944 (init): remove method
14946 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14948 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14950 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * screen.[Ch]: change method names to begin with lowercase
14954 * BufferView_pimpl.C (updateScrollbar): simplify further and
14955 hopefully make it a bit faster.
14957 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14959 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14960 calling directly xforms functions.
14962 * Painter.C (Painter):
14963 * lyx_cb.C (MenuWrite):
14964 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14967 * lyx_gui.C: remove bogus guiruntime extern declaration.
14969 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14971 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14973 (redoDrawingOfParagraph): ditto
14974 (redoParagraphs): ditto
14975 (cutSelection): don't create a object for CutAndPaste use the
14976 static method directly
14977 (pasteSelection): ditto
14979 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14982 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14984 * modifications to some other files because of this.
14986 * Makefile.am (lyx_SOURCES): add XFormsView
14988 * XFormsView.[Ch]: new files
14990 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14991 the main window. Move the gui dependent stuff to XFormsView
14993 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * tabular.C (GetCellInset): update cur_cell also in the row/col
14996 version of this function.
14998 * lyxfunc.C: no need to include figure_form.h here.
15004 * lyxvc.C: no need to include forms.h here.
15006 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15010 * lyxfunc.C (Dispatch):
15012 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15013 constructor argument.
15015 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15017 * paragraph.C (Paragraph): dont't clear, and just set layout.
15018 (makeSameLayout): use params's copy contructor.
15020 * ParagraphParameters.[Ch] (makeSame): delete method
15022 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15024 * Variables.[Ch]: fix indentation, rename set to isSet
15026 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * lyxfunc.C (Dispatch): fix typo
15030 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15035 * bufferlist.C: include assert.h for emergencyWrite().
15037 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15039 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15040 give up at last (bug #425202) !
15042 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15048 * spellchecker.C: strip spellchecker options and bring up
15049 preferences tab instead
15051 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15054 the istringstream constructor
15056 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * paragraph.C (getLayout): fix return value
15060 * paragraph.h: do not declare getLayout as inline.
15062 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15064 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15066 * lyxcursor.h (operator<): new func
15067 (operator>): new func
15068 (operator>=): new func
15069 (operator<=): new func
15071 * text.C (changeCase): use selection.start and selection.end
15072 (changeRegionCase): require from to be <= to. Require par to be a
15075 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15077 2001-06-27 Juergen Vigna <jug@sad.it>
15079 * text.C (cursorLeftOneWord): changed to return the cursor and added
15080 overlay with BufferView * parameter which calls this one.
15082 (selectWord): use new getWord function.
15083 (changeCase): renamed from changeWordCase as and extended to work
15084 also on selections.
15086 * lyxtext.h: added enum word_location
15088 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15089 changeCase as this operates now also on selections.
15091 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15093 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15095 * many files: send debug output to Debug::INFO instead of
15098 * converter.C (View):
15100 (Move): send debug output to Debug::FILES instead of console.
15102 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15104 * lyxfunc.C (getStatus): use func_status
15106 * func_status.h: new header, describing the results of
15107 LyXFunc::getStatus;
15109 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15112 2001-06-25 The LyX Project <jug@sad.it>
15114 * buffer.C (sgmlOpenTag):
15116 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15118 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15120 * text2.C: remove some dead code
15122 * tabular.C (GetCellInset): store the last cell checked (gotten)
15124 * tabular.h: add the helper for the speedup
15126 * lyxtext.h: remove some dead code
15128 2001-06-26 The LyX Project <Asger>
15130 * paragraph.C: Change export to LaTeX of alignment to
15131 \begin{center} and family for better roundtrip work with reLyX.
15133 * Tune the math drawing a bit.
15135 2001-06-25 The LyX Project <Asger>
15137 * LColor.C (LColor): New color for math background. New color
15140 2001-06-25 The LyX Project <jug@sad.it>
15142 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15144 * lyxfunc.C (Open):
15145 * bufferlist.C (newFile): do not restrict to files ending with
15148 * BufferView_pimpl.C (MenuInsertLyXFile):
15150 2001-06-24 The LyX Project <jug@sad.it>
15152 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15155 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * lyxtext.h: rename most methods to begin with a small char.
15158 Lots of changes because of this.
15160 * paragraph.C (Paragraph): do not call fitToSize
15161 (erase): call Pimpl::erase
15162 (insertChar): call Pimpl::insertChar
15163 (insertInset): call Pipl::insertInset
15164 (breakParagraph): do not call fitToSize
15165 (breakParagraphConservative): do not call fitToSize
15166 (fitToSize): remove method
15168 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15170 2001-06-24 The LyX Project <Asger>
15172 * Fix Qt compilation^2
15174 2001-06-24 The LyX Project <jug@sad.it>
15176 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15177 depthHook(getDepth()-1).
15180 * ParagraphParameters.h:
15181 * ParameterStruct.h: change type of depth to unsigned int ==
15182 depth_type. Many adaptations to other files before of that.
15184 2001-06-24 The LyX Project <Asger>
15186 * Fix Qt compilation.
15188 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15190 * paragraph.h: renamed several methods to begin with small letter.
15191 several changes to many parts of the code because of this.
15193 2001-06-23 The LyX Project <jug@sad.it>
15195 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15196 rewritten to discard all double spaces when KeepEmpty is off
15197 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15198 to only handle newlines but not fiddle with spaces and friends.
15200 * lyxfunc.C (MenuNew): when doing 'new from template', use
15201 template_path as default directory
15203 2001-06-23 The LyX Project <Asger>
15205 * Clean-up of header file includes all over
15206 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15208 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * paragraph.h: renamed from lyxparagraph.h
15212 2001-06-23 Asger <lyx@violet.home.sad.it>
15214 * Buffer.h: Removed Buffer::resize
15215 * BufferList.h: Removed BufferList::resize
15216 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15217 the document lazily when we change the width, or the font settings.
15219 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15221 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15223 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15225 * buffer.h: remove out of date comment
15227 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15230 * screen.C: fix "theoretical" GC leak
15232 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15234 * LaTeX.C (scanAuxFile):
15235 (deplog): remove trailing \r when reading stream (useful under
15238 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15240 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15241 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15242 and BufferView::theLockingInset(Inset*), so should use them and not
15243 access bv_->text->the_locking_inset directly.
15245 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15247 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15250 * tex-defs.h: remove old unused file
15252 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15254 * BufferView_pimpl.C: fix typo, remove minibuffer message
15255 when buffer has loaded
15257 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * lyxfunc.C (Dispatch): use stringstream
15260 (MenuNew): use stringstream
15261 (Open): use stringstream
15263 * importer.C (Import): use stringstream
15265 * bufferview_funcs.C (CurrentState): use stringstream
15267 * LaTeX.C (run): use stringstream
15269 * BufferView_pimpl.C (savePosition): use stringstream
15270 (restorePosition): use stringstream
15271 (MenuInsertLyXFile): use stringstream
15273 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15286 * vspace.C: removed // -*- C++ -*- as first line.
15289 * version.h: added // -*- C++ -*- as first line.
15291 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15295 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15298 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15300 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15303 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * gettext.C: include LString.h even when --disable-nls is on.
15307 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15309 * converter.h (Get): changed argument type from int to
15310 FormatList::size_type to avoid unnecessary conversion.
15312 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15315 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * gettext.h: include LString.h even when --disable-nls is on.
15319 2001-06-07 Juergen Vigna <jug@sad.it>
15321 * text.C (BreakAgain): subst spaces with tabs.
15323 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15324 (resizeInsetsLyXText): set force on resizeLyXText.
15326 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15328 * gettext.h (gettext_init):
15329 (locale_init): use a real definition instead of a macro
15331 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15333 * Bufferview_pimpl.C:
15335 * LColor.C: further lcolor tidies
15337 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15339 * BufferView_pimpl.C (updateScrollbar): simplify.
15341 * BufferView2.C: don't include insets/insetinfo.h, change
15342 prototype for insertInset and call the Pimpl version. let
15343 updateInset call Pimpl version.
15345 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15346 gotoInset to BufferView::Pimpl
15348 2001-06-01 Juergen Vigna <jug@sad.it>
15350 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15351 inside a LockingInset (is the update needed at all?).
15353 2001-05-31 Juergen Vigna <jug@sad.it>
15355 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15356 here not the old one otherwise how should we compare it afterwards
15359 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * FontInfo.C: bring C functions into global namespace when
15367 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * LString.h: make sure config.h has been loaded before LString.h.
15371 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15372 (one for each char read by EatLine!).
15374 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15377 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15379 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15380 to the same as the par we break from
15382 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15386 * MenuBackend.C (expand): also create menu entries for wide
15387 versions of the floats.
15389 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15391 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15393 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15394 frontends/Makefile.am
15400 * tabular.C (getTokenValue): add std::
15402 * tabular-old.C (getTokenValue): add std::
15403 (getTokenValue): ditto
15404 (getTokenValue): ditto
15406 * screen.C (ToggleSelection): adjust
15408 * lyxtext.h: put selection cursors inside a Selection struct.
15410 * lyxfunc.C (moveCursorUpdate): adjust
15412 * lyxfont.C (latexWriteStartChanges): add std::
15414 * lyxfind.C: adjust
15416 * font.h: delete with(char const *, LyXFont const &)
15418 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15420 * FontInfo.C (getFontname): add std::
15422 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15423 (workAreaButtonPress): adjust
15424 (tripleClick): adjust
15426 (moveCursorUpdate): adjust
15429 * BufferView2.C (gotoInset): adjust
15431 2001-05-30 Juergen Vigna <jug@sad.it>
15433 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15434 to check pspell I add this as default as I now have new pspell
15435 libraries and they seem to use this.
15437 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * text2.C (CutSelection): make the cursor valid before the call to
15442 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15444 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15445 relied on 0 terminated strings and other horrors. Bug found due to
15446 the new assert in lyxstring!
15448 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15451 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15453 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15456 * lyxfunc.C (processKeySym): change method of getting to the
15459 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15460 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15461 * BufferView_pimpl.[Ch]: here as private methods.
15463 2001-05-28 Juergen Vigna <jug@sad.it>
15465 * text.C (SetHeightOfRow): added the update() call again as it is
15466 needed to initialize inset dimensions!
15468 2001-05-16 Juergen Vigna <jug@sad.it>
15470 * text2.C (SetCharFont): Add new function with BufferView * and
15471 bool toggleall parameters for setting insets internal fonts.
15472 (SetFont): Freeze the undo as we may change fonts in Insets and
15473 all this change should be inside only one Undo!
15475 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15476 setting font's in insets as for them we have the SetFont function!
15478 2001-05-15 Juergen Vigna <jug@sad.it>
15480 * text2.C (ClearSelection): to be sure we REALLY don't have any
15483 * tabular.C (TeXCellPreamble): fixed the left border problem for
15486 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15488 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15491 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15493 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15494 LFUN_BREAKPARAGRAPH.
15496 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15497 help test to "internal only", similar for LFUN_INSERT_URL
15499 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15500 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15501 auto_region_delete and deadkeys.
15503 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15506 * LColor.C: remove some dead entries, tidy a little
15508 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15510 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15512 (Dispatch): implement LFUN_ESCAPE
15514 * commandtags.h: add LFUN_ESCAPE
15516 * LyXAction.C (init): add entry for LFUN_ESCAPE
15518 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15519 Remove commented code.
15520 (insertNote): moved here
15521 (open_new_inset): moved here
15523 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15526 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * kbmap.C (findbinding): clean it up and make it work correctly.
15530 * lyx_main.C (init): do not pass argc and argv as parameters
15532 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15534 * buffer.C: fix path for OS/2 & Win32
15538 * lyx_main.C: Added os:: class.
15540 * os2_defines.h: update
15542 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15545 better by trying again with reduced state.
15547 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * lyxrc.C (read): print error about invalid key sequence only when
15550 debugging (because not all latinX keysyms are known to some X
15553 * kbsequence.C (getiso): add a few std:: qualifiers
15554 (getiso): comment out extra return statement.
15556 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15558 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15560 (Dispatch): enhance the accent inset a bit. (not perfect)
15562 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15566 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15568 * bufferlist.C (emergencyWrite): fix assert() call
15570 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15572 * text.C (InsertChar): Added trivial patch to only send the "you
15573 can not do multiple spaces this way" message once during a
15576 2001-05-08 Baruch Even <baruch@lyx.org>
15578 * Makefile.am: Changed order of libraries to get LyX to link properly
15579 with the gnome frontend.
15581 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * LaTeXFeatures.h: add a std:: qualifier
15585 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15587 * paragraph.C (String): use stringstream
15589 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * paragraph.C (writeFile): remove footflag arg
15593 * buffer.C (makeLaTeXFile): use stringstream
15594 (latexParagraphs): remove footnot gurba
15596 * LaTeXFeatures.C (getPackages): use stringstream
15597 (getMacros): likewise
15598 (getTClassPreamble): likewise
15599 (getFloatDefinitions): new method
15601 * paragraph.C (writeFile): reindent
15604 * WorkArea.h: revert the xpos + etc changes.
15606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15608 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15610 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15611 (pasteSelection): likewise
15612 * text2.C (CreateUndo): likewise
15614 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15616 * minibuffer.C (peek_event): temporarily reduce the functionality
15617 of the minibuffer (to allow args on lfuns)
15619 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15620 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15622 * buffer.C (readInset): add compability reading of old float
15623 lists, add reading of new style float list.
15624 (readInset): avoid reevaluation of inscmd.getCmdName()
15625 (getLists): reindent
15627 * MenuBackend.C (MenuItem): implement parsing of
15628 md_floatlistinsert and md_floatinsert.
15629 (expand::LastFiles): move initalizaton of iterators out of loop,
15630 avoid reevaluation.
15631 (expand::Documents): introduce typdedef vector<string> Strings,
15633 (expand::ExportFormats): introduce typedef vector<Format const *>
15634 Formats, and use it.
15635 (expand): implement FloatListInsert and FloatInsert.
15637 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15638 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15639 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15641 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15643 (Dispatch::LFUN_FLOAT_LIST): implement
15645 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15647 * LaTeX.C (run): Fix problem with --export code.
15649 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15651 * BufferView.[Ch] (workarea): removed.
15652 (getClipboard) new method; wrapper for workarea()->getClipboard()
15654 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15657 * WorkArea.h (width, height, xpos, ypos): These methods all
15658 returned the dimensions of the work_area sub-area of WorkArea,
15659 resulting in a position error if the WorkArea were resized. Now
15660 return the dimensions of the entire WorkArea.
15662 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15664 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * LaTeX.C (deplog): correct the syntax of regex reg1
15668 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15670 * undo.C: remove !NEW_INSETS cruft
15672 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15674 * text2.C: remove !NEW_INSETS cruft
15676 * text.C: remove !NEW_INSETS cruft
15678 * tabular.C: remove !NEW_INSETS cruft
15680 * spellchecker.C: remove !NEW_INSETS cruft
15682 * lyxtext.h: remove !NEW_INSETS cruft
15684 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15686 * lyxfunc.C: remove !NEW_INSETS cruft
15688 * lyxfind.C: remove !NEW_INSETS cruft
15690 * lyx_cb.C: remove !NEW_INSETS cruft
15692 * figureForm.C: remove !NEW_INSETS cruft
15694 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15696 * buffer.[Ch]: remove !NEW_INSETS cruft
15698 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15700 * CutAndPaste.C: remove !NEW_INSETS cruft
15702 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15704 * BufferView2.C: remove !NEW_INSETS cruft
15706 * BufferView.h: remove !NEW_INSETS cruft
15708 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * Lsstream.h: include LString.h before the sstream headers to
15711 fix problem with gcc 2.95.3 and lyxstring
15713 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * lyx_main.C: add using directives when needed for C functions
15716 declared in std:: namespace.
15718 2001-04-27 Juergen Vigna <jug@sad.it>
15720 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15721 (SetHeightOfRow): comment out the update call should not be needed!
15723 2001-04-13 Juergen Vigna <jug@sad.it>
15725 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15726 (LyXTabular): tried to minimize operator= operations (and realized
15727 hopfully Lars wish).
15729 2001-04-27 Juergen Vigna <jug@sad.it>
15731 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15733 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15737 * buffer.C (readInset): hack to make listof algorithm work
15739 * BufferView_pimpl.C: hack to make listof algorithm work
15741 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * LyXAction.C: removed all !NEW_INSETS cruft
15744 (init): moved lfun_item in method
15746 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15748 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15750 * BufferView2.C (theLockingInset): white space.
15752 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15754 * minibuffer.C: include <iostream>
15756 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15758 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15760 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15762 * text.[Ch] (TransposeChars): new method
15764 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15766 * call message directly through LyXView instead of through LyXFunc
15767 * BufferView2.C: adjust
15768 * BufferView_pimpl.C: adjust
15769 * FontLoader.C: adjust
15771 * bufferview_funcs.C: adjust
15772 * converter.C: adjust
15773 * figureForm.C: adjust
15774 * importer.C: adjust
15776 * lyx_gui_misc.C: adjust
15777 * lyxfunc.C: adjust
15780 + more files in subdirs
15782 * lyxparagraph.h (size): move up int file
15785 * adjust all uses of Assert to lyx::Assert.
15787 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15788 lyxfunctional in namespace lyx
15789 * layout.C (hasLayout): ditto
15792 (delete_layout): ditto
15793 (NumberOfClass): ditto
15794 * converter.C (GetFormat): ditto
15799 * bufferlist.C (getFileNames): ditto
15800 (emergencyWriteAll): ditto
15803 * MenuBackend.C (hasSubmenu): ditto
15806 * BufferView_pimpl.C (getInsetByCode): ditto
15808 2001-04-18 Juergen Vigna <jug@sad.it>
15810 * vspace.C (asLatexString): fixed the 100% problem.
15812 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15814 * lyxfunc.C (Dispatch):
15816 * minibuffer.h: add a few std:: qualifiers
15818 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15820 * minibuffer.[Ch]: reimplement so that commands is initiated and
15821 run from lyxfunc, simplified som handling, and made the completion
15822 and history code for complete. wip.
15824 * lyxfunc.C (processKeySym): call message
15825 (miniDispatch): new temporary method
15826 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15827 (LFUN_MESSAGE): implement
15828 (LFUN_MESSAGE_PUSH): implement
15829 (LFUN_MESSAGE_POP): implement
15830 (initMiniBuffer): the initial/defualt minibuffer message.
15832 * lyxfont.[Ch]: inline some more getters
15834 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15836 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15838 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15839 (AutoSave): use LFUN_MESSAGE
15840 (Reconfigure): ditto
15842 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15844 * figureForm.C: use LFUN_MESSAGE
15846 * converter.C (runLaTeX): use LFUN_MESSAGE
15848 * bufferview_funcs.C: use LFUN_MESSAGE
15850 (changeDepth): ditto
15852 * bufferparams.h: use boost::
15854 * bufferlist.h: inherit privately from noncopyable
15856 * bufferlist.C (loadLyXFile): remove some commented code.
15858 * buffer.C (runChktex): use LFUN_MESSAGE
15860 * ShareContainer.h: inherit privately from noncopyable
15862 * ParagraphParameters.[hC] (depth): inline it.
15864 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15866 (message): new method
15867 (messagePush): ditto
15868 (messagePop): ditto
15869 (show): init minibuffer
15870 (showState): direct call
15872 * LaTeX.[Ch]: inherit privately from noncopyable
15873 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15874 instead of WriteStatus.
15876 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15878 * BufferView_pimpl.C (buffer): don't init minibuffer
15879 (workAreaButtonPress): use LFUN_MESSAGE
15880 (workAreaButtonRelease): ditto
15881 (savePosition): ditto
15882 (restorePosition): ditto
15883 (MenuInsertLyXFile): ditto
15884 (workAreaExpose): don't init minibuffer
15885 (update): remove commented code, simplify
15887 * BufferView2.C (openStuff): use LFUN_MESSAGE
15888 (toggleFloat): ditto
15891 (copyEnvironment): ditto
15892 (pasteEnvironment): ditto
15897 (updateInset): remove some commented code
15899 * lastfiles.h: inherit privately from noncopyable
15902 * lyx_main.h: ditto
15904 * lyxlex_pimpl.h: ditto
15906 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15907 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15908 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15910 * LyXAction.h: inherit privately from noncopyable, add methods
15911 func_begin, func_end, returning iterators to the func map.
15913 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15914 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15915 (func_begin): new method
15916 (func_end): new method
15918 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15920 (copySelection): ditto
15921 (pasteSelection): ditto
15923 * BufferView.C: whitespace change
15924 * BufferView.h: inherit privately from noncopyable
15926 2001-04-16 Allan Rae <rae@lyx.org>
15928 * tabular-old.C (l_getline):
15929 * spellchecker.C (sc_check_word):
15930 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15931 an unrecognised preprocessor directive. So ensure they're wrapped.
15933 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15935 * src/exporter.C (Export): Give an error message when path to file
15938 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15940 * LaTeX.C (deplog): Always check that foundfile exists.
15942 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15945 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15947 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15949 * tabular.[Ch] (getLabelList): implement new method
15951 * minibuffer.h: comment ouf setTiimer
15953 * minibuffer.C (ExecutingCB): constify res
15954 (peek_event): constify s
15955 (Set): constify ntext
15956 (Init): constify nicename
15958 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15960 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15961 (savePosition): use two params to Minibuffer::Set
15962 (restorePosition): ditto
15964 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15966 * lyx_main.C: include language.h
15968 * Makefile.am (lyx_main.o): add language.h
15970 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15976 * CutAndPaste.C: include gettext.h
15978 * lyxfont.h: remove old hack with ON and OFF.
15981 * lyxfont.h: do not include language.h...
15986 * bufferview_funcs.C:
15992 * paragraph.C: ... but do it here instead
15994 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15996 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15998 * tabular.C: small reformat
16000 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16003 (BreakParagraph): ditto
16004 (SetOnlyLayout): ditto
16007 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16010 * lastfiles.C: removed most using decl, add std:: where needed
16012 * buffer.C: ws changes
16014 * MenuBackend.C (class compare_format): put into anon namespace
16015 (expand): constify label, names, action, action2
16018 * text.C (SingleWidth): constify font
16019 (IsBoundary): constify rtl2
16020 (GetVisibleRow): constify ww
16022 * LaTeX.C (deplog): constify logfile
16024 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16026 (workAreaExpose): constify widthChange, heightChange
16028 * lyxrow.C (par): moved
16031 * lyxrow.h: as inlines here
16033 * lyxfont.h (shape): moved from lyxfont.C
16034 (emph): moved from lyxfont.C
16036 * lyxfont.C (LyXFont): use initialization list for all
16038 (shape): move to lyxfont.h as inline
16039 (emph): move to lyxfont.h as inline
16042 2001-04-04 Juergen Vigna <jug@sad.it>
16044 * vspace.C: had to include stdio.h for use of sscanf
16046 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16049 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16050 independent of xforms.
16052 2001-04-02 Juergen Vigna <jug@sad.it>
16054 * spellchecker.C: fixed namespace placing!
16056 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16058 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16059 the LyXParagraph * is 0.
16061 2001-03-29 Juergen Vigna <jug@sad.it>
16063 * vspace.C: added support for %, c%, p%, l%.
16064 (stringFromUnit): added helper function.
16065 (asLatexString): changed to give right results for the %-values.
16067 * buffer.C: convert the widthp in a width%.
16069 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16071 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16074 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16075 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16077 * lyx_cb.[Ch]: see above.
16079 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16083 * lyx.[Ch]: replaced by figure_form.[Ch].
16087 * lyxfunc.C: changed headers associated with above changes.
16089 2001-03-27 Juergen Vigna <jug@sad.it>
16091 * BufferView_pimpl.C: set the temporary cursor right!
16093 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16095 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16097 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16099 * LString.h: removed "using std::getline"!
16101 * BufferView_pimpl.C (Dispatch): changes due to changes in
16102 InsetInclude::Params.
16104 * buffer.C (tag_name): removed redundant break statements as they were
16105 producing lots of warnings with my compiler.
16107 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16109 * LString.h: add "using std::getline" when using the real <string>.
16111 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16113 * buffer.C: removed bitset usage.
16114 PAR_TAG moved to an anonymous name space.
16115 (tag_name): new funtion, also in the anonymous namespace.
16116 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16117 (makeDocBookFile): clean code. Completed transition from string arrays
16119 (SimpleDocBookOnePar): code clean.
16121 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16123 * tabular.C: add some comments.
16125 2001-03-22 Juergen Vigna <jug@sad.it>
16127 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16128 compatibility read a bit and fixed bug with minipage in different
16131 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16133 * buffer.C (pop_tag): removed.
16134 (push_tag): removed.
16135 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16136 array replaced with vector. Added support for CDATA sections.
16137 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16139 (makeDocBookFile): XML conformant declaration of CDATA section,
16140 fixed bug related to <emphasis> in the first paragraph char.
16141 (sgmlOpenTag): exclude empty tags.
16142 (sgmlCloseTag): ditto.
16144 * buffer.h (pop_tag): removed.
16145 (push_tag): removed.
16147 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16149 * language.h (Languages): added size_type and size().
16151 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16153 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16154 response on compability reading of minipages. One probliem is that
16155 the old usage of minipages was «flertydig»
16157 * several files here and in subdirs: don't use static at file
16158 scope use anon namespaces instead.
16160 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16162 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16163 LaTeX output. This is necessary for Literate document
16166 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16168 * buffer.C: insert hfill when needed.
16170 * tabular.C (l_getline): use string::erase, small whitespace change.
16172 * BufferView_pimpl.C: try the anon namespace.
16173 * WorkArea.C: ditto
16175 2001-03-16 Juergen Vigna <jug@sad.it>
16177 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16178 otherwise it won't open options-dialogs.
16180 * buffer.C: honor pextraWidth(p) on converting minipages.
16182 * tabular.C (l_getline): changed the functions to strip trailing \r.
16184 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16186 * BufferView_pimpl.C:
16187 * minibuffer..C: added "using SigC::slot" declaration.
16189 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16191 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16197 * paragraph.C: ditto
16199 * lyxtext.h: NO_PEXTRA
16201 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16203 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16204 * ParameterStruct.h: ditto
16205 * ParagraphParameters.h: ditto
16206 * lyxparagraph.h: ditto
16208 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16210 * buffer.C: add compability for minipage alignment.
16211 (latexParagraphs): remove unwanted pextra check.
16213 * several files: remove CXX_WORKING_NAMESPACES
16215 * buffer.C (pop_tag): tie is in namespace boost
16217 * BufferView.h: noncopyable is in namespace boost
16219 * lyx_main.h: ditto
16222 * lastfiles.h: ditto
16223 * bufferlist.h: ditto
16224 * ShareContainer.h: ditto
16226 * LyXAction.h: ditto
16229 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16231 * Merging changes from BRANCH_MVC back into HEAD.
16233 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16235 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16237 * BufferView_pimpl.C: change from intl.C
16241 * Makefile.am: move combox.*
16247 * intl.C: remove dialog (covered by prefs)
16249 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16251 * lyxfunc.C (Dispatch): removed redundant break statement.
16253 2001-03-14 Juergen Vigna <jug@sad.it>
16255 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16257 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16259 * buffer.C: add hack to fix compability reading of minipages.
16261 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16263 * buffer.C (getLists): Cleanup.
16265 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16267 * lyxfont.C (update): don't honor toggleall on font size.
16269 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16273 * Makefile.am: moved to frontends/xforms/
16277 * BufferView_pimpl.C: changes for moved mathpanel
16279 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16281 * gettext.h: fix gettext_init() in --disable-nls
16283 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16287 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16290 * lyx.h: strip external form
16292 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16294 * BufferView_pimpl.C: add comment, destroySplash()
16296 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16298 * BufferView_pimpl.C:
16302 * lyxfunc.C: use re-worked insetinclude
16304 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16306 * buffer.C: add using std::stringstream.
16308 * lyx_cb.C: readd using std::ios.
16310 * buffer.C: add using std::map.
16312 * BufferView_pimpl.C: add using std::vector.
16314 * ShareContainer.h: add std:: to swap.
16316 * buffer.h: add some typedefs
16317 * buffer.C (getLists): use them
16318 (getLists): renamed from getTocList.
16319 add a counter for the different float types and use it in the
16321 (getLists): use the same counter for the NEW_INSETS and the "non"
16324 * lyx_cb.h: remove unused items, includes, using etc.
16326 * ShareContainer.h: remove some commented code, add more comments
16327 and "documentation".
16329 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16331 * buffer.C (getTocList): make the list also when NEW_INSETS is
16334 * buffer.h: remove TocType
16336 * buffer.C (getTocList): change to return a map<string,
16337 vector<TocItem> >, implement for dynamic number of list.
16339 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16340 * text2.C (PasteSelection): adjust
16341 * CutAndPaste.C (pasteSelection): adjust
16343 * FloatList.C (FloatList): update from the new_insets branch.
16344 * Floating.[Ch]: ditto
16345 * LaTeXFeatures.C: ditto
16347 * lyxlex_pimpl.C: ditto
16349 * paragraph.C (Last): remove when NEW_INSETS is defined.
16351 * other file: changes because of the above.
16353 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16355 * lyxparagraph.h: rename next to next_, previous to previous_,
16356 make them private for NEW_INSETS. Rename Next() to next(),
16357 Previous() to previous().
16359 * other files: changes because of the above.
16361 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16364 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16367 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * main.C (main): pass lyx_localedir to gettext_init().
16371 * gettext.h: remove locale_init and gettext_init macros
16373 * gettext.C (locale_init): new function
16374 (gettext_init): new function
16376 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16379 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16381 * Moved credits to frontends:
16382 * credits.[Ch]: removed
16383 * credits_form.[Ch]: removed
16384 * lyx_gui_misc.C: remove credits stuff
16387 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16389 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16391 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16392 unneeded destructor.
16394 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16395 a standalone pointer again.
16397 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16399 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16405 * ToolbarDefaults.C:
16414 * BufferView_pimpl.C: use new file dialog in GUII
16417 * lyx_cb.C: remove LayoutsCB to Toolbar
16419 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16421 * ShareContainer.h (get): add std:: qualifier
16423 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16425 * ShareContainer.h: define a proper ShareContainer::value_type
16426 type (and use typename to please compaq cxx)
16428 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16430 * lyxparagraph.h: move serveral local vars to
16431 ParameterStruct/ParagraphParameters., use ShareContainer in
16432 FontTable., make vars in FontTable private and add getter and
16435 * paragraph.C: changes because of the above.
16437 * lyxfont.h: remove copy constructor and copy assignment. (the
16438 default ones is ok), move number inside FontBits. move inlines to
16441 * lyxfont.C: add number to initializaton of statics, move several
16442 inlines here. constify several local vars. some whitespace
16443 cleanup. Dont hide outerscope variables.
16445 * Spacing.h: add two new constructors to match the set methods.
16447 * ShareContainer.h: new file, will perhaps be moved to support
16449 * ParameterStruct.h: new file
16451 * ParagraphParameters.h: new file
16453 * ParagraphParameters.C: new file
16455 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16456 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16458 * BufferView_pimpl.C: ParagraphParameter changes.
16459 * buffer.C: Likewise.
16460 * bufferview_funcs.C: Likewise.
16461 * text.C: Likewise.
16462 * text2.C: Likewise.
16464 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16466 * lyxfind.C (LyXReplace): do not redefine default argument in
16468 (IsStringInText): ditto
16469 (SearchForward): ditto
16470 (SearchBackward): ditto
16472 2001-03-06 Juergen Vigna <jug@sad.it>
16474 * lyxfind.C (IsStringInText): put parentes around expressions.
16476 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16478 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16480 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16482 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16484 * stl_string_fwd.h: add comment
16486 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16489 * tabular.C: remove unused DocBook methods
16495 killed DO_USE_DEFAULT_LANGUAGE
16497 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * lyx_gui.C: do not include language.h.
16501 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16502 arguments in function implementation.
16504 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16506 * BufferView_pimpl.C: add <ctime>
16508 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16510 * BufferView_pimpl.C: add using std::find_if
16512 2001-02-27 José Matos <jamatos@fep.up.pt>
16514 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16517 2001-02-11 José Matos <jamatos@fep.up.pt>
16519 * buffer.C (makeDocBookFile): command styles now have a parameter as
16520 "title" by default.
16522 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16524 * layout_forms.[Ch]: removed
16525 * lyx_cb.[Ch]: out character
16526 * lyx_gui.C: out character
16527 * lyx_gui_misc.C: out character
16528 * bufferview_funcs.C: : out character,
16529 added toggleall as parameter in ToggleAndShow
16531 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16533 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16535 * text2.C (SetCurrentFont): Disable number property at boundary.
16537 2001-02-26 Juergen Vigna <jug@sad.it>
16539 * lyxfunc.C (getStatus): added a string argument override function so
16540 that this is correctly called from LyXFunc::Dispatch if it contains a
16541 do_not_use_argument which is used!
16542 (Dispatch): added check for "custom" export and call appropriate func.
16544 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16546 * lyxrc.C: Add language_command_local, language_use_babel and
16547 language_global_options.
16549 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16551 * buffer.C (makeLaTeXFile): Use language_use_babel and
16552 language_global_options.
16554 2001-02-23 Juergen Vigna <jug@sad.it>
16556 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16557 which works with LyXText and putted it inside BufferView. Here now we
16558 only call for that part the BufferView::Dispatch() function.
16560 * BufferView.C (Dispatch): added.
16562 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16563 functions which needs to use a LyXText over from LyXFunc.
16564 (MenuInsertLyXFile): added
16565 (getInsetByCode): added
16566 (moveCursorUpdate): added
16567 (static TEXT): added
16569 2001-02-22 Juergen Vigna <jug@sad.it>
16571 * BufferView_pimpl.C (update): call a status update to see if LyXText
16574 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16576 * vc-backend.C (revert): implement for CVS
16577 (getLog): implement for CVS
16579 2001-02-20 Juergen Vigna <jug@sad.it>
16581 * text2.C (ClearSelection): added BufferView param for inset_owner call
16583 * lyxfunc.C (TEXT): added this function and use it instead of
16584 directly owner->view()-text of getLyXText().
16586 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16588 * src/layout_forms.C: out preamble
16589 * src/layout_forms.h: out preamble
16590 * src/lyx_cb.C: out preamble
16591 * src/lyx_cb.h: out preamble
16592 * src/lyx_gui.C: out preamble
16593 * src/lyx_gui_misc.C: out preamble
16594 * src/lyxfunc.C: connect with guii preamble
16596 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16598 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16600 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16602 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16603 whether to run bibtex.
16605 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16607 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16609 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16611 * Makefile.am (lyx_SOURCES): removed bibforms.h
16613 * vspace.h: doxygen
16615 * text.C (GetVisibleRow): make several local vars const
16617 * tabular.C: small cleanup.
16619 * lyxserver.C (callback): use compare instead of strncmp
16621 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16622 inlines to after class or to paragraph.C
16624 * lyxfont.h: remove friend operator!=
16626 * converter.h: move friend bool operator< to non friend and after
16629 * combox.h: small cleanup
16631 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16632 to inlines after class def.
16634 * buffer.C (pop_tag): use string operations instead of strcmp
16636 * bmtable.c: doxygen, small cleanup
16638 * LaTeX.h: remove friend operator==
16640 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16652 * BufferView_pimpl.C:
16653 * BufferView.[Ch]: remove cruft
16655 2001-02-14 Juergen Vigna <jug@sad.it>
16657 * lyxfunc.C: removed #if 0 unused code
16659 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16661 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16663 * text2.C (SetSelection): added a BufferView * parameter
16665 2001-02-13 Juergen Vigna <jug@sad.it>
16667 * lyxfunc.C (Dispatch): fixed protected blank problem.
16668 * BufferView2.C (protectedBlank): added LyxText * parameter.
16670 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16671 (AppendColumn): same as above for column_info.
16673 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16674 (moveCursorUpdate): use a LyXText param for support of InsetText.
16676 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16677 (tripleClick): ditto
16679 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16681 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16683 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16685 * text2.C (SetSelection): set correct update status if inset_owner
16686 (ToggleFree): ditto
16688 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16690 * tabular.C: remove some commented code.
16692 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16694 * BufferView_pimpl.C: call hideSplash()
16696 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16699 * bibforms.h: remove
16702 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16703 add LFUN_CHILD_CREATE
16705 * counters.h: fix tiny typo
16710 * lyx.C: move splash to frontends/xforms/
16712 * lyx_gui_misc.C: move Include and Bibform to frontends
16714 * lyxvc.h: clarify comment
16716 * vspace.C: tiny housekeeping
16718 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16720 * text.C (PrepareToPrint): RTL Fix.
16722 * paragraph.C (GetUChar): New method.
16723 (String): Use GetUChar.
16725 * buffer.C (asciiParagraph): Use GetUChar.
16727 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16729 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16731 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16734 * buffer.C: rename to getLogName(), handle
16735 build log / latex log nicely
16737 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16740 * MenuBackend.h: remove support for reference menuitem type.
16742 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16744 * BufferView_pimpl.C: housekeeping
16745 * BufferView_pimpl.h:
16750 * minibuffer.h: move Timeout GUI-I
16752 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16754 * lyxrc.C (read): Update converters data-structures.
16756 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16758 * LaTeX.h (operator!=): add operator != for Aux_Info
16760 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16762 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16764 * LaTeXLog.C: deleted, useful code moved to Buffer
16767 * buffer.C: new function getLatexLogName()
16773 * lyxfunc.C: use frontends for LaTeX and VC logs
16775 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * LaTeX.h: yet another std:: that Allan forgot.
16779 * Variables.C (set): renamed from isset(), because this clashes
16780 with some HP-UX macros (grr).
16782 2001-02-06 Allan Rae <rae@lyx.org>
16784 * LaTeX.h: Another bug fix. Missing std:: this time.
16786 2001-02-04 Allan Rae <rae@lyx.org>
16788 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16789 floats problem. I've left it commented out because it's not quite
16790 correct. It should also test that the current object is a table or
16791 figure inset. But I haven't gotten around to figuring out how to do
16792 that. I *think* it'll be something like: "table" == inset.type()
16794 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16797 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16799 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16800 all the citation/databases/styles in the auxilary file.
16801 (run): Rerun latex if there was a babel language error.
16803 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16805 * text.C (Backspace): Preserve the font when changing newline char
16807 (BreakParagraph): If the cursor is before a space, delete the space.
16809 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16811 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16813 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16814 new argument (code).
16815 (ChangeCitationsIfUnique): New method.
16817 * paragraph.C (GetPositionOfInset): Handle bibkey.
16819 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16821 * BufferView_pimpl.h: change type of Position::par_pos to
16822 LyXParagraph::size_type.
16824 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16826 * BufferView_pimpl.C (savePosition, restorePosition): Write
16827 messages to minibuffer.
16829 2001-01-28 José Matos <jamatos@fep.up.pt>
16831 * buffer.C (makeDocBookFile): adds support for document language.
16832 A silly restriction on the name of LatexCommand types where removed.
16833 Added support for CDATA sections, allows to chars unescaped, used
16834 among others in code, to avoid escape < and >.
16836 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16838 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16839 saved positions instrad of a stack. Furthermore, a position is
16840 stored using paragraph id/paragraph position.
16842 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16843 Remove LFUN_REF_BACK.
16845 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16847 * converter.C (dvipdfm_options): New method.
16849 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16851 * vspace.C (isValidLength): Fix for empty input string.
16853 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16855 * LyXAction.C (init): change description of LFUN_FIGURE to
16858 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16860 * LaTeX.C: add using directive
16862 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16864 * MenuBackend.C (expand): Fix the sorting of the formats.
16866 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16868 * lyx_main.C: tiny error message fix
16870 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16872 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16873 calling fl_initialize(). This fixes the problem with ',' as
16874 decimal separator in text files.
16876 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16878 * trans.C (process): Fix the keymap bug.
16880 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16882 * LaTeX.C (scanAuxFiles): New method. Provides support for
16883 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16884 (scanLogFile) Scan for "run BibTeX" messages.
16886 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16887 OT1 font encoding. Also, load the aecompl package if the ae
16890 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16892 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16894 * texrow.C (increasePos): turn two error messages into debug
16897 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16899 * LaTeX.C (scanAux): Handle the \@input macro.
16900 (runBibTeX): Use scanAux().
16902 * language.C (latex_options_): New field.
16904 * LaTeXFeatures.C (getMacros): Add language macros.
16906 * buffer.C (makeLaTeXFile): Small fix.
16908 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16910 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16912 * text2.C: add a using directive.
16914 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16919 * lyxfunc.C: kill LyXBell.
16921 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16923 * text.C (IsBoundary): Remove the error message
16925 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16927 * lyxrc.C (setDefaults): Correct initialization value for
16930 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16932 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16935 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16936 and GotoNextNote().
16938 * src/LyXAction.C: Added reference-next.
16940 * text.C (InsertChar): Use contains instead of strchr.
16942 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16944 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16946 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16947 alignment commands (when needed).
16949 * text.C (InsertChar): Add ':' to number separator chars.