1 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
3 * buffer.C (readHeader): use "&&" rather than "and".
5 * lyxserver.h (inPipeName, outPipeName): make these const.
7 2005-01-19 Angus Leeming <leeming@lyx.org>
9 * lyx_main.C (error_handler, init): protect SIGHUP with
10 #ifndef _WIN32 guards.
12 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
16 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * text.C (setHeightOfRow): add a margin at the top and bottom of
19 the document (bug 1761)
21 2005-01-17 Angus Leeming <leeming@lyx.org>
23 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
24 with "python ". Workaround for a brain-dead Windows.
26 2005-01-16 Angus Leeming <leeming@lyx.org>
28 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
29 for MacOSX and Windows to use prependEnvPath.
30 Strip out the hard-coded block to add elements to the PATH for
31 MacOSX and replace it with a call to prependEnvPath using the
32 contents of LyXRC::path_prefix.
33 (queryUserLyXDir): strip out the code to run reconfigure, instead
34 returning a boolean indicating the necessity to do so.
35 (reconfigureUserLyXDir): contains the code to reconfigure the
36 user support directory. Is now called after the various LyXRC data
39 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
41 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * converter.[Ch] (convert): take a new parameter try_default. Use
44 a default converter (imagemagick) if try_default is true.
46 2005-01-13 Angus Leeming <leeming@lyx.org>
48 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
50 (write): output LyXRC::cygwin_path_fix as necessary.
52 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
55 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
57 2005-01-12 Angus Leeming <leeming@lyx.org>
59 * lyx_main.C (init): set the PATH variable to include the
60 directory containing the LyX binary when running on Mac or Windows.
62 2005-01-12 Angus Leeming <leeming@lyx.org>
64 * lyx_main.C (init): remove cruft that purports to set the locale
65 dir. It doesn't and is not needed anyway.
67 2005-01-10 Angus Leeming <leeming@lyx.org>
69 * Makefile.am: remove the lyx_main.C special casing.
77 * messages.C: use support/package.h to provide the paths to the
78 various directories used by LyX.
80 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
83 layout if pasting into an empty paragraph)
85 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * tex-accent.C: add <string>
89 2005-01-06 José Matos <jamatos@lyx.org>
91 * ParagraphParameters.C (write): put every parameter in its own line.
92 * paragraph.C (write): reduce number of consecutive empty lines exported.
93 * buffer.C (LYX_FORMAT): increase file format to 239.
95 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
97 * everywhere: change support/tostr.h -> support/convert.h
99 * tabular.C: make all write_attributes templates, tostr -> convert
101 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
102 (emptyTag): and -> &&, and fix type for ret from getChar
103 (getFirstWord): fix type for ret from getChar
104 (onlyText): and -> &&
105 (simpleDocBookOnePar): and not -> && !, fix type for ret from
108 * toc.C (goTo, action):
109 * text3.C (dispatch):
110 * text.C (currentState):
111 * tex-accent.C (DoAccent):
114 * lyxfunc.C (menuNew):
115 * lyxfinc.C (replace):
116 * counters.C (laberItem):
117 * bufferview_funcs.C (font2string):
118 * bufferparams.C (writeFile):
119 * buffer.C (readFile):
121 * MenuBackend.C: tostr -> convert
123 * LaTeX.C (runMessage): fix format
124 (scanAuxFiles): tostr -> convert
126 * BufferView_pimpl.C (savePosition): fix format
127 (restorePosition): ditto
130 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * Spacing.[Ch]: New method getValueAsString().
136 * ParagraphParameters.C:
139 * text3.C: store/read spacing value as string.
141 * rowpainter.C: change float value (spacing_val) to double.
143 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
144 broken custom document spacing).
146 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
148 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
149 namespace, also more use of temp references and const
151 * cursor.[Ch] (getStatus): move to lyxfunc.C
153 * bufferparams.C: reformat slightly
155 * bufferview_funcs.C (font2string): constify arg
161 * buffer_funcs.C: (many funcs): constify arg on function
162 definitions, also make more local vars const, also add ASSERTS on
165 * buffer.C (LYX_FORMAT): put const in correct place
166 (many funcs): constify arg on function definitions, also make
167 more local vars const
169 * aspell_local.h: remove "struct" from typdef setup
171 * aspell.C (check): make word_ok const
172 (nextMiss): simplify slightly
175 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * lyxrc.[Ch]: store all float values as strings.
178 use int (not float) for lyxrc.dpi.
180 2005-01-04 Angus Leeming <leeming@lyx.org>
182 * lyx_cb.C (Reconfigure):
183 * lyx_main.C (queryUserLyXDir):
184 to run the <system_lyxdir>/configure correctly on Windows, prefix
185 the path to the script with "sh " when generating the string that
186 is passed to system().
188 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
192 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * lyxlength.C (asLatexString): get rid of setprecision
196 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * text2.C (setLayout): remove unused variable endpit.
199 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
201 * paragraph.C (onlyText): remove unused variable style.
203 * cursor.C (bruteFind): remove unused variables beg and end.
205 * Makefile.am (dist_noinset_DATA): not needed anymore
207 * cheaders/*: remove.
209 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * text3.C: fix LFUN_MATH_MODE.
213 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * buffer_funcs.C (countWords): new function. Counts words between
218 * BufferView_pimpl.C (getStatus, dispatch): handle
221 * LyXAction.C (init):
222 * lfuns.h: add LFUN_WORDS_COUNT.
224 2004-12-19 Angus Leeming <leeming@lyx.org>
226 * buffer.C (save): s/slashify_path/internal_path/.
228 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
230 * lyxfind.C (findChange): do not search for end of pars, because
231 the change tracker cannot handle this (fixes bug 1719).
233 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
235 * paragraph.[Ch] (autoBreakRows): remove
237 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
239 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
240 avoid using the paragraph one
242 * text2.C (LyXText, insertStringAsLines): adjust
244 2004-12-16 Angus Leeming <leeming@lyx.org>
248 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
250 2004-12-14 Angus Leeming <leeming@lyx.org>
252 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
254 * bufferlist.C (emergencyWrite):
255 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
258 2004-12-14 Angus Leeming <leeming@lyx.org>
260 * main.C: (main): no longer pass pointers to os::init.
262 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
264 * undo.C (textUndoOrRedo): simplify logic, fix a crash
265 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
267 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
270 * text3.C: remove selection_possible global flag
272 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
274 * text2.C (getSelectionSpan): remove
275 (changeDepth, changeDepthAllowed): adjust
277 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
279 * Makefile.am (BOOST_LIBS): use boost variables
281 2004-12-03 José Matos <jamatos@lyx.org>
283 * buffer.C: format up to 238.
285 2004-12-03 José Matos <jamatos@lyx.org>
287 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
289 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
291 * cursor.C (goUpDown): remove call to idxUpDown2
293 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
295 * tabular.[Ch]: use size_t-like types for cell, row and column
298 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * lyxfunc.C (getStatus): do not lose previous information when
301 calling BufferView::getStatus; do not set a default "Command
302 disabled" message at the beginning, but just before returning.
304 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * cursor.h (getStatus): add better comment from src/cursor.C
308 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * text3.C (getStatus): return false when the lfun is not handled
312 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * broken_headers.h: remove
316 * Makefile.am (lyx_SOURCES): remove broken_headers.h
318 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
320 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
323 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
324 top_y_, merge fitcursor with update
325 (updateScrollbar, scrollDocView, fitCursor, center, update): new
328 (workAreaDispatch): adapt to new coord scheme
329 (redoCurrentBuffer): remove
331 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
333 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
336 * coordcache.[Ch]: add paragraph cache and helpers
338 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
341 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
342 (targetX, setTargetX): introduce
344 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
345 baseline -> ascent, as the rest of lyx
347 * lyxtext.h: remove redoParagraphs, updateParPositions,
348 fullRebreak, redoParagraphInternal. move dist to anon namespace in
349 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
350 have ascent/descent (ascent is ascent of first par)
352 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
355 * paragraph.[Ch]: unify dimension handling with the rest of lyx
357 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
359 * pariterator.C: fix infinite loop introduced in par->pit renaming
361 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
362 in insets and LyXText, draw two off-screen paragraphs using
363 NullPainter, and adapt to new coord scheme
367 * text3.C: adapt lfun handlers to the new coord scheme, which
368 means: there's only guaranteed coord information for onscreen pars
369 plus one above and one below. This implies that one can do search
370 from y coordinates in the range [-1,workHeight]
372 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * rename a lot of InsetOld to InsetBase
376 2004-11-25 Angus Leeming <leeming@lyx.org>
378 * BufferView_pimpl.C:
380 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
382 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
385 call BufferView::getStatus if LCursor::getStatus did nothing
386 (setStatusMessage, getStatusMessage): removed.
388 * FuncStatus.C (message): new methods. Used to provide an error
389 message indicating why a command is disabled.
390 (clear, |=, FuncStatus): update for message.
392 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
394 * lyxfunc.C (dispatch): always call sendDispatchMessage
396 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
399 * BufferView_pimpl.C:
413 * undo.C: par->pit renaming
415 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
417 * tabular.C (cellstruct): use initialization, store a shared_ptr
418 to insettext instead of the insettext directly, adjust to fit.
419 (operator=): new function
421 (rowstruct): use initialization
422 (columnstruct): use initialization
423 (ltType): use initialization
426 * lyxlength.h (swap): new function
428 * LColor.[Ch] (operator=): use the common semantics
430 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * lyxfind.C (findNextChange): update the bufferview after setting
435 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
438 number of InsetOptArgs has already been inserted.
440 * output_latex.C (latexOptArgInsets): new method. This outputs all
441 the optarg insets, up to the limit defined in the layout file.
442 (optArgInset): removed
443 (TeXOnePar): call latexOptArgInsets; correctly update texrow
445 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * paragraph.C (isLetter): remove special spellchecker-related
448 code; return true also for digits
449 (isWord, isKomma): remove
451 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
452 * lyxfind.C (MatchString()): use isLetter instead of isWord
454 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
456 * pariterator.h (operatir=): comment out un-implemented member
459 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
462 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
464 * lyxfont.h: include LColor.h to satisfy concept checks.
466 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
468 * pariterator.h: add typdefs for value_type, difference_type,
469 pointer and reference to satisfy concept checks. Also add default
470 constructor for same reason.
472 * pariterator.C (operator++): add post-increment operator to
473 satisfy concept checks.
475 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
478 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
480 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
481 checks. Also rename base_type to BaseType to follow naming
484 * FloatList.h: include Floating.h to satisfy concept checks.
486 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * lyxfunc.C (getStatus): when the origin of the request is menu or
489 toolbar, and the LyXView does not have focus, do as if there was
492 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
493 FuncRequest to individual entries of LFUN_SEQUENCE
495 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * output_latex.C (TeXOnePar): override runparams.moving_arg
498 according to the needprotect value of the current paragraph (bug
501 * paragraph.C (simpleTeXOnePar): no need to override
502 runparams.moving_args here
504 2004-11-14 John Spray <spray_john@users.sourceforge.net>
506 * vspace.C: fix off-by-one-error, related to fix #1682
508 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * lengthcommon.C: a more general fix for bug 1682
512 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
514 * text.C (backspace): fix crash
516 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
518 * format.[Ch] (getFormatFromFile): new method
519 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
521 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
525 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * lyxfunc.C (dispatch): remove the verbose argument
528 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
531 * kbmap.C (defkey): set the origin of func to KEYBOARD
533 * MenuBackend.C (MenuItem):
534 * ToolbarBackend.C (add): set the origin of func to UI
536 * funcrequest.[Ch]: add origin member, which indicates which part
537 of LyX requests an action
539 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
541 * converter.C (move): don't lie in the error message
542 * converter.h (isReachable, move): document
544 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
546 * buffer.C: remove unused using lyx::support::atoi
547 * paragraph_funcs.C: ditto
549 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * bufferlist.C (exists): use bind and equal_to instead of
554 * lyxtextclasslist.C (NumberOfClass): ditto
556 * cursor.C (insert): use for_each instead of explicit for loop
558 * bufferlist.C (getFileNames): use std::transform and
559 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
561 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
564 * buffer.C (changeLanguage): use for_each instead of explicit for
566 (hasParWithID): implement using getParFromID
568 * LaTeXFeatures.C: ws change only
570 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
573 * BufferView_pimpl.C (trackChanges): use for_each instead of
576 2004-11-04 André Pönitz <poenitz@gmx.net>
579 * undo.C (textUndoOrRedo): fix crash when creating undo information.
581 * dociterator.C (asDocIterator): use hard assert again.
583 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * lyxlength.C (asLatexString): rewrite so that it does not use
588 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * text3.C (specialChar, dispatch): make sure cursor moves to the
591 right after inserting an inset
593 2004-11-02 José Matos <jamatos@lyx.org>
595 * output_docbook.C (docbook):
596 * paragraph.C (getID):
597 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
598 garantee that the output is always legal.
600 * tabular.C (docbook):
601 * outputprams.[Ch]: remove mixed contents.
603 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
605 * text2.C (setCounter): prevent endless loop
607 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
609 * exporter.C (copyFile): use the mover instead of support::copy()
610 * exporter.C (Export): pass format and latex name to copyFile()
611 * exporter.h (addExternalFile): document
612 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
614 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
618 2004-10-30 José Matos <jamatos@lyx.org>
620 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
621 text and no inset or font change. This allows to use CDATA
622 sections just for the whole paragraph.
624 2004-10-30 José Matos <jamatos@lyx.org>
626 * paragraph.C (getFirstWord): remove unused variable.
628 2004-10-30 José Matos <jamatos@lyx.org>
630 * paragraph.C (getFirstWord): the content should always be escaped
632 (simpleDocBookOnePar):
633 * output_docbook.C (makeEnvironment): replace reference to CDATA
636 2004-10-30 José Matos <jamatos@lyx.org>
638 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
640 2004-10-30 José Matos <jamatos@lyx.org>
642 * output_docbook.C (makeParagraphs):
643 * paragraph.[Ch] (emptyTag): for docbook and company, if the
644 standard paragraph has only a given type of content drop the wrapper.
646 2004-10-29 José Matos <jamatos@lyx.org>
648 * output_docbook.C (makeEnvironment):
650 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
652 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
654 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
655 (cleanID): sanitize any id.
657 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
659 * buffer.C, lyxlex_pimpl.C:
660 * lyxlex_pimpl.C (setFile):
661 s/getExtFromContents/getFormatFromContents/
663 2004-10-28 José Matos <jamatos@lyx.org>
665 * output_docbook.C (makeEnvironment): move id to broadest possible
668 * sgml.C (openTag): apply substitution of <> for all attributes.
670 2004-10-28 José Matos <jamatos@lyx.org>
672 * buffer.C (makeLinuxDocFile, makeDocBookFile):
673 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
674 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
676 * sgml.[Ch]: new version for open and closeTag for paragraph and
677 for strings. Now they handle the ids of paragraphs.
679 2004-10-26 Angus Leeming <leeming@lyx.org>
681 * Makefile.am: add mover.[Ch].
683 * converter.C (convert, move): use the new Movers to move external
684 files to the temp directory.
686 * lyx_main.C (init): ensure that the global system_movers data
689 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
692 * mover.[Ch]: new files, defining a Mover as a utility to move an
693 external file between directories and, if necessary, manipulate this
694 file using a helper script.
696 2004-10-25 José Matos <jamatos@lyx.org>
698 * output_docbook.C (makeCommand): merge two if's that tested the
701 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * sgml.C (escapeString): fix warning in a better way
705 2004-10-25 José Matos <jamatos@lyx.org>
707 * sgml.C (escapeString): import the require boosts header file for
708 tie, and avoid a signed unsigned comparison.
710 2004-10-25 José Matos <jamatos@lyx.org>
712 * sgml.h: add #include <string>
714 2004-10-25 José Matos <jamatos@lyx.org>
716 * sgml.[Ch] (escapeString): new function to escape all the string.
718 2004-10-24 José Matos <jamatos@lyx.org>
720 * paragraph.[Ch] (getFirstWord): new function to get the first
721 word. Useful for description.
722 (simpleDocBookOnePar): remove depth argument, add another that
723 says where to start the paragraph.
725 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
726 use the new functions to fix cleanly the support for descriptions.
728 2004-10-24 José Matos <jamatos@lyx.org>
730 * buffer.C (makeLinuxDocFile, makeDocBookFile):
731 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
732 * output_linuxdoc.C (linuxdocParagraphs):
733 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
734 add buffer as argument.
736 2004-10-24 José Matos <jamatos@lyx.org>
738 * output_docbook.C (makeEnvironment, searchEnvironment): place
739 CDATA inside paragraphs and fix scope for listitems.
741 2004-10-24 José Matos <jamatos@lyx.org>
743 * output_docbook.C: remove using statement for stack.
745 2004-10-23 José Matos <jamatos@lyx.org>
747 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
748 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
749 docbook. The new scheme is recursive and makes use of iterators, the
750 same as latex export works.
751 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
752 directly with the paragraph contents. This code was moved up to
753 output_docbook.C (docbookParagraphs).
754 * sgml.C (openTag, closeTag): removed unneeded newlines.
755 (closeEnvTags) removed.
757 2004-10-23 André Pönitz <poenitz@gmx.net>
759 * undo.C (textUndoOrRedo):
760 * dociterator.C (asDocIterator): work around crash
762 * cursor.C (getStatus): replace ASSERT by more verbose error message
763 and manual correction of the problem. Should increase stability
764 while providing more sensible information.
766 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
770 * bufferlist.C (previous, next): new methods
773 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
775 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
777 * buffer.C (makeDocBookFile): add dsssl stylesheet control
778 entities to preamble.
780 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
782 * messages.C (Pimpl): strip off translation context information
784 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
787 the cursor is correct (bug 1694)
789 2004-10-13 José Matos <jamatos@lyx.org>
791 * output_docbook.C (docbookParagraphs): fix closing tags in the
794 2004-10-09 José Matos <jamatos@lyx.org>
796 * buffer.C: format up to 237.
797 * bufferparams.C (write): use tostr to convert booleans to strings.
799 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
801 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
803 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
805 * LaTeX.C: implement use of babel language in xindy.
807 2004-10-05 José Matos <jamatos@lyx.org>
809 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
810 Add new translators to help reading and writing the lyx file.
812 2004-10-05 José Matos <jamatos@lyx.org>
814 * ParagraphParameters.C (read):
815 * text.C (readParToken): replace nexToken by more appropriate lex
818 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
820 * LaTeX.C (runMakeIndex):
821 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
822 (usually 'makeindex') configurable.
824 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
825 with a variable rather than with a number.
827 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * output_latex.C (TeXOnePar): make sure font setting is the first
830 thing that gets output (and the last at the end). Should fix bug
833 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
835 * pch.h: use proper signal include
837 * LaTeX.h: Use preferred calling of Boost.Signal
840 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
842 * pch.h: dont include <boost/function/function0.hpp>
844 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
846 * paragraph_pimpl.h: remove usage of ShareContainer
848 * paragraph_pimpl.C: remove initialization of ShareContainer.
850 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * BufferView.C (putSelectionAt): change the semantics when
855 backwards == true: now, this just swaps cursor and anchor wrt the
858 * BufferView.h (putSelectionAt): add some documentation
860 * lyxfind.C (findBackwards): rewrite using while(). In particular,
861 make sure backwardChar is done at least once (to avoid getting
863 (findNextChange): use putSelectionAt in the forward direction
864 (operator()): use Paragraph::isWord
866 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * Spacing.C (set): c_str fix
870 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
872 * lyx_cb.C (Reconfigure): quote the name of configure script in
873 case it contains spaces
875 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
879 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
880 (BOOST_LIBS): use top_buildir when looking for the file
882 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
884 * pch.h: do not use include boost/format.hpp, multiple symbols
885 will result (gcc bug)
888 2004-08-23 José Matos <jamatos@lyx.org>
890 * bufferparams.C (readToken): fix reading of the author field.
892 2004-08-20 José Matos <jamatos@lyx.org>
894 * lyxrc.C: remove support/translator.h inclusion since it is not used.
896 2004-08-20 José Matos <jamatos@lyx.org>
898 * lyxlex.[Ch] (findToken): remove function.
900 * ParagraphParameters.C (findToken):
901 * bufferparams.C (findToken): replace call for previous function
902 with local copy. This local function has one more argument, the
903 read string argument.
905 2004-08-16 José Matos <jamatos@lyx.org>
907 * ParagraphParameters.C (write):
908 * Spacing.C (writeFile):
909 * bufferparams.C (writeLaTeX):
910 * lyx_cb.C (Reconfigure):
911 * paragraph.C (write):
912 * tabular.C (write): remove unnecessary space at end of line.
915 2004-08-16 José Matos <jamatos@lyx.org>
917 * text.C (readParagraph): remove debug message.
919 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
924 * output_plaintext.C (asciiParagraph): set depth correctly
926 * outputparams.h: add member depth
928 * paragraph_funcs.C (ownerPar): remove.
930 * text2.C (setCounter): remove first_pit; comment out some
931 non-working code that uses ownerPar
933 * BufferView.C (getParentLanguage): remove. Not used anymore, and
936 2004-08-16 José Matos <jamatos@lyx.org>
938 * text.C (readParToken, readParagraph, read): report all unknown tokens.
939 For the same level of importance use the same chanel to report problems.
940 (read): add code to deal with \begin_body and \end_body.
943 2004-08-15 José Matos <jamatos@lyx.org>
945 * lyxlex.C (getString): fix comment, buffer::readBody is now
948 * tex-strings.C (string_papersize): Default -> default,
949 Custom -> custom, for consistency with other options.
951 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
955 * Makefile.am: support pch
957 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * text.C (readParToken): remove the static LyXFont variable and
960 pass it as a parameter instead. This fixes a nasty bug where an
961 inset will be inserted with a bad font in some situations
962 (readParagraph): adapt
964 * text2.C (setCounter): reduce number of calls to pars_[pit]
966 * text.C (singleWidth): add an assert, fix a test
968 * rowpainter.C (paintText): reduce number of calls to singleWidth
970 * paragraph.C (isHfill):
973 2004-08-14 André Pönitz <poenitz@gmx.net>
978 * lyxtext.h (several functions): use a Paragraph & argument
981 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * metricsinfo.h: add a new field ltr_pos to PainterInfo
985 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
987 * text.C (singleWidth): remove useless test
989 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * tabular.h: remove bogus comments
993 * tabular.C (getDescentOfRow):
994 (isPartOfMultiColumn): add assertions
996 * lyxlength.C (inPixels): remove #warning
998 2004-08-14 André Pönitz <poenitz@gmx.net>
1000 * paragraph.h: inline getChar()
1002 * BufferView.h: remove unused declarations
1004 2004-08-14 José Matos <jamatos@lyx.org>
1006 * Buffer.[Ch] (readDocument): new name for old readBody.
1007 * Buffer.C: new file format, new keywords: \begin_document,
1008 \begin_header, \begin_body, \end_body.
1010 * bufferparams.C (readToken): replace all calls to lex.nextToken
1011 by lex.next(). Do the same to eatLine except where really needed.
1013 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1014 line when writing to the lyx file.
1016 * output_plaintext.C (asciiParagraph): fix Bibliography style
1019 * text.C (read): fix end of file handling.
1021 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * MenuBackend.C (Menu::operator[]): new method to access
1024 individual menu items
1025 (Menu::hasFunc): new method. search for an item that corresponds
1027 (MenuBackend::specialMenu): new method
1028 (MenuBackend::expand): if a special menu has been set, skip
1029 entries whose func() appears in this menu
1031 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1033 * text3.C: use Debug::DEBUG a bit more
1035 * text.C (leftMargin): try to simplify a tiny bit change var x to
1036 l_margin. Dont output the wide margins always.
1037 (rightMargin): no margin in inner texts
1039 * rowpainter.h (nestMargin): new func
1040 (changebarMargin): new func
1041 (rightMargin): new func
1043 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1047 * factory.C (createInset): modify setDrawFrame
1049 * cursor.C: use Debug::DEBUG a bit more
1051 2004-08-14 André Pönitz <poenitz@gmx.net>
1054 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1055 cache for all insets in (at least partially) visible (top-level)
1058 * BufferView_pimpl.C: reset external coord cache before every update.
1059 This means the coord cache only contains valid entries.
1061 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1064 * BufferView_pimpl.C (getInsetByCode): move function out of class
1065 and change in to a template in anon namespace. Also fix to do what
1068 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1071 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1073 (breakParagraph): rename par to par_offset and use a local
1074 reference. Add code to keep the language over a rebreak.
1075 (breakParagraphConservative): rename par to par_offset, use a
1077 (mergeParagraph): ditto
1079 (isFirstInSequence): ditto
1080 (outerFont): rename pit to par_offset
1082 * paragraph.C: ws change
1083 * paragraph.h: ditto
1087 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1092 * paragraph.C (simpleTeXOnePar): when we have a \item with
1093 optional argument, enclose the argument with curly brackets (in
1094 case it contains a closing square bracket)
1098 * text3.C (checkInsetHit): constify
1100 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1103 documents (bug 1629)
1105 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1107 Fix toggling of collapsable insets with the mouse (bug 1558)
1109 * lyxfunc.C (dispatch): adapt to LCursor changes
1111 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1112 make sure that dispatch is not invoked twice
1114 * cursor.C (needsUpdate): new method
1115 (dispatch): return void
1116 (result): new method, to access the DispatchResult of the cursor.
1118 2004-08-13 José Matos <jamatos@lyx.org>
1120 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1122 2004-08-13 André Pönitz <poenitz@gmx.net>
1124 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1126 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1129 2004-08-12 André Pönitz <poenitz@gmx.net>
1131 * text3.C: take out the 'cursor right' form insertInset and only
1132 do it in those places when it is really needed. Fixes crash on
1135 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1139 * BufferView_pimpl.C (setBuffer): initialize the current font of
1140 the underlying LyXText
1142 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * kbsequence.C (print): use UI native formatting for menu
1147 * text.C (insertChar): call Paragraph::insertChar with a font
1150 * paragraph.C (insertInset, insertChar): the version that takes a
1151 LyXFont argument is now a wrapper around the other one (the
1152 opposite used to be true).
1154 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1155 argument. Font setting is done in Paragraph now.
1157 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * outputparams.h: add new members intitle and lang.
1161 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1162 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1164 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1166 * text3.C (dispatch): remove special handling of button 4 and 5,
1167 it is now taken care of in the frontend code.
1169 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1171 * Spacing.h: add <string> (STLPort compile fix)
1173 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1175 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1177 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1179 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1182 * converter.C (showMessage): inherit from unary_function, make
1185 * buffer.C (writeFile): initialize retval
1187 * InsetList.h: rename private variable list to list_
1188 * InsetList.[Ch]: adjust accordingly.
1190 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1192 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1193 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1194 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1195 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1196 * ParagraphParameters.C, LaTeXFeatures.C: replace
1197 "support/std_sstream.h" with <sstream>
1199 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1201 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1202 * lyxsocket.C (LyXServerSocket): ditto
1203 (serverCallback): ditto
1205 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1207 * LaTeXFeatures.C: check release date when loading jurabib.
1209 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1211 * lyxserver.C (startPipe): call register_socket_callback
1212 (endPipe): call unregister_socket_callback
1214 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1216 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1217 (LyXServerSocket): register the callback
1218 (LyXServerSocket): unregister the callback
1219 (fd): delete function
1220 (serverCallback): improve error checking and setup the callbacks.
1221 (dataCallback): change arg to fd.
1222 (writeln): new func (copied fro the client socket) used for server
1224 (LyXDataSocket): simplify
1225 (~LyXDataSocket): close ann unregiser callback
1226 (server): delete function
1227 (fd): delete function
1228 (readln): small changes, improve some std::string usage
1229 (writeln): constify a bit
1231 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1233 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1236 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1239 after it has been populated
1241 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1243 * text2.C (insertInset): move cursor when inserting inset.
1245 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1247 * kbmap.C (findbindings): a couple of new methods. returns a
1248 container of kb_sequence objects. The real work is done by the
1249 private recursive version
1250 (printbindings): uses findbindings to print out a bracketed list
1251 of bindings (renamed from findbinding).
1253 * MenuBackend.C (binding): use kb_keymap::findbindings
1255 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1257 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1259 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1261 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1263 * paragraph.C (isWord): return true on insets that report
1266 * text.C (getWord): use Paragraph::isWord to decide what is in a
1267 word and what is not; fix bug 1609.
1269 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1271 * tex-strings.C: add "none" to string_paperpackages[], fixes
1272 off-by-one-error in the paperpackage selection.
1275 * tex-strings.[Ch]: char const * string[n]
1276 -> char const * const string[]
1278 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1281 command, return early.
1283 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1285 * debug.h: add DEBUG to enum and fix size of ANY.
1287 * debug.C: add support for Debug::DEBUG
1288 (showTags): cast errorTags.level to unsigned int
1290 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1291 (redoCurrentBuffer): ditto
1292 (updateScrollbar): ditto
1293 * cursor.C (dispatch): ditto
1294 * text2.C (setLayout): ditto
1296 (updateCounters): ditto
1298 (deleteEmptyParagraphMechanism): ditto
1300 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1302 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1303 annotations to cleanup the Makefile slightly.
1305 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1307 * lyxrc.C: do not set user_email to a default value but use empty
1308 instead. The entry used to be translated, which does not work
1309 since at the point where lyxrc is constructed there is no
1310 translation service available
1312 * messages.C (getLocaleDir): remove and use directly
1313 lyx_localedir() instead
1315 2004-06-02 Angus Leeming <leeming@lyx.org>
1317 Fix crash caused by dereferencing null pointer 'exportdata' in
1318 OutputParams by creating a new ExportData variable on the heap,
1319 storing it in a boost::shared_ptr.
1320 The crash was triggered when generating an Instant Preview
1321 of an external inset.
1323 * Makefile.am: add outputparams.C
1325 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1326 (c-tor): allocate memory to it.
1328 * exporter.C (c-tor): associated changes.
1330 2004-06-01 Angus Leeming <leeming@lyx.org>
1332 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1333 contains data before calling isInset(0). (Bug 1513.)
1335 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1337 * exporter.C (checkOverwrite): new method
1338 * exporter.C (copyFile): new method
1339 * exporter.C (Export): copy referenced files to the document dir
1340 * exporter.[Ch]: new class ExportedFile
1341 * exporter.[Ch]: new class ExportData. Contains currently the
1342 names of referenced external files
1343 * outputparams.h: add exportdata member.
1345 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1347 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1350 2004-05-19 Angus Leeming <leeming@lyx.org>
1355 * lyxfunc.C: small changes due to the introduction of namespace
1356 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1358 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1360 * text3.C (dispatch): supress update when only moving the cursor
1361 * cursor.C (selHandle): remove commented code
1363 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1365 * paragraph.C (startTeXParParams): correct column count
1366 * CutAndPaste.C (pasteSelection): remove const_cast
1367 * output_docbook.C (docbookParagraphs): remove const_cast
1368 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1369 const_cast and return ParagraphList::const_iterator
1370 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1371 * output_plaintext.C (writeFileAscii): remove const_cast
1372 * paragraph.[Ch] (simpleTeXOnePar): make const
1373 * paragraph_funcs.C (outerPar): use const iterators
1374 * paragraph_pimpl.C (validate): use const iterators
1375 * text.C (setHeightOfRow): use const iterators
1377 2004-05-17 Angus Leeming <leeming@lyx.org>
1380 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1382 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1383 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1384 if the citation engine has changed.
1386 2004-05-14 José Matos <jamatos@lyx.org>
1388 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1389 if the textclass does not provide it. Have it different for sgml and
1391 support the language of document.
1392 * output_docbook.C (docbookParagraphs):
1393 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1394 first anchor as the id of the paragraph, remove special case code.
1395 * sgml.C (escapeChar): escape only < & >.
1397 2004-05-14 Angus Leeming <leeming@lyx.org>
1399 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1400 dependencies on src/frontends/controllers/biblio.h. Define a
1401 CiteEngine_enum wrapper class to enable the enum to be forward
1404 2004-05-12 Angus Leeming <leeming@lyx.org>
1406 * buffer.C: up LYX_FORMAT to 234.
1407 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1408 use_numerical_citations with a single biblio::CiteEngine cite_engine
1410 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1412 2004-05-13 José Matos <jamatos@lyx.org>
1415 * converter.C (Converter, readFlags): add xml member.
1416 * outputparams.h: add XML flavor.
1417 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1419 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * lyxfunc.C (dispatch):
1422 (getStatus): fix handling of LFUN_SEQUENCE
1424 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * debug.C (showLevel): do not forget the end-of-line marker
1428 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * kbmap.C (read): do not stop parsing a bind file when an error
1433 2004-04-29 Angus Leeming <leeming@lyx.org>
1438 * text2.C: wrap a bunch of #warning statements
1439 inside #ifdef WITH_WARNINGS blocks.
1441 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1443 * buffer.C: increment format to 233.
1445 2004-04-28 Angus Leeming <leeming@lyx.org>
1447 * BufferView_pimpl.C:
1450 s/updateToolbar()/updateToolbars()/
1451 s/Toolbar.h/Toolbars.h/
1453 2004-04-28 Angus Leeming <leeming@lyx.org>
1455 * BufferView.[Ch] (c-tor):
1456 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1457 No longer passes these data to the WorkArea generator.
1459 2004-04-28 Angus Leeming <leeming@lyx.org>
1461 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1463 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1465 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1467 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * output_latex.C (TeXEnvironment): make sure that there is a line
1470 break before \end{foo} for the last paragraph of a document
1471 (TeXOnePar): if the paragraph is at the end of the document (or
1472 inset) and the language has to be reset, then make sure that the
1473 line break is _before_ the language command, not after (fixes bug
1474 1225); also make sure that the language reset command is the first
1475 thing after the paragraph (to ensure proper nesting of
1476 environments and thus fix bug 1404)
1478 2004-04-21 John Levon <levon@movementarian.org>
1481 * ToolbarBackend.C: make "name" be a programmatic name
1482 and a gui_name field.
1484 * lyxfunc.C: display the minibuffer on M-x
1486 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1488 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1491 2004-04-19 Angus Leeming <leeming@lyx.org>
1493 * BufferView_pimpl.C (setBuffer): changed preview interface.
1495 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1498 2004-04-19 John Levon <levon@movementarian.org>
1500 * BufferView_pimpl.C:
1501 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1503 2004-04-05 Angus Leeming <leeming@lyx.org>
1505 * text.C (redoParagraphs): add call to updateCounters(), thereby
1506 fixing the missing "Figure #:" label from the caption of a
1509 2004-04-13 Angus Leeming <leeming@lyx.org>
1511 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1512 cursor is clicked out of an inset.
1514 2004-04-13 Angus Leeming <leeming@lyx.org>
1516 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1517 than an InsetOld one.
1519 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1521 * format.[Ch]: add editor to Format
1522 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1523 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1525 2004-04-08 André Pönitz <poenitz@gmx.net>
1527 * metricsinfo.h: remove PainterInfo::width member
1529 2004-04-08 Angus Leeming <leeming@lyx.org>
1531 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1532 "\providecommand" rather than "\newcommand", thereby preventing
1533 clashes with packages that define "\boldsymbol" themselves.
1536 2004-04-08 Angus Leeming <leeming@lyx.org>
1538 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1539 thereby squashing an unnecessary warning.
1541 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1543 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1546 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1548 * BufferView.C (setCursor): call redoParagraph (some insets could
1550 (putSelectionAt): remove the 'double update' trick
1552 * BufferView_pimpl.C (fitCursor): call refreshPar
1553 (workAreaDispatch): remove an uneeded update call
1554 (dispatch): remove some manual update calls
1556 * cursor.[Ch]: remove cached_y_, updatePos
1557 (selHandle): set noUpdate when appropriate
1559 * lyxfunc.C (dispatch): track if we need an update
1561 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1563 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1564 (paintSelection): cheap optimization, do not call cursorX when not
1566 (paintPars): change signature
1569 (paintTextInset): adjust
1573 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * lengthcommon.C: compilation fix: remove explicit array size from
1576 unit_name[] and friends
1578 2004-04-05 Angus Leeming <leeming@lyx.org>
1580 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1582 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1583 present only for the preferences dialog.
1584 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1586 2004-04-05 Angus Leeming <leeming@lyx.org>
1588 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1589 to enable the frontends to export changes to lyxrc correctly.
1591 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1593 2004-04-07 André Pönitz <poenitz@gmx.net>
1595 * cursor.[Ch] (selClear, adjust): remove math
1597 * cursor_slice.C: more agressive assert
1600 * BufferView_pimpl.C: rework mouse event dispatch
1607 2004-04-05 André Pönitz <poenitz@gmx.net>
1609 * cursor.[Ch] (valign, halign...): remove unneeded functions
1611 2004-04-05 Angus Leeming <leeming@lyx.org>
1613 * lyxlength.[Ch] (unit_name et al.): const-correct.
1615 2004-04-05 Angus Leeming <leeming@lyx.org>
1617 * BufferView_pimpl.C:
1626 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1628 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1630 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1632 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1634 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1635 * BufferView_pimpl.[Ch] (getStatus)
1636 * BufferView.[Ch] (getStatus): add
1637 * lyxfunc.C (getStatus): move lfuns handled in
1638 BufferView::dispatch to te function above
1639 * Cursor.C (setSelection): set selection() = true
1641 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1643 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1645 2004-03-31 Angus Leeming <leeming@lyx.org>
1647 * lyxfunc.C (dispatch): Fall through to the generic
1648 Dialogs::show("preamble").
1650 2004-03-31 Angus Leeming <leeming@lyx.org>
1652 * lyxfunc.C (dispatch): Fall through to the generic
1653 Dialogs::show("spellchecker").
1655 2004-03-31 Angus Leeming <leeming@lyx.org>
1657 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1660 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1665 * insetiterator.[Ch]:
1670 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1672 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1674 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1675 insets where we are putting the cursor.
1677 2004-03-31 Angus Leeming <leeming@lyx.org>
1680 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1682 * lyxrc.[Ch] (read, write): overloaded member functions taking
1683 a std::[io]stream arguments.
1685 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1687 2004-03-31 Angus Leeming <leeming@lyx.org>
1689 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1690 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1692 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1693 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1695 2004-03-31 Angus Leeming <leeming@lyx.org>
1697 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1698 the LFUN_ALL_INSETS_TOGGLE code.
1700 2004-03-30 Angus Leeming <leeming@lyx.org>
1702 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1703 has died. Fall through to the generic Dialogs::show("document").
1705 2004-03-30 Angus Leeming <leeming@lyx.org>
1708 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1709 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1711 * lyxfunc.C (getStatus, dispatch): define the actions for these
1712 lfuns. Little more than a cut and pste job from ControlDocument.C
1714 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1716 2004-03-30 Angus Leeming <leeming@lyx.org>
1719 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1720 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1722 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1723 open/closed state of ollapsable insets. Usage:
1725 all-inset-toggle <state> <name>, where
1726 <state> == "open" || "closed" || "toggle" and
1727 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1729 * lyxtext.h, text2.C (toggleInset): removed.
1731 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1732 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1733 now passes LFUN_INSET_TOGGLE to the found inset.
1735 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1736 is now invoked as "all-insets-toggle toggle branch".
1738 2004-03-30 Angus Leeming <leeming@lyx.org>
1742 * pariterator.[Ch]: added/corrected header blurb.
1744 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1746 * dociterator.[Ch]: add an inset_ member
1747 (backwardPos): implemented
1748 (backwardPos, forwardPos): use inset_ when the stack is empty.
1749 (doc_iterator_begin, doc_iterator_end): implemented
1750 * pariterator.[Ch]: adjust, add begin, end
1751 * insetiterator.[Ch]: adjust, add begin, end
1755 * BufferView_pimpl.C:
1756 * CutAndPaste.C: adjust
1758 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1760 * buffer.C: increment file format to 232.
1761 * LaTeXFeatures.C: add bibtopic package.
1762 * bufferparams.[Ch]: param \use_bibtopic.
1764 * lyxrc.[Ch]: add lyxrc bibtex_command
1765 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1767 * buffer.C: increment file format to 231.
1769 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1771 * dociterator.C: implement forwardPar
1772 * iterators.[Ch]: remove, replaced by
1773 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1775 * BufferView_pimpl.C:
1778 * bufferview_funcs.C:
1784 * Makefile.am: adjust
1786 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1788 * CutAndPaste.C (pasteSelection): fix 2 crashes
1789 (eraseSelection): fix a crash
1790 * paragraph_funcs.C: remove a warning
1792 2004-03-28 Angus Leeming <leeming@lyx.org>
1795 * LyXAction.C (init): new LFUN_PRINT.
1797 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1799 2004-03-27 Angus Leeming <leeming@lyx.org>
1802 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1804 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1806 2004-03-27 Angus Leeming <leeming@lyx.org>
1808 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1809 insetlist always contains non-null pointers to insets.
1811 2004-03-26 Angus Leeming <leeming@lyx.org>
1813 * src/BufferView_pimpl.C:
1814 * src/CutAndPaste.C:
1817 * src/output_plaintext.C:
1818 * src/outputparams.h:
1819 * src/paragraph_funcs.C:
1823 * src/frontends/controllers/ControlErrorList.C:
1824 * src/frontends/gtk/FileDialogPrivate.C:
1825 * src/frontends/gtk/GPainter.C:
1826 * src/frontends/gtk/GToolbar.C:
1827 * src/frontends/qt2/QRef.C:
1828 * src/mathed/math_scriptinset.C: squash compiler warnings.
1830 2004-03-26 Angus Leeming <leeming@lyx.org>
1832 * ispell.C (LaunchIspell::start):
1833 * lyx_cb.C (AutoSaveBuffer::start):
1834 invoke run(DontWait) rather than runNonBlocking().
1836 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1838 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1840 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 * kbsequence.C (print): adjust
1844 * kbmap.C (printKeySym): rename and change signature
1845 (printKey): use LyXKeySym::print()
1847 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1849 * undo.C: add using std::advance to compile for stlport
1851 2004-03-24 Angus Leeming <leeming@lyx.org>
1853 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1854 it leads to a crash when no buffer is present.
1856 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1857 Martin Vermeer <martin.vermeer@hut.fi>
1859 * lyxfunc.C (dispatch):
1860 * bufferparams.C (readToken): use the new LColor::setColor
1862 * LColor.[Ch] (setColor): new version that takes two strings as
1863 argument and creates a new color entry if necessary
1865 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1867 * buffer.C (makeLaTeXFile): if the main latex file that is
1868 processed is usually a subdocument of some master, then pretend
1869 for a while that it is actually the master
1871 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1873 * buffer.C (getLabelList):
1874 (getBibkeyList): use getMasterBuffer()
1875 (getMasterBuffer): new method. Returns the main document in the
1876 case where one is using included documents.
1878 2004-03-25 André Pönitz <poenitz@gmx.net>
1882 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1884 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1886 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1887 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1889 * ParameterStruct.h: merge with ParagraphParameters
1891 * lyxtext.h: remove LyXText::parOffset() and getPar()
1893 * text3.C: Remove all 'manual' update calls. We do now one per user
1894 interaction which is completely sufficient.
1898 * BufferView_pimpl.C:
1899 * FontIterator.[Ch]:
1901 * ParagraphParameters.[Ch]:
1906 * cursor_slice.[Ch]:
1913 * output_docbook.[Ch]:
1914 * output_latex.[Ch]:
1915 * output_linuxdoc.[Ch]:
1916 * output_plaintext.[Ch]:
1918 * paragraph_funcs.[Ch]:
1919 * paragraph_pimpl.[Ch]:
1927 * frontends/controllers/ControlDocument.C:
1928 * frontends/controllers/ControlErrorList.C:
1929 * frontends/controllers/ControlSpellchecker.C:
1932 * insets/insetbase.h:
1933 * insets/insetbibitem.C:
1934 * insets/insetbox.C:
1935 * insets/insetbranch.C:
1936 * insets/insetcaption.C:
1937 * insets/insetcharstyle.C:
1938 * insets/insetcharstyle.h:
1939 * insets/insetcollapsable.C:
1940 * insets/insetcollapsable.h:
1941 * insets/insetert.C:
1942 * insets/insetfloat.C:
1943 * insets/insetfoot.C:
1944 * insets/insetmarginal.C:
1945 * insets/insetnote.C:
1946 * insets/insetoptarg.C:
1947 * insets/insettabular.C:
1948 * insets/insettext.C:
1949 * insets/insettext.h:
1950 * insets/insetwrap.C:
1951 * mathed/math_mboxinset.C:
1952 * mathed/math_nestinset.C:
1953 * mathed/math_scriptinset.C:
1954 * mathed/math_scriptinset.h:
1957 2004-03-24 Angus Leeming <leeming@lyx.org>
1959 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1960 deal with any child processes that have finished but are waiting to
1961 communicate this fact to the rest of LyX.
1963 2004-03-24 Angus Leeming <leeming@lyx.org>
1965 64-bit compile fixes.
1967 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1968 (c-tor): pass lyx::pos_types rather than ints.
1970 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1973 * text.C (Delete): compile fix.
1974 (getPar): ensure that function declaration is the same as that in
1977 2004-03-23 Angus Leeming <leeming@lyx.org>
1979 * ispell.C (LaunchIspell):
1980 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1981 a boost::shred_ptr rather than a std::auto_ptr.
1983 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1985 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1986 handle LFUN_FILE_INSERT_*
1988 * lyxrc.C (setDefaults, getDescription, output, read):
1989 * lyxrc.h: remove ps_command
1991 2004-03-22 Angus Leeming <leeming@lyx.org>
1993 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1994 Ensure that error_handler is processed once only and that all data
1995 is saved before attempting to output any warning messages.
1997 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1999 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2001 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2003 2004-03-19 André Pönitz <poenitz@gmx.net>
2005 * cursor.[Ch] (reset): take main text inset as argument
2007 * BufferView: adjust
2008 * BufferView_pimpl.C: adjust
2010 * paragraph.[Ch]: fix completely broken operator=()
2012 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2014 * LColor.C (getFromLyXName): make sure that the color name is used
2017 2004-03-17 Angus Leeming <leeming@lyx.org>
2020 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2022 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2023 dialog and to kill a forked process.
2025 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2027 * text2.C (setCursorFromCoordinates): fix font problem
2029 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2031 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2032 bogus "rebuild cursor" code
2034 2004-03-11 André Pönitz <poenitz@gmx.net>
2036 * buffer.[Ch]: use InsetText instead of LyXText as container for
2039 * dociterator.[Ch]: drop the BufferView * member which is not needed
2040 anymore after the change to buffer.C
2042 * paragraph_funcs.C:
2046 * BufferView_pimpl.[Ch]:
2048 * cursor_slice.[Ch]: adjust
2050 * text3.C: fix bug in mathDispatch
2052 2004-03-08 André Pönitz <poenitz@gmx.net>
2054 * undo.[Ch]: use 'StableDocumentIterator' as base for
2057 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2060 * bufferparams.[Ch]: add jurabib support and param.
2062 * LaTeX.C: add FIXME/comment.
2064 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2066 * buffer.C: increment file format to 230.
2068 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2070 * cursor.C (dispatch): avoid infinite loops
2072 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2074 * rowpainter.C (paintSelection): fix x coordinates
2076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2078 * text.C (rowBreakPoint): fix breaking before displayed insets
2080 2004-03-01 André Pönitz <poenitz@gmx.net>
2082 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2084 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2088 * BufferView_pimpl.C:
2096 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2102 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2103 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2105 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2107 * Bidi.[Ch] (computeTables): const correctness
2108 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2109 fill_hfill, fill_label_hfill and x from Row
2110 * lyxtext.h: prepareToPrint returns a RowMetrics
2111 * rowPainter.C: adjust
2112 * text.C (prepareToPrint): use width, not textWidth. adjust
2113 (redoParagraphInternal, cursorX): adjust
2114 * text2.C (getColumnNearX): adjust
2115 (init): put a default value to the top LyXText::width
2117 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2119 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2121 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2123 * lyxtext.h: add FontIterator class
2125 * text.C (FontIterator, operator*, operator->, operator++): add
2126 (rowBreakPoint, setRowWidth): adjust (fixing a
2129 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * BufferView_pimpl.C (workAreaDispatch): allow also
2132 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2134 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2136 * text.C (rowBreakPoint): fix a bug showing with very large insets
2138 2004-02-25 André Pönitz <poenitz@gmx.net>
2141 * cursor.[Ch]: move some mathed specific code to mathed
2143 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2145 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2146 use_tempdir in preferences
2147 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2149 * lyx_main.C: ensure that tempdir is valid
2150 * lyxlex.h: correct typo
2151 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2152 * paragraph.[Ch] (isMultiLingual): make const
2153 * cursor.[Ch] (openable): make const
2155 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2157 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2159 2004-02-20 André Pönitz <poenitz@gmx.net>
2161 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2163 * cursor.[Ch]: prepare for localized getStatus()
2169 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2171 2004-02-20 André Pönitz <poenitz@gmx.net>
2173 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2175 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2177 * text2.C (setCursorFromCoordinates): switch to absolute coords
2179 (cursorDown): adjust
2180 * text3.C (dispatch): adjust
2182 2004-02-16 André Pönitz <poenitz@gmx.net>
2184 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2187 * cursor_slice.[Ch]: remove unneeded acessor function
2189 * lyxtext.h: rename rtl() to isRTL()
2197 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2199 * rowpainter.C (paintSelection): coord fix
2201 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2203 * Spacing.C: compile fix
2205 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2207 * cursor.C (dispatch): restore current_ before returning
2209 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2211 * text2.C (cursorUp, cursorDown): fix coords
2214 2004-02-12 André Pönitz <poenitz@gmx.net>
2219 * text3.C: add LCursor & parameter to most cursor movement functions
2220 remove usage of LyXText::cursorRow() and cursorPar()
2222 * cursor.[Ch]: add textRow() needed members
2225 * BufferView_pimpl.C:
2228 * BufferView_pimpl.C: adjust
2230 2004-02-11 André Pönitz <poenitz@gmx.net>
2234 * BufferView_pimpl.C: shift undo/redo handling
2236 * cursor.[Ch]: fix mathed crash
2239 * lyxtext.h: move selectionAsText to LCursor
2247 * rowpainter.C: fix excessive drawing
2249 2004-02-06 André Pönitz <poenitz@gmx.net>
2252 * BufferView_pimpl.[Ch]:
2253 * text3.C: move some text specific LFUN handling
2255 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2257 * text3.C (checkInsetHit): adjust coords
2258 * text2.C (getColumnNearX): adjust coords
2259 (edit): adjust coords
2260 * text.C (getRowNearY): add two asserts
2262 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2265 * format.C: add using std::distance to compile on gcc 2.95/stlport
2267 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2269 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2271 2004-02-04 André Pönitz <poenitz@gmx.net>
2273 * BufferView.[Ch] (insertInset):
2274 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2279 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2281 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2282 on the default clause of the switch
2283 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2284 wasn't catched by LCursor::dispatch
2286 2004-02-03 André Pönitz <poenitz@gmx.net>
2289 * cursor.[Ch]: some additional asserts
2291 * undo.[Ch]: remove LyXText dependency in interface
2295 * lyxtext.h (firstPar, lastPar): remove dead functions
2300 * paragraph.[Ch]: adjust
2302 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2304 * lyxfind.C (find): fix argument order in call to ::find
2306 2004-02-02 André Pönitz <poenitz@gmx.net>
2308 * cursor.[Ch]: remove direct access to anchor
2310 * text.C: remove findText() hack
2312 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2314 * iterators.[Ch] (lockPath): remove in favour of...
2315 * BufferView.[Ch] (setCursor): this addition
2316 * BufferView.C (putSelectionAt): adjust
2317 * undo.C (performUndoOrRedo): adjust
2318 * lyxfunc.C (dispatch): adjust
2320 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2322 * iterators.C (lockPath): add a missing slice
2323 * undo.C (performUndoOrRedo): remove redundant positioning code
2325 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2327 * vc-backend.C (scanMaster): ";" -> ';'
2329 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2331 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2332 std::binary_function
2334 * lyxtextclass.C (compare_name): rename to...
2335 (LayoutNamesEqual): ...this
2337 * lyxlex_pimpl.C (compare_tags): inherit from
2338 std::binary_function, put back into anon namespace
2340 * lyxfind.C (MatchString): inherig from std::binary_function
2341 (findChange): use empty() istead of !size()
2343 * format.C (FormatNamesEqual): new functor
2350 * converter.C (compare_Converter): rename to...
2351 (ConverterEqual): ...this, and fixup a bit.
2352 (getConverter): use it, and make function const
2353 (getNumber): use it, and make function const
2357 * bufferlist.C: add using boost::bind
2359 * MenuBackend.C (MenuNamesEqual): new functor
2360 (hasMenu): use it, and make function const
2361 (hasSubmenu): use nested bind to get rid of compare_memfun.
2363 2004-01-30 André Pönitz <poenitz@gmx.net>
2365 * BufferView_pimpl.C:
2368 * cursor_slice.[Ch]:
2371 * paragraph_funcs.C:
2372 * paragraph_funcs.h:
2376 * text3.C: move some of the edit(x,y) handling to the insets
2377 some coordinate changes.
2379 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2381 * text.C: add using statements for std::advance and std::distance
2383 * paragraph.C: add using statement for std::distance
2385 * lyxfind.C: add using statement for std::advance
2387 * cursor.C (region): remove std:: from swap
2388 (openable): use nucleus in stead of operator->
2390 * BufferView.C: add using statements for std::distance and std::swap
2392 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2394 * iterators.C: Remove the pimple, move the needed structures to
2395 the header file. Create accessor for the positions stack.
2396 (asPosIterator): remove function
2398 * PosIterator.C (PosIterator): move constructors to top of file
2399 (PosIterator): reimplement the constructor taking a ParIterator in
2401 (setFrom): new function
2402 (operator!=): inline it
2404 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2406 * lyxfind.C (replaceAll): use std::advance
2408 * iterators.h: inherit from std::iterator.
2410 * PosIterator.C (advance, distance): remove
2411 * PosIterator.h: interit from std::iterator.
2413 2004-01-26 André Pönitz <poenitz@gmx.net>
2416 * BufferView_pimpl.[Ch]:
2420 * bufferview_funcs.C:
2430 * output_linuxdoc.C:
2431 * output_plaintext.C:
2433 * paragraph_funcs.[Ch]:
2434 * paragraph_pimpl.[Ch]:
2440 * text3.C: more IU: dumps most of the rest of the mathcursor
2441 implementation into cursor.[Ch]; "globalize" a bit of it.
2443 2004-01-25 Angus Leeming <leeming@lyx.org>
2445 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2447 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2449 * LaTeXFeatures.h: add nice_ and nice() const
2450 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2452 2004-01-20 André Pönitz <poenitz@gmx.net>
2455 * BufferView_pimpl.C:
2457 * bufferview_funcs.C:
2459 * cursor_slice.[Ch]:
2470 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2471 LCursor and mathcursor parts to LCursor and InsetBase.
2473 2004-01-15 André Pönitz <poenitz@gmx.net>
2475 * cursor_slice.[Ch]: add a few covienience functions
2477 * funcrequest.[Ch]: remove BufferView * member
2479 * BufferView_pimpl.C:
2486 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2488 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2490 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2491 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2493 2004-01-13 André Pönitz <poenitz@gmx.net>
2496 * lyxtext.h: hide cursor and selection anchor behind accessor function
2499 * BufferView_pimpl.[Ch]:
2501 * bufferview_funcs.C:
2511 * cursor_slice.[Ch]: some integer type changes for inset unification
2513 * lyxcursor.[hC]: remove, it's CursorSlice now.
2516 * BufferView_pimpl.[Ch]:
2517 * bufferview_funcs.C:
2523 * textcursor.[Ch]: adjust
2525 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2527 * text2.C (undoSpan): add and use
2528 * text.C (breakParagraph): use undoSpan (fix bug 578)
2531 2004-01-08 Angus Leeming <leeming@lyx.org>
2533 * BufferView_pimpl.C (MenuInsertLyXFile):
2534 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2535 * lyxfunc.C (menuNew, open, doImport):
2536 FileFilterList change to the FileDialog open and save functions.
2538 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2540 * ShareContainer.h: make isEqual and isUnique adaptable
2542 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2544 2004-01-07 Angus Leeming <leeming@lyx.org>
2547 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2549 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2551 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2552 functions replacing find, replace and replaceAll.
2554 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2555 LFUN_WORDFIND(FORWARD|BACKWARD).
2557 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2559 * text.C (breakParagraph): remove an outdated #warning
2561 2004-01-07 André Pönitz <poenitz@gmx.net>
2563 * lyxfind.C: somewhat clearer logic
2565 * text.C: prevent crash in cursorX on unitialized row cache
2567 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2569 * lyxcursor.[Ch] (operator>): add
2570 * textcursor.C (selStart, selEnd): use std::min and std::max
2572 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2574 * Chktex.C: include boost/format.hpp
2576 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2578 * InsetList.C: replace functor MathcIt with adaptable functor
2580 (insetIterator): modify accordingly
2582 * BranchList.h: move the BranchNamesEqual functor here from...
2583 * BranchList.C: ... to here
2585 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2587 (add): replace a finding loop with std::find_if.
2589 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2591 * output_docbook.C: moving LatexParam functionality into
2594 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2596 * buffer.C: increment format to 229.
2598 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2601 * lyx_sty.[Ch]: remove minipageindent_def
2607 * text3.C: remove LFUN_INSET_MINIPAGE
2609 2003-12-28 Angus Leeming <leeming@lyx.org>
2611 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2613 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2615 * text2.C (setParagraph): fix off-by-one crash
2617 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2619 * output_docbook.C: header stuff for AGU
2621 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2623 * text2.C (redoCursor): remove
2626 * BufferView_pimpl.C: remove calls to redoCursor and
2627 setCursor(cursor.par(), cursor.pos()) all around
2629 2003-12-15 Angus Leeming <leeming@lyx.org>
2631 * buffer.C: up the format to 228.
2633 2003-12-15 André Pönitz <poenitz@gmx.net>
2635 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2640 * BufferView_pimpl.C:
2649 2003-12-15 Angus Leeming <leeming@lyx.org>
2651 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2652 than getFromGUIName to manipulate the color.
2654 2003-12-14 Angus Leeming <leeming@lyx.org>
2656 * BranchList.[Ch]: minimize the API.
2657 (Branch::getBranch, getColor): now return a 'const &'.
2658 (Branch::setSelected) now returns a bool set to true if the
2659 selection status changes.
2660 (BranchList::clear, size, getColor, setColor, setSelected,
2661 allBranches, allSelected, separator): removed.
2662 (BranchList::find): new functions, returning the Branch with
2664 (BranchList::add, remove): return a bool indicating that
2665 the operation was successful.
2667 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2668 new InsetBranch::isBranchSlected member function.
2670 * LColor.[Ch]: mimimize the API.
2671 (fill): renamed as addColor and made private.
2672 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2673 versions of these functions taking a string arg have been removed.
2675 * bufferparams.C (readToken):
2676 * lyxfunc.C (dispatch):
2677 * lyxrc.C (read): changes due to the altered BranchList and
2680 * factory.C (createInset, readInset): changes due to altered
2683 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2686 * lyxfunc.C: remove insetminipage. "minipage-insert"
2687 now produces a frameless minipage box inset.
2689 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2691 * textcursor.[Ch] (selStart,selEnd): add new methods
2692 remove selection::start, end, use LyXCursor::operator<
2693 * lyxcursor.[Ch] (operator<): add
2694 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2695 * BufferView.[Ch] (unsetXSel): add
2696 * text2.C (clearSelection): use unsetXSel,adjust
2699 * rowpainter.C: adjust
2700 * bufferview_funcs.C (put_selection_at): adjust
2702 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2704 * BufferView_pimpl.C: small coord. correction
2706 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2708 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2709 dragging over the splash screen.
2711 2003-12-11 Angus Leeming <leeming@lyx.org>
2713 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2714 as it is now handled in LyXText::dispatch.
2716 * text3.C (doInsertInset): remove a level of nesting.
2718 2003-12-11 Angus Leeming <leeming@lyx.org>
2720 * factory.C (createInset): changes due to the changed interface to
2721 InsetCommandMailer::string2params.
2723 2003-12-10 Angus Leeming <leeming@lyx.org>
2725 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2726 'dialog-show-new-inset <inset name>'
2728 2003-12-10 Angus Leeming <leeming@lyx.org>
2730 * buffer.C: up the format to 227.
2732 * factory.C: the box inset is now identified simply by 'Box'.
2734 2003-12-10 Angus Leeming <leeming@lyx.org>
2736 * buffer.C: up the format to 226.
2738 * factory.C: the note inset is now identified simply by 'Note'.
2740 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2742 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2743 when a pit is enough. Standarize a couple of loops.
2745 2003-12-05 Angus Leeming <leeming@lyx.org>
2747 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2748 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2749 data to the re-worked "log" dialog.
2751 2003-12-03 André Pönitz <poenitz@gmx.net>
2757 * paragraph_funcs.C:
2759 * text2.C: use Inset::getText instead of Inset::getParagraph
2761 2003-12-03 André Pönitz <poenitz@gmx.net>
2765 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2766 InsetText::read() as LyXText::read()
2768 2003-12-02 Angus Leeming <leeming@lyx.org>
2770 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2771 type. Add a comment in the implementation that the function uses
2772 the stream's bad() function rather than fail() as the std::streams
2775 2003-12-02 André Pönitz <poenitz@gmx.net>
2777 * lyxlex.[Ch]: make interface more similar to std::stream
2779 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2781 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2783 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2785 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2787 * vspace.[Ch]: remove VSpace::NONE
2789 2003-12-01 André Pönitz <poenitz@gmx.net>
2792 * lyxtext.h: move ParagraphList member to LyXText
2793 rename LyXText::ownerParagraphs to LyXText::paragraph
2796 * bufferview_funcs.C:
2806 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2808 * undo.C: fix cursor positioning
2810 2003-12-01 John Levon <levon@movementarian.org>
2812 * BufferView_pimpl.C: fix a crash on exit with
2815 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2817 * BranchList.C: fix setSelected() method.
2819 2003-11-28 André Pönitz <poenitz@gmx.net>
2821 * ParagraphParameters.[Ch]:
2822 * ParameterStruct.h: remove space above/below from Paragraph to
2825 * BufferView_pimpl.C:
2831 * paragraph_funcs.C:
2837 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2839 * factory.C: Syntax change for CharStyles
2841 2003-11-28 André Pönitz <poenitz@gmx.net>
2846 * buffer.[Ch]: move LyXText member
2848 2003-11-28 André Pönitz <poenitz@gmx.net>
2850 * BufferView.[Ch]: make LyXText * text a private member
2852 * BufferView_pimpl.C:
2863 * output_plaintext.C: cleanup
2865 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2868 * lyxtextclass.[Ch]: parametrize SGML document header
2870 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2873 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2876 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2878 * text2.C (setFont): rework using PosIterator (no more recursive)
2879 (setCharFont): no more needed
2880 (setLayout): no more selection cursors fiddling (done by redoCursor)
2881 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2882 destroy remaining ones)
2884 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2886 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2888 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2891 * text3.C: adjust + re-allow multi par depth changes
2892 * textcursor.C: simplify a bit
2894 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2900 * src/output_docbook.C:
2901 * src/output_latex.C:
2906 * src/text2.C: Introducing a number of tags parametrizing various
2907 XML formats that we may want to support
2909 2003-11-25 André Pönitz <poenitz@gmx.net>
2911 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2913 * lyxtext.h (leftMargin/rightMargin): simplify interface
2920 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2922 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2923 master file to any child files. Fixes bug 546.
2925 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2927 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2929 2003-11-24 André Pönitz <poenitz@gmx.net>
2931 * rowpainter.C: simplification
2933 * text2.C (updateCounters): remove call to redoParagraph on
2934 changed labels as this is far too expensive.
2936 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2938 * converter.C (convert): fix a crash: this function gets
2939 called with buffer == 0 from importer code.
2941 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2943 * text3.C (cursorPrevious): make sure that we do not compare
2944 iterators form different containers.
2947 * rowpainter.C (paintSelection): make sure that we do not compare
2948 iterators from different containers.
2950 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2951 iterators from different ParagraphList containers.
2954 * text2.C (LyXText): change order of initialization slightly
2955 (operator=): new function. copy all variables except cache_par_
2956 (moveUp): make sure that we do not compare iterators from
2957 different ParagraphList constainers.
2960 * text.C (firstPar): new function
2961 (lastPar): new function
2962 (endPar): new function
2964 * lyxtext.h: move things around and group public functions, public
2965 variables, private functions, private variables
2967 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2969 * factory.C: change call to InsetERT constructor to avoid
2970 additional invocation of method status
2971 * text2.C (toggleInset): remove redundant update() call
2972 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2973 instead of a Bufferview pointer
2975 2003-11-21 André Pönitz <poenitz@gmx.net>
2977 * rowpainter.C: simplification
2979 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2981 * text3.C (dispatch): make possible to extend a word/row selection
2984 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2986 * lyxtext.h: x0_,y0_ -> xo_,yo_
2987 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2988 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2989 * rowpainter.C (paintRows): paint full paragraphs
2991 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2993 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2996 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2998 * lyxtext.h: add x0_, y0_
2999 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3000 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3002 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3004 * text2.C (setCursorIntern): move the x_target update here *
3005 * text3.C: change some bv() to true/false in calls to
3006 cursorUp/Down/Right/Left
3007 * cursor.C: use helper function.
3009 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3011 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3012 * paragraph_funcs.[Ch]: correct comment
3013 * rowpainter.C: do not paint selections away from bv->cursor()
3014 Fix a long standing selection painting bug.
3015 * text3.C: generalize mouse-selection code to LyXTexts other that
3017 * textcursor.C: do not use y coords if we can use par offsets
3019 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3021 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3022 cursor position after e.g. inset insert)
3024 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3026 * lyxfind.C (replace): adjust to locking removal + some
3029 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3031 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3034 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3037 * output_docbook.C: XML sanitation: new layout
3038 parameters InnerTag and CommandDepth
3040 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3042 * BufferView_pimpl.C:
3044 * text3.C: Fix the insertion and modification of button-style
3047 2003-11-13 André Pönitz <poenitz@gmx.net>
3049 * InsetList.[Ch]: remove deleteLyXText
3051 * paragraph.[Ch]: cache beginOfBody position
3056 * text3.C: remove superfluous update() calls
3060 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3062 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3063 * BufferView.C (fitLockedInsetCursor): remove
3064 * cursor.[Ch] (getDim): add
3065 * text.C (getRowNearY): add faster version
3066 * text3.C: remove some update calls
3068 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3080 * text3.C: The Character Style /XML short element patch.
3082 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3085 * factory.C: Small step to solving 'unable to insert some insets'
3088 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3090 * cursor.[Ch] (updatePos): new function for updating the y
3091 position of the tip inset
3092 * bufferview_funcs.C (put_selection_at):
3093 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3095 2003-11-11 André Pönitz <poenitz@gmx.net>
3097 * text.C: remove big comment on invalid Paragraph pointers as it is
3100 2003-11-11 André Pönitz <poenitz@gmx.net>
3102 * text_funcs.[Ch]: merge with ...
3110 * Makefile.am: remove text_funcs.[Ch]
3112 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3114 * cursor.C (getPos): return absolute cached y coord
3116 * BufferView_pimpl.C (fitCursor): new simplistic code
3117 (workAreaDispatch): add a fitCursor call
3119 2003-11-10 André Pönitz <poenitz@gmx.net>
3122 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3124 2003-11-10 André Pönitz <poenitz@gmx.net>
3126 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3127 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3128 indicate that the cursor needs to leave an inset
3130 * lyxtext.h: remove inset locking
3132 * cursor.[Ch]: re-implement functionality provided by inset locking
3135 * BufferView_pimpl.[Ch]:
3137 * bufferview_funcs.[Ch]:
3149 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3151 * PosIterator.[Ch]: replace the stack with a vector, add inset
3153 * iterators.[C]: adjust
3155 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3157 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3159 * paragraph_funcs.C (readParToken): put the correct id in the
3160 error item, not the id of the top paragraph
3162 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3164 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3165 * bufferview_funcs.C (put_selection_at): use the above
3167 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3169 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3171 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3173 * output_linuxdoc.h:
3174 * output_plaintext.h:
3176 * output_docbook.h: add #include statements
3178 2003-11-05 José Matos <jamatos@lyx.org>
3180 * output_docbook.[Ch]:
3181 * output_latex.[Ch]:
3182 * output_linuxdoc.[Ch]:
3183 * output_plaintext.[Ch]: New files for output formats.
3184 * output.[Ch]: New file for helper functions.
3187 * paragraph_funcs.[Ch]: output functions moved to new files.
3189 * outputparams.h: rename of latexrunparams.h
3197 * paragraph_funcs.[Ch]:
3198 * paragraph_pimpl.[Ch]:
3199 * tabular.[Ch]: rename ascii to plaintext
3200 and LatexRunParams to OutputParams.
3202 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3204 * iterators.[Ch] (text): require bv argument
3205 * undo.C (recordUndo):
3206 * lyxfunc.C (dispatch):
3207 * bufferview_funcs.C (put_selection_at): adjust
3209 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3211 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3213 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3215 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3218 2003-11-04 André Pönitz <poenitz@gmx.net>
3220 * cursor.[Ch]: restructure
3223 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3225 * iterators.[Ch] (asCursor): remove
3227 * lfuns.h: remove LFUN_INSET_EDIT
3233 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3235 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3237 * lyxfind.[Ch]: complete overhaul
3238 * BufferView_pimpl.C:
3240 * paragraph.[Ch] (insert): add
3242 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3246 * text.C: remove dead spellcheck code
3248 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * dispatchresult.h: add a val setter
3252 * cursor.C (dispatch): use a tempvar for data_[i]
3254 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3256 * PosIterator.[Ch]: compile fix
3258 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3260 * text.C (cursorPar): deactivate the cursor cache
3262 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3264 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3266 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * text3.C (dispatch): adjust for new DisptchResult semantics.
3270 * lyxfunc.C (dispatch): handle update when return from
3271 Cursor::dispatch, adjust for new DispatchResult semantics.
3273 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3274 DispatchResult(true) mean to not update. Add class functions for
3275 setting dispatched and update, as well as reading.
3277 * cursor.C (dispatch): don't handle update here
3279 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3281 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3282 * trans_mgr.C: adjust
3284 * paragraph_funcs.C (readParToken): exception safety
3286 * lyxvc.h: store the vcs pointer in a scoped_ptr
3289 * lyxsocket.C (serverCallback): exception safety
3291 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3293 * ispell.C (clone): make it return a auto_ptr
3295 * factory.C (createInset): exception safety
3296 (readInset): exception safety
3298 * bufferlist.C (newBuffer): exception safety
3300 * Thesaurus.C (Thesaurus): use initialization for aik_
3302 * MenuBackend.C (expandToc): exception safety.
3304 2003-11-03 André Pönitz <poenitz@gmx.net>
3308 * bufferview_funcs.C: remove getInsetFromId()
3311 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3317 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3319 * PosIterator.C (distance, advance): new
3320 * bufferview_funcs.[Ch] (put_selection_at): new
3321 * iterators.[Ch] (lockPath): new
3323 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3325 * iterators.[Ch] (asPosIterator): added
3326 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3327 * PosIterator.[Ch]: added
3329 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * cursor.C (dispatch):
3334 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3336 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3337 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3338 contructor, add a class function dispatched. Remove operator>=
3340 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * debug.C: only use the default constructor for debugstream
3345 * main.C (main): include debug.h and setup the lyxerr streambuf
3348 2003-10-31 José Matos <jamatos@lyx.org>
3350 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3352 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3353 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3354 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3355 * paragraph_pimpl.C (simpleTeXSpecialC):
3356 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3357 add LatexRunParams argument.
3359 * exporter.C (Export): change call accordingly.
3361 * latexrunparams.h: add new member to take care of the other backends.
3362 2003-10-30 José Matos <jamatos@lyx.org>
3364 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3365 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3366 factorise code for paragraph output.
3368 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3371 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * text3.C (dispatch):
3374 * lyxfunc.C (dispatch):
3375 * cursor.C (dispatch):
3376 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3378 * dispatchresult.h: make the dispatch_result_t ctor explicit
3380 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3383 * buffer.C: small refactoring of docbook stuff
3385 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3390 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3393 operator dispatch_result_t, and operators for == != and >=
3395 * cursor.C (dispatch): adjust for operator dispatch_result_t
3396 removal. comment out call to update
3398 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3400 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3411 * dispatchresult.h: new file, DispatchResult broken out of
3414 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3416 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3418 * text.C (rowBreakPoint): put a hack inside #if 0
3420 2003-10-28 André Pönitz <poenitz@gmx.net>
3424 * paragraph_funcs.C:
3427 * text2.C: general cleanup (lots of small stuff)
3429 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3431 * text2.C (cursorEnd): simple fix to the "end key goes to one
3432 before the end on last row" bug
3434 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3436 * text.C (backspace): fix the "zombie characters"
3438 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3440 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3442 2003-10-27 André Pönitz <poenitz@gmx.net>
3444 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3446 * factory.C: handle new InsetPagebreak, InsetLine
3448 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3449 and move handling into new InsetPagebreak, InsetLine
3451 * BufferView_pimpl.C:
3453 * ParagraphParameters.C:
3454 * ParameterStruct.h:
3459 * paragraph_funcs.C:
3460 * paragraph_pimpl.C:
3466 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3469 * lyxrow_funcs.[Ch]:
3475 * text3.C: remove lastPos uses in favour of Row::endpos
3477 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3479 * undo.C (performUndoOrRedo): fix two crashes by setting a
3480 cursor by hand and reordering some calls. Use bv->lockInset instead
3481 of inset->edit because the latter loses cursor information
3483 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3485 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3487 (rowBreakPoint): fix width. change point to point + 1.
3488 Add a missing check.
3490 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3493 * lyxfunc.C: fix (at least partly) the problems
3494 with the Nav menu and headers inside branch insets
3497 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3499 * paragraph.C (getChar): add strong asserts
3501 * lyxrow_funcs.C (lastPos): remove hideous hack
3503 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3504 (fill): adjust to that (avoid an infinite loop)
3506 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3508 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3510 2003-10-23 André Pönitz <poenitz@gmx.net>
3512 * RowList_fwd.h: change list<> to vector<> to gain speed
3513 after suggestion from Alfredo
3515 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3517 * lyxtext.h: move the bidi stuff from here...
3520 * Bidi.[Ch]: ... to here
3522 2003-10-23 André Pönitz <poenitz@gmx.net>
3525 * text.C (isLastRow, isFirstRow): new functions
3527 * paragraph.h: new width cache member
3529 * rowpainter.C: replace RowList::iterator with Row & where possible
3531 * lyxfunc.C: replace several view()->text with a single call
3533 * toc.C: fix 'unused' warning
3535 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3537 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3538 when woring with stream::pos_type
3539 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3541 2003-10-22 André Pönitz <poenitz@gmx.net>
3544 * text.C: use Row & instead of RowList::iterator
3546 * lyxrow.h: rename end() to endpos()
3552 2003-10-22 Angus Leeming <leeming@lyx.org>
3554 * buffer.[Ch] (fully_loaded): new member function, returning true
3555 only when the file has been loaded fully.
3556 Used to prevent the premature generation of previews and by the
3557 citation inset to prevent computation of the natbib-style label.
3559 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3560 templates are all set up.
3562 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3564 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3566 * text.C: fixed an "oops" in the "is a bit silly"
3569 2003-10-21 André Pönitz <poenitz@gmx.net>
3571 * FuncStatus.[Ch]: small stuff, whitespace
3573 * lyxfont.[Ch]: operator<<() for debug reasons
3577 * lyxtext.h: whitespace, spelling
3579 * paragraph.C: naming of variables
3582 * text2.C: small stuff
3585 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text.C: (1) finish off the inset display() work;
3588 (2) fix the "is a bit silly" bug (accessing char
3591 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3593 * text.C: re-introduce display() for insets, fixing the
3594 various bugs (stretch of line above, math inset
3597 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3599 * text.C (rightMargin): remove spurious semicolon
3601 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3604 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3606 * text3.C: fix one crash due to wrong cursor def
3608 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * vc-backend.C (scanMaster): make the regex static
3612 * LaTeX.C (scanAuxFile): make the regexs static
3614 * text3.C (doInsertInset, dispatch, dispatch):
3615 * text2.C (cursorUp, cursorDown):
3616 * text.C (selectNextWordToSpellcheck):
3617 * BufferView_pimpl.C (dispatch):
3618 * lyxfunc.C (dispatch): localDispatch -> dispatch
3620 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3622 * lyxsocket.C: include <cerrno>
3624 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * lyxfunc.C (dispatch): remove textcache stuff
3628 * bufferlist.C (release): remove textcache stuff
3631 * TextCache.C: delete file
3632 * TextCache.h: delete file
3634 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3636 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3637 delete of the bv_->text.
3638 (resizeCurrentBuffer): remove texcache stuff
3639 (workAreaResize): ditto
3641 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3646 2003-10-16 André Pönitz <poenitz@gmx.net>
3653 * text3.C: speed up by storing y positions per paragraph plus per-row
3654 offset instead of having a 'full' y position in the row.
3656 2003-10-15 André Pönitz <poenitz@gmx.net>
3660 * undo.[Ch]: make undo aware of inner insets
3662 2003-10-14 Angus Leeming <leeming@lyx.org>
3664 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3665 static member functions LyX::ref() and LyX::cref.
3666 (lastfiles): new accessor functions for the new lastfiles_ member var.
3667 (addLyXView, views_): add a new LyXView to the list of views_.
3668 (updateInset): loop over all LyXViews to call their own updateInset
3669 member function, returning a pointer to the Buffer owning the inset.
3671 * BufferView_pimpl.C (loadLyXFile):
3672 * MenuBackend.C (expandLastfiles):
3673 * bufferlist.C (MenuWrite, QuitLyX):
3674 lastfiles is no longer a global variable.
3675 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3677 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3678 static function. Access through LyX::cref().emergencyCleanup().
3680 2003-10-14 André Pönitz <poenitz@gmx.net>
3682 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3684 * undo.[Ch]: restoring part of 'undo in insets'
3687 * undo_funcs.[Ch]: merge with undo.[Ch]
3689 * tabular.C: small cleansing stuff
3691 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3693 * paragraph_funcs.C (readParToken): report unknown insets as error
3694 boxes. Use the outer paragraph as location (also for unknown
3697 * factory.C (readInset): do not abort on reading an unknown inset.
3698 Eat it and return 0.
3700 2003-10-13 Angus Leeming <leeming@lyx.org>
3702 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3704 * lyxrc.C: displayTranslator is now a function,
3705 declared in GraphicsTypes.h.
3707 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3709 * format.C: new placeholder $$a to pass the socket address.
3711 * bufferlist.[Ch]: new function getBufferFromTmp.
3713 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3714 files in the temporary dir.
3716 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3718 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3720 * Makefile.am: add lyxsocket.[Ch].
3722 * lyx_main.C (error_handler): handle SIGPIPE.
3724 2003-10-13 André Pönitz <poenitz@gmx.net>
3726 * BufferView_pimpl.C:
3731 * undo_funcs.[Ch]: use paroffset_type instead of
3732 ParagraphList::iterators to prevent multiple conversion
3733 (and get a more robust interface)
3735 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3739 * text3.C (dispatch): ditto
3741 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3744 move the onlyfile, use onlyfile instead of foundfile in a couple
3747 * DepTable.C (update): flush the error stream a bit more
3749 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * lyxserver.C (callback): adjust
3753 * lyxfunc.C (getStatus): add a missing brace in commented code
3754 (ensureBufferClean): reindent
3755 (dispatch): delete version taking a string
3757 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * LaTeX.C (deplog): move found file handlig from here...
3760 (handleFoundFile): .. to new function here.
3761 (deplog): make sure to discover several files mentioned on the
3764 2003-10-10 André Pönitz <poenitz@gmx.net>
3771 * text3.C: fix some of the tabular crashes
3773 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3775 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3777 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3779 2003-10-09 André Pönitz <poenitz@gmx.net>
3781 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3784 * BufferView_pimpl.C:
3785 * bufferview_funcs.C:
3796 * undo_funcs.C: adjust
3798 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * text2.C (incrementItemDepth): new function, use a backtracking
3801 algorithm to discover the correct item depth.
3802 (resetEnumCounterIfNeeded): new function, use a backtracking
3803 algorithm to discover if counter reset is needed.
3804 (setCounter): use them. Simplify a bit. Add different labels for
3805 different item depths for itemize.
3807 * paragraph.C (Paragraph): remove initialization of enumdepth
3810 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3811 enumerate and itemize. Change the type of itemdepth to signed char.
3813 2003-10-08 André Pönitz <poenitz@gmx.net>
3815 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3820 * tabular.[Ch]: fix crash after 'row-insert'
3822 2003-10-08 Angus Leeming <leeming@lyx.org>
3824 Fix doxygen warnings.
3826 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3827 Remove CutAndPaste:: prefix from header file declaration.
3829 * LColor.h (fill): remove LColor:: prefix from declaration.
3831 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3832 use lyx::depth_type rather than Paragraph::depth_type so that
3833 header file and .C file match.
3835 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3837 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3838 * aspell.C: \file aspell_local.C -> \file aspell.C
3839 * gettext.C: \file gettext.C -> \file src/gettext.C
3840 * gettext.h: \file gettext.h -> \file src/gettext.h
3841 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3842 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3843 * text.C: \file text.C -> \file src/text.C
3845 * toc.C: move comment so that doxygen is not confused.
3847 2003-10-07 Angus Leeming <leeming@lyx.org>
3849 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3851 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3854 * aspell_local.h: add forgotten std::string's.
3856 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3863 * text3.C: The Box patch. Fancybox support, minipage, parbox
3865 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3871 * ParagraphParameters.h:
3881 * lyxtextclasslist.h:
3884 * paragraph_pimpl.C:
3885 * textcursor.h: add <string> and other small fixes to make Lars'
3886 std::string patch compile with STLport.
3888 2003-10-06 Angus Leeming <leeming@lyx.org>
3890 * LColor.h: Add missing #include <string>.
3892 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * All most all file in all subdirs: Make <string> be the prefered
3895 way of getting to std::string, add using declarations.
3897 2003-10-06 André Pönitz <poenitz@gmx.net>
3899 * metricsinfo.C: initialize LyXFont before changing attribute.
3900 (fixes the 'math in \emph is upright' bug)
3902 2003-10-06 André Pönitz <poenitz@gmx.net>
3904 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3906 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3909 * paragraph_pimpl.C: Small fixes to build using STLport
3911 2003-10-02 André Pönitz <poenitz@gmx.net>
3914 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3916 2003-10-01 André Pönitz <poenitz@gmx.net>
3918 * factory.C: assert early
3920 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * lyx_main.C: remove the global debug object
3924 * debug.h: adjust for new debugstream
3926 * debug.C: adjust for new debugstream and keep the global debug
3929 2003-09-22 Angus Leeming <leeming@lyx.org>
3931 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3932 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3933 an incomplete class LyXFont.
3935 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3937 * factory.C: bug fix in branches
3939 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3941 * lyxfunc.C (processKeySym): adjust
3943 (dispatch): change arg name from ev to func, adjust
3944 (sendDispatchMessage): ditto
3946 * lyx_main.C (defaultKeyBindings): adjust keybindings
3947 (deadKeyBindings): ditto
3949 * kbsequence.C (addkey): return a FuncRequest
3951 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3953 * kbmap.C (bind): take a FuncRequest as arg, adjust
3956 (defkey): change to take a FuncRequest as arg, adjust
3957 (findbinding): take a FuncRequest as arg, adjust.
3959 * funcrequest.h (operator=): added
3961 * funcrequest.C (FuncRequest): default kb_action changed from
3962 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3964 * buffer.C (dispatch): simplify
3965 (dispatch): adjust to take a FuncRequest as arg, adjust
3967 * boost.C (assertion_failed): change assertion message slightly
3969 * ToolbarBackend.C (read): simplify
3971 * MenuBackend.C (binding): adjust call to findbinding, add a
3972 message if no binding is found.
3974 (expandToc): correct by adding a empty FuncRequest
3976 * LyXAction.C: include <boost/assert.hpp>
3977 (isPseudoAction): delete function
3978 (LookupFunc): change name to...
3979 (lookupFunc): this. change return type to FuncRequest.
3980 (getActionName): take kb_action as arg, simplify
3981 (funcHasFlag): add an assert, simplify.
3983 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * toc.C (action): return a FuncRequest, simplify
3987 * lyxfunc.C (processKeySym): adjust
3988 (getStatus): delete version that takes an int.
3990 (dispatch): delete version that takes action as int
3992 (sendDispatchMessage): simplify and adjust
3994 * funcrequest.C (getArg): take unsigned int as arg
3996 * ToolbarBackend.C (read): adjust
3997 (add): delete version that takes func as a string.
3998 (getIton): take a FuncRequest as arg
4000 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4003 * MenuBackend.C (MenuItem): add a new construct that only takes a
4004 Kind, simplify the constructor use for submenus.
4006 (expandLastfiles): adjust
4007 (expandDocuments): adjust
4008 (expandFormats): adjust
4009 (expandFloatListInsert): adjust
4010 (expandFloatInsert): adjust
4011 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4013 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4014 Remove class variables lyx_pseudo_map and lyx_arg_map
4016 * LyXAction.C (searchActionArg): delete function
4017 (getPseudoAction): delete function
4018 (retrieveActionArg): delete function
4019 (LookupFunc): make it return kb_action, simplify.
4020 (getActionName): simplify
4022 * factory.C (createInset): fix new bug
4024 2003-09-19 Angus Leeming <leeming@lyx.org>
4026 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4027 masterFilename_ parameter in the include inset.
4029 * factory.C (createInset): changes due to the changes to InsetInclude.
4031 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4033 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4035 2003-09-18 Angus Leeming <leeming@lyx.org>
4038 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4039 Inset::fillWithBibKeys.
4040 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4042 2003-09-18 Angus Leeming <leeming@lyx.org>
4044 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4046 (ctor): pass and store a 'Buffer const &'
4047 (buffer): new member function.
4049 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4050 '*this' to the LaTeXFeatures ctor.
4052 2003-09-18 Angus Leeming <leeming@lyx.org>
4058 * text.C: rename EnumLColor as LColor_color.
4060 2003-09-18 Angus Leeming <leeming@lyx.org>
4062 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4063 remove #include "insets/insetbase.h" from cursor.h.
4065 2003-09-18 Angus Leeming <leeming@lyx.org>
4067 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4068 InsetOld_code to remove #include "inset.h".
4070 * iterators.C: add #include "insets/inset.h"
4072 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4074 * BufferView.C: remove more locking stuff that apparently doesn't
4075 do anything sensible.
4077 2003-09-16 André Pönitz <poenitz@gmx.net>
4080 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4083 2003-09-16 Angus Leeming <leeming@lyx.org>
4085 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4087 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4090 * paragraph.h: remove #include "lyxfont.h". Forward declare
4093 2003-09-16 Angus Leeming <leeming@lyx.org>
4095 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4096 of support/textutils.h.
4097 (isWord): move the contents of support/textutils.h's IsWordChar here.
4103 * text2.C: add #include "paragraph.h".
4106 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4108 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * LaTeX.C: use namespace alias for lyx::support::os
4116 2003-09-16 Angus Leeming <leeming@lyx.org>
4119 * bufferview_funcs.C:
4122 * paragraph_pimpl.C:
4124 * text.C: add #include "LColor.h".
4126 2003-09-16 Angus Leeming <leeming@lyx.org>
4128 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4129 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4131 Store the FontBits::color variable as an int rather than as an
4132 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4135 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4136 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4137 string calls together.
4139 * lyxrc.C: add #include "LColor.h".
4141 2003-09-15 Angus Leeming <leeming@lyx.org>
4143 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4146 2003-09-15 Angus Leeming <leeming@lyx.org>
4148 * LColor.h: add an EnumLColor wrapper for LColor::color.
4150 * lyxfont.[Ch] (color, setColor, realColor):
4151 * lyxtext.h, text.C (backgroundColor):
4152 pass EnumLColor args to/from the functions, rather than LColor::color
4156 * lyxtext.h: forward declare EnumLColor.
4158 * lyx_main.C: add #include "LColor.h".
4160 2003-09-15 Angus Leeming <leeming@lyx.org>
4162 * .cvsignore: add lyx-gtk.
4164 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * ParagraphParameters.C
4173 * bufferview_funcs.C
4183 * vc-backend.C: remove usage of STRCONV
4185 2003-09-15 Angus Leeming <leeming@lyx.org>
4187 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4188 explicitly define the color passed to the painter.
4190 2003-09-15 Angus Leeming <leeming@lyx.org>
4192 * bufferparams.C (BufferParams): reorder member initializers to avoid
4195 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4197 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4198 * text.C (updateRowPositions): remove an unusual nop
4200 2003-09-12 André Pönitz <poenitz@gmx.net>
4202 * BufferView_pimpl.C:
4211 * Counters.[Ch]: finish the 'automatic counters' job
4213 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4215 * aspell.C: include <boost/assert.cpp> (compile fix)
4217 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4219 * boost.C (assertion_failed): use lyx::support::abort instead of
4222 2003-09-10 Angus Leeming <leeming@lyx.org>
4224 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4225 with their _fwd progeny.
4227 2003-09-09 Angus Leeming <leeming@lyx.org>
4229 134 files throughtout the source tree: replace 'using namespace abc;'
4230 directives with the appropriate 'using abc::xyz;' declarations.
4232 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4234 * boost.C (emergencyCleanup): moved here from LAssert.c
4235 (assertion_failed): new function, called by BOOST_ASSERT
4237 * several files: change Assert to BOOST_ASSERT
4239 2003-09-09 Angus Leeming <leeming@lyx.org>
4241 * buffer.[Ch]: Add an Impl class and move Buffer's member
4242 variables into it. As a result move several header files out of
4245 Add header files to lots of .C files all over the tree as a result.
4247 2003-09-09 Angus Leeming <leeming@lyx.org>
4249 * buffer.[Ch]: make Buffer's member variables private. Add
4252 Lots of changes all over the tree as a result.
4254 2003-09-08 Angus Leeming <leeming@lyx.org>
4256 * graph.C: #include <config.h>.
4258 2003-09-08 Angus Leeming <leeming@lyx.org>
4262 * BufferView_pimpl.C:
4291 * toc.C: remove redundant using directives.
4293 2003-09-07 Angus Leeming <leeming@lyx.org>
4295 * LaTeXFeatures.h: remove #include "support/types.h".
4296 * ToolbarBackend.h: remove #include <algorithm>.
4297 * changes.h: remove #include <ctime>.
4298 * debug.h: remove #include <iosfwd>.
4299 * graph.h: remove #include "support/std_string.h".
4300 * lyx_main.h: remove #include <csignal>.
4301 * lyxlex_pimpl.h: remove #include <fstream>.
4302 * sgml.h: remove #include <algorithm>, <utility>.
4303 * toc.h: remove #include "support/std_ostream.h".
4304 Add #include <iosfwd>.
4306 2003-09-07 Angus Leeming <leeming@lyx.org>
4308 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4310 * converter.h: forward declare LatexRunParams.
4311 * encoding.h: remove #include "lyxrc.h".
4312 * lyxtext.h: remove #include "LColor.h".
4313 * lyxtextclass.h: remove #include "support/types.h".
4314 * trans.h: remove #include "tex-accent.h".
4315 * trans_mgr.h: remove #include "tex-accent.h".
4316 * insets/inset.h: remove #include "support/types.h", <vector>.
4317 * insets/insetcollapsable.h: remove #include "LColor.h".
4318 * insets/insetinclude.h: remove #include "dimension.h".
4319 * insets/insetlatexaccent.h: remove #include "dimension.h".
4320 * insets/insetoptarg.h:: remove #include "insettext.h".
4321 * insets/insettext.h: remove #include "dimension.h",
4322 <boost/shared_ptr.hpp>
4324 * insets/renderers.h: add #include "dimension.h".
4325 * insets/updatableinset.h: add #include "support/types.h".
4327 * many .C files: Associated changes.
4329 2003-09-06 Angus Leeming <leeming@lyx.org>
4331 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4332 one, inside testInvariant.
4334 * PrinterParams.C: new file.
4335 * PrinterParams.[Ch]: move the function bodies out of line.
4337 2003-09-06 Angus Leeming <leeming@lyx.org>
4339 * ParagraphParameters.h: forward declare ParameterStruct rather than
4340 including its header file.
4341 (depth): moved out-of-line.
4343 2003-09-06 Angus Leeming <leeming@lyx.org>
4345 * BufferView_pimpl.h:
4348 * lyxfunc.h: forward declare LyXKeySym rather than
4349 #include "frontends/LyXKeySym.h".
4351 * BufferView_pimpl.C:
4354 * lyxfunc.C: associated changes.
4356 2003-09-06 Angus Leeming <leeming@lyx.org>
4358 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4359 As a result, can remove the #include "insets/inset.h" from BufferView.h
4361 2003-09-06 Angus Leeming <leeming@lyx.org>
4363 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4364 As a result, can remove the #include "insets/inset.h" from BufferView.h
4366 2003-09-06 Angus Leeming <leeming@lyx.org>
4372 * bufferview_funcs.C:
4373 * BufferView_pimpl.C:
4378 * ParagraphParameters.C:
4383 * frontends/controllers/ControlDocument.C:
4384 * insets/insetcaption.C: rearrange the #includes into some sort of
4387 * buffer.h: remove #includes ErrorList.h, undo.h
4389 2003-09-06 Angus Leeming <leeming@lyx.org>
4391 * support/types.h: add a 'depth_type' typedef, used to store the
4392 nesting depth of a paragraph.
4395 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4396 defining explicitly.
4399 * paragraph_funcs.h:
4400 * ParagraphParameters.h:
4401 * sgml.h: use lyx::depth_type rather than Paragraph or
4402 ParameterStruct's depth_type.
4405 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4408 * BufferView_pimpl.C:
4410 * ParagraphParameters.C:
4413 * bufferview_funcs.C:
4420 * frontends/LyXView.C:
4421 * frontends/controllers/ControlDocument.C:
4422 * frontends/controllers/ControlErrorList.C:
4423 * insets/insetbibitem.C:
4424 * insets/insetbranch.C:
4425 * insets/insetcaption.C:
4426 * insets/insetcollapsable.C:
4427 * insets/insetenv.C:
4428 * insets/insetert.C:
4429 * insets/insetfloat.C:
4430 * insets/insetfoot.C:
4431 * insets/insetfootlike.C:
4432 * insets/insetnewline.C:
4433 * insets/insetquotes.C:
4434 * insets/insettabular.C:
4435 * insets/insettext.C:
4436 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4438 * frontends/controllers/ControlChanges.C: #include "changes.h".
4440 2003-09-06 Angus Leeming <leeming@lyx.org>
4442 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4443 than #including paragraph.h.
4446 * RowList.h: deleted. Superfluous.
4456 * insets/insettext.h: use ParagraphList_fwd.h rather than
4459 * paragraph.h: don't forward declare ParagraphList.
4462 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4463 rather than ParagraphList.h. paragraph.h is still needed for the
4464 Paragraph::depth_type parameters.
4466 * textcursor.h: enable it to compile stand-alone in light of the
4469 * bufferview_funcs.C:
4481 * frontends/controllers/ControlParagraph.C:
4482 * frontends/controllers/ControlTabular.C:
4483 * insets/insetmarginal.C:
4484 * insets/insetminipage.C:
4485 * insets/insetnote.C:
4486 * insets/insetoptarg.C: add header files needed to compile again.
4488 2003-09-06 Angus Leeming <leeming@lyx.org>
4490 * RowList_fwd.h: new file, forward-declaring Row rather than
4491 #including lyxrow.h.
4496 * insets/insettext.h: use it instead of RowList.h
4498 * bufferview_funcs.C:
4505 * text3.C: #include "RowList.h".
4507 2003-09-05 Angus Leeming <leeming@lyx.org>
4509 * factory.C (createInset):
4510 * vspace.C (c-tor): replace sscanf call with an istringstream.
4511 * ispell.C: re-add missing HP/UX headers.
4512 * lyxserver.C: re-add missing os2 headers.
4514 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4523 * text3.C: re-add missing system headers, needed for 2.95.2.
4525 2003-09-05 Angus Leeming <leeming@lyx.org>
4527 Changes most place everywhere due to the removal of using directives
4528 from support/std_sstream.h.
4530 2003-09-05 Angus Leeming <leeming@lyx.org>
4532 Replace LString.h with support/std_string.h,
4533 Lsstream.h with support/std_sstream.h,
4534 support/LIstream.h with support/std_istream.h,
4535 support/LOstream.h with support/std_ostream.h.
4537 Changes resulting throughout the tree.
4539 2003-09-05 Angus Leeming <leeming@lyx.org>
4541 * sgml.h: ensure that the header file can be compiled stand-alone.
4542 * *.C: strip out redundant #includes. (320 in total.)
4544 2003-09-04 Angus Leeming <leeming@lyx.org>
4546 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4547 here (from getPackages).
4549 * debug.[Ch]: add a new EXTERNAL tag.
4551 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4553 * text2.C (cursorEnd): simplify
4555 (getColumnNearX): adjust
4557 * text.C (computeBidiTables): adjust
4560 * rowpainter.C (paintChars): adjust
4561 (paintSelection): adjust
4562 (paintChangeBar): adjust
4565 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4567 (numberOfSeparators): adjust
4569 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4575 * text3.C: Restricts the mouse click functionality
4576 of insets like bibtex, include, toc and floatlist to the visible
4577 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4578 up the dialogs. Cursor has to be in front of the inset (i.e.
4579 start of row) for this to function.
4581 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4583 * bufferview_funcs.C (currentState): output row information
4585 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4587 * bufferview_funcs.C (currentState): output paragraph position
4589 2003-09-04 Angus Leeming <leeming@lyx.org>
4591 * FloatList.h: move out #include "Floating.h".
4592 * LaTeX.h: move out #include "DepTable.h".
4593 * LyXAction.h: move out #include "funcrequest.h".
4594 * buffer.h: move out #include "author.h", "iterators.h".
4595 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4596 * lyx_main.h: move out #include "errorlist.h".
4597 * lyxfunc.h: move out #include "FuncStatus.h".
4598 * lyxtext: move out #include "lyxcursor.h".
4599 * paragraph_pimpl.h: move out #include "counters.h".
4601 2003-09-03 Angus Leeming <leeming@lyx.org>
4603 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4604 preamble_snippets list, enabling us to add snippets to the preamble
4605 only if the snippet was not there already.
4607 2003-09-04 Angus Leeming <leeming@lyx.org>
4609 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4611 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4616 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4618 * BranchList.C: point fix, earlier forgotten
4620 2003-09-02 Angus Leeming <leeming@lyx.org>
4622 * box.C (contains): renamed from 'contained' after a fantastic
4625 2003-09-02 John Levon <levon@movementarian.org>
4631 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4633 2003-09-02 John Levon <levon@movementarian.org>
4635 * text2.C: simplification of cursorEnd(), including partial
4638 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * buffer.C (readFile): add a space
4642 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4644 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4646 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * buffer.C (readFile): new function, take a filename and a
4649 ParagraphList::iterator
4651 (readFile): adjust, make it private. don't use setStream, make
4652 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4653 always contain the filename.
4655 * BufferView.C (insertLyXFile): simplify and make it work for
4658 2003-08-30 John Levon <levon@movementarian.org>
4660 * Makefile.am: fix dist (from Kayvan)
4662 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * most files: change to use const Buffer refs
4666 2003-08-27 André Pönitz <poenitz@gmx.net>
4668 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4669 on top of ownerPar().
4671 2003-08-27 John Levon <levon@movementarian.org>
4673 * funcrequest.C: properly initialise POD members
4675 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4677 * lyxtext.h (top_y): move top_y from here
4682 * BufferView_pimpl.[Ch]: to here
4683 * frontends/screen.C:
4684 * insets/insettabular.C:
4685 * insets/insettext.C: adjust
4686 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4688 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4691 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4693 2003-08-26 André Pönitz <poenitz@gmx.net>
4695 * paragraph_func.[Ch] (outerPar): new function
4698 * paragraph_funcs.C:
4699 * paragraph_funcs.h:
4700 * paragraph_pimpl.C:
4701 * text2.C: remove Inset::par_owner
4703 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4708 * text2.C: eliminates the needFullRow/display() stuff
4709 altogether, putting the logic in metrics/draw in the insets.
4711 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4713 * text2.C (redoParagraphInternal, redoParagraphs):
4714 * text.C (redoParagraph): add a call to updateRowPositions at the
4715 end of each 'metrics-like' call. Remove all others.
4716 (getRow): remove the 'y-computing' version.
4717 (getRowNearY): do not compute nor return the real y. Solve the
4718 'y < 0' problem and simplify.
4720 2003-08-22 Angus Leeming <leeming@lyx.org>
4722 * *.[Ch]: clean-up of licence and author blurbs.
4723 Also move config.h out of a few .h files and into a few .C files.
4725 2003-08-22 André Pönitz <poenitz@gmx.net>
4727 * lyxrow.[Ch]: add x_ and *fill_ members
4732 * text2.C: adjust/remove prepareToPrint() calls
4734 2003-08-22 André Pönitz <poenitz@gmx.net>
4736 * lyxrow.[Ch]: add end_ member
4738 * lyxrow_funcs.C: use LyXRow::end_
4740 * lyxtext.h (singleWidth): add LyXFont parameter
4743 * text2.C: adjust LyXText::singleWidth() calls
4745 * text.C (redoParagraph): simplify row breaking logic
4748 2003-08-19 André Pönitz <poenitz@gmx.net>
4750 * funcrequest.C: initialize button_ member
4753 * rowpainter.[Ch]: interface consolidation
4755 2003-08-18 André Pönitz <poenitz@gmx.net>
4758 * BufferView_pimpl.C:
4760 * paragraph_funcs.C:
4762 * text3.C: remove LyXScreen::draw() and fitCursor calls
4764 * BranchList.h: remove spurious semicolons
4766 * MenuBackend.C: fix branchlist related crash
4768 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4776 * bufferparams.[Ch]:
4780 * text3.C: implements the 'branch inset'
4781 idea. This allows the output of various versions of a document
4782 from a single source version, selectively outputing or suppressing
4783 output of parts of the text.
4784 This implementation contains a 'branch list editor' in a separate
4785 tab of the document settings dialog. Branches are user definable
4786 and have a "display colour" to distinguish them on-screen.
4788 ColorHandler was somewhat cleaned up.
4789 (1) make possible a dynamically growing LColor list by allowing
4790 the graphic context cache to grow along (vector);
4791 (2) eliminate an IMHO unnecessary step in colour allocation.
4793 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4795 * BufferView_pimpl.C: compile fix
4797 2003-08-15 André Pönitz <poenitz@gmx.net>
4799 * rowpainter.C: remove extra metrics calls
4801 * lyxtext.h: merge the two constructors into a single one,
4802 pass reference to owner's par list
4804 * BufferView_pimpl.C:
4808 2003-08-15 André Pönitz <poenitz@gmx.net>
4810 * lyxrow_funcs.[Ch]:
4813 * paragraph_funcs.C:
4818 * text_funcs.C: split LyXText::rowlist_ into individual
4819 Paragraph::rows_ chunks
4822 * BufferView_pimpl.[Ch]:
4825 * text3.C: remove toggleSelection()
4827 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4829 * bufferlist.C: beautify two alerts (shorter text of buttons)
4830 * buffer.C: Remove redundant ' ' from message
4832 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4833 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4834 rename VALIGN_CENTER to VALIGN_MIDDLE
4836 2003-08-11 André Pönitz <poenitz@gmx.net>
4838 * lyxtext.h (getPar):
4839 * text.C: new function
4841 2003-08-11 André Pönitz <poenitz@gmx.net>
4844 * tracer.[Ch]: remove unneeded files
4846 * InsetList.[Ch]: remove resizeInsetsLyXText()
4851 * text3.C: merge insertParagraphs() and appendParagraph()
4852 remove breakAgain(), update()
4854 * BufferView_pimpl.[Ch]:
4855 * bufferview_funcs.[Ch]:
4859 * tabular.C: adjust after text & InsetList changes.
4861 2003-08-08 André Pönitz <poenitz@gmx.net>
4863 * text.C (insertChar, backspace): replace rowlist fiddling
4864 with rebreak of full par
4867 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4868 checkParagraph, updateInset): removed
4870 2003-08-07 André Pönitz <poenitz@gmx.net>
4873 * text3.C: merge some LFUN handlers, remove dead code
4875 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4877 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4879 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4881 * text2.C (DEPM): fix part of bug 1255 and 1256
4883 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4885 * BufferView_pimpl.C (workAreaDispatch): change to use
4886 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4887 that are no mouse related.
4889 2003-08-05 André Pönitz <poenitz@gmx.net>
4892 * BufferView_pimpl.[Ch]:
4893 * bufferview_funcs.C:
4895 * text3.C: rip out "deep update"
4897 * textcursor.[Ch] (last_sel_cursor): remove unused member
4899 2003-08-04 André Pönitz <poenitz@gmx.net>
4902 * BufferView_pimpl.[Ch]:
4903 * ParagraphParameters.C:
4904 * bufferview_funcs.C:
4910 * text3.C: replace "complicated" BufferView::update(...) calls with
4913 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4915 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4917 * Makefile.am (lyx_SOURCES): add paper.h
4919 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4921 * Makefile.am: move things around so that both lyx-qt and
4922 lyx-xforms can be built (according to --with-frontend). Then lyx
4923 is a symbolic link to lyx-[firstfrontend]
4925 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4927 * Always use std::endl with lyxerr
4929 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4931 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4933 2003-08-01 André Pönitz <poenitz@gmx.net>
4936 * BufferView_pimpl.[Ch]:
4938 * text3.C: merge BufferView::repaint() and BufferView::update()
4940 2003-08-01 José Matos <jamatos@lyx.org>
4942 * buffer.[Ch]: file_format is no longer a buffer data element.
4944 2003-08-01 André Pönitz <poenitz@gmx.net>
4949 * text2.C: make redoParagraph more independent of current cursor
4951 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4953 * text2.C: remove unneeded members
4955 2003-07-30 André Pönitz <poenitz@gmx.net>
4957 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4959 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4960 create a single function...
4962 * paragraph_funcs.C (moveItem): ... here.
4965 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4967 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4969 * LColor.[Ch]: Add comment and greyedout logical colors.
4971 2003-07-30 André Pönitz <poenitz@gmx.net>
4973 * tabular.C: don't use Assert too heavily. This crashes where it
4976 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4978 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4979 is disabled (bug 1232)
4981 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4983 * factory.C: limited 'arg' scope
4985 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4987 * factory.C: fixed Note submenu issues
4989 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4991 * factory.C: submenu for Note/Comment/Greyedout
4993 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4996 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4998 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5001 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5002 greyedout. Patch provided by Jürgen Spitzmüller.
5004 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5006 * kbmap.C (read): fix error message when reading bind files
5008 2003-07-29 Angus Leeming <leeming@lyx.org>
5010 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5011 certainly does not do what it purports to do. I am doing it, and
5012 us, a favour by killing it.
5014 2003-07-28 José Matos <jamatos@lyx.org>
5016 * buffer.C (readBody, do_writeFile):
5017 * paragraph.C(readParagraph): \end_document replaces \the_end.
5019 2003-07-29 André Pönitz <poenitz@gmx.net>
5022 * BufferView_pimpl.[Ch]:
5026 * textcursor.[Ch]: remove toggleToggle & Co
5028 2003-07-28 José Matos <jamatos@fep.up.pt>
5030 * buffer.C (readParagraph):
5031 * params_func (readParToken, readParagraph):
5032 * paragraph.C (write): \layout -> \begin_layout.
5034 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * lyxlex_pimpl.C (setFile): clean up slightly.
5038 * bufferparams.h: add compressed var
5040 * buffer_funcs.C (readFile): adjust for LyXLex change
5041 (newFile): ditto + simplify
5043 * buffer.C (writeFile): handle writing of compressed files
5045 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5046 Check if the file is compressed and set a bufferparm if so.
5048 * Makefile.am (lyx_LDADD): remove explicit -lz
5050 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5052 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5053 makeDocBookFile): put the real LyX version in the first line of
5057 * version.C.in: remove lyx_docversion
5059 * tabular.C (write_attribute): add a template-based version to
5060 write enums properly
5062 2003-07-28 André Pönitz <poenitz@gmx.net>
5067 * text3.C: use doubles again for x-coordinates. They are needed.
5069 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * messages.C (getLocaleDir): use lyx_localedir()
5073 * lyxlex_pimpl.C (setFile): compress stuff
5075 * buffer.C (writeFile): add some compression stuff
5076 (do_writeFile): new func, dont call expliti close... will this
5079 * Makefile.am (lyx_LDADD): add -lz
5081 2003-07-28 José Matos <jamatos@fep.up.pt>
5083 * buffer.C: increment file format.
5084 * paragraph_funcs (readParagraph, readParToken):
5085 * paragraph.C (readParagraph): add \end_layout.
5087 2003-07-27 Angus Leeming <leeming@lyx.org>
5089 * Makefile.am: remove special casing for configure-time setting of
5090 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5092 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5093 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5095 2003-07-26 André Pönitz <poenitz@gmx.net>
5097 * paragraph_func.[Ch]:
5098 * paragraph.C (realizeFont): inline it whereever it is used
5103 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5106 2003-07-26 André Pönitz <poenitz@gmx.net>
5110 * text2.C: get rid of LyXText::need_break_row
5112 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * toc.[Ch]: put namespace toc inside namespace lyx
5116 * MenuBackend.C (expandToc2): adjust for lyx::toc
5119 * lyxfunc.C (dispatch): adjust for lyx::find
5121 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5122 lyx::find instead. Reorganize a bit.
5123 (LyXReplace): rename to replace
5124 (LyXFind): rename to find
5126 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5129 2003-07-26 André Pönitz <poenitz@gmx.net>
5131 * text.C (setHeightOfRow): restrict scope of temporary variable
5133 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5134 code (never has been used?)
5136 2003-07-27 Asger Alstrup <alstrup@local>
5138 * text.C (fill): Optimise algorithm to exploit that we can reuse
5139 the LyXFont for many characters.
5140 (setHeightOfRow): Same thing.
5141 (rowBreakPoint): Same thing.
5143 2003-07-26 Asger Alstrup <alstrup@local>
5145 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5147 * text.C (singleWidth): Spurious font copying in hot-spot
5148 singleWidth avoided. Reorder tests for arabic for efficiency.
5150 * text.C (fill): handle empty paragraphs better.
5152 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5155 * encoding.h: add includes
5157 * lyxrc.C: remove reading of bind files
5159 * lyx_main.C (init): setup bindings and menus only if we have a
5162 * kbmap.C (read): new method. Do the actual reading of bind
5165 * converter.C (dvipdfm_options):
5168 (output): adapt PAPER_* enums.
5170 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5172 * bufferparams.h: remove paper-related enums from there
5174 * paper.h: New file. A trivial header file to hold paper-related
5175 enums. It should later expand to contain many paper-related
5178 * lyxrc.C: declare extern displayTranslator
5180 2003-07-27 José Matos <jamatos@fep.up.pt>
5182 * tabular.[Ch] (linuxdoc): add support for tables and figures
5185 2003-07-27 José Matos <jamatos@fep.up.pt>
5187 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5188 consistency in both functions.
5189 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5191 2003-07-26 Asger Alstrup <alstrup@local>
5193 * rowpainter.C (paintRows): Change algorithm to work directly on
5194 the insets rather than asking every character in the document
5195 whether its an inset.
5197 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5199 * buffer.C (openFileWrite): factorize some code
5201 2003-07-26 Angus Leeming <leeming@lyx.org>
5204 * lyx_main.[Ch]: replace occurances of system_tempdir with
5207 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * rename Inset to InsetOld
5211 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5213 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5214 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5215 which I think is a bit clearer. EDIT is gone, since it was
5216 premature optimisation, and broken for mathed anyway.
5217 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5218 with cursor positioning in insets as well (math insets still do not
5219 work, but that's a different story anyway.) It mysteriously
5220 crashes sometimes with undo in the first paragraph, but I'm fairly
5221 confident that this is a compiler bug.
5223 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * paragraph.C (Paragraph): adjust for new clone return type
5227 (copyIntoMinibuffer): ditto
5229 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5231 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5232 by not having a special case, and always doing a full rebreak of
5233 the document after undo.
5235 2003-07-23 Angus Leeming <leeming@lyx.org>
5237 * factory.C (createInset): InsetExternal::setParams now takes a
5240 2003-07-23 Angus Leeming <leeming@lyx.org>
5242 * factory.C (createInset): changed interface to the external and
5243 graphics mailers' string2params functions.
5245 2003-07-23 Angus Leeming <leeming@lyx.org>
5247 * factory.C (createInset): pass a
5248 Buffer const * parameter to InsetExternalMailer's string2params.
5250 2003-07-22 John Levon <levon@movementarian.org>
5252 * Thesaurus.h: include the right aiksaurus header
5254 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5256 * MenuBackend.C (expand): check menu shortcuts unconditionally
5258 2003-07-21 Angus Leeming <leeming@lyx.org>
5260 * factory.C (createInset): pass a
5261 buffer_path parameter to InsetGraphicsMailer's string2params.
5263 2003-07-21 Angus Leeming <leeming@lyx.org>
5265 * BufferView_pimpl.C (buffer):
5268 * lyxfunc.C (dispatch):
5269 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5270 rather than the grfx shortcut.
5272 2003-07-21 André Pönitz <poenitz@gmx.net>
5274 * rowpainter.C: remove unused variables
5277 * tabular_funcs.h: move to tabular.C
5278 * Makefile.am: adjust
5280 * tabular.[Ch]: basic optical cleaning
5282 * author.h: pass references, not values
5284 2003-07-18 André Pönitz <poenitz@gmx.net>
5292 * text3.C: two-phase drawing for InsetText and InsetTabular
5293 some float -> int changes.
5295 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5297 * lyx_main.C: fix the fix
5299 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5301 * lyx_main.C: fix a crash in batch mode if no files specified
5304 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5306 * format.[Ch] (papersize): moved to BufferParams
5307 * converter.[Ch] (dvips_options): moved to BufferParams
5308 (dvipdfm_options): moved to anon namespace
5309 * bufferparams.[Ch]: added above functions.
5311 2003-07-17 André Pönitz <poenitz@gmx.net>
5315 * text2.C: don't call inset->update() anymore
5317 * metricsinfo.[Ch]: add convenience constructor
5319 2003-07-16 André Pönitz <poenitz@gmx.net>
5324 * text2.C: replace the LyXCursor::irow_ member with
5325 on-demand computation of the value
5327 2003-07-16 John Levon <levon@movementarian.org>
5329 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5331 2003-07-15 André Pönitz <poenitz@gmx.net>
5334 * text2.C: remove no more needed refresh_row
5336 2003-07-15 André Pönitz <poenitz@gmx.net>
5341 * text3.C: refresh_status tristate -> need_update bool
5343 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5345 * lyxtext.h (init): remove reinit argument (act as if always true)
5346 * text2.C: adjust to that
5348 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5350 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5351 * text3.C: use it to delete selections in some cases
5352 (bugs 441, 673, 702, 954).
5354 2003-07-14 André Pönitz <poenitz@gmx.net>
5356 * rowpainter.[Ch]: reduce interface
5358 2003-07-14 André Pönitz <poenitz@gmx.net>
5360 * BufferView_pimpl.C:
5361 * text2.C: adjust after removing unused BufferView * argument
5363 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5365 * text2.C (init): fix a crash fired on resize
5367 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5369 * buffer.[Ch]: added new closing signal
5370 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5371 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5372 BufferView::Pimpl via the closing the signal
5374 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5376 * buffer.[Ch]: take out all bv-related from buffer
5378 * BufferView_pimpl.[Ch]: connect to new signals
5379 * CutAndPaste.C: removed useless asserts
5380 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5383 * lyxfunc.C: moved view-related funciontality from vc here
5384 * paragraph.C: removed outdated comments
5387 2003-07-10 André Pönitz <poenitz@gmx.net>
5389 * BufferView_pimpl.C:
5393 * text2.C: remove InsetText::InnerCache, clean up consequences
5395 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5397 * ispell.C: fix two typos in error messages
5399 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5401 * Extend Note inset to other forms of annotation like Comment
5402 and Greyedout. Right button click gives dialog.
5404 Files modified or added (+):
5408 * ControlNote.[Ch] +
5410 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5411 frontends/controllers
5415 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5417 * aspell.C: add missing namespace lyx::support
5419 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5421 * BufferView.[Ch] (newFile): Add
5422 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5423 * LaTeX.[Ch] (message): added this signal and use it
5424 * buffer.[Ch] (busy, message): added these signals and use them
5425 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5429 * importer.C: use buffer signals instead of direct bv calling
5430 * lyx_cb.[Ch] (ShowMessage): removed
5433 * paragraph_funcs.C:
5434 * text2.C: use buffer signals
5436 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5438 * introduce namespace lyx::graphics
5440 2003-07-02 André Pönitz <poenitz@gmx.net>
5442 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5444 2003-07-01 André Pönitz <poenitz@gmx.net>
5451 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5452 text*.C to text_func.C
5454 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * introduce namespace lyx::support
5458 2003-06-30 André Pönitz <poenitz@gmx.net>
5463 * text.C: re-enable --with-included-string
5465 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * textcursor.C: add <config.h>
5469 * text.C (getWord): remove const from word_location arg
5471 * lyxvc.C (getLogFile): fix const type order
5473 * lyxtext.h: remove const from word_location arg, add arg name
5475 * lyxlayout.h: currect type on labeltype.
5477 * importer.C: correct \file
5479 * converter.C (intToFormat): use std:: on ret val, ws changes
5481 * bufferlist.h: correct \file
5483 * buffer.C (makeLinuxDocFile): fix const type order
5484 (makeDocBookFile): ditto
5485 (fillWithBibKeys): use std:: on stdlib args.
5487 * CutAndPaste.C: fix authors.
5488 (availableSelections): use std:: on return vector
5490 2003-06-27 André Pönitz <poenitz@gmx.net>
5492 * BufferView_pimpl.C:
5493 * bufferview_funcs.C:
5501 * text3.C: remove LyXCursor::row_ member
5504 * text.C: rename fullRebreak() to partialRebreak() and implement
5505 a fullRebreak() that really bereks fully
5507 * textcursor.h: new struct for cursor-related data
5509 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5511 * lyx_main.C (LyX): get full path of document loaded on the
5514 2003-06-26 André Pönitz <poenitz@gmx.net>
5516 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5517 remove unused/broken operator>,<,>=.
5519 * text.C: remove only use of broken operator<= in an Assert().
5521 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5523 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5524 moved errorlist_.clear to showErrorList
5526 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5528 * converter.C (scanLog, runLaTeX):
5529 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5530 move the bv->showErrorList call to the callers
5531 * lyxfunc.C: i.e. here...
5533 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5534 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5535 namespace, the second to...
5536 * buffer_funcs (BufferFormat, parseErrors): added
5537 * errorlist.C (ErrorList(TeXErrors const &)): removed
5539 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5541 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5543 2003-06-24 "Garst R. Reese" <reese@isn.net>
5547 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5549 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5551 * version.C.in: change docversion to 1.4
5553 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5555 * buffer.C: fix a bug just introduced
5557 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5559 * buffer.[Ch]: added the parseError signal and use it, removed
5561 * BufferView.[Ch] (addError): moved to ...
5562 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5563 to the Buffer::parseError signal to catch (guess what) parse errors
5564 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5566 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5568 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5569 ability to create a buffer and to return an existing one from
5570 the list. Moved these functions to...
5571 * buffer_funcs.[Ch]: added
5572 * BufferView.[Ch] (loadLyXFile): added
5573 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5574 job removed from bufferlist::loadLyXFile.
5575 * buffer.C (setReadOnly): make it work without view
5576 (i.e added an if (users))
5578 2003-06-19 Angus Leeming <leeming@lyx.org>
5581 * LyXAction.C (init):
5582 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5583 with LFUN_DIALOG_SHOW <name> <data>.
5585 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5587 * CutAndPaste.C (availableSelections): small compilation fix for
5588 ancient (gcc 2.9x) compilers
5590 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * text3.C (cursorNext): add tmp var
5594 * text2.C (updateCounters): for function calling out of for clause
5595 (replaceSelectionWithString): ditto
5596 (insertStringAsParagraphs): ditto
5597 (getColumnNearX): add tmp var
5598 (setCursorFromCoordinates): add tmp var
5599 (cursorDownParagraph): add tmp var
5600 (deleteEmptyParagraphMechanism): add tmp var
5602 * text.C (insertChar): add tmp var
5604 * rowpainter.C (paintDepthBar): add tmp var
5606 * CutAndPaste.C (availableSelections): potentially check all
5607 paragraphs in a cut to fill the shown strings.
5609 2003-06-18 André Pönitz <poenitz@gmx.net>
5611 * kbmap.[Ch]: use vector<> instead of list<>
5613 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5615 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5616 pasteSelection with index
5618 * text2.C (pasteSelection): modify, call pasteSelection with index
5620 * paragraph.C (asString): reimplement version with no interval to
5621 call the one with interval.
5623 * lyxtext.h: add index arg to pasteSelection
5625 * MenuBackend.C (MenuItem): handle PasteRecent
5626 (Menu::read::Menutags): add md_pasterecent
5628 (expandPasteRecent): new function
5631 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5633 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5635 (availableSelections): new function
5637 2003-06-17 Angus Leeming <leeming@lyx.org>
5639 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5641 2003-06-17 Angus Leeming <leeming@lyx.org>
5644 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5646 * lyxfunc.C (dispatch): invoke it.
5648 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5650 * iterators.C (operator++, ParPosition): reintroduce some
5651 const_cast for the benefit of older compilers.
5653 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5655 * text3.C (dispatch): do not modify clipboard when doing
5656 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5657 LFUN_DELETE_SKIP on a selection selection
5659 2003-06-16 André Pönitz <poenitz@gmx.net>
5665 * tabular.[Ch]: IU of clone() and getLabelList();
5667 2003-06-13 André Pönitz <poenitz@gmx.net>
5669 * tabular.h: compactification
5671 2003-06-12 André Pönitz <poenitz@gmx.net>
5675 * tabular_funcs.h: some renaming plus whitespace
5677 2003-06-12 André Pönitz <poenitz@gmx.net>
5680 * BufferView_pimpl.C:
5686 * toc.C: Return a Paragraph & for ParIterator::operator*()
5688 2003-06-11 John Levon <levon@movementarian.org>
5692 * ToolbarBackend.C: add "Toolbars" section and
5695 2003-06-10 Angus Leeming <leeming@lyx.org>
5698 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5700 * lyxfunc.C (dispatch): invoke it.
5702 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * main.C: protect <ios> with HAVE_IOS
5705 (main): protect sync_with_stdio with HAVE_IOS
5707 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5709 * text2.C (cutSelection): adjust
5710 (pasteSelection): adjust
5712 * messages.C: handle get of empty string
5714 * main.C (main): use sync_with_stdio(false)
5716 * lyxfunc.C (dispatch): adjust
5718 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5719 (WriteAs): remove unneeded BufferView arg.
5721 * bufferparams.h: use correct types on papersize, papersize2 and
5724 * bufferparams.C (readToken): adjust for type
5725 (writeLaTeX): add missing cases to switch.
5727 * bufferlist.C (quitWriteBuffer): adjust
5730 * buffer.C (asciiParagraph): remove some commented code.
5732 * CutAndPaste.C: remove current_view extern variable.
5733 (cutSelection): add BufferParams arg.
5734 (eraseSelection): add BufferParams arg.
5735 (pasteSelection): add Buffer const & arg
5737 2003-06-07 John Levon <levon@movementarian.org>
5740 * paragraph_funcs.C:
5741 * paragraph_pimpl.C:
5745 * paragraph.C: allow InsetERT to freely space lines,
5746 and some consolidation of code
5748 2003-06-06 José Matos <jamatos@fep.up.pt>
5750 * buffer.C (makeDocBookFile): fix bug #821
5752 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5754 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5756 2003-06-04 Angus Leeming <leeming@lyx.org>
5758 * buffer.C: bump format to 224.
5760 2003-06-05 André Pönitz <poenitz@gmx.net>
5762 * text2.C (redoParagraphs): remove two const_cast<>
5764 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5766 * ParagraphList.h: remove last remnants of NO_STD_LIST
5768 2003-06-03 Angus Leeming <leeming@lyx.org>
5770 * factory.C (createInset): small change to the way InsetExternal's params
5773 2003-06-04 André Pönitz <poenitz@gmx.net>
5775 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5777 * paragraph_pimpl.h:
5778 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5780 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5782 * undo_funcs.C: make some simple cases of undo work again
5784 2003-06-03 John Levon <levon@movementarian.org>
5786 * ispell.C: HPUX doesn't have sys/select.h
5789 2003-06-03 John Levon <levon@movementarian.org>
5791 * CutAndPaste.C: update tabular and include inset
5796 * paragraph.C: remove owningBuffer(), don't pass Buffer
5799 * factory.C: insetGraphicsParams changed
5801 2003-06-02 John Levon <levon@movementarian.org>
5807 * text3.C: remove insetparent
5809 2003-06-02 John Levon <levon@movementarian.org>
5812 * buffer.C: fix inset_iterator.end(), move out of line
5815 2003-06-01 John Levon <levon@movementarian.org>
5817 * text3.C: use a proper cut/paste when doing inset
5818 insert (from Jürgen Spitzmüller)
5820 2003-06-01 John Levon <levon@movementarian.org>
5822 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5824 2003-05-30 André Pönitz <poenitz@gmx.net>
5826 * rowpainter.C: unify second drawing phase
5828 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * trans_mgr.C: remove one case of current_view
5832 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5834 * paragraph_funcs.h: remove paragraph.h include
5836 * paragraph.h: delete NO_STD_LIST stuff
5838 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5840 * buffer.h: remove paragraph.h include
5842 * ParagraphList.C: delete file
5844 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5846 * toc.C (getTocList): adjust
5848 * paragraph_pimpl.C (validate): adjust
5850 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5852 * paragraph.C (Paragraph): adjust
5853 (getPositionOfInset): use const_iterator, adjust
5854 (bibitem): use const_iterator, adjust
5855 (setInsetOwner): adjust
5857 * iterators.C (operator++): adjust
5859 * InsetList.[Ch]: Replace selfmade iterator with standard
5860 vector::iterator also introduce const_iterator. Remove getPos,
5861 getInset and setInset from InsetTable. Adjust accordingly.
5863 * BufferView.C (lockInset): adjust
5864 (ChangeInsets): adjust
5866 * tabular.[Ch]: delete commented same_id functions
5868 2003-05-28 John Levon <levon@movementarian.org>
5870 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5872 2003-05-28 André Pönitz <poenitz@gmx.net>
5874 * metricsinfo.[Ch]: remove 'fullredraw' member
5876 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5878 * lyxtextclass.C (operator): remove caching.
5880 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * text2.C (cursorBottom): adjust
5885 (setCounter): use ParagraphList::find, adjust
5887 * text.C (workWidth): use ParagraphList::find, adjust
5889 * lyxcursor.C (LyXCursor): adjust
5891 * buffer.C (inset_iterator): adjust
5893 * ParagraphList.h: make iterator(value_type) private, make
5894 ParagraphList a friend of iterator.
5896 * ParagraphList.C (find): new function
5898 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5900 2003-05-27 André Pönitz <poenitz@gmx.net>
5902 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5904 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5906 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5908 2003-05-26 John Levon <levon@movementarian.org>
5910 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5912 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * remove same_id from function signatures, adjust.
5916 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5920 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5922 * paragraph.C (Paragraph): get rid of same_ids parameter
5924 * ParagraphList.C (insert): adjust
5927 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * paragraph_funcs.C (breakParagraph): adjust
5930 (breakParagraphConservative): adjust
5932 * buffer.C (readParagraph): adjust
5934 * ParagraphList.C (insert): take a reference instead of a pointer
5937 * paragraph.[Ch] (id): new function
5939 * bufferlist.C (newFile): adjust
5941 * ParagraphList.C (ParagraphList): adjust
5943 (push_back): take a reference instead of a pointer.
5945 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5947 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5950 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5951 set else use old code.
5953 * ParagraphList.C: remove all NO_NEXT code and only compile this
5954 code of NO_STD_LIST is set.
5956 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5958 * BufferView_pimpl.C:
5968 * graphics/GraphicsConverter.C:
5969 * graphics/PreviewLoader.C: header adjustment
5971 2003-05-23 Angus Leeming <leeming@lyx.org>
5973 * LaTeXFeatures.[Ch] (useBabel): new method.
5974 * bufferparams.C (writeLaTeX): use it.
5976 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * ParagraphList.h (set): remove unused function.
5980 2003-05-23 André Pönitz <poenitz@gmx.net>
5983 * BufferView_pimpl.C:
5987 * undo_funcs.C: setUndo reworked
5989 * iterators.[Ch]: add access to topmost ParagraphList
5991 * lyxtext.[Ch] (workWidth): add a const
5993 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5995 * texrow.[Ch] (increasePos): remove function
5996 * exporter.C (export): removed unused var and outdated comment
5998 2003-05-23 Angus Leeming <leeming@lyx.org>
6000 * latexrunparams.h: rename fragile as moving_arg.
6001 * paragraph.C (simpleTeXOnePar): ditto.
6002 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6004 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6008 (textUndoOrRedo): comment out a currently unused var.
6010 * paragraph.h (NO_NEXT): enable NO_NEXT
6012 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6014 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6016 * exporter.C (Export): adjust for removeAutoInsets removal.
6018 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6020 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6022 * BufferView.[Ch] (removeAutoInsets): delete function
6024 2003-05-22 Angus Leeming <leeming@lyx.org>
6026 * latexrunparams.h: add a free_spacing variable.
6028 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6029 to pass moving_arg, as the data is stored in runparams.fragile.
6031 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6032 to Inset::latexOptional or to simpleTeXOnePar.
6034 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6035 free_spacing arg to Inset::latexOptional.
6037 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6040 2003-05-22 Angus Leeming <leeming@lyx.org>
6042 * latexrunparams.h: add fragile and use_babel variables.
6044 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6045 * buffer.C (makeLaTeXFile): store this returned value in
6046 runparams.use_babel, thus passing it to the inset::latex methods.
6048 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6049 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6051 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6052 longer has a fragile arg, as it is stored in runparams.fragile.
6054 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6055 moving_arg parameter as the data is stored in runparams.fragile.
6057 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6058 a fragile parameter as the data is stored in runparams.fragile.
6060 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6064 2003-05-22 Angus Leeming <leeming@lyx.org>
6066 * latexrunparams.h: add a 'bool nice' which defaults to false.
6068 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6069 now encapsulated within runparams.
6071 * bufferlist.C (updateIncludedTeXfiles):
6072 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6074 2003-05-22 Angus Leeming <leeming@lyx.org>
6076 * latexrunparams.h: new file containing struct LatexRunParams.
6077 * Makefile.am: add new file.
6079 * LaTeX.[Ch] (c-tor, run):
6080 * buffer.[Ch] (makeLaTeXFile):
6081 * bufferlist.[Ch] (updateIncludedTeXfiles):
6082 * converter.C (convert, scanLog):
6083 * converter.[Ch] (runLaTeX):
6084 * exporter.C (Export):
6085 * paragraph.[Ch] (simpleTeXOnePar):
6086 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6087 * paragraph_funcs.[Ch] (latexParagraphs):
6088 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6089 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6090 pass around a LatexRunParams parameter.
6092 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6094 * paragraph.[Ch]: remove unused constructor
6096 * ParagraphList.C (erase): new function, taking two iterators
6098 2003-05-22 André Pönitz <poenitz@gmx.net>
6100 * undo_funcs.C: remove duplicated code
6102 * iterator.[Ch]: operator=
6104 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * tabular.C (SetMultiColumn): ws changes
6108 * rowpainter.C (paintFirst): get rid of a ->previous
6110 * lyx_cb.C (getPossibleLabel): parlist simplification
6112 * BufferView.C (ChangeInsets): simplify slightly.
6114 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6116 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6117 * lfuns.h: new LFUN_SPACE
6118 * lyxfunc.C: protected space has a new lfun
6119 * paragraph_funcs.C: read new space insets
6121 * factory.C: handle new space insets
6123 2003-05-22 André Pönitz <poenitz@gmx.net>
6126 * BufferView_pimpl.C:
6129 * undo_funcs.C: return a ParIterator from getParFromID.
6131 * iterators.[Ch]: add two const's
6133 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * toc.C (getTocList): adjust
6137 * iterators.[Ch]: rework for parlist
6139 * buffer.C (par_iterator_begin): adjust
6140 (par_iterator_end): adjust
6142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6144 * BufferView.C (removeAutoInsets): adjust
6145 (ChangeInsets): adjust
6147 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6149 * text.C (top_y): fix bug 1110
6151 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6153 * errorlist.[Ch]: added
6156 * BufferView_pimpl.C:
6157 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6160 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * Makefile.am: ensure that lyx is relinked upon changes to the
6163 various "convenience" libs.
6165 2003-05-20 Angus Leeming <leeming@lyx.org>
6167 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6168 files are compiled in alphabetical order again.
6170 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6172 2003-05-19 Angus Leeming <leeming@lyx.org>
6174 * gettext.[Ch]: remove "char const * _(char const *)".
6176 2003-05-19 André Pönitz <poenitz@gmx.net>
6178 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6187 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6189 2003-05-19 André Pönitz <poenitz@gmx.net>
6193 * lyxtextclass.[Ch]:
6195 * paragraph_funcs.[Ch]:
6197 * text3.C: more insetenv work
6199 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6201 * ParagraphParameters.C (params2string): small bug fixed
6203 2003-05-16 André Pönitz <poenitz@gmx.net>
6206 * bufferview_funcs.C: patch from Kornel Benko to prevent
6207 crash when _(...) is called twice in a statement
6209 2003-05-16 André Pönitz <poenitz@gmx.net>
6216 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6218 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6220 * lyx_main.C (init): remove spurious static_cast
6222 2003-05-14 André Pönitz <poenitz@gmx.net>
6224 * BufferView.C: fix format string
6226 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6228 * BufferView.[Ch] (insertErrors): removed
6229 * BufferView.[Ch] (showErrorList): added
6230 * buffer.C (runChkTeX):
6231 * converter.C (scanLog): call showErrorList instead of inserterrors
6233 2003-05-13 André Pönitz <poenitz@gmx.net>
6235 * BufferView_pimpl.C:
6237 * bufferview_func.C:
6244 * tabular_funcs.h: tostr() from its own header
6246 * ParagraphParameters.C:
6251 * text3.C: STRCONV()
6253 2003-05-12 André Pönitz <poenitz@gmx.net>
6256 * BufferView_pimpl.C:
6260 * ParagraphParameters.C:
6264 * bufferview_funcs.C:
6277 * paragraph_funcs.C:
6281 * text3.C: boost::format -> bformat all over the place
6284 2003-05-09 André Pönitz <poenitz@gmx.net>
6286 * LColor.[Ch]: Pimpl the #include <map> away
6288 2003-05-09 John Levon <levon@movementarian.org>
6290 * bufferlist.C: never remove emergency saves
6292 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * Makefile.am: better lib building
6296 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6300 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6301 (simpleTeXSpecialChars): adjust
6302 (simpleTeXSpecialChars): adjust
6303 * paragraph.C (simpleTeXOnePar): adjust
6304 * buffer.C (makeLaTeXFile): adjust
6306 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6308 * text2.C (changeDepth): parlist cleanup
6309 (getColumnNearX): ditto
6311 * rowpainter.C (getLabelFont): parlist cleanup
6313 * bufferlist.C (newFile): parlist cleanup
6315 * CutAndPaste.C (eraseSelection): parlist cleanup
6317 * BufferView_pimpl.C (trackChanges): parlist cleanup
6320 * BufferView.C (lockInset): parlist cleanup.
6321 (ChangeInsets): ditto
6323 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * CutAndPaste.h: Update file header.
6327 * CutAndPaste.C: Update file header.
6328 Store the parts cut out of the Document in a limited_stack.
6329 (copySelection): adjust
6330 (pasteSelection): new function, takes the index in the limited stack.
6331 (nrOfParagraphs): adjust
6332 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6333 simplify error inset insertion.
6334 (checkPastePossible): adjust
6336 2003-05-06 John Levon <levon@movementarian.org>
6338 * text2.C: don't cast wrap inset to float
6340 2003-05-05 André Pönitz <poenitz@gmx.net>
6343 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6345 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6346 few naked Paragraph *.
6348 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6350 * bufferparams.C: Output warning if a document with missing
6351 TeX document class is loaded
6352 * exporter.C: Disable TeX exports if the document class is missing
6355 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6356 isTeXClassAvailable()
6358 2003-05-03 John Levon <levon@movementarian.org>
6361 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6362 explicit cursor show/hide
6364 * BufferView_pimpl.h:
6365 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6366 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6368 * lyxfunc.C: hide cursor before dispatching.
6373 * text3.C: remove explicit cursor hides
6375 2003-05-02 André Pönitz <poenitz@gmx.net>
6377 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6380 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6383 * text2.C: tiny whitespace
6385 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * undo_funcs.C: almost only ws changes.
6389 * ParagraphList.C (splice): just return if pl is empty.
6391 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * ParagraphList.C (splice): new function.
6395 * CutAndPaste.C (pasteSelection): use it
6397 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * CutAndPaste.C (pasteSelection): remove the last next and
6400 previous from this file.
6402 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * CutAndPaste.C (pasteSelection): more clean up, user proper
6405 ParagraphList functions for pasteing.
6407 * ParagraphList.C (insert): new function, three arg insert
6409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * ParagraphList.C (insert): new function, three arg insert
6413 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6416 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6420 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6424 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6427 (copySelection): clean up a bit.
6428 (pasteSelection): use make_pair
6430 * ParagraphList.C (ParagraphList): implement copy constructor
6431 (operator=): implement, base on copy constructor.
6434 * paragraph.C (erase): return a bool
6436 * paragraph_pimpl.C (erasePos): remove function, move contents...
6437 (erase): ... here. Return a bool.
6438 (erase): call erase instead of erasePos.
6440 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6442 * ParagraphList.h: define PitPosPair
6443 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6444 ParagraphList, fix a bug on pasting multiple pars
6445 * text2.C: change interface to C&P
6447 2003-04-30 André Pönitz <poenitz@gmx.net>
6449 * undo_func.C: revert part of yesterday's patch 2
6451 2003-04-30 John Levon <levon@movementarian.org>
6453 * LColor.C: s/tabular/table/
6455 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * text3.C (dispatch): do not convert iterator -> pointer
6458 * undo_funcs.C (setCursorParUndo): ditto
6459 * text_funcs.C (transposeChars): ditto
6461 * text2.C (setLayout): ws changes only
6463 * text.C (breakParagraph): do not convert iterator -> pointer
6465 (acceptChange): ditto
6466 (rejectChange): ditto
6471 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6474 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6476 * text3.C (gotoInset): YABG (yet another bad getChar)
6478 2003-04-29 André Pönitz <poenitz@gmx.net>
6480 * paragraph.h: make operator= private unimplemented as long as
6483 * ParagraphList.C: whitespace
6486 * paragraph_pimpl.[Ch]:
6487 * paragraph_funcs.C:
6489 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6492 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6494 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6496 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6497 * paragraph.[Ch] (erase):
6498 * paragraph_pimpl.[Ch] (erase): change return type and value
6499 * text2.C (cutSelection): some rework
6501 2003-04-28 John Levon <levon@movementarian.org>
6503 * bufferlist.C: changes for unsaved changes dialog
6505 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * bufferlist.C (newFile): set language (messages_) for new
6510 * buffer.C (readFile): ws changes only.
6512 2003-04-28 André Pönitz <poenitz@gmx.net>
6517 * BufferView_pimpl.C:
6518 * BufferView.C: getParFromID related ParagraphList::iterator changes
6520 2003-04-28 André Pönitz <poenitz@gmx.net>
6522 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6525 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * messages.C: remove one more localedir class variable.
6529 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * messages.C (getLocaleDir): singleton generation function
6533 (Messages): add a default constructor.
6535 * main.C (main): do not setup localedir here, do not call
6538 * gettext.C (_): use it.
6539 (gettext_init): delete funciton
6541 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * gettext.C (getLyXMessages): new singleton generating function.
6545 * buffer.C (updateDocLang): adjust
6547 * Makefile.am (messages.o): add target
6548 (main.o): remove target
6550 2003-04-27 John Levon <levon@movementarian.org>
6555 * lyxvc.C: specify cancel button in Alert::prompt
6557 2003-04-26 John Levon <levon@movementarian.org>
6562 * LyXAction.C: add LFUN_INSET_SETTINGS
6564 * lyxfunc.C: don't enable tabular-feature when there's
6565 just any locking inset
6567 2003-04-26 John Levon <levon@movementarian.org>
6569 * bufferlist.C: re-add Cancel to buffer close question
6571 * lyxfunc.C: fix import UI a bit
6573 2003-04-25 John Levon <levon@movementarian.org>
6575 * gettext.C: remove the broken asserts for now
6577 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * messages.C: make case where setlocale cannot comply work better.
6581 * buffer.C (updateDocLang): new function
6582 (changeLanguage): use it
6585 * text2.C (setCounter): use B_ a bit.
6587 * lyxlayout.C (Read): be sure to trim the label strings.
6589 * messages.C (Messages): fix typo in comment
6591 * buffer.C (readFile): set message_ after file is loaded.
6592 (makeDocBookFile): remove double return
6593 (changeLanguage): reset message_ upon language change.
6594 (B_): new func, use this to get translated buffer strings.
6596 * main.C: add myself and Jean Marc as authors.
6598 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * messages.[hC]: pimplify Messages, and three different pimpls to be
6601 used in different circumstances.
6603 * gettext.[Ch]: change for use with new message code.
6605 2003-04-24 André Pönitz <poenitz@gmx.net>
6607 * factory.C: support for eqref
6609 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6611 * messages.[Ch]: add missing char
6613 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6615 * messages.[Ch]: New files
6617 2003-04-18 John Levon <levon@movementarian.org>
6621 * BufferView_pimpl.C:
6625 * text2.C: remove layout-copy/paste (bug 778)
6627 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6629 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6631 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6633 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6634 if they succeed. Act accordingly.
6636 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * text2.C (setCharFont): adjust
6639 (setCounter): adjust
6640 (insertStringAsLines): adjust
6642 * text.C (leftMargin): adjust
6643 (setHeightOfRow): adjust
6645 * rowpainter.C (paintFirst): adjust
6648 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6650 (isFirstInSequence): ditto
6651 (getEndLabel): ditto
6654 * paragraph.C (getParLanguage): comment out some hard stuff.
6656 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6658 (simpleDocBookOnePar): ditto
6659 (makeDocBookFile): use ParagraphList::iterator
6661 * CutAndPaste.C (pasteSelection): adjust
6663 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * text2.C (getFont): adjust
6666 (getLayoutFont): adjust
6667 (getLabelFont): adjust
6669 * paragraph_funcs.C (TeXOnePar): adjust
6671 * buffer.C (simpleLinuxDocOnePar): adjust
6672 (simpleDocBookOnePar): adjust
6674 * CutAndPaste.C (pasteSelection): adjust
6676 * BufferView.C (getEncoding): adjust
6678 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6680 2003-04-16 John Levon <levon@movementarian.org>
6682 * lyxfind.C: use parlist stuff for search/changes
6684 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6688 * text2.C (deleteEmptyParagraphMechanism): adjust
6690 * text2.[Ch] (ownerParagraph): delete func (both of them
6692 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * ParagraphList.C: prepare for NO_NEXT
6700 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * text2.C (getFont): adjust
6703 (getLayoutFont): adjust
6704 (getLabelFont): adjust
6706 * paragraph.C (getFont): adjust
6707 (getLabelFont): adjust
6708 (getLayoutFont): adjust
6710 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6712 2003-04-15 John Levon <levon@movementarian.org>
6716 * lyx_main.C: handle Include in .ui files
6718 2003-04-15 John Levon <levon@movementarian.org>
6720 * MenuBackend.C: make the doc files length shorter
6723 * ToolbarBackend.C: handle toolbar placement flags,
6726 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6731 * paragraph_funcs.C (TeXOnePar): adjust
6733 * paragraph.C (getLabelFont): add outerfont arg, adjust
6734 (getLayoutFont): ditto
6735 (simpleTeXOnePar): adjust
6737 * paragraph_pimpl.C (realizeFont): delete func
6739 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6741 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6742 row argument, constify cur argument.
6744 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * text2.C (getFont): adjust
6747 (getLayoutFont): adjust
6748 (getLabelFont): adjust
6750 * paragraph_funcs.C (TeXOnePar): adjust
6751 (outerFont): new func...
6752 (realizeFont): ...moved out from here, changed this to facilitate
6755 * paragraph.C (getFont): take outerfont as arg, adjust
6756 (simpleTeXOnePar): add outerfont arg, adjust
6758 * buffer.C (simpleLinuxDocOnePar): adjust
6759 (simpleDocBookOnePar): adjust
6761 * CutAndPaste.C (pasteSelection): adjust
6763 * BufferView.C (getEncoding): adjust
6765 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * text2.C (setCharFont): adjust
6768 (setCounter): adjust
6770 * text.C (leftMargin): adjust
6771 (setHeightOfRow): adjust
6773 * rowpainter.C (paintFirst): adjust
6776 * paragraph_pimpl.C (realizeFont): adjust
6778 * paragraph.C (isFirstInSequence): move from here...
6779 * paragraph_funcs.C (isFirstInSequence): ...to here
6781 * paragraph.C (outerHook): move from here...
6782 * paragraph_funcs.C (outerHook): ...to here
6784 * paragraph.C (depthHook): move from here...
6785 * paragraph_funcs.C (depthHook): ...to here
6787 * paragraph.C (getEndLabel): move from here...
6788 * paragraph_funcs.C (getEndLabel): ...to here
6790 * text2.C (realizeFont): move from here...
6791 * paragraph_funcs.C (realizeFont): ...to here
6793 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6797 2003-04-14 Angus Leeming <leeming@lyx.org>
6799 * LColor.[Ch]: scrap LColor mathcursor.
6801 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * lyxlex.[Ch] (text): delete function
6804 * trans.C (Load): adjust
6805 * paragraph_funcs.C (readParToken): adjust
6807 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6810 vector<char> instead of a char[].
6812 * lyxlex_pimpl.C (getString): adjust
6814 (lex): use getString
6818 * lyxlex.C (text): use pimpl_->getString()
6822 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6825 (makeFontEntriesLayoutSpecific): temp var for par.size()
6826 (setLayout): temp var for ownerParagraphs().end()
6827 (fullRebreak): temp var for rows().end()
6828 (selectionAsString): temp var for boost::next(startpit), realize
6829 that the while really is a regular for loop.
6830 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6831 setCursor in one place.
6832 (setParagraph): temp vr for ownerParagraphs().end()
6833 (updateCounters): make the while loop a for loop
6834 (cutSelection): temp var for ownerParagraphs().end()
6835 (updateInset): make the do {} while() a regular for loop
6836 (getCursorX): use temp vars
6837 (setCurrentFont): use temp vars
6838 (getColumnNearX): use temp vars
6840 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * text.C (transformChar): use temp var for getChar
6843 (computeBidiTables): use temp var for row->par()
6844 (fill): move temp vars for row->par() and pit->layout() earlier in
6846 (labelFill): use temp var for row->par()
6847 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6848 asc and desc, realize that pit never changes and that firstpit is
6849 just a duplicate and not needed. Exchange rit->par() with pit in a
6851 (breakAgain): use a temp var for boost::next(rit)
6852 (breakAgainOneRow): ditto
6853 (breakParagraph): use a temp var for rows().begin()
6854 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6855 (cursorRightOneWord): use temp var for cursor.par() and
6856 cursor.pos(), remove usage of tmpcursor.
6857 (cursorLeftOneWord): use temp var for cursor.par() and
6858 cursor.pos() only set cur at end of function.
6860 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * text.C, text2.C: exchange all usage of Paragraph::next with
6863 boost::next(ParagraphList::iterator)
6865 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6867 * text2.C (cursorTop): simplify implementation
6868 (cursorBottom): ditto
6869 (setParagraph): use ParagraphList::iterator
6870 (setCurrentFont): adjust
6871 (getColumnNearX): adjust
6872 (cursorRight): adjust
6873 (cursorLeft): remove usage of Paragraph::previous
6874 (cursorUpParagraph): ditto
6875 (deleteEmptyParagraphMechanism): slight cleanup
6877 * text.C (isBoundary): take a Paragraph const & instead of a
6879 (addressBreakPoint): ditto
6880 (leftMargin): remove usage of Paragraph::previous.
6881 (setHeightOfRow): ditto
6882 (cursorLeftOneWord): ditto
6883 (selectNextWordToSpellcheck): ditto
6886 (breakParagraph): remove one usage of Paragraph::next
6887 (redoParagraph): ditto
6888 (acceptChange): ditto
6889 (insertChar): adjust
6890 (rowBreakPoint): adjust
6892 * bufferview_funcs.C (toggleAndShow): adjust
6894 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6896 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6897 methods to access it.
6899 * text.C: Added updateRowPositions to compute all row positions.
6900 Make top_y and getRowNearY() to use the cached y position
6902 2003-04-11 John Levon <levon@movementarian.org>
6904 * text.C (rowBreakPoint): reintroduce the labelEnd
6905 checks, code copied from the row fill stuff. Deep voodoo.
6907 * text.C (fill): add a comment and debugging for the
6910 2003-04-11 John Levon <levon@movementarian.org>
6912 * text.C: make sure fullrow insets get wrapped to the next line,
6913 even when they're in a manual label
6915 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * text2.C (insertParagraph): make it take ParagraphList::iterator
6919 (setLayout): make it return ParagraphList::iterator
6920 (redoParagraphs): ditto
6922 (checkParagraph): ditto
6924 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6926 * text2.C: adjust several funcs.
6927 (realizeFont): take a ParagraphList::iterator as arg.
6928 (getLayoutFont): ditto
6929 (getLabelFont): ditto
6930 (setCharFont): ditto
6932 * text.C: adjust several funcs.
6934 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6936 * text.C (selectNextWordToSpellcheck): don't accidentally
6939 2003-04-10 John Levon <levon@movementarian.org>
6941 * ToolbarBackend.C (getIcon): special handling for
6944 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6946 * text2.C (cursorRight): a getChar assert fixed
6948 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6950 * text2.C (getFont): change to take a ParagraphList::iterator
6951 instead of Paragraph*
6952 Adjust several functions.
6954 * text.C (transformChar): change to take a ParagraphList::iterator
6955 instead of Paragraph*
6956 (singleWidth): ditto
6957 Adjust several functions.
6959 * rowpainter.C: adjust several functions
6960 * rowpainter.h:store a ParagraphList::iterator and not a
6964 2003-04-09 John Levon <levon@movementarian.org>
6969 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6970 and the "help" bits as well
6972 2003-04-09 John Levon <levon@movementarian.org>
6975 * ToolbarBackend.C: allow multiple toolbars
6977 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * undo_funcs.C (setCursorParUndo): adjust
6981 * text_funcs.C (transposeChars): adjust
6983 * text3.C (gotoNextInset): adjust
6986 * text2.C (setLayout): adjust
6987 (changeDepth): adjust
6989 (redoParagraphs): adjust
6990 (selectionAsString): adjust
6991 (setParagraph): adjust
6992 (insertInset): adjust
6993 (cutSelection): adjust
6994 (copySelection): adjust
6995 (pasteSelection): adjust
6996 (insertStringAsLines): adjust
6997 (updateInset): adjust
6998 (setCursor): change to take a ParagraphList::iterator parameter
6999 (setCursorIntern): change to take a ParagraphList::iterator parameter
7000 (setCurrentFont): adjust
7001 (cursorLeft): adjust
7002 (cursorRight): adjust
7003 (deleteEmptyParagraphMechanism): adjust
7005 * text.C (breakParagraph): adjust
7006 (insertChar): adjust
7007 (acceptChange): adjust
7008 (rejectChange): adjust
7009 (selectNextWordToSpellcheck): adjust
7010 (changeCase): adjust
7014 * lyxfind.C (SearchForward): adjust
7015 (SearchBackward): adjust
7016 (nextChange): adjust
7018 * lyxcursor.C (par): adjust
7020 * lyxcursor.h: store a ParagraphList::iterator instead of a
7023 * lyx_cb.C (getPossibleLabel): adjust
7025 * bufferview_funcs.C (toggleAndShow): adjust
7027 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7030 * BufferView.C (removeAutoInsets): adjust
7031 (lockedInsetStoreUndo): adjust
7033 2003-04-09 John Levon <levon@movementarian.org>
7035 * ToolbarBackend.C: try icon without argument
7036 if with argument fails
7038 2003-04-08 John Levon <levon@movementarian.org>
7041 * ToolbarBackend.C: add getIcon(), handle tooltip,
7042 and change from "Icon" to "Item".
7044 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7046 * BufferView.C (lockInset): another bad getchar crunched
7048 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7050 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7053 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7055 * lyxfind.C (searchForward, searchBackwards): bug 782
7057 2003-04-07 John Levon <levon@movementarian.org>
7059 * paragraph.C: remove dead comment
7061 * text.C: remove troublesome depth-fiddling code
7062 in leftMargin() and rightMargin() (bug 1017)
7064 * text.C: fix breaking of rows in nested lists
7067 * text2.C (updateCounters): fix up depth values
7070 2003-04-07 John Levon <levon@movementarian.org>
7072 * BufferView_pimpl.C: clear message when doc finishes resizing,
7073 and after a mouse event
7075 * lyxfunc.C: clear message after exiting inset
7077 2003-04-07 John Levon <levon@movementarian.org>
7079 * bufferview_funcs.C: show math status not outside
7080 status in the statusbar
7082 2003-04-07 John Levon <levon@movementarian.org>
7084 * lyxfunc.C: note status changed after a depth change
7086 2003-04-04 Angus Leeming <leeming@lyx.org>
7088 * LaTeX.h: move AuxInfo operator==, != out of line.
7089 Remove LaTeX virtual destructor; nothing derives from it.
7090 Move operator()() out of public area and rename it startscript().
7091 Change protected for private.
7093 2003-04-04 Angus Leeming <leeming@lyx.org>
7096 * text2.C: remove unneeded #includes.
7098 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7100 * text2.C (dEPM): fix the heigth of the next row
7102 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7104 * text.C: squashed an invalid getChar requester + some ws changes
7106 2003-04-03 John Levon <levon@movementarian.org>
7108 * bufferview_funcs.h:
7109 * bufferview_funcs.C:
7112 * text2.C: make getStatus work for the env depth lfuns
7114 2003-04-03 John Levon <levon@movementarian.org>
7116 * bufferview_funcs.h:
7117 * bufferview_funcs.C:
7120 * text2.C: parlistize decDepth(), by merging it with incDepth()
7122 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * lyxrow.h: store a ParagraphList::iterator instead of a
7125 Paragraph* and adjust other class functions to suit.
7127 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7130 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7132 * text2.C (setCursor): do not anchor to cursor row for the time being
7134 2003-04-02 John Levon <levon@movementarian.org>
7141 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7143 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * paragraph.h: make ParagraphList and ParagraphList::iterator
7146 friends of Paragraph.
7148 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7150 * ParagraphList.C: Use the private next_ and previous_ from
7153 2003-04-01 John Levon <levon@movementarian.org>
7157 * Makefile.am: rename, remove defaults gunk
7160 * MenuBackend.C: remove defaults gunk
7163 * Languages.C: remove defaults gunk
7166 * lyx_main.C: error out if files couldn't be found.
7168 2003-04-02 John Levon <levon@movementarian.org>
7170 * text2.C: make incDepth() use parlist
7172 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * undo_funcs.C (firstUndoParagraph): adjust
7176 * text3.C (gotoInset): adjust
7177 (dispatch): adjust, and rewrite loop.
7179 * text2.C (init): adjust, and rewrite loop.
7180 (redoParagraphs): adjust
7181 (updateInset): adjust, and rewrite loop.
7182 (deleteEmptyParagraphMechanism): adjust
7184 * tabular.C (LyXTabular): adjust
7185 (SetMultiColumn): adjust
7188 * lyxtext.[Ch] (ownerParagraph): delete function
7189 (ownerParagraphs): new function returns a ParagraphList.
7191 * BufferView.C (removeAutoInsets): adjust
7192 (insertErrors): adjust
7193 (setCursorFromRow): adjust
7195 2003-04-01 Angus Leeming <leeming@lyx.org>
7197 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7200 2003-04-02 John Levon <levon@movementarian.org>
7206 * text_funcs.C: make transposeChars a free function
7208 * lyxrow_funcs.C: remove wrong comment
7210 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * rowpainter.C: adjust
7218 * lyxrow_funcs. [Ch]: new files
7220 * lyxrow.[Ch]: remove next and previous pointers
7221 (next,previous): remove accessor functions
7222 (isParEnd): move to lyxrow_funcs
7223 (lastPos): move to lyxrow_funcs
7224 (nextRowIsAllInset): move to lyxrow_funcs
7225 (lastPrintablePos): move to lyxrow_funcs
7226 (numberOfSeparators): move to lyxrow_funcs
7227 (numberOfHfills): move to lyxrow_funcs
7228 (numberOfLabelHfills): move to lyxrow_funcs
7229 (hfillExpansion): move to lyxrow_funcs
7233 * bufferview_funcs.C (toggleAndShow): adjust
7235 * RowList.h: Remove class RowList from file leave just a
7238 * RowList.C: delete file
7240 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7243 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * text3.C (cursorPrevious): adjust
7246 (cursorNext): adjust
7249 * text2.C (redoHeightOfParagraph): adjust
7250 (redoDrawingOfParagraph): adjust
7253 * text.C (breakParagraph): adjust
7254 (insertChar): adjust
7257 * rowpainter.C (RowPainter): adjust
7258 (leftMargin): simplify and adjust
7259 (most rowpainter functions): adjust.
7261 * rowpainter.h: store the row as RowList::iterator not as Row*
7263 * lyxcursor.C (row): taka RowList::iterator as arg
7266 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7269 2003-04-01 Angus Leeming <leeming@lyx.org>
7271 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7272 stuff like bool Bool.
7274 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7276 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7279 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7284 * lyxtext.h (rows): drop one version and leve a const variant that
7285 returns a RowList::iterator.
7287 2003-03-31 Angus Leeming <leeming@lyx.org>
7289 * text.C (fill): ensure that the signature is the same as that in the
7292 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7294 * text2.C (redoParagraphs): adjust
7295 (updateCounters): adjust
7296 (checkParagraph): adjust
7297 (getColumnNearX): adjust and reformat a bit.
7299 * text.C (top_y): adjust
7301 (leftMargin): adjust
7302 (prepareToPrint): adjust
7304 (getRowNearY): adjust
7306 * lyxtext.h: make rowlist_ mutable.
7308 * RowList.h: add const_iterator
7309 * RowList.C: adjust for RowList::const_iterator.
7311 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7314 2003-03-31 John Levon <levon@movementarian.org>
7317 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7319 * lyx_main.C: set default fonts from using lyx_gui funcs
7321 * exporter.C: pdf_mode moved from lyxrc
7324 * lyxfunc.C: changes from above
7326 2003-03-31 John Levon <levon@movementarian.org>
7328 * lyx_main.C: fix to the last fix
7330 2003-03-31 John Levon <levon@movementarian.org>
7332 * bufferlist.C: "Load original" -> "Load Original"
7338 * format.C: more Alert cleanups
7340 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * text2.C (removeParagraph): make it take a RowList::iterator as
7344 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7345 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7347 * text.C (anchor_row): make it take a RowList::iterator as arg,
7349 (computeBidiTables): make it take a const reference to Row instead
7350 of Row pointer, adjust.
7351 (leftMargin): make it take a RowList::iterator as arg, adjust.
7352 (rowBreakPoint): adjust
7353 (breakAgainOneRow): make it take a RowList::iterator as arg,
7355 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7357 * bufferview_funcs.C (toggleAndShow): adjust
7359 2003-03-30 John Levon <levon@movementarian.org>
7363 * boost-inst.C: moved to support
7365 * several files: changes as a result
7367 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * text2.C (LyXText): adjust.
7371 (removeRow): make it take a RowList::iterator as arg, adjust.
7372 (fullRebreak): adjust
7373 (deleteEmptyParagraphMechanism): adjust
7374 (clearPaint): adjust
7377 * text.C (top_y): adjust
7378 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7379 (breakAgain): make it take a RowList::iterator as arg, adjust.
7380 (breakParagraph): adjust
7381 (insertChar): adjust
7384 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7385 need_break_row, and refresh_row.
7387 * text3.C (dispatch): adjust
7389 * text2.C (checkParagraph): adjust
7391 (setCursorFromCoordinates): adjust
7393 * text.C (top_y): adjust
7395 (getRow): make it return a RowList::iterator, adjust
7396 (getRowNearY): make it return a RowList::iterator, adjust
7398 * text2.C (init): adjust
7399 (insertRow): remove function
7400 (insertParagraph): adjust
7401 (redoParagraphs): adjust
7402 (fullRebreak): adjust
7403 (updateCounters): adjust
7405 * text.C (top_y): rewrite to use RowList iterators.
7407 (setHeightOfRow): rewrite to sue RowList iterators.
7408 (appendParagraph): adjust
7409 (breakAgain): adjust
7410 (breakAgainOneRow): adjust
7411 (breakParagraph): adjust
7413 (getRowNearY): adjust, and remove commented code.
7415 * lyxtext.h (firstRow): delete function
7416 (lastRow): delete function
7417 (rows): new function (const and non-const versions.)
7418 (insertRow): delete function
7420 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7422 2003-03-29 John Levon <levon@movementarian.org>
7424 * BufferView_pimpl.C: always update scrollbar top
7425 because pasting text when we're anchored could mean we
7426 miss an update altogether
7428 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * text2.C (init): use rowlist_.end() and not 0.
7431 (insertRow): change to take a RowList::iterator as arg, adjust
7433 (insertParagraph): change to take a RowList::iterator as arg,
7435 (redoParagraphs): remove some debug msgs.
7437 * text.C (appendParagraph): change to take a RowList::iterator
7438 arg, adjust for this.
7439 (breakAgain): add an assert
7440 (breakAgainOneRow): ditto
7442 2003-03-29 John Levon <levon@movementarian.org>
7444 * text2.C: do not clear selection after inc/decDepth
7447 2003-03-29 John Levon <levon@movementarian.org>
7450 * buffer.C: fix broken strerrors according to Lars
7452 2003-03-29 John Levon <levon@movementarian.org>
7454 * converters.C: more Alert cleanups
7456 2003-03-29 John Levon <levon@movementarian.org>
7458 * bufferview_funcs.C: remove pointless Alert
7460 * buffer.C: fix confusing error message when
7461 a template is chmoded 000
7463 2003-03-29 John Levon <levon@movementarian.org>
7467 * BufferView_pimpl.C: Alert fixes
7471 * tabular-old.C: remove unused table compat reading
7473 2003-03-29 John Levon <levon@movementarian.org>
7478 * lyx_cb.C: more Alert cleanups
7480 * lyxfunc.C: don't allow chktex if not latex document
7482 2003-03-29 John Levon <levon@movementarian.org>
7486 * buffer.C: warnings pushed down from support/,
7489 2003-03-29 John Levon <levon@movementarian.org>
7491 * lyxfunc.C: safety check for C-r (revert)
7493 2003-03-29 John Levon <levon@movementarian.org>
7496 * bufferlist.C: several UI fixes using Alert::prompt.
7497 Fix the pointless looping quit code. Fix stupid revert
7502 * lyx_cb.C: use Alert::prompt
7504 * lyx_main.C: remove a silly question
7506 * lyxfunc.C: remove a couple of silly questions,
7509 2003-03-28 John Levon <levon@movementarian.org>
7511 * text2.C: fix bug 974 (End on empty par)
7513 2003-03-28 John Levon <levon@movementarian.org>
7515 * BufferView_pimpl.C:
7517 * lfuns.h: remove do-nothing math greek lfuns
7519 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * lyxgluelength.h (isValidGlueLength): add default arg on
7522 parameter 2. Remove default arg from friend in class.
7524 * lyxlength.h (isValidLength): add default arg on parameter 2.
7525 Remove default arg from friend in class.
7527 * text2.C (LyXText): adjust, initialize refresh_row.
7531 (insertParagraph): adjst
7532 (redoParagraphs): adjust
7533 (fullRebreak): adjust
7534 (updateCounters): adjust
7535 (deleteEmptyParagraphMechanism): first attempt at fixing a
7538 * text.C (top_y): adjust
7539 (setHeightOfRow): adjust
7541 (getRowNearY): adjust
7543 * lyxtext.h: include RowList.h
7544 (~LyXText): not needed anymore, deleted.
7545 (firstRow): modify for RowList
7546 (lastRow): new function
7547 Delete firstrow and lastrow class variables, add a Rowlist
7548 rowlist_ class variable.
7550 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7553 * RowList.C (insert): fix case where it == begin().
7555 2003-03-26 Angus Leeming <leeming@lyx.org>
7557 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7558 the thesaurus dialog.
7560 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7562 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7564 * RowList.[Ch]: new files
7566 * ParagraphList.C (erase): handle the case where it == begin
7569 2003-03-25 John Levon <levon@movementarian.org>
7573 * aspell.C: add new aspell support
7576 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7579 2003-03-25 Angus Leeming <leeming@lyx.org>
7582 * LyXAction.C (init): new LFUN_INSET_INSERT.
7584 * BufferView_pimpl.C (dispatch): split out part of the
7585 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7587 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7590 2003-03-25 Angus Leeming <leeming@lyx.org>
7592 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7594 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7597 * text3.C: remove useless row->height(0)
7599 2003-03-25 John Levon <levon@movementarian.org>
7603 * text3.C: rename the refreshing stuff to better names
7605 2003-03-24 John Levon <levon@movementarian.org>
7607 * BufferView_pimpl.h:
7608 * BufferView_pimpl.C: update layout choice on a mouse
7611 2003-03-23 John Levon <levon@movementarian.org>
7613 * Makefile.am: fix commandtags.h reference
7615 2003-03-22 John Levon <levon@movementarian.org>
7617 * BufferView_pimpl.C:
7622 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7624 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7627 * text.C: take the rtl methods out of line
7629 2003-03-21 André Pönitz <poenitz@gmx.net>
7631 * metricsinfo.[Ch]: new files containing structures to be passed around
7632 during the two-phase-drawing...
7634 2003-03-21 André Pönitz <poenitz@gmx.net>
7636 * lyxtextclass.C: read 'environment' tag.
7638 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7640 * text2.C (removeRow): fix bug 964
7642 2003-03-20 John Levon <levon@movementarian.org>
7646 * text2.C: paint cleanups. Inset::update() dropped font
7649 2003-03-19 John Levon <levon@movementarian.org>
7651 * lyxfunc.C: only fitcursor/markDirty if available()
7653 2003-03-19 John Levon <levon@movementarian.org>
7655 * commandtags.h: rename to ...
7657 * lfuns.h: ... this, and renumber / cleanup
7659 2003-03-19 John Levon <levon@movementarian.org>
7661 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7662 fit the cursor after an lfun
7666 * BufferView_pimpl.h:
7667 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7669 * LyXAction.C: layout-character should have ReadOnly
7671 * ParagraphParameters.C:
7673 * bufferview_funcs.C:
7680 * undo_funcs.C: changes from above
7682 2003-03-18 John Levon <levon@movementarian.org>
7684 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7685 remove it from update()
7687 * lyxfunc.C: update layout choice after an lfun
7689 * text3.C: remove extra updateLayoutChoice()s
7691 2003-03-18 John Levon <levon@movementarian.org>
7693 * text.C: top_y change means full repaint, fix
7694 a drawing bug with cursor movement
7696 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7700 * text2.C: anchor row on setCursor
7702 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7704 * lyxtext.h: remove almost all mutable keywords
7707 * text3.C: remove const keywords accordingly
7709 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7713 (TeXEnvironment): ditto
7716 2003-03-17 John Levon <levon@movementarian.org>
7718 * text.C (rowBreakPoint): remove attempt to fix displayed
7719 math insets inside a manual label
7721 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * lyxtext.h: remove BufferView* as first arg from almost all class
7725 * other files: adjust.
7727 2003-03-17 John Levon <levon@movementarian.org>
7731 * text2.C: more paint cleanups
7733 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7736 * rowpainter.C: remove "smart" background painting code
7738 2003-03-16 John Levon <levon@movementarian.org>
7743 * text3.C: add helper functions for setting refresh_row/y
7745 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7747 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7748 newline inset which *can* get inserted in the pass_thru layouts.
7749 This is primarily for literate documents.
7751 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7753 * buffer.C: increment LYX_FORMAT to 223
7755 2003-03-14 André Pönitz <poenitz@gmx.net>
7757 * textclass.h: prepare for environment handling, ws changes
7758 * lyxlayout.C: read latexheader and latexfooter tags
7760 2003-03-14 John Levon <levon@movementarian.org>
7762 * text2.C: rewrite ::status() a bit
7764 2003-03-13 John Levon <levon@movementarian.org>
7766 * lyxtext.h: add some docs
7768 2003-03-13 John Levon <levon@movementarian.org>
7773 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7775 2003-03-13 John Levon <levon@movementarian.org>
7777 * text3.C: fix appendix redrawing
7779 2003-03-13 John Levon <levon@movementarian.org>
7781 * text.C (setHeightOfRow):
7783 * rowpainter.C: make appendix mark have the text
7784 "Appendix" so the user knows what it is
7787 * LColor.C: s/appendixline/appendix/ from above
7789 2003-03-13 John Levon <levon@movementarian.org>
7791 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7793 * text.C: fix a getChar(pos) bug properly
7795 2003-03-13 Angus Leeming <leeming@lyx.org>
7798 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7799 Probably only temporary. Let's see how things pan out.
7801 * BufferView.C (unlockInset):
7802 * BufferView_pimpl.C (fitCursor):
7803 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7805 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7806 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7808 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7809 new functions that convert ParagraphParameters to and from a string.
7811 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7812 BufferView::Pimpl's dispatch.
7813 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7815 2003-03-13 André Pönitz <poenitz@gmx.net>
7819 * factory.C: make it aware of InsetEnv
7821 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * text2.C (setCursor): never ask for one past last
7824 (setCursor): add some debugging messages.
7826 * text.C (singleWidth): never ask for one past last
7827 (singleWidth): ditto
7829 (rightMargin): ditto
7830 (rowBreakPoint): ditto
7831 (setHeightOfRow): ditto
7832 (prepareToPrint): ditto
7834 * rowpainter.C (paintBackground): never ask for one past last
7835 (paintText): never ask for one past last
7837 * paragraph_pimpl.C (getChar): make the assert stricter, never
7838 allow the one past last pos to be taken
7840 * paragraph.C (getChar): ws changes only
7842 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7843 (numberOfSeparators): ditto
7844 (numberOfHfills): ditto
7846 2003-03-12 John Levon <levon@movementarian.org>
7852 * paragraph_funcs.C: fix per-buffer authorlists
7854 2003-03-12 John Levon <levon@movementarian.org>
7856 * text.C: fix newline in right address
7858 2003-03-12 Angus Leeming <leeming@lyx.org>
7860 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7861 duplicate those in LyXFunc::dispatch.
7865 * ToolbarDefaults.C:
7866 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7867 Add LFUN_FONTFREE_UPDATE.
7869 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7870 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7872 * bufferview_func.[Ch]: several new functions to facilliate
7873 transfer of data to and from the character dialog.
7875 2003-03-12 John Levon <levon@movementarian.org>
7880 * paragraph_funcs.C:
7881 * paragraph_pimpl.C:
7885 * text3.C: remove META_NEWLINE in favour of an inset
7888 * rowpainter.C: remove paintNewline (done by inset)
7890 2003-03-12 John Levon <levon@movementarian.org>
7892 * paragraph_pimpl.C: complain about bad getChar()s
7893 for a while at least
7895 2003-03-12 John Levon <levon@movementarian.org>
7898 * buffer.C: move paragraph read into a separate function,
7899 a little renaming to reflect that.
7902 * bufferparams.C: remove the author_ids map, not necessary now
7905 * factory.C: moved Buffer::readInset to here
7907 * paragraph_funcs.h:
7908 * paragraph_funcs.C: readParagraph free function moved from
7911 * tabular.C: name change
7913 2003-03-12 John Levon <levon@movementarian.org>
7916 * ParagraphParameters.C: move par params input to
7919 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7920 behave like a normal read from the stream wrt reading
7921 a line vs. a \\token
7923 2003-03-12 John Levon <levon@movementarian.org>
7926 * ParagraphParameters.h:
7927 * ParagraphParameters.C: move output code to a
7930 2003-03-12 John Levon <levon@movementarian.org>
7932 * BufferView.C (insertLyXFile):
7935 * tabular.C: use a parlist iterator for creating the
7938 2003-03-12 John Levon <levon@movementarian.org>
7940 * buffer.C: make current_change static local not
7943 2003-03-12 John Levon <levon@movementarian.org>
7945 * buffer.C: fix insertStringAsLines for change tracking
7947 2003-03-12 John Levon <levon@movementarian.org>
7954 * bufferparams.C: move author list into params. Rename some
7955 functions. Move the header reading into a separate token
7956 loop. Move the header token reading into BufferParams.
7958 2003-03-12 John Levon <levon@movementarian.org>
7960 * changes.C: put debug inside lyxerr.debugging() checks
7962 2003-03-11 André Pönitz <poenitz@gmx.net>
7964 * factory.C: make it aware of InsetHFill
7966 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7968 * buffer.C (latexParagraphs): move function from here...
7969 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7972 2003-03-10 Angus Leeming <leeming@lyx.org>
7974 * LyXAction.C (init): fix bug in poplating array with multiple entries
7975 with the same LFUN (spotted by JMarc).
7977 2003-03-10 John Levon <levon@movementarian.org>
7980 * text2.C: move getColumnNearX() near its
7983 2003-03-10 John Levon <levon@movementarian.org>
7985 * text.C: fix break before a minipage
7987 2003-03-10 John Levon <levon@movementarian.org>
7989 * text.C: fix the last commit
7991 2003-03-09 John Levon <levon@movementarian.org>
7995 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7996 bug 365 (don't break before insets unless needed). Don't
7997 return a value > last under any circumstances.
7999 2003-03-09 Angus Leeming <leeming@lyx.org>
8001 * BufferView_pimpl.C (trackChanges, dispatch): call
8002 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8004 2003-03-09 Angus Leeming <leeming@lyx.org>
8006 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8007 than Dialogs::showAboutlyx().
8009 2003-03-09 Angus Leeming <leeming@lyx.org>
8011 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8012 than Dialogs::showTabularCreate().
8014 2003-03-09 John Levon <levon@movementarian.org>
8018 * text2.C: 3rd arg to nextBreakPoint was always the same.
8021 2003-03-08 John Levon <levon@movementarian.org>
8028 * text2.C: Remove the "main" bit from the "main body"
8031 2003-03-08 John Levon <levon@movementarian.org>
8033 * text.C (leftMargin): The left margin of an empty
8034 manual label paragraph should not include the label width
8037 * text.C (prepareToPrint): don't attempt to measure hfills
8038 for empty manual label paragraphs - the answer should be 0
8040 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * CutAndPaste.C: remove commented code and reindent.
8044 2003-03-08 John Levon <levon@movementarian.org>
8047 * lyxfunc.C: move reloadBuffer()
8050 * BufferView.C: to here
8052 * lyxvc.C: add comment
8055 * vc-backend.C: call bv->reload() to avoid
8056 getStatus() check on MENURELOAD
8058 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8060 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8061 to an old format .dep file.
8063 2003-03-07 Angus Leeming <leeming@lyx.org>
8065 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8066 when the LFUN_MOUSE_RELEASE should have been handled by
8067 inset->localDispatch.
8069 2003-03-07 Angus Leeming <leeming@lyx.org>
8071 * BufferView_pimpl.C (dispatch):
8072 * LyXAction.C (init):
8073 * ToolbarDefaults.C (init):
8075 * lyxfunc.C (getStatus):
8076 remove LFUN_INSET_GRAPHICS.
8078 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8080 2003-03-07 Angus Leeming <leeming@lyx.org>
8083 * LyXAction.C (init):
8084 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8086 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8089 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8091 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8092 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8094 2003-03-07 Angus Leeming <leeming@lyx.org>
8096 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8099 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * ParagraphList.C (front): new function
8104 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8106 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8107 and top_row_offset_. removed var first_y.
8109 * text2.C (LyXText, removeRow):
8111 * BufferView_pimpl.C:
8112 use these methods instead of using first_y
8114 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * text2.C (pasteSelection): adjust for checkPastePossible
8118 * CutAndPaste.C: remove Paragraph * buf and replace with
8119 ParagraphList paragraphs.
8120 (DeleteBuffer): delete
8121 (cutSelection): change the tc type to textclass_type
8122 (copySelection): change the tc type to textclass_type
8123 (copySelection): adjust for ParagraphList
8124 (pasteSelection): change the tc type to textclass_type
8125 (pasteSelection): adjust for Paragraphlist
8126 (nrOfParagraphs): simplify for ParagraphList
8127 (checkPastePossible): simplify for ParagraphList
8128 (checkPastePossible): remove unused arg
8130 * ParagraphList.C (insert): handle the case where there are no
8133 * CutAndPaste.h: make CutAndPaste a namespace.
8135 * text3.C (dispatch): adjust
8137 * text.C (breakParagraph): add a ParagraphList as arg
8139 * paragraph_funcs.C (breakParagraph): change to take a
8140 BufferParams and a ParagraphList as args.
8141 (breakParagraphConservative): ditto
8142 (mergeParagraph): ditto
8143 (TeXDeeper): add a ParagraphList arg
8144 (TeXEnvironment): ditto
8147 * buffer.C (readLyXformat2): adjust
8148 (insertStringAsLines): adjust
8149 (latexParagraphs): adjust
8151 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8152 (cutSelection): adjust
8153 (pasteSelection): adjust
8155 * BufferView_pimpl.C (insertInset): adjust
8157 2003-03-05 Angus Leeming <leeming@lyx.org>
8160 * LyXAction.C (init):
8161 * BufferView_pimpl.C (dispatch):
8162 * lyxfunc.C (getStatus):
8163 remove LFUN_CHILD_INSERT.
8165 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8167 2003-03-05 Angus Leeming <leeming@lyx.org>
8170 * LyXAction.C (init):
8171 * src/factory.C (createInset):
8172 * lyxfunc.C (getStatus):
8173 * text3.C (dispatch):
8174 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8176 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8178 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * ParagraphList.C (insert): handle insert right before end()
8181 (erase): fix cases where it can be first or last paragraph.
8183 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8185 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8186 Paragraph::next and Paragraph::previous
8189 * text.C (breakParagraph): adjust
8191 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8192 BufferParams& as arg.
8193 (breakParagraph): use ParagraphList::insert
8194 (breakParagraphConservative): take a Buffer* instead of a
8195 BufferParams& as arg.
8196 (breakParagraphConservative): use ParagraphList::insert.
8198 * buffer.C (insertStringAsLines): un-const it
8199 (insertStringAsLines): adjust
8201 * ParagraphList.C (insert): new function
8203 * CutAndPaste.C (pasteSelection): adjust
8205 * text.C (backspace): adjust
8207 * tabular.C (SetMultiColumn): adjust
8209 * CutAndPaste.C (cutSelection): adjust
8210 (pasteSelection): adjust
8212 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8213 Buffer const * as arg
8215 * ParagraphList.C (erase): new function
8216 * paragraph_funcs.C (mergeParagraph): use it
8217 (mergeParagraph): make it take a Buffer* instead of a
8218 BufferParams* as arg
8220 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8222 (breakParagraphConservative): ditto
8224 * paragraph.h: remove the breakParagraph friend
8226 * paragraph.C (eraseIntern): new function
8227 (setChange): new function
8229 * paragraph_funcs.C (mergeParagraph): make it take a
8230 ParagraphList::iterator instead of a Paragraph *, adjust
8233 * paragraph.h: move an #endif so that the change tracking stuff
8234 also works in the NO_NEXT case.
8236 2003-03-04 Angus Leeming <leeming@lyx.org>
8239 * LyXAction.C: new LFUN_INSET_MODIFY.
8241 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8242 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8244 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * several files: ws changes only
8248 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8249 (TeXEnvironment): ditto
8252 * buffer.C (makeLaTeXFile): adjust
8253 (latexParagraphs): make it take ParagraphList::iterator as args
8255 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * buffer.C (latexParagraphs): adjust
8259 * paragraph.C (TeXOnePar): move function...
8260 (optArgInset): move function...
8261 (TeXEnvironment): move function...
8262 * paragraph_pimpl.C (TeXDeeper): move function...
8263 * paragraph_funcs.C: ...here
8265 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8267 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * buffer.C (readInset): remove compability code for old Figure and
8272 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8274 * buffer.C: ws changes
8277 * BufferView_pimpl.C: ditto
8280 * bufferlist.h: ditto
8284 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8286 * converter.[Ch]: split into itself +
8289 * Makefile.am: += graph.[Ch] + format.[Ch]
8296 * lyxrc.C: added #include "format.h"
8298 2003-02-27 Angus Leeming <leeming@lyx.org>
8300 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8303 * factory.C (createInset): add "label" to the factory.
8305 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8306 string and do no more.
8308 2003-02-27 Angus Leeming <leeming@lyx.org>
8311 * LyXAction.C (init):
8312 * factory.C (createInset):
8313 * BufferView_pimpl.C (dispatch):
8314 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8316 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8318 * lyxfunc.C (dispatch):
8319 * text3.C (dispatch): pass name to params2string.
8321 2003-02-26 Angus Leeming <leeming@lyx.org>
8323 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8325 Rearrange the ~includes. Strip out the unnecessary ones.
8327 * factory.C (createInset): reformat.
8328 create new insets for the various LFUN_XYZ_APPLY lfuns.
8330 2003-02-26 John Levon <levon@movementarian.org>
8333 * lyxrow.C: add isParStart,isParEnd helpers
8335 * paragraph.h: make isInserted/DeletedText take refs
8337 * paragraph_funcs.h:
8338 * paragraph_funcs.C: remove #if 0'd code
8343 * text.C: use lyxrow helpers above.
8344 Move draw and paint routines to RowPainter.
8345 Make several methods use refs not pointers.
8346 Make backgroundColor() const.
8347 Add markChangeInDraw(), isInInset().
8348 Merge changeRegionCase into changeCase.
8349 Make workWidth() shouldn't-happen code into an Assert.
8352 * rowpainter.C: new class for painting a row.
8355 * vspace.C: make inPixels take a ref
8357 2003-02-26 Angus Leeming <leeming@lyx.org>
8359 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8362 2003-02-25 John Levon <levon@movementarian.org>
8364 * ispell.C: give the forked command a more accurate name
8366 2003-02-22 John Levon <levon@movementarian.org>
8369 * toc.C: make TocItem store an id not a Paragraph *
8372 2003-02-21 Angus Leeming <leeming@lyx.org>
8374 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8375 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8376 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8377 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8378 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8379 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8381 * BufferView_pimpl.C (dispatch):
8382 * LyXAction.C (init):
8383 * factory.C (createInset):
8384 * lyxfunc.C (getStatus, dispatch):
8385 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8387 2003-02-21 Angus Leeming <leeming@lyx.org>
8389 * BufferView_pimpl.C (MenuInsertLyXFile):
8390 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8391 * lyxfunc.C (menuNew, open, doImport):
8392 no longer pass a LyXView & to fileDlg.
8394 2003-02-21 Angus Leeming <leeming@lyx.org>
8396 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8397 * LyXAction.C: change, BIBKEY to BIBITEM.
8398 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8399 Change InsetBibKey to InsetBibitem.
8400 Change BIBKEY_CODE to BIBITEM_CODE.
8401 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8402 * factory.C: replace insetbib.h with insetbibitem.h.
8403 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8404 * paragraph.C: replace insetbib.h with insetbibitem.h.
8405 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8406 Change bibkey() to bibitem().
8407 * text.C: remove insetbib.h.
8408 * text2.C: replace insetbib.h with insetbibitem.h.
8409 change bibkey() to bibitem().
8410 * text3.C: remove insetbib.h.
8411 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8413 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8415 * lyxrc.C (output): enclose user email in quotes (in case there are
8418 2003-02-18 John Levon <levon@movementarian.org>
8420 * buffer.h: add std::
8422 2003-02-17 John Levon <levon@movementarian.org>
8428 * pspell.C: reworking. Especially in ispell, a large
8429 number of clean ups and bug fixes.
8431 * lyxfunc.C: fix revert to behave sensibly
8433 2003-02-17 André Pönitz <poenitz@gmx.net>
8436 * commandtags.h: new LFUN_INSERT_BIBKEY
8446 * paragraph_func.C: remove special bibkey handling
8448 2003-02-17 John Levon <levon@movementarian.org>
8450 * text.C (Delete): fix case where delete at the end of
8451 the very first paragraph would not merge the pars
8453 2003-02-17 John Levon <levon@movementarian.org>
8455 * lyxrow.C: fix lastPrintablePos()
8457 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * bufferparams.C (writeLaTeX): add a std:here
8461 * buffer.C: and remove a using directive there
8463 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8465 * buffer.C (makeLaTeXFile): move the code that generates the
8468 * bufferparams.C (writeLaTeX): ... in this new method
8470 * LaTeXFeatures.C (getEncodingSet): make const
8471 (getLanguages): make const
8473 * MenuBackend.C (binding): returns the binding associated to this
8475 (add): sets the status of each item by calling getStatus. Adds
8477 (read): add support for OptSubMenu
8478 (expand): remove extra separator at the end of expanded menu
8480 2003-02-15 John Levon <levon@movementarian.org>
8483 * BufferView_pimpl.C:
8485 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8486 inset code that had no actual effect. Remove unneeded status
8489 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8494 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8496 * text.C (drawLengthMarker): also draw an arrow marker for
8497 symbolic lengths (medskip...)
8499 2003-02-14 John Levon <levon@movementarian.org>
8502 * tabular.C: better method names
8504 2003-02-14 John Levon <levon@movementarian.org>
8506 * BufferView_pimpl.C:
8511 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8512 it's a more accurate name. Remove some pointless uses.
8514 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8516 * text2.C (LyXText): change order of initilizers to shut off
8519 2003-02-14 John Levon <levon@movementarian.org>
8521 * buffer.C: use ParIterator for getParFromID()
8525 * paragraph_pimpl.h:
8526 * paragraph_pimpl.C: remove unused getParFromID()
8528 2003-02-14 John Levon <levon@movementarian.org>
8530 * buffer.C: remove some very old #if 0'd parse code
8532 2003-02-13 John Levon <levon@movementarian.org>
8536 * text2.C: move hfillExpansion(), numberOfSeparators(),
8537 rowLast(), rowLastPrintable(), numberofHfills(),
8538 numberOfLabelHfills() ...
8541 * lyxrow.C: ... to member functions here.
8546 * text.C: remove LyXText::beginningOfMainBody(), and call
8547 p->beginningOfMainBody() directly. Move the check for
8548 LABEL_MANUAL into the latter.
8555 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8561 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8562 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8564 2003-02-13 John Levon <levon@movementarian.org>
8566 * CutAndPaste.C: remove debug
8568 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8570 * paragraph.C (asString): remove two unused variables
8572 * lyxtextclass.C (readTitleType):
8574 (LyXTextClass): handle new members titletype_ and titlename_
8576 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8578 2003-02-09 John Levon <levon@movementarian.org>
8581 * buffer.C: replace hand-coded list with a map for the dep clean
8583 2003-02-08 John Levon <levon@movementarian.org>
8585 * LaTeX.C: consolidate code into showRunMessage() helper
8587 2003-02-08 John Levon <levon@movementarian.org>
8592 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8593 and pass the size in explicitly
8595 * BufferView_pimpl.h:
8596 * BufferView_pimpl.C:
8598 * BufferView.C: add getCurrentChange()
8600 * BufferView_pimpl.h:
8601 * BufferView_pimpl.C: handle change lfuns
8603 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8604 for changes. Mark pasted paragraphs as new.
8606 * support/lyxtime.h:
8607 * support/lyxtime.C:
8608 * DepTable.C: abstract time_t as lyx::time_type
8611 * LColor.C: add colours for new text, deleted text, changebars
8613 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8614 package use "usenames" option.
8618 * LyXAction.C: add change lfuns
8622 * author.C: author handling
8625 * buffer.C: add a per-buffer author list, with first entry as
8626 current author. Handle new .lyx tokens for change tracking. Output
8627 author list to .lyx file. Output dvipost stuff to .tex preamble.
8628 Bump lyx format to 222.
8631 * bufferlist.C: add setCurrentAuthor() to reset current author details
8635 * bufferparams.C: add param for tracking
8637 * bufferview_funcs.C: output change info in minibuffer
8641 * changes.C: add change-tracking structure
8644 * debug.C: add CHANGES debug flag
8647 * lyxfind.C: add code for finding the next change piece
8650 * lyxrc.C: add user_name and user_email
8653 * lyxrow.C: add a metric for the top of the text line
8656 * text.C: implement accept/rejectChange()
8659 * text.C: paint changebars. Paint new/deleted text in the chosen
8660 colours. Strike through deleted text.
8664 * paragraph_pimpl.h:
8665 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8666 in the current change to the insert functions. Rework erase to
8667 mark text as deleted, adding an eraseIntern() and a range-based
8668 erase(). Implement per-paragraph change lookup and
8671 * paragraph_funcs.C: Fixup paste for change tracking.
8673 * tabular.C: mark added row/columns as new.
8675 * text.C: fix rowLast() to never return -1. Don't allow
8676 spellchecking of deleted text. Track transpose changes. Don't
8677 allow paragraph break or merge where appropriate.
8679 * text2.C: leave cursor at end of selection after a cut.
8681 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8683 * text.C (getLengthMarkerHeight):
8684 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8685 visible on screen too.
8687 2003-02-07 John Levon <levon@movementarian.org>
8689 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8691 2003-02-05 Angus Leeming <leeming@lyx.org>
8693 * lyxserver.C (read_ready): revert my patch of 11 September last year
8694 as it sends PC cpu through the roof. Presumably this means that
8695 the lyxserver will no longer run on an Alpha...
8697 2003-01-30 Angus Leeming <leeming@lyx.org>
8699 * factory.C (createInset): create an InsetCommandParam of type "index"
8700 and use it to 'do the right thing'.
8702 * text2.C (getStringToIndex): ensure that cursor position is always
8703 reset to the reset_cursor position.
8705 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8707 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8710 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8714 * lyxfunc.C: Output messages with identical spelling, punctuation,
8717 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8719 * MenuBackend.C (expandFormats): List only viewable export formats
8722 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8725 * lyxfunc.C (getStatus): Make sure that formats other than
8726 "fax" can also be disabled
8728 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * text3.C (dispatch): put the lfuns that insert insets in 3
8731 groups, and call doInsertInset with appropriate arguments.
8732 (doInsertInset): new function, that creates an inset and inserts
8733 it according to some boolean parameters.
8735 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8737 * buffer.C (readFile): remember to pass on 'par' when calling
8738 readFile recursively.
8740 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * MenuBackend.C (expandFormats): add "..." to import formats.
8744 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8746 * paragraph.C (asString): Remove XForms RTL hacks.
8748 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8749 * buffer.C: fix typo
8751 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8753 * Makefile.am (LIBS): delete var
8754 (lyx_LDADD): add @LIBS@ here instead.
8756 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8758 * Clarify the meaning of "wheel mouse jump"
8760 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8762 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8765 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8767 * importer.C (Loaders): do not preallocate 3 elements in the
8768 vector, since one ends up with 6 elements otherwise
8770 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * DepTable.C (write): write the file name as last element of the
8773 .dep file (because it may contain spaces)
8774 (read): read info in the right order
8776 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * paragraph_pimpl.C (simpleTeXBlanks):
8779 (simpleTeXSpecialChars):
8780 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8782 * tabular.C (latex): add some missing case statements. Reindent.
8784 * MenuBackend.C (expandToc): remove unused variable.
8786 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8795 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8798 2003-01-05 John Levon <levon@movementarian.org>
8801 * BufferView.C: add getEncoding()
8804 * kbsequence.C: do not store last keypress
8807 * lyxfunc.C: store last keypress here instead. Pass encoding
8810 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * lyx_main.C (init): remove annoying error message when following
8813 symbolic links (bug #780)
8815 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8817 * text.C (insertChar):
8818 * lyxrc.C (getDescription): remove extra spaces
8820 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * lyxrc.C (getDescription): remove extra spaces
8824 2002-12-20 John Levon <levon@movementarian.org>
8826 * text3.C: hack fix for page up/down across tall rows
8828 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8830 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8833 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8836 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8837 thesaurus is not compiled in
8839 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8841 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8843 2002-12-16 Angus Leeming <leeming@lyx.org>
8846 * lyx_main.C (init): remove override_x_deadkeys stuff.
8848 2002-12-12 John Levon <levon@movementarian.org>
8850 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8851 insert. Only remove shift modifier under strict
8854 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8856 * MenuBackend.C (expandToc): fix crash.
8858 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * MenuBackend.C (expandToc): gettext on float names.
8862 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8864 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8865 implement bool empty() [bug 490]
8867 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8871 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8873 * several files: ws changes
8875 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8877 * text2.C (setCounter): clean up a bit, use boost.format.
8878 (updateCounters): initialize par upon declaration.
8880 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8881 if the layout exists. We do not just store the layout any more.
8882 (SwitchLayoutsBetweenClasses): use boost.format
8884 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8886 * converter.C (convert): if from and to files are the same, use a
8887 temporary files as intermediary
8889 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8894 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8896 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8898 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8900 * tabular.C (asciiPrintCell): use string(size, char) instead of
8903 * sgml.C (openTag): fix order of arguments to string constructor
8906 * lyxfunc.C (dispatch): use boost.format
8908 * lots of files: change "c" -> 'c'
8910 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8912 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8914 2002-11-25 Angus Leeming <leeming@lyx.org>
8916 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8918 * lyx_main.C (init): compile fix.
8920 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * lyx_cb.C (start): boost.formatify
8923 do not include <iostream>
8925 * lengthcommon.C: ws only
8927 * boost-inst.C,BoostFormat.h: add more explict instantations
8929 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8931 * lots of files: handle USE_BOOST_FORMAT
8933 2002-11-21 John Levon <levon@movementarian.org>
8935 * pspell.C: fix compile
8937 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * lyxfunc.C (dispatch): use boost::format
8943 * lyxfont.C (stateText): use boost::format
8945 * lyx_main.C (LyX): use boost::format
8947 (queryUserLyXDir): ditto
8950 (typedef boost::function): use the recommened syntax.
8952 * importer.C (Import): use boost::format
8954 * debug.C (showLevel): use boost::format
8956 * converter.C (view): use boost::format
8961 * bufferview_funcs.C (currentState): use boost::format
8963 * bufferlist.C (emergencyWrite): use boost::format
8965 * buffer.C (readLyXformat2): use boost::format
8966 (parseSingleLyXformat2Token): ditto
8968 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8970 * LaTeX.C (run): use boost::format
8972 * Chktex.C (scanLogFile): use boost::format
8974 * BufferView_pimpl.C (savePosition): use boost::format
8975 (restorePosition): ditto
8976 (MenuInsertLyXFile): ditto
8978 * BoostFormat.h: help file for explicit instation.
8980 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8982 * tabular.C (latex): Support for block alignment in fixed width
8985 2002-11-17 John Levon <levon@movementarian.org>
8987 * BufferView_pimpl.C:
8989 * lyxfunc.C: split filedialog into open/save
8991 2002-11-08 Juergen Vigna <jug@sad.it>
8993 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8994 by my last patch (hopefully).
8996 2002-11-08 John Levon <levon@movementarian.org>
9005 * toc.C: ParConstIterator, and use it (from Lars)
9007 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9009 * lyxtextclass.[Ch]: revise and add doxygen comments
9011 2002-11-07 John Levon <levon@movementarian.org>
9013 * text.C: fix progress value for spellchecker
9015 * toc.C: fix navigate menu for insetwrap inside minipage
9017 * paragraph_funcs.C: added FIXME for suspect code
9019 2002-11-07 John Levon <levon@movementarian.org>
9021 * BufferView_pimpl.C: fix redrawing of insets
9024 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * text2.C (updateCounters): fix bug 668
9028 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9030 * text3.C (dispatch): Do not make the buffer dirty when moving the
9033 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * vc-backend.C: STRCONV
9038 * text2.C (setCounter): STRCONV
9040 * paragraph.C (asString): STRCONV
9042 * lyxlength.C (asString): STRCONV
9043 (asLatexString): ditto
9045 * lyxgluelength.C (asString): STRCONV
9046 (asLatexString): ditto
9048 * lyxfunc.C (dispatch): STRCONV
9051 * lyxfont.C (stateText): STRCONV
9053 * importer.C (Import): STRCONV
9055 * counters.C (labelItem): STRCONV
9056 (numberLabel): ditto
9057 (numberLabel): remove unused ostringstream o
9062 * bufferview_funcs.C (currentState): STRCONV
9064 * buffer.C (readFile): STRCONV
9065 (asciiParagraph): ditto
9066 (makeLaTeXFile): ditto
9068 * Spacing.C (writeEnvirBegin): STRCONV
9070 * LaTeXFeatures.C (getLanguages): STRCONV
9071 (getPackages): ditto
9073 (getBabelOptions): ditto
9074 (getTClassPreamble): ditto
9075 (getLyXSGMLEntities): ditto
9076 (getIncludedFiles): ditto
9080 (scanAuxFile): ditto
9083 * LString.h: add the STRCONV macros
9085 * BufferView_pimpl.C (savePosition): STRCONV
9086 (restorePosition): ditto
9087 (MenuInsertLyXFile): ditto
9089 * vc-backend.C (scanMaster): change from submatch[...] to
9092 * funcrequest.C: include config.h
9094 * factory.C: include config.h
9096 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9098 * box.C: include config.h
9100 * LaTeX.C (scanAuxFile): change from submatch[...] to
9104 2002-10-25 Angus Leeming <leeming@lyx.org>
9106 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9108 * ispell.[Ch] (setError): new method.
9109 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9110 Use setError() insetead of goto END.
9112 * lyx_cb.C (AutoSave): move out child process into new class
9115 2002-10-30 John Levon <levon@movementarian.org>
9117 * text3.C: make start appendix undoable
9119 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9121 * lyxlength.C (inPixels): Fix returned value.
9123 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9126 2002-10-24 Angus Leeming <leeming@lyx.org>
9128 * lyxgluelength.h: no need to forward declare BufferParams
9129 or BufferView, so don't.
9131 2002-10-21 John Levon <levon@movementarian.org>
9133 * BufferView.C: menuUndo ->undo, redo
9135 * BufferView.h: document, remove dead, make some methods private
9137 * paragraph_funcs.h:
9138 * paragraph_funcs.C:
9139 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9144 * sgml.C: move sgml open/close tag into sgml.C
9146 * bufferview_funcs.h: unused prototype
9149 * lyxfunc.C: remove unused
9152 * text.C: remove unused
9154 2002-10-21 John Levon <levon@movementarian.org>
9158 * BufferView_pimpl.h:
9159 * BufferView_pimpl.C: fix mouse wheel handling based on
9160 patch from Darren Freeman
9162 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9164 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9166 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9168 * lyxlength.C (inPixels): Fix hanfling of negative length.
9169 Fix LyXLength::MU case.
9171 2002-10-16 John Levon <levon@movementarian.org>
9173 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9175 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9177 * converter.C (view): add support for $$i (file name) and $$p
9178 (file path) for the viewer command. If $$i is not specified, then
9179 it is appended to the command (for compatibility with old syntax)
9181 2002-10-14 Juergen Vigna <jug@sad.it>
9183 * undo_funcs.C (textHandleUndo): alter the order in which the
9184 new undopar is added to the LyXText, as we have to set first
9185 the right prev/next and then add it as otherwise the rebuild of
9186 LyXText is not correct. Also reset the cursor to the right paragraph,
9187 with this IMO we could remove the hack in "redoParagraphs()".
9189 2002-10-09 Angus Leeming <leeming@lyx.org>
9191 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9192 to turn off an optimisation if a new inset is to be inserted.
9194 2002-10-11 André Pönitz <poenitz@gmx.net>
9196 * lyxtext.h: make some functions public to allow access
9197 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9199 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * text3.C (dispatch): when changing layout, avoid an infinite loop
9204 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * lyxrc.C (read): treat a viewer or converter command of "none" as
9209 * MenuBackend.C (expandFormats): for an update, also allow the
9210 formats that are not viewable
9212 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9213 script if it is newer than the lyxrc.defaults in user directory
9215 2002-10-07 André Pönitz <poenitz@gmx.net>
9217 * text.C: Vitaly Lipatov's small i18n fix
9219 2002-09-25 Angus Leeming <leeming@lyx.org>
9221 * ispell.h: doxygen fix.
9223 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9225 * buffer.h (readFile): Add a new argument to the method, to allow
9226 reading of old-format templates.
9228 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9230 * toc.C (getTocList): Get TOC from InsetWrap.
9232 2002-09-16 John Levon <levon@movementarian.org>
9234 * lyxfunc.C: check tabular for cut/copy too
9236 2002-09-12 John Levon <levon@movementarian.org>
9241 * factory.C: add header
9243 * paragraph_funcs.h:
9244 * paragraph_funcs.C: cleanup
9246 2002-09-11 John Levon <levon@movementarian.org>
9248 * PrinterParams.h: odd/even default to true
9250 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9252 * PrinterParams.h: update printer parameters for new xforms dialog
9254 2002-09-11 Angus Leeming <leeming@lyx.org>
9256 * lyxserver.C (read_ready): re-write to make it more transparent
9257 and to make it work in coherent fashion under Tru64 Unix.
9259 2002-09-11 André Pönitz <poenitz@gmx.net>
9263 * text3.C: implement LFUN_WORDSEL
9265 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9267 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9268 make floatlist_ a boost::shared_ptr<FloatList>
9270 * lyxtextclass.C: include FloatList.h
9271 (LyXTextClass): initialize floatlist_
9272 (TextClassTags): add TC_NOFLOAT
9273 (Read): match "nofloat" to TC_NOFLOAT and use it.
9274 (readFloat): modify call to floatlist_
9278 * FloatList.[Ch] (FloatList): remove commented out float
9280 (erase): new function
9282 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9284 * MenuBackend.C (expandToc): fix crash when there is no document
9287 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9289 * many files: Add insetwrap.
9291 2002-09-09 John Levon <levon@movementarian.org>
9293 * text2.C: remove confusing and awkward depth wraparound
9295 2002-09-09 John Levon <levon@movementarian.org>
9297 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9300 * buffer.C: remove getIncludeonlyList()
9303 * lyxfunc.C: remove headers
9305 2002-09-09 Juergen Vigna <jug@sad.it>
9307 * text.C (getColumnNearX): fix form Michael this is most
9308 probably a cut&paste bug.
9310 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9312 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9314 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9315 references, ws changes.
9317 * text2.C (init): update counters after init
9318 (insertParagraph): no need to set counter on idividual paragraphs.
9319 (setCounter): access the counters object in the textclass object
9320 on in the buffer object.
9321 (updateCounters): ditto
9323 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9324 shared_ptr<Counters> to avoid loading counters.h in all
9326 (LyXTextClass): initialize ctrs_
9327 (TextClassTags): add TC_COUNTER, and ...
9328 (Read): use it here.
9329 (CounterTags): new tags
9330 (readCounter): new function
9331 (counters): new funtion
9332 (defaultLayoutName): return a const reference
9334 * counters.C (Counters): remove contructor
9335 (newCounter): remove a couple of unneeded statements.
9336 (newCounter): simplify a bit.
9337 (numberLabel): some small formatting changes.
9339 * buffer.[Ch]: remove all traces of counters, move the Counters
9340 object to the LyXTextClass.
9342 2002-09-06 Alain Castera <castera@in2p3.fr>
9344 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9345 package to set the horizontal alignment on fixed width columns.
9348 * lyx_sty.h: added tabularnewline macro def.
9350 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9352 2002-09-06 John Levon <levon@movementarian.org>
9354 * LyXAction.C: tooltips for sub/superscript
9356 * MenuBackend.C: a bit more verbose
9358 * lyxfunc.C: tiny clean
9360 * undo_funcs.C: document undo_frozen
9362 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9364 * counters.C (Counters): add missing algorithm counter.
9366 * text2.C (setCounter): lookup the counter with layouts latexname
9367 instead of by section number.
9368 (setCounter): use a hackish way to lookup the correct enum
9370 a float name->type change
9371 reset enum couners with counter name directly instead of depth value.
9373 * counters.C (Counters): remove the push_backs, change to use the
9374 float type not the float name.
9375 (labelItem): remove unused string, float name->type change
9377 * counters.h: don't include vector, loose the enums and sects vectors
9379 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9381 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9382 (Read): add float->TC_FLOAT to textclassTags
9383 (Read): and handle it in the switch
9384 (readFloat): new function
9386 * FloatList.C (FloatList): comment out the hardcoded float
9389 * lyxlayout.h: ws change.
9391 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9393 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9395 2002-09-03 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.h: qualified name is not allowed in member
9398 declaration: WorkArea & Pimpl::workarea() const;
9400 * factory.C: added using std::endl directive.
9402 * text3.C: added using std::find and std::vector directives.
9404 2002-08-29 André Pönitz <poenitz@gmx.net>
9407 * text2.C: remove unused member number_of_rows
9410 * BufferView2.C: remove file, move contents to...
9411 * BufferView.C: ... here
9413 * BufferView_pimpl.C:
9414 * factory.C: move more inset creation to factory
9416 * vspace.C: avoid direct usage of LyXText, ws changes
9419 don't provide direct access to WorkArea, use two simple
9420 acessors haveSelction() and workHeight() instead
9423 2002-08-29 John Levon <levon@movementarian.org>
9425 * BufferView_pimpl.C (dispatch): do not continue when
9428 2002-08-28 André Pönitz <poenitz@gmx.net>
9430 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9433 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9435 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9437 * buffer.C: increment LYX_FORMAT to 221
9439 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9440 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9442 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9444 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9446 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9448 * factory.C (createInset): use LyXTextClass::floats
9450 * MenuBackend.C (expandFloatListInsert):
9451 (expandFloatInsert):
9454 * text2.C (setCounter):
9456 * LaTeXFeatures.C (useFloat):
9457 (getFloatDefinitions):
9459 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9461 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9462 floatlist_, with accessor floats().
9464 * FloatList.h: remove global FloatList
9466 2002-08-26 André Pönitz <poenitz@gmx.net>
9468 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9472 * BufferView_pimpl.C:
9473 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9475 2002-08-25 John Levon <levon@movementarian.org>
9477 * LyXAction.C: fix margin note description
9479 2002-08-24 John Levon <levon@movementarian.org>
9483 * bufferview_funcs.C:
9485 * undo_funcs.C: cleanups
9487 * lyxfunc.C: disable CUT/COPY when no selection
9489 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9491 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9492 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9494 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9495 Add backward compatibility to "mono", "gray" and "no".
9497 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9499 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9500 (and file_format >= 200).
9502 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9506 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9510 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9512 * BufferView_pimpl.C:
9519 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9520 inset and code to make it work with the paragraph code. The inset
9521 can be anywhere in the paragraph, but will only do the expected
9522 thing in LaTeX if the layout file contains the parameter line
9524 (or more generally, a nonzero value) for that layout.
9526 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * paragraph.h: remove the declaration of undefined counters class
9531 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9533 * text2.C (setCounter): fixed enumeration mis-count as reported by
9534 Dr. Richard Hawkins.
9536 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9538 * paragraph_funcs.h: remove some unneeded includes
9540 * text.C (backspace): pasteParagraph now in global scipe
9542 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9543 (pasteSelection): ditto
9545 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9546 * paragraph_funcs.C (pasteParagraph): ... here
9548 2002-08-20 André Pönitz <poenitz@gmx.net>
9550 * commandtags.h: new LFUNs for swapping/copying table row/colums
9553 * lyxfunc.C: support for new lfuns
9555 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9558 * buffer.[Ch]: remove NO_COMPABILITY stuff
9560 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9562 * boost.C (throw_exception): new file, with helper function for
9563 boost compiled without exceptions.
9568 * ParameterStruct.h:
9569 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9571 * bufferlist.C (emergencyWriteAll): use boost bind
9573 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9575 * text.C: include paragraph_funcs.h
9576 (breakParagraph): breakParagraph is now in global scope
9578 * paragraph_funcs.[Ch]: new files
9580 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9583 * buffer.C: include paragraph_funcs.h
9584 (insertStringAsLines): breakParagraph is now in global scope
9586 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9589 * CutAndPaste.C: include paragraph_funcs.h
9590 (cutSelection): breakParagraphConservative is now in global scope
9591 (pasteSelection): ditto
9593 * buffer.h: declare oprator== and operator!= for
9594 Buffer::inset_iterator
9596 * bufferlist.C (emergencyWrite): don't use fmt(...)
9598 * text3.C: add using std::endl
9600 * BufferView.C (moveCursorUpdate): remove default arg
9602 2002-08-20 André Pönitz <poenitz@gmx.net>
9604 * buffer.[Ch]: move inline functions to .C
9607 * BufferView_pimpl.C:
9609 * buffer.[Ch]: use improved inset_iterator
9612 * paragraph.[Ch]: write one paragraph at a time
9614 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9616 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9617 style if style is not specified.
9619 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * text2.C (setCounter): when searching for right label for a
9622 caption, make sure to recurse to parent insets (so that a caption
9623 in a minipage in a figure float works) (bug #568)
9625 2002-08-20 André Pönitz <poenitz@gmx.net>
9627 * text3.C: new file for LyXText::dispatch() and helpers
9629 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9631 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9633 2002-08-19 André Pönitz <poenitz@gmx.net>
9636 * text.C: new LyXText::dispatch()
9638 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9640 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9642 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9644 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9647 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9649 * Makefile.am: use $(variables) instead of @substitutions@
9651 2002-08-15 André Pönitz <poenitz@gmx.net>
9654 * BufferView_pimpl.C: streamlining mathed <-> outer world
9658 * LyXAction.C: remove unused LFUN_MATH
9660 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9662 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9664 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9666 * paragraph.C (Paragraph): reformat a bit
9667 (cutIntoMinibuffer): use builtin InsetList function instad of
9671 * buffer.C: include boost/bind.hpp, add using std::for_each
9672 (writeFileAscii): use ParagraphList iterators
9673 (validate): use for_each for validate traversal of paragraphs
9674 (getBibkeyList): use ParagraphList iterators
9675 (resizeInsets): use for_each to resizeInsetsLyXText for all
9677 (getParFromID): use ParagraphList iterators
9679 * BufferView2.C (lockInset): use paragraph list and iterators
9681 2002-08-14 John Levon <levon@movementarian.org>
9683 * lyxserver.C: remove spurious xforms include
9685 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9687 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9689 2002-08-13 André Pönitz <poenitz@gmx.net>
9692 * lyxfunc.C: further cleaning
9694 2002-08-13 André Pönitz <poenitz@gmx.net>
9696 * funcrequest.h: new constructor
9698 * funcrequest.C: move stuff here from .h
9701 * BufferView_pimpl.C:
9704 * lyxfunc.C: subsequent changes
9706 * lyxfunc.h: new view() member function
9708 * lyxfunc.C: subsequent changes
9710 2002-08-13 Angus Leeming <leeming@lyx.org>
9713 * BufferView_pimpl.C:
9721 changes due to the changed LyXView interface that now returns references
9722 to member variables not pointers.
9724 2002-08-13 Angus Leeming <leeming@lyx.org>
9726 * WordLangTuple (word, lang_code): return references to strings,
9731 * lyxtext.h: forward-declare WordLangTuple.
9736 * text.C: #include "WordLangTuple.h".
9739 * text.C: (selectNextWordToSpellcheck): constify return type.
9741 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9747 * paragraph_pimpl.h:
9750 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9752 Made updateCounter always count from start of buffer, and removed
9753 second argument (par).
9754 Reverted floats number display to '#'. Perhaps I'll try again when the
9755 code base is sanitized a bit.
9757 2002-08-12 Angus Leeming <leeming@lyx.org>
9759 * buffer.[Ch] (getLabelList): constify.
9761 2002-08-07 André Pönitz <poenitz@gmx.net>
9763 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9765 * funcrequest.h: extension to keep mouse (x,y) position
9767 2002-08-12 Juergen Vigna <jug@sad.it>
9769 * BufferView2.C (insertErrors): forbid undo when inserting error
9772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9774 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9776 * ParagraphList.[Ch]: new files
9778 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9780 * BufferView2.C (lockInset): ParagraphList changes
9783 * bufferlist.C: ditto
9787 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9789 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9790 unused class variable counter_,
9792 * paragraph.[Ch] (getFirstCounter): delete unused function
9794 * counters.C: include LAssert.h
9795 (reset): add a new function with no arg, change other version to
9796 not have def. arg and to not allow empty arg.
9798 * text2.C (setCounter): remove empty arg from call to Counters::reset
9800 2002-08-11 John Levon <levon@movementarian.org>
9802 * Makefile.am: add WordLangTuple.h
9804 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9807 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9809 * insets/insettext.C: InsetList changes
9811 * graphics/GraphicsSupport.C (operator()): InsetList changes
9813 * toc.C (getTocList): InsetList changes
9815 * paragraph_pimpl.[Ch]: InsetList changes
9817 * paragraph.[Ch]: InsetList changes
9819 * buffer.C (inset_iterator): InsetList changes
9820 (setParagraph): ditto
9821 * buffer.h (inset_iterator): ditto
9822 * iterators.C (operator++): ditto
9823 * iterators.h: ditto
9825 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9827 * InsetList.[Ch]: new files, most InsetList handling moved out of
9830 * BufferView2.C (removeAutoInsets): InsetList changes
9832 (ChangeInsets): ditto
9834 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9836 * paragraph_pimpl.h (empty): new function
9838 * paragraph.[Ch] (empty): new function
9840 * other files: use the new Paragraph::empty function
9842 2002-08-09 John Levon <levon@movementarian.org>
9844 * lyxtext.h: remove unused refresh_height
9846 2002-08-09 John Levon <levon@movementarian.org>
9853 * paragraph.C: move sgml char escaping out of paragraph
9856 * paragraph.C: remove id setter
9860 * paragraph_pimpl.C: remove dead tex_code_break_column
9862 * bufferview_funcs.C: small cleanup
9864 * lyxfunc.C: remove dead proto
9866 * lyxtext.h: make some stuff private. Remove some dead stuff.
9868 * lyxgluelength.C: make as[LyX]String() readable
9870 2002-08-08 John Levon <levon@movementarian.org>
9875 * ToolbarDefaults.C:
9878 * toc.C: lyxaction cleanup
9880 2002-08-08 John Levon <levon@movementarian.org>
9882 * BufferView2.C: small cleanup
9885 * lyxfind.C: move unnecessary header into the .C
9887 2002-08-08 John Levon <levon@movementarian.org>
9889 * funcrequest.h: just tedious nonsense
9892 * lyx_main.C: cleanups
9895 * vspace.C: remove dead header lyx_main.h
9897 2002-08-07 Angus Leeming <leeming@lyx.org>
9900 * paragraph_pimpl.h:
9901 Forward declare class Counters in paragraph.h by moving the ctrs member
9902 variable into Paragraph::Pimpl.
9903 (counters): new method, returning a reference to pimpl_->ctrs.
9905 * text2.C: ensuing changes.
9907 2002-08-07 John Levon <levon@movementarian.org>
9909 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9911 * BufferView_pimpl.C: announce X selection on double/triple
9914 * lyx_main.C: use correct bool in batch dispatch
9916 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9918 2002-08-07 André Pönitz <poenitz@gmx.net>
9920 * funcrequest.h: new class to wrap a kb_action and its argument
9923 * BufferView_pimpl[Ch]:
9927 * lyxrc.C: subsequent changes
9930 2002-08-07 John Levon <levon@movementarian.org>
9932 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9933 document options change.
9935 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9940 * makefile.am: move counters functionality over from
9941 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9943 2002-08-06 John Levon <levon@movementarian.org>
9945 * WordLangTuple.h: new file for word + language code tuple
9956 * BufferView2.C: use WordLangTuple
9959 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9961 2002-08-06 John Levon <levon@movementarian.org>
9963 * lyx_main.C: fix cmdline batch handling
9965 2002-08-06 André Pönitz <poenitz@gmx.net>
9967 * lyxrc.C: set default for show_banner to true
9969 2002-08-06 John Levon <levon@movementarian.org>
9971 * pspell.C: fix a crash, and allow new aspell to work
9973 2002-08-06 John Levon <levon@movementarian.org>
9976 * kbmap.C: small cleanup
9979 * vspace.C: add const
9981 2002-08-05 John Levon <levon@movementarian.org>
9983 * LyXAction.C: back to tabular-insert
9985 2002-08-04 John Levon <levon@movementarian.org>
9988 * BufferView.C: cosmetic change
9990 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10000 * BufferView2.C: purge all "Lyx" not "LyX" strings
10003 * lyxcursor.C: attempt to add some documentation
10008 * ToolbarDefaults.C:
10009 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10010 merge with LFUN_TABULAR_INSERT
10017 * pspell.C: split up i/pspell implementations into separate
10018 files, many cleanups
10020 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10022 * text2.C: some cleanup
10024 * lyxfunc.C: don't check for isp_command == "none" any more, it
10025 didn't make any sense
10027 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10032 * makefile.am: move counters functionality over
10033 from text2.C/paragraph.[Ch] to counters.[Ch], and
10035 2002-08-02 John Levon <levon@movementarian.org>
10037 * buffer.C: s/lyxconvert/lyx2lyx/
10039 2002-08-02 Angus Leeming <leeming@lyx.org>
10041 * lyxlex.C: revert John's change as it breaks reading of the user
10044 2002-08-02 Angus Leeming <leeming@lyx.org>
10046 * importer.C (Import):
10047 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10048 changes due to LyXView::view() now returning a boost::shared_ptr.
10050 2002-08-02 John Levon <levon@movementarian.org>
10052 * lyxlex.C: small cleanup
10054 2002-08-02 John Levon <levon@movementarian.org>
10056 * text2.C (status): small cleanup, no logic change
10058 2002-08-01 John Levon <levon@movementarian.org>
10061 * buffer.C (writeFile): don't output alerts, caller
10065 * lyx_cb.C: from above
10067 * lyxfunc.C: allow to open non-existent files
10069 2002-07-31 John Levon <levon@movementarian.org>
10071 * lyxserver.C: don't let incidental errors get
10074 2002-07-30 John Levon <levon@movementarian.org>
10076 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10078 2002-07-30 John Levon <levon@movementarian.org>
10081 * lyxserver.C: remove I/O callback too
10083 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10085 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10088 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10090 * many files: strip,frontStrip -> trim,ltrim,rtrim
10092 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10094 * PrinterParams.h: remove extern containsOnly, and include
10095 support/lstrings.h instead.
10097 * LaTeX.C (scanAuxFile): modify because of strip changes
10099 * buffer.C (makeLaTeXFile): ditto
10100 * bufferparams.C (writeFile): ditt
10101 * lyxfont.C (stateText): ditto
10102 * lyxserver.C (read_ready): ditto
10103 * vc-backend.C (scanMaster): ditto
10105 * BufferView_pimpl.h: ws changes
10107 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10109 2002-07-26 André Pönitz <poenitz@gmx.net>
10111 * kb_sequence.C: remove unnedred usings
10113 2002-07-26 Juergen Vigna <jug@sad.it>
10115 * lyxfind.C (LyXReplace): we have to check better if the returned
10116 text is not of theLockingInset()->getLockingInset().
10118 2002-07-25 Juergen Vigna <jug@sad.it>
10120 * lyxfind.C (LyXReplace): don't replace if we don't get the
10123 * undo_funcs.C (createUndo): remove debugging code.
10125 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10127 * buffer.C (parseSingleLyXformat2Token): Use default placement
10128 when reading old floats.
10130 * FloatList.C (FloatList): Change the default placement of figure
10131 and tables to "tbp".
10133 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10135 * MenuBackend.C: using std::max
10137 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10139 * MenuBackend.C (expandToc):
10140 (expandToc2): code moved from xforms menu frontend. It is now
10141 generic and TOCs are transparent to menu frontends.
10143 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * toc.C (getTocList): protect against buf=0
10147 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10148 Menu as first parameter. Now, this calls itself recursively to
10149 expand a whole tree (this will be useful for TOC handling)
10150 (expandFloatInsert): remove 'wide' version of floats
10152 * MenuBackend.h (submenuname): returns the name of the submenu.
10153 (submenu): returns the submenu itself, provided it has been
10154 created by MenuBackend::expand
10156 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10159 insets which have noFontChange == true. (bug #172)
10161 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * BufferView_pimpl.C: add connection objects and use them...
10166 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * MenuBackend.C (expandLastfiles):
10171 (expandFloatListInsert):
10172 (expandFloatInsert):
10173 (expand): split expand in parts
10175 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10177 * lyx_gui.C: use lyx_gui::exit()
10179 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10181 * LyXAction.C: show the failing pseudo action
10183 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10185 * buffer.C (readFile): Run the lyxconvert script in order to read
10188 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10192 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10194 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10198 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10200 2002-07-22 Herbert Voss <voss@lyx.org>
10203 * lyxlength.[Ch]: add support for the vertical lengths
10205 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10207 * toc.[Ch]: std:: fixes
10209 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10211 * lyxrc.C: do not include lyx_main.h
10213 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10219 * BufferView2.C: include "lyxlex.h"
10222 * bufferparams.h: do not #include "lyxlex.h"
10224 * lyxtextclasslist.C (Add): remove method
10225 (classlist): renamed to classlist_
10227 * paragraph_pimpl.C:
10231 * bufferview_funcs.C:
10236 * toc.C (getTocList): use BufferParams::getLyXTextClass
10238 * toc.C (getTocList): use InsetFloat::addToToc
10240 * toc.[Ch]: new files, containing helper functions to handle table
10243 * lyxfunc.C (dispatch): no need to remove spaces around command
10245 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10246 first command of the sequence; it is not very clever, but I do not
10247 have a better idea, actually
10249 * LyXAction.C (LookupFunc): make sure to remove space at the
10250 beginning and end of the command
10252 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * MenuBackend.C (getMenubar): new method: return the menubar of
10256 (read): treat differently reading of menu and menubar (in
10257 particular, the menubar has no name now)
10258 (Menu::menubar): remove
10260 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10263 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10265 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10266 a bibitem inset in a RTL paragraph.
10268 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10270 * paragraph_pimpl.C: constify
10272 * BufferView_pimpl.C:
10274 * lyxfunc.C: fix dispatch in a nicer way
10276 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * lyxfunc.C (dispatch):
10279 * BufferView_pimpl.C:
10280 * BufferView_pimpl.h:
10282 * BufferView.h: rename Dispatch() to dispatch()
10284 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10286 * lyxlayout.C (Read): honor DependsOn tag
10288 * lyxlayout.[Ch] (depends_on): new method
10290 * version.C.in: update lyx_docversion
10292 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10294 * paragraph.C (validate): remove from here...
10295 * paragraph_pimpl.C (validate): ... and move here
10296 (isTextAt): make it const
10298 * buffer.C (getLists): ws cleanup
10300 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10302 * language.C (read): Use iso8859-1 encoding in latex_lang
10303 (this prevents LyX from crashing when using iso10646-1 encoding).
10305 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * text2.C (toggleInset): if cursor is inside an inset, close the
10308 inset and leave cursor _after_ it
10310 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10312 * lyxfunc.C: move minibuffer completion handling out of here
10314 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10316 * BufferView_pimpl.C:
10317 * LaTeX.C: fix dispatch calls
10319 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10321 * text.C (drawChars): Fix Arabic text rendering.
10323 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10327 * lyxfunc.C: remove message-push/pop
10331 * lyxfunc.C: rationalise some code by removing verboseDispatch
10332 in favour of a bool argument to dispatch()
10334 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * lyx_main.C (init): make sure to read symlinks as absolute paths
10338 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10341 * lyxfunc.C: no need for commandshortcut to be a member
10343 2002-07-15 André Pönitz <poenitz@gmx.net>
10345 * converter.C: add support for $$s (scripts from lib/scripts dir)
10346 * lyx_main.C: white space
10348 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10352 * lyxrc.C: remove second exit confirmation
10354 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10359 * BufferView_pimpl.h:
10360 * BufferView_pimpl.C:
10361 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10363 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * MenuBackend.C (expand): add numeric shortcuts to document menu
10367 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10369 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * lyxfont.C (setLyXFamily):
10378 * buffer.C (asciiParagraph): use ascii_lowercase
10380 2002-07-15 Mike Fabian <mfabian@suse.de>
10382 * lyxlex_pimpl.C (search_kw):
10383 * lyxlex.C (getLongString):
10384 * converter.h (operator<):
10385 * converter.C (operator<):
10386 * buffer.C (parseSingleLyXformat2Token):
10388 * ToolbarDefaults.C (read):
10389 * MenuBackend.C (checkShortcuts):
10391 * LColor.C (getFromGUIName):
10392 (getFromLyXName): use the compare_ascii_no_case instead of
10393 compare_no_case, because in turkish, 'i' is not the lowercase
10394 version of 'I', and thus turkish locale breaks parsing of tags.
10396 2002-07-16 Angus Leeming <leeming@lyx.org>
10398 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10399 now takes a Buffer const & argument.
10401 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10403 * BufferView.C (resize): check there's a buffer to resize
10405 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10407 * lyxfunc.C: remove dead code
10410 * lyxserver.C: use lyx_guii::set_read_callback
10412 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10414 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10415 an inset in a RTL paragraph.
10417 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxfunc.C: repaint after a font size update
10421 2002-07-15 André Pönitz <poenitz@gmx.net>
10423 * lyxlength.C: inBP should be able to return negative values
10425 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10427 * lyxfunc.C: use lyx_gui::update_fonts()
10429 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10431 * lyxfunc.C: use lyx_gui::update_color()
10433 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10439 * lyxrc.C: remove file->new asks for name option, and let
10440 buffer-new take an argument
10442 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.C: remove unneeded extra repaint()
10446 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10448 * LyXAction.C: allow command-sequence with NoBuffer
10450 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10452 2002-07-10 Angus Leeming <leeming@lyx.org>
10454 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10456 2002-07-09 Angus Leeming <leeming@lyx.org>
10458 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10460 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10462 * lengthcommon.h: whitespace
10464 * lyxfunc.C: update scrollbar after goto paragraph
10466 * lyxtext.h: factor out page break drawing, and fix it so
10467 page break/added space paints as selected nicely
10469 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10471 * BufferView_pimpl.C: add FIXMEs, clean up a little
10473 2002-07-09 André Pönitz <poenitz@gmx.net>
10475 * lyxfont.[Ch]: support for wasy symbols
10477 2002-07-08 André Pönitz <poenitz@gmx.net>
10479 * BufferView_pimpl.C: apply John's patch for #93.
10481 2002-07-05 Angus Leeming <leeming@lyx.org>
10483 * BufferView_pimpl.C (buffer): generate previews if desired.
10485 * LColor.h: add "preview" to the color enum.
10487 * LColor.C (LColor): add a corresponding entry to the items array.
10489 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10492 2002-07-05 Angus Leeming <leeming@lyx.org>
10494 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10495 The body of the code is now in the method that is passed an ostream &
10496 rather than a file name.
10497 Pass an additional only_preamble parameter, useful for the forthcoming
10500 2002-07-03 André Pönitz <poenitz@gmx.net>
10502 * lyxfunc.C: simplify getStatus() a bit for math stuff
10504 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10508 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10510 * text.C (changeRegionCase): do not change case of all the
10511 document when region ends at paragraph end (bug #461)
10513 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10515 * paragraph.C (startTeXParParams):
10516 (endTeXParParams): add \protect when necessary
10518 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * BufferView_pimpl.C (workAreaExpose): remove warning
10522 2002-06-27 Angus Leeming <leeming@lyx.org>
10524 * Makefile.am: add lyxlayout_ptr_fwd.h.
10526 2002-06-26 André Pönitz <poenitz@gmx.net>
10528 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10530 2002-06-25 Angus Leeming <leeming@lyx.org>
10532 * lyxfunc.C (dispatch): Comment out the call to
10533 grfx::GCache::changeDisplay. The method no longer exists now that the
10534 pixmap generation part of the graphics loader has been moved into
10537 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * text2.C: layout as layout
10541 * text.C: layout as layout
10543 * tabular.C (OldFormatRead): layout as layout
10545 * paragraph_pimpl.C (TeXDeeper): layout as layout
10546 (realizeFont): layout as layout
10548 * paragraph.C (writeFile): layout as layout
10549 (validate): layout as layout
10550 (getFont): layout as layout
10551 (getLabelFont): layout as layout
10552 (getLayoutFont): layout as layout
10553 (breakParagraph): layout as layout
10554 (stripLeadingSpaces): layout as layout
10555 (getEndLabel): layout as layout
10556 (getMaxDepthAfter): layout as layout
10557 (applyLayout): layout as layout
10558 (TeXOnePar): layout as layout
10559 (simpleTeXOnePar): layout as layout
10560 (TeXEnvironment): layout as layout
10561 (layout): layout as layout
10562 (layout): layout as layout
10564 * lyxtextclass.C (compare_name): new functor to work with
10565 shared_ptr, layout as layout
10566 (Read): layout as layout
10567 (hasLayout): layout as layout
10568 (operator): layout as layout
10569 (delete_layout): layout as layout
10570 (defaultLayout): layout as layout
10572 * lyxlayout_ptr_fwd.h: new file
10574 * lyxlayout.C (Read): layout as layout
10576 * lyx_cb.C (MenuInsertLabel): layout as layout
10578 * bufferlist.C (newFile): layout as layout
10580 * buffer.C (readLyXformat2): layout as layout
10581 (parseSingleLyXformat2Token): layout as layout
10582 (insertStringAsLines): layout as layout
10583 (asciiParagraph): layout as layout
10584 (latexParagraphs): layout as layout
10585 (makeLinuxDocFile): layout as layout
10586 (simpleLinuxDocOnePar): layout as layout
10587 (makeDocBookFile): layout as layout
10588 (simpleDocBookOnePar): layout as layout
10589 (getLists): layout as layout
10591 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10593 * CutAndPaste.C (cutSelection): layout as layout
10594 (pasteSelection): layout as layout
10595 (SwitchLayoutsBetweenClasses): layout as layout
10597 * BufferView_pimpl.C (Dispatch): layout as layout
10598 (smartQuote): layout as layout
10600 * BufferView2.C (unlockInset): layout as layout
10602 2002-06-24 André Pönitz <poenitz@gmx.net>
10604 * lyxfunc.C: fix #487
10606 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10610 * lyxfunc.C: remove display_shortcuts, show_banner
10612 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10614 * Buffer_pimpl.C: oops, update on resize
10616 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10623 * BufferView.C: use repaint()
10625 * BufferView_pimpl.h:
10626 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10627 as it's a clearer description. Remove superfluous
10630 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10632 * text.C: fix bug 488. Not ideal, but getting
10633 getWord() to work properly for the insets that
10634 matter is more difficult ...
10636 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10638 * BufferView_pimpl.C:
10641 * lyxfunc.C: remove the six million index lyxfuncs to just
10642 one, and DTRT (bug 458)
10644 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10648 * BufferView_pimpl.h:
10649 * BufferView_pimpl.C: clean up resize() stuff,
10650 and unnecessary updateScreen()s
10652 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10656 * BufferView_pimpl.h:
10657 * BufferView_pimpl.C:
10660 * minibuffer.C: remove focus management of workarea,
10661 not needed. Use screen's greyOut()
10663 2002-06-17 Herbert Voss <voss@lyx.org>
10665 * converter.C: (convert) do not post a message, when converting
10666 fails, let the calling function decide what to do in this case
10668 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10670 * lyxfunc.C: tidy up a little
10672 2002-06-16 <alstrup@diku.dk>
10674 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10675 Got rid of FORMS_H_LOCATION include. Now we are
10678 2002-06-15 LyX Development team <lyx@rilke>
10680 * buffer.[Ch] (sgmlOpenTag):
10681 (sgmlCloseTag): Added support for avoiding pernicious mixed
10682 content. Return number of lines written.
10684 (makeLinuxDocFile):
10685 (makeDocBookFile): Fixed calls to sgml*Tag.
10686 Simple white space clean.
10688 (simpleDocBookOnePar): Simple white space clean.
10690 * tabular.[Ch] (docBook): Renamed to docbook and got another
10691 argument to related with the pernicious mixed content.
10693 (docbookRow): Fixed calls for docbook inset method.
10695 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10697 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10698 so it's X11 independent.
10702 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10704 2002-06-15 Lyx Development team <lyx@electronia>
10706 * intl.h: Renamed getTrans to getTransManager.
10708 2002-06-14 Angus Leeming <leeming@lyx.org>
10710 * Makefile.am: nuke forgotten stl_string_fwd.h.
10712 2002-06-12 Angus Leeming <leeming@lyx.org>
10714 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10716 2002-06-13 Angus Leeming <leeming@lyx.org>
10719 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10721 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10723 * kbmap.C (getiso): add support for cyrillic and greek
10725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10729 * BufferView_pimpl.h:
10730 * BufferView_pimpl.C: move bogus scrolling logic
10733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10736 * BufferView_pimpl.C: view->resize() change
10738 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10740 * BufferView_pimpl.C: topCursorVisible
10743 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10747 * lyx_gui.C: move to frontends/
10751 * lyx_main.C: changes from above
10753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10760 * lyx_main.C: minor tidy
10762 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.h:
10765 * BufferView_pimpl.C:
10767 * BufferView.C: make painter() const,
10770 * BufferView2.C: use screen() accessor
10773 * lyx_main.C: some minor cleanup
10775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10777 * BufferView_pimpl.h:
10778 * BufferView_pimpl.C: remove enter/leaveView,
10781 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10786 * BufferView_pimpl.h:
10787 * BufferView_pimpl.C: only construct screen once,
10790 * lyxrc.C: remove pointless comment
10792 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10795 * BufferView.C: remove active() and belowMouse()
10797 * BufferView_pimpl.h:
10798 * BufferView_pimpl.C: use workarea() not workarea_,
10799 and make it use a scoped_ptr instead
10801 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10803 * lyx_gui.C: add debug message on BadWindow
10805 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * sp_spell.C: fdopen is not part of the C++ standard.
10809 * paragraph.C (InsetIterator): use >= instead of ==
10811 2002-06-07 Angus Leeming <leeming@lyx.org>
10813 Fixes needed to compile with Compaq cxx 6.5.
10814 * BufferView_pimpl.C:
10821 * lyxtextclasslist.C:
10826 all c-library variables have been moved into namespace std. Wrap
10827 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10832 Add a using std::abs declaration.
10834 * kbmap.h (modifier_pair):
10835 * paragraph.h (InsetTable, InsetList):
10836 * lyxfont.h (FontBits):
10837 type definition made public.
10839 * bufferlist.C (emergencyWriteAll): the compiler complains that
10840 there is more than one possible lyx::class_fun template to choose from.
10841 I re-named the void specialisation as lyx::void_class_fun.
10843 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10845 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10846 the compiler is is unable to find tostr in write_attribute.
10848 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * buffer.C (sgmlError): hide #warning
10852 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10854 * xtl/*: get rid of xtl, which is not in use anyway
10856 * LyXAction.C (init):
10857 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10858 were unimplemented xtl experimentation
10860 2002-06-04 André Pönitz <poenitz@gmx.net>
10862 * lyxfunc.C: disable array operation on simple formulae
10864 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10866 * converter.C: constify a bit
10868 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10870 * lyx_gui.C: check xforms version correctly
10872 2002-04-30 Herbert Voss <voss@lyx.org>
10874 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10877 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10879 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10880 attempt to register it with a VCS)
10882 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10884 * lyx_main.C (init): honor variables LYX_DIR_13x and
10887 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10891 * lyx_main.C: fix a crash on bad command line,
10892 and give a useful exit status on error
10894 * lyxfunc.C (doImport): allow -i lyx to work
10896 2002-03-30 André Pönitz <poenitz@gmx.net>
10898 * lyxfunc.C: mathed font changes
10900 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10915 * trans_mgr.h: srcdocs, and some minor cleanups
10917 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10919 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10920 call getFont all the time)
10922 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10924 * switch from SigC signals to boost::signals
10926 2002-05-29 André Pönitz <poenitz@gmx.net>
10928 * paragraph_pimpl.C (getChar): don't call size() too often...
10930 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * paragraph_pimpl.C (insertChar): do not try to update tables when
10933 appending (pos == size())
10935 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10936 in order to reduce drastically the number of comparisons needed to
10937 parse a large document
10939 2002-05-29 André Pönitz <poenitz@gmx.net>
10945 * textclasslist.[Ch]:
10946 * sp_ispell.h: whitespace change
10948 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10950 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10951 lyxaction directly now.
10953 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10957 * lyxvc.C: remove unused headers
10959 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10966 * undo_funcs.C: some cleanups. Use shared_ptr
10967 and a template for the undo stacks.
10969 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10971 * BufferView_pimpl.h:
10972 * BufferView_pimpl.C:
10979 * text2.C: use key_state/mouse_state
10981 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10986 * chset.C: change include order
10987 (loadFile): use boost regex and get rid of LRegex and LSubstring
10989 * Makefile.am (BOOST_LIBS): new variable
10990 (lyx_LDADD): use it
10992 * LaTeX.C: change include order.
10993 (scanAuxFile): use boost regex and get rid of LRegex and
10997 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11002 * FontInfo.C: moved to frontends/xforms/
11005 * FontLoader.C: moved into frontends for GUIIzation
11010 * lyxfunc.C: changes from above
11012 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11014 * LColor.C: remove spurious X include
11016 * BufferView_pimpl.C:
11021 * text2.C: move font metrics to frontends/
11023 2002-05-24 Juergen Vigna <jug@sad.it>
11025 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11026 setting the undo_cursor.
11028 * ParagraphParameters.h: include local includes first.
11030 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11032 * BufferView_pimpl.C:
11033 * BufferView_pimpl.h:
11037 * screen.C: move WorkArea into frontends/
11043 * BufferView2.C: move LyXScreen into frontends/
11047 * lyx_gui.C: move lyxlookup into frontends/xforms/
11049 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11052 * BufferView_pimpl.C:
11062 * bufferview_funcs.C:
11075 * vc-backend.C: move LyX/XFormsView into frontends/
11077 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11089 * text2.C: move Painter to frontends/
11091 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * buffer.C: comment out some some code that depend upon lyx_format
11096 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11097 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11099 * buffer.h (NO_COMPABILITY): turn off compability
11101 * ColorHandler.C: include scoped_array.hpp
11103 * font.C: Use more specific smart_ptr header.
11106 * ShareContainer.h: ditto
11107 * lyx_main.h: ditto
11109 * FontInfo.h: ditto
11110 * BufferView_pimpl.h: ditto
11111 * ColorHandler.h: ditto
11113 * kbmap.C (defkey): change call to shared_ptr::reset
11115 2002-05-21 Juergen Vigna <jug@sad.it>
11117 * buffer.C (insertErtContents): fix to insert ert asis if it is
11118 non empty. Skip it completely if it contains only whitespaces.
11120 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11122 * BufferView_pimpl.C:
11123 * BufferView2.C: clear selection on paste (bug 393)
11125 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * DepTable.C: include ctime
11129 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11131 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11133 2002-05-14 Juergen Vigna <jug@sad.it>
11135 * text.C (breakParagraph): fixed function to honor the keepempty
11136 layout in the right maner and also to permit the right breaking
11137 algorithm on empty or non empyt keepempty paragraphs.
11139 * paragraph.C (breakParagraph): we have to check also if the par
11140 is really empty (!size()) for isempty otherwise we do the wrong
11143 2002-05-10 Juergen Vigna <jug@sad.it>
11145 * buffer.[Ch] : The following are only changes to the ert
11146 compatibility read reading old LaTeX layout and font stuff and
11147 convert it to ERTInsets.
11149 * buffer.h: added isErtInset().
11151 * buffer.C (struct ErtComp): add a fromlayout bool to check
11152 if we're inside a LaTeX layout.
11153 (isErtInset): new helper function.
11154 (insertErtContents): look for other ert insets before this one
11155 and insert the contents there, so that we don't have subsequent
11156 ERT insets with nothing between them. This way we create only one
11157 inset with multiple paragraphs. Also check if we don't insert only
11158 spaces ' ' as they are ignored anyway afterwards in the .tex file
11159 so if we have only spaces we will ignore this latex part in the
11161 (parseSingleLyXformat2Token \\layout): better compatibility when
11162 reading layout-latex stuff.
11163 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11165 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11166 stuff after reading the inset only get the information back from
11169 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11171 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11173 * LaTeXFeatures.C (getBabelOptions): New method.
11175 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * BufferView_pimpl.C (Dispatch): work around missing argument for
11180 2002-05-08 Juergen Vigna <jug@sad.it>
11182 * text.C (leftMargin): handle paragraph leftindent.
11184 * paragraph.C (writeFile): write the new \\leftindent tag.
11185 (validate): handle leftindent code.
11186 (TeXEnvironment): handle paragraphleftindent code again.
11188 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11190 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11191 for paragrap_extra indent code and new token \\leftindent.
11192 (latexParagraphs): handle the leftindent as environment.
11194 * ParameterStruct.h: added leftindent support.
11196 * ParagraphParameters.C (leftIndent): added support functions for
11197 the paragraph left indent.
11199 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11202 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11204 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11207 * text.C (computeBidiTables): No bidi in insetERT.
11209 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11212 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * version.C.in: pre 5
11216 2002-05-02 José Matos <jamatos@fep.up.pt>
11217 * buffer.C (makeDocBookFile): white space changes, add newline to
11219 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11221 * tabular.C (docBook): fix typo.
11223 2002-05-03 Juergen Vigna <jug@sad.it>
11225 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11226 change in LyXText as we can not be sure it was not freed.
11227 (drawOneRow): remove unused code.
11229 * text.C (drawInset): redo the calculation of the need_break_row as
11230 it could have a row which was already freed.
11231 (draw): look at the return value of drawInset and return false if
11232 it also returned false.
11233 (paintRowText): look at the return value of draw and return false if
11234 it also returned false.
11236 * lyxtext.h: added bool return type to drawInset() and draw() so that
11237 if we have a change in the row so that the rowbreak has to be redone
11238 we abort drawing as it will be called again.
11240 2002-05-02 Juergen Vigna <jug@sad.it>
11242 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11243 a change in the maintext also if we're inside an inset.
11244 (Dispatch): set the cursor again after a break line and after the
11245 screen has been updated as it could be we're in a different row.
11247 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11248 to set the cursor behind the pargraph with > size().
11249 (setCursor): check also for the same paragraph when checking where
11250 to put the cursor if we have a NFR inset.
11252 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11253 parts of layout read further up as it still was in the wrong
11256 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11258 * screen.C (drawFromTo): change sine fullRebreak always return
11261 * buffer.C (parseSingleLyXformat2Token): reindent some
11263 * BufferView_pimpl.C (update): change since fullRebreak always
11265 (Dispatch): git rid of the last hardcoded "Standard"s.
11267 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * text2.[Ch] (fullRebreak): make it return void now that we always
11272 2002-04-30 Juergen Vigna <jug@sad.it>
11274 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11275 ert compatibility check for "latex" layout.
11277 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11279 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11280 minipages: use col% instead of p%, and also use the current font.
11281 (makeLaTeXFile): Fix use babel condition.
11282 (parseSingleLyXformat2Token): Correct font when reading old floats.
11284 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11286 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11287 inserting list of floats.
11289 2002-04-25 Herbert Voss <voss@lyx.org>
11291 * MenuBackend.C (expand): don't add the graphics extensions to the
11294 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11297 non-existing layout, do not complain if it was the default layout
11298 of the original class (bug #342)
11300 2002-04-24 Juergen Vigna <jug@sad.it>
11302 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11303 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11305 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11307 * buffer.C (getBibkeyList): If using \bibliography, return the
11308 option field with the reference itself. Enables us to provide natbib
11309 support when using \bibliography.
11311 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11313 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11315 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11316 natbib is provided by the LaTeX class.
11318 2002-04-23 Juergen Vigna <jug@sad.it>
11320 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11323 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11325 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11327 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11329 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11330 ensuremath around textordmasculine, textordfeminine and
11333 2002-04-19 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11336 reinitializing the buffer otherwise row-dimensions may be wrong.
11337 (update): reset also the selection cursors if they do exits otherwise
11338 their x/y positions may be wrong.
11340 * text2.C (cursorDown): don't enter the inset if we came from a row
11341 above and are one row over the inset.
11343 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11344 really leaving an inset.
11346 2002-04-18 Juergen Vigna <jug@sad.it>
11348 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11349 of the selected paragraph does not have the selected layout also if
11352 * text2.C (setLayout): fixed bug which did not change last selected
11355 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11356 changed the read and substituted \\end_float with \\end_inset!
11358 * BufferView_pimpl.C (cursorPrevious):
11359 (cursorNext): fixed to make it work with rows heigher than the work
11360 area without moving the cursor only the draw of the row.
11361 (workAreaMotionNotify): fix jumping over high rows.
11363 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11368 2002-04-16 Juergen Vigna <jug@sad.it>
11370 * text2.C (setCursor): set also the irow().
11371 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11373 (cursorDown): support for locking an inset if the x_fix value goes
11374 inside it. That way I can transverse insets too with cursor up/down.
11376 * lyxrow.h: added irow helper function same as other (i) functions.
11378 * BufferView_pimpl.C (cursorPrevious):
11379 (cursorNext): fixed for insets!
11381 2002-04-15 Juergen Vigna <jug@sad.it>
11383 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11384 position otherwise it is wrong in some cases.
11386 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11387 inside the inset before the call.
11389 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11391 * buffer.[Ch] (getBibkeyList): make it const.
11393 2002-04-12 Juergen Vigna <jug@sad.it>
11395 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11397 * text2.C (getCursorX): new helper function
11398 (setCursor): compute also ix_
11399 (setCursorFromCoordinates): set also ix.
11401 * lyxcursor.h: added ix_ and helper functions.
11403 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11405 * buffer.C (insertStringAsLines): dont break paragraph if the this
11406 paragraph is inside an inset which does not permit it!
11408 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11409 also with no chars on this paragraph.
11410 (paintRowText): only paint stuff if it's inside the workarea!
11412 * paragraph.C (breakParagraph): honor keepempty flag and break the
11413 paragraph always below not above.
11415 * BufferView2.C (unlockInset): update the paragraph layout on inset
11416 unlock as we changed paragraph in such a case.
11418 * lyxfind.C (LyXFind): clear the former selection if not found!
11420 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11421 again called in insertChar().
11423 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11424 an inset which uses the whole row!
11425 (rightMargin): ditto.
11426 (insertChar): force a rebreak if we inserted an inset!
11428 2002-03-28 Herbert Voss <voss@lyx.org>
11430 * lyxlength.[Ch]: add inBP() to get the right PS-point
11431 units (BigPoint). With inPixels we have rounding errors
11433 2002-04-11 Juergen Vigna <jug@sad.it>
11435 * text2.C (setCursorFromCoordinates): set iy to the right value.
11436 (setCursor): add check if row->previous exists!
11438 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11439 an old float_type as this was the case in the old code!
11441 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11443 * BufferView2.C (showLockedInsetCursor): use iy
11444 (fitLockedInsetCursor): ditto
11446 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11447 locked insets as there we have the right value now.
11449 * lyxcursor.C: added iy_ variable and iy functions to set to the
11450 baseline of cursor-y of the locked inset.
11452 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11453 (setCursor): fixed for insets which need a full row.
11455 * text.C (rowLastPrintable): don't ignore the last space when before
11456 an inset which needs a full row.
11457 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11458 as last character of a row when before a inset which needs a full row.
11460 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * version.C.in: update date
11464 * text2.C (fullRebreak): try to always return true and see what
11467 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11469 * MenuBackend.C (expand): use Floating::listName
11471 * FloatList.C (FloatList): add listName argument to the built-in
11474 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11475 text associated with the float.
11477 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11479 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11481 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * ShareContainer.h: add a couple of missing typenames.
11485 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11487 * lyxrc.C (getDescription): use _() correctly rather than N_().
11489 2002-03-28 Herbert Voss <voss@lyx.org>
11491 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11492 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11494 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11497 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11499 2002-03-29 Juergen Vigna <jug@sad.it>
11501 * lyxfunc.C (dispatch): add a missing fitCursor call.
11503 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11504 it was scrolled by a cursor move, so return the bool status.
11506 * BufferView.C (fitCursor): return the bool flag also to the outside
11507 world as this is needed.
11509 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11511 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11512 call the edit() as it is not needed (and wrong) IMO.
11513 (workAreaButtonPress): set the screen_first variable before evt.
11514 unlock the inset as this may change screen_first and then we have
11515 a wrong y position for the click!
11517 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * MenuBackend.C (expand): another translation that I missed
11521 2002-03-28 Juergen Vigna <jug@sad.it>
11523 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11525 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11527 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11531 * MenuBackend.C (expand): fix export/view/update when there is no
11534 2002-03-27 Herbert Voss <voss@lyx.org>
11536 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11539 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * bufferview_funcs.C (currentState): only show paragraph number
11542 for is DEVEL_VERSION is set.
11544 * lyxfunc.C (dispatch): put warning in INFO channel
11546 * MenuBackend.C (expand): translate the name of floats
11548 * FloatList.C (FloatList): mark the float names for translation
11550 * converter.C (convert): use LibScriptSearch
11552 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * MenuBackend.C (defaults): fix default menu (we might as well get
11557 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11562 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * lyxvc.C: reorder includes.
11566 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11568 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11571 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11573 * CutAndPaste.C: change layouts earlier on paste
11574 to avoid crashing when calling getFont()
11576 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11578 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11581 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * WorkArea.C: remove 'Pending' debug message.
11585 * most files: ws cleanup
11587 * buffer.[Ch]: ws changes
11589 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11591 2002-03-21 Juergen Vigna <jug@sad.it>
11593 * tabular.C (SetMultiColumn): collapse also the contents of the
11594 cells and set the last border right. Added a Buffer const * param.
11596 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11598 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11601 2002-03-19 Juergen Vigna <jug@sad.it>
11603 * text2.C (clearSelection): reset also xsel_cache.
11605 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11606 where it needs to be called (John tells us to do so too :)
11607 (selectionLost): reset sel_cache.
11609 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11611 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11613 * text2.C (setCursorIntern): put debuging code in INSETS channel
11615 2002-03-19 André Pönitz <poenitz@gmx.net>
11617 * lyxfunc.C: tiny whitespace change
11619 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * ToolbarDefaults.C (init):
11622 * LyXAction.C (init):
11624 * BufferView_pimpl.C (Dispatch):
11625 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11627 2002-03-19 Allan Rae <rae@lyx.org>
11629 * exporter.C (Export): removeAutoInsets before doing anything else.
11630 While I've just introduced a dependency on BufferView this really is
11631 the best place to clean the buffer otherwise you need to cleanup in
11632 a dozen places before calling export or cleanup in a dozen functions
11635 * converter.C (runLaTeX):
11636 (scanLog): Better handling of removeAutoInsets and screen updates.
11638 * lyxfunc.C (dispatch): small whitespace changes
11640 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11642 * WorkArea.C (C_WorkAreaEvent): return a value.
11643 (event_cb): return 1 if we handled the event, 0 otherwise.
11645 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11647 2002-03-18 Juergen Vigna <jug@sad.it>
11649 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11650 (GetAdditionalWidth): ditto.
11651 (RightLine): ditto.
11654 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11655 inset if we're there actually (probably not used right now but this
11656 is the direction to go for unifying code).
11657 (paste): disable code to clear the selection.
11659 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11660 inside an InsetText and move the check further up as it is in the
11663 * text2.C (pasteSelection): set a selection over the pasted text.
11665 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11667 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11668 and libgraphics to build on Cygwin.
11670 2002-03-15 Juergen Vigna <jug@sad.it>
11672 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11673 inserting an Inset into the paragraph. I know this is not the best
11674 fix but we already use current_view in CutAndPaste so we will remove
11675 all of it's using at the same time.
11677 * buffer.C (sgmlError): deactivated function till it is rewritten in
11678 the right mode, now it can create problems.
11680 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11681 before accessing it.
11683 2002-03-14 Juergen Vigna <jug@sad.it>
11685 * undo_funcs.C (textHandleUndo): do the right thing when updating
11686 the inset after the undo/redo.
11688 * text2.C (setCursor): just some testcode for #44 not ready yet.
11690 * undo_funcs.C (textHandleUndo): set the next() and previous()
11691 pointers of the paragraph to 0 before deleting otherwise we have
11692 problems with the Paragraph::[destructor].
11694 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11695 on a paragraph insertion.
11697 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11699 * buffer.C (asciiParagraph): use += operator for char append to
11702 * paragraph.C (getFontSettings): compare >= not just >
11703 (highestFontInRange): ditto
11706 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11708 * paragraph.C: change several algorithm to be more appripriate for
11709 the problem domain. This is lookip in FontList and in the InsetList.
11711 2002-03-13 André Pönitz <poenitz@gmx.net>
11714 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11716 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11721 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11723 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * Painter.C (display): anon helper function, adjust code for this
11727 (pixmap): remove function.
11729 * Painter.h: remove private display variable.
11731 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11733 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11735 * WorkArea.[Ch]: remove figinset_canvas cruft.
11737 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * lyxtextclass.C (operator): add one item cache optimization.
11741 * bufferlist.h: doxy changes
11743 * bufferlist.C: ws changes
11745 * DepTable.[Ch] (ext_exist): place const in the right spot.
11747 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11749 (workAreaExpose): call resizeInsets when the with BufferView changes.
11750 (Dispatch): adjust for protectedBlank removal
11751 (specialChar): call updateInset if the insert went ok.
11753 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11754 specialChar instead.
11756 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11758 * BufferView.h: doxy change
11760 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11762 * lyxtextclass.C (operator[]): remove non-const version
11763 (defaultLayout): remove non-const version
11765 2002-03-12 Juergen Vigna <jug@sad.it>
11767 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11768 did resize the LyXText too.
11770 * buffer.C (readLyXformat2): set layout information on newly allocated
11773 * tabular.C (OldFormatRead): set layout information on the paragraph.
11775 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11777 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11779 2002-03-11 Juergen Vigna <jug@sad.it>
11781 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11783 (resizeCurrentBuffer): force also the insets to resize themselfes.
11784 (moveCursorUpdate): fixed up for InsetText.
11786 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11789 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11790 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11791 value of Dialogs::tooltipsEnabled().
11792 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11794 2002-03-08 Juergen Vigna <jug@sad.it>
11796 * BufferView_pimpl.C (updateInset): update inset inside inset also
11797 if it isn't inside theLockingInset().
11799 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * buffer.C (asciiParagraph): redo some of the word and line length
11803 (getLists): look for Caption instead of caption.
11805 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * buffer.C (Buffer): initialize niceFile to true
11809 (makeLinuxDocFile):
11810 (makeDocBookFile): make sure niceFile is true on exit
11812 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11814 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11816 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11818 * LyXSendto.C: remove.
11819 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11820 * lyx_gui.C: remove now-redundant comment.
11821 * ColorHandler.h: remove forward declaration of class WorkArea.
11822 * lyxfunc.C: remove #include "WorkArea.h".
11824 2002-03-07 Juergen Vigna <jug@sad.it>
11826 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11827 got moved away with the DEPM and also set the inset_owner always
11828 right which before could have been omitted.
11830 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11833 wanted layout is not found.
11835 2002-03-07 Juergen Vigna <jug@sad.it>
11837 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11839 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11841 * paragraph.C (breakParagraph): use default layout not layout of
11843 (Paragraph): clear ParagraphParameters.
11845 2002-03-06 Juergen Vigna <jug@sad.it>
11847 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11848 otherwise it would not be a valid lenght. Fixed a special case in
11849 the minipage compatibility read where we end the document with a
11852 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11853 was set as it could be 0 for InsetTexts first entry.
11855 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * paragraph.C (writeFile): if layout is empty write out
11858 defaultLayoutName().
11860 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11861 file without named layout we set layout to defaultLayoutName().
11863 2002-03-06 Juergen Vigna <jug@sad.it>
11865 * CutAndPaste.C (copySelection): set layout for new paragraph.
11867 * text.C (prepareToPrint): leave ERT inset left aligned
11868 (leftMargin): don't indent paragraphs inside ERT insets
11870 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * paragraph.C (breakParagraph): dont call clear do the work manually
11874 * paragraph.[Ch] (clear): remove function
11876 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * paragraph.C (Paragraph): dont call clear, the work has already
11881 * lyxtextclass.C (operator): assert if n is empty
11883 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11884 work manually instead.
11886 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11888 * BufferView_pimpl.C: protect selectionLost against text == 0
11890 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * text.C (breakParagraph): fix a setting layout to '0' problem.
11894 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11896 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11897 final location of file, for the included files, and graphics.
11899 2002-03-05 Juergen Vigna <jug@sad.it>
11901 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11903 2002-03-04 Juergen Vigna <jug@sad.it>
11905 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11907 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11908 last column of multicolumn cells.
11909 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11911 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11913 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11914 file if it doesn't go to a temporary file.
11916 * buffer.C (sgmlOpenTag):
11917 (sgmlCloseTag): remove extra newline insertion.
11919 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * text.C (getRowNearY): comment out debug msg
11923 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * text2.C: first -> first_y
11927 * text.C (getRowNearY): add some attemts at a possible
11928 optimization, not working.
11930 * tabular.[Ch]: add BufferParams to several function so that newly
11931 created paragraph can be initialized to he default layotu for the
11934 * tabular-old.C (ReadOld): add buf->params to call of Init
11936 * screen.C: rename text->first to text->first_y
11938 * paragraph.C (breakParagraph): always set layout in the broken
11941 * lyxtextclass.C (Read): remove lowercase
11944 (delete_layout): ditto
11946 * lyxtext.h: rename first -> first_y
11948 * lyxlayout.C (Read): remove lowercase
11951 (obsoleted_by): ditto
11953 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11955 * buffer.C (insertErtContents): add params are to InsetERT
11956 (parseSingleLyXformat2Token): add code to check if a paragraphs
11957 layout really exist.
11958 (parseSingleLyXformat2Token): add params to several inset
11960 (asciiParagraph): remove lowercase, do the layout comparisons with
11963 * BufferView_pimpl.C (cursorNext): first -> first_y
11964 (resizeCurrentBuffer): first -> first_y
11965 (updateScrollbar): first -> first_y
11966 (scrollCB): first -> first_y
11967 (workAreaMotionNotify): first -> first_y
11968 (workAreaButtonPress): first -> first_y
11969 (checkInsetHit): first -> first_y
11970 (cursorPrevious): first -> first_y
11971 (cursorNext): first -> first_y
11972 (Dispatch): add buffer_->params to severl inset contructors
11974 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * lyxlayout.C (Read): remove some debug info that I forgot.
11978 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11979 clean up the code slightly.
11980 (makeLinuxDocFile): ditto
11981 (makeDocBookFile): ditto
11983 * text2.C: layout as string
11985 * text.C: layout as string
11987 * paragraph_pimpl.C: layout as string
11989 * paragraph.[Ch]: layout as string
11991 * lyxtextclasslist.[Ch]: layout as string
11993 * lyxtextclass.[Ch]: layout as string
11995 * lyxtext.h: layout as string
11997 * lyxlayout.[Ch]: layout as string
11999 * lyx_cb.C: layout as string
12001 * bufferview_funcs.C: layout as string
12003 * bufferparams.C: layout as string
12005 * buffer.C: layout as string
12007 * LyXView.[Ch]: layout as string
12009 * LaTeXFeatures.[Ch]: layout as string
12011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12013 * BufferView_pimpl.C: change current_layout to string, remove
12018 (workAreaButtonRelease): layout as string
12020 * BufferView2.C (unlockInset): adjust
12022 * vspace.C (asLatexCommand): use an explict temp variable.
12024 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12026 * Makefile.am: use FRONTEND_*
12028 2002-03-01 Juergen Vigna <jug@sad.it>
12030 * tabular.C (SetWidthOfMulticolCell): changed to something better
12031 I hope but still work in progress.
12032 (recalculateMulticolumnsOfColumn): renamed function from
12033 recalculateMulticolCells as it is more appropriate now.
12034 (SetWidthOfCell): calculate multicols better.
12036 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12040 * lyxfunc.C (processKeySym): print sequence also if it is
12041 `deleted' (complete)
12043 * kbsequence.C (print): print sequence even if it is deleted
12044 (complete would be a better word, actually).
12046 * lyxfunc.C (dispatch): print complete options after a prefix key
12048 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12050 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12052 * text2.C (setCharFont): eliminate setCharFont code duplication.
12054 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12056 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12057 LFUN_TABULAR_FEATURE (bug #177)
12059 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12061 * Makefile.am: remove figure.h
12063 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12065 * Bufferview_pimpl.C:
12077 * text2.C: remove #include "lyx_gui_misc.h".
12079 * LaTeX.C: added #include <cstdio>
12081 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12084 that the paragraph following this one can have.
12086 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12088 * vspace.C (asLatexCommand): fix bogus gcc warning
12090 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12092 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12094 * text2.C (setLayout): get rid of redundant code
12096 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12098 * text2.C (incDepth): make sure depth cannot be increased beyond
12101 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12103 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12104 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12106 * PainterBase.h (image):
12107 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12108 a LyXImage const *.
12110 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12114 * BufferView_pimpl.C:
12115 * BufferView_pimpl.h:
12135 * sp_spell.C: remove fig inset, and the crap house of
12136 cards that follows it
12138 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12143 * os2_errortable.h:
12144 * nt_defines.h: move .h into support/
12146 * vms_defines.h: remove
12148 * WorkArea.C: add space in debug output
12152 * buffer.C: add WITH_WARNINGS
12156 * bufferlist.C: s/retrive/retrieve/, add docs
12165 * chset.C: add docs
12167 * lyxgui.C: add ID to X error handler
12169 * lyxtestclass.c: fix typo
12171 2002-02-26 Juergen Vigna <jug@sad.it>
12173 * tabular_funcs.C (write_attribute): changed so that some default
12174 attributes are not written at all.
12175 (getTokenValue): set default values before trying to read the
12176 value so we have the return value always set as default if we don't
12177 find the token we search for.
12179 * tabular.C (Write): write bools as bools not as strings!
12181 2002-02-22 Juergen Vigna <jug@sad.it>
12183 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12184 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12186 * text.C (leftMargin): don't add an indent for paragraphs inside
12187 tabular cells (fix #208).
12189 2002-02-21 José Matos <jamatos@fep.up.pt>
12191 * tabular.C (docBook): fixed support for long tables.
12193 2002-02-20 Juergen Vigna <jug@sad.it>
12195 * text2.C (getFont): get the drawing font of the Inset if this
12196 paragraph is inside an inset (only important for InsetERT for now).
12198 * buffer.C (insertErtContents): use new lanugage params in ERT
12201 * CutAndPaste.C: commenting out seemingly uneeded code.
12203 2002-02-19 Allan Rae <rae@lyx.org>
12205 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12206 Iterators might be simple to use but they also get invalidated.
12207 (removeAutoInsets): renamed saved cursor tracking variables and added
12208 some comments to clarify what everything does.
12210 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12217 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12218 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12221 * vc-backend.h: remove #include "support/syscall.h"
12225 * converter.C: rearrange #includes in Lars' approved fashion.
12227 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12228 forward declare class Timeout in the header file.
12230 * XFormsView.C: changes due to the above.
12232 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12233 similar to LyXView.
12235 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12236 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12238 2002-02-18 José Matos <jamatos@fep.up.pt>
12240 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12243 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12245 * a lot of small ws changes
12246 * add a lot of using std::XXX
12247 * use std construcs some places where approp.
12248 * use some exisint stuff from lyxfunctional where approp.
12249 * Make file changes to use partial linking (lets test this now...)
12251 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12255 remove #include "support/syscontr.h" as it's redundant. Always has been.
12263 change Systemcalls::System to Systemcalls::Wait and
12264 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12265 No change of functionality, just reflects the stripped down Systemcalls
12268 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12270 * debug.[Ch]: add a GRAPHICS type to the enum.
12272 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12276 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12279 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12281 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12282 match the changes below.
12284 * text2.C (toggleInset): if there is not editable inset at cursor
12285 position, try to see if cursor is _inside_ a collapsable inset
12288 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12290 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12291 document menu has a nice checkbox
12293 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12295 * lyxlength.C (asLatexString): change PW to output as percent of
12298 * lengthcommon.C: change '%' to 't%'
12300 * lyxfunc.C (dispatch): a few comments from Martin
12302 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12306 * BufferView_pimpl.h:
12307 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12310 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12312 * vspace.C (inPixels): fix compiler warning
12314 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12316 * lyxfunc.C (getStatus): fix status message for disabled commands.
12318 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.C: fix crash on close buffer
12321 during selection (#227)
12323 2002-01-27 Herbert Voss <voss@lyx.org>
12325 * buffer.C: link old Figure to new graphic inset
12327 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12329 * FontLoader.C (getFontinfo): Change the latex font names in order
12330 to match the names of type1inst.
12332 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12334 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12336 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12337 (extchanged): ditto
12339 (remove_files_with_extension): ditto
12340 (remove_file): ditto
12343 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12344 document is smaller than the work area height. Do not initialize
12345 static variables to 0.
12347 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12349 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12351 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12352 LFUN_LAYOUT_PARAGRAPHS.
12354 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12355 tabular. It is possible to provide a possible cell, which will
12356 typically be the actcell from the corresponding insettabular
12358 * lyxfunc.C (getStatus): small cleanup; disable
12359 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12362 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12364 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12366 * paragraph.C (startTeXParParams):
12367 (endTeXParParams): new methods. The LaTeX code to
12368 start/end paragraph formatting
12369 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12370 empty (fixes bug #200)
12372 * vspace.C (inPixels): adapt to the change below
12373 (inPixels): [later] more cleanups (remove unused variables)
12375 * lyxlength.C (inPixels): change to use a width and a height as
12378 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12380 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12381 Replaced with \paperwidth
12383 * DepTable.C (insert): add std:: qualifier
12385 2002-01-18 Allan Rae <rae@lyx.org>
12387 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12390 * text.C (drawInset): Turned out I didn't know enough about how
12391 rebreaking worked. This fixes most of the redraw problems. I see
12392 an occasional cursor trail when a line is broken now and the cursor
12393 placement can seem out by a few pixels also after a rebreak.
12395 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * buffer.C (parseSingleLyXformat2Token): update because minipage
12398 width is now a LyXLength
12400 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12402 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12405 2002-01-17 Juergen Vigna <jug@sad.it>
12407 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12409 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12410 is set correctly and the inset is updated correctly.
12412 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12414 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12415 the beginning of the loop.
12417 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12419 * lyxrc.C: improve help for use_scalable_fonts
12421 2002-01-17 Allan Rae <rae@lyx.org>
12423 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12425 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12427 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12428 make sure to set their inset_owner to the right value (bug #171)
12430 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12433 * DepTable.C: Implement mtime checking to reduce time spent doing
12436 2002-01-16 Juergen Vigna <jug@sad.it>
12438 * tabular.C (GetAdditionalHeight): one of error fixed.
12440 * lyxrc.C (output): small fix in writing use_pspell.
12442 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12444 * sp_base.h: #include LString.h
12446 2002-01-16 Allan Rae <rae@lyx.org>
12448 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12449 Can someone check this please?
12451 * text.C (drawInset): It was possible that p.row would be removed by
12452 breakAgainOneRow upsetting a few other settings. There may be another
12453 small tweak possible by setting need_break_row = 0 when p.row has been
12454 removed but I don't know enough about the logic here.
12456 2002-01-15 Allan Rae <rae@lyx.org>
12458 * text.C (insertChar): removed conditional truism.
12460 * BufferView2.C (removeAutoInsets): More tweaks.
12461 cur_par_prev could be a stray pointer. Check for trailing empty line
12462 in case last line was cur_par and only had an error inset on it.
12464 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12466 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12469 * vc-backend.C (most methods):
12470 * exporter.C (Export):
12471 * converter.C (convert):
12473 * LyXSendto.C (SendtoApplyCB):
12474 * lyxfunc.C (dispatch):
12478 * lyx_cb.C (AutoSave):
12480 * BufferView_pimpl.C (MenuInsertLyXFile):
12481 * buffer.C (runChktex): use Buffer::filePath().
12483 * buffer.h: rename filename to filename_; rename filepath to
12484 filepath_ and make it private
12485 (filePath): new method
12487 * buffer.C (writeFile): use fileName()
12490 * lyx_main.C (init): fix starting of LyX when the binary is a
12491 link from so,ewhere else.
12493 * minibuffer.C: include <cctype> for isprint
12495 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12497 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12498 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12499 name clash with InsetCollapsable's width function.
12501 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * lastfiles.C: include <iterator>
12505 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12507 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12510 * buffer.C (makeLaTeXFile): ditto.
12511 Also make loop operation more transparent.
12513 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12515 * ToolbarDefaults.C: remove trailing comma closing namespace.
12517 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12519 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12522 * trans.C (Load): comment out unused variable, allowed.
12524 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12526 * minibuffer.[Ch] (append_char): new method to recieve input from the
12527 drop-down completion browser. If a key was pressed, then recieve this
12528 char and append it to the existing string.
12529 (peek_event): modify the positioning data passed to the completion
12530 browser so that it can be placed above the minibuffer rather than below.
12531 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12533 * LyXAction.C (init): alloe error-next for readonly documents.
12535 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12538 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12540 * bufferlist.C (readFile): create the buffer _after_ checking that
12543 * lyxfunc.C (verboseDispatch): fix handling of arguments
12545 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12547 * lyxrc.C: use string::erase() instead of initializing to "".
12550 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12552 * BufferView_pimpl.h:
12553 * BufferView_pimpl.C:
12556 * text2.C: tell X when we have made a selection for copying
12558 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * BufferView_pimpl.C (MenuInsertLyXFile):
12561 * lyxfunc.C (menuNew):
12563 (doImport): add shortcuts to directory buttons
12565 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12568 * lyxfunc.C (setStatusMessage):
12569 (getStatusMessage): new methods
12570 (getStatus):use setStatusMessage instead of setErrorMessage
12571 (dispatch): when function is disabled, set error message here
12572 [instead of in getStatus previously]
12574 * BufferView_pimpl.C (workAreaButtonRelease): update
12575 toolbar/menubar here too.
12577 2002-01-13 Allan Rae <rae@lyx.org>
12579 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12580 Now seems indestructible. Remaining task is to audit all other
12581 code affected by deleteEmptyParagraphMechanism. One small quirk
12582 left is that an empty document with an error in the preamble can
12583 be made to report an error but no error box appears. I don't know
12585 (removeAutoInsets): Improved comments.
12587 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12590 * Thesaurus.C: update for Aiksaurus 0.14
12592 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * text2.C (firstParagraph): removed member function, all uses
12595 replaces with ownerParagraph
12596 (redoParagraphs): here
12597 (updateInset): here
12598 (toggleAppendix): here
12599 * BufferView2.C (insertErrors): here
12600 (setCursorFromRow): here
12602 2002-01-13 Allan Rae <rae@lyx.org>
12604 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12605 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12606 There is still a way to segfault this although you may have to do this
12607 multiple times: Have an InsetERT with an unknown command in it.
12608 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12609 <down-arrow>, <Enter> again, View->DVI, BANG!
12611 * text2.C (setCursor):
12612 (deleteEmptyParagraphMechanism):
12613 * lyxtext.h (setCursor):
12614 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12615 Making use of the return value may help fix other bugs.
12617 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12619 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12621 * LyXView.C (updateMenubar): call MenuBar::update here
12622 (updateToolbar): but not here
12623 (showState): do not update toolbar/menubar
12625 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12626 should need to care about that.
12628 * lyxfunc.C (verboseDispatch): simplify a bit
12629 (getStatus): have a version which takes a pseudoaction, and
12630 another which requires a (kb_action,string).
12632 * LyXAction.C (retrieveActionArg): make it work also when action
12633 is not a pseudo-action.
12634 (getActionName): simplify a bit
12637 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12639 * lyxfunc.C (verboseDispatch): new families of methods with
12640 several ways to specify a command and a bool to indicate whether
12641 the command name and shortcut should be displayed in minibuffer
12642 (eventually, we could extend that to a finer bitmask like
12643 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12644 (dispatch): the pristine dispatch command which just, well,
12645 dispatchs! Note it still sets its result to minibuffer; I'm not
12648 * lyxfunc.h: remove setHintMessage
12650 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12652 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * BufferView_pimpl.C (specialChar): delete new inset if we have
12655 not been able to insert it.
12657 * kbmap.C: revert to using int instead of kb_action, since all we
12658 are dealing with is pseudo-actions.
12660 * LyXAction.C (searchActionArg): change to return int instead of
12661 kb_action, since the result is a pseudoaction.
12663 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12665 * buffer.C (insertErtContents): Fix (partially) the font bug.
12667 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12669 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12670 as the other one is broken on my machine!
12672 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12675 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12677 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12679 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12680 reflect their actual use. Provide compatibility code for older lyxrc
12683 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12685 change names of popup font variables in line with the changes to lyxrc.C
12687 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12689 * buffer.C (asciiParagraph): avoid outputing a word twice after
12692 * lyxrc.C (getDescription): document that document_path and
12693 template_path can be empty.
12695 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12697 * LaTeXFeatures.C (getMacros):
12698 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12700 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12702 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12704 (getPackages): rename feature "floats" to "float". Use an array to
12705 iterate over 'simple' features (i.e. just a \usepackage). Add
12706 handling of "amsmath" (renamed from "amsstyle").
12708 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12710 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12713 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12715 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12716 FuncStaus::FuncStatus & FuncStaus::some_method().
12718 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12720 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12721 of the func_satus stuff. Edited and massaged in various ways by
12724 * lyxfunc.C (getStatus): use FuncStatus
12726 2002-01-08 Juergen Vigna <jug@sad.it>
12728 * text.C (nextBreakPoint): use function Inset::isChar().
12730 * paragraph.C (TeXOnePar): use function
12731 Inset::forceDefaultParagraphs.
12733 * buffer.C (latexParagraphs): use function
12734 Inset::forceDefaultParagraphs.
12736 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12738 * lyx_gui.C (init): set the style of the menu popups to
12739 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12741 2002-01-07 Juergen Vigna <jug@sad.it>
12743 * text.C (setHeightOfRow): small fix
12744 (prepareToPrint): don't look at alignment if we don't have the place
12747 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12749 * box.C: New file. Move the Box methods and functions out of box.h,
12750 following Lars' suggestion.
12752 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12754 * box.h: #include "support/LOstream.h", needed for inlined function.
12757 * lyxtextclasslist.C: added some using std declarations.
12759 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12761 * box.h: make signed dimensions to allow insets wider than
12762 the screen (bug #162)
12764 * BufferView_pimpl.C: add some insetHit debug
12766 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12768 * vc-backend.C: add FIXME
12770 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12772 * lyxfunc.C (getStatus): enable code for showing math font status
12775 2002-01-07 Juergen Vigna <jug@sad.it>
12777 * text.C (nextBreakPoint): removed debug output not needed anymore.
12779 2002-01-06 Juergen Vigna <jug@sad.it>
12781 * text.C (nextBreakPoint): fixed up this function we had this bug
12782 since ever but now hopefully we break row better.
12783 (insertChar): we have to check if an inset is the next char as it
12784 could now happen that a large inset is causing a break.
12786 2002-01-05 Juergen Vigna <jug@sad.it>
12788 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12789 if it doesn't like to be drawed.
12791 2002-01-04 Juergen Vigna <jug@sad.it>
12793 * BufferView2.C (lockInset): forgot to set a cursor.
12795 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12797 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12799 * FormMathsPanel.C:
12802 * form_maths_panel.C:
12803 * form_maths_panel.h:
12804 * form_maths_panel.fd: implemented sub- and super- buttons in math
12807 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12808 (or ^ space) to be used as in TeX (req'd by André).
12810 * lyxfunc.C: Allow ^ and _ again to be used both as
12811 super/subscript (mathed) and as themselves (in text).
12813 2002-01-03 Allan Rae <rae@lyx.org>
12815 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12816 "LyX" or the filename of the current buffer if it has one. This is a
12817 modified form of John Levon's patch.
12819 * XFormsView.C (setWindowTitle): also set icon title.
12821 * LyXView.h (setWindowTitle): signature changed.
12822 * XFormsView.h (setWindowTitle): ditto.
12824 2002-01-02 Juergen Vigna <jug@sad.it>
12826 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12828 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * screen.C (topCursorVisible): introduce a temp var for
12831 text->cursor.row(), handle the case where this row is null. (kindo
12834 * text2.C (setCursor): add a couple of asserts.
12836 * paragraph.h (inset_iterator): add -> operator
12838 * paragraph.[Ch] (autoDeleteInsets): remove member function
12840 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12841 cursor pos correctly and handle inset deletion by itself.
12842 (insertErrors): move iterator declaration out of for expression
12844 * lyxtextclass.C: add <algorithm>
12846 * Makefile.am: added the new files to sources, removed layout.C
12848 * layout.C: removed file
12850 * layout.h: remove LYX_DUMMY_LAYOUT
12852 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12856 * lyxtextclass.[Ch]:
12857 * lyxtextclasslist.[Ch]: new files
12859 * include order changes to a lot of files, also changes because of
12862 2001-12-27 Juergen Vigna <jug@sad.it>
12864 * buffer.C (asciiParagraph): more fixes.
12866 * tabular.C (ascii): make ascii export support export of only the
12867 data separated by a column-delimiter.
12868 (ascii): better support for ascii export.
12870 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12872 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12874 * tabular_funcs.C: use a "using std::getline" instead of the
12875 previous fix from Angus (necessary for cxx + lyxstring)
12877 2001-12-24 Juergen Vigna <jug@sad.it>
12879 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12881 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12882 problems. First check a minipage also if we have some ert-contents
12883 (not only on par->size(), second set the right depth of the paragraph
12884 on the relink to the root-paragraph-list!
12886 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12887 which then did not anymore update the main paragraphs on undo/redo!
12889 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12892 code. Support all font-changing funcs (even those which are not in
12893 menu currently). Support for reporting font settings in
12894 mathed (disabled until Andre provides a function on mathed's side).
12896 * func_status.h (toggle): small helper function to set toggle
12899 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12901 * tabular_funcs.C: getline -> std::getline
12903 2001-12-21 Juergen Vigna <jug@sad.it>
12905 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12906 accessed and could be 0 (I couldn't generate this but it seems
12909 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12912 * tabular_funcs.h: here and include iosfwd
12914 2001-12-20 Juergen Vigna <jug@sad.it>
12916 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12917 inside inset but undo_par was.
12919 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12921 * Thesaurus.C: always include <config.h> in sources.
12925 * box.h: do not include <config.h> in header files
12927 * text.C (paintLastRow): remove unused variable
12929 * text.C (transformChar):
12931 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12933 * Painter.C (text):
12934 * font.C (width): rewrite to use uppercase() instead of
12937 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12939 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12941 * lyxfind.C: clean up of find failure position change
12943 2001-12-20 Juergen Vigna <jug@sad.it>
12945 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12947 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12948 (TeXRow): added to LaTeX a single tabular row.
12949 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12950 (Latex): simplified and finally good LT-h/f support.
12951 (various_functions): just small adaptions for LT-h/f support.
12953 * tabular_funcs.[hC]: added and moved here all not classfunctions
12956 2001-12-19 Juergen Vigna <jug@sad.it>
12958 * tabular.[Ch]: better support for longtabular options (not finished
12961 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12963 * text.C (paintLastRow): use the label font instead of the font of
12964 the last character to compute the size of *_BOX. This makes more
12965 sense and avoids a crash with empty paragraphs.
12966 Use Painter::rectangle to draw EMPTY_BOX.
12968 2001-12-19 Juergen Vigna <jug@sad.it>
12970 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12971 the paragraphs if the replaced paragraph is not the first one!
12972 Tried to delete not used paragraphs but does not work yet so for
12973 now it's inside #ifdef's and by default off!
12975 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12977 * MenuBackend.C: include "lyx_main.h" instead of declaring
12978 lastfiles (actually was declared as LastFiles* instead of a
12981 2001-12-17 Juergen Vigna <jug@sad.it>
12983 * tabular.C (AppendColumn): applied John's fix
12985 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12989 * BufferView_pimpl.h:
12990 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12993 * box.h: new start of class for above
12995 * lyxfunc.C: ignore space-only minibuffer dispatches.
12996 Show the command name when it doesn't exist
12998 * minibuffer.C: don't add empty lines to the history
13000 * minibuffer.C: add a space on dropdown completion
13002 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13004 * text.C: fix line above/below drawing in insets
13006 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * lyxlength.C (LyXLength): Initialize private variables.
13010 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13012 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13013 when inserting error insets.
13015 2001-12-13 Juergen Vigna <jug@sad.it>
13017 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13018 actually sometimes the before-paragraph.
13019 (setUndo): don't clear the redostack if we're not actually undoing!
13021 2001-12-06 Juergen Vigna <jug@sad.it>
13023 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13024 and fixed redoing of main paragraph, so we can use it now ;)
13026 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13028 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13030 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13033 2001-12-13 André Pönitz <poenitz@gmx.net>
13036 * undo_func.C: minor cleanup
13038 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13040 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13041 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13042 font in urw-fonts package which is marked as -urw-fontspecific and
13043 does not work (incidentally, changing the encoding in the
13044 fonts.dir of this package to -adobe-fontspecific fixes the
13047 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13048 is a crash when undoing first paragraph (Juergen, please take a
13049 look). THis does not mean the undo fix is wrong, just that it
13052 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13053 the (Paragraph*) version when needed instead of duplicating the
13056 * text.C (workWidth): use Inset::parOwner to find out where the
13057 inset has been inserted. This is a huge performance gain for large
13058 documents with lots of insets. If Inset::parOwner is not set, fall
13059 back on the brute force method
13061 * paragraph_pimpl.C (insertInset):
13062 * paragraph.C (Paragraph):
13063 (cutIntoMinibuffer): set parOwner of insets when
13064 inserting/removing them
13066 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13068 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13074 * mathed/formulabase.C:
13075 * mathed/math_cursor.[Ch]:
13076 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13079 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * lyxlength.[Ch] (operator!=): new function
13083 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * text.C (workWidth): use Inset::parOwner to find out where the
13086 inset has been inserted. This is a huge performance gain for large
13087 documents with lots of insets. If Inset::parOwner is not set, fall
13088 back on the brute force method
13090 * paragraph_pimpl.C (insertInset):
13091 * paragraph.C (Paragraph):
13092 (cutIntoMinibuffer): set parOwner of insets when
13093 inserting/removing them
13095 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13097 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13099 * tabular-old.C (getTokenValue):
13100 * tabular.C (getTokenValue):
13101 (write_attribute): new versions for LyXLength
13102 (everywhere): adjust the use of widths
13104 * tabular.h: change the type of widths from string to LyXLength
13106 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13108 * paragraph.C: fixed missing line number count when exporting
13109 Environments to LaTeX file
13111 * buffer.C: added informational message for checking line numbers.
13113 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13115 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13116 paragraph, do the 'double space' part, but not the 'empty
13119 * text.C (workWidth): small optimization
13120 (getLengthMarkerHeight): use minimal size for negative lengths.
13122 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13124 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13126 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13128 2001-12-11 André Pönitz <poenitz@gmx.net>
13131 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13133 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13135 * text2.C: keep selection on a setFont()
13137 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13139 * lyx_cb.C: another bv->text misuse, from insert label
13141 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13144 * kbsequence.C: re-instate nmodifier mask
13146 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13148 * lyx_main.h: make lyxGUI private.
13150 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13152 * lyxfind.C: place the cursor correctly on failed search
13154 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13156 * text.C (getLengthMarkerHeight): for small heights, the arrows
13157 are not always on top/bottom of the text
13158 (drawLengthMarker): smaller arrows; take the left margin in
13159 account; draw also vfills.
13161 (paintLastRow): remove special code for vfill and standard spaces,
13162 since everything is handled in drawLengthMarker now.
13164 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * buffer.C (insertErtContents): try to handle font and language
13167 interaction a bit better.g
13169 * ColorHandler.C (updateColor): change the hash to cover the whole
13170 LColor enum, ws cleanup
13171 (getGCLinepars): ditto
13172 (getGCLinepars): only lookup in the linecache once.
13174 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13176 * iterators.C (operator++): Make the iterator more robust
13178 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13180 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13185 * text.C: better added space drawing
13187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13190 * BufferView2.C: fix layout combo update on inset unlock
13192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13194 * Makefile.am: don't compile unused files
13196 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13200 * LyXAction.C: remove old LFUN_LAYOUTNO
13202 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13204 * paragraph_pimpl.h:
13205 * paragraph_pimpl.C: isTextAt() doesn't need font param
13207 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13210 * lyxlex.C: little cleanup
13212 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13214 * BufferView_pimpl.C: fix insertAscii for insets
13216 2001-12-05 Juergen Vigna <jug@sad.it>
13218 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13219 set the right font on the "multi" paragraph paste!
13221 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13227 * lyxlength.C: remove out-commented code.
13229 * BufferView_pimpl:
13243 * vc-backend.C: change "while(" to "while ("
13245 * lyxlength.[Ch]: add zero function to check if length is zero or
13247 * lyxgluelength.C: use it
13249 2001-12-05 Allan Rae <rae@lyx.org>
13251 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13252 Works for 2.95.3, from what I understand of Garst's reports this should
13253 work for other g++ versions. We're screwed if the abs(int) definition
13254 changed between bugfix releases of gcc.
13256 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13258 * text.C: fix chapter label offset !
13260 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13263 * text.C: fix hfill at end of line, clean up
13265 2001-12-04 Juergen Vigna <jug@sad.it>
13267 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13268 that we force an update of the inset and it's owners if neccessary.
13270 2001-12-03 Juergen Vigna <jug@sad.it>
13272 * text.C (rowLast): simplified code
13274 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13276 * lyxfunc.C: fix show options on timeout
13278 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * screen.C (topCursorVisible): scroll half a page when the cursor
13281 reached top of bottom of screen
13283 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13285 * minibuffer.C: deactivate on loss of focus
13287 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * vspace.[Ch] (operator!=): add operator.
13291 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13293 * BufferView_pimpl.C: refuse to open an inset when
13294 there's a selection.
13296 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13298 * BufferView_pimpl.C: allow to click on RHS of full row insets
13300 2001-11-30 Juergen Vigna <jug@sad.it>
13302 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13303 insets for undo reasons.
13305 2001-11-28 André Pönitz <poenitz@gmx.net>
13307 * vspace.[Ch]: cosmetical changes
13309 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13319 * kbsequence.C: part re-write of old kb code
13322 * WorkArea.C: remove Lgb_bug_find_hack
13324 2001-11-30 José Matos <jamatos@fep.up.pt>
13326 * buffer.C (makeDocBookFile): add a comment to point a hack.
13327 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13328 Fixed a double write of labels.
13330 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13333 * LaTeX.h Fixed bug in LaTeX class where it would not
13334 re-run latex if no depfiles were changed, but the .dvi was removed.
13336 2001-11-28 André Pönitz <poenitz@gmx.net>
13338 * all the files from the change on 2001/11/26:
13339 use lyx::layout_type instead of LyXTextClass::size_type
13340 use lyx::textclass_type instead of LyXTextClassList::size_type
13342 2001-11-29 Juergen Vigna <jug@sad.it>
13344 * text.C: added support for paragraph::isFreeSpacing()
13346 * buffer.C: same as above
13348 * paragraph.h: inserted isFreeSpacing() function to enable
13349 FreeSpacing inside InsetERT.
13351 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13352 of the paragraph's in the cut/copy buffer to 0!
13354 * text2.C (removeRow): remove the assert as it can!
13356 * lyxtext.h: added helper function firstRow returning firstrow and
13357 made firstrow private again.
13359 * BufferView2.C (lockInset): don't relock if we're already locked!
13361 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13362 the only paragraph.
13363 (removeRow): added Assert::(firstrow)
13365 * debug.C: forgot to add INSETTEXT here.
13367 2001-11-28 Juergen Vigna <jug@sad.it>
13369 * sp_spell.C (initialize): changed error text to more general
13370 spellchecker command use (not only ispell!)
13372 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13374 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13376 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13378 * vspace.C: initialise lyxgluelength on failure
13380 2001-11-28 Allan Rae <rae@lyx.org>
13382 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13383 declaration & definition that looks like a function declaration.
13385 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13387 * BufferView2.C (copy):
13388 (copyEnvironment): do not clear the selection when doing a copy.
13390 * text.C (paintFirstRow): compilation fix
13392 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13394 * tabular.C (Latex): correct line count when writing latex.
13396 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13398 * paragraph_pimpl.h:
13399 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13402 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13406 * LColor.C: change vfillline->added_space
13408 * text.C: add markers and text for added space
13410 * vspace.C: fix comment
13412 2001-11-28 André Pönitz <poenitz@gmx.net>
13414 * paragraph.C: whitespace changes
13415 * all the other files from the change on 2001/11/26:
13416 change *::pos_type into lyx::pos_type
13418 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13420 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13421 language of the document when inserting error insets.
13423 2001-11-26 André Pönitz <poenitz@gmx.net>
13425 * BufferView_pimpl.[Ch]:
13433 * paragraph_pimpl.[Ch]:
13436 * text2.C: reduce header dependencies, introduce type for positions
13438 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13440 * <various>: change to use Alert.h
13442 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13444 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13445 when encountering an unknown token.
13446 (readLyXformat2): Show an error message if there were unknown tokens.
13448 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13451 * BufferView_pimpl.C:
13455 * text2.C: use par->isInset()
13457 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13459 * paragraph_pimpl.h:
13460 * paragraph_pimpl.C: cleanup
13462 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13464 * text2.C (removeRow):
13465 * text.C (setHeightOfRow): remove useless (and costly) call to
13468 2001-11-20 Allan Rae <rae@lyx.org>
13470 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13471 Now need Inset*::checkInsertChar() to return true for appropriate
13472 cases so that the characters in the minibuffer will actually be
13475 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * text.C: change the order of the includes.
13478 (workWidth): initialize it at once.
13479 (workWidth): make maxw unsigned
13480 (setHeightOfRow): remove unused variable (inset)
13481 (selectSelectedWord): remove unused variable (inset)
13482 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13484 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13486 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13487 server is not running.
13489 (closeConnection): add debug info when server is disabled.
13491 * ColorHandler.C (getGCForeground): send debug message to GUI
13494 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13496 * kbmap.C (bind): modify because return conventions of
13497 kb_sequence::parse have changed.
13499 * kbsequence.C (parse): only ignore spaces and not any stupid
13500 control character. This avoids tests like s[i] <= ' ', which are
13501 guaranteed to fail with 8bit characters and signed chars.
13502 Change return code to string::npos when there have been no error
13503 (0 was a bad idea when error is at first character)
13505 2001-11-14 José Matos <jamatos@fep.up.pt>
13508 * buffer.C (simpleDocBookOnePar): removed unused argument.
13510 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13513 insets which are part of a word. Paragraph::isLetter takes care of
13514 that now. Use Paragraph::isInset to identify insets.
13515 (selectSelectedWord): do not test for hyphenation break.
13517 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13518 that protected spaces are considered as spaces.
13520 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13523 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13526 * lyxserver.C: fix it. and small cleanup.
13528 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13530 * BufferView_pimpl.C: use inline helpers
13533 * LaTeXFeatures.C: fix typos
13536 * Spacing.C: move spacing_string into class
13538 * ToolbarDefaults.C: move stuff into namespace anon
13540 * layout.h: update enum
13542 * lyxfunc.C: use better debug
13544 * minibuffer.h: fix typo
13548 * WorkArea.C: add and use Debug::WORKAREA
13552 * text2.C: code re-organisation, inline helpers
13554 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13556 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13557 std::vector.empty().
13559 2001-11-09 Allan Rae <rae@lyx.org>
13561 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13562 '\n's after tables. Tabular and ERT inset work now makes this no
13565 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13568 * minibuffer.C: fix crash, improve drop-down completion
13570 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13573 * lyxserver.C: invalidate fd's when doing endPipe()
13575 2001-11-08 José Matos <jamatos@fep.up.pt>
13577 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13578 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13581 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13583 2001-11-07 José Matos <jamatos@fep.up.pt>
13586 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13589 * buffer.C (sgmlOpenTag):
13590 * buffer.C (sgmlCloseTag): removed debug info.
13592 * buffer.h (sgmlOpenTag):
13593 * buffer.h (sgmlCloseTag): made public.
13595 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13597 * buffer.C (saveParamsAsDefaults):
13598 * lyx_cb.C (MenuLayoutSave): remove
13600 * LyXAction.C (init):
13602 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13604 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13606 * buffer.C (setPaperStuff): removed from here...
13608 * bufferparams.C (setPaperStuff): ... and moved there.
13610 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13614 * XFormsView.C: add support for drop-down completion
13616 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13618 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13621 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13626 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13628 * lyx_main.C: change ref to known bugs
13630 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13632 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13633 to work around older babel problems.
13635 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13637 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13639 2001-10-24 Juergen Vigna <jug@sad.it>
13641 * tabular-old.C (ReadOld): below variable changes reflected.
13643 * tabular.[Ch]: added ltType struct for longtable header/footer
13644 defines and changed all instances where they are used. Added
13645 future support for double top/bottom rows.
13647 2001-10-24 José Matos <jamatos@fep.up.pt>
13649 * buffer.h (docbookHandleCaption):
13650 * buffer.C (docbookHandleCaption): removed unused function.
13651 (makeDocBookFile): moved docbook supported version to v4.1.
13653 2001-10-24 José Matos <jamatos@fep.up.pt>
13656 * tabular.C (docbookRow): new function to export docbook code of a row.
13657 (DocBook): now honors the longtable flags.
13659 2001-10-23 José Matos <jamatos@fep.up.pt>
13662 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13663 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13665 * buffer.C (makeLinuxDocFile):
13666 (makeDocBookFile): reworked the preamble, more clean, and with
13667 support for lyx defined entities. Changed the document declaration
13668 to be more XML friendly.
13670 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13671 if we need to output XML that should be done with a filter.
13673 2001-10-22 Juergen Vigna <jug@sad.it>
13675 * sp_pspell.h (class PSpell): add alive function needed in the
13676 controller to see if the spellchecker could be started.
13678 2001-10-22 Juergen Vigna <jug@sad.it>
13680 * buffer.C (insertStringAsLines): modify the font for inserting
13681 chars in certain conditions by calling checkInsertChar(font).
13683 2001-10-19 Juergen Vigna <jug@sad.it>
13685 * text.C (workWidth): use getRow instead of wrong algorithm.
13686 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13688 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13693 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13695 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * text.C (workWidth): do not search for the exact row when
13698 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13699 optimization for big documents.
13701 2001-10-18 Juergen Vigna <jug@sad.it>
13703 * text.C (workWidth): new function with added Inset * parameter.
13705 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13709 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13710 change return type of getColumnNearX.
13713 * text.C (changeRegionCase): use uppercase/lowercase instead of
13716 (rightMargin): simplify code by factoring out the uses of
13721 (appendParagraph): use Paragraph::size_type
13723 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13725 * vspace.C (asLatexString): add a missing break
13727 2001-10-15 Herbert Voss <voss@perce.de>
13729 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13731 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13736 2001-10-10 André Pönitz <poenitz@gmx.net>
13738 * lyxfunc.C: removed greek_kb_flag.
13740 2001-10-10 Herbert Voss <voss@perce.de>
13742 * lyx_main.C: delete global string help_lyxdir.
13744 2001-10-09 Herbert Voss <voss@perce.de>
13746 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13748 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13750 * lyx_main.C: added global string help_lyxdir.
13752 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13754 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13756 * lyxrc.C (set_font_norm_type): support iso8859-4
13758 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13760 * LaTeX.C (deplog): add another regex for MikTeX
13762 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13764 * lyxrc.C (set_font_norm_type): support iso8859-3
13766 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13768 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13770 * LaTeXFeatures.C: remove special case of french and index
13772 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13773 before \begin{document}). This solves several incompatibilities.
13775 2001-10-03 Garst Reese <reese@isn.net>
13777 * lyx_cb.C: change CheckTex error msg.
13779 2001-10-03 José Matos <jamatos@fep.up.pt>
13781 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13783 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * .cvsignore: update
13787 * lyx_main.C (commandLineVersionInfo): use new style version info.
13789 * buffer.C (writeFile):
13791 (makeLinuxDocFile):
13792 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13794 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13796 * version.h: update to use stuff in version.C
13798 * version.C.in: new file. Contains version information determined
13799 at compile time. This is a merging of version.h and
13802 2001-10-03 Juergen Vigna <jug@sad.it>
13804 * BufferView_pimpl.C (update): don't change "dirty" status in
13807 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13809 * WorkArea.C (c-tor): re-position version string slightly.
13811 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13813 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13814 revert to previous code.
13816 WorkArea.[Ch]: (show, destroySplash): methods removed.
13818 WorkArea.C: rework code so that it's an amalgam of the codes before and
13819 after the splash screen was moved to WorkArea.
13821 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13824 * vspace.C (inPixels):
13827 * buffer.C (insertStringAsLines):
13828 (asciiParagraph): fix types to be large enough
13830 * lyxlex_pimpl.h: change member status from short to int
13832 * layout.h: fix type of endlabeltype
13835 * kbsequence.C (parse): change return type to string::size_type
13837 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13840 * Bullet.C (bulletSize):
13841 (bulletEntry): do not use short ints as parameters
13843 * BufferView2.C (insertLyXFile): change a char to an int.
13845 * WorkArea.C (WorkArea): remove unneeded floats in computation
13847 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13849 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13851 * paragraph.C (asString): Do not ignore newline/hfill chars when
13852 copying to the clipboard.
13854 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13856 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13857 after a multi-line inset.
13859 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13861 * paragraph.C (validate): Set NeedLyXFootnoteCode
13863 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13865 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13866 and decrease-error to decrease.
13868 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13870 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13871 it more readable (should be equivalent)
13873 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13875 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13877 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13880 of a cursor (row, etc.) after a character has been deleted
13881 (deleteEmptyParagraphMechanism): call the method above on _all_
13882 cursors held by the LyXText when a double space has been
13885 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13887 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13889 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13891 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13892 background. Use greyOut() and the new show() methods to toggle between
13893 the foreground and background. Add code to remove the splash after
13894 its initial showing.
13896 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13897 (create_forms): no longer call Dialogs::showSplash.
13899 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * .cvsignore: add version_info.h
13903 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13905 * version_info.h.in: new file
13907 * Makefile.am: add version_info.h.in
13909 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13910 version_info.h instead of VERSION_INFO
13912 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13914 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13915 The ERT inset now returns string().
13917 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13919 * lyxtext.h, text.C (selectNextWord): renamed as
13920 selectNextWordToSpellcheck.
13922 * text.C (selectNextWordToSpellcheck): Modified to not select
13923 words inside an ERT inset.
13925 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13927 * lyx_cb.C (MenuLayoutSave): change a bit the question
13929 * sp_base.h: include <sys/types.h>
13931 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13933 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13935 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13937 * several files: fix typos in user-visible strings
13939 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * text2.C (pasteSelection): do not set the selection, since it
13942 will be cleared later. Actually, the intent was to fix the way the
13943 selection was set, but I figured rmoving the code was just as good.
13945 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13947 * FontLoader.C (available): Check if font is available without
13950 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13952 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13954 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13956 * lyxrc.[Ch]: added display_graphics variable and associated code.
13958 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * bufferparams.C (hasClassDefaults): new method. Returns true if
13961 the buffer parameters correspond to known class defaults
13963 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13965 * XFormsView.C (show): set minimum size to the main window.
13967 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13969 * text2.C (copySelection):
13971 * lyxfind.C (LyXReplace):
13972 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13973 LyXText::selectionAsString.
13975 * paragraph.C (asString): add "label" argument to the second form
13977 * text2.C (selectionAsString): add "label" argument and pass it to
13978 Paragraph::asString.
13980 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13982 * lyx_main.C (commandLineHelp): remove version information
13984 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13986 * lyx_main.C: add -version commandline option
13988 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * paragraph.h: make the optional constructor arg required instead.
13991 some modifications to other files because of this.
13993 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13995 * lyxserver.C (C_LyXComm_callback): make it static
13997 * lyx_main.C (error_handler): make it static
13999 * lyx_gui.C (LyX_XErrHandler): make it static
14001 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14003 * WorkArea.C: make the extern "C" methods static.
14005 * Makefile.am (lyx_LDADD): simplify
14007 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14009 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14010 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14012 * LyXAction.C (init):
14013 * lyxfunc.C (dispatch): associated code removal.
14015 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14017 * lyxfont.h (isSymbolFont): shut off warning
14019 * text.C (setHeightOfRow):
14020 (getVisibleRow): fix crash with empty paragraphs which have a
14023 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14025 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14028 2001-09-04 José Matos <jamatos@fep.up.pt>
14031 * tabular.C (docbook): rename docBook method to docbook.
14033 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14035 * Makefile.am: add dependencies to main.o.
14037 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14039 * FontLoader.C (available): Return false if !lyxrc.use_gui
14041 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14043 * FontInfo.C (query):
14044 * converter.C (view):
14045 * importer.C (Import):
14046 * exporter.C (Export): Can not -> cannot.
14048 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14050 * BufferView_pimpl.C: allow to create index inset even if
14053 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14055 * buffer.C (getLists): replace boost::tie code with an explicit pair
14056 as boost::tie can break some compilers.
14058 * iterators.h: Added a std:: declaration to the return type of
14061 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14063 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14066 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14068 * iterators.[Ch]: New files. Provide paragraph iterators.
14070 * buffer.C (changeLanguage): Use paragraph iterators.
14071 (isMultiLingual): ditto
14073 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14075 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14077 * FontLoader.C: Support for cmr font.
14079 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14081 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14082 (available): New method.
14084 * FontInfo.C (getFontname): Use scalable fonts even when
14085 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14088 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14090 * converter.C (Formats::view): reverted! Incorrect fix.
14092 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14094 * converter.C (Formats::view): only output the -paper option
14095 if the dvi viewer is xdvi, thereby fixing bug #233429.
14097 2001-08-23 Herbert Voss <voss@perce>
14099 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14101 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14103 * Spacing.h (Spacing): Set space to Default on in the default
14106 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14108 * vc-backend.h (RCS::versionString): add RCS to version
14109 (CVS::versionString): add CVS to version
14111 * vc-backend.C (scanMaster): do not add CVS to version.
14112 (scanMaster): do not add RCS to version
14114 * lyxvc.C (versionString): new method
14116 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14118 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * Spacing.C (set): initialize fval
14122 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14124 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14127 2001-08-16 Juergen Vigna <jug@sad.it>
14129 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14131 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14133 * BufferView_pimpl.C:
14136 * text2.C: setParagraph takes linespacing now
14138 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14140 * LyxAction.C: add internal LFUN_CITATION_INSERT
14142 * LyXView.C: actually apply fix
14144 * bufferlist.C: fix open non-existent file
14146 * lyxfind.C: fix indentation
14148 * lyxfunc.C: remove unneeded assert, fix typo
14150 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14152 * MenuBackend.C: use "Floatname List"
14154 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14156 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14157 when converting LaTeX layout to insetERT.
14158 Generate a non-collapsed float when reading old float
14160 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14162 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14165 2001-08-13 Juergen Vigna <jug@sad.it>
14167 * text.C (fill): return 0 instead of 20 as this seems to be the more
14170 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14172 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14175 2001-08-13 Juergen Vigna <jug@sad.it>
14177 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14179 (SearchBackward): comment out the unlocking of the inset_owner this
14180 should not be needed!
14182 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14184 * Many files: Remove inherit_language, and add latex_language
14186 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14187 collapsible insets.
14189 2001-08-10 Juergen Vigna <jug@sad.it>
14191 * text.C (prepareToPrint): fixed hfill-width in draw!
14193 * BufferView2.C (selectLastWord): save the selection cursor as this
14194 now is cleared in the function LyXText::clearSelection!
14196 2001-08-08 Juergen Vigna <jug@sad.it>
14198 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14199 BACKSPACE type functions.
14201 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14202 is only cutted from the document but not put in the cut-buffer, where
14203 still the old stuff should be.
14205 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14207 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14209 * tabular.C (SetWidthOfCell): fixed special case where the width
14211 (LeftLine): handle '|' in align_special.
14213 (LeftAlreadyDrawed): ditto
14214 (SetWidthOfCell): ditto
14216 2001-08-07 Juergen Vigna <jug@sad.it>
14218 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14220 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14223 * lyxlex.[hC]: ditto
14225 2001-08-06 Juergen Vigna <jug@sad.it>
14227 * text.C (getVisibleRow): fix up row clearing a bit.
14229 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14231 * minibuffer.C: make sure the X server sees the changes in the input.
14233 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * paragraph.C (getFont): split into...
14236 (getLabelFont): this
14237 (getLayoutFont): and this
14238 * paragraph_pimpl.C (realizeFont): calling this
14240 * text2.C (getFont): split into...
14241 (getLayoutFont): this
14242 (getLabelFont): and this
14243 (realizeFont): all three calling this
14245 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14248 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14252 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14254 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14255 layouts from the Quote inset insertion.
14257 2001-08-03 Juergen Vigna <jug@sad.it>
14259 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14261 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14262 only if status not is already CHANGED_IN_DRAW (second level).
14264 * text.C (draw): don't set the need_break_row when inside an
14267 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * buffer.C (parseSingleLyXformat2Token): handle more latex
14272 * bufferview_funcs.[hC]: change function names to
14273 begin with small char, adjust other files.
14275 2001-08-02 André Pönitz <poenitz@gmx.net>
14278 BufferView_pimpl.C: remove broken special code for math-greek
14280 2001-08-02 Juergen Vigna <jug@sad.it>
14282 * BufferView_pimpl.C (update): redone this function so that we
14283 update the text again if there was a CHANGE_IN_DRAW.
14285 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14286 (drawFromTo): added a new internal bool which is used by draw() and
14288 (general): some cursor drawing problems fixed.
14290 2001-08-01 Juergen Vigna <jug@sad.it>
14292 * lyxfind.C (LyXFind): fixed
14293 (SearchForward): ditto
14294 (SearchBackward): ditto
14296 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14297 spurius drawing of the cursor in the main area.
14299 * text2.C (status): small fix which could lead to a segfault!
14300 (clearSelection): remove unneeded BufferView param.
14302 2001-08-01 André Pönitz <poenitz@gmx.net>
14304 * lyxfunc.C: small change due to changed mathed interface
14306 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14310 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14312 * lyxfunc.c: fail gracefully if file doesn't exist
14317 * BufferView_pimpl.C: IsDirWriteable() proto changed
14319 * LyXView.C: fix updateWindowTitle() to store the last title
14321 2001-07-31 Juergen Vigna <jug@sad.it>
14323 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14324 the font (wrong since using of Paragraph::highestFontInRange).
14326 * paragraph.C (highestFontInRange): added a default_size parameter.
14328 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14329 (setHeightOfRow): reformat
14331 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * converter.[hC] + affected files: move to (inital-char)lowercase
14336 * ParagraphParameters.C (ParagraphParameters): remove commented code
14338 * PainterBase.[Ch]: remove commented code
14340 * LaTeXFeatures.h: add "bool floats" for float.sty
14342 * LaTeXFeatures.C (LaTeXFeatures): init floats
14343 (require): handle float
14344 (getPackages): do it with floats
14346 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * BufferView_pimpl.C (Dispatch): improve handling of
14349 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14351 * commandtags.h: #include lyxfont.h here temporarily to avoid
14354 * bufferlist.h: include LString.h here.
14356 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * text2.C (getStringToIndex): new method.
14360 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14362 * *: Reduced header file dependencies all over.
14364 2001-07-30 Baruch Even <baruch@lyx.org>
14366 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14368 2001-07-29 Baruch Even <baruch@lyx.org>
14370 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14372 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * ParameterStruct.h (endif): add a default constructor to make
14375 sure that all variables is initialized.
14377 * ParagraphParameters.C (ParagraphParameters): adjust
14379 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14382 index; also, check that there is something to index, and that it
14383 does not span over several paragraphs.
14384 (doubleClick): use WHOLE_WORD_STRICT for double click.
14386 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14388 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14391 2001-07-26 Baruch Even <baruch@lyx.org>
14393 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14394 an InsetFig figure, backwards compatible reading of old figure code.
14396 2001-07-27 Juergen Vigna <jug@sad.it>
14398 * text2.C: font.realize function adaption.
14400 * text.C (draw): add a warnings lyxerr text if needed.
14402 * layout.C: font.realize function adaption.
14404 * language.C: add inherit_language and implement it's handlings
14406 * bufferview_funcs.C (StyleReset): remove language parameter from
14407 font creation (should be language_inherit now).
14409 * bufferparams.C (writeFile): handle ignore_language.
14411 * paragraph.C (getFontSettings): the language has to be resolved
14412 otherwise we have problems in LyXFont!
14414 * lyxfont.C (lyxWriteChanges): added document_language parameter
14415 (update): removed unneeded language parameter
14417 * paragraph.C (validate): fixed wrong output of color-package when
14418 using interface colors for certain fonts in certain environments,
14419 which should not seen as that on the final output.
14421 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14423 * BufferView_pimpl.C:
14428 * LyXAction.C: add thesaurus support
14431 * lyxfind.C: add "once" parameter, for thesaurus, to not
14432 move to the next match
14434 2001-07-26 Juergen Vigna <jug@sad.it>
14436 * lyxfont.C (realize): honor ignore_language too!
14439 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14441 * text.C (draw): one place more for ignore_language to not draw
14444 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14446 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14448 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14451 the minipage conversion problem.
14453 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14455 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14458 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14460 * BufferView.h: don't forward declare WorkArea
14462 * BufferView.C: don't include WorkArea.h
14464 2001-07-25 André Pönitz <poenitz@gmx.net>
14468 * lyxfunc.C: new LFUN 'math-space'
14470 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14472 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * text2.C (toggleInset): call open/close
14476 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14478 * lyxfunc.C (dispatch): add debug for the disabled case
14480 * font.C (buttonText): make similar to rectText
14482 * buffer.C (readInset): comment out parsing of insetlist and
14485 * PainterBase.C (rectText): small correction
14487 * BufferView_pimpl.C: comment out insettheorem and insetlist
14488 * LyXAction.C: ditto
14489 * commandtags.h: ditto
14491 2001-07-24 Juergen Vigna <jug@sad.it>
14493 * text.C (draw): honor the ignore_language.
14495 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14497 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14499 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14502 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14504 * lyxtext.h: remove unused (and unimplemented) methods
14506 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14508 * text.C (getVisibleRow): honor background color
14511 * Painter.h: remove default color argument for fillRectangle
14513 * text.C (backgroundColor): new method
14515 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14517 * text.C (getVisibleRow): adjust
14519 * font.[Ch] (rectText): new method, metrics
14520 (buttonText): new method, metrics
14522 * PainterBase.[hC]: make rectText and buttonText always draw and take
14525 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14527 * ToolbarDefaults.C (read):
14528 * MenuBackend.C (read): allow escaping in all strings
14530 * BufferView_pimpl.C (insertAndEditInset): new method.
14531 (Dispatch): use insertAndEditInset whenever appropriate.
14533 * BufferView_pimpl.C (insertNote): removed
14535 * BufferView_pimpl.C (smartQuote): new method, moved from
14536 BufferView; if an insetquote cannot be inserted, insert a '"'
14539 * BufferView2.C: remove insertCorrectQuote();
14541 * lyxfunc.C (getStatus): Add support for all remaingin
14542 inset-insert lfuns.
14544 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14546 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14547 command (necessary to pass " as parameter of self-insert.
14549 * text.C (selectWordWhenUnderCursor):
14550 (selectWord): add word_location parameter
14551 (selectWordWhenUnderCursor): same + remove special code for word
14553 (selectNextWord): use kind() to guess type of insetspecialchar,
14556 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14557 (insertErtContents): create ert insets as collapsed.
14558 (readInset): better compatibility code for Info inset.
14560 2001-07-20 Juergen Vigna <jug@sad.it>
14562 * lyxfunc.C (dispatch): use always LyXFind now!
14564 * text2.C (init): add a reinit flag so that the LyXText can be
14565 reinited instead of deleted and reallocated (used in InsetText).
14567 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14573 2001-07-18 Juergen Vigna <jug@sad.it>
14575 * text.C (selectNextWord): handle insets inside inset by calling
14576 always the bv->text functions so that we can go up the_locking_inset!
14578 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14579 in strange locations when inside an inset!
14581 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14582 handling to include insets.
14584 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14586 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14588 * LyXAction.C (init):
14590 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14591 LIGATURE_BREAK, since the name is so stupid.
14593 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14595 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14598 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14600 * sp_form.[Ch]: remove.
14602 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14604 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14607 * src/buffer.C (readInset): ditto.
14609 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14611 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14612 menuSeparator(), endOfSentenceDot(), ldots() and
14613 hyphenationPoint(), which are therefore removed.
14614 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14616 * LyXAction.C (init):
14617 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14619 * paragraph.C (getWord): removed.
14621 * BufferView_pimpl.C (Dispatch): use last word or selection for
14622 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14624 * lyx_main.C (queryUserLyXDir): do not ask before creating
14625 user_dir, except if it has been named explicitely.
14627 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14629 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14630 a document of zero size.
14632 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14634 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14635 approriately in the c-tor and in require().
14636 (getPackages): output the appropriate LaTeX for natbib support.
14638 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14639 variables "use_natbib" and "use_numerical_citations" when reading the
14641 (readInset): read the various natbib cite commands.
14642 (validate): white-space change.
14644 * bufferparams.[Ch]: new variables "bool use_natbib" and
14645 "bool use_numerical_citations".
14646 (writeFile): output them in the LyX file.
14648 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14650 * lyxfunc.C (getStatus): add support for all the inset insertion
14653 * text2.C (insertInset):
14654 * paragraph.C (insetAllowed):
14655 * BufferView_pimpl.C (insertInset): update to take in account the
14656 renaming of insertInsetAllowed
14658 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14660 * text2.C (getInset): new method. returns inset at cursor position.
14662 * BufferView_pimpl.C (Dispatch): changes because of this.
14664 * LyXAction.C (init): rename open-stuff to inset-toggle.
14666 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14668 * text2.C (toggleInset): renamed from openStuff; use
14671 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14673 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14675 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14677 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14679 * buffer.C (readLyXformat2): Add filename to the error dialog
14681 2001-07-18 Juergen Vigna <jug@sad.it>
14683 * tabular.C (GetCellNumber): put an assert here instead of the check!
14685 2001-07-17 Juergen Vigna <jug@sad.it>
14687 * BufferView_pimpl.C (toggleSelection): adapted too.
14689 * text.C (selectNextWord): adapted for use with insets.
14690 (selectSelectedWord): ditto
14692 2001-07-17 Juergen Vigna <jug@sad.it>
14694 * sp_spell.C (PSpell): fix initialitation order.
14696 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14698 * paragraph.C: spacing
14700 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14702 * sp_spell.C: repair language selection for pspell
14704 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14706 * lyxfunc.h: change more methods to begin with lower char.
14708 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14710 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14711 for unknown layouts.
14713 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14715 * buffer.C (readLyXformat2): Generate an error dialog if there are
14718 2001-07-16 Juergen Vigna <jug@sad.it>
14720 * sp_spell.C: always compile ISpell part.
14722 * lyxrc.C: added use_pspell entry and it's handling.
14724 2001-07-13 Juergen Vigna <jug@sad.it>
14726 * sp_spell.C: removed double includes.
14728 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14730 Consistent use of Lsstream.h:
14731 * Lsstream.h: added using std::stringstream for consistencies sake.
14733 * buffer.C: removed using std::stringstream
14735 * lyxfont.C (stateText):
14736 * paragraph.C (asString):
14737 * text.C (selectNextWord, selectSelectedWord):
14738 * text2.C (setCounter):
14739 * vspace.C (asString, asLatexString):
14740 std::ostringstream -> ostringstream.
14742 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14744 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14745 * commandtags.h: add LFUN_HELP_ABOUTLYX
14746 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14748 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14750 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14752 * lyx_gui_misc.C: remove spellchecker
14753 * lyxfunc.C: showSpellchecker
14755 * sp_ispell.h: added
14756 * sp_pspell.h: added
14757 * sp_spell.C: added
14758 * sp_form.[Ch]: removed
14759 * spellchecker.[Ch]: removed
14761 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14763 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14765 (simpleTeXSpecialChars): Simply print the input character without
14766 any special translation if pass_thru is set.
14768 * layout.h: Added bool pass_thru to layout class for being able to
14769 implement pass through of a paragraph for Literate Programming.
14771 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14772 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14773 * layout.C (Read): add "passthru" to list of layout tags and add
14774 code to set the pass_thru boolean when it is read.
14776 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14778 * trans_decl.h: remove allowed from KmodInfo
14780 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14781 remove allowed code
14784 * paragraph_pimpl.C (erase): use boost::prior
14786 * Painter.C (text): use data() instead of c_str() when length is
14788 * WorkArea.C (putClipboard): ditto
14789 * font.h (width): ditto
14791 * BufferView2.C: use it-> instead of (*it). for iterators
14793 * paragraph_pimpl.C: ditto
14794 * paragraph.C: ditto
14795 * minibuffer.C: ditto
14796 * language.C: ditto
14798 * encoding.C: ditto
14799 * counters.C: ditto
14800 * converter.C: ditto
14802 * Variables.C: ditto
14803 * TextCache.C: ditto
14804 * MenuBackend.C: ditto
14805 * LyXAction.C: ditto
14807 * FloatList.C: ditto
14808 * DepTable.C: ditto
14809 * ColorHandler.C (LyXColorHandler): ditto
14811 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14815 * text2.C (openStuff): reintroduce this method (which had been
14816 nuked in NEW_INSETS frenzy).
14818 * lyxfunc.C (Dispatch): when an action has not been handled, use
14819 its name in the error message, not its number.
14821 * paragraph.C (inInset): change method name to begin with lowercase.
14824 * text2.C: updates because of this.
14826 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * ToolbarDefaults.C (add): add spaces in error message
14830 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14833 (readLyXformat2): rename return_par to first_par, use lyxlex's
14834 pushToken and remove the manual push handling.
14835 (parseSingleLyXformat2Token): add another ert comp. variable:
14836 in_tabular, rename return_par to first_par. handle newlines better
14838 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14842 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14844 * text2.C (getParFromID): removed
14846 * buffer.C (getParFromID): new method moved form lyxtext.
14847 * BufferView2.C (insertErrors): adjust
14848 (setCursorFromRow): adjust
14849 * BufferView_pimpl.C (restorePosition): adjust
14850 * lyxfunc.C (Dispatch): adjust
14851 * undo_funcs.C (textUndo): adjust
14853 (textHandleUndo): adjust
14854 (textHandleUndo): adjust
14856 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14858 * buffer.C: up' the LYX_FORMAT
14860 * lyxfont.h: turn NO_LATEX on as default
14862 * buffer.C (insertErtContents): new methods of tex style compability.
14863 (parseSingleLyXformat2Token): use it several places.
14864 * tabular.C (OldFormatRead): and here
14866 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * text2.C: remove some commented code.
14871 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14872 * trans.C: changes because of the above.
14874 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14876 * text2.C (setCounter): Fix counters bug with bibliography layout.
14878 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14881 own member functions
14882 (simpleTeXSpecialChars): ditto
14884 2001-07-06 Juergen Vigna <jug@sad.it>
14886 * a lot of files: changed the access to LyXText::status and the
14887 call of undo-functions.
14889 * undo.[Ch]: added a inset_id to the undo informations.
14891 * undo_funcs.[Ch]: added and moved here all undo functions.
14893 * lyxtext.h: give the status enum a weight, made status_ a private
14894 variable and made accessor functions for it, removed the whole bunch
14895 of undo-functions as they are now in their own file, make some
14896 functions publically available. Added function ownerParagraph with
14899 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14900 made InInset() a const function, added getParFromID() function.
14902 * buffer.[Ch]: added const version for inset_iterator functions,
14903 added getInsetFromID() function.
14905 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14906 changed undo functions for new version.
14908 2001-07-05 Juergen Vigna <jug@sad.it>
14910 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14911 unknow mechanism does not call the proper constructor but only this
14912 one also if I request the other!?
14914 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14916 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14918 * text2.C (LyXText): use initialization lists.
14920 * lyxtext.h (Selection): initialize set_ and mark_
14921 (init): remove method
14923 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14925 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14927 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * screen.[Ch]: change method names to begin with lowercase
14931 * BufferView_pimpl.C (updateScrollbar): simplify further and
14932 hopefully make it a bit faster.
14934 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14936 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14937 calling directly xforms functions.
14939 * Painter.C (Painter):
14940 * lyx_cb.C (MenuWrite):
14941 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14944 * lyx_gui.C: remove bogus guiruntime extern declaration.
14946 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14950 (redoDrawingOfParagraph): ditto
14951 (redoParagraphs): ditto
14952 (cutSelection): don't create a object for CutAndPaste use the
14953 static method directly
14954 (pasteSelection): ditto
14956 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14959 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14961 * modifications to some other files because of this.
14963 * Makefile.am (lyx_SOURCES): add XFormsView
14965 * XFormsView.[Ch]: new files
14967 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14968 the main window. Move the gui dependent stuff to XFormsView
14970 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * tabular.C (GetCellInset): update cur_cell also in the row/col
14973 version of this function.
14975 * lyxfunc.C: no need to include figure_form.h here.
14981 * lyxvc.C: no need to include forms.h here.
14983 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14987 * lyxfunc.C (Dispatch):
14989 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14990 constructor argument.
14992 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14994 * paragraph.C (Paragraph): dont't clear, and just set layout.
14995 (makeSameLayout): use params's copy contructor.
14997 * ParagraphParameters.[Ch] (makeSame): delete method
14999 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15001 * Variables.[Ch]: fix indentation, rename set to isSet
15003 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15005 * lyxfunc.C (Dispatch): fix typo
15007 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15009 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15012 * bufferlist.C: include assert.h for emergencyWrite().
15014 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15016 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15017 give up at last (bug #425202) !
15019 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15025 * spellchecker.C: strip spellchecker options and bring up
15026 preferences tab instead
15028 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15031 the istringstream constructor
15033 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15035 * paragraph.C (getLayout): fix return value
15037 * paragraph.h: do not declare getLayout as inline.
15039 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15041 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15043 * lyxcursor.h (operator<): new func
15044 (operator>): new func
15045 (operator>=): new func
15046 (operator<=): new func
15048 * text.C (changeCase): use selection.start and selection.end
15049 (changeRegionCase): require from to be <= to. Require par to be a
15052 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15054 2001-06-27 Juergen Vigna <jug@sad.it>
15056 * text.C (cursorLeftOneWord): changed to return the cursor and added
15057 overlay with BufferView * parameter which calls this one.
15059 (selectWord): use new getWord function.
15060 (changeCase): renamed from changeWordCase as and extended to work
15061 also on selections.
15063 * lyxtext.h: added enum word_location
15065 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15066 changeCase as this operates now also on selections.
15068 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15070 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15072 * many files: send debug output to Debug::INFO instead of
15075 * converter.C (View):
15077 (Move): send debug output to Debug::FILES instead of console.
15079 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15081 * lyxfunc.C (getStatus): use func_status
15083 * func_status.h: new header, describing the results of
15084 LyXFunc::getStatus;
15086 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15089 2001-06-25 The LyX Project <jug@sad.it>
15091 * buffer.C (sgmlOpenTag):
15093 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15095 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15097 * text2.C: remove some dead code
15099 * tabular.C (GetCellInset): store the last cell checked (gotten)
15101 * tabular.h: add the helper for the speedup
15103 * lyxtext.h: remove some dead code
15105 2001-06-26 The LyX Project <Asger>
15107 * paragraph.C: Change export to LaTeX of alignment to
15108 \begin{center} and family for better roundtrip work with reLyX.
15110 * Tune the math drawing a bit.
15112 2001-06-25 The LyX Project <Asger>
15114 * LColor.C (LColor): New color for math background. New color
15117 2001-06-25 The LyX Project <jug@sad.it>
15119 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15121 * lyxfunc.C (Open):
15122 * bufferlist.C (newFile): do not restrict to files ending with
15125 * BufferView_pimpl.C (MenuInsertLyXFile):
15127 2001-06-24 The LyX Project <jug@sad.it>
15129 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15132 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15134 * lyxtext.h: rename most methods to begin with a small char.
15135 Lots of changes because of this.
15137 * paragraph.C (Paragraph): do not call fitToSize
15138 (erase): call Pimpl::erase
15139 (insertChar): call Pimpl::insertChar
15140 (insertInset): call Pipl::insertInset
15141 (breakParagraph): do not call fitToSize
15142 (breakParagraphConservative): do not call fitToSize
15143 (fitToSize): remove method
15145 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15147 2001-06-24 The LyX Project <Asger>
15149 * Fix Qt compilation^2
15151 2001-06-24 The LyX Project <jug@sad.it>
15153 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15154 depthHook(getDepth()-1).
15157 * ParagraphParameters.h:
15158 * ParameterStruct.h: change type of depth to unsigned int ==
15159 depth_type. Many adaptations to other files before of that.
15161 2001-06-24 The LyX Project <Asger>
15163 * Fix Qt compilation.
15165 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15167 * paragraph.h: renamed several methods to begin with small letter.
15168 several changes to many parts of the code because of this.
15170 2001-06-23 The LyX Project <jug@sad.it>
15172 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15173 rewritten to discard all double spaces when KeepEmpty is off
15174 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15175 to only handle newlines but not fiddle with spaces and friends.
15177 * lyxfunc.C (MenuNew): when doing 'new from template', use
15178 template_path as default directory
15180 2001-06-23 The LyX Project <Asger>
15182 * Clean-up of header file includes all over
15183 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15185 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15187 * paragraph.h: renamed from lyxparagraph.h
15189 2001-06-23 Asger <lyx@violet.home.sad.it>
15191 * Buffer.h: Removed Buffer::resize
15192 * BufferList.h: Removed BufferList::resize
15193 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15194 the document lazily when we change the width, or the font settings.
15196 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15198 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15200 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15202 * buffer.h: remove out of date comment
15204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15207 * screen.C: fix "theoretical" GC leak
15209 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * LaTeX.C (scanAuxFile):
15212 (deplog): remove trailing \r when reading stream (useful under
15215 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15217 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15218 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15219 and BufferView::theLockingInset(Inset*), so should use them and not
15220 access bv_->text->the_locking_inset directly.
15222 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15224 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15227 * tex-defs.h: remove old unused file
15229 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15231 * BufferView_pimpl.C: fix typo, remove minibuffer message
15232 when buffer has loaded
15234 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15236 * lyxfunc.C (Dispatch): use stringstream
15237 (MenuNew): use stringstream
15238 (Open): use stringstream
15240 * importer.C (Import): use stringstream
15242 * bufferview_funcs.C (CurrentState): use stringstream
15244 * LaTeX.C (run): use stringstream
15246 * BufferView_pimpl.C (savePosition): use stringstream
15247 (restorePosition): use stringstream
15248 (MenuInsertLyXFile): use stringstream
15250 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15263 * vspace.C: removed // -*- C++ -*- as first line.
15266 * version.h: added // -*- C++ -*- as first line.
15268 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15270 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15272 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15275 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15280 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * gettext.C: include LString.h even when --disable-nls is on.
15284 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15286 * converter.h (Get): changed argument type from int to
15287 FormatList::size_type to avoid unnecessary conversion.
15289 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15292 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * gettext.h: include LString.h even when --disable-nls is on.
15296 2001-06-07 Juergen Vigna <jug@sad.it>
15298 * text.C (BreakAgain): subst spaces with tabs.
15300 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15301 (resizeInsetsLyXText): set force on resizeLyXText.
15303 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * gettext.h (gettext_init):
15306 (locale_init): use a real definition instead of a macro
15308 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15310 * Bufferview_pimpl.C:
15312 * LColor.C: further lcolor tidies
15314 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * BufferView_pimpl.C (updateScrollbar): simplify.
15318 * BufferView2.C: don't include insets/insetinfo.h, change
15319 prototype for insertInset and call the Pimpl version. let
15320 updateInset call Pimpl version.
15322 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15323 gotoInset to BufferView::Pimpl
15325 2001-06-01 Juergen Vigna <jug@sad.it>
15327 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15328 inside a LockingInset (is the update needed at all?).
15330 2001-05-31 Juergen Vigna <jug@sad.it>
15332 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15333 here not the old one otherwise how should we compare it afterwards
15336 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15341 * FontInfo.C: bring C functions into global namespace when
15344 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15346 * LString.h: make sure config.h has been loaded before LString.h.
15348 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15349 (one for each char read by EatLine!).
15351 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15354 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15357 to the same as the par we break from
15359 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15363 * MenuBackend.C (expand): also create menu entries for wide
15364 versions of the floats.
15366 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15368 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15370 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15371 frontends/Makefile.am
15377 * tabular.C (getTokenValue): add std::
15379 * tabular-old.C (getTokenValue): add std::
15380 (getTokenValue): ditto
15381 (getTokenValue): ditto
15383 * screen.C (ToggleSelection): adjust
15385 * lyxtext.h: put selection cursors inside a Selection struct.
15387 * lyxfunc.C (moveCursorUpdate): adjust
15389 * lyxfont.C (latexWriteStartChanges): add std::
15391 * lyxfind.C: adjust
15393 * font.h: delete with(char const *, LyXFont const &)
15395 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15397 * FontInfo.C (getFontname): add std::
15399 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15400 (workAreaButtonPress): adjust
15401 (tripleClick): adjust
15403 (moveCursorUpdate): adjust
15406 * BufferView2.C (gotoInset): adjust
15408 2001-05-30 Juergen Vigna <jug@sad.it>
15410 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15411 to check pspell I add this as default as I now have new pspell
15412 libraries and they seem to use this.
15414 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * text2.C (CutSelection): make the cursor valid before the call to
15419 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15421 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15422 relied on 0 terminated strings and other horrors. Bug found due to
15423 the new assert in lyxstring!
15425 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15428 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15430 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15433 * lyxfunc.C (processKeySym): change method of getting to the
15436 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15437 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15438 * BufferView_pimpl.[Ch]: here as private methods.
15440 2001-05-28 Juergen Vigna <jug@sad.it>
15442 * text.C (SetHeightOfRow): added the update() call again as it is
15443 needed to initialize inset dimensions!
15445 2001-05-16 Juergen Vigna <jug@sad.it>
15447 * text2.C (SetCharFont): Add new function with BufferView * and
15448 bool toggleall parameters for setting insets internal fonts.
15449 (SetFont): Freeze the undo as we may change fonts in Insets and
15450 all this change should be inside only one Undo!
15452 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15453 setting font's in insets as for them we have the SetFont function!
15455 2001-05-15 Juergen Vigna <jug@sad.it>
15457 * text2.C (ClearSelection): to be sure we REALLY don't have any
15460 * tabular.C (TeXCellPreamble): fixed the left border problem for
15463 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15465 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15468 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15470 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15471 LFUN_BREAKPARAGRAPH.
15473 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15474 help test to "internal only", similar for LFUN_INSERT_URL
15476 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15477 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15478 auto_region_delete and deadkeys.
15480 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15483 * LColor.C: remove some dead entries, tidy a little
15485 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15487 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15489 (Dispatch): implement LFUN_ESCAPE
15491 * commandtags.h: add LFUN_ESCAPE
15493 * LyXAction.C (init): add entry for LFUN_ESCAPE
15495 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15496 Remove commented code.
15497 (insertNote): moved here
15498 (open_new_inset): moved here
15500 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15503 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * kbmap.C (findbinding): clean it up and make it work correctly.
15507 * lyx_main.C (init): do not pass argc and argv as parameters
15509 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15511 * buffer.C: fix path for OS/2 & Win32
15515 * lyx_main.C: Added os:: class.
15517 * os2_defines.h: update
15519 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15522 better by trying again with reduced state.
15524 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15526 * lyxrc.C (read): print error about invalid key sequence only when
15527 debugging (because not all latinX keysyms are known to some X
15530 * kbsequence.C (getiso): add a few std:: qualifiers
15531 (getiso): comment out extra return statement.
15533 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15537 (Dispatch): enhance the accent inset a bit. (not perfect)
15539 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15541 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15543 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * bufferlist.C (emergencyWrite): fix assert() call
15547 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15549 * text.C (InsertChar): Added trivial patch to only send the "you
15550 can not do multiple spaces this way" message once during a
15553 2001-05-08 Baruch Even <baruch@lyx.org>
15555 * Makefile.am: Changed order of libraries to get LyX to link properly
15556 with the gnome frontend.
15558 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15560 * LaTeXFeatures.h: add a std:: qualifier
15562 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * paragraph.C (String): use stringstream
15566 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15568 * paragraph.C (writeFile): remove footflag arg
15570 * buffer.C (makeLaTeXFile): use stringstream
15571 (latexParagraphs): remove footnot gurba
15573 * LaTeXFeatures.C (getPackages): use stringstream
15574 (getMacros): likewise
15575 (getTClassPreamble): likewise
15576 (getFloatDefinitions): new method
15578 * paragraph.C (writeFile): reindent
15581 * WorkArea.h: revert the xpos + etc changes.
15583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15585 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15587 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15588 (pasteSelection): likewise
15589 * text2.C (CreateUndo): likewise
15591 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * minibuffer.C (peek_event): temporarily reduce the functionality
15594 of the minibuffer (to allow args on lfuns)
15596 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15597 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15599 * buffer.C (readInset): add compability reading of old float
15600 lists, add reading of new style float list.
15601 (readInset): avoid reevaluation of inscmd.getCmdName()
15602 (getLists): reindent
15604 * MenuBackend.C (MenuItem): implement parsing of
15605 md_floatlistinsert and md_floatinsert.
15606 (expand::LastFiles): move initalizaton of iterators out of loop,
15607 avoid reevaluation.
15608 (expand::Documents): introduce typdedef vector<string> Strings,
15610 (expand::ExportFormats): introduce typedef vector<Format const *>
15611 Formats, and use it.
15612 (expand): implement FloatListInsert and FloatInsert.
15614 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15615 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15616 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15618 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15620 (Dispatch::LFUN_FLOAT_LIST): implement
15622 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15624 * LaTeX.C (run): Fix problem with --export code.
15626 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15628 * BufferView.[Ch] (workarea): removed.
15629 (getClipboard) new method; wrapper for workarea()->getClipboard()
15631 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15634 * WorkArea.h (width, height, xpos, ypos): These methods all
15635 returned the dimensions of the work_area sub-area of WorkArea,
15636 resulting in a position error if the WorkArea were resized. Now
15637 return the dimensions of the entire WorkArea.
15639 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15641 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15643 * LaTeX.C (deplog): correct the syntax of regex reg1
15645 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15647 * undo.C: remove !NEW_INSETS cruft
15649 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * text2.C: remove !NEW_INSETS cruft
15653 * text.C: remove !NEW_INSETS cruft
15655 * tabular.C: remove !NEW_INSETS cruft
15657 * spellchecker.C: remove !NEW_INSETS cruft
15659 * lyxtext.h: remove !NEW_INSETS cruft
15661 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15663 * lyxfunc.C: remove !NEW_INSETS cruft
15665 * lyxfind.C: remove !NEW_INSETS cruft
15667 * lyx_cb.C: remove !NEW_INSETS cruft
15669 * figureForm.C: remove !NEW_INSETS cruft
15671 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15673 * buffer.[Ch]: remove !NEW_INSETS cruft
15675 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15677 * CutAndPaste.C: remove !NEW_INSETS cruft
15679 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15681 * BufferView2.C: remove !NEW_INSETS cruft
15683 * BufferView.h: remove !NEW_INSETS cruft
15685 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15687 * Lsstream.h: include LString.h before the sstream headers to
15688 fix problem with gcc 2.95.3 and lyxstring
15690 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15692 * lyx_main.C: add using directives when needed for C functions
15693 declared in std:: namespace.
15695 2001-04-27 Juergen Vigna <jug@sad.it>
15697 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15698 (SetHeightOfRow): comment out the update call should not be needed!
15700 2001-04-13 Juergen Vigna <jug@sad.it>
15702 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15703 (LyXTabular): tried to minimize operator= operations (and realized
15704 hopfully Lars wish).
15706 2001-04-27 Juergen Vigna <jug@sad.it>
15708 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15710 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15712 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15714 * buffer.C (readInset): hack to make listof algorithm work
15716 * BufferView_pimpl.C: hack to make listof algorithm work
15718 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15720 * LyXAction.C: removed all !NEW_INSETS cruft
15721 (init): moved lfun_item in method
15723 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15725 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15727 * BufferView2.C (theLockingInset): white space.
15729 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * minibuffer.C: include <iostream>
15733 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15735 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15737 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15739 * text.[Ch] (TransposeChars): new method
15741 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * call message directly through LyXView instead of through LyXFunc
15744 * BufferView2.C: adjust
15745 * BufferView_pimpl.C: adjust
15746 * FontLoader.C: adjust
15748 * bufferview_funcs.C: adjust
15749 * converter.C: adjust
15750 * figureForm.C: adjust
15751 * importer.C: adjust
15753 * lyx_gui_misc.C: adjust
15754 * lyxfunc.C: adjust
15757 + more files in subdirs
15759 * lyxparagraph.h (size): move up int file
15762 * adjust all uses of Assert to lyx::Assert.
15764 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15765 lyxfunctional in namespace lyx
15766 * layout.C (hasLayout): ditto
15769 (delete_layout): ditto
15770 (NumberOfClass): ditto
15771 * converter.C (GetFormat): ditto
15776 * bufferlist.C (getFileNames): ditto
15777 (emergencyWriteAll): ditto
15780 * MenuBackend.C (hasSubmenu): ditto
15783 * BufferView_pimpl.C (getInsetByCode): ditto
15785 2001-04-18 Juergen Vigna <jug@sad.it>
15787 * vspace.C (asLatexString): fixed the 100% problem.
15789 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * lyxfunc.C (Dispatch):
15793 * minibuffer.h: add a few std:: qualifiers
15795 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15797 * minibuffer.[Ch]: reimplement so that commands is initiated and
15798 run from lyxfunc, simplified som handling, and made the completion
15799 and history code for complete. wip.
15801 * lyxfunc.C (processKeySym): call message
15802 (miniDispatch): new temporary method
15803 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15804 (LFUN_MESSAGE): implement
15805 (LFUN_MESSAGE_PUSH): implement
15806 (LFUN_MESSAGE_POP): implement
15807 (initMiniBuffer): the initial/defualt minibuffer message.
15809 * lyxfont.[Ch]: inline some more getters
15811 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15813 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15815 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15816 (AutoSave): use LFUN_MESSAGE
15817 (Reconfigure): ditto
15819 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15821 * figureForm.C: use LFUN_MESSAGE
15823 * converter.C (runLaTeX): use LFUN_MESSAGE
15825 * bufferview_funcs.C: use LFUN_MESSAGE
15827 (changeDepth): ditto
15829 * bufferparams.h: use boost::
15831 * bufferlist.h: inherit privately from noncopyable
15833 * bufferlist.C (loadLyXFile): remove some commented code.
15835 * buffer.C (runChktex): use LFUN_MESSAGE
15837 * ShareContainer.h: inherit privately from noncopyable
15839 * ParagraphParameters.[hC] (depth): inline it.
15841 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15843 (message): new method
15844 (messagePush): ditto
15845 (messagePop): ditto
15846 (show): init minibuffer
15847 (showState): direct call
15849 * LaTeX.[Ch]: inherit privately from noncopyable
15850 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15851 instead of WriteStatus.
15853 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15855 * BufferView_pimpl.C (buffer): don't init minibuffer
15856 (workAreaButtonPress): use LFUN_MESSAGE
15857 (workAreaButtonRelease): ditto
15858 (savePosition): ditto
15859 (restorePosition): ditto
15860 (MenuInsertLyXFile): ditto
15861 (workAreaExpose): don't init minibuffer
15862 (update): remove commented code, simplify
15864 * BufferView2.C (openStuff): use LFUN_MESSAGE
15865 (toggleFloat): ditto
15868 (copyEnvironment): ditto
15869 (pasteEnvironment): ditto
15874 (updateInset): remove some commented code
15876 * lastfiles.h: inherit privately from noncopyable
15879 * lyx_main.h: ditto
15881 * lyxlex_pimpl.h: ditto
15883 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15884 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15885 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15887 * LyXAction.h: inherit privately from noncopyable, add methods
15888 func_begin, func_end, returning iterators to the func map.
15890 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15891 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15892 (func_begin): new method
15893 (func_end): new method
15895 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15897 (copySelection): ditto
15898 (pasteSelection): ditto
15900 * BufferView.C: whitespace change
15901 * BufferView.h: inherit privately from noncopyable
15903 2001-04-16 Allan Rae <rae@lyx.org>
15905 * tabular-old.C (l_getline):
15906 * spellchecker.C (sc_check_word):
15907 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15908 an unrecognised preprocessor directive. So ensure they're wrapped.
15910 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15912 * src/exporter.C (Export): Give an error message when path to file
15915 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15917 * LaTeX.C (deplog): Always check that foundfile exists.
15919 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15922 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15924 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15926 * tabular.[Ch] (getLabelList): implement new method
15928 * minibuffer.h: comment ouf setTiimer
15930 * minibuffer.C (ExecutingCB): constify res
15931 (peek_event): constify s
15932 (Set): constify ntext
15933 (Init): constify nicename
15935 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15937 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15938 (savePosition): use two params to Minibuffer::Set
15939 (restorePosition): ditto
15941 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * lyx_main.C: include language.h
15945 * Makefile.am (lyx_main.o): add language.h
15947 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15953 * CutAndPaste.C: include gettext.h
15955 * lyxfont.h: remove old hack with ON and OFF.
15958 * lyxfont.h: do not include language.h...
15963 * bufferview_funcs.C:
15969 * paragraph.C: ... but do it here instead
15971 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15975 * tabular.C: small reformat
15977 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15980 (BreakParagraph): ditto
15981 (SetOnlyLayout): ditto
15984 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15987 * lastfiles.C: removed most using decl, add std:: where needed
15989 * buffer.C: ws changes
15991 * MenuBackend.C (class compare_format): put into anon namespace
15992 (expand): constify label, names, action, action2
15995 * text.C (SingleWidth): constify font
15996 (IsBoundary): constify rtl2
15997 (GetVisibleRow): constify ww
15999 * LaTeX.C (deplog): constify logfile
16001 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16003 (workAreaExpose): constify widthChange, heightChange
16005 * lyxrow.C (par): moved
16008 * lyxrow.h: as inlines here
16010 * lyxfont.h (shape): moved from lyxfont.C
16011 (emph): moved from lyxfont.C
16013 * lyxfont.C (LyXFont): use initialization list for all
16015 (shape): move to lyxfont.h as inline
16016 (emph): move to lyxfont.h as inline
16019 2001-04-04 Juergen Vigna <jug@sad.it>
16021 * vspace.C: had to include stdio.h for use of sscanf
16023 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16026 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16027 independent of xforms.
16029 2001-04-02 Juergen Vigna <jug@sad.it>
16031 * spellchecker.C: fixed namespace placing!
16033 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16035 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16036 the LyXParagraph * is 0.
16038 2001-03-29 Juergen Vigna <jug@sad.it>
16040 * vspace.C: added support for %, c%, p%, l%.
16041 (stringFromUnit): added helper function.
16042 (asLatexString): changed to give right results for the %-values.
16044 * buffer.C: convert the widthp in a width%.
16046 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16048 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16051 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16052 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16054 * lyx_cb.[Ch]: see above.
16056 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16060 * lyx.[Ch]: replaced by figure_form.[Ch].
16064 * lyxfunc.C: changed headers associated with above changes.
16066 2001-03-27 Juergen Vigna <jug@sad.it>
16068 * BufferView_pimpl.C: set the temporary cursor right!
16070 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16072 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16074 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16076 * LString.h: removed "using std::getline"!
16078 * BufferView_pimpl.C (Dispatch): changes due to changes in
16079 InsetInclude::Params.
16081 * buffer.C (tag_name): removed redundant break statements as they were
16082 producing lots of warnings with my compiler.
16084 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16086 * LString.h: add "using std::getline" when using the real <string>.
16088 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16090 * buffer.C: removed bitset usage.
16091 PAR_TAG moved to an anonymous name space.
16092 (tag_name): new funtion, also in the anonymous namespace.
16093 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16094 (makeDocBookFile): clean code. Completed transition from string arrays
16096 (SimpleDocBookOnePar): code clean.
16098 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16100 * tabular.C: add some comments.
16102 2001-03-22 Juergen Vigna <jug@sad.it>
16104 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16105 compatibility read a bit and fixed bug with minipage in different
16108 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16110 * buffer.C (pop_tag): removed.
16111 (push_tag): removed.
16112 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16113 array replaced with vector. Added support for CDATA sections.
16114 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16116 (makeDocBookFile): XML conformant declaration of CDATA section,
16117 fixed bug related to <emphasis> in the first paragraph char.
16118 (sgmlOpenTag): exclude empty tags.
16119 (sgmlCloseTag): ditto.
16121 * buffer.h (pop_tag): removed.
16122 (push_tag): removed.
16124 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16126 * language.h (Languages): added size_type and size().
16128 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16130 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16131 response on compability reading of minipages. One probliem is that
16132 the old usage of minipages was «flertydig»
16134 * several files here and in subdirs: don't use static at file
16135 scope use anon namespaces instead.
16137 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16139 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16140 LaTeX output. This is necessary for Literate document
16143 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16145 * buffer.C: insert hfill when needed.
16147 * tabular.C (l_getline): use string::erase, small whitespace change.
16149 * BufferView_pimpl.C: try the anon namespace.
16150 * WorkArea.C: ditto
16152 2001-03-16 Juergen Vigna <jug@sad.it>
16154 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16155 otherwise it won't open options-dialogs.
16157 * buffer.C: honor pextraWidth(p) on converting minipages.
16159 * tabular.C (l_getline): changed the functions to strip trailing \r.
16161 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16163 * BufferView_pimpl.C:
16164 * minibuffer..C: added "using SigC::slot" declaration.
16166 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16168 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16174 * paragraph.C: ditto
16176 * lyxtext.h: NO_PEXTRA
16178 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16180 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16181 * ParameterStruct.h: ditto
16182 * ParagraphParameters.h: ditto
16183 * lyxparagraph.h: ditto
16185 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16187 * buffer.C: add compability for minipage alignment.
16188 (latexParagraphs): remove unwanted pextra check.
16190 * several files: remove CXX_WORKING_NAMESPACES
16192 * buffer.C (pop_tag): tie is in namespace boost
16194 * BufferView.h: noncopyable is in namespace boost
16196 * lyx_main.h: ditto
16199 * lastfiles.h: ditto
16200 * bufferlist.h: ditto
16201 * ShareContainer.h: ditto
16203 * LyXAction.h: ditto
16206 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16208 * Merging changes from BRANCH_MVC back into HEAD.
16210 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16212 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16214 * BufferView_pimpl.C: change from intl.C
16218 * Makefile.am: move combox.*
16224 * intl.C: remove dialog (covered by prefs)
16226 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16228 * lyxfunc.C (Dispatch): removed redundant break statement.
16230 2001-03-14 Juergen Vigna <jug@sad.it>
16232 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16234 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16236 * buffer.C: add hack to fix compability reading of minipages.
16238 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16240 * buffer.C (getLists): Cleanup.
16242 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * lyxfont.C (update): don't honor toggleall on font size.
16246 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16250 * Makefile.am: moved to frontends/xforms/
16254 * BufferView_pimpl.C: changes for moved mathpanel
16256 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16258 * gettext.h: fix gettext_init() in --disable-nls
16260 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16262 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16264 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16267 * lyx.h: strip external form
16269 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16271 * BufferView_pimpl.C: add comment, destroySplash()
16273 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16275 * BufferView_pimpl.C:
16279 * lyxfunc.C: use re-worked insetinclude
16281 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16283 * buffer.C: add using std::stringstream.
16285 * lyx_cb.C: readd using std::ios.
16287 * buffer.C: add using std::map.
16289 * BufferView_pimpl.C: add using std::vector.
16291 * ShareContainer.h: add std:: to swap.
16293 * buffer.h: add some typedefs
16294 * buffer.C (getLists): use them
16295 (getLists): renamed from getTocList.
16296 add a counter for the different float types and use it in the
16298 (getLists): use the same counter for the NEW_INSETS and the "non"
16301 * lyx_cb.h: remove unused items, includes, using etc.
16303 * ShareContainer.h: remove some commented code, add more comments
16304 and "documentation".
16306 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16308 * buffer.C (getTocList): make the list also when NEW_INSETS is
16311 * buffer.h: remove TocType
16313 * buffer.C (getTocList): change to return a map<string,
16314 vector<TocItem> >, implement for dynamic number of list.
16316 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16317 * text2.C (PasteSelection): adjust
16318 * CutAndPaste.C (pasteSelection): adjust
16320 * FloatList.C (FloatList): update from the new_insets branch.
16321 * Floating.[Ch]: ditto
16322 * LaTeXFeatures.C: ditto
16324 * lyxlex_pimpl.C: ditto
16326 * paragraph.C (Last): remove when NEW_INSETS is defined.
16328 * other file: changes because of the above.
16330 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16332 * lyxparagraph.h: rename next to next_, previous to previous_,
16333 make them private for NEW_INSETS. Rename Next() to next(),
16334 Previous() to previous().
16336 * other files: changes because of the above.
16338 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16341 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16344 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * main.C (main): pass lyx_localedir to gettext_init().
16348 * gettext.h: remove locale_init and gettext_init macros
16350 * gettext.C (locale_init): new function
16351 (gettext_init): new function
16353 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16356 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16358 * Moved credits to frontends:
16359 * credits.[Ch]: removed
16360 * credits_form.[Ch]: removed
16361 * lyx_gui_misc.C: remove credits stuff
16364 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16366 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16368 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16369 unneeded destructor.
16371 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16372 a standalone pointer again.
16374 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16376 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16382 * ToolbarDefaults.C:
16391 * BufferView_pimpl.C: use new file dialog in GUII
16394 * lyx_cb.C: remove LayoutsCB to Toolbar
16396 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16398 * ShareContainer.h (get): add std:: qualifier
16400 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16402 * ShareContainer.h: define a proper ShareContainer::value_type
16403 type (and use typename to please compaq cxx)
16405 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16407 * lyxparagraph.h: move serveral local vars to
16408 ParameterStruct/ParagraphParameters., use ShareContainer in
16409 FontTable., make vars in FontTable private and add getter and
16412 * paragraph.C: changes because of the above.
16414 * lyxfont.h: remove copy constructor and copy assignment. (the
16415 default ones is ok), move number inside FontBits. move inlines to
16418 * lyxfont.C: add number to initializaton of statics, move several
16419 inlines here. constify several local vars. some whitespace
16420 cleanup. Dont hide outerscope variables.
16422 * Spacing.h: add two new constructors to match the set methods.
16424 * ShareContainer.h: new file, will perhaps be moved to support
16426 * ParameterStruct.h: new file
16428 * ParagraphParameters.h: new file
16430 * ParagraphParameters.C: new file
16432 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16433 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16435 * BufferView_pimpl.C: ParagraphParameter changes.
16436 * buffer.C: Likewise.
16437 * bufferview_funcs.C: Likewise.
16438 * text.C: Likewise.
16439 * text2.C: Likewise.
16441 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16443 * lyxfind.C (LyXReplace): do not redefine default argument in
16445 (IsStringInText): ditto
16446 (SearchForward): ditto
16447 (SearchBackward): ditto
16449 2001-03-06 Juergen Vigna <jug@sad.it>
16451 * lyxfind.C (IsStringInText): put parentes around expressions.
16453 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16455 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16457 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16459 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16461 * stl_string_fwd.h: add comment
16463 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16466 * tabular.C: remove unused DocBook methods
16472 killed DO_USE_DEFAULT_LANGUAGE
16474 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * lyx_gui.C: do not include language.h.
16478 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16479 arguments in function implementation.
16481 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16483 * BufferView_pimpl.C: add <ctime>
16485 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16487 * BufferView_pimpl.C: add using std::find_if
16489 2001-02-27 José Matos <jamatos@fep.up.pt>
16491 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16494 2001-02-11 José Matos <jamatos@fep.up.pt>
16496 * buffer.C (makeDocBookFile): command styles now have a parameter as
16497 "title" by default.
16499 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16501 * layout_forms.[Ch]: removed
16502 * lyx_cb.[Ch]: out character
16503 * lyx_gui.C: out character
16504 * lyx_gui_misc.C: out character
16505 * bufferview_funcs.C: : out character,
16506 added toggleall as parameter in ToggleAndShow
16508 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16510 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16512 * text2.C (SetCurrentFont): Disable number property at boundary.
16514 2001-02-26 Juergen Vigna <jug@sad.it>
16516 * lyxfunc.C (getStatus): added a string argument override function so
16517 that this is correctly called from LyXFunc::Dispatch if it contains a
16518 do_not_use_argument which is used!
16519 (Dispatch): added check for "custom" export and call appropriate func.
16521 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16523 * lyxrc.C: Add language_command_local, language_use_babel and
16524 language_global_options.
16526 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16528 * buffer.C (makeLaTeXFile): Use language_use_babel and
16529 language_global_options.
16531 2001-02-23 Juergen Vigna <jug@sad.it>
16533 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16534 which works with LyXText and putted it inside BufferView. Here now we
16535 only call for that part the BufferView::Dispatch() function.
16537 * BufferView.C (Dispatch): added.
16539 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16540 functions which needs to use a LyXText over from LyXFunc.
16541 (MenuInsertLyXFile): added
16542 (getInsetByCode): added
16543 (moveCursorUpdate): added
16544 (static TEXT): added
16546 2001-02-22 Juergen Vigna <jug@sad.it>
16548 * BufferView_pimpl.C (update): call a status update to see if LyXText
16551 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16553 * vc-backend.C (revert): implement for CVS
16554 (getLog): implement for CVS
16556 2001-02-20 Juergen Vigna <jug@sad.it>
16558 * text2.C (ClearSelection): added BufferView param for inset_owner call
16560 * lyxfunc.C (TEXT): added this function and use it instead of
16561 directly owner->view()-text of getLyXText().
16563 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16565 * src/layout_forms.C: out preamble
16566 * src/layout_forms.h: out preamble
16567 * src/lyx_cb.C: out preamble
16568 * src/lyx_cb.h: out preamble
16569 * src/lyx_gui.C: out preamble
16570 * src/lyx_gui_misc.C: out preamble
16571 * src/lyxfunc.C: connect with guii preamble
16573 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16575 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16577 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16579 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16580 whether to run bibtex.
16582 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16584 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16586 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16588 * Makefile.am (lyx_SOURCES): removed bibforms.h
16590 * vspace.h: doxygen
16592 * text.C (GetVisibleRow): make several local vars const
16594 * tabular.C: small cleanup.
16596 * lyxserver.C (callback): use compare instead of strncmp
16598 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16599 inlines to after class or to paragraph.C
16601 * lyxfont.h: remove friend operator!=
16603 * converter.h: move friend bool operator< to non friend and after
16606 * combox.h: small cleanup
16608 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16609 to inlines after class def.
16611 * buffer.C (pop_tag): use string operations instead of strcmp
16613 * bmtable.c: doxygen, small cleanup
16615 * LaTeX.h: remove friend operator==
16617 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16629 * BufferView_pimpl.C:
16630 * BufferView.[Ch]: remove cruft
16632 2001-02-14 Juergen Vigna <jug@sad.it>
16634 * lyxfunc.C: removed #if 0 unused code
16636 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16638 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16640 * text2.C (SetSelection): added a BufferView * parameter
16642 2001-02-13 Juergen Vigna <jug@sad.it>
16644 * lyxfunc.C (Dispatch): fixed protected blank problem.
16645 * BufferView2.C (protectedBlank): added LyxText * parameter.
16647 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16648 (AppendColumn): same as above for column_info.
16650 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16651 (moveCursorUpdate): use a LyXText param for support of InsetText.
16653 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16654 (tripleClick): ditto
16656 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16658 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16660 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16662 * text2.C (SetSelection): set correct update status if inset_owner
16663 (ToggleFree): ditto
16665 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16667 * tabular.C: remove some commented code.
16669 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16671 * BufferView_pimpl.C: call hideSplash()
16673 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16676 * bibforms.h: remove
16679 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16680 add LFUN_CHILD_CREATE
16682 * counters.h: fix tiny typo
16687 * lyx.C: move splash to frontends/xforms/
16689 * lyx_gui_misc.C: move Include and Bibform to frontends
16691 * lyxvc.h: clarify comment
16693 * vspace.C: tiny housekeeping
16695 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16697 * text.C (PrepareToPrint): RTL Fix.
16699 * paragraph.C (GetUChar): New method.
16700 (String): Use GetUChar.
16702 * buffer.C (asciiParagraph): Use GetUChar.
16704 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16706 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16708 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16711 * buffer.C: rename to getLogName(), handle
16712 build log / latex log nicely
16714 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * MenuBackend.h: remove support for reference menuitem type.
16719 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16721 * BufferView_pimpl.C: housekeeping
16722 * BufferView_pimpl.h:
16727 * minibuffer.h: move Timeout GUI-I
16729 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16731 * lyxrc.C (read): Update converters data-structures.
16733 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16735 * LaTeX.h (operator!=): add operator != for Aux_Info
16737 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16739 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16741 * LaTeXLog.C: deleted, useful code moved to Buffer
16744 * buffer.C: new function getLatexLogName()
16750 * lyxfunc.C: use frontends for LaTeX and VC logs
16752 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16754 * LaTeX.h: yet another std:: that Allan forgot.
16756 * Variables.C (set): renamed from isset(), because this clashes
16757 with some HP-UX macros (grr).
16759 2001-02-06 Allan Rae <rae@lyx.org>
16761 * LaTeX.h: Another bug fix. Missing std:: this time.
16763 2001-02-04 Allan Rae <rae@lyx.org>
16765 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16766 floats problem. I've left it commented out because it's not quite
16767 correct. It should also test that the current object is a table or
16768 figure inset. But I haven't gotten around to figuring out how to do
16769 that. I *think* it'll be something like: "table" == inset.type()
16771 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16774 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16776 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16777 all the citation/databases/styles in the auxilary file.
16778 (run): Rerun latex if there was a babel language error.
16780 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16782 * text.C (Backspace): Preserve the font when changing newline char
16784 (BreakParagraph): If the cursor is before a space, delete the space.
16786 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16788 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16790 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16791 new argument (code).
16792 (ChangeCitationsIfUnique): New method.
16794 * paragraph.C (GetPositionOfInset): Handle bibkey.
16796 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16798 * BufferView_pimpl.h: change type of Position::par_pos to
16799 LyXParagraph::size_type.
16801 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16803 * BufferView_pimpl.C (savePosition, restorePosition): Write
16804 messages to minibuffer.
16806 2001-01-28 José Matos <jamatos@fep.up.pt>
16808 * buffer.C (makeDocBookFile): adds support for document language.
16809 A silly restriction on the name of LatexCommand types where removed.
16810 Added support for CDATA sections, allows to chars unescaped, used
16811 among others in code, to avoid escape < and >.
16813 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16815 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16816 saved positions instrad of a stack. Furthermore, a position is
16817 stored using paragraph id/paragraph position.
16819 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16820 Remove LFUN_REF_BACK.
16822 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16824 * converter.C (dvipdfm_options): New method.
16826 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16828 * vspace.C (isValidLength): Fix for empty input string.
16830 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16832 * LyXAction.C (init): change description of LFUN_FIGURE to
16835 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16837 * LaTeX.C: add using directive
16839 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16841 * MenuBackend.C (expand): Fix the sorting of the formats.
16843 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16845 * lyx_main.C: tiny error message fix
16847 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16850 calling fl_initialize(). This fixes the problem with ',' as
16851 decimal separator in text files.
16853 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16855 * trans.C (process): Fix the keymap bug.
16857 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16859 * LaTeX.C (scanAuxFiles): New method. Provides support for
16860 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16861 (scanLogFile) Scan for "run BibTeX" messages.
16863 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16864 OT1 font encoding. Also, load the aecompl package if the ae
16867 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16869 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16871 * texrow.C (increasePos): turn two error messages into debug
16874 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16876 * LaTeX.C (scanAux): Handle the \@input macro.
16877 (runBibTeX): Use scanAux().
16879 * language.C (latex_options_): New field.
16881 * LaTeXFeatures.C (getMacros): Add language macros.
16883 * buffer.C (makeLaTeXFile): Small fix.
16885 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16887 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16889 * text2.C: add a using directive.
16891 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16896 * lyxfunc.C: kill LyXBell.
16898 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16900 * text.C (IsBoundary): Remove the error message
16902 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16904 * lyxrc.C (setDefaults): Correct initialization value for
16907 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16909 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16912 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16913 and GotoNextNote().
16915 * src/LyXAction.C: Added reference-next.
16917 * text.C (InsertChar): Use contains instead of strchr.
16919 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16921 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16923 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16924 alignment commands (when needed).
16926 * text.C (InsertChar): Add ':' to number separator chars.