1 2005-01-17 Angus Leeming <leeming@lyx.org>
3 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
4 with "python ". Workaround for a brain-dead Windows.
6 2005-01-16 Angus Leeming <leeming@lyx.org>
8 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
9 for MacOSX and Windows to use prependEnvPath.
10 Strip out the hard-coded block to add elements to the PATH for
11 MacOSX and replace it with a call to prependEnvPath using the
12 contents of LyXRC::path_prefix.
13 (queryUserLyXDir): strip out the code to run reconfigure, instead
14 returning a boolean indicating the necessity to do so.
15 (reconfigureUserLyXDir): contains the code to reconfigure the
16 user support directory. Is now called after the various LyXRC data
19 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
21 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * converter.[Ch] (convert): take a new parameter try_default. Use
24 a default converter (imagemagick) if try_default is true.
26 2005-01-13 Angus Leeming <leeming@lyx.org>
28 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
30 (write): output LyXRC::cygwin_path_fix as necessary.
32 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
35 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
37 2005-01-12 Angus Leeming <leeming@lyx.org>
39 * lyx_main.C (init): set the PATH variable to include the
40 directory containing the LyX binary when running on Mac or Windows.
42 2005-01-12 Angus Leeming <leeming@lyx.org>
44 * lyx_main.C (init): remove cruft that purports to set the locale
45 dir. It doesn't and is not needed anyway.
47 2005-01-10 Angus Leeming <leeming@lyx.org>
49 * Makefile.am: remove the lyx_main.C special casing.
57 * messages.C: use support/package.h to provide the paths to the
58 various directories used by LyX.
60 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
63 layout if pasting into an empty paragraph)
65 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
67 * tex-accent.C: add <string>
69 2005-01-06 José Matos <jamatos@lyx.org>
71 * ParagraphParameters.C (write): put every parameter in its own line.
72 * paragraph.C (write): reduce number of consecutive empty lines exported.
73 * buffer.C (LYX_FORMAT): increase file format to 239.
75 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * everywhere: change support/tostr.h -> support/convert.h
79 * tabular.C: make all write_attributes templates, tostr -> convert
81 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
82 (emptyTag): and -> &&, and fix type for ret from getChar
83 (getFirstWord): fix type for ret from getChar
85 (simpleDocBookOnePar): and not -> && !, fix type for ret from
88 * toc.C (goTo, action):
90 * text.C (currentState):
91 * tex-accent.C (DoAccent):
94 * lyxfunc.C (menuNew):
95 * lyxfinc.C (replace):
96 * counters.C (laberItem):
97 * bufferview_funcs.C (font2string):
98 * bufferparams.C (writeFile):
99 * buffer.C (readFile):
101 * MenuBackend.C: tostr -> convert
103 * LaTeX.C (runMessage): fix format
104 (scanAuxFiles): tostr -> convert
106 * BufferView_pimpl.C (savePosition): fix format
107 (restorePosition): ditto
110 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
112 * Spacing.[Ch]: New method getValueAsString().
116 * ParagraphParameters.C:
119 * text3.C: store/read spacing value as string.
121 * rowpainter.C: change float value (spacing_val) to double.
123 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
124 broken custom document spacing).
126 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
128 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
129 namespace, also more use of temp references and const
131 * cursor.[Ch] (getStatus): move to lyxfunc.C
133 * bufferparams.C: reformat slightly
135 * bufferview_funcs.C (font2string): constify arg
141 * buffer_funcs.C: (many funcs): constify arg on function
142 definitions, also make more local vars const, also add ASSERTS on
145 * buffer.C (LYX_FORMAT): put const in correct place
146 (many funcs): constify arg on function definitions, also make
147 more local vars const
149 * aspell_local.h: remove "struct" from typdef setup
151 * aspell.C (check): make word_ok const
152 (nextMiss): simplify slightly
155 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
157 * lyxrc.[Ch]: store all float values as strings.
158 use int (not float) for lyxrc.dpi.
160 2005-01-04 Angus Leeming <leeming@lyx.org>
162 * lyx_cb.C (Reconfigure):
163 * lyx_main.C (queryUserLyXDir):
164 to run the <system_lyxdir>/configure correctly on Windows, prefix
165 the path to the script with "sh " when generating the string that
166 is passed to system().
168 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
172 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * lyxlength.C (asLatexString): get rid of setprecision
176 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
178 * text2.C (setLayout): remove unused variable endpit.
179 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
181 * paragraph.C (onlyText): remove unused variable style.
183 * cursor.C (bruteFind): remove unused variables beg and end.
185 * Makefile.am (dist_noinset_DATA): not needed anymore
187 * cheaders/*: remove.
189 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
191 * text3.C: fix LFUN_MATH_MODE.
193 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * buffer_funcs.C (countWords): new function. Counts words between
198 * BufferView_pimpl.C (getStatus, dispatch): handle
201 * LyXAction.C (init):
202 * lfuns.h: add LFUN_WORDS_COUNT.
204 2004-12-19 Angus Leeming <leeming@lyx.org>
206 * buffer.C (save): s/slashify_path/internal_path/.
208 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
210 * lyxfind.C (findChange): do not search for end of pars, because
211 the change tracker cannot handle this (fixes bug 1719).
213 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
215 * paragraph.[Ch] (autoBreakRows): remove
217 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
219 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
220 avoid using the paragraph one
222 * text2.C (LyXText, insertStringAsLines): adjust
224 2004-12-16 Angus Leeming <leeming@lyx.org>
228 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
230 2004-12-14 Angus Leeming <leeming@lyx.org>
232 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
234 * bufferlist.C (emergencyWrite):
235 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
238 2004-12-14 Angus Leeming <leeming@lyx.org>
240 * main.C: (main): no longer pass pointers to os::init.
242 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
244 * undo.C (textUndoOrRedo): simplify logic, fix a crash
245 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
247 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
250 * text3.C: remove selection_possible global flag
252 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
254 * text2.C (getSelectionSpan): remove
255 (changeDepth, changeDepthAllowed): adjust
257 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
259 * Makefile.am (BOOST_LIBS): use boost variables
261 2004-12-03 José Matos <jamatos@lyx.org>
263 * buffer.C: format up to 238.
265 2004-12-03 José Matos <jamatos@lyx.org>
267 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
269 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * cursor.C (goUpDown): remove call to idxUpDown2
273 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * tabular.[Ch]: use size_t-like types for cell, row and column
278 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxfunc.C (getStatus): do not lose previous information when
281 calling BufferView::getStatus; do not set a default "Command
282 disabled" message at the beginning, but just before returning.
284 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * cursor.h (getStatus): add better comment from src/cursor.C
288 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * text3.C (getStatus): return false when the lfun is not handled
292 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * broken_headers.h: remove
296 * Makefile.am (lyx_SOURCES): remove broken_headers.h
298 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
300 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
303 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
304 top_y_, merge fitcursor with update
305 (updateScrollbar, scrollDocView, fitCursor, center, update): new
308 (workAreaDispatch): adapt to new coord scheme
309 (redoCurrentBuffer): remove
311 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
313 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
316 * coordcache.[Ch]: add paragraph cache and helpers
318 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
321 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
322 (targetX, setTargetX): introduce
324 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
325 baseline -> ascent, as the rest of lyx
327 * lyxtext.h: remove redoParagraphs, updateParPositions,
328 fullRebreak, redoParagraphInternal. move dist to anon namespace in
329 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
330 have ascent/descent (ascent is ascent of first par)
332 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
335 * paragraph.[Ch]: unify dimension handling with the rest of lyx
337 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
339 * pariterator.C: fix infinite loop introduced in par->pit renaming
341 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
342 in insets and LyXText, draw two off-screen paragraphs using
343 NullPainter, and adapt to new coord scheme
347 * text3.C: adapt lfun handlers to the new coord scheme, which
348 means: there's only guaranteed coord information for onscreen pars
349 plus one above and one below. This implies that one can do search
350 from y coordinates in the range [-1,workHeight]
352 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
354 * rename a lot of InsetOld to InsetBase
356 2004-11-25 Angus Leeming <leeming@lyx.org>
358 * BufferView_pimpl.C:
360 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
362 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
365 call BufferView::getStatus if LCursor::getStatus did nothing
366 (setStatusMessage, getStatusMessage): removed.
368 * FuncStatus.C (message): new methods. Used to provide an error
369 message indicating why a command is disabled.
370 (clear, |=, FuncStatus): update for message.
372 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * lyxfunc.C (dispatch): always call sendDispatchMessage
376 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
379 * BufferView_pimpl.C:
393 * undo.C: par->pit renaming
395 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
397 * tabular.C (cellstruct): use initialization, store a shared_ptr
398 to insettext instead of the insettext directly, adjust to fit.
399 (operator=): new function
401 (rowstruct): use initialization
402 (columnstruct): use initialization
403 (ltType): use initialization
406 * lyxlength.h (swap): new function
408 * LColor.[Ch] (operator=): use the common semantics
410 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * lyxfind.C (findNextChange): update the bufferview after setting
415 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
418 number of InsetOptArgs has already been inserted.
420 * output_latex.C (latexOptArgInsets): new method. This outputs all
421 the optarg insets, up to the limit defined in the layout file.
422 (optArgInset): removed
423 (TeXOnePar): call latexOptArgInsets; correctly update texrow
425 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * paragraph.C (isLetter): remove special spellchecker-related
428 code; return true also for digits
429 (isWord, isKomma): remove
431 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
432 * lyxfind.C (MatchString()): use isLetter instead of isWord
434 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
436 * pariterator.h (operatir=): comment out un-implemented member
439 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
442 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
444 * lyxfont.h: include LColor.h to satisfy concept checks.
446 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
448 * pariterator.h: add typdefs for value_type, difference_type,
449 pointer and reference to satisfy concept checks. Also add default
450 constructor for same reason.
452 * pariterator.C (operator++): add post-increment operator to
453 satisfy concept checks.
455 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
458 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
460 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
461 checks. Also rename base_type to BaseType to follow naming
464 * FloatList.h: include Floating.h to satisfy concept checks.
466 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * lyxfunc.C (getStatus): when the origin of the request is menu or
469 toolbar, and the LyXView does not have focus, do as if there was
472 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
473 FuncRequest to individual entries of LFUN_SEQUENCE
475 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * output_latex.C (TeXOnePar): override runparams.moving_arg
478 according to the needprotect value of the current paragraph (bug
481 * paragraph.C (simpleTeXOnePar): no need to override
482 runparams.moving_args here
484 2004-11-14 John Spray <spray_john@users.sourceforge.net>
486 * vspace.C: fix off-by-one-error, related to fix #1682
488 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
490 * lengthcommon.C: a more general fix for bug 1682
492 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
494 * text.C (backspace): fix crash
496 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * format.[Ch] (getFormatFromFile): new method
499 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
501 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
505 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * lyxfunc.C (dispatch): remove the verbose argument
508 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
511 * kbmap.C (defkey): set the origin of func to KEYBOARD
513 * MenuBackend.C (MenuItem):
514 * ToolbarBackend.C (add): set the origin of func to UI
516 * funcrequest.[Ch]: add origin member, which indicates which part
517 of LyX requests an action
519 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
521 * converter.C (move): don't lie in the error message
522 * converter.h (isReachable, move): document
524 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * buffer.C: remove unused using lyx::support::atoi
527 * paragraph_funcs.C: ditto
529 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
531 * bufferlist.C (exists): use bind and equal_to instead of
534 * lyxtextclasslist.C (NumberOfClass): ditto
536 * cursor.C (insert): use for_each instead of explicit for loop
538 * bufferlist.C (getFileNames): use std::transform and
539 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
541 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
544 * buffer.C (changeLanguage): use for_each instead of explicit for
546 (hasParWithID): implement using getParFromID
548 * LaTeXFeatures.C: ws change only
550 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
553 * BufferView_pimpl.C (trackChanges): use for_each instead of
556 2004-11-04 André Pönitz <poenitz@gmx.net>
559 * undo.C (textUndoOrRedo): fix crash when creating undo information.
561 * dociterator.C (asDocIterator): use hard assert again.
563 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * lyxlength.C (asLatexString): rewrite so that it does not use
568 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * text3.C (specialChar, dispatch): make sure cursor moves to the
571 right after inserting an inset
573 2004-11-02 José Matos <jamatos@lyx.org>
575 * output_docbook.C (docbook):
576 * paragraph.C (getID):
577 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
578 garantee that the output is always legal.
580 * tabular.C (docbook):
581 * outputprams.[Ch]: remove mixed contents.
583 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
585 * text2.C (setCounter): prevent endless loop
587 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
589 * exporter.C (copyFile): use the mover instead of support::copy()
590 * exporter.C (Export): pass format and latex name to copyFile()
591 * exporter.h (addExternalFile): document
592 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
594 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
598 2004-10-30 José Matos <jamatos@lyx.org>
600 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
601 text and no inset or font change. This allows to use CDATA
602 sections just for the whole paragraph.
604 2004-10-30 José Matos <jamatos@lyx.org>
606 * paragraph.C (getFirstWord): remove unused variable.
608 2004-10-30 José Matos <jamatos@lyx.org>
610 * paragraph.C (getFirstWord): the content should always be escaped
612 (simpleDocBookOnePar):
613 * output_docbook.C (makeEnvironment): replace reference to CDATA
616 2004-10-30 José Matos <jamatos@lyx.org>
618 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
620 2004-10-30 José Matos <jamatos@lyx.org>
622 * output_docbook.C (makeParagraphs):
623 * paragraph.[Ch] (emptyTag): for docbook and company, if the
624 standard paragraph has only a given type of content drop the wrapper.
626 2004-10-29 José Matos <jamatos@lyx.org>
628 * output_docbook.C (makeEnvironment):
630 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
632 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
634 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
635 (cleanID): sanitize any id.
637 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
639 * buffer.C, lyxlex_pimpl.C:
640 * lyxlex_pimpl.C (setFile):
641 s/getExtFromContents/getFormatFromContents/
643 2004-10-28 José Matos <jamatos@lyx.org>
645 * output_docbook.C (makeEnvironment): move id to broadest possible
648 * sgml.C (openTag): apply substitution of <> for all attributes.
650 2004-10-28 José Matos <jamatos@lyx.org>
652 * buffer.C (makeLinuxDocFile, makeDocBookFile):
653 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
654 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
656 * sgml.[Ch]: new version for open and closeTag for paragraph and
657 for strings. Now they handle the ids of paragraphs.
659 2004-10-26 Angus Leeming <leeming@lyx.org>
661 * Makefile.am: add mover.[Ch].
663 * converter.C (convert, move): use the new Movers to move external
664 files to the temp directory.
666 * lyx_main.C (init): ensure that the global system_movers data
669 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
672 * mover.[Ch]: new files, defining a Mover as a utility to move an
673 external file between directories and, if necessary, manipulate this
674 file using a helper script.
676 2004-10-25 José Matos <jamatos@lyx.org>
678 * output_docbook.C (makeCommand): merge two if's that tested the
681 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * sgml.C (escapeString): fix warning in a better way
685 2004-10-25 José Matos <jamatos@lyx.org>
687 * sgml.C (escapeString): import the require boosts header file for
688 tie, and avoid a signed unsigned comparison.
690 2004-10-25 José Matos <jamatos@lyx.org>
692 * sgml.h: add #include <string>
694 2004-10-25 José Matos <jamatos@lyx.org>
696 * sgml.[Ch] (escapeString): new function to escape all the string.
698 2004-10-24 José Matos <jamatos@lyx.org>
700 * paragraph.[Ch] (getFirstWord): new function to get the first
701 word. Useful for description.
702 (simpleDocBookOnePar): remove depth argument, add another that
703 says where to start the paragraph.
705 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
706 use the new functions to fix cleanly the support for descriptions.
708 2004-10-24 José Matos <jamatos@lyx.org>
710 * buffer.C (makeLinuxDocFile, makeDocBookFile):
711 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
712 * output_linuxdoc.C (linuxdocParagraphs):
713 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
714 add buffer as argument.
716 2004-10-24 José Matos <jamatos@lyx.org>
718 * output_docbook.C (makeEnvironment, searchEnvironment): place
719 CDATA inside paragraphs and fix scope for listitems.
721 2004-10-24 José Matos <jamatos@lyx.org>
723 * output_docbook.C: remove using statement for stack.
725 2004-10-23 José Matos <jamatos@lyx.org>
727 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
728 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
729 docbook. The new scheme is recursive and makes use of iterators, the
730 same as latex export works.
731 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
732 directly with the paragraph contents. This code was moved up to
733 output_docbook.C (docbookParagraphs).
734 * sgml.C (openTag, closeTag): removed unneeded newlines.
735 (closeEnvTags) removed.
737 2004-10-23 André Pönitz <poenitz@gmx.net>
739 * undo.C (textUndoOrRedo):
740 * dociterator.C (asDocIterator): work around crash
742 * cursor.C (getStatus): replace ASSERT by more verbose error message
743 and manual correction of the problem. Should increase stability
744 while providing more sensible information.
746 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
750 * bufferlist.C (previous, next): new methods
753 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
755 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
757 * buffer.C (makeDocBookFile): add dsssl stylesheet control
758 entities to preamble.
760 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
762 * messages.C (Pimpl): strip off translation context information
764 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
767 the cursor is correct (bug 1694)
769 2004-10-13 José Matos <jamatos@lyx.org>
771 * output_docbook.C (docbookParagraphs): fix closing tags in the
774 2004-10-09 José Matos <jamatos@lyx.org>
776 * buffer.C: format up to 237.
777 * bufferparams.C (write): use tostr to convert booleans to strings.
779 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
781 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
783 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
785 * LaTeX.C: implement use of babel language in xindy.
787 2004-10-05 José Matos <jamatos@lyx.org>
789 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
790 Add new translators to help reading and writing the lyx file.
792 2004-10-05 José Matos <jamatos@lyx.org>
794 * ParagraphParameters.C (read):
795 * text.C (readParToken): replace nexToken by more appropriate lex
798 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
800 * LaTeX.C (runMakeIndex):
801 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
802 (usually 'makeindex') configurable.
804 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
805 with a variable rather than with a number.
807 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * output_latex.C (TeXOnePar): make sure font setting is the first
810 thing that gets output (and the last at the end). Should fix bug
813 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
815 * pch.h: use proper signal include
817 * LaTeX.h: Use preferred calling of Boost.Signal
820 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * pch.h: dont include <boost/function/function0.hpp>
824 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
826 * paragraph_pimpl.h: remove usage of ShareContainer
828 * paragraph_pimpl.C: remove initialization of ShareContainer.
830 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * BufferView.C (putSelectionAt): change the semantics when
835 backwards == true: now, this just swaps cursor and anchor wrt the
838 * BufferView.h (putSelectionAt): add some documentation
840 * lyxfind.C (findBackwards): rewrite using while(). In particular,
841 make sure backwardChar is done at least once (to avoid getting
843 (findNextChange): use putSelectionAt in the forward direction
844 (operator()): use Paragraph::isWord
846 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
848 * Spacing.C (set): c_str fix
850 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * lyx_cb.C (Reconfigure): quote the name of configure script in
853 case it contains spaces
855 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
859 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
860 (BOOST_LIBS): use top_buildir when looking for the file
862 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
864 * pch.h: do not use include boost/format.hpp, multiple symbols
865 will result (gcc bug)
868 2004-08-23 José Matos <jamatos@lyx.org>
870 * bufferparams.C (readToken): fix reading of the author field.
872 2004-08-20 José Matos <jamatos@lyx.org>
874 * lyxrc.C: remove support/translator.h inclusion since it is not used.
876 2004-08-20 José Matos <jamatos@lyx.org>
878 * lyxlex.[Ch] (findToken): remove function.
880 * ParagraphParameters.C (findToken):
881 * bufferparams.C (findToken): replace call for previous function
882 with local copy. This local function has one more argument, the
883 read string argument.
885 2004-08-16 José Matos <jamatos@lyx.org>
887 * ParagraphParameters.C (write):
888 * Spacing.C (writeFile):
889 * bufferparams.C (writeLaTeX):
890 * lyx_cb.C (Reconfigure):
891 * paragraph.C (write):
892 * tabular.C (write): remove unnecessary space at end of line.
895 2004-08-16 José Matos <jamatos@lyx.org>
897 * text.C (readParagraph): remove debug message.
899 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
904 * output_plaintext.C (asciiParagraph): set depth correctly
906 * outputparams.h: add member depth
908 * paragraph_funcs.C (ownerPar): remove.
910 * text2.C (setCounter): remove first_pit; comment out some
911 non-working code that uses ownerPar
913 * BufferView.C (getParentLanguage): remove. Not used anymore, and
916 2004-08-16 José Matos <jamatos@lyx.org>
918 * text.C (readParToken, readParagraph, read): report all unknown tokens.
919 For the same level of importance use the same chanel to report problems.
920 (read): add code to deal with \begin_body and \end_body.
923 2004-08-15 José Matos <jamatos@lyx.org>
925 * lyxlex.C (getString): fix comment, buffer::readBody is now
928 * tex-strings.C (string_papersize): Default -> default,
929 Custom -> custom, for consistency with other options.
931 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
935 * Makefile.am: support pch
937 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * text.C (readParToken): remove the static LyXFont variable and
940 pass it as a parameter instead. This fixes a nasty bug where an
941 inset will be inserted with a bad font in some situations
942 (readParagraph): adapt
944 * text2.C (setCounter): reduce number of calls to pars_[pit]
946 * text.C (singleWidth): add an assert, fix a test
948 * rowpainter.C (paintText): reduce number of calls to singleWidth
950 * paragraph.C (isHfill):
953 2004-08-14 André Pönitz <poenitz@gmx.net>
958 * lyxtext.h (several functions): use a Paragraph & argument
961 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * metricsinfo.h: add a new field ltr_pos to PainterInfo
965 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
967 * text.C (singleWidth): remove useless test
969 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * tabular.h: remove bogus comments
973 * tabular.C (getDescentOfRow):
974 (isPartOfMultiColumn): add assertions
976 * lyxlength.C (inPixels): remove #warning
978 2004-08-14 André Pönitz <poenitz@gmx.net>
980 * paragraph.h: inline getChar()
982 * BufferView.h: remove unused declarations
984 2004-08-14 José Matos <jamatos@lyx.org>
986 * Buffer.[Ch] (readDocument): new name for old readBody.
987 * Buffer.C: new file format, new keywords: \begin_document,
988 \begin_header, \begin_body, \end_body.
990 * bufferparams.C (readToken): replace all calls to lex.nextToken
991 by lex.next(). Do the same to eatLine except where really needed.
993 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
994 line when writing to the lyx file.
996 * output_plaintext.C (asciiParagraph): fix Bibliography style
999 * text.C (read): fix end of file handling.
1001 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * MenuBackend.C (Menu::operator[]): new method to access
1004 individual menu items
1005 (Menu::hasFunc): new method. search for an item that corresponds
1007 (MenuBackend::specialMenu): new method
1008 (MenuBackend::expand): if a special menu has been set, skip
1009 entries whose func() appears in this menu
1011 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1013 * text3.C: use Debug::DEBUG a bit more
1015 * text.C (leftMargin): try to simplify a tiny bit change var x to
1016 l_margin. Dont output the wide margins always.
1017 (rightMargin): no margin in inner texts
1019 * rowpainter.h (nestMargin): new func
1020 (changebarMargin): new func
1021 (rightMargin): new func
1023 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1027 * factory.C (createInset): modify setDrawFrame
1029 * cursor.C: use Debug::DEBUG a bit more
1031 2004-08-14 André Pönitz <poenitz@gmx.net>
1034 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1035 cache for all insets in (at least partially) visible (top-level)
1038 * BufferView_pimpl.C: reset external coord cache before every update.
1039 This means the coord cache only contains valid entries.
1041 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1044 * BufferView_pimpl.C (getInsetByCode): move function out of class
1045 and change in to a template in anon namespace. Also fix to do what
1048 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1051 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1053 (breakParagraph): rename par to par_offset and use a local
1054 reference. Add code to keep the language over a rebreak.
1055 (breakParagraphConservative): rename par to par_offset, use a
1057 (mergeParagraph): ditto
1059 (isFirstInSequence): ditto
1060 (outerFont): rename pit to par_offset
1062 * paragraph.C: ws change
1063 * paragraph.h: ditto
1067 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1072 * paragraph.C (simpleTeXOnePar): when we have a \item with
1073 optional argument, enclose the argument with curly brackets (in
1074 case it contains a closing square bracket)
1078 * text3.C (checkInsetHit): constify
1080 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1083 documents (bug 1629)
1085 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 Fix toggling of collapsable insets with the mouse (bug 1558)
1089 * lyxfunc.C (dispatch): adapt to LCursor changes
1091 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1092 make sure that dispatch is not invoked twice
1094 * cursor.C (needsUpdate): new method
1095 (dispatch): return void
1096 (result): new method, to access the DispatchResult of the cursor.
1098 2004-08-13 José Matos <jamatos@lyx.org>
1100 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1102 2004-08-13 André Pönitz <poenitz@gmx.net>
1104 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1106 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1109 2004-08-12 André Pönitz <poenitz@gmx.net>
1111 * text3.C: take out the 'cursor right' form insertInset and only
1112 do it in those places when it is really needed. Fixes crash on
1115 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1119 * BufferView_pimpl.C (setBuffer): initialize the current font of
1120 the underlying LyXText
1122 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * kbsequence.C (print): use UI native formatting for menu
1127 * text.C (insertChar): call Paragraph::insertChar with a font
1130 * paragraph.C (insertInset, insertChar): the version that takes a
1131 LyXFont argument is now a wrapper around the other one (the
1132 opposite used to be true).
1134 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1135 argument. Font setting is done in Paragraph now.
1137 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * outputparams.h: add new members intitle and lang.
1141 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1142 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1144 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1146 * text3.C (dispatch): remove special handling of button 4 and 5,
1147 it is now taken care of in the frontend code.
1149 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1151 * Spacing.h: add <string> (STLPort compile fix)
1153 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1155 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1157 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1159 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1162 * converter.C (showMessage): inherit from unary_function, make
1165 * buffer.C (writeFile): initialize retval
1167 * InsetList.h: rename private variable list to list_
1168 * InsetList.[Ch]: adjust accordingly.
1170 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1172 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1173 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1174 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1175 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1176 * ParagraphParameters.C, LaTeXFeatures.C: replace
1177 "support/std_sstream.h" with <sstream>
1179 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1181 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1182 * lyxsocket.C (LyXServerSocket): ditto
1183 (serverCallback): ditto
1185 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1187 * LaTeXFeatures.C: check release date when loading jurabib.
1189 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * lyxserver.C (startPipe): call register_socket_callback
1192 (endPipe): call unregister_socket_callback
1194 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1196 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1197 (LyXServerSocket): register the callback
1198 (LyXServerSocket): unregister the callback
1199 (fd): delete function
1200 (serverCallback): improve error checking and setup the callbacks.
1201 (dataCallback): change arg to fd.
1202 (writeln): new func (copied fro the client socket) used for server
1204 (LyXDataSocket): simplify
1205 (~LyXDataSocket): close ann unregiser callback
1206 (server): delete function
1207 (fd): delete function
1208 (readln): small changes, improve some std::string usage
1209 (writeln): constify a bit
1211 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1216 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1219 after it has been populated
1221 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * text2.C (insertInset): move cursor when inserting inset.
1225 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * kbmap.C (findbindings): a couple of new methods. returns a
1228 container of kb_sequence objects. The real work is done by the
1229 private recursive version
1230 (printbindings): uses findbindings to print out a bracketed list
1231 of bindings (renamed from findbinding).
1233 * MenuBackend.C (binding): use kb_keymap::findbindings
1235 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1237 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1239 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1241 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1243 * paragraph.C (isWord): return true on insets that report
1246 * text.C (getWord): use Paragraph::isWord to decide what is in a
1247 word and what is not; fix bug 1609.
1249 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1251 * tex-strings.C: add "none" to string_paperpackages[], fixes
1252 off-by-one-error in the paperpackage selection.
1255 * tex-strings.[Ch]: char const * string[n]
1256 -> char const * const string[]
1258 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1261 command, return early.
1263 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1265 * debug.h: add DEBUG to enum and fix size of ANY.
1267 * debug.C: add support for Debug::DEBUG
1268 (showTags): cast errorTags.level to unsigned int
1270 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1271 (redoCurrentBuffer): ditto
1272 (updateScrollbar): ditto
1273 * cursor.C (dispatch): ditto
1274 * text2.C (setLayout): ditto
1276 (updateCounters): ditto
1278 (deleteEmptyParagraphMechanism): ditto
1280 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1282 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1283 annotations to cleanup the Makefile slightly.
1285 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * lyxrc.C: do not set user_email to a default value but use empty
1288 instead. The entry used to be translated, which does not work
1289 since at the point where lyxrc is constructed there is no
1290 translation service available
1292 * messages.C (getLocaleDir): remove and use directly
1293 lyx_localedir() instead
1295 2004-06-02 Angus Leeming <leeming@lyx.org>
1297 Fix crash caused by dereferencing null pointer 'exportdata' in
1298 OutputParams by creating a new ExportData variable on the heap,
1299 storing it in a boost::shared_ptr.
1300 The crash was triggered when generating an Instant Preview
1301 of an external inset.
1303 * Makefile.am: add outputparams.C
1305 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1306 (c-tor): allocate memory to it.
1308 * exporter.C (c-tor): associated changes.
1310 2004-06-01 Angus Leeming <leeming@lyx.org>
1312 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1313 contains data before calling isInset(0). (Bug 1513.)
1315 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1317 * exporter.C (checkOverwrite): new method
1318 * exporter.C (copyFile): new method
1319 * exporter.C (Export): copy referenced files to the document dir
1320 * exporter.[Ch]: new class ExportedFile
1321 * exporter.[Ch]: new class ExportData. Contains currently the
1322 names of referenced external files
1323 * outputparams.h: add exportdata member.
1325 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1327 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1330 2004-05-19 Angus Leeming <leeming@lyx.org>
1335 * lyxfunc.C: small changes due to the introduction of namespace
1336 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1338 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1340 * text3.C (dispatch): supress update when only moving the cursor
1341 * cursor.C (selHandle): remove commented code
1343 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1345 * paragraph.C (startTeXParParams): correct column count
1346 * CutAndPaste.C (pasteSelection): remove const_cast
1347 * output_docbook.C (docbookParagraphs): remove const_cast
1348 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1349 const_cast and return ParagraphList::const_iterator
1350 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1351 * output_plaintext.C (writeFileAscii): remove const_cast
1352 * paragraph.[Ch] (simpleTeXOnePar): make const
1353 * paragraph_funcs.C (outerPar): use const iterators
1354 * paragraph_pimpl.C (validate): use const iterators
1355 * text.C (setHeightOfRow): use const iterators
1357 2004-05-17 Angus Leeming <leeming@lyx.org>
1360 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1362 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1363 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1364 if the citation engine has changed.
1366 2004-05-14 José Matos <jamatos@lyx.org>
1368 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1369 if the textclass does not provide it. Have it different for sgml and
1371 support the language of document.
1372 * output_docbook.C (docbookParagraphs):
1373 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1374 first anchor as the id of the paragraph, remove special case code.
1375 * sgml.C (escapeChar): escape only < & >.
1377 2004-05-14 Angus Leeming <leeming@lyx.org>
1379 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1380 dependencies on src/frontends/controllers/biblio.h. Define a
1381 CiteEngine_enum wrapper class to enable the enum to be forward
1384 2004-05-12 Angus Leeming <leeming@lyx.org>
1386 * buffer.C: up LYX_FORMAT to 234.
1387 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1388 use_numerical_citations with a single biblio::CiteEngine cite_engine
1390 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1392 2004-05-13 José Matos <jamatos@lyx.org>
1395 * converter.C (Converter, readFlags): add xml member.
1396 * outputparams.h: add XML flavor.
1397 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1399 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * lyxfunc.C (dispatch):
1402 (getStatus): fix handling of LFUN_SEQUENCE
1404 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1406 * debug.C (showLevel): do not forget the end-of-line marker
1408 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * kbmap.C (read): do not stop parsing a bind file when an error
1413 2004-04-29 Angus Leeming <leeming@lyx.org>
1418 * text2.C: wrap a bunch of #warning statements
1419 inside #ifdef WITH_WARNINGS blocks.
1421 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1423 * buffer.C: increment format to 233.
1425 2004-04-28 Angus Leeming <leeming@lyx.org>
1427 * BufferView_pimpl.C:
1430 s/updateToolbar()/updateToolbars()/
1431 s/Toolbar.h/Toolbars.h/
1433 2004-04-28 Angus Leeming <leeming@lyx.org>
1435 * BufferView.[Ch] (c-tor):
1436 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1437 No longer passes these data to the WorkArea generator.
1439 2004-04-28 Angus Leeming <leeming@lyx.org>
1441 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1443 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1445 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1447 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * output_latex.C (TeXEnvironment): make sure that there is a line
1450 break before \end{foo} for the last paragraph of a document
1451 (TeXOnePar): if the paragraph is at the end of the document (or
1452 inset) and the language has to be reset, then make sure that the
1453 line break is _before_ the language command, not after (fixes bug
1454 1225); also make sure that the language reset command is the first
1455 thing after the paragraph (to ensure proper nesting of
1456 environments and thus fix bug 1404)
1458 2004-04-21 John Levon <levon@movementarian.org>
1461 * ToolbarBackend.C: make "name" be a programmatic name
1462 and a gui_name field.
1464 * lyxfunc.C: display the minibuffer on M-x
1466 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1471 2004-04-19 Angus Leeming <leeming@lyx.org>
1473 * BufferView_pimpl.C (setBuffer): changed preview interface.
1475 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1478 2004-04-19 John Levon <levon@movementarian.org>
1480 * BufferView_pimpl.C:
1481 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1483 2004-04-05 Angus Leeming <leeming@lyx.org>
1485 * text.C (redoParagraphs): add call to updateCounters(), thereby
1486 fixing the missing "Figure #:" label from the caption of a
1489 2004-04-13 Angus Leeming <leeming@lyx.org>
1491 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1492 cursor is clicked out of an inset.
1494 2004-04-13 Angus Leeming <leeming@lyx.org>
1496 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1497 than an InsetOld one.
1499 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1501 * format.[Ch]: add editor to Format
1502 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1503 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1505 2004-04-08 André Pönitz <poenitz@gmx.net>
1507 * metricsinfo.h: remove PainterInfo::width member
1509 2004-04-08 Angus Leeming <leeming@lyx.org>
1511 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1512 "\providecommand" rather than "\newcommand", thereby preventing
1513 clashes with packages that define "\boldsymbol" themselves.
1516 2004-04-08 Angus Leeming <leeming@lyx.org>
1518 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1519 thereby squashing an unnecessary warning.
1521 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1523 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1526 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1528 * BufferView.C (setCursor): call redoParagraph (some insets could
1530 (putSelectionAt): remove the 'double update' trick
1532 * BufferView_pimpl.C (fitCursor): call refreshPar
1533 (workAreaDispatch): remove an uneeded update call
1534 (dispatch): remove some manual update calls
1536 * cursor.[Ch]: remove cached_y_, updatePos
1537 (selHandle): set noUpdate when appropriate
1539 * lyxfunc.C (dispatch): track if we need an update
1541 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1543 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1544 (paintSelection): cheap optimization, do not call cursorX when not
1546 (paintPars): change signature
1549 (paintTextInset): adjust
1553 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1555 * lengthcommon.C: compilation fix: remove explicit array size from
1556 unit_name[] and friends
1558 2004-04-05 Angus Leeming <leeming@lyx.org>
1560 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1562 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1563 present only for the preferences dialog.
1564 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1566 2004-04-05 Angus Leeming <leeming@lyx.org>
1568 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1569 to enable the frontends to export changes to lyxrc correctly.
1571 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1573 2004-04-07 André Pönitz <poenitz@gmx.net>
1575 * cursor.[Ch] (selClear, adjust): remove math
1577 * cursor_slice.C: more agressive assert
1580 * BufferView_pimpl.C: rework mouse event dispatch
1587 2004-04-05 André Pönitz <poenitz@gmx.net>
1589 * cursor.[Ch] (valign, halign...): remove unneeded functions
1591 2004-04-05 Angus Leeming <leeming@lyx.org>
1593 * lyxlength.[Ch] (unit_name et al.): const-correct.
1595 2004-04-05 Angus Leeming <leeming@lyx.org>
1597 * BufferView_pimpl.C:
1606 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1608 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1610 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1612 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1614 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1615 * BufferView_pimpl.[Ch] (getStatus)
1616 * BufferView.[Ch] (getStatus): add
1617 * lyxfunc.C (getStatus): move lfuns handled in
1618 BufferView::dispatch to te function above
1619 * Cursor.C (setSelection): set selection() = true
1621 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1623 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1625 2004-03-31 Angus Leeming <leeming@lyx.org>
1627 * lyxfunc.C (dispatch): Fall through to the generic
1628 Dialogs::show("preamble").
1630 2004-03-31 Angus Leeming <leeming@lyx.org>
1632 * lyxfunc.C (dispatch): Fall through to the generic
1633 Dialogs::show("spellchecker").
1635 2004-03-31 Angus Leeming <leeming@lyx.org>
1637 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1640 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1645 * insetiterator.[Ch]:
1650 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1652 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1654 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1655 insets where we are putting the cursor.
1657 2004-03-31 Angus Leeming <leeming@lyx.org>
1660 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1662 * lyxrc.[Ch] (read, write): overloaded member functions taking
1663 a std::[io]stream arguments.
1665 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1667 2004-03-31 Angus Leeming <leeming@lyx.org>
1669 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1670 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1672 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1673 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1675 2004-03-31 Angus Leeming <leeming@lyx.org>
1677 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1678 the LFUN_ALL_INSETS_TOGGLE code.
1680 2004-03-30 Angus Leeming <leeming@lyx.org>
1682 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1683 has died. Fall through to the generic Dialogs::show("document").
1685 2004-03-30 Angus Leeming <leeming@lyx.org>
1688 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1689 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1691 * lyxfunc.C (getStatus, dispatch): define the actions for these
1692 lfuns. Little more than a cut and pste job from ControlDocument.C
1694 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1696 2004-03-30 Angus Leeming <leeming@lyx.org>
1699 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1700 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1702 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1703 open/closed state of ollapsable insets. Usage:
1705 all-inset-toggle <state> <name>, where
1706 <state> == "open" || "closed" || "toggle" and
1707 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1709 * lyxtext.h, text2.C (toggleInset): removed.
1711 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1712 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1713 now passes LFUN_INSET_TOGGLE to the found inset.
1715 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1716 is now invoked as "all-insets-toggle toggle branch".
1718 2004-03-30 Angus Leeming <leeming@lyx.org>
1722 * pariterator.[Ch]: added/corrected header blurb.
1724 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1726 * dociterator.[Ch]: add an inset_ member
1727 (backwardPos): implemented
1728 (backwardPos, forwardPos): use inset_ when the stack is empty.
1729 (doc_iterator_begin, doc_iterator_end): implemented
1730 * pariterator.[Ch]: adjust, add begin, end
1731 * insetiterator.[Ch]: adjust, add begin, end
1735 * BufferView_pimpl.C:
1736 * CutAndPaste.C: adjust
1738 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1740 * buffer.C: increment file format to 232.
1741 * LaTeXFeatures.C: add bibtopic package.
1742 * bufferparams.[Ch]: param \use_bibtopic.
1744 * lyxrc.[Ch]: add lyxrc bibtex_command
1745 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1747 * buffer.C: increment file format to 231.
1749 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1751 * dociterator.C: implement forwardPar
1752 * iterators.[Ch]: remove, replaced by
1753 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1755 * BufferView_pimpl.C:
1758 * bufferview_funcs.C:
1764 * Makefile.am: adjust
1766 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1768 * CutAndPaste.C (pasteSelection): fix 2 crashes
1769 (eraseSelection): fix a crash
1770 * paragraph_funcs.C: remove a warning
1772 2004-03-28 Angus Leeming <leeming@lyx.org>
1775 * LyXAction.C (init): new LFUN_PRINT.
1777 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1779 2004-03-27 Angus Leeming <leeming@lyx.org>
1782 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1784 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1786 2004-03-27 Angus Leeming <leeming@lyx.org>
1788 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1789 insetlist always contains non-null pointers to insets.
1791 2004-03-26 Angus Leeming <leeming@lyx.org>
1793 * src/BufferView_pimpl.C:
1794 * src/CutAndPaste.C:
1797 * src/output_plaintext.C:
1798 * src/outputparams.h:
1799 * src/paragraph_funcs.C:
1803 * src/frontends/controllers/ControlErrorList.C:
1804 * src/frontends/gtk/FileDialogPrivate.C:
1805 * src/frontends/gtk/GPainter.C:
1806 * src/frontends/gtk/GToolbar.C:
1807 * src/frontends/qt2/QRef.C:
1808 * src/mathed/math_scriptinset.C: squash compiler warnings.
1810 2004-03-26 Angus Leeming <leeming@lyx.org>
1812 * ispell.C (LaunchIspell::start):
1813 * lyx_cb.C (AutoSaveBuffer::start):
1814 invoke run(DontWait) rather than runNonBlocking().
1816 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1818 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1820 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1822 * kbsequence.C (print): adjust
1824 * kbmap.C (printKeySym): rename and change signature
1825 (printKey): use LyXKeySym::print()
1827 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1829 * undo.C: add using std::advance to compile for stlport
1831 2004-03-24 Angus Leeming <leeming@lyx.org>
1833 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1834 it leads to a crash when no buffer is present.
1836 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1837 Martin Vermeer <martin.vermeer@hut.fi>
1839 * lyxfunc.C (dispatch):
1840 * bufferparams.C (readToken): use the new LColor::setColor
1842 * LColor.[Ch] (setColor): new version that takes two strings as
1843 argument and creates a new color entry if necessary
1845 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1847 * buffer.C (makeLaTeXFile): if the main latex file that is
1848 processed is usually a subdocument of some master, then pretend
1849 for a while that it is actually the master
1851 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1853 * buffer.C (getLabelList):
1854 (getBibkeyList): use getMasterBuffer()
1855 (getMasterBuffer): new method. Returns the main document in the
1856 case where one is using included documents.
1858 2004-03-25 André Pönitz <poenitz@gmx.net>
1862 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1864 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1866 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1867 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1869 * ParameterStruct.h: merge with ParagraphParameters
1871 * lyxtext.h: remove LyXText::parOffset() and getPar()
1873 * text3.C: Remove all 'manual' update calls. We do now one per user
1874 interaction which is completely sufficient.
1878 * BufferView_pimpl.C:
1879 * FontIterator.[Ch]:
1881 * ParagraphParameters.[Ch]:
1886 * cursor_slice.[Ch]:
1893 * output_docbook.[Ch]:
1894 * output_latex.[Ch]:
1895 * output_linuxdoc.[Ch]:
1896 * output_plaintext.[Ch]:
1898 * paragraph_funcs.[Ch]:
1899 * paragraph_pimpl.[Ch]:
1907 * frontends/controllers/ControlDocument.C:
1908 * frontends/controllers/ControlErrorList.C:
1909 * frontends/controllers/ControlSpellchecker.C:
1912 * insets/insetbase.h:
1913 * insets/insetbibitem.C:
1914 * insets/insetbox.C:
1915 * insets/insetbranch.C:
1916 * insets/insetcaption.C:
1917 * insets/insetcharstyle.C:
1918 * insets/insetcharstyle.h:
1919 * insets/insetcollapsable.C:
1920 * insets/insetcollapsable.h:
1921 * insets/insetert.C:
1922 * insets/insetfloat.C:
1923 * insets/insetfoot.C:
1924 * insets/insetmarginal.C:
1925 * insets/insetnote.C:
1926 * insets/insetoptarg.C:
1927 * insets/insettabular.C:
1928 * insets/insettext.C:
1929 * insets/insettext.h:
1930 * insets/insetwrap.C:
1931 * mathed/math_mboxinset.C:
1932 * mathed/math_nestinset.C:
1933 * mathed/math_scriptinset.C:
1934 * mathed/math_scriptinset.h:
1937 2004-03-24 Angus Leeming <leeming@lyx.org>
1939 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1940 deal with any child processes that have finished but are waiting to
1941 communicate this fact to the rest of LyX.
1943 2004-03-24 Angus Leeming <leeming@lyx.org>
1945 64-bit compile fixes.
1947 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1948 (c-tor): pass lyx::pos_types rather than ints.
1950 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1953 * text.C (Delete): compile fix.
1954 (getPar): ensure that function declaration is the same as that in
1957 2004-03-23 Angus Leeming <leeming@lyx.org>
1959 * ispell.C (LaunchIspell):
1960 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1961 a boost::shred_ptr rather than a std::auto_ptr.
1963 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1966 handle LFUN_FILE_INSERT_*
1968 * lyxrc.C (setDefaults, getDescription, output, read):
1969 * lyxrc.h: remove ps_command
1971 2004-03-22 Angus Leeming <leeming@lyx.org>
1973 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1974 Ensure that error_handler is processed once only and that all data
1975 is saved before attempting to output any warning messages.
1977 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1979 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1981 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1983 2004-03-19 André Pönitz <poenitz@gmx.net>
1985 * cursor.[Ch] (reset): take main text inset as argument
1987 * BufferView: adjust
1988 * BufferView_pimpl.C: adjust
1990 * paragraph.[Ch]: fix completely broken operator=()
1992 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1994 * LColor.C (getFromLyXName): make sure that the color name is used
1997 2004-03-17 Angus Leeming <leeming@lyx.org>
2000 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2002 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2003 dialog and to kill a forked process.
2005 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2007 * text2.C (setCursorFromCoordinates): fix font problem
2009 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2011 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2012 bogus "rebuild cursor" code
2014 2004-03-11 André Pönitz <poenitz@gmx.net>
2016 * buffer.[Ch]: use InsetText instead of LyXText as container for
2019 * dociterator.[Ch]: drop the BufferView * member which is not needed
2020 anymore after the change to buffer.C
2022 * paragraph_funcs.C:
2026 * BufferView_pimpl.[Ch]:
2028 * cursor_slice.[Ch]: adjust
2030 * text3.C: fix bug in mathDispatch
2032 2004-03-08 André Pönitz <poenitz@gmx.net>
2034 * undo.[Ch]: use 'StableDocumentIterator' as base for
2037 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2040 * bufferparams.[Ch]: add jurabib support and param.
2042 * LaTeX.C: add FIXME/comment.
2044 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2046 * buffer.C: increment file format to 230.
2048 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2050 * cursor.C (dispatch): avoid infinite loops
2052 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2054 * rowpainter.C (paintSelection): fix x coordinates
2056 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2058 * text.C (rowBreakPoint): fix breaking before displayed insets
2060 2004-03-01 André Pönitz <poenitz@gmx.net>
2062 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2064 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2068 * BufferView_pimpl.C:
2076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2082 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2083 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2085 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2087 * Bidi.[Ch] (computeTables): const correctness
2088 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2089 fill_hfill, fill_label_hfill and x from Row
2090 * lyxtext.h: prepareToPrint returns a RowMetrics
2091 * rowPainter.C: adjust
2092 * text.C (prepareToPrint): use width, not textWidth. adjust
2093 (redoParagraphInternal, cursorX): adjust
2094 * text2.C (getColumnNearX): adjust
2095 (init): put a default value to the top LyXText::width
2097 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2099 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2101 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2103 * lyxtext.h: add FontIterator class
2105 * text.C (FontIterator, operator*, operator->, operator++): add
2106 (rowBreakPoint, setRowWidth): adjust (fixing a
2109 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * BufferView_pimpl.C (workAreaDispatch): allow also
2112 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2114 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2116 * text.C (rowBreakPoint): fix a bug showing with very large insets
2118 2004-02-25 André Pönitz <poenitz@gmx.net>
2121 * cursor.[Ch]: move some mathed specific code to mathed
2123 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2125 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2126 use_tempdir in preferences
2127 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2129 * lyx_main.C: ensure that tempdir is valid
2130 * lyxlex.h: correct typo
2131 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2132 * paragraph.[Ch] (isMultiLingual): make const
2133 * cursor.[Ch] (openable): make const
2135 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2137 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2139 2004-02-20 André Pönitz <poenitz@gmx.net>
2141 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2143 * cursor.[Ch]: prepare for localized getStatus()
2149 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2151 2004-02-20 André Pönitz <poenitz@gmx.net>
2153 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2155 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2157 * text2.C (setCursorFromCoordinates): switch to absolute coords
2159 (cursorDown): adjust
2160 * text3.C (dispatch): adjust
2162 2004-02-16 André Pönitz <poenitz@gmx.net>
2164 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2167 * cursor_slice.[Ch]: remove unneeded acessor function
2169 * lyxtext.h: rename rtl() to isRTL()
2177 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2179 * rowpainter.C (paintSelection): coord fix
2181 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2183 * Spacing.C: compile fix
2185 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2187 * cursor.C (dispatch): restore current_ before returning
2189 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2191 * text2.C (cursorUp, cursorDown): fix coords
2194 2004-02-12 André Pönitz <poenitz@gmx.net>
2199 * text3.C: add LCursor & parameter to most cursor movement functions
2200 remove usage of LyXText::cursorRow() and cursorPar()
2202 * cursor.[Ch]: add textRow() needed members
2205 * BufferView_pimpl.C:
2208 * BufferView_pimpl.C: adjust
2210 2004-02-11 André Pönitz <poenitz@gmx.net>
2214 * BufferView_pimpl.C: shift undo/redo handling
2216 * cursor.[Ch]: fix mathed crash
2219 * lyxtext.h: move selectionAsText to LCursor
2227 * rowpainter.C: fix excessive drawing
2229 2004-02-06 André Pönitz <poenitz@gmx.net>
2232 * BufferView_pimpl.[Ch]:
2233 * text3.C: move some text specific LFUN handling
2235 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2237 * text3.C (checkInsetHit): adjust coords
2238 * text2.C (getColumnNearX): adjust coords
2239 (edit): adjust coords
2240 * text.C (getRowNearY): add two asserts
2242 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2245 * format.C: add using std::distance to compile on gcc 2.95/stlport
2247 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2249 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2251 2004-02-04 André Pönitz <poenitz@gmx.net>
2253 * BufferView.[Ch] (insertInset):
2254 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2259 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2261 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2262 on the default clause of the switch
2263 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2264 wasn't catched by LCursor::dispatch
2266 2004-02-03 André Pönitz <poenitz@gmx.net>
2269 * cursor.[Ch]: some additional asserts
2271 * undo.[Ch]: remove LyXText dependency in interface
2275 * lyxtext.h (firstPar, lastPar): remove dead functions
2280 * paragraph.[Ch]: adjust
2282 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2284 * lyxfind.C (find): fix argument order in call to ::find
2286 2004-02-02 André Pönitz <poenitz@gmx.net>
2288 * cursor.[Ch]: remove direct access to anchor
2290 * text.C: remove findText() hack
2292 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2294 * iterators.[Ch] (lockPath): remove in favour of...
2295 * BufferView.[Ch] (setCursor): this addition
2296 * BufferView.C (putSelectionAt): adjust
2297 * undo.C (performUndoOrRedo): adjust
2298 * lyxfunc.C (dispatch): adjust
2300 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2302 * iterators.C (lockPath): add a missing slice
2303 * undo.C (performUndoOrRedo): remove redundant positioning code
2305 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2307 * vc-backend.C (scanMaster): ";" -> ';'
2309 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2311 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2312 std::binary_function
2314 * lyxtextclass.C (compare_name): rename to...
2315 (LayoutNamesEqual): ...this
2317 * lyxlex_pimpl.C (compare_tags): inherit from
2318 std::binary_function, put back into anon namespace
2320 * lyxfind.C (MatchString): inherig from std::binary_function
2321 (findChange): use empty() istead of !size()
2323 * format.C (FormatNamesEqual): new functor
2330 * converter.C (compare_Converter): rename to...
2331 (ConverterEqual): ...this, and fixup a bit.
2332 (getConverter): use it, and make function const
2333 (getNumber): use it, and make function const
2337 * bufferlist.C: add using boost::bind
2339 * MenuBackend.C (MenuNamesEqual): new functor
2340 (hasMenu): use it, and make function const
2341 (hasSubmenu): use nested bind to get rid of compare_memfun.
2343 2004-01-30 André Pönitz <poenitz@gmx.net>
2345 * BufferView_pimpl.C:
2348 * cursor_slice.[Ch]:
2351 * paragraph_funcs.C:
2352 * paragraph_funcs.h:
2356 * text3.C: move some of the edit(x,y) handling to the insets
2357 some coordinate changes.
2359 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2361 * text.C: add using statements for std::advance and std::distance
2363 * paragraph.C: add using statement for std::distance
2365 * lyxfind.C: add using statement for std::advance
2367 * cursor.C (region): remove std:: from swap
2368 (openable): use nucleus in stead of operator->
2370 * BufferView.C: add using statements for std::distance and std::swap
2372 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2374 * iterators.C: Remove the pimple, move the needed structures to
2375 the header file. Create accessor for the positions stack.
2376 (asPosIterator): remove function
2378 * PosIterator.C (PosIterator): move constructors to top of file
2379 (PosIterator): reimplement the constructor taking a ParIterator in
2381 (setFrom): new function
2382 (operator!=): inline it
2384 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2386 * lyxfind.C (replaceAll): use std::advance
2388 * iterators.h: inherit from std::iterator.
2390 * PosIterator.C (advance, distance): remove
2391 * PosIterator.h: interit from std::iterator.
2393 2004-01-26 André Pönitz <poenitz@gmx.net>
2396 * BufferView_pimpl.[Ch]:
2400 * bufferview_funcs.C:
2410 * output_linuxdoc.C:
2411 * output_plaintext.C:
2413 * paragraph_funcs.[Ch]:
2414 * paragraph_pimpl.[Ch]:
2420 * text3.C: more IU: dumps most of the rest of the mathcursor
2421 implementation into cursor.[Ch]; "globalize" a bit of it.
2423 2004-01-25 Angus Leeming <leeming@lyx.org>
2425 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2427 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2429 * LaTeXFeatures.h: add nice_ and nice() const
2430 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2432 2004-01-20 André Pönitz <poenitz@gmx.net>
2435 * BufferView_pimpl.C:
2437 * bufferview_funcs.C:
2439 * cursor_slice.[Ch]:
2450 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2451 LCursor and mathcursor parts to LCursor and InsetBase.
2453 2004-01-15 André Pönitz <poenitz@gmx.net>
2455 * cursor_slice.[Ch]: add a few covienience functions
2457 * funcrequest.[Ch]: remove BufferView * member
2459 * BufferView_pimpl.C:
2466 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2468 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2470 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2471 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2473 2004-01-13 André Pönitz <poenitz@gmx.net>
2476 * lyxtext.h: hide cursor and selection anchor behind accessor function
2479 * BufferView_pimpl.[Ch]:
2481 * bufferview_funcs.C:
2491 * cursor_slice.[Ch]: some integer type changes for inset unification
2493 * lyxcursor.[hC]: remove, it's CursorSlice now.
2496 * BufferView_pimpl.[Ch]:
2497 * bufferview_funcs.C:
2503 * textcursor.[Ch]: adjust
2505 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2507 * text2.C (undoSpan): add and use
2508 * text.C (breakParagraph): use undoSpan (fix bug 578)
2511 2004-01-08 Angus Leeming <leeming@lyx.org>
2513 * BufferView_pimpl.C (MenuInsertLyXFile):
2514 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2515 * lyxfunc.C (menuNew, open, doImport):
2516 FileFilterList change to the FileDialog open and save functions.
2518 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2520 * ShareContainer.h: make isEqual and isUnique adaptable
2522 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2524 2004-01-07 Angus Leeming <leeming@lyx.org>
2527 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2529 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2531 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2532 functions replacing find, replace and replaceAll.
2534 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2535 LFUN_WORDFIND(FORWARD|BACKWARD).
2537 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2539 * text.C (breakParagraph): remove an outdated #warning
2541 2004-01-07 André Pönitz <poenitz@gmx.net>
2543 * lyxfind.C: somewhat clearer logic
2545 * text.C: prevent crash in cursorX on unitialized row cache
2547 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2549 * lyxcursor.[Ch] (operator>): add
2550 * textcursor.C (selStart, selEnd): use std::min and std::max
2552 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2554 * Chktex.C: include boost/format.hpp
2556 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2558 * InsetList.C: replace functor MathcIt with adaptable functor
2560 (insetIterator): modify accordingly
2562 * BranchList.h: move the BranchNamesEqual functor here from...
2563 * BranchList.C: ... to here
2565 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2567 (add): replace a finding loop with std::find_if.
2569 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2571 * output_docbook.C: moving LatexParam functionality into
2574 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2576 * buffer.C: increment format to 229.
2578 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2581 * lyx_sty.[Ch]: remove minipageindent_def
2587 * text3.C: remove LFUN_INSET_MINIPAGE
2589 2003-12-28 Angus Leeming <leeming@lyx.org>
2591 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2593 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2595 * text2.C (setParagraph): fix off-by-one crash
2597 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2599 * output_docbook.C: header stuff for AGU
2601 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2603 * text2.C (redoCursor): remove
2606 * BufferView_pimpl.C: remove calls to redoCursor and
2607 setCursor(cursor.par(), cursor.pos()) all around
2609 2003-12-15 Angus Leeming <leeming@lyx.org>
2611 * buffer.C: up the format to 228.
2613 2003-12-15 André Pönitz <poenitz@gmx.net>
2615 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2620 * BufferView_pimpl.C:
2629 2003-12-15 Angus Leeming <leeming@lyx.org>
2631 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2632 than getFromGUIName to manipulate the color.
2634 2003-12-14 Angus Leeming <leeming@lyx.org>
2636 * BranchList.[Ch]: minimize the API.
2637 (Branch::getBranch, getColor): now return a 'const &'.
2638 (Branch::setSelected) now returns a bool set to true if the
2639 selection status changes.
2640 (BranchList::clear, size, getColor, setColor, setSelected,
2641 allBranches, allSelected, separator): removed.
2642 (BranchList::find): new functions, returning the Branch with
2644 (BranchList::add, remove): return a bool indicating that
2645 the operation was successful.
2647 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2648 new InsetBranch::isBranchSlected member function.
2650 * LColor.[Ch]: mimimize the API.
2651 (fill): renamed as addColor and made private.
2652 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2653 versions of these functions taking a string arg have been removed.
2655 * bufferparams.C (readToken):
2656 * lyxfunc.C (dispatch):
2657 * lyxrc.C (read): changes due to the altered BranchList and
2660 * factory.C (createInset, readInset): changes due to altered
2663 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2666 * lyxfunc.C: remove insetminipage. "minipage-insert"
2667 now produces a frameless minipage box inset.
2669 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2671 * textcursor.[Ch] (selStart,selEnd): add new methods
2672 remove selection::start, end, use LyXCursor::operator<
2673 * lyxcursor.[Ch] (operator<): add
2674 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2675 * BufferView.[Ch] (unsetXSel): add
2676 * text2.C (clearSelection): use unsetXSel,adjust
2679 * rowpainter.C: adjust
2680 * bufferview_funcs.C (put_selection_at): adjust
2682 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2684 * BufferView_pimpl.C: small coord. correction
2686 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2688 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2689 dragging over the splash screen.
2691 2003-12-11 Angus Leeming <leeming@lyx.org>
2693 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2694 as it is now handled in LyXText::dispatch.
2696 * text3.C (doInsertInset): remove a level of nesting.
2698 2003-12-11 Angus Leeming <leeming@lyx.org>
2700 * factory.C (createInset): changes due to the changed interface to
2701 InsetCommandMailer::string2params.
2703 2003-12-10 Angus Leeming <leeming@lyx.org>
2705 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2706 'dialog-show-new-inset <inset name>'
2708 2003-12-10 Angus Leeming <leeming@lyx.org>
2710 * buffer.C: up the format to 227.
2712 * factory.C: the box inset is now identified simply by 'Box'.
2714 2003-12-10 Angus Leeming <leeming@lyx.org>
2716 * buffer.C: up the format to 226.
2718 * factory.C: the note inset is now identified simply by 'Note'.
2720 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2722 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2723 when a pit is enough. Standarize a couple of loops.
2725 2003-12-05 Angus Leeming <leeming@lyx.org>
2727 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2728 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2729 data to the re-worked "log" dialog.
2731 2003-12-03 André Pönitz <poenitz@gmx.net>
2737 * paragraph_funcs.C:
2739 * text2.C: use Inset::getText instead of Inset::getParagraph
2741 2003-12-03 André Pönitz <poenitz@gmx.net>
2745 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2746 InsetText::read() as LyXText::read()
2748 2003-12-02 Angus Leeming <leeming@lyx.org>
2750 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2751 type. Add a comment in the implementation that the function uses
2752 the stream's bad() function rather than fail() as the std::streams
2755 2003-12-02 André Pönitz <poenitz@gmx.net>
2757 * lyxlex.[Ch]: make interface more similar to std::stream
2759 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2761 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2763 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2765 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2767 * vspace.[Ch]: remove VSpace::NONE
2769 2003-12-01 André Pönitz <poenitz@gmx.net>
2772 * lyxtext.h: move ParagraphList member to LyXText
2773 rename LyXText::ownerParagraphs to LyXText::paragraph
2776 * bufferview_funcs.C:
2786 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2788 * undo.C: fix cursor positioning
2790 2003-12-01 John Levon <levon@movementarian.org>
2792 * BufferView_pimpl.C: fix a crash on exit with
2795 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2797 * BranchList.C: fix setSelected() method.
2799 2003-11-28 André Pönitz <poenitz@gmx.net>
2801 * ParagraphParameters.[Ch]:
2802 * ParameterStruct.h: remove space above/below from Paragraph to
2805 * BufferView_pimpl.C:
2811 * paragraph_funcs.C:
2817 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2819 * factory.C: Syntax change for CharStyles
2821 2003-11-28 André Pönitz <poenitz@gmx.net>
2826 * buffer.[Ch]: move LyXText member
2828 2003-11-28 André Pönitz <poenitz@gmx.net>
2830 * BufferView.[Ch]: make LyXText * text a private member
2832 * BufferView_pimpl.C:
2843 * output_plaintext.C: cleanup
2845 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2848 * lyxtextclass.[Ch]: parametrize SGML document header
2850 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2853 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2856 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2858 * text2.C (setFont): rework using PosIterator (no more recursive)
2859 (setCharFont): no more needed
2860 (setLayout): no more selection cursors fiddling (done by redoCursor)
2861 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2862 destroy remaining ones)
2864 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2866 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2868 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2871 * text3.C: adjust + re-allow multi par depth changes
2872 * textcursor.C: simplify a bit
2874 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2880 * src/output_docbook.C:
2881 * src/output_latex.C:
2886 * src/text2.C: Introducing a number of tags parametrizing various
2887 XML formats that we may want to support
2889 2003-11-25 André Pönitz <poenitz@gmx.net>
2891 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2893 * lyxtext.h (leftMargin/rightMargin): simplify interface
2900 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2902 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2903 master file to any child files. Fixes bug 546.
2905 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2907 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2909 2003-11-24 André Pönitz <poenitz@gmx.net>
2911 * rowpainter.C: simplification
2913 * text2.C (updateCounters): remove call to redoParagraph on
2914 changed labels as this is far too expensive.
2916 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2918 * converter.C (convert): fix a crash: this function gets
2919 called with buffer == 0 from importer code.
2921 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2923 * text3.C (cursorPrevious): make sure that we do not compare
2924 iterators form different containers.
2927 * rowpainter.C (paintSelection): make sure that we do not compare
2928 iterators from different containers.
2930 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2931 iterators from different ParagraphList containers.
2934 * text2.C (LyXText): change order of initialization slightly
2935 (operator=): new function. copy all variables except cache_par_
2936 (moveUp): make sure that we do not compare iterators from
2937 different ParagraphList constainers.
2940 * text.C (firstPar): new function
2941 (lastPar): new function
2942 (endPar): new function
2944 * lyxtext.h: move things around and group public functions, public
2945 variables, private functions, private variables
2947 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2949 * factory.C: change call to InsetERT constructor to avoid
2950 additional invocation of method status
2951 * text2.C (toggleInset): remove redundant update() call
2952 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2953 instead of a Bufferview pointer
2955 2003-11-21 André Pönitz <poenitz@gmx.net>
2957 * rowpainter.C: simplification
2959 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2961 * text3.C (dispatch): make possible to extend a word/row selection
2964 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2966 * lyxtext.h: x0_,y0_ -> xo_,yo_
2967 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2968 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2969 * rowpainter.C (paintRows): paint full paragraphs
2971 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2973 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2976 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2978 * lyxtext.h: add x0_, y0_
2979 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2980 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2982 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2984 * text2.C (setCursorIntern): move the x_target update here *
2985 * text3.C: change some bv() to true/false in calls to
2986 cursorUp/Down/Right/Left
2987 * cursor.C: use helper function.
2989 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2991 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2992 * paragraph_funcs.[Ch]: correct comment
2993 * rowpainter.C: do not paint selections away from bv->cursor()
2994 Fix a long standing selection painting bug.
2995 * text3.C: generalize mouse-selection code to LyXTexts other that
2997 * textcursor.C: do not use y coords if we can use par offsets
2999 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3001 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3002 cursor position after e.g. inset insert)
3004 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3006 * lyxfind.C (replace): adjust to locking removal + some
3009 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3011 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3014 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3017 * output_docbook.C: XML sanitation: new layout
3018 parameters InnerTag and CommandDepth
3020 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3022 * BufferView_pimpl.C:
3024 * text3.C: Fix the insertion and modification of button-style
3027 2003-11-13 André Pönitz <poenitz@gmx.net>
3029 * InsetList.[Ch]: remove deleteLyXText
3031 * paragraph.[Ch]: cache beginOfBody position
3036 * text3.C: remove superfluous update() calls
3040 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3042 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3043 * BufferView.C (fitLockedInsetCursor): remove
3044 * cursor.[Ch] (getDim): add
3045 * text.C (getRowNearY): add faster version
3046 * text3.C: remove some update calls
3048 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3060 * text3.C: The Character Style /XML short element patch.
3062 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3065 * factory.C: Small step to solving 'unable to insert some insets'
3068 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3070 * cursor.[Ch] (updatePos): new function for updating the y
3071 position of the tip inset
3072 * bufferview_funcs.C (put_selection_at):
3073 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3075 2003-11-11 André Pönitz <poenitz@gmx.net>
3077 * text.C: remove big comment on invalid Paragraph pointers as it is
3080 2003-11-11 André Pönitz <poenitz@gmx.net>
3082 * text_funcs.[Ch]: merge with ...
3090 * Makefile.am: remove text_funcs.[Ch]
3092 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3094 * cursor.C (getPos): return absolute cached y coord
3096 * BufferView_pimpl.C (fitCursor): new simplistic code
3097 (workAreaDispatch): add a fitCursor call
3099 2003-11-10 André Pönitz <poenitz@gmx.net>
3102 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3104 2003-11-10 André Pönitz <poenitz@gmx.net>
3106 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3107 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3108 indicate that the cursor needs to leave an inset
3110 * lyxtext.h: remove inset locking
3112 * cursor.[Ch]: re-implement functionality provided by inset locking
3115 * BufferView_pimpl.[Ch]:
3117 * bufferview_funcs.[Ch]:
3129 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3131 * PosIterator.[Ch]: replace the stack with a vector, add inset
3133 * iterators.[C]: adjust
3135 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3137 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3139 * paragraph_funcs.C (readParToken): put the correct id in the
3140 error item, not the id of the top paragraph
3142 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3144 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3145 * bufferview_funcs.C (put_selection_at): use the above
3147 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3149 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3151 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3153 * output_linuxdoc.h:
3154 * output_plaintext.h:
3156 * output_docbook.h: add #include statements
3158 2003-11-05 José Matos <jamatos@lyx.org>
3160 * output_docbook.[Ch]:
3161 * output_latex.[Ch]:
3162 * output_linuxdoc.[Ch]:
3163 * output_plaintext.[Ch]: New files for output formats.
3164 * output.[Ch]: New file for helper functions.
3167 * paragraph_funcs.[Ch]: output functions moved to new files.
3169 * outputparams.h: rename of latexrunparams.h
3177 * paragraph_funcs.[Ch]:
3178 * paragraph_pimpl.[Ch]:
3179 * tabular.[Ch]: rename ascii to plaintext
3180 and LatexRunParams to OutputParams.
3182 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3184 * iterators.[Ch] (text): require bv argument
3185 * undo.C (recordUndo):
3186 * lyxfunc.C (dispatch):
3187 * bufferview_funcs.C (put_selection_at): adjust
3189 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3191 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3193 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3195 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3198 2003-11-04 André Pönitz <poenitz@gmx.net>
3200 * cursor.[Ch]: restructure
3203 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3205 * iterators.[Ch] (asCursor): remove
3207 * lfuns.h: remove LFUN_INSET_EDIT
3213 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3215 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3217 * lyxfind.[Ch]: complete overhaul
3218 * BufferView_pimpl.C:
3220 * paragraph.[Ch] (insert): add
3222 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3226 * text.C: remove dead spellcheck code
3228 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * dispatchresult.h: add a val setter
3232 * cursor.C (dispatch): use a tempvar for data_[i]
3234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3236 * PosIterator.[Ch]: compile fix
3238 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3240 * text.C (cursorPar): deactivate the cursor cache
3242 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3244 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3246 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * text3.C (dispatch): adjust for new DisptchResult semantics.
3250 * lyxfunc.C (dispatch): handle update when return from
3251 Cursor::dispatch, adjust for new DispatchResult semantics.
3253 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3254 DispatchResult(true) mean to not update. Add class functions for
3255 setting dispatched and update, as well as reading.
3257 * cursor.C (dispatch): don't handle update here
3259 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3262 * trans_mgr.C: adjust
3264 * paragraph_funcs.C (readParToken): exception safety
3266 * lyxvc.h: store the vcs pointer in a scoped_ptr
3269 * lyxsocket.C (serverCallback): exception safety
3271 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3273 * ispell.C (clone): make it return a auto_ptr
3275 * factory.C (createInset): exception safety
3276 (readInset): exception safety
3278 * bufferlist.C (newBuffer): exception safety
3280 * Thesaurus.C (Thesaurus): use initialization for aik_
3282 * MenuBackend.C (expandToc): exception safety.
3284 2003-11-03 André Pönitz <poenitz@gmx.net>
3288 * bufferview_funcs.C: remove getInsetFromId()
3291 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3297 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3299 * PosIterator.C (distance, advance): new
3300 * bufferview_funcs.[Ch] (put_selection_at): new
3301 * iterators.[Ch] (lockPath): new
3303 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3305 * iterators.[Ch] (asPosIterator): added
3306 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3307 * PosIterator.[Ch]: added
3309 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * cursor.C (dispatch):
3314 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3316 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3317 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3318 contructor, add a class function dispatched. Remove operator>=
3320 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * debug.C: only use the default constructor for debugstream
3325 * main.C (main): include debug.h and setup the lyxerr streambuf
3328 2003-10-31 José Matos <jamatos@lyx.org>
3330 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3332 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3333 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3334 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3335 * paragraph_pimpl.C (simpleTeXSpecialC):
3336 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3337 add LatexRunParams argument.
3339 * exporter.C (Export): change call accordingly.
3341 * latexrunparams.h: add new member to take care of the other backends.
3342 2003-10-30 José Matos <jamatos@lyx.org>
3344 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3345 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3346 factorise code for paragraph output.
3348 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3351 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * text3.C (dispatch):
3354 * lyxfunc.C (dispatch):
3355 * cursor.C (dispatch):
3356 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3358 * dispatchresult.h: make the dispatch_result_t ctor explicit
3360 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3363 * buffer.C: small refactoring of docbook stuff
3365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3373 operator dispatch_result_t, and operators for == != and >=
3375 * cursor.C (dispatch): adjust for operator dispatch_result_t
3376 removal. comment out call to update
3378 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3380 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3391 * dispatchresult.h: new file, DispatchResult broken out of
3394 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3396 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3398 * text.C (rowBreakPoint): put a hack inside #if 0
3400 2003-10-28 André Pönitz <poenitz@gmx.net>
3404 * paragraph_funcs.C:
3407 * text2.C: general cleanup (lots of small stuff)
3409 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3411 * text2.C (cursorEnd): simple fix to the "end key goes to one
3412 before the end on last row" bug
3414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3416 * text.C (backspace): fix the "zombie characters"
3418 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3420 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3422 2003-10-27 André Pönitz <poenitz@gmx.net>
3424 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3426 * factory.C: handle new InsetPagebreak, InsetLine
3428 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3429 and move handling into new InsetPagebreak, InsetLine
3431 * BufferView_pimpl.C:
3433 * ParagraphParameters.C:
3434 * ParameterStruct.h:
3439 * paragraph_funcs.C:
3440 * paragraph_pimpl.C:
3446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3449 * lyxrow_funcs.[Ch]:
3455 * text3.C: remove lastPos uses in favour of Row::endpos
3457 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3459 * undo.C (performUndoOrRedo): fix two crashes by setting a
3460 cursor by hand and reordering some calls. Use bv->lockInset instead
3461 of inset->edit because the latter loses cursor information
3463 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3465 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3467 (rowBreakPoint): fix width. change point to point + 1.
3468 Add a missing check.
3470 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3473 * lyxfunc.C: fix (at least partly) the problems
3474 with the Nav menu and headers inside branch insets
3477 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3479 * paragraph.C (getChar): add strong asserts
3481 * lyxrow_funcs.C (lastPos): remove hideous hack
3483 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3484 (fill): adjust to that (avoid an infinite loop)
3486 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3488 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3490 2003-10-23 André Pönitz <poenitz@gmx.net>
3492 * RowList_fwd.h: change list<> to vector<> to gain speed
3493 after suggestion from Alfredo
3495 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3497 * lyxtext.h: move the bidi stuff from here...
3500 * Bidi.[Ch]: ... to here
3502 2003-10-23 André Pönitz <poenitz@gmx.net>
3505 * text.C (isLastRow, isFirstRow): new functions
3507 * paragraph.h: new width cache member
3509 * rowpainter.C: replace RowList::iterator with Row & where possible
3511 * lyxfunc.C: replace several view()->text with a single call
3513 * toc.C: fix 'unused' warning
3515 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3518 when woring with stream::pos_type
3519 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3521 2003-10-22 André Pönitz <poenitz@gmx.net>
3524 * text.C: use Row & instead of RowList::iterator
3526 * lyxrow.h: rename end() to endpos()
3532 2003-10-22 Angus Leeming <leeming@lyx.org>
3534 * buffer.[Ch] (fully_loaded): new member function, returning true
3535 only when the file has been loaded fully.
3536 Used to prevent the premature generation of previews and by the
3537 citation inset to prevent computation of the natbib-style label.
3539 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3540 templates are all set up.
3542 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3544 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3546 * text.C: fixed an "oops" in the "is a bit silly"
3549 2003-10-21 André Pönitz <poenitz@gmx.net>
3551 * FuncStatus.[Ch]: small stuff, whitespace
3553 * lyxfont.[Ch]: operator<<() for debug reasons
3557 * lyxtext.h: whitespace, spelling
3559 * paragraph.C: naming of variables
3562 * text2.C: small stuff
3565 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3567 * text.C: (1) finish off the inset display() work;
3568 (2) fix the "is a bit silly" bug (accessing char
3571 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3573 * text.C: re-introduce display() for insets, fixing the
3574 various bugs (stretch of line above, math inset
3577 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3579 * text.C (rightMargin): remove spurious semicolon
3581 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3584 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3586 * text3.C: fix one crash due to wrong cursor def
3588 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * vc-backend.C (scanMaster): make the regex static
3592 * LaTeX.C (scanAuxFile): make the regexs static
3594 * text3.C (doInsertInset, dispatch, dispatch):
3595 * text2.C (cursorUp, cursorDown):
3596 * text.C (selectNextWordToSpellcheck):
3597 * BufferView_pimpl.C (dispatch):
3598 * lyxfunc.C (dispatch): localDispatch -> dispatch
3600 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3602 * lyxsocket.C: include <cerrno>
3604 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * lyxfunc.C (dispatch): remove textcache stuff
3608 * bufferlist.C (release): remove textcache stuff
3611 * TextCache.C: delete file
3612 * TextCache.h: delete file
3614 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3616 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3617 delete of the bv_->text.
3618 (resizeCurrentBuffer): remove texcache stuff
3619 (workAreaResize): ditto
3621 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3626 2003-10-16 André Pönitz <poenitz@gmx.net>
3633 * text3.C: speed up by storing y positions per paragraph plus per-row
3634 offset instead of having a 'full' y position in the row.
3636 2003-10-15 André Pönitz <poenitz@gmx.net>
3640 * undo.[Ch]: make undo aware of inner insets
3642 2003-10-14 Angus Leeming <leeming@lyx.org>
3644 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3645 static member functions LyX::ref() and LyX::cref.
3646 (lastfiles): new accessor functions for the new lastfiles_ member var.
3647 (addLyXView, views_): add a new LyXView to the list of views_.
3648 (updateInset): loop over all LyXViews to call their own updateInset
3649 member function, returning a pointer to the Buffer owning the inset.
3651 * BufferView_pimpl.C (loadLyXFile):
3652 * MenuBackend.C (expandLastfiles):
3653 * bufferlist.C (MenuWrite, QuitLyX):
3654 lastfiles is no longer a global variable.
3655 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3657 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3658 static function. Access through LyX::cref().emergencyCleanup().
3660 2003-10-14 André Pönitz <poenitz@gmx.net>
3662 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3664 * undo.[Ch]: restoring part of 'undo in insets'
3667 * undo_funcs.[Ch]: merge with undo.[Ch]
3669 * tabular.C: small cleansing stuff
3671 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3673 * paragraph_funcs.C (readParToken): report unknown insets as error
3674 boxes. Use the outer paragraph as location (also for unknown
3677 * factory.C (readInset): do not abort on reading an unknown inset.
3678 Eat it and return 0.
3680 2003-10-13 Angus Leeming <leeming@lyx.org>
3682 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3684 * lyxrc.C: displayTranslator is now a function,
3685 declared in GraphicsTypes.h.
3687 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3689 * format.C: new placeholder $$a to pass the socket address.
3691 * bufferlist.[Ch]: new function getBufferFromTmp.
3693 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3694 files in the temporary dir.
3696 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3698 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3700 * Makefile.am: add lyxsocket.[Ch].
3702 * lyx_main.C (error_handler): handle SIGPIPE.
3704 2003-10-13 André Pönitz <poenitz@gmx.net>
3706 * BufferView_pimpl.C:
3711 * undo_funcs.[Ch]: use paroffset_type instead of
3712 ParagraphList::iterators to prevent multiple conversion
3713 (and get a more robust interface)
3715 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3719 * text3.C (dispatch): ditto
3721 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3724 move the onlyfile, use onlyfile instead of foundfile in a couple
3727 * DepTable.C (update): flush the error stream a bit more
3729 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * lyxserver.C (callback): adjust
3733 * lyxfunc.C (getStatus): add a missing brace in commented code
3734 (ensureBufferClean): reindent
3735 (dispatch): delete version taking a string
3737 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * LaTeX.C (deplog): move found file handlig from here...
3740 (handleFoundFile): .. to new function here.
3741 (deplog): make sure to discover several files mentioned on the
3744 2003-10-10 André Pönitz <poenitz@gmx.net>
3751 * text3.C: fix some of the tabular crashes
3753 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3755 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3757 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3759 2003-10-09 André Pönitz <poenitz@gmx.net>
3761 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3764 * BufferView_pimpl.C:
3765 * bufferview_funcs.C:
3776 * undo_funcs.C: adjust
3778 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * text2.C (incrementItemDepth): new function, use a backtracking
3781 algorithm to discover the correct item depth.
3782 (resetEnumCounterIfNeeded): new function, use a backtracking
3783 algorithm to discover if counter reset is needed.
3784 (setCounter): use them. Simplify a bit. Add different labels for
3785 different item depths for itemize.
3787 * paragraph.C (Paragraph): remove initialization of enumdepth
3790 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3791 enumerate and itemize. Change the type of itemdepth to signed char.
3793 2003-10-08 André Pönitz <poenitz@gmx.net>
3795 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3800 * tabular.[Ch]: fix crash after 'row-insert'
3802 2003-10-08 Angus Leeming <leeming@lyx.org>
3804 Fix doxygen warnings.
3806 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3807 Remove CutAndPaste:: prefix from header file declaration.
3809 * LColor.h (fill): remove LColor:: prefix from declaration.
3811 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3812 use lyx::depth_type rather than Paragraph::depth_type so that
3813 header file and .C file match.
3815 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3817 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3818 * aspell.C: \file aspell_local.C -> \file aspell.C
3819 * gettext.C: \file gettext.C -> \file src/gettext.C
3820 * gettext.h: \file gettext.h -> \file src/gettext.h
3821 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3822 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3823 * text.C: \file text.C -> \file src/text.C
3825 * toc.C: move comment so that doxygen is not confused.
3827 2003-10-07 Angus Leeming <leeming@lyx.org>
3829 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3831 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3834 * aspell_local.h: add forgotten std::string's.
3836 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3843 * text3.C: The Box patch. Fancybox support, minipage, parbox
3845 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3851 * ParagraphParameters.h:
3861 * lyxtextclasslist.h:
3864 * paragraph_pimpl.C:
3865 * textcursor.h: add <string> and other small fixes to make Lars'
3866 std::string patch compile with STLport.
3868 2003-10-06 Angus Leeming <leeming@lyx.org>
3870 * LColor.h: Add missing #include <string>.
3872 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * All most all file in all subdirs: Make <string> be the prefered
3875 way of getting to std::string, add using declarations.
3877 2003-10-06 André Pönitz <poenitz@gmx.net>
3879 * metricsinfo.C: initialize LyXFont before changing attribute.
3880 (fixes the 'math in \emph is upright' bug)
3882 2003-10-06 André Pönitz <poenitz@gmx.net>
3884 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3886 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3889 * paragraph_pimpl.C: Small fixes to build using STLport
3891 2003-10-02 André Pönitz <poenitz@gmx.net>
3894 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3896 2003-10-01 André Pönitz <poenitz@gmx.net>
3898 * factory.C: assert early
3900 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * lyx_main.C: remove the global debug object
3904 * debug.h: adjust for new debugstream
3906 * debug.C: adjust for new debugstream and keep the global debug
3909 2003-09-22 Angus Leeming <leeming@lyx.org>
3911 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3912 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3913 an incomplete class LyXFont.
3915 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3917 * factory.C: bug fix in branches
3919 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * lyxfunc.C (processKeySym): adjust
3923 (dispatch): change arg name from ev to func, adjust
3924 (sendDispatchMessage): ditto
3926 * lyx_main.C (defaultKeyBindings): adjust keybindings
3927 (deadKeyBindings): ditto
3929 * kbsequence.C (addkey): return a FuncRequest
3931 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3933 * kbmap.C (bind): take a FuncRequest as arg, adjust
3936 (defkey): change to take a FuncRequest as arg, adjust
3937 (findbinding): take a FuncRequest as arg, adjust.
3939 * funcrequest.h (operator=): added
3941 * funcrequest.C (FuncRequest): default kb_action changed from
3942 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3944 * buffer.C (dispatch): simplify
3945 (dispatch): adjust to take a FuncRequest as arg, adjust
3947 * boost.C (assertion_failed): change assertion message slightly
3949 * ToolbarBackend.C (read): simplify
3951 * MenuBackend.C (binding): adjust call to findbinding, add a
3952 message if no binding is found.
3954 (expandToc): correct by adding a empty FuncRequest
3956 * LyXAction.C: include <boost/assert.hpp>
3957 (isPseudoAction): delete function
3958 (LookupFunc): change name to...
3959 (lookupFunc): this. change return type to FuncRequest.
3960 (getActionName): take kb_action as arg, simplify
3961 (funcHasFlag): add an assert, simplify.
3963 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * toc.C (action): return a FuncRequest, simplify
3967 * lyxfunc.C (processKeySym): adjust
3968 (getStatus): delete version that takes an int.
3970 (dispatch): delete version that takes action as int
3972 (sendDispatchMessage): simplify and adjust
3974 * funcrequest.C (getArg): take unsigned int as arg
3976 * ToolbarBackend.C (read): adjust
3977 (add): delete version that takes func as a string.
3978 (getIton): take a FuncRequest as arg
3980 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3983 * MenuBackend.C (MenuItem): add a new construct that only takes a
3984 Kind, simplify the constructor use for submenus.
3986 (expandLastfiles): adjust
3987 (expandDocuments): adjust
3988 (expandFormats): adjust
3989 (expandFloatListInsert): adjust
3990 (expandFloatInsert): adjust
3991 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3993 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3994 Remove class variables lyx_pseudo_map and lyx_arg_map
3996 * LyXAction.C (searchActionArg): delete function
3997 (getPseudoAction): delete function
3998 (retrieveActionArg): delete function
3999 (LookupFunc): make it return kb_action, simplify.
4000 (getActionName): simplify
4002 * factory.C (createInset): fix new bug
4004 2003-09-19 Angus Leeming <leeming@lyx.org>
4006 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4007 masterFilename_ parameter in the include inset.
4009 * factory.C (createInset): changes due to the changes to InsetInclude.
4011 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4013 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4015 2003-09-18 Angus Leeming <leeming@lyx.org>
4018 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4019 Inset::fillWithBibKeys.
4020 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4022 2003-09-18 Angus Leeming <leeming@lyx.org>
4024 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4026 (ctor): pass and store a 'Buffer const &'
4027 (buffer): new member function.
4029 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4030 '*this' to the LaTeXFeatures ctor.
4032 2003-09-18 Angus Leeming <leeming@lyx.org>
4038 * text.C: rename EnumLColor as LColor_color.
4040 2003-09-18 Angus Leeming <leeming@lyx.org>
4042 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4043 remove #include "insets/insetbase.h" from cursor.h.
4045 2003-09-18 Angus Leeming <leeming@lyx.org>
4047 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4048 InsetOld_code to remove #include "inset.h".
4050 * iterators.C: add #include "insets/inset.h"
4052 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4054 * BufferView.C: remove more locking stuff that apparently doesn't
4055 do anything sensible.
4057 2003-09-16 André Pönitz <poenitz@gmx.net>
4060 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4063 2003-09-16 Angus Leeming <leeming@lyx.org>
4065 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4067 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4070 * paragraph.h: remove #include "lyxfont.h". Forward declare
4073 2003-09-16 Angus Leeming <leeming@lyx.org>
4075 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4076 of support/textutils.h.
4077 (isWord): move the contents of support/textutils.h's IsWordChar here.
4083 * text2.C: add #include "paragraph.h".
4086 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4088 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * LaTeX.C: use namespace alias for lyx::support::os
4096 2003-09-16 Angus Leeming <leeming@lyx.org>
4099 * bufferview_funcs.C:
4102 * paragraph_pimpl.C:
4104 * text.C: add #include "LColor.h".
4106 2003-09-16 Angus Leeming <leeming@lyx.org>
4108 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4109 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4111 Store the FontBits::color variable as an int rather than as an
4112 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4115 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4116 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4117 string calls together.
4119 * lyxrc.C: add #include "LColor.h".
4121 2003-09-15 Angus Leeming <leeming@lyx.org>
4123 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4126 2003-09-15 Angus Leeming <leeming@lyx.org>
4128 * LColor.h: add an EnumLColor wrapper for LColor::color.
4130 * lyxfont.[Ch] (color, setColor, realColor):
4131 * lyxtext.h, text.C (backgroundColor):
4132 pass EnumLColor args to/from the functions, rather than LColor::color
4136 * lyxtext.h: forward declare EnumLColor.
4138 * lyx_main.C: add #include "LColor.h".
4140 2003-09-15 Angus Leeming <leeming@lyx.org>
4142 * .cvsignore: add lyx-gtk.
4144 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * ParagraphParameters.C
4153 * bufferview_funcs.C
4163 * vc-backend.C: remove usage of STRCONV
4165 2003-09-15 Angus Leeming <leeming@lyx.org>
4167 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4168 explicitly define the color passed to the painter.
4170 2003-09-15 Angus Leeming <leeming@lyx.org>
4172 * bufferparams.C (BufferParams): reorder member initializers to avoid
4175 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4177 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4178 * text.C (updateRowPositions): remove an unusual nop
4180 2003-09-12 André Pönitz <poenitz@gmx.net>
4182 * BufferView_pimpl.C:
4191 * Counters.[Ch]: finish the 'automatic counters' job
4193 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4195 * aspell.C: include <boost/assert.cpp> (compile fix)
4197 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4199 * boost.C (assertion_failed): use lyx::support::abort instead of
4202 2003-09-10 Angus Leeming <leeming@lyx.org>
4204 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4205 with their _fwd progeny.
4207 2003-09-09 Angus Leeming <leeming@lyx.org>
4209 134 files throughtout the source tree: replace 'using namespace abc;'
4210 directives with the appropriate 'using abc::xyz;' declarations.
4212 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4214 * boost.C (emergencyCleanup): moved here from LAssert.c
4215 (assertion_failed): new function, called by BOOST_ASSERT
4217 * several files: change Assert to BOOST_ASSERT
4219 2003-09-09 Angus Leeming <leeming@lyx.org>
4221 * buffer.[Ch]: Add an Impl class and move Buffer's member
4222 variables into it. As a result move several header files out of
4225 Add header files to lots of .C files all over the tree as a result.
4227 2003-09-09 Angus Leeming <leeming@lyx.org>
4229 * buffer.[Ch]: make Buffer's member variables private. Add
4232 Lots of changes all over the tree as a result.
4234 2003-09-08 Angus Leeming <leeming@lyx.org>
4236 * graph.C: #include <config.h>.
4238 2003-09-08 Angus Leeming <leeming@lyx.org>
4242 * BufferView_pimpl.C:
4271 * toc.C: remove redundant using directives.
4273 2003-09-07 Angus Leeming <leeming@lyx.org>
4275 * LaTeXFeatures.h: remove #include "support/types.h".
4276 * ToolbarBackend.h: remove #include <algorithm>.
4277 * changes.h: remove #include <ctime>.
4278 * debug.h: remove #include <iosfwd>.
4279 * graph.h: remove #include "support/std_string.h".
4280 * lyx_main.h: remove #include <csignal>.
4281 * lyxlex_pimpl.h: remove #include <fstream>.
4282 * sgml.h: remove #include <algorithm>, <utility>.
4283 * toc.h: remove #include "support/std_ostream.h".
4284 Add #include <iosfwd>.
4286 2003-09-07 Angus Leeming <leeming@lyx.org>
4288 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4290 * converter.h: forward declare LatexRunParams.
4291 * encoding.h: remove #include "lyxrc.h".
4292 * lyxtext.h: remove #include "LColor.h".
4293 * lyxtextclass.h: remove #include "support/types.h".
4294 * trans.h: remove #include "tex-accent.h".
4295 * trans_mgr.h: remove #include "tex-accent.h".
4296 * insets/inset.h: remove #include "support/types.h", <vector>.
4297 * insets/insetcollapsable.h: remove #include "LColor.h".
4298 * insets/insetinclude.h: remove #include "dimension.h".
4299 * insets/insetlatexaccent.h: remove #include "dimension.h".
4300 * insets/insetoptarg.h:: remove #include "insettext.h".
4301 * insets/insettext.h: remove #include "dimension.h",
4302 <boost/shared_ptr.hpp>
4304 * insets/renderers.h: add #include "dimension.h".
4305 * insets/updatableinset.h: add #include "support/types.h".
4307 * many .C files: Associated changes.
4309 2003-09-06 Angus Leeming <leeming@lyx.org>
4311 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4312 one, inside testInvariant.
4314 * PrinterParams.C: new file.
4315 * PrinterParams.[Ch]: move the function bodies out of line.
4317 2003-09-06 Angus Leeming <leeming@lyx.org>
4319 * ParagraphParameters.h: forward declare ParameterStruct rather than
4320 including its header file.
4321 (depth): moved out-of-line.
4323 2003-09-06 Angus Leeming <leeming@lyx.org>
4325 * BufferView_pimpl.h:
4328 * lyxfunc.h: forward declare LyXKeySym rather than
4329 #include "frontends/LyXKeySym.h".
4331 * BufferView_pimpl.C:
4334 * lyxfunc.C: associated changes.
4336 2003-09-06 Angus Leeming <leeming@lyx.org>
4338 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4339 As a result, can remove the #include "insets/inset.h" from BufferView.h
4341 2003-09-06 Angus Leeming <leeming@lyx.org>
4343 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4344 As a result, can remove the #include "insets/inset.h" from BufferView.h
4346 2003-09-06 Angus Leeming <leeming@lyx.org>
4352 * bufferview_funcs.C:
4353 * BufferView_pimpl.C:
4358 * ParagraphParameters.C:
4363 * frontends/controllers/ControlDocument.C:
4364 * insets/insetcaption.C: rearrange the #includes into some sort of
4367 * buffer.h: remove #includes ErrorList.h, undo.h
4369 2003-09-06 Angus Leeming <leeming@lyx.org>
4371 * support/types.h: add a 'depth_type' typedef, used to store the
4372 nesting depth of a paragraph.
4375 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4376 defining explicitly.
4379 * paragraph_funcs.h:
4380 * ParagraphParameters.h:
4381 * sgml.h: use lyx::depth_type rather than Paragraph or
4382 ParameterStruct's depth_type.
4385 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4388 * BufferView_pimpl.C:
4390 * ParagraphParameters.C:
4393 * bufferview_funcs.C:
4400 * frontends/LyXView.C:
4401 * frontends/controllers/ControlDocument.C:
4402 * frontends/controllers/ControlErrorList.C:
4403 * insets/insetbibitem.C:
4404 * insets/insetbranch.C:
4405 * insets/insetcaption.C:
4406 * insets/insetcollapsable.C:
4407 * insets/insetenv.C:
4408 * insets/insetert.C:
4409 * insets/insetfloat.C:
4410 * insets/insetfoot.C:
4411 * insets/insetfootlike.C:
4412 * insets/insetnewline.C:
4413 * insets/insetquotes.C:
4414 * insets/insettabular.C:
4415 * insets/insettext.C:
4416 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4418 * frontends/controllers/ControlChanges.C: #include "changes.h".
4420 2003-09-06 Angus Leeming <leeming@lyx.org>
4422 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4423 than #including paragraph.h.
4426 * RowList.h: deleted. Superfluous.
4436 * insets/insettext.h: use ParagraphList_fwd.h rather than
4439 * paragraph.h: don't forward declare ParagraphList.
4442 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4443 rather than ParagraphList.h. paragraph.h is still needed for the
4444 Paragraph::depth_type parameters.
4446 * textcursor.h: enable it to compile stand-alone in light of the
4449 * bufferview_funcs.C:
4461 * frontends/controllers/ControlParagraph.C:
4462 * frontends/controllers/ControlTabular.C:
4463 * insets/insetmarginal.C:
4464 * insets/insetminipage.C:
4465 * insets/insetnote.C:
4466 * insets/insetoptarg.C: add header files needed to compile again.
4468 2003-09-06 Angus Leeming <leeming@lyx.org>
4470 * RowList_fwd.h: new file, forward-declaring Row rather than
4471 #including lyxrow.h.
4476 * insets/insettext.h: use it instead of RowList.h
4478 * bufferview_funcs.C:
4485 * text3.C: #include "RowList.h".
4487 2003-09-05 Angus Leeming <leeming@lyx.org>
4489 * factory.C (createInset):
4490 * vspace.C (c-tor): replace sscanf call with an istringstream.
4491 * ispell.C: re-add missing HP/UX headers.
4492 * lyxserver.C: re-add missing os2 headers.
4494 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4503 * text3.C: re-add missing system headers, needed for 2.95.2.
4505 2003-09-05 Angus Leeming <leeming@lyx.org>
4507 Changes most place everywhere due to the removal of using directives
4508 from support/std_sstream.h.
4510 2003-09-05 Angus Leeming <leeming@lyx.org>
4512 Replace LString.h with support/std_string.h,
4513 Lsstream.h with support/std_sstream.h,
4514 support/LIstream.h with support/std_istream.h,
4515 support/LOstream.h with support/std_ostream.h.
4517 Changes resulting throughout the tree.
4519 2003-09-05 Angus Leeming <leeming@lyx.org>
4521 * sgml.h: ensure that the header file can be compiled stand-alone.
4522 * *.C: strip out redundant #includes. (320 in total.)
4524 2003-09-04 Angus Leeming <leeming@lyx.org>
4526 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4527 here (from getPackages).
4529 * debug.[Ch]: add a new EXTERNAL tag.
4531 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4533 * text2.C (cursorEnd): simplify
4535 (getColumnNearX): adjust
4537 * text.C (computeBidiTables): adjust
4540 * rowpainter.C (paintChars): adjust
4541 (paintSelection): adjust
4542 (paintChangeBar): adjust
4545 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4547 (numberOfSeparators): adjust
4549 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4555 * text3.C: Restricts the mouse click functionality
4556 of insets like bibtex, include, toc and floatlist to the visible
4557 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4558 up the dialogs. Cursor has to be in front of the inset (i.e.
4559 start of row) for this to function.
4561 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4563 * bufferview_funcs.C (currentState): output row information
4565 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4567 * bufferview_funcs.C (currentState): output paragraph position
4569 2003-09-04 Angus Leeming <leeming@lyx.org>
4571 * FloatList.h: move out #include "Floating.h".
4572 * LaTeX.h: move out #include "DepTable.h".
4573 * LyXAction.h: move out #include "funcrequest.h".
4574 * buffer.h: move out #include "author.h", "iterators.h".
4575 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4576 * lyx_main.h: move out #include "errorlist.h".
4577 * lyxfunc.h: move out #include "FuncStatus.h".
4578 * lyxtext: move out #include "lyxcursor.h".
4579 * paragraph_pimpl.h: move out #include "counters.h".
4581 2003-09-03 Angus Leeming <leeming@lyx.org>
4583 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4584 preamble_snippets list, enabling us to add snippets to the preamble
4585 only if the snippet was not there already.
4587 2003-09-04 Angus Leeming <leeming@lyx.org>
4589 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4591 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4596 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4598 * BranchList.C: point fix, earlier forgotten
4600 2003-09-02 Angus Leeming <leeming@lyx.org>
4602 * box.C (contains): renamed from 'contained' after a fantastic
4605 2003-09-02 John Levon <levon@movementarian.org>
4611 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4613 2003-09-02 John Levon <levon@movementarian.org>
4615 * text2.C: simplification of cursorEnd(), including partial
4618 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * buffer.C (readFile): add a space
4622 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4624 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4626 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * buffer.C (readFile): new function, take a filename and a
4629 ParagraphList::iterator
4631 (readFile): adjust, make it private. don't use setStream, make
4632 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4633 always contain the filename.
4635 * BufferView.C (insertLyXFile): simplify and make it work for
4638 2003-08-30 John Levon <levon@movementarian.org>
4640 * Makefile.am: fix dist (from Kayvan)
4642 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4644 * most files: change to use const Buffer refs
4646 2003-08-27 André Pönitz <poenitz@gmx.net>
4648 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4649 on top of ownerPar().
4651 2003-08-27 John Levon <levon@movementarian.org>
4653 * funcrequest.C: properly initialise POD members
4655 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4657 * lyxtext.h (top_y): move top_y from here
4662 * BufferView_pimpl.[Ch]: to here
4663 * frontends/screen.C:
4664 * insets/insettabular.C:
4665 * insets/insettext.C: adjust
4666 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4668 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4671 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4673 2003-08-26 André Pönitz <poenitz@gmx.net>
4675 * paragraph_func.[Ch] (outerPar): new function
4678 * paragraph_funcs.C:
4679 * paragraph_funcs.h:
4680 * paragraph_pimpl.C:
4681 * text2.C: remove Inset::par_owner
4683 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4688 * text2.C: eliminates the needFullRow/display() stuff
4689 altogether, putting the logic in metrics/draw in the insets.
4691 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4693 * text2.C (redoParagraphInternal, redoParagraphs):
4694 * text.C (redoParagraph): add a call to updateRowPositions at the
4695 end of each 'metrics-like' call. Remove all others.
4696 (getRow): remove the 'y-computing' version.
4697 (getRowNearY): do not compute nor return the real y. Solve the
4698 'y < 0' problem and simplify.
4700 2003-08-22 Angus Leeming <leeming@lyx.org>
4702 * *.[Ch]: clean-up of licence and author blurbs.
4703 Also move config.h out of a few .h files and into a few .C files.
4705 2003-08-22 André Pönitz <poenitz@gmx.net>
4707 * lyxrow.[Ch]: add x_ and *fill_ members
4712 * text2.C: adjust/remove prepareToPrint() calls
4714 2003-08-22 André Pönitz <poenitz@gmx.net>
4716 * lyxrow.[Ch]: add end_ member
4718 * lyxrow_funcs.C: use LyXRow::end_
4720 * lyxtext.h (singleWidth): add LyXFont parameter
4723 * text2.C: adjust LyXText::singleWidth() calls
4725 * text.C (redoParagraph): simplify row breaking logic
4728 2003-08-19 André Pönitz <poenitz@gmx.net>
4730 * funcrequest.C: initialize button_ member
4733 * rowpainter.[Ch]: interface consolidation
4735 2003-08-18 André Pönitz <poenitz@gmx.net>
4738 * BufferView_pimpl.C:
4740 * paragraph_funcs.C:
4742 * text3.C: remove LyXScreen::draw() and fitCursor calls
4744 * BranchList.h: remove spurious semicolons
4746 * MenuBackend.C: fix branchlist related crash
4748 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4756 * bufferparams.[Ch]:
4760 * text3.C: implements the 'branch inset'
4761 idea. This allows the output of various versions of a document
4762 from a single source version, selectively outputing or suppressing
4763 output of parts of the text.
4764 This implementation contains a 'branch list editor' in a separate
4765 tab of the document settings dialog. Branches are user definable
4766 and have a "display colour" to distinguish them on-screen.
4768 ColorHandler was somewhat cleaned up.
4769 (1) make possible a dynamically growing LColor list by allowing
4770 the graphic context cache to grow along (vector);
4771 (2) eliminate an IMHO unnecessary step in colour allocation.
4773 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4775 * BufferView_pimpl.C: compile fix
4777 2003-08-15 André Pönitz <poenitz@gmx.net>
4779 * rowpainter.C: remove extra metrics calls
4781 * lyxtext.h: merge the two constructors into a single one,
4782 pass reference to owner's par list
4784 * BufferView_pimpl.C:
4788 2003-08-15 André Pönitz <poenitz@gmx.net>
4790 * lyxrow_funcs.[Ch]:
4793 * paragraph_funcs.C:
4798 * text_funcs.C: split LyXText::rowlist_ into individual
4799 Paragraph::rows_ chunks
4802 * BufferView_pimpl.[Ch]:
4805 * text3.C: remove toggleSelection()
4807 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4809 * bufferlist.C: beautify two alerts (shorter text of buttons)
4810 * buffer.C: Remove redundant ' ' from message
4812 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4813 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4814 rename VALIGN_CENTER to VALIGN_MIDDLE
4816 2003-08-11 André Pönitz <poenitz@gmx.net>
4818 * lyxtext.h (getPar):
4819 * text.C: new function
4821 2003-08-11 André Pönitz <poenitz@gmx.net>
4824 * tracer.[Ch]: remove unneeded files
4826 * InsetList.[Ch]: remove resizeInsetsLyXText()
4831 * text3.C: merge insertParagraphs() and appendParagraph()
4832 remove breakAgain(), update()
4834 * BufferView_pimpl.[Ch]:
4835 * bufferview_funcs.[Ch]:
4839 * tabular.C: adjust after text & InsetList changes.
4841 2003-08-08 André Pönitz <poenitz@gmx.net>
4843 * text.C (insertChar, backspace): replace rowlist fiddling
4844 with rebreak of full par
4847 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4848 checkParagraph, updateInset): removed
4850 2003-08-07 André Pönitz <poenitz@gmx.net>
4853 * text3.C: merge some LFUN handlers, remove dead code
4855 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4857 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4859 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4861 * text2.C (DEPM): fix part of bug 1255 and 1256
4863 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4865 * BufferView_pimpl.C (workAreaDispatch): change to use
4866 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4867 that are no mouse related.
4869 2003-08-05 André Pönitz <poenitz@gmx.net>
4872 * BufferView_pimpl.[Ch]:
4873 * bufferview_funcs.C:
4875 * text3.C: rip out "deep update"
4877 * textcursor.[Ch] (last_sel_cursor): remove unused member
4879 2003-08-04 André Pönitz <poenitz@gmx.net>
4882 * BufferView_pimpl.[Ch]:
4883 * ParagraphParameters.C:
4884 * bufferview_funcs.C:
4890 * text3.C: replace "complicated" BufferView::update(...) calls with
4893 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4895 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4897 * Makefile.am (lyx_SOURCES): add paper.h
4899 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4901 * Makefile.am: move things around so that both lyx-qt and
4902 lyx-xforms can be built (according to --with-frontend). Then lyx
4903 is a symbolic link to lyx-[firstfrontend]
4905 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4907 * Always use std::endl with lyxerr
4909 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4911 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4913 2003-08-01 André Pönitz <poenitz@gmx.net>
4916 * BufferView_pimpl.[Ch]:
4918 * text3.C: merge BufferView::repaint() and BufferView::update()
4920 2003-08-01 José Matos <jamatos@lyx.org>
4922 * buffer.[Ch]: file_format is no longer a buffer data element.
4924 2003-08-01 André Pönitz <poenitz@gmx.net>
4929 * text2.C: make redoParagraph more independent of current cursor
4931 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4933 * text2.C: remove unneeded members
4935 2003-07-30 André Pönitz <poenitz@gmx.net>
4937 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4939 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4940 create a single function...
4942 * paragraph_funcs.C (moveItem): ... here.
4945 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4947 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4949 * LColor.[Ch]: Add comment and greyedout logical colors.
4951 2003-07-30 André Pönitz <poenitz@gmx.net>
4953 * tabular.C: don't use Assert too heavily. This crashes where it
4956 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4958 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4959 is disabled (bug 1232)
4961 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4963 * factory.C: limited 'arg' scope
4965 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4967 * factory.C: fixed Note submenu issues
4969 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4971 * factory.C: submenu for Note/Comment/Greyedout
4973 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4976 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4978 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4981 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4982 greyedout. Patch provided by Jürgen Spitzmüller.
4984 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4986 * kbmap.C (read): fix error message when reading bind files
4988 2003-07-29 Angus Leeming <leeming@lyx.org>
4990 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4991 certainly does not do what it purports to do. I am doing it, and
4992 us, a favour by killing it.
4994 2003-07-28 José Matos <jamatos@lyx.org>
4996 * buffer.C (readBody, do_writeFile):
4997 * paragraph.C(readParagraph): \end_document replaces \the_end.
4999 2003-07-29 André Pönitz <poenitz@gmx.net>
5002 * BufferView_pimpl.[Ch]:
5006 * textcursor.[Ch]: remove toggleToggle & Co
5008 2003-07-28 José Matos <jamatos@fep.up.pt>
5010 * buffer.C (readParagraph):
5011 * params_func (readParToken, readParagraph):
5012 * paragraph.C (write): \layout -> \begin_layout.
5014 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5016 * lyxlex_pimpl.C (setFile): clean up slightly.
5018 * bufferparams.h: add compressed var
5020 * buffer_funcs.C (readFile): adjust for LyXLex change
5021 (newFile): ditto + simplify
5023 * buffer.C (writeFile): handle writing of compressed files
5025 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5026 Check if the file is compressed and set a bufferparm if so.
5028 * Makefile.am (lyx_LDADD): remove explicit -lz
5030 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5032 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5033 makeDocBookFile): put the real LyX version in the first line of
5037 * version.C.in: remove lyx_docversion
5039 * tabular.C (write_attribute): add a template-based version to
5040 write enums properly
5042 2003-07-28 André Pönitz <poenitz@gmx.net>
5047 * text3.C: use doubles again for x-coordinates. They are needed.
5049 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * messages.C (getLocaleDir): use lyx_localedir()
5053 * lyxlex_pimpl.C (setFile): compress stuff
5055 * buffer.C (writeFile): add some compression stuff
5056 (do_writeFile): new func, dont call expliti close... will this
5059 * Makefile.am (lyx_LDADD): add -lz
5061 2003-07-28 José Matos <jamatos@fep.up.pt>
5063 * buffer.C: increment file format.
5064 * paragraph_funcs (readParagraph, readParToken):
5065 * paragraph.C (readParagraph): add \end_layout.
5067 2003-07-27 Angus Leeming <leeming@lyx.org>
5069 * Makefile.am: remove special casing for configure-time setting of
5070 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5072 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5073 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5075 2003-07-26 André Pönitz <poenitz@gmx.net>
5077 * paragraph_func.[Ch]:
5078 * paragraph.C (realizeFont): inline it whereever it is used
5083 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5086 2003-07-26 André Pönitz <poenitz@gmx.net>
5090 * text2.C: get rid of LyXText::need_break_row
5092 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * toc.[Ch]: put namespace toc inside namespace lyx
5096 * MenuBackend.C (expandToc2): adjust for lyx::toc
5099 * lyxfunc.C (dispatch): adjust for lyx::find
5101 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5102 lyx::find instead. Reorganize a bit.
5103 (LyXReplace): rename to replace
5104 (LyXFind): rename to find
5106 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5109 2003-07-26 André Pönitz <poenitz@gmx.net>
5111 * text.C (setHeightOfRow): restrict scope of temporary variable
5113 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5114 code (never has been used?)
5116 2003-07-27 Asger Alstrup <alstrup@local>
5118 * text.C (fill): Optimise algorithm to exploit that we can reuse
5119 the LyXFont for many characters.
5120 (setHeightOfRow): Same thing.
5121 (rowBreakPoint): Same thing.
5123 2003-07-26 Asger Alstrup <alstrup@local>
5125 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5127 * text.C (singleWidth): Spurious font copying in hot-spot
5128 singleWidth avoided. Reorder tests for arabic for efficiency.
5130 * text.C (fill): handle empty paragraphs better.
5132 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5135 * encoding.h: add includes
5137 * lyxrc.C: remove reading of bind files
5139 * lyx_main.C (init): setup bindings and menus only if we have a
5142 * kbmap.C (read): new method. Do the actual reading of bind
5145 * converter.C (dvipdfm_options):
5148 (output): adapt PAPER_* enums.
5150 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5152 * bufferparams.h: remove paper-related enums from there
5154 * paper.h: New file. A trivial header file to hold paper-related
5155 enums. It should later expand to contain many paper-related
5158 * lyxrc.C: declare extern displayTranslator
5160 2003-07-27 José Matos <jamatos@fep.up.pt>
5162 * tabular.[Ch] (linuxdoc): add support for tables and figures
5165 2003-07-27 José Matos <jamatos@fep.up.pt>
5167 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5168 consistency in both functions.
5169 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5171 2003-07-26 Asger Alstrup <alstrup@local>
5173 * rowpainter.C (paintRows): Change algorithm to work directly on
5174 the insets rather than asking every character in the document
5175 whether its an inset.
5177 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5179 * buffer.C (openFileWrite): factorize some code
5181 2003-07-26 Angus Leeming <leeming@lyx.org>
5184 * lyx_main.[Ch]: replace occurances of system_tempdir with
5187 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * rename Inset to InsetOld
5191 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5193 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5194 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5195 which I think is a bit clearer. EDIT is gone, since it was
5196 premature optimisation, and broken for mathed anyway.
5197 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5198 with cursor positioning in insets as well (math insets still do not
5199 work, but that's a different story anyway.) It mysteriously
5200 crashes sometimes with undo in the first paragraph, but I'm fairly
5201 confident that this is a compiler bug.
5203 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * paragraph.C (Paragraph): adjust for new clone return type
5207 (copyIntoMinibuffer): ditto
5209 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5211 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5212 by not having a special case, and always doing a full rebreak of
5213 the document after undo.
5215 2003-07-23 Angus Leeming <leeming@lyx.org>
5217 * factory.C (createInset): InsetExternal::setParams now takes a
5220 2003-07-23 Angus Leeming <leeming@lyx.org>
5222 * factory.C (createInset): changed interface to the external and
5223 graphics mailers' string2params functions.
5225 2003-07-23 Angus Leeming <leeming@lyx.org>
5227 * factory.C (createInset): pass a
5228 Buffer const * parameter to InsetExternalMailer's string2params.
5230 2003-07-22 John Levon <levon@movementarian.org>
5232 * Thesaurus.h: include the right aiksaurus header
5234 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5236 * MenuBackend.C (expand): check menu shortcuts unconditionally
5238 2003-07-21 Angus Leeming <leeming@lyx.org>
5240 * factory.C (createInset): pass a
5241 buffer_path parameter to InsetGraphicsMailer's string2params.
5243 2003-07-21 Angus Leeming <leeming@lyx.org>
5245 * BufferView_pimpl.C (buffer):
5248 * lyxfunc.C (dispatch):
5249 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5250 rather than the grfx shortcut.
5252 2003-07-21 André Pönitz <poenitz@gmx.net>
5254 * rowpainter.C: remove unused variables
5257 * tabular_funcs.h: move to tabular.C
5258 * Makefile.am: adjust
5260 * tabular.[Ch]: basic optical cleaning
5262 * author.h: pass references, not values
5264 2003-07-18 André Pönitz <poenitz@gmx.net>
5272 * text3.C: two-phase drawing for InsetText and InsetTabular
5273 some float -> int changes.
5275 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5277 * lyx_main.C: fix the fix
5279 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5281 * lyx_main.C: fix a crash in batch mode if no files specified
5284 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5286 * format.[Ch] (papersize): moved to BufferParams
5287 * converter.[Ch] (dvips_options): moved to BufferParams
5288 (dvipdfm_options): moved to anon namespace
5289 * bufferparams.[Ch]: added above functions.
5291 2003-07-17 André Pönitz <poenitz@gmx.net>
5295 * text2.C: don't call inset->update() anymore
5297 * metricsinfo.[Ch]: add convenience constructor
5299 2003-07-16 André Pönitz <poenitz@gmx.net>
5304 * text2.C: replace the LyXCursor::irow_ member with
5305 on-demand computation of the value
5307 2003-07-16 John Levon <levon@movementarian.org>
5309 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5311 2003-07-15 André Pönitz <poenitz@gmx.net>
5314 * text2.C: remove no more needed refresh_row
5316 2003-07-15 André Pönitz <poenitz@gmx.net>
5321 * text3.C: refresh_status tristate -> need_update bool
5323 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5325 * lyxtext.h (init): remove reinit argument (act as if always true)
5326 * text2.C: adjust to that
5328 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5330 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5331 * text3.C: use it to delete selections in some cases
5332 (bugs 441, 673, 702, 954).
5334 2003-07-14 André Pönitz <poenitz@gmx.net>
5336 * rowpainter.[Ch]: reduce interface
5338 2003-07-14 André Pönitz <poenitz@gmx.net>
5340 * BufferView_pimpl.C:
5341 * text2.C: adjust after removing unused BufferView * argument
5343 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5345 * text2.C (init): fix a crash fired on resize
5347 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5349 * buffer.[Ch]: added new closing signal
5350 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5351 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5352 BufferView::Pimpl via the closing the signal
5354 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5356 * buffer.[Ch]: take out all bv-related from buffer
5358 * BufferView_pimpl.[Ch]: connect to new signals
5359 * CutAndPaste.C: removed useless asserts
5360 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5363 * lyxfunc.C: moved view-related funciontality from vc here
5364 * paragraph.C: removed outdated comments
5367 2003-07-10 André Pönitz <poenitz@gmx.net>
5369 * BufferView_pimpl.C:
5373 * text2.C: remove InsetText::InnerCache, clean up consequences
5375 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5377 * ispell.C: fix two typos in error messages
5379 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5381 * Extend Note inset to other forms of annotation like Comment
5382 and Greyedout. Right button click gives dialog.
5384 Files modified or added (+):
5388 * ControlNote.[Ch] +
5390 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5391 frontends/controllers
5395 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5397 * aspell.C: add missing namespace lyx::support
5399 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5401 * BufferView.[Ch] (newFile): Add
5402 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5403 * LaTeX.[Ch] (message): added this signal and use it
5404 * buffer.[Ch] (busy, message): added these signals and use them
5405 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5409 * importer.C: use buffer signals instead of direct bv calling
5410 * lyx_cb.[Ch] (ShowMessage): removed
5413 * paragraph_funcs.C:
5414 * text2.C: use buffer signals
5416 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * introduce namespace lyx::graphics
5420 2003-07-02 André Pönitz <poenitz@gmx.net>
5422 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5424 2003-07-01 André Pönitz <poenitz@gmx.net>
5431 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5432 text*.C to text_func.C
5434 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * introduce namespace lyx::support
5438 2003-06-30 André Pönitz <poenitz@gmx.net>
5443 * text.C: re-enable --with-included-string
5445 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * textcursor.C: add <config.h>
5449 * text.C (getWord): remove const from word_location arg
5451 * lyxvc.C (getLogFile): fix const type order
5453 * lyxtext.h: remove const from word_location arg, add arg name
5455 * lyxlayout.h: currect type on labeltype.
5457 * importer.C: correct \file
5459 * converter.C (intToFormat): use std:: on ret val, ws changes
5461 * bufferlist.h: correct \file
5463 * buffer.C (makeLinuxDocFile): fix const type order
5464 (makeDocBookFile): ditto
5465 (fillWithBibKeys): use std:: on stdlib args.
5467 * CutAndPaste.C: fix authors.
5468 (availableSelections): use std:: on return vector
5470 2003-06-27 André Pönitz <poenitz@gmx.net>
5472 * BufferView_pimpl.C:
5473 * bufferview_funcs.C:
5481 * text3.C: remove LyXCursor::row_ member
5484 * text.C: rename fullRebreak() to partialRebreak() and implement
5485 a fullRebreak() that really bereks fully
5487 * textcursor.h: new struct for cursor-related data
5489 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5491 * lyx_main.C (LyX): get full path of document loaded on the
5494 2003-06-26 André Pönitz <poenitz@gmx.net>
5496 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5497 remove unused/broken operator>,<,>=.
5499 * text.C: remove only use of broken operator<= in an Assert().
5501 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5503 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5504 moved errorlist_.clear to showErrorList
5506 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5508 * converter.C (scanLog, runLaTeX):
5509 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5510 move the bv->showErrorList call to the callers
5511 * lyxfunc.C: i.e. here...
5513 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5514 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5515 namespace, the second to...
5516 * buffer_funcs (BufferFormat, parseErrors): added
5517 * errorlist.C (ErrorList(TeXErrors const &)): removed
5519 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5521 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5523 2003-06-24 "Garst R. Reese" <reese@isn.net>
5527 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5529 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5531 * version.C.in: change docversion to 1.4
5533 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5535 * buffer.C: fix a bug just introduced
5537 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5539 * buffer.[Ch]: added the parseError signal and use it, removed
5541 * BufferView.[Ch] (addError): moved to ...
5542 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5543 to the Buffer::parseError signal to catch (guess what) parse errors
5544 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5546 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5548 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5549 ability to create a buffer and to return an existing one from
5550 the list. Moved these functions to...
5551 * buffer_funcs.[Ch]: added
5552 * BufferView.[Ch] (loadLyXFile): added
5553 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5554 job removed from bufferlist::loadLyXFile.
5555 * buffer.C (setReadOnly): make it work without view
5556 (i.e added an if (users))
5558 2003-06-19 Angus Leeming <leeming@lyx.org>
5561 * LyXAction.C (init):
5562 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5563 with LFUN_DIALOG_SHOW <name> <data>.
5565 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5567 * CutAndPaste.C (availableSelections): small compilation fix for
5568 ancient (gcc 2.9x) compilers
5570 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * text3.C (cursorNext): add tmp var
5574 * text2.C (updateCounters): for function calling out of for clause
5575 (replaceSelectionWithString): ditto
5576 (insertStringAsParagraphs): ditto
5577 (getColumnNearX): add tmp var
5578 (setCursorFromCoordinates): add tmp var
5579 (cursorDownParagraph): add tmp var
5580 (deleteEmptyParagraphMechanism): add tmp var
5582 * text.C (insertChar): add tmp var
5584 * rowpainter.C (paintDepthBar): add tmp var
5586 * CutAndPaste.C (availableSelections): potentially check all
5587 paragraphs in a cut to fill the shown strings.
5589 2003-06-18 André Pönitz <poenitz@gmx.net>
5591 * kbmap.[Ch]: use vector<> instead of list<>
5593 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5595 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5596 pasteSelection with index
5598 * text2.C (pasteSelection): modify, call pasteSelection with index
5600 * paragraph.C (asString): reimplement version with no interval to
5601 call the one with interval.
5603 * lyxtext.h: add index arg to pasteSelection
5605 * MenuBackend.C (MenuItem): handle PasteRecent
5606 (Menu::read::Menutags): add md_pasterecent
5608 (expandPasteRecent): new function
5611 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5613 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5615 (availableSelections): new function
5617 2003-06-17 Angus Leeming <leeming@lyx.org>
5619 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5621 2003-06-17 Angus Leeming <leeming@lyx.org>
5624 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5626 * lyxfunc.C (dispatch): invoke it.
5628 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5630 * iterators.C (operator++, ParPosition): reintroduce some
5631 const_cast for the benefit of older compilers.
5633 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5635 * text3.C (dispatch): do not modify clipboard when doing
5636 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5637 LFUN_DELETE_SKIP on a selection selection
5639 2003-06-16 André Pönitz <poenitz@gmx.net>
5645 * tabular.[Ch]: IU of clone() and getLabelList();
5647 2003-06-13 André Pönitz <poenitz@gmx.net>
5649 * tabular.h: compactification
5651 2003-06-12 André Pönitz <poenitz@gmx.net>
5655 * tabular_funcs.h: some renaming plus whitespace
5657 2003-06-12 André Pönitz <poenitz@gmx.net>
5660 * BufferView_pimpl.C:
5666 * toc.C: Return a Paragraph & for ParIterator::operator*()
5668 2003-06-11 John Levon <levon@movementarian.org>
5672 * ToolbarBackend.C: add "Toolbars" section and
5675 2003-06-10 Angus Leeming <leeming@lyx.org>
5678 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5680 * lyxfunc.C (dispatch): invoke it.
5682 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * main.C: protect <ios> with HAVE_IOS
5685 (main): protect sync_with_stdio with HAVE_IOS
5687 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5689 * text2.C (cutSelection): adjust
5690 (pasteSelection): adjust
5692 * messages.C: handle get of empty string
5694 * main.C (main): use sync_with_stdio(false)
5696 * lyxfunc.C (dispatch): adjust
5698 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5699 (WriteAs): remove unneeded BufferView arg.
5701 * bufferparams.h: use correct types on papersize, papersize2 and
5704 * bufferparams.C (readToken): adjust for type
5705 (writeLaTeX): add missing cases to switch.
5707 * bufferlist.C (quitWriteBuffer): adjust
5710 * buffer.C (asciiParagraph): remove some commented code.
5712 * CutAndPaste.C: remove current_view extern variable.
5713 (cutSelection): add BufferParams arg.
5714 (eraseSelection): add BufferParams arg.
5715 (pasteSelection): add Buffer const & arg
5717 2003-06-07 John Levon <levon@movementarian.org>
5720 * paragraph_funcs.C:
5721 * paragraph_pimpl.C:
5725 * paragraph.C: allow InsetERT to freely space lines,
5726 and some consolidation of code
5728 2003-06-06 José Matos <jamatos@fep.up.pt>
5730 * buffer.C (makeDocBookFile): fix bug #821
5732 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5734 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5736 2003-06-04 Angus Leeming <leeming@lyx.org>
5738 * buffer.C: bump format to 224.
5740 2003-06-05 André Pönitz <poenitz@gmx.net>
5742 * text2.C (redoParagraphs): remove two const_cast<>
5744 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5746 * ParagraphList.h: remove last remnants of NO_STD_LIST
5748 2003-06-03 Angus Leeming <leeming@lyx.org>
5750 * factory.C (createInset): small change to the way InsetExternal's params
5753 2003-06-04 André Pönitz <poenitz@gmx.net>
5755 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5757 * paragraph_pimpl.h:
5758 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5760 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5762 * undo_funcs.C: make some simple cases of undo work again
5764 2003-06-03 John Levon <levon@movementarian.org>
5766 * ispell.C: HPUX doesn't have sys/select.h
5769 2003-06-03 John Levon <levon@movementarian.org>
5771 * CutAndPaste.C: update tabular and include inset
5776 * paragraph.C: remove owningBuffer(), don't pass Buffer
5779 * factory.C: insetGraphicsParams changed
5781 2003-06-02 John Levon <levon@movementarian.org>
5787 * text3.C: remove insetparent
5789 2003-06-02 John Levon <levon@movementarian.org>
5792 * buffer.C: fix inset_iterator.end(), move out of line
5795 2003-06-01 John Levon <levon@movementarian.org>
5797 * text3.C: use a proper cut/paste when doing inset
5798 insert (from Jürgen Spitzmüller)
5800 2003-06-01 John Levon <levon@movementarian.org>
5802 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5804 2003-05-30 André Pönitz <poenitz@gmx.net>
5806 * rowpainter.C: unify second drawing phase
5808 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * trans_mgr.C: remove one case of current_view
5812 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5814 * paragraph_funcs.h: remove paragraph.h include
5816 * paragraph.h: delete NO_STD_LIST stuff
5818 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5820 * buffer.h: remove paragraph.h include
5822 * ParagraphList.C: delete file
5824 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5826 * toc.C (getTocList): adjust
5828 * paragraph_pimpl.C (validate): adjust
5830 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5832 * paragraph.C (Paragraph): adjust
5833 (getPositionOfInset): use const_iterator, adjust
5834 (bibitem): use const_iterator, adjust
5835 (setInsetOwner): adjust
5837 * iterators.C (operator++): adjust
5839 * InsetList.[Ch]: Replace selfmade iterator with standard
5840 vector::iterator also introduce const_iterator. Remove getPos,
5841 getInset and setInset from InsetTable. Adjust accordingly.
5843 * BufferView.C (lockInset): adjust
5844 (ChangeInsets): adjust
5846 * tabular.[Ch]: delete commented same_id functions
5848 2003-05-28 John Levon <levon@movementarian.org>
5850 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5852 2003-05-28 André Pönitz <poenitz@gmx.net>
5854 * metricsinfo.[Ch]: remove 'fullredraw' member
5856 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5858 * lyxtextclass.C (operator): remove caching.
5860 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * text2.C (cursorBottom): adjust
5865 (setCounter): use ParagraphList::find, adjust
5867 * text.C (workWidth): use ParagraphList::find, adjust
5869 * lyxcursor.C (LyXCursor): adjust
5871 * buffer.C (inset_iterator): adjust
5873 * ParagraphList.h: make iterator(value_type) private, make
5874 ParagraphList a friend of iterator.
5876 * ParagraphList.C (find): new function
5878 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5880 2003-05-27 André Pönitz <poenitz@gmx.net>
5882 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5884 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5886 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5888 2003-05-26 John Levon <levon@movementarian.org>
5890 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5892 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * remove same_id from function signatures, adjust.
5896 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5900 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5902 * paragraph.C (Paragraph): get rid of same_ids parameter
5904 * ParagraphList.C (insert): adjust
5907 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * paragraph_funcs.C (breakParagraph): adjust
5910 (breakParagraphConservative): adjust
5912 * buffer.C (readParagraph): adjust
5914 * ParagraphList.C (insert): take a reference instead of a pointer
5917 * paragraph.[Ch] (id): new function
5919 * bufferlist.C (newFile): adjust
5921 * ParagraphList.C (ParagraphList): adjust
5923 (push_back): take a reference instead of a pointer.
5925 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5927 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5930 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5931 set else use old code.
5933 * ParagraphList.C: remove all NO_NEXT code and only compile this
5934 code of NO_STD_LIST is set.
5936 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5938 * BufferView_pimpl.C:
5948 * graphics/GraphicsConverter.C:
5949 * graphics/PreviewLoader.C: header adjustment
5951 2003-05-23 Angus Leeming <leeming@lyx.org>
5953 * LaTeXFeatures.[Ch] (useBabel): new method.
5954 * bufferparams.C (writeLaTeX): use it.
5956 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * ParagraphList.h (set): remove unused function.
5960 2003-05-23 André Pönitz <poenitz@gmx.net>
5963 * BufferView_pimpl.C:
5967 * undo_funcs.C: setUndo reworked
5969 * iterators.[Ch]: add access to topmost ParagraphList
5971 * lyxtext.[Ch] (workWidth): add a const
5973 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5975 * texrow.[Ch] (increasePos): remove function
5976 * exporter.C (export): removed unused var and outdated comment
5978 2003-05-23 Angus Leeming <leeming@lyx.org>
5980 * latexrunparams.h: rename fragile as moving_arg.
5981 * paragraph.C (simpleTeXOnePar): ditto.
5982 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5984 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5988 (textUndoOrRedo): comment out a currently unused var.
5990 * paragraph.h (NO_NEXT): enable NO_NEXT
5992 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5994 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5996 * exporter.C (Export): adjust for removeAutoInsets removal.
5998 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6000 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6002 * BufferView.[Ch] (removeAutoInsets): delete function
6004 2003-05-22 Angus Leeming <leeming@lyx.org>
6006 * latexrunparams.h: add a free_spacing variable.
6008 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6009 to pass moving_arg, as the data is stored in runparams.fragile.
6011 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6012 to Inset::latexOptional or to simpleTeXOnePar.
6014 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6015 free_spacing arg to Inset::latexOptional.
6017 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6020 2003-05-22 Angus Leeming <leeming@lyx.org>
6022 * latexrunparams.h: add fragile and use_babel variables.
6024 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6025 * buffer.C (makeLaTeXFile): store this returned value in
6026 runparams.use_babel, thus passing it to the inset::latex methods.
6028 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6029 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6031 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6032 longer has a fragile arg, as it is stored in runparams.fragile.
6034 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6035 moving_arg parameter as the data is stored in runparams.fragile.
6037 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6038 a fragile parameter as the data is stored in runparams.fragile.
6040 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6044 2003-05-22 Angus Leeming <leeming@lyx.org>
6046 * latexrunparams.h: add a 'bool nice' which defaults to false.
6048 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6049 now encapsulated within runparams.
6051 * bufferlist.C (updateIncludedTeXfiles):
6052 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6054 2003-05-22 Angus Leeming <leeming@lyx.org>
6056 * latexrunparams.h: new file containing struct LatexRunParams.
6057 * Makefile.am: add new file.
6059 * LaTeX.[Ch] (c-tor, run):
6060 * buffer.[Ch] (makeLaTeXFile):
6061 * bufferlist.[Ch] (updateIncludedTeXfiles):
6062 * converter.C (convert, scanLog):
6063 * converter.[Ch] (runLaTeX):
6064 * exporter.C (Export):
6065 * paragraph.[Ch] (simpleTeXOnePar):
6066 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6067 * paragraph_funcs.[Ch] (latexParagraphs):
6068 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6069 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6070 pass around a LatexRunParams parameter.
6072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * paragraph.[Ch]: remove unused constructor
6076 * ParagraphList.C (erase): new function, taking two iterators
6078 2003-05-22 André Pönitz <poenitz@gmx.net>
6080 * undo_funcs.C: remove duplicated code
6082 * iterator.[Ch]: operator=
6084 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * tabular.C (SetMultiColumn): ws changes
6088 * rowpainter.C (paintFirst): get rid of a ->previous
6090 * lyx_cb.C (getPossibleLabel): parlist simplification
6092 * BufferView.C (ChangeInsets): simplify slightly.
6094 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6096 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6097 * lfuns.h: new LFUN_SPACE
6098 * lyxfunc.C: protected space has a new lfun
6099 * paragraph_funcs.C: read new space insets
6101 * factory.C: handle new space insets
6103 2003-05-22 André Pönitz <poenitz@gmx.net>
6106 * BufferView_pimpl.C:
6109 * undo_funcs.C: return a ParIterator from getParFromID.
6111 * iterators.[Ch]: add two const's
6113 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * toc.C (getTocList): adjust
6117 * iterators.[Ch]: rework for parlist
6119 * buffer.C (par_iterator_begin): adjust
6120 (par_iterator_end): adjust
6122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6124 * BufferView.C (removeAutoInsets): adjust
6125 (ChangeInsets): adjust
6127 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6129 * text.C (top_y): fix bug 1110
6131 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6133 * errorlist.[Ch]: added
6136 * BufferView_pimpl.C:
6137 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6140 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * Makefile.am: ensure that lyx is relinked upon changes to the
6143 various "convenience" libs.
6145 2003-05-20 Angus Leeming <leeming@lyx.org>
6147 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6148 files are compiled in alphabetical order again.
6150 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6152 2003-05-19 Angus Leeming <leeming@lyx.org>
6154 * gettext.[Ch]: remove "char const * _(char const *)".
6156 2003-05-19 André Pönitz <poenitz@gmx.net>
6158 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6167 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6169 2003-05-19 André Pönitz <poenitz@gmx.net>
6173 * lyxtextclass.[Ch]:
6175 * paragraph_funcs.[Ch]:
6177 * text3.C: more insetenv work
6179 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6181 * ParagraphParameters.C (params2string): small bug fixed
6183 2003-05-16 André Pönitz <poenitz@gmx.net>
6186 * bufferview_funcs.C: patch from Kornel Benko to prevent
6187 crash when _(...) is called twice in a statement
6189 2003-05-16 André Pönitz <poenitz@gmx.net>
6196 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6198 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6200 * lyx_main.C (init): remove spurious static_cast
6202 2003-05-14 André Pönitz <poenitz@gmx.net>
6204 * BufferView.C: fix format string
6206 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6208 * BufferView.[Ch] (insertErrors): removed
6209 * BufferView.[Ch] (showErrorList): added
6210 * buffer.C (runChkTeX):
6211 * converter.C (scanLog): call showErrorList instead of inserterrors
6213 2003-05-13 André Pönitz <poenitz@gmx.net>
6215 * BufferView_pimpl.C:
6217 * bufferview_func.C:
6224 * tabular_funcs.h: tostr() from its own header
6226 * ParagraphParameters.C:
6231 * text3.C: STRCONV()
6233 2003-05-12 André Pönitz <poenitz@gmx.net>
6236 * BufferView_pimpl.C:
6240 * ParagraphParameters.C:
6244 * bufferview_funcs.C:
6257 * paragraph_funcs.C:
6261 * text3.C: boost::format -> bformat all over the place
6264 2003-05-09 André Pönitz <poenitz@gmx.net>
6266 * LColor.[Ch]: Pimpl the #include <map> away
6268 2003-05-09 John Levon <levon@movementarian.org>
6270 * bufferlist.C: never remove emergency saves
6272 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6274 * Makefile.am: better lib building
6276 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6280 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6281 (simpleTeXSpecialChars): adjust
6282 (simpleTeXSpecialChars): adjust
6283 * paragraph.C (simpleTeXOnePar): adjust
6284 * buffer.C (makeLaTeXFile): adjust
6286 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6288 * text2.C (changeDepth): parlist cleanup
6289 (getColumnNearX): ditto
6291 * rowpainter.C (getLabelFont): parlist cleanup
6293 * bufferlist.C (newFile): parlist cleanup
6295 * CutAndPaste.C (eraseSelection): parlist cleanup
6297 * BufferView_pimpl.C (trackChanges): parlist cleanup
6300 * BufferView.C (lockInset): parlist cleanup.
6301 (ChangeInsets): ditto
6303 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * CutAndPaste.h: Update file header.
6307 * CutAndPaste.C: Update file header.
6308 Store the parts cut out of the Document in a limited_stack.
6309 (copySelection): adjust
6310 (pasteSelection): new function, takes the index in the limited stack.
6311 (nrOfParagraphs): adjust
6312 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6313 simplify error inset insertion.
6314 (checkPastePossible): adjust
6316 2003-05-06 John Levon <levon@movementarian.org>
6318 * text2.C: don't cast wrap inset to float
6320 2003-05-05 André Pönitz <poenitz@gmx.net>
6323 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6325 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6326 few naked Paragraph *.
6328 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6330 * bufferparams.C: Output warning if a document with missing
6331 TeX document class is loaded
6332 * exporter.C: Disable TeX exports if the document class is missing
6335 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6336 isTeXClassAvailable()
6338 2003-05-03 John Levon <levon@movementarian.org>
6341 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6342 explicit cursor show/hide
6344 * BufferView_pimpl.h:
6345 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6346 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6348 * lyxfunc.C: hide cursor before dispatching.
6353 * text3.C: remove explicit cursor hides
6355 2003-05-02 André Pönitz <poenitz@gmx.net>
6357 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6360 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6363 * text2.C: tiny whitespace
6365 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * undo_funcs.C: almost only ws changes.
6369 * ParagraphList.C (splice): just return if pl is empty.
6371 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * ParagraphList.C (splice): new function.
6375 * CutAndPaste.C (pasteSelection): use it
6377 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * CutAndPaste.C (pasteSelection): remove the last next and
6380 previous from this file.
6382 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * CutAndPaste.C (pasteSelection): more clean up, user proper
6385 ParagraphList functions for pasteing.
6387 * ParagraphList.C (insert): new function, three arg insert
6389 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * ParagraphList.C (insert): new function, three arg insert
6393 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6400 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6404 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6407 (copySelection): clean up a bit.
6408 (pasteSelection): use make_pair
6410 * ParagraphList.C (ParagraphList): implement copy constructor
6411 (operator=): implement, base on copy constructor.
6414 * paragraph.C (erase): return a bool
6416 * paragraph_pimpl.C (erasePos): remove function, move contents...
6417 (erase): ... here. Return a bool.
6418 (erase): call erase instead of erasePos.
6420 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6422 * ParagraphList.h: define PitPosPair
6423 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6424 ParagraphList, fix a bug on pasting multiple pars
6425 * text2.C: change interface to C&P
6427 2003-04-30 André Pönitz <poenitz@gmx.net>
6429 * undo_func.C: revert part of yesterday's patch 2
6431 2003-04-30 John Levon <levon@movementarian.org>
6433 * LColor.C: s/tabular/table/
6435 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6437 * text3.C (dispatch): do not convert iterator -> pointer
6438 * undo_funcs.C (setCursorParUndo): ditto
6439 * text_funcs.C (transposeChars): ditto
6441 * text2.C (setLayout): ws changes only
6443 * text.C (breakParagraph): do not convert iterator -> pointer
6445 (acceptChange): ditto
6446 (rejectChange): ditto
6451 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6454 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6456 * text3.C (gotoInset): YABG (yet another bad getChar)
6458 2003-04-29 André Pönitz <poenitz@gmx.net>
6460 * paragraph.h: make operator= private unimplemented as long as
6463 * ParagraphList.C: whitespace
6466 * paragraph_pimpl.[Ch]:
6467 * paragraph_funcs.C:
6469 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6472 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6474 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6476 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6477 * paragraph.[Ch] (erase):
6478 * paragraph_pimpl.[Ch] (erase): change return type and value
6479 * text2.C (cutSelection): some rework
6481 2003-04-28 John Levon <levon@movementarian.org>
6483 * bufferlist.C: changes for unsaved changes dialog
6485 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * bufferlist.C (newFile): set language (messages_) for new
6490 * buffer.C (readFile): ws changes only.
6492 2003-04-28 André Pönitz <poenitz@gmx.net>
6497 * BufferView_pimpl.C:
6498 * BufferView.C: getParFromID related ParagraphList::iterator changes
6500 2003-04-28 André Pönitz <poenitz@gmx.net>
6502 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6505 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * messages.C: remove one more localedir class variable.
6509 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * messages.C (getLocaleDir): singleton generation function
6513 (Messages): add a default constructor.
6515 * main.C (main): do not setup localedir here, do not call
6518 * gettext.C (_): use it.
6519 (gettext_init): delete funciton
6521 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * gettext.C (getLyXMessages): new singleton generating function.
6525 * buffer.C (updateDocLang): adjust
6527 * Makefile.am (messages.o): add target
6528 (main.o): remove target
6530 2003-04-27 John Levon <levon@movementarian.org>
6535 * lyxvc.C: specify cancel button in Alert::prompt
6537 2003-04-26 John Levon <levon@movementarian.org>
6542 * LyXAction.C: add LFUN_INSET_SETTINGS
6544 * lyxfunc.C: don't enable tabular-feature when there's
6545 just any locking inset
6547 2003-04-26 John Levon <levon@movementarian.org>
6549 * bufferlist.C: re-add Cancel to buffer close question
6551 * lyxfunc.C: fix import UI a bit
6553 2003-04-25 John Levon <levon@movementarian.org>
6555 * gettext.C: remove the broken asserts for now
6557 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * messages.C: make case where setlocale cannot comply work better.
6561 * buffer.C (updateDocLang): new function
6562 (changeLanguage): use it
6565 * text2.C (setCounter): use B_ a bit.
6567 * lyxlayout.C (Read): be sure to trim the label strings.
6569 * messages.C (Messages): fix typo in comment
6571 * buffer.C (readFile): set message_ after file is loaded.
6572 (makeDocBookFile): remove double return
6573 (changeLanguage): reset message_ upon language change.
6574 (B_): new func, use this to get translated buffer strings.
6576 * main.C: add myself and Jean Marc as authors.
6578 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * messages.[hC]: pimplify Messages, and three different pimpls to be
6581 used in different circumstances.
6583 * gettext.[Ch]: change for use with new message code.
6585 2003-04-24 André Pönitz <poenitz@gmx.net>
6587 * factory.C: support for eqref
6589 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * messages.[Ch]: add missing char
6593 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6595 * messages.[Ch]: New files
6597 2003-04-18 John Levon <levon@movementarian.org>
6601 * BufferView_pimpl.C:
6605 * text2.C: remove layout-copy/paste (bug 778)
6607 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6609 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6611 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6613 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6614 if they succeed. Act accordingly.
6616 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * text2.C (setCharFont): adjust
6619 (setCounter): adjust
6620 (insertStringAsLines): adjust
6622 * text.C (leftMargin): adjust
6623 (setHeightOfRow): adjust
6625 * rowpainter.C (paintFirst): adjust
6628 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6630 (isFirstInSequence): ditto
6631 (getEndLabel): ditto
6634 * paragraph.C (getParLanguage): comment out some hard stuff.
6636 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6638 (simpleDocBookOnePar): ditto
6639 (makeDocBookFile): use ParagraphList::iterator
6641 * CutAndPaste.C (pasteSelection): adjust
6643 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * text2.C (getFont): adjust
6646 (getLayoutFont): adjust
6647 (getLabelFont): adjust
6649 * paragraph_funcs.C (TeXOnePar): adjust
6651 * buffer.C (simpleLinuxDocOnePar): adjust
6652 (simpleDocBookOnePar): adjust
6654 * CutAndPaste.C (pasteSelection): adjust
6656 * BufferView.C (getEncoding): adjust
6658 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6660 2003-04-16 John Levon <levon@movementarian.org>
6662 * lyxfind.C: use parlist stuff for search/changes
6664 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6668 * text2.C (deleteEmptyParagraphMechanism): adjust
6670 * text2.[Ch] (ownerParagraph): delete func (both of them
6672 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6676 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * ParagraphList.C: prepare for NO_NEXT
6680 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * text2.C (getFont): adjust
6683 (getLayoutFont): adjust
6684 (getLabelFont): adjust
6686 * paragraph.C (getFont): adjust
6687 (getLabelFont): adjust
6688 (getLayoutFont): adjust
6690 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6692 2003-04-15 John Levon <levon@movementarian.org>
6696 * lyx_main.C: handle Include in .ui files
6698 2003-04-15 John Levon <levon@movementarian.org>
6700 * MenuBackend.C: make the doc files length shorter
6703 * ToolbarBackend.C: handle toolbar placement flags,
6706 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6711 * paragraph_funcs.C (TeXOnePar): adjust
6713 * paragraph.C (getLabelFont): add outerfont arg, adjust
6714 (getLayoutFont): ditto
6715 (simpleTeXOnePar): adjust
6717 * paragraph_pimpl.C (realizeFont): delete func
6719 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6721 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6722 row argument, constify cur argument.
6724 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * text2.C (getFont): adjust
6727 (getLayoutFont): adjust
6728 (getLabelFont): adjust
6730 * paragraph_funcs.C (TeXOnePar): adjust
6731 (outerFont): new func...
6732 (realizeFont): ...moved out from here, changed this to facilitate
6735 * paragraph.C (getFont): take outerfont as arg, adjust
6736 (simpleTeXOnePar): add outerfont arg, adjust
6738 * buffer.C (simpleLinuxDocOnePar): adjust
6739 (simpleDocBookOnePar): adjust
6741 * CutAndPaste.C (pasteSelection): adjust
6743 * BufferView.C (getEncoding): adjust
6745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * text2.C (setCharFont): adjust
6748 (setCounter): adjust
6750 * text.C (leftMargin): adjust
6751 (setHeightOfRow): adjust
6753 * rowpainter.C (paintFirst): adjust
6756 * paragraph_pimpl.C (realizeFont): adjust
6758 * paragraph.C (isFirstInSequence): move from here...
6759 * paragraph_funcs.C (isFirstInSequence): ...to here
6761 * paragraph.C (outerHook): move from here...
6762 * paragraph_funcs.C (outerHook): ...to here
6764 * paragraph.C (depthHook): move from here...
6765 * paragraph_funcs.C (depthHook): ...to here
6767 * paragraph.C (getEndLabel): move from here...
6768 * paragraph_funcs.C (getEndLabel): ...to here
6770 * text2.C (realizeFont): move from here...
6771 * paragraph_funcs.C (realizeFont): ...to here
6773 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6777 2003-04-14 Angus Leeming <leeming@lyx.org>
6779 * LColor.[Ch]: scrap LColor mathcursor.
6781 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * lyxlex.[Ch] (text): delete function
6784 * trans.C (Load): adjust
6785 * paragraph_funcs.C (readParToken): adjust
6787 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6790 vector<char> instead of a char[].
6792 * lyxlex_pimpl.C (getString): adjust
6794 (lex): use getString
6798 * lyxlex.C (text): use pimpl_->getString()
6802 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6805 (makeFontEntriesLayoutSpecific): temp var for par.size()
6806 (setLayout): temp var for ownerParagraphs().end()
6807 (fullRebreak): temp var for rows().end()
6808 (selectionAsString): temp var for boost::next(startpit), realize
6809 that the while really is a regular for loop.
6810 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6811 setCursor in one place.
6812 (setParagraph): temp vr for ownerParagraphs().end()
6813 (updateCounters): make the while loop a for loop
6814 (cutSelection): temp var for ownerParagraphs().end()
6815 (updateInset): make the do {} while() a regular for loop
6816 (getCursorX): use temp vars
6817 (setCurrentFont): use temp vars
6818 (getColumnNearX): use temp vars
6820 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * text.C (transformChar): use temp var for getChar
6823 (computeBidiTables): use temp var for row->par()
6824 (fill): move temp vars for row->par() and pit->layout() earlier in
6826 (labelFill): use temp var for row->par()
6827 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6828 asc and desc, realize that pit never changes and that firstpit is
6829 just a duplicate and not needed. Exchange rit->par() with pit in a
6831 (breakAgain): use a temp var for boost::next(rit)
6832 (breakAgainOneRow): ditto
6833 (breakParagraph): use a temp var for rows().begin()
6834 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6835 (cursorRightOneWord): use temp var for cursor.par() and
6836 cursor.pos(), remove usage of tmpcursor.
6837 (cursorLeftOneWord): use temp var for cursor.par() and
6838 cursor.pos() only set cur at end of function.
6840 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * text.C, text2.C: exchange all usage of Paragraph::next with
6843 boost::next(ParagraphList::iterator)
6845 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6847 * text2.C (cursorTop): simplify implementation
6848 (cursorBottom): ditto
6849 (setParagraph): use ParagraphList::iterator
6850 (setCurrentFont): adjust
6851 (getColumnNearX): adjust
6852 (cursorRight): adjust
6853 (cursorLeft): remove usage of Paragraph::previous
6854 (cursorUpParagraph): ditto
6855 (deleteEmptyParagraphMechanism): slight cleanup
6857 * text.C (isBoundary): take a Paragraph const & instead of a
6859 (addressBreakPoint): ditto
6860 (leftMargin): remove usage of Paragraph::previous.
6861 (setHeightOfRow): ditto
6862 (cursorLeftOneWord): ditto
6863 (selectNextWordToSpellcheck): ditto
6866 (breakParagraph): remove one usage of Paragraph::next
6867 (redoParagraph): ditto
6868 (acceptChange): ditto
6869 (insertChar): adjust
6870 (rowBreakPoint): adjust
6872 * bufferview_funcs.C (toggleAndShow): adjust
6874 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6876 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6877 methods to access it.
6879 * text.C: Added updateRowPositions to compute all row positions.
6880 Make top_y and getRowNearY() to use the cached y position
6882 2003-04-11 John Levon <levon@movementarian.org>
6884 * text.C (rowBreakPoint): reintroduce the labelEnd
6885 checks, code copied from the row fill stuff. Deep voodoo.
6887 * text.C (fill): add a comment and debugging for the
6890 2003-04-11 John Levon <levon@movementarian.org>
6892 * text.C: make sure fullrow insets get wrapped to the next line,
6893 even when they're in a manual label
6895 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * text2.C (insertParagraph): make it take ParagraphList::iterator
6899 (setLayout): make it return ParagraphList::iterator
6900 (redoParagraphs): ditto
6902 (checkParagraph): ditto
6904 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6906 * text2.C: adjust several funcs.
6907 (realizeFont): take a ParagraphList::iterator as arg.
6908 (getLayoutFont): ditto
6909 (getLabelFont): ditto
6910 (setCharFont): ditto
6912 * text.C: adjust several funcs.
6914 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6916 * text.C (selectNextWordToSpellcheck): don't accidentally
6919 2003-04-10 John Levon <levon@movementarian.org>
6921 * ToolbarBackend.C (getIcon): special handling for
6924 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6926 * text2.C (cursorRight): a getChar assert fixed
6928 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * text2.C (getFont): change to take a ParagraphList::iterator
6931 instead of Paragraph*
6932 Adjust several functions.
6934 * text.C (transformChar): change to take a ParagraphList::iterator
6935 instead of Paragraph*
6936 (singleWidth): ditto
6937 Adjust several functions.
6939 * rowpainter.C: adjust several functions
6940 * rowpainter.h:store a ParagraphList::iterator and not a
6944 2003-04-09 John Levon <levon@movementarian.org>
6949 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6950 and the "help" bits as well
6952 2003-04-09 John Levon <levon@movementarian.org>
6955 * ToolbarBackend.C: allow multiple toolbars
6957 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6959 * undo_funcs.C (setCursorParUndo): adjust
6961 * text_funcs.C (transposeChars): adjust
6963 * text3.C (gotoNextInset): adjust
6966 * text2.C (setLayout): adjust
6967 (changeDepth): adjust
6969 (redoParagraphs): adjust
6970 (selectionAsString): adjust
6971 (setParagraph): adjust
6972 (insertInset): adjust
6973 (cutSelection): adjust
6974 (copySelection): adjust
6975 (pasteSelection): adjust
6976 (insertStringAsLines): adjust
6977 (updateInset): adjust
6978 (setCursor): change to take a ParagraphList::iterator parameter
6979 (setCursorIntern): change to take a ParagraphList::iterator parameter
6980 (setCurrentFont): adjust
6981 (cursorLeft): adjust
6982 (cursorRight): adjust
6983 (deleteEmptyParagraphMechanism): adjust
6985 * text.C (breakParagraph): adjust
6986 (insertChar): adjust
6987 (acceptChange): adjust
6988 (rejectChange): adjust
6989 (selectNextWordToSpellcheck): adjust
6990 (changeCase): adjust
6994 * lyxfind.C (SearchForward): adjust
6995 (SearchBackward): adjust
6996 (nextChange): adjust
6998 * lyxcursor.C (par): adjust
7000 * lyxcursor.h: store a ParagraphList::iterator instead of a
7003 * lyx_cb.C (getPossibleLabel): adjust
7005 * bufferview_funcs.C (toggleAndShow): adjust
7007 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7010 * BufferView.C (removeAutoInsets): adjust
7011 (lockedInsetStoreUndo): adjust
7013 2003-04-09 John Levon <levon@movementarian.org>
7015 * ToolbarBackend.C: try icon without argument
7016 if with argument fails
7018 2003-04-08 John Levon <levon@movementarian.org>
7021 * ToolbarBackend.C: add getIcon(), handle tooltip,
7022 and change from "Icon" to "Item".
7024 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7026 * BufferView.C (lockInset): another bad getchar crunched
7028 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7030 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7033 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7035 * lyxfind.C (searchForward, searchBackwards): bug 782
7037 2003-04-07 John Levon <levon@movementarian.org>
7039 * paragraph.C: remove dead comment
7041 * text.C: remove troublesome depth-fiddling code
7042 in leftMargin() and rightMargin() (bug 1017)
7044 * text.C: fix breaking of rows in nested lists
7047 * text2.C (updateCounters): fix up depth values
7050 2003-04-07 John Levon <levon@movementarian.org>
7052 * BufferView_pimpl.C: clear message when doc finishes resizing,
7053 and after a mouse event
7055 * lyxfunc.C: clear message after exiting inset
7057 2003-04-07 John Levon <levon@movementarian.org>
7059 * bufferview_funcs.C: show math status not outside
7060 status in the statusbar
7062 2003-04-07 John Levon <levon@movementarian.org>
7064 * lyxfunc.C: note status changed after a depth change
7066 2003-04-04 Angus Leeming <leeming@lyx.org>
7068 * LaTeX.h: move AuxInfo operator==, != out of line.
7069 Remove LaTeX virtual destructor; nothing derives from it.
7070 Move operator()() out of public area and rename it startscript().
7071 Change protected for private.
7073 2003-04-04 Angus Leeming <leeming@lyx.org>
7076 * text2.C: remove unneeded #includes.
7078 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7080 * text2.C (dEPM): fix the heigth of the next row
7082 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7084 * text.C: squashed an invalid getChar requester + some ws changes
7086 2003-04-03 John Levon <levon@movementarian.org>
7088 * bufferview_funcs.h:
7089 * bufferview_funcs.C:
7092 * text2.C: make getStatus work for the env depth lfuns
7094 2003-04-03 John Levon <levon@movementarian.org>
7096 * bufferview_funcs.h:
7097 * bufferview_funcs.C:
7100 * text2.C: parlistize decDepth(), by merging it with incDepth()
7102 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * lyxrow.h: store a ParagraphList::iterator instead of a
7105 Paragraph* and adjust other class functions to suit.
7107 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7110 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7112 * text2.C (setCursor): do not anchor to cursor row for the time being
7114 2003-04-02 John Levon <levon@movementarian.org>
7121 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7123 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * paragraph.h: make ParagraphList and ParagraphList::iterator
7126 friends of Paragraph.
7128 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7130 * ParagraphList.C: Use the private next_ and previous_ from
7133 2003-04-01 John Levon <levon@movementarian.org>
7137 * Makefile.am: rename, remove defaults gunk
7140 * MenuBackend.C: remove defaults gunk
7143 * Languages.C: remove defaults gunk
7146 * lyx_main.C: error out if files couldn't be found.
7148 2003-04-02 John Levon <levon@movementarian.org>
7150 * text2.C: make incDepth() use parlist
7152 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * undo_funcs.C (firstUndoParagraph): adjust
7156 * text3.C (gotoInset): adjust
7157 (dispatch): adjust, and rewrite loop.
7159 * text2.C (init): adjust, and rewrite loop.
7160 (redoParagraphs): adjust
7161 (updateInset): adjust, and rewrite loop.
7162 (deleteEmptyParagraphMechanism): adjust
7164 * tabular.C (LyXTabular): adjust
7165 (SetMultiColumn): adjust
7168 * lyxtext.[Ch] (ownerParagraph): delete function
7169 (ownerParagraphs): new function returns a ParagraphList.
7171 * BufferView.C (removeAutoInsets): adjust
7172 (insertErrors): adjust
7173 (setCursorFromRow): adjust
7175 2003-04-01 Angus Leeming <leeming@lyx.org>
7177 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7180 2003-04-02 John Levon <levon@movementarian.org>
7186 * text_funcs.C: make transposeChars a free function
7188 * lyxrow_funcs.C: remove wrong comment
7190 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * rowpainter.C: adjust
7198 * lyxrow_funcs. [Ch]: new files
7200 * lyxrow.[Ch]: remove next and previous pointers
7201 (next,previous): remove accessor functions
7202 (isParEnd): move to lyxrow_funcs
7203 (lastPos): move to lyxrow_funcs
7204 (nextRowIsAllInset): move to lyxrow_funcs
7205 (lastPrintablePos): move to lyxrow_funcs
7206 (numberOfSeparators): move to lyxrow_funcs
7207 (numberOfHfills): move to lyxrow_funcs
7208 (numberOfLabelHfills): move to lyxrow_funcs
7209 (hfillExpansion): move to lyxrow_funcs
7213 * bufferview_funcs.C (toggleAndShow): adjust
7215 * RowList.h: Remove class RowList from file leave just a
7218 * RowList.C: delete file
7220 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * text3.C (cursorPrevious): adjust
7226 (cursorNext): adjust
7229 * text2.C (redoHeightOfParagraph): adjust
7230 (redoDrawingOfParagraph): adjust
7233 * text.C (breakParagraph): adjust
7234 (insertChar): adjust
7237 * rowpainter.C (RowPainter): adjust
7238 (leftMargin): simplify and adjust
7239 (most rowpainter functions): adjust.
7241 * rowpainter.h: store the row as RowList::iterator not as Row*
7243 * lyxcursor.C (row): taka RowList::iterator as arg
7246 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7249 2003-04-01 Angus Leeming <leeming@lyx.org>
7251 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7252 stuff like bool Bool.
7254 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7256 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7259 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7264 * lyxtext.h (rows): drop one version and leve a const variant that
7265 returns a RowList::iterator.
7267 2003-03-31 Angus Leeming <leeming@lyx.org>
7269 * text.C (fill): ensure that the signature is the same as that in the
7272 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * text2.C (redoParagraphs): adjust
7275 (updateCounters): adjust
7276 (checkParagraph): adjust
7277 (getColumnNearX): adjust and reformat a bit.
7279 * text.C (top_y): adjust
7281 (leftMargin): adjust
7282 (prepareToPrint): adjust
7284 (getRowNearY): adjust
7286 * lyxtext.h: make rowlist_ mutable.
7288 * RowList.h: add const_iterator
7289 * RowList.C: adjust for RowList::const_iterator.
7291 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7294 2003-03-31 John Levon <levon@movementarian.org>
7297 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7299 * lyx_main.C: set default fonts from using lyx_gui funcs
7301 * exporter.C: pdf_mode moved from lyxrc
7304 * lyxfunc.C: changes from above
7306 2003-03-31 John Levon <levon@movementarian.org>
7308 * lyx_main.C: fix to the last fix
7310 2003-03-31 John Levon <levon@movementarian.org>
7312 * bufferlist.C: "Load original" -> "Load Original"
7318 * format.C: more Alert cleanups
7320 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7322 * text2.C (removeParagraph): make it take a RowList::iterator as
7324 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7325 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7327 * text.C (anchor_row): make it take a RowList::iterator as arg,
7329 (computeBidiTables): make it take a const reference to Row instead
7330 of Row pointer, adjust.
7331 (leftMargin): make it take a RowList::iterator as arg, adjust.
7332 (rowBreakPoint): adjust
7333 (breakAgainOneRow): make it take a RowList::iterator as arg,
7335 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7337 * bufferview_funcs.C (toggleAndShow): adjust
7339 2003-03-30 John Levon <levon@movementarian.org>
7343 * boost-inst.C: moved to support
7345 * several files: changes as a result
7347 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text2.C (LyXText): adjust.
7351 (removeRow): make it take a RowList::iterator as arg, adjust.
7352 (fullRebreak): adjust
7353 (deleteEmptyParagraphMechanism): adjust
7354 (clearPaint): adjust
7357 * text.C (top_y): adjust
7358 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7359 (breakAgain): make it take a RowList::iterator as arg, adjust.
7360 (breakParagraph): adjust
7361 (insertChar): adjust
7364 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7365 need_break_row, and refresh_row.
7367 * text3.C (dispatch): adjust
7369 * text2.C (checkParagraph): adjust
7371 (setCursorFromCoordinates): adjust
7373 * text.C (top_y): adjust
7375 (getRow): make it return a RowList::iterator, adjust
7376 (getRowNearY): make it return a RowList::iterator, adjust
7378 * text2.C (init): adjust
7379 (insertRow): remove function
7380 (insertParagraph): adjust
7381 (redoParagraphs): adjust
7382 (fullRebreak): adjust
7383 (updateCounters): adjust
7385 * text.C (top_y): rewrite to use RowList iterators.
7387 (setHeightOfRow): rewrite to sue RowList iterators.
7388 (appendParagraph): adjust
7389 (breakAgain): adjust
7390 (breakAgainOneRow): adjust
7391 (breakParagraph): adjust
7393 (getRowNearY): adjust, and remove commented code.
7395 * lyxtext.h (firstRow): delete function
7396 (lastRow): delete function
7397 (rows): new function (const and non-const versions.)
7398 (insertRow): delete function
7400 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7402 2003-03-29 John Levon <levon@movementarian.org>
7404 * BufferView_pimpl.C: always update scrollbar top
7405 because pasting text when we're anchored could mean we
7406 miss an update altogether
7408 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * text2.C (init): use rowlist_.end() and not 0.
7411 (insertRow): change to take a RowList::iterator as arg, adjust
7413 (insertParagraph): change to take a RowList::iterator as arg,
7415 (redoParagraphs): remove some debug msgs.
7417 * text.C (appendParagraph): change to take a RowList::iterator
7418 arg, adjust for this.
7419 (breakAgain): add an assert
7420 (breakAgainOneRow): ditto
7422 2003-03-29 John Levon <levon@movementarian.org>
7424 * text2.C: do not clear selection after inc/decDepth
7427 2003-03-29 John Levon <levon@movementarian.org>
7430 * buffer.C: fix broken strerrors according to Lars
7432 2003-03-29 John Levon <levon@movementarian.org>
7434 * converters.C: more Alert cleanups
7436 2003-03-29 John Levon <levon@movementarian.org>
7438 * bufferview_funcs.C: remove pointless Alert
7440 * buffer.C: fix confusing error message when
7441 a template is chmoded 000
7443 2003-03-29 John Levon <levon@movementarian.org>
7447 * BufferView_pimpl.C: Alert fixes
7451 * tabular-old.C: remove unused table compat reading
7453 2003-03-29 John Levon <levon@movementarian.org>
7458 * lyx_cb.C: more Alert cleanups
7460 * lyxfunc.C: don't allow chktex if not latex document
7462 2003-03-29 John Levon <levon@movementarian.org>
7466 * buffer.C: warnings pushed down from support/,
7469 2003-03-29 John Levon <levon@movementarian.org>
7471 * lyxfunc.C: safety check for C-r (revert)
7473 2003-03-29 John Levon <levon@movementarian.org>
7476 * bufferlist.C: several UI fixes using Alert::prompt.
7477 Fix the pointless looping quit code. Fix stupid revert
7482 * lyx_cb.C: use Alert::prompt
7484 * lyx_main.C: remove a silly question
7486 * lyxfunc.C: remove a couple of silly questions,
7489 2003-03-28 John Levon <levon@movementarian.org>
7491 * text2.C: fix bug 974 (End on empty par)
7493 2003-03-28 John Levon <levon@movementarian.org>
7495 * BufferView_pimpl.C:
7497 * lfuns.h: remove do-nothing math greek lfuns
7499 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * lyxgluelength.h (isValidGlueLength): add default arg on
7502 parameter 2. Remove default arg from friend in class.
7504 * lyxlength.h (isValidLength): add default arg on parameter 2.
7505 Remove default arg from friend in class.
7507 * text2.C (LyXText): adjust, initialize refresh_row.
7511 (insertParagraph): adjst
7512 (redoParagraphs): adjust
7513 (fullRebreak): adjust
7514 (updateCounters): adjust
7515 (deleteEmptyParagraphMechanism): first attempt at fixing a
7518 * text.C (top_y): adjust
7519 (setHeightOfRow): adjust
7521 (getRowNearY): adjust
7523 * lyxtext.h: include RowList.h
7524 (~LyXText): not needed anymore, deleted.
7525 (firstRow): modify for RowList
7526 (lastRow): new function
7527 Delete firstrow and lastrow class variables, add a Rowlist
7528 rowlist_ class variable.
7530 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7533 * RowList.C (insert): fix case where it == begin().
7535 2003-03-26 Angus Leeming <leeming@lyx.org>
7537 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7538 the thesaurus dialog.
7540 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7544 * RowList.[Ch]: new files
7546 * ParagraphList.C (erase): handle the case where it == begin
7549 2003-03-25 John Levon <levon@movementarian.org>
7553 * aspell.C: add new aspell support
7556 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7559 2003-03-25 Angus Leeming <leeming@lyx.org>
7562 * LyXAction.C (init): new LFUN_INSET_INSERT.
7564 * BufferView_pimpl.C (dispatch): split out part of the
7565 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7567 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7570 2003-03-25 Angus Leeming <leeming@lyx.org>
7572 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7574 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7577 * text3.C: remove useless row->height(0)
7579 2003-03-25 John Levon <levon@movementarian.org>
7583 * text3.C: rename the refreshing stuff to better names
7585 2003-03-24 John Levon <levon@movementarian.org>
7587 * BufferView_pimpl.h:
7588 * BufferView_pimpl.C: update layout choice on a mouse
7591 2003-03-23 John Levon <levon@movementarian.org>
7593 * Makefile.am: fix commandtags.h reference
7595 2003-03-22 John Levon <levon@movementarian.org>
7597 * BufferView_pimpl.C:
7602 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7604 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7607 * text.C: take the rtl methods out of line
7609 2003-03-21 André Pönitz <poenitz@gmx.net>
7611 * metricsinfo.[Ch]: new files containing structures to be passed around
7612 during the two-phase-drawing...
7614 2003-03-21 André Pönitz <poenitz@gmx.net>
7616 * lyxtextclass.C: read 'environment' tag.
7618 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7620 * text2.C (removeRow): fix bug 964
7622 2003-03-20 John Levon <levon@movementarian.org>
7626 * text2.C: paint cleanups. Inset::update() dropped font
7629 2003-03-19 John Levon <levon@movementarian.org>
7631 * lyxfunc.C: only fitcursor/markDirty if available()
7633 2003-03-19 John Levon <levon@movementarian.org>
7635 * commandtags.h: rename to ...
7637 * lfuns.h: ... this, and renumber / cleanup
7639 2003-03-19 John Levon <levon@movementarian.org>
7641 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7642 fit the cursor after an lfun
7646 * BufferView_pimpl.h:
7647 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7649 * LyXAction.C: layout-character should have ReadOnly
7651 * ParagraphParameters.C:
7653 * bufferview_funcs.C:
7660 * undo_funcs.C: changes from above
7662 2003-03-18 John Levon <levon@movementarian.org>
7664 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7665 remove it from update()
7667 * lyxfunc.C: update layout choice after an lfun
7669 * text3.C: remove extra updateLayoutChoice()s
7671 2003-03-18 John Levon <levon@movementarian.org>
7673 * text.C: top_y change means full repaint, fix
7674 a drawing bug with cursor movement
7676 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7680 * text2.C: anchor row on setCursor
7682 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7684 * lyxtext.h: remove almost all mutable keywords
7687 * text3.C: remove const keywords accordingly
7689 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7693 (TeXEnvironment): ditto
7696 2003-03-17 John Levon <levon@movementarian.org>
7698 * text.C (rowBreakPoint): remove attempt to fix displayed
7699 math insets inside a manual label
7701 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * lyxtext.h: remove BufferView* as first arg from almost all class
7705 * other files: adjust.
7707 2003-03-17 John Levon <levon@movementarian.org>
7711 * text2.C: more paint cleanups
7713 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7716 * rowpainter.C: remove "smart" background painting code
7718 2003-03-16 John Levon <levon@movementarian.org>
7723 * text3.C: add helper functions for setting refresh_row/y
7725 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7727 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7728 newline inset which *can* get inserted in the pass_thru layouts.
7729 This is primarily for literate documents.
7731 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7733 * buffer.C: increment LYX_FORMAT to 223
7735 2003-03-14 André Pönitz <poenitz@gmx.net>
7737 * textclass.h: prepare for environment handling, ws changes
7738 * lyxlayout.C: read latexheader and latexfooter tags
7740 2003-03-14 John Levon <levon@movementarian.org>
7742 * text2.C: rewrite ::status() a bit
7744 2003-03-13 John Levon <levon@movementarian.org>
7746 * lyxtext.h: add some docs
7748 2003-03-13 John Levon <levon@movementarian.org>
7753 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7755 2003-03-13 John Levon <levon@movementarian.org>
7757 * text3.C: fix appendix redrawing
7759 2003-03-13 John Levon <levon@movementarian.org>
7761 * text.C (setHeightOfRow):
7763 * rowpainter.C: make appendix mark have the text
7764 "Appendix" so the user knows what it is
7767 * LColor.C: s/appendixline/appendix/ from above
7769 2003-03-13 John Levon <levon@movementarian.org>
7771 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7773 * text.C: fix a getChar(pos) bug properly
7775 2003-03-13 Angus Leeming <leeming@lyx.org>
7778 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7779 Probably only temporary. Let's see how things pan out.
7781 * BufferView.C (unlockInset):
7782 * BufferView_pimpl.C (fitCursor):
7783 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7785 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7786 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7788 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7789 new functions that convert ParagraphParameters to and from a string.
7791 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7792 BufferView::Pimpl's dispatch.
7793 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7795 2003-03-13 André Pönitz <poenitz@gmx.net>
7799 * factory.C: make it aware of InsetEnv
7801 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * text2.C (setCursor): never ask for one past last
7804 (setCursor): add some debugging messages.
7806 * text.C (singleWidth): never ask for one past last
7807 (singleWidth): ditto
7809 (rightMargin): ditto
7810 (rowBreakPoint): ditto
7811 (setHeightOfRow): ditto
7812 (prepareToPrint): ditto
7814 * rowpainter.C (paintBackground): never ask for one past last
7815 (paintText): never ask for one past last
7817 * paragraph_pimpl.C (getChar): make the assert stricter, never
7818 allow the one past last pos to be taken
7820 * paragraph.C (getChar): ws changes only
7822 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7823 (numberOfSeparators): ditto
7824 (numberOfHfills): ditto
7826 2003-03-12 John Levon <levon@movementarian.org>
7832 * paragraph_funcs.C: fix per-buffer authorlists
7834 2003-03-12 John Levon <levon@movementarian.org>
7836 * text.C: fix newline in right address
7838 2003-03-12 Angus Leeming <leeming@lyx.org>
7840 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7841 duplicate those in LyXFunc::dispatch.
7845 * ToolbarDefaults.C:
7846 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7847 Add LFUN_FONTFREE_UPDATE.
7849 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7850 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7852 * bufferview_func.[Ch]: several new functions to facilliate
7853 transfer of data to and from the character dialog.
7855 2003-03-12 John Levon <levon@movementarian.org>
7860 * paragraph_funcs.C:
7861 * paragraph_pimpl.C:
7865 * text3.C: remove META_NEWLINE in favour of an inset
7868 * rowpainter.C: remove paintNewline (done by inset)
7870 2003-03-12 John Levon <levon@movementarian.org>
7872 * paragraph_pimpl.C: complain about bad getChar()s
7873 for a while at least
7875 2003-03-12 John Levon <levon@movementarian.org>
7878 * buffer.C: move paragraph read into a separate function,
7879 a little renaming to reflect that.
7882 * bufferparams.C: remove the author_ids map, not necessary now
7885 * factory.C: moved Buffer::readInset to here
7887 * paragraph_funcs.h:
7888 * paragraph_funcs.C: readParagraph free function moved from
7891 * tabular.C: name change
7893 2003-03-12 John Levon <levon@movementarian.org>
7896 * ParagraphParameters.C: move par params input to
7899 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7900 behave like a normal read from the stream wrt reading
7901 a line vs. a \\token
7903 2003-03-12 John Levon <levon@movementarian.org>
7906 * ParagraphParameters.h:
7907 * ParagraphParameters.C: move output code to a
7910 2003-03-12 John Levon <levon@movementarian.org>
7912 * BufferView.C (insertLyXFile):
7915 * tabular.C: use a parlist iterator for creating the
7918 2003-03-12 John Levon <levon@movementarian.org>
7920 * buffer.C: make current_change static local not
7923 2003-03-12 John Levon <levon@movementarian.org>
7925 * buffer.C: fix insertStringAsLines for change tracking
7927 2003-03-12 John Levon <levon@movementarian.org>
7934 * bufferparams.C: move author list into params. Rename some
7935 functions. Move the header reading into a separate token
7936 loop. Move the header token reading into BufferParams.
7938 2003-03-12 John Levon <levon@movementarian.org>
7940 * changes.C: put debug inside lyxerr.debugging() checks
7942 2003-03-11 André Pönitz <poenitz@gmx.net>
7944 * factory.C: make it aware of InsetHFill
7946 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7948 * buffer.C (latexParagraphs): move function from here...
7949 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7952 2003-03-10 Angus Leeming <leeming@lyx.org>
7954 * LyXAction.C (init): fix bug in poplating array with multiple entries
7955 with the same LFUN (spotted by JMarc).
7957 2003-03-10 John Levon <levon@movementarian.org>
7960 * text2.C: move getColumnNearX() near its
7963 2003-03-10 John Levon <levon@movementarian.org>
7965 * text.C: fix break before a minipage
7967 2003-03-10 John Levon <levon@movementarian.org>
7969 * text.C: fix the last commit
7971 2003-03-09 John Levon <levon@movementarian.org>
7975 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7976 bug 365 (don't break before insets unless needed). Don't
7977 return a value > last under any circumstances.
7979 2003-03-09 Angus Leeming <leeming@lyx.org>
7981 * BufferView_pimpl.C (trackChanges, dispatch): call
7982 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7984 2003-03-09 Angus Leeming <leeming@lyx.org>
7986 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7987 than Dialogs::showAboutlyx().
7989 2003-03-09 Angus Leeming <leeming@lyx.org>
7991 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7992 than Dialogs::showTabularCreate().
7994 2003-03-09 John Levon <levon@movementarian.org>
7998 * text2.C: 3rd arg to nextBreakPoint was always the same.
8001 2003-03-08 John Levon <levon@movementarian.org>
8008 * text2.C: Remove the "main" bit from the "main body"
8011 2003-03-08 John Levon <levon@movementarian.org>
8013 * text.C (leftMargin): The left margin of an empty
8014 manual label paragraph should not include the label width
8017 * text.C (prepareToPrint): don't attempt to measure hfills
8018 for empty manual label paragraphs - the answer should be 0
8020 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * CutAndPaste.C: remove commented code and reindent.
8024 2003-03-08 John Levon <levon@movementarian.org>
8027 * lyxfunc.C: move reloadBuffer()
8030 * BufferView.C: to here
8032 * lyxvc.C: add comment
8035 * vc-backend.C: call bv->reload() to avoid
8036 getStatus() check on MENURELOAD
8038 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8040 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8041 to an old format .dep file.
8043 2003-03-07 Angus Leeming <leeming@lyx.org>
8045 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8046 when the LFUN_MOUSE_RELEASE should have been handled by
8047 inset->localDispatch.
8049 2003-03-07 Angus Leeming <leeming@lyx.org>
8051 * BufferView_pimpl.C (dispatch):
8052 * LyXAction.C (init):
8053 * ToolbarDefaults.C (init):
8055 * lyxfunc.C (getStatus):
8056 remove LFUN_INSET_GRAPHICS.
8058 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8060 2003-03-07 Angus Leeming <leeming@lyx.org>
8063 * LyXAction.C (init):
8064 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8066 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8069 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8071 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8072 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8074 2003-03-07 Angus Leeming <leeming@lyx.org>
8076 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8079 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * ParagraphList.C (front): new function
8084 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8086 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8087 and top_row_offset_. removed var first_y.
8089 * text2.C (LyXText, removeRow):
8091 * BufferView_pimpl.C:
8092 use these methods instead of using first_y
8094 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * text2.C (pasteSelection): adjust for checkPastePossible
8098 * CutAndPaste.C: remove Paragraph * buf and replace with
8099 ParagraphList paragraphs.
8100 (DeleteBuffer): delete
8101 (cutSelection): change the tc type to textclass_type
8102 (copySelection): change the tc type to textclass_type
8103 (copySelection): adjust for ParagraphList
8104 (pasteSelection): change the tc type to textclass_type
8105 (pasteSelection): adjust for Paragraphlist
8106 (nrOfParagraphs): simplify for ParagraphList
8107 (checkPastePossible): simplify for ParagraphList
8108 (checkPastePossible): remove unused arg
8110 * ParagraphList.C (insert): handle the case where there are no
8113 * CutAndPaste.h: make CutAndPaste a namespace.
8115 * text3.C (dispatch): adjust
8117 * text.C (breakParagraph): add a ParagraphList as arg
8119 * paragraph_funcs.C (breakParagraph): change to take a
8120 BufferParams and a ParagraphList as args.
8121 (breakParagraphConservative): ditto
8122 (mergeParagraph): ditto
8123 (TeXDeeper): add a ParagraphList arg
8124 (TeXEnvironment): ditto
8127 * buffer.C (readLyXformat2): adjust
8128 (insertStringAsLines): adjust
8129 (latexParagraphs): adjust
8131 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8132 (cutSelection): adjust
8133 (pasteSelection): adjust
8135 * BufferView_pimpl.C (insertInset): adjust
8137 2003-03-05 Angus Leeming <leeming@lyx.org>
8140 * LyXAction.C (init):
8141 * BufferView_pimpl.C (dispatch):
8142 * lyxfunc.C (getStatus):
8143 remove LFUN_CHILD_INSERT.
8145 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8147 2003-03-05 Angus Leeming <leeming@lyx.org>
8150 * LyXAction.C (init):
8151 * src/factory.C (createInset):
8152 * lyxfunc.C (getStatus):
8153 * text3.C (dispatch):
8154 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8156 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8158 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * ParagraphList.C (insert): handle insert right before end()
8161 (erase): fix cases where it can be first or last paragraph.
8163 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8166 Paragraph::next and Paragraph::previous
8169 * text.C (breakParagraph): adjust
8171 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8172 BufferParams& as arg.
8173 (breakParagraph): use ParagraphList::insert
8174 (breakParagraphConservative): take a Buffer* instead of a
8175 BufferParams& as arg.
8176 (breakParagraphConservative): use ParagraphList::insert.
8178 * buffer.C (insertStringAsLines): un-const it
8179 (insertStringAsLines): adjust
8181 * ParagraphList.C (insert): new function
8183 * CutAndPaste.C (pasteSelection): adjust
8185 * text.C (backspace): adjust
8187 * tabular.C (SetMultiColumn): adjust
8189 * CutAndPaste.C (cutSelection): adjust
8190 (pasteSelection): adjust
8192 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8193 Buffer const * as arg
8195 * ParagraphList.C (erase): new function
8196 * paragraph_funcs.C (mergeParagraph): use it
8197 (mergeParagraph): make it take a Buffer* instead of a
8198 BufferParams* as arg
8200 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8202 (breakParagraphConservative): ditto
8204 * paragraph.h: remove the breakParagraph friend
8206 * paragraph.C (eraseIntern): new function
8207 (setChange): new function
8209 * paragraph_funcs.C (mergeParagraph): make it take a
8210 ParagraphList::iterator instead of a Paragraph *, adjust
8213 * paragraph.h: move an #endif so that the change tracking stuff
8214 also works in the NO_NEXT case.
8216 2003-03-04 Angus Leeming <leeming@lyx.org>
8219 * LyXAction.C: new LFUN_INSET_MODIFY.
8221 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8222 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8224 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * several files: ws changes only
8228 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8229 (TeXEnvironment): ditto
8232 * buffer.C (makeLaTeXFile): adjust
8233 (latexParagraphs): make it take ParagraphList::iterator as args
8235 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * buffer.C (latexParagraphs): adjust
8239 * paragraph.C (TeXOnePar): move function...
8240 (optArgInset): move function...
8241 (TeXEnvironment): move function...
8242 * paragraph_pimpl.C (TeXDeeper): move function...
8243 * paragraph_funcs.C: ...here
8245 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8247 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * buffer.C (readInset): remove compability code for old Figure and
8252 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * buffer.C: ws changes
8257 * BufferView_pimpl.C: ditto
8260 * bufferlist.h: ditto
8264 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8266 * converter.[Ch]: split into itself +
8269 * Makefile.am: += graph.[Ch] + format.[Ch]
8276 * lyxrc.C: added #include "format.h"
8278 2003-02-27 Angus Leeming <leeming@lyx.org>
8280 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8283 * factory.C (createInset): add "label" to the factory.
8285 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8286 string and do no more.
8288 2003-02-27 Angus Leeming <leeming@lyx.org>
8291 * LyXAction.C (init):
8292 * factory.C (createInset):
8293 * BufferView_pimpl.C (dispatch):
8294 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8296 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8298 * lyxfunc.C (dispatch):
8299 * text3.C (dispatch): pass name to params2string.
8301 2003-02-26 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8305 Rearrange the ~includes. Strip out the unnecessary ones.
8307 * factory.C (createInset): reformat.
8308 create new insets for the various LFUN_XYZ_APPLY lfuns.
8310 2003-02-26 John Levon <levon@movementarian.org>
8313 * lyxrow.C: add isParStart,isParEnd helpers
8315 * paragraph.h: make isInserted/DeletedText take refs
8317 * paragraph_funcs.h:
8318 * paragraph_funcs.C: remove #if 0'd code
8323 * text.C: use lyxrow helpers above.
8324 Move draw and paint routines to RowPainter.
8325 Make several methods use refs not pointers.
8326 Make backgroundColor() const.
8327 Add markChangeInDraw(), isInInset().
8328 Merge changeRegionCase into changeCase.
8329 Make workWidth() shouldn't-happen code into an Assert.
8332 * rowpainter.C: new class for painting a row.
8335 * vspace.C: make inPixels take a ref
8337 2003-02-26 Angus Leeming <leeming@lyx.org>
8339 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8342 2003-02-25 John Levon <levon@movementarian.org>
8344 * ispell.C: give the forked command a more accurate name
8346 2003-02-22 John Levon <levon@movementarian.org>
8349 * toc.C: make TocItem store an id not a Paragraph *
8352 2003-02-21 Angus Leeming <leeming@lyx.org>
8354 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8355 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8356 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8357 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8358 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8359 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8361 * BufferView_pimpl.C (dispatch):
8362 * LyXAction.C (init):
8363 * factory.C (createInset):
8364 * lyxfunc.C (getStatus, dispatch):
8365 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8367 2003-02-21 Angus Leeming <leeming@lyx.org>
8369 * BufferView_pimpl.C (MenuInsertLyXFile):
8370 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8371 * lyxfunc.C (menuNew, open, doImport):
8372 no longer pass a LyXView & to fileDlg.
8374 2003-02-21 Angus Leeming <leeming@lyx.org>
8376 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8377 * LyXAction.C: change, BIBKEY to BIBITEM.
8378 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8379 Change InsetBibKey to InsetBibitem.
8380 Change BIBKEY_CODE to BIBITEM_CODE.
8381 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8382 * factory.C: replace insetbib.h with insetbibitem.h.
8383 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8384 * paragraph.C: replace insetbib.h with insetbibitem.h.
8385 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8386 Change bibkey() to bibitem().
8387 * text.C: remove insetbib.h.
8388 * text2.C: replace insetbib.h with insetbibitem.h.
8389 change bibkey() to bibitem().
8390 * text3.C: remove insetbib.h.
8391 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8393 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * lyxrc.C (output): enclose user email in quotes (in case there are
8398 2003-02-18 John Levon <levon@movementarian.org>
8400 * buffer.h: add std::
8402 2003-02-17 John Levon <levon@movementarian.org>
8408 * pspell.C: reworking. Especially in ispell, a large
8409 number of clean ups and bug fixes.
8411 * lyxfunc.C: fix revert to behave sensibly
8413 2003-02-17 André Pönitz <poenitz@gmx.net>
8416 * commandtags.h: new LFUN_INSERT_BIBKEY
8426 * paragraph_func.C: remove special bibkey handling
8428 2003-02-17 John Levon <levon@movementarian.org>
8430 * text.C (Delete): fix case where delete at the end of
8431 the very first paragraph would not merge the pars
8433 2003-02-17 John Levon <levon@movementarian.org>
8435 * lyxrow.C: fix lastPrintablePos()
8437 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8439 * bufferparams.C (writeLaTeX): add a std:here
8441 * buffer.C: and remove a using directive there
8443 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * buffer.C (makeLaTeXFile): move the code that generates the
8448 * bufferparams.C (writeLaTeX): ... in this new method
8450 * LaTeXFeatures.C (getEncodingSet): make const
8451 (getLanguages): make const
8453 * MenuBackend.C (binding): returns the binding associated to this
8455 (add): sets the status of each item by calling getStatus. Adds
8457 (read): add support for OptSubMenu
8458 (expand): remove extra separator at the end of expanded menu
8460 2003-02-15 John Levon <levon@movementarian.org>
8463 * BufferView_pimpl.C:
8465 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8466 inset code that had no actual effect. Remove unneeded status
8469 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8471 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8474 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8476 * text.C (drawLengthMarker): also draw an arrow marker for
8477 symbolic lengths (medskip...)
8479 2003-02-14 John Levon <levon@movementarian.org>
8482 * tabular.C: better method names
8484 2003-02-14 John Levon <levon@movementarian.org>
8486 * BufferView_pimpl.C:
8491 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8492 it's a more accurate name. Remove some pointless uses.
8494 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8496 * text2.C (LyXText): change order of initilizers to shut off
8499 2003-02-14 John Levon <levon@movementarian.org>
8501 * buffer.C: use ParIterator for getParFromID()
8505 * paragraph_pimpl.h:
8506 * paragraph_pimpl.C: remove unused getParFromID()
8508 2003-02-14 John Levon <levon@movementarian.org>
8510 * buffer.C: remove some very old #if 0'd parse code
8512 2003-02-13 John Levon <levon@movementarian.org>
8516 * text2.C: move hfillExpansion(), numberOfSeparators(),
8517 rowLast(), rowLastPrintable(), numberofHfills(),
8518 numberOfLabelHfills() ...
8521 * lyxrow.C: ... to member functions here.
8526 * text.C: remove LyXText::beginningOfMainBody(), and call
8527 p->beginningOfMainBody() directly. Move the check for
8528 LABEL_MANUAL into the latter.
8535 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8541 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8542 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8544 2003-02-13 John Levon <levon@movementarian.org>
8546 * CutAndPaste.C: remove debug
8548 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8550 * paragraph.C (asString): remove two unused variables
8552 * lyxtextclass.C (readTitleType):
8554 (LyXTextClass): handle new members titletype_ and titlename_
8556 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8558 2003-02-09 John Levon <levon@movementarian.org>
8561 * buffer.C: replace hand-coded list with a map for the dep clean
8563 2003-02-08 John Levon <levon@movementarian.org>
8565 * LaTeX.C: consolidate code into showRunMessage() helper
8567 2003-02-08 John Levon <levon@movementarian.org>
8572 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8573 and pass the size in explicitly
8575 * BufferView_pimpl.h:
8576 * BufferView_pimpl.C:
8578 * BufferView.C: add getCurrentChange()
8580 * BufferView_pimpl.h:
8581 * BufferView_pimpl.C: handle change lfuns
8583 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8584 for changes. Mark pasted paragraphs as new.
8586 * support/lyxtime.h:
8587 * support/lyxtime.C:
8588 * DepTable.C: abstract time_t as lyx::time_type
8591 * LColor.C: add colours for new text, deleted text, changebars
8593 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8594 package use "usenames" option.
8598 * LyXAction.C: add change lfuns
8602 * author.C: author handling
8605 * buffer.C: add a per-buffer author list, with first entry as
8606 current author. Handle new .lyx tokens for change tracking. Output
8607 author list to .lyx file. Output dvipost stuff to .tex preamble.
8608 Bump lyx format to 222.
8611 * bufferlist.C: add setCurrentAuthor() to reset current author details
8615 * bufferparams.C: add param for tracking
8617 * bufferview_funcs.C: output change info in minibuffer
8621 * changes.C: add change-tracking structure
8624 * debug.C: add CHANGES debug flag
8627 * lyxfind.C: add code for finding the next change piece
8630 * lyxrc.C: add user_name and user_email
8633 * lyxrow.C: add a metric for the top of the text line
8636 * text.C: implement accept/rejectChange()
8639 * text.C: paint changebars. Paint new/deleted text in the chosen
8640 colours. Strike through deleted text.
8644 * paragraph_pimpl.h:
8645 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8646 in the current change to the insert functions. Rework erase to
8647 mark text as deleted, adding an eraseIntern() and a range-based
8648 erase(). Implement per-paragraph change lookup and
8651 * paragraph_funcs.C: Fixup paste for change tracking.
8653 * tabular.C: mark added row/columns as new.
8655 * text.C: fix rowLast() to never return -1. Don't allow
8656 spellchecking of deleted text. Track transpose changes. Don't
8657 allow paragraph break or merge where appropriate.
8659 * text2.C: leave cursor at end of selection after a cut.
8661 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * text.C (getLengthMarkerHeight):
8664 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8665 visible on screen too.
8667 2003-02-07 John Levon <levon@movementarian.org>
8669 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8671 2003-02-05 Angus Leeming <leeming@lyx.org>
8673 * lyxserver.C (read_ready): revert my patch of 11 September last year
8674 as it sends PC cpu through the roof. Presumably this means that
8675 the lyxserver will no longer run on an Alpha...
8677 2003-01-30 Angus Leeming <leeming@lyx.org>
8679 * factory.C (createInset): create an InsetCommandParam of type "index"
8680 and use it to 'do the right thing'.
8682 * text2.C (getStringToIndex): ensure that cursor position is always
8683 reset to the reset_cursor position.
8685 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8687 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8690 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8694 * lyxfunc.C: Output messages with identical spelling, punctuation,
8697 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8699 * MenuBackend.C (expandFormats): List only viewable export formats
8702 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8705 * lyxfunc.C (getStatus): Make sure that formats other than
8706 "fax" can also be disabled
8708 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8710 * text3.C (dispatch): put the lfuns that insert insets in 3
8711 groups, and call doInsertInset with appropriate arguments.
8712 (doInsertInset): new function, that creates an inset and inserts
8713 it according to some boolean parameters.
8715 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * buffer.C (readFile): remember to pass on 'par' when calling
8718 readFile recursively.
8720 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * MenuBackend.C (expandFormats): add "..." to import formats.
8724 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8726 * paragraph.C (asString): Remove XForms RTL hacks.
8728 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8729 * buffer.C: fix typo
8731 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * Makefile.am (LIBS): delete var
8734 (lyx_LDADD): add @LIBS@ here instead.
8736 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8738 * Clarify the meaning of "wheel mouse jump"
8740 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8745 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * importer.C (Loaders): do not preallocate 3 elements in the
8748 vector, since one ends up with 6 elements otherwise
8750 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * DepTable.C (write): write the file name as last element of the
8753 .dep file (because it may contain spaces)
8754 (read): read info in the right order
8756 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8758 * paragraph_pimpl.C (simpleTeXBlanks):
8759 (simpleTeXSpecialChars):
8760 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8762 * tabular.C (latex): add some missing case statements. Reindent.
8764 * MenuBackend.C (expandToc): remove unused variable.
8766 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8775 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8778 2003-01-05 John Levon <levon@movementarian.org>
8781 * BufferView.C: add getEncoding()
8784 * kbsequence.C: do not store last keypress
8787 * lyxfunc.C: store last keypress here instead. Pass encoding
8790 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * lyx_main.C (init): remove annoying error message when following
8793 symbolic links (bug #780)
8795 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * text.C (insertChar):
8798 * lyxrc.C (getDescription): remove extra spaces
8800 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * lyxrc.C (getDescription): remove extra spaces
8804 2002-12-20 John Levon <levon@movementarian.org>
8806 * text3.C: hack fix for page up/down across tall rows
8808 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8810 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8813 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8815 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8816 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8817 thesaurus is not compiled in
8819 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8821 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8823 2002-12-16 Angus Leeming <leeming@lyx.org>
8826 * lyx_main.C (init): remove override_x_deadkeys stuff.
8828 2002-12-12 John Levon <levon@movementarian.org>
8830 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8831 insert. Only remove shift modifier under strict
8834 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8836 * MenuBackend.C (expandToc): fix crash.
8838 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8840 * MenuBackend.C (expandToc): gettext on float names.
8842 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8844 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8845 implement bool empty() [bug 490]
8847 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8851 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8853 * several files: ws changes
8855 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8857 * text2.C (setCounter): clean up a bit, use boost.format.
8858 (updateCounters): initialize par upon declaration.
8860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8861 if the layout exists. We do not just store the layout any more.
8862 (SwitchLayoutsBetweenClasses): use boost.format
8864 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8866 * converter.C (convert): if from and to files are the same, use a
8867 temporary files as intermediary
8869 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8872 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8874 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8876 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8878 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8880 * tabular.C (asciiPrintCell): use string(size, char) instead of
8883 * sgml.C (openTag): fix order of arguments to string constructor
8886 * lyxfunc.C (dispatch): use boost.format
8888 * lots of files: change "c" -> 'c'
8890 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8892 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8894 2002-11-25 Angus Leeming <leeming@lyx.org>
8896 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8898 * lyx_main.C (init): compile fix.
8900 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8902 * lyx_cb.C (start): boost.formatify
8903 do not include <iostream>
8905 * lengthcommon.C: ws only
8907 * boost-inst.C,BoostFormat.h: add more explict instantations
8909 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * lots of files: handle USE_BOOST_FORMAT
8913 2002-11-21 John Levon <levon@movementarian.org>
8915 * pspell.C: fix compile
8917 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8919 * lyxfunc.C (dispatch): use boost::format
8923 * lyxfont.C (stateText): use boost::format
8925 * lyx_main.C (LyX): use boost::format
8927 (queryUserLyXDir): ditto
8930 (typedef boost::function): use the recommened syntax.
8932 * importer.C (Import): use boost::format
8934 * debug.C (showLevel): use boost::format
8936 * converter.C (view): use boost::format
8941 * bufferview_funcs.C (currentState): use boost::format
8943 * bufferlist.C (emergencyWrite): use boost::format
8945 * buffer.C (readLyXformat2): use boost::format
8946 (parseSingleLyXformat2Token): ditto
8948 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8950 * LaTeX.C (run): use boost::format
8952 * Chktex.C (scanLogFile): use boost::format
8954 * BufferView_pimpl.C (savePosition): use boost::format
8955 (restorePosition): ditto
8956 (MenuInsertLyXFile): ditto
8958 * BoostFormat.h: help file for explicit instation.
8960 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8962 * tabular.C (latex): Support for block alignment in fixed width
8965 2002-11-17 John Levon <levon@movementarian.org>
8967 * BufferView_pimpl.C:
8969 * lyxfunc.C: split filedialog into open/save
8971 2002-11-08 Juergen Vigna <jug@sad.it>
8973 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8974 by my last patch (hopefully).
8976 2002-11-08 John Levon <levon@movementarian.org>
8985 * toc.C: ParConstIterator, and use it (from Lars)
8987 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8989 * lyxtextclass.[Ch]: revise and add doxygen comments
8991 2002-11-07 John Levon <levon@movementarian.org>
8993 * text.C: fix progress value for spellchecker
8995 * toc.C: fix navigate menu for insetwrap inside minipage
8997 * paragraph_funcs.C: added FIXME for suspect code
8999 2002-11-07 John Levon <levon@movementarian.org>
9001 * BufferView_pimpl.C: fix redrawing of insets
9004 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9006 * text2.C (updateCounters): fix bug 668
9008 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9010 * text3.C (dispatch): Do not make the buffer dirty when moving the
9013 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * vc-backend.C: STRCONV
9018 * text2.C (setCounter): STRCONV
9020 * paragraph.C (asString): STRCONV
9022 * lyxlength.C (asString): STRCONV
9023 (asLatexString): ditto
9025 * lyxgluelength.C (asString): STRCONV
9026 (asLatexString): ditto
9028 * lyxfunc.C (dispatch): STRCONV
9031 * lyxfont.C (stateText): STRCONV
9033 * importer.C (Import): STRCONV
9035 * counters.C (labelItem): STRCONV
9036 (numberLabel): ditto
9037 (numberLabel): remove unused ostringstream o
9042 * bufferview_funcs.C (currentState): STRCONV
9044 * buffer.C (readFile): STRCONV
9045 (asciiParagraph): ditto
9046 (makeLaTeXFile): ditto
9048 * Spacing.C (writeEnvirBegin): STRCONV
9050 * LaTeXFeatures.C (getLanguages): STRCONV
9051 (getPackages): ditto
9053 (getBabelOptions): ditto
9054 (getTClassPreamble): ditto
9055 (getLyXSGMLEntities): ditto
9056 (getIncludedFiles): ditto
9060 (scanAuxFile): ditto
9063 * LString.h: add the STRCONV macros
9065 * BufferView_pimpl.C (savePosition): STRCONV
9066 (restorePosition): ditto
9067 (MenuInsertLyXFile): ditto
9069 * vc-backend.C (scanMaster): change from submatch[...] to
9072 * funcrequest.C: include config.h
9074 * factory.C: include config.h
9076 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9078 * box.C: include config.h
9080 * LaTeX.C (scanAuxFile): change from submatch[...] to
9084 2002-10-25 Angus Leeming <leeming@lyx.org>
9086 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9088 * ispell.[Ch] (setError): new method.
9089 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9090 Use setError() insetead of goto END.
9092 * lyx_cb.C (AutoSave): move out child process into new class
9095 2002-10-30 John Levon <levon@movementarian.org>
9097 * text3.C: make start appendix undoable
9099 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9101 * lyxlength.C (inPixels): Fix returned value.
9103 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9106 2002-10-24 Angus Leeming <leeming@lyx.org>
9108 * lyxgluelength.h: no need to forward declare BufferParams
9109 or BufferView, so don't.
9111 2002-10-21 John Levon <levon@movementarian.org>
9113 * BufferView.C: menuUndo ->undo, redo
9115 * BufferView.h: document, remove dead, make some methods private
9117 * paragraph_funcs.h:
9118 * paragraph_funcs.C:
9119 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9124 * sgml.C: move sgml open/close tag into sgml.C
9126 * bufferview_funcs.h: unused prototype
9129 * lyxfunc.C: remove unused
9132 * text.C: remove unused
9134 2002-10-21 John Levon <levon@movementarian.org>
9138 * BufferView_pimpl.h:
9139 * BufferView_pimpl.C: fix mouse wheel handling based on
9140 patch from Darren Freeman
9142 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9144 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9146 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9148 * lyxlength.C (inPixels): Fix hanfling of negative length.
9149 Fix LyXLength::MU case.
9151 2002-10-16 John Levon <levon@movementarian.org>
9153 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9155 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9157 * converter.C (view): add support for $$i (file name) and $$p
9158 (file path) for the viewer command. If $$i is not specified, then
9159 it is appended to the command (for compatibility with old syntax)
9161 2002-10-14 Juergen Vigna <jug@sad.it>
9163 * undo_funcs.C (textHandleUndo): alter the order in which the
9164 new undopar is added to the LyXText, as we have to set first
9165 the right prev/next and then add it as otherwise the rebuild of
9166 LyXText is not correct. Also reset the cursor to the right paragraph,
9167 with this IMO we could remove the hack in "redoParagraphs()".
9169 2002-10-09 Angus Leeming <leeming@lyx.org>
9171 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9172 to turn off an optimisation if a new inset is to be inserted.
9174 2002-10-11 André Pönitz <poenitz@gmx.net>
9176 * lyxtext.h: make some functions public to allow access
9177 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9179 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * text3.C (dispatch): when changing layout, avoid an infinite loop
9184 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * lyxrc.C (read): treat a viewer or converter command of "none" as
9189 * MenuBackend.C (expandFormats): for an update, also allow the
9190 formats that are not viewable
9192 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9193 script if it is newer than the lyxrc.defaults in user directory
9195 2002-10-07 André Pönitz <poenitz@gmx.net>
9197 * text.C: Vitaly Lipatov's small i18n fix
9199 2002-09-25 Angus Leeming <leeming@lyx.org>
9201 * ispell.h: doxygen fix.
9203 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9205 * buffer.h (readFile): Add a new argument to the method, to allow
9206 reading of old-format templates.
9208 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9210 * toc.C (getTocList): Get TOC from InsetWrap.
9212 2002-09-16 John Levon <levon@movementarian.org>
9214 * lyxfunc.C: check tabular for cut/copy too
9216 2002-09-12 John Levon <levon@movementarian.org>
9221 * factory.C: add header
9223 * paragraph_funcs.h:
9224 * paragraph_funcs.C: cleanup
9226 2002-09-11 John Levon <levon@movementarian.org>
9228 * PrinterParams.h: odd/even default to true
9230 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9232 * PrinterParams.h: update printer parameters for new xforms dialog
9234 2002-09-11 Angus Leeming <leeming@lyx.org>
9236 * lyxserver.C (read_ready): re-write to make it more transparent
9237 and to make it work in coherent fashion under Tru64 Unix.
9239 2002-09-11 André Pönitz <poenitz@gmx.net>
9243 * text3.C: implement LFUN_WORDSEL
9245 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9247 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9248 make floatlist_ a boost::shared_ptr<FloatList>
9250 * lyxtextclass.C: include FloatList.h
9251 (LyXTextClass): initialize floatlist_
9252 (TextClassTags): add TC_NOFLOAT
9253 (Read): match "nofloat" to TC_NOFLOAT and use it.
9254 (readFloat): modify call to floatlist_
9258 * FloatList.[Ch] (FloatList): remove commented out float
9260 (erase): new function
9262 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * MenuBackend.C (expandToc): fix crash when there is no document
9267 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9269 * many files: Add insetwrap.
9271 2002-09-09 John Levon <levon@movementarian.org>
9273 * text2.C: remove confusing and awkward depth wraparound
9275 2002-09-09 John Levon <levon@movementarian.org>
9277 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9280 * buffer.C: remove getIncludeonlyList()
9283 * lyxfunc.C: remove headers
9285 2002-09-09 Juergen Vigna <jug@sad.it>
9287 * text.C (getColumnNearX): fix form Michael this is most
9288 probably a cut&paste bug.
9290 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9292 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9294 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9295 references, ws changes.
9297 * text2.C (init): update counters after init
9298 (insertParagraph): no need to set counter on idividual paragraphs.
9299 (setCounter): access the counters object in the textclass object
9300 on in the buffer object.
9301 (updateCounters): ditto
9303 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9304 shared_ptr<Counters> to avoid loading counters.h in all
9306 (LyXTextClass): initialize ctrs_
9307 (TextClassTags): add TC_COUNTER, and ...
9308 (Read): use it here.
9309 (CounterTags): new tags
9310 (readCounter): new function
9311 (counters): new funtion
9312 (defaultLayoutName): return a const reference
9314 * counters.C (Counters): remove contructor
9315 (newCounter): remove a couple of unneeded statements.
9316 (newCounter): simplify a bit.
9317 (numberLabel): some small formatting changes.
9319 * buffer.[Ch]: remove all traces of counters, move the Counters
9320 object to the LyXTextClass.
9322 2002-09-06 Alain Castera <castera@in2p3.fr>
9324 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9325 package to set the horizontal alignment on fixed width columns.
9328 * lyx_sty.h: added tabularnewline macro def.
9330 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9332 2002-09-06 John Levon <levon@movementarian.org>
9334 * LyXAction.C: tooltips for sub/superscript
9336 * MenuBackend.C: a bit more verbose
9338 * lyxfunc.C: tiny clean
9340 * undo_funcs.C: document undo_frozen
9342 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9344 * counters.C (Counters): add missing algorithm counter.
9346 * text2.C (setCounter): lookup the counter with layouts latexname
9347 instead of by section number.
9348 (setCounter): use a hackish way to lookup the correct enum
9350 a float name->type change
9351 reset enum couners with counter name directly instead of depth value.
9353 * counters.C (Counters): remove the push_backs, change to use the
9354 float type not the float name.
9355 (labelItem): remove unused string, float name->type change
9357 * counters.h: don't include vector, loose the enums and sects vectors
9359 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9361 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9362 (Read): add float->TC_FLOAT to textclassTags
9363 (Read): and handle it in the switch
9364 (readFloat): new function
9366 * FloatList.C (FloatList): comment out the hardcoded float
9369 * lyxlayout.h: ws change.
9371 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9373 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9375 2002-09-03 Angus Leeming <leeming@lyx.org>
9377 * BufferView_pimpl.h: qualified name is not allowed in member
9378 declaration: WorkArea & Pimpl::workarea() const;
9380 * factory.C: added using std::endl directive.
9382 * text3.C: added using std::find and std::vector directives.
9384 2002-08-29 André Pönitz <poenitz@gmx.net>
9387 * text2.C: remove unused member number_of_rows
9390 * BufferView2.C: remove file, move contents to...
9391 * BufferView.C: ... here
9393 * BufferView_pimpl.C:
9394 * factory.C: move more inset creation to factory
9396 * vspace.C: avoid direct usage of LyXText, ws changes
9399 don't provide direct access to WorkArea, use two simple
9400 acessors haveSelction() and workHeight() instead
9403 2002-08-29 John Levon <levon@movementarian.org>
9405 * BufferView_pimpl.C (dispatch): do not continue when
9408 2002-08-28 André Pönitz <poenitz@gmx.net>
9410 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9413 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9415 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9417 * buffer.C: increment LYX_FORMAT to 221
9419 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9420 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9422 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9424 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9426 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9428 * factory.C (createInset): use LyXTextClass::floats
9430 * MenuBackend.C (expandFloatListInsert):
9431 (expandFloatInsert):
9434 * text2.C (setCounter):
9436 * LaTeXFeatures.C (useFloat):
9437 (getFloatDefinitions):
9439 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9441 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9442 floatlist_, with accessor floats().
9444 * FloatList.h: remove global FloatList
9446 2002-08-26 André Pönitz <poenitz@gmx.net>
9448 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9452 * BufferView_pimpl.C:
9453 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9455 2002-08-25 John Levon <levon@movementarian.org>
9457 * LyXAction.C: fix margin note description
9459 2002-08-24 John Levon <levon@movementarian.org>
9463 * bufferview_funcs.C:
9465 * undo_funcs.C: cleanups
9467 * lyxfunc.C: disable CUT/COPY when no selection
9469 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9471 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9472 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9474 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9475 Add backward compatibility to "mono", "gray" and "no".
9477 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9479 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9480 (and file_format >= 200).
9482 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9484 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9486 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9488 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9490 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9492 * BufferView_pimpl.C:
9499 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9500 inset and code to make it work with the paragraph code. The inset
9501 can be anywhere in the paragraph, but will only do the expected
9502 thing in LaTeX if the layout file contains the parameter line
9504 (or more generally, a nonzero value) for that layout.
9506 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9508 * paragraph.h: remove the declaration of undefined counters class
9511 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9513 * text2.C (setCounter): fixed enumeration mis-count as reported by
9514 Dr. Richard Hawkins.
9516 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9518 * paragraph_funcs.h: remove some unneeded includes
9520 * text.C (backspace): pasteParagraph now in global scipe
9522 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9523 (pasteSelection): ditto
9525 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9526 * paragraph_funcs.C (pasteParagraph): ... here
9528 2002-08-20 André Pönitz <poenitz@gmx.net>
9530 * commandtags.h: new LFUNs for swapping/copying table row/colums
9533 * lyxfunc.C: support for new lfuns
9535 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9538 * buffer.[Ch]: remove NO_COMPABILITY stuff
9540 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9542 * boost.C (throw_exception): new file, with helper function for
9543 boost compiled without exceptions.
9548 * ParameterStruct.h:
9549 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9551 * bufferlist.C (emergencyWriteAll): use boost bind
9553 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9555 * text.C: include paragraph_funcs.h
9556 (breakParagraph): breakParagraph is now in global scope
9558 * paragraph_funcs.[Ch]: new files
9560 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9563 * buffer.C: include paragraph_funcs.h
9564 (insertStringAsLines): breakParagraph is now in global scope
9566 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9569 * CutAndPaste.C: include paragraph_funcs.h
9570 (cutSelection): breakParagraphConservative is now in global scope
9571 (pasteSelection): ditto
9573 * buffer.h: declare oprator== and operator!= for
9574 Buffer::inset_iterator
9576 * bufferlist.C (emergencyWrite): don't use fmt(...)
9578 * text3.C: add using std::endl
9580 * BufferView.C (moveCursorUpdate): remove default arg
9582 2002-08-20 André Pönitz <poenitz@gmx.net>
9584 * buffer.[Ch]: move inline functions to .C
9587 * BufferView_pimpl.C:
9589 * buffer.[Ch]: use improved inset_iterator
9592 * paragraph.[Ch]: write one paragraph at a time
9594 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9596 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9597 style if style is not specified.
9599 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * text2.C (setCounter): when searching for right label for a
9602 caption, make sure to recurse to parent insets (so that a caption
9603 in a minipage in a figure float works) (bug #568)
9605 2002-08-20 André Pönitz <poenitz@gmx.net>
9607 * text3.C: new file for LyXText::dispatch() and helpers
9609 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9611 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9613 2002-08-19 André Pönitz <poenitz@gmx.net>
9616 * text.C: new LyXText::dispatch()
9618 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9620 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9622 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9624 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9627 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9629 * Makefile.am: use $(variables) instead of @substitutions@
9631 2002-08-15 André Pönitz <poenitz@gmx.net>
9634 * BufferView_pimpl.C: streamlining mathed <-> outer world
9638 * LyXAction.C: remove unused LFUN_MATH
9640 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9642 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9644 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9646 * paragraph.C (Paragraph): reformat a bit
9647 (cutIntoMinibuffer): use builtin InsetList function instad of
9651 * buffer.C: include boost/bind.hpp, add using std::for_each
9652 (writeFileAscii): use ParagraphList iterators
9653 (validate): use for_each for validate traversal of paragraphs
9654 (getBibkeyList): use ParagraphList iterators
9655 (resizeInsets): use for_each to resizeInsetsLyXText for all
9657 (getParFromID): use ParagraphList iterators
9659 * BufferView2.C (lockInset): use paragraph list and iterators
9661 2002-08-14 John Levon <levon@movementarian.org>
9663 * lyxserver.C: remove spurious xforms include
9665 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9667 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9669 2002-08-13 André Pönitz <poenitz@gmx.net>
9672 * lyxfunc.C: further cleaning
9674 2002-08-13 André Pönitz <poenitz@gmx.net>
9676 * funcrequest.h: new constructor
9678 * funcrequest.C: move stuff here from .h
9681 * BufferView_pimpl.C:
9684 * lyxfunc.C: subsequent changes
9686 * lyxfunc.h: new view() member function
9688 * lyxfunc.C: subsequent changes
9690 2002-08-13 Angus Leeming <leeming@lyx.org>
9693 * BufferView_pimpl.C:
9701 changes due to the changed LyXView interface that now returns references
9702 to member variables not pointers.
9704 2002-08-13 Angus Leeming <leeming@lyx.org>
9706 * WordLangTuple (word, lang_code): return references to strings,
9711 * lyxtext.h: forward-declare WordLangTuple.
9716 * text.C: #include "WordLangTuple.h".
9719 * text.C: (selectNextWordToSpellcheck): constify return type.
9721 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9727 * paragraph_pimpl.h:
9730 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9732 Made updateCounter always count from start of buffer, and removed
9733 second argument (par).
9734 Reverted floats number display to '#'. Perhaps I'll try again when the
9735 code base is sanitized a bit.
9737 2002-08-12 Angus Leeming <leeming@lyx.org>
9739 * buffer.[Ch] (getLabelList): constify.
9741 2002-08-07 André Pönitz <poenitz@gmx.net>
9743 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9745 * funcrequest.h: extension to keep mouse (x,y) position
9747 2002-08-12 Juergen Vigna <jug@sad.it>
9749 * BufferView2.C (insertErrors): forbid undo when inserting error
9752 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9754 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9756 * ParagraphList.[Ch]: new files
9758 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9760 * BufferView2.C (lockInset): ParagraphList changes
9763 * bufferlist.C: ditto
9767 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9769 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9770 unused class variable counter_,
9772 * paragraph.[Ch] (getFirstCounter): delete unused function
9774 * counters.C: include LAssert.h
9775 (reset): add a new function with no arg, change other version to
9776 not have def. arg and to not allow empty arg.
9778 * text2.C (setCounter): remove empty arg from call to Counters::reset
9780 2002-08-11 John Levon <levon@movementarian.org>
9782 * Makefile.am: add WordLangTuple.h
9784 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9786 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9787 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9789 * insets/insettext.C: InsetList changes
9791 * graphics/GraphicsSupport.C (operator()): InsetList changes
9793 * toc.C (getTocList): InsetList changes
9795 * paragraph_pimpl.[Ch]: InsetList changes
9797 * paragraph.[Ch]: InsetList changes
9799 * buffer.C (inset_iterator): InsetList changes
9800 (setParagraph): ditto
9801 * buffer.h (inset_iterator): ditto
9802 * iterators.C (operator++): ditto
9803 * iterators.h: ditto
9805 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9807 * InsetList.[Ch]: new files, most InsetList handling moved out of
9810 * BufferView2.C (removeAutoInsets): InsetList changes
9812 (ChangeInsets): ditto
9814 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9816 * paragraph_pimpl.h (empty): new function
9818 * paragraph.[Ch] (empty): new function
9820 * other files: use the new Paragraph::empty function
9822 2002-08-09 John Levon <levon@movementarian.org>
9824 * lyxtext.h: remove unused refresh_height
9826 2002-08-09 John Levon <levon@movementarian.org>
9833 * paragraph.C: move sgml char escaping out of paragraph
9836 * paragraph.C: remove id setter
9840 * paragraph_pimpl.C: remove dead tex_code_break_column
9842 * bufferview_funcs.C: small cleanup
9844 * lyxfunc.C: remove dead proto
9846 * lyxtext.h: make some stuff private. Remove some dead stuff.
9848 * lyxgluelength.C: make as[LyX]String() readable
9850 2002-08-08 John Levon <levon@movementarian.org>
9855 * ToolbarDefaults.C:
9858 * toc.C: lyxaction cleanup
9860 2002-08-08 John Levon <levon@movementarian.org>
9862 * BufferView2.C: small cleanup
9865 * lyxfind.C: move unnecessary header into the .C
9867 2002-08-08 John Levon <levon@movementarian.org>
9869 * funcrequest.h: just tedious nonsense
9872 * lyx_main.C: cleanups
9875 * vspace.C: remove dead header lyx_main.h
9877 2002-08-07 Angus Leeming <leeming@lyx.org>
9880 * paragraph_pimpl.h:
9881 Forward declare class Counters in paragraph.h by moving the ctrs member
9882 variable into Paragraph::Pimpl.
9883 (counters): new method, returning a reference to pimpl_->ctrs.
9885 * text2.C: ensuing changes.
9887 2002-08-07 John Levon <levon@movementarian.org>
9889 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9891 * BufferView_pimpl.C: announce X selection on double/triple
9894 * lyx_main.C: use correct bool in batch dispatch
9896 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9898 2002-08-07 André Pönitz <poenitz@gmx.net>
9900 * funcrequest.h: new class to wrap a kb_action and its argument
9903 * BufferView_pimpl[Ch]:
9907 * lyxrc.C: subsequent changes
9910 2002-08-07 John Levon <levon@movementarian.org>
9912 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9913 document options change.
9915 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9920 * makefile.am: move counters functionality over from
9921 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9923 2002-08-06 John Levon <levon@movementarian.org>
9925 * WordLangTuple.h: new file for word + language code tuple
9936 * BufferView2.C: use WordLangTuple
9939 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9941 2002-08-06 John Levon <levon@movementarian.org>
9943 * lyx_main.C: fix cmdline batch handling
9945 2002-08-06 André Pönitz <poenitz@gmx.net>
9947 * lyxrc.C: set default for show_banner to true
9949 2002-08-06 John Levon <levon@movementarian.org>
9951 * pspell.C: fix a crash, and allow new aspell to work
9953 2002-08-06 John Levon <levon@movementarian.org>
9956 * kbmap.C: small cleanup
9959 * vspace.C: add const
9961 2002-08-05 John Levon <levon@movementarian.org>
9963 * LyXAction.C: back to tabular-insert
9965 2002-08-04 John Levon <levon@movementarian.org>
9968 * BufferView.C: cosmetic change
9970 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9980 * BufferView2.C: purge all "Lyx" not "LyX" strings
9983 * lyxcursor.C: attempt to add some documentation
9988 * ToolbarDefaults.C:
9989 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9990 merge with LFUN_TABULAR_INSERT
9997 * pspell.C: split up i/pspell implementations into separate
9998 files, many cleanups
10000 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10002 * text2.C: some cleanup
10004 * lyxfunc.C: don't check for isp_command == "none" any more, it
10005 didn't make any sense
10007 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10012 * makefile.am: move counters functionality over
10013 from text2.C/paragraph.[Ch] to counters.[Ch], and
10015 2002-08-02 John Levon <levon@movementarian.org>
10017 * buffer.C: s/lyxconvert/lyx2lyx/
10019 2002-08-02 Angus Leeming <leeming@lyx.org>
10021 * lyxlex.C: revert John's change as it breaks reading of the user
10024 2002-08-02 Angus Leeming <leeming@lyx.org>
10026 * importer.C (Import):
10027 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10028 changes due to LyXView::view() now returning a boost::shared_ptr.
10030 2002-08-02 John Levon <levon@movementarian.org>
10032 * lyxlex.C: small cleanup
10034 2002-08-02 John Levon <levon@movementarian.org>
10036 * text2.C (status): small cleanup, no logic change
10038 2002-08-01 John Levon <levon@movementarian.org>
10041 * buffer.C (writeFile): don't output alerts, caller
10045 * lyx_cb.C: from above
10047 * lyxfunc.C: allow to open non-existent files
10049 2002-07-31 John Levon <levon@movementarian.org>
10051 * lyxserver.C: don't let incidental errors get
10054 2002-07-30 John Levon <levon@movementarian.org>
10056 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10058 2002-07-30 John Levon <levon@movementarian.org>
10061 * lyxserver.C: remove I/O callback too
10063 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10065 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10068 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10070 * many files: strip,frontStrip -> trim,ltrim,rtrim
10072 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10074 * PrinterParams.h: remove extern containsOnly, and include
10075 support/lstrings.h instead.
10077 * LaTeX.C (scanAuxFile): modify because of strip changes
10079 * buffer.C (makeLaTeXFile): ditto
10080 * bufferparams.C (writeFile): ditt
10081 * lyxfont.C (stateText): ditto
10082 * lyxserver.C (read_ready): ditto
10083 * vc-backend.C (scanMaster): ditto
10085 * BufferView_pimpl.h: ws changes
10087 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10089 2002-07-26 André Pönitz <poenitz@gmx.net>
10091 * kb_sequence.C: remove unnedred usings
10093 2002-07-26 Juergen Vigna <jug@sad.it>
10095 * lyxfind.C (LyXReplace): we have to check better if the returned
10096 text is not of theLockingInset()->getLockingInset().
10098 2002-07-25 Juergen Vigna <jug@sad.it>
10100 * lyxfind.C (LyXReplace): don't replace if we don't get the
10103 * undo_funcs.C (createUndo): remove debugging code.
10105 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10107 * buffer.C (parseSingleLyXformat2Token): Use default placement
10108 when reading old floats.
10110 * FloatList.C (FloatList): Change the default placement of figure
10111 and tables to "tbp".
10113 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10115 * MenuBackend.C: using std::max
10117 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10119 * MenuBackend.C (expandToc):
10120 (expandToc2): code moved from xforms menu frontend. It is now
10121 generic and TOCs are transparent to menu frontends.
10123 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10125 * toc.C (getTocList): protect against buf=0
10127 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10128 Menu as first parameter. Now, this calls itself recursively to
10129 expand a whole tree (this will be useful for TOC handling)
10130 (expandFloatInsert): remove 'wide' version of floats
10132 * MenuBackend.h (submenuname): returns the name of the submenu.
10133 (submenu): returns the submenu itself, provided it has been
10134 created by MenuBackend::expand
10136 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10139 insets which have noFontChange == true. (bug #172)
10141 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * BufferView_pimpl.C: add connection objects and use them...
10146 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10148 * MenuBackend.C (expandLastfiles):
10151 (expandFloatListInsert):
10152 (expandFloatInsert):
10153 (expand): split expand in parts
10155 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10157 * lyx_gui.C: use lyx_gui::exit()
10159 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10161 * LyXAction.C: show the failing pseudo action
10163 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10165 * buffer.C (readFile): Run the lyxconvert script in order to read
10168 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10172 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10174 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10178 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10180 2002-07-22 Herbert Voss <voss@lyx.org>
10183 * lyxlength.[Ch]: add support for the vertical lengths
10185 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10187 * toc.[Ch]: std:: fixes
10189 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * lyxrc.C: do not include lyx_main.h
10193 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10199 * BufferView2.C: include "lyxlex.h"
10202 * bufferparams.h: do not #include "lyxlex.h"
10204 * lyxtextclasslist.C (Add): remove method
10205 (classlist): renamed to classlist_
10207 * paragraph_pimpl.C:
10211 * bufferview_funcs.C:
10216 * toc.C (getTocList): use BufferParams::getLyXTextClass
10218 * toc.C (getTocList): use InsetFloat::addToToc
10220 * toc.[Ch]: new files, containing helper functions to handle table
10223 * lyxfunc.C (dispatch): no need to remove spaces around command
10225 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10226 first command of the sequence; it is not very clever, but I do not
10227 have a better idea, actually
10229 * LyXAction.C (LookupFunc): make sure to remove space at the
10230 beginning and end of the command
10232 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10234 * MenuBackend.C (getMenubar): new method: return the menubar of
10236 (read): treat differently reading of menu and menubar (in
10237 particular, the menubar has no name now)
10238 (Menu::menubar): remove
10240 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10243 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10245 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10246 a bibitem inset in a RTL paragraph.
10248 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10250 * paragraph_pimpl.C: constify
10252 * BufferView_pimpl.C:
10254 * lyxfunc.C: fix dispatch in a nicer way
10256 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * lyxfunc.C (dispatch):
10259 * BufferView_pimpl.C:
10260 * BufferView_pimpl.h:
10262 * BufferView.h: rename Dispatch() to dispatch()
10264 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10266 * lyxlayout.C (Read): honor DependsOn tag
10268 * lyxlayout.[Ch] (depends_on): new method
10270 * version.C.in: update lyx_docversion
10272 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10274 * paragraph.C (validate): remove from here...
10275 * paragraph_pimpl.C (validate): ... and move here
10276 (isTextAt): make it const
10278 * buffer.C (getLists): ws cleanup
10280 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10282 * language.C (read): Use iso8859-1 encoding in latex_lang
10283 (this prevents LyX from crashing when using iso10646-1 encoding).
10285 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10287 * text2.C (toggleInset): if cursor is inside an inset, close the
10288 inset and leave cursor _after_ it
10290 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10292 * lyxfunc.C: move minibuffer completion handling out of here
10294 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10296 * BufferView_pimpl.C:
10297 * LaTeX.C: fix dispatch calls
10299 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10301 * text.C (drawChars): Fix Arabic text rendering.
10303 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10307 * lyxfunc.C: remove message-push/pop
10311 * lyxfunc.C: rationalise some code by removing verboseDispatch
10312 in favour of a bool argument to dispatch()
10314 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * lyx_main.C (init): make sure to read symlinks as absolute paths
10318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10321 * lyxfunc.C: no need for commandshortcut to be a member
10323 2002-07-15 André Pönitz <poenitz@gmx.net>
10325 * converter.C: add support for $$s (scripts from lib/scripts dir)
10326 * lyx_main.C: white space
10328 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10332 * lyxrc.C: remove second exit confirmation
10334 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView_pimpl.h:
10340 * BufferView_pimpl.C:
10341 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10343 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * MenuBackend.C (expand): add numeric shortcuts to document menu
10347 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10349 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10351 * lyxfont.C (setLyXFamily):
10358 * buffer.C (asciiParagraph): use ascii_lowercase
10360 2002-07-15 Mike Fabian <mfabian@suse.de>
10362 * lyxlex_pimpl.C (search_kw):
10363 * lyxlex.C (getLongString):
10364 * converter.h (operator<):
10365 * converter.C (operator<):
10366 * buffer.C (parseSingleLyXformat2Token):
10368 * ToolbarDefaults.C (read):
10369 * MenuBackend.C (checkShortcuts):
10371 * LColor.C (getFromGUIName):
10372 (getFromLyXName): use the compare_ascii_no_case instead of
10373 compare_no_case, because in turkish, 'i' is not the lowercase
10374 version of 'I', and thus turkish locale breaks parsing of tags.
10376 2002-07-16 Angus Leeming <leeming@lyx.org>
10378 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10379 now takes a Buffer const & argument.
10381 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10383 * BufferView.C (resize): check there's a buffer to resize
10385 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10387 * lyxfunc.C: remove dead code
10390 * lyxserver.C: use lyx_guii::set_read_callback
10392 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10394 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10395 an inset in a RTL paragraph.
10397 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10399 * lyxfunc.C: repaint after a font size update
10401 2002-07-15 André Pönitz <poenitz@gmx.net>
10403 * lyxlength.C: inBP should be able to return negative values
10405 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10407 * lyxfunc.C: use lyx_gui::update_fonts()
10409 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10411 * lyxfunc.C: use lyx_gui::update_color()
10413 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxrc.C: remove file->new asks for name option, and let
10420 buffer-new take an argument
10422 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10424 * BufferView_pimpl.C: remove unneeded extra repaint()
10426 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10428 * LyXAction.C: allow command-sequence with NoBuffer
10430 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10432 2002-07-10 Angus Leeming <leeming@lyx.org>
10434 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10436 2002-07-09 Angus Leeming <leeming@lyx.org>
10438 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10440 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10442 * lengthcommon.h: whitespace
10444 * lyxfunc.C: update scrollbar after goto paragraph
10446 * lyxtext.h: factor out page break drawing, and fix it so
10447 page break/added space paints as selected nicely
10449 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10451 * BufferView_pimpl.C: add FIXMEs, clean up a little
10453 2002-07-09 André Pönitz <poenitz@gmx.net>
10455 * lyxfont.[Ch]: support for wasy symbols
10457 2002-07-08 André Pönitz <poenitz@gmx.net>
10459 * BufferView_pimpl.C: apply John's patch for #93.
10461 2002-07-05 Angus Leeming <leeming@lyx.org>
10463 * BufferView_pimpl.C (buffer): generate previews if desired.
10465 * LColor.h: add "preview" to the color enum.
10467 * LColor.C (LColor): add a corresponding entry to the items array.
10469 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10472 2002-07-05 Angus Leeming <leeming@lyx.org>
10474 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10475 The body of the code is now in the method that is passed an ostream &
10476 rather than a file name.
10477 Pass an additional only_preamble parameter, useful for the forthcoming
10480 2002-07-03 André Pönitz <poenitz@gmx.net>
10482 * lyxfunc.C: simplify getStatus() a bit for math stuff
10484 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10488 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * text.C (changeRegionCase): do not change case of all the
10491 document when region ends at paragraph end (bug #461)
10493 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * paragraph.C (startTeXParParams):
10496 (endTeXParParams): add \protect when necessary
10498 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * BufferView_pimpl.C (workAreaExpose): remove warning
10502 2002-06-27 Angus Leeming <leeming@lyx.org>
10504 * Makefile.am: add lyxlayout_ptr_fwd.h.
10506 2002-06-26 André Pönitz <poenitz@gmx.net>
10508 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10510 2002-06-25 Angus Leeming <leeming@lyx.org>
10512 * lyxfunc.C (dispatch): Comment out the call to
10513 grfx::GCache::changeDisplay. The method no longer exists now that the
10514 pixmap generation part of the graphics loader has been moved into
10517 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * text2.C: layout as layout
10521 * text.C: layout as layout
10523 * tabular.C (OldFormatRead): layout as layout
10525 * paragraph_pimpl.C (TeXDeeper): layout as layout
10526 (realizeFont): layout as layout
10528 * paragraph.C (writeFile): layout as layout
10529 (validate): layout as layout
10530 (getFont): layout as layout
10531 (getLabelFont): layout as layout
10532 (getLayoutFont): layout as layout
10533 (breakParagraph): layout as layout
10534 (stripLeadingSpaces): layout as layout
10535 (getEndLabel): layout as layout
10536 (getMaxDepthAfter): layout as layout
10537 (applyLayout): layout as layout
10538 (TeXOnePar): layout as layout
10539 (simpleTeXOnePar): layout as layout
10540 (TeXEnvironment): layout as layout
10541 (layout): layout as layout
10542 (layout): layout as layout
10544 * lyxtextclass.C (compare_name): new functor to work with
10545 shared_ptr, layout as layout
10546 (Read): layout as layout
10547 (hasLayout): layout as layout
10548 (operator): layout as layout
10549 (delete_layout): layout as layout
10550 (defaultLayout): layout as layout
10552 * lyxlayout_ptr_fwd.h: new file
10554 * lyxlayout.C (Read): layout as layout
10556 * lyx_cb.C (MenuInsertLabel): layout as layout
10558 * bufferlist.C (newFile): layout as layout
10560 * buffer.C (readLyXformat2): layout as layout
10561 (parseSingleLyXformat2Token): layout as layout
10562 (insertStringAsLines): layout as layout
10563 (asciiParagraph): layout as layout
10564 (latexParagraphs): layout as layout
10565 (makeLinuxDocFile): layout as layout
10566 (simpleLinuxDocOnePar): layout as layout
10567 (makeDocBookFile): layout as layout
10568 (simpleDocBookOnePar): layout as layout
10569 (getLists): layout as layout
10571 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10573 * CutAndPaste.C (cutSelection): layout as layout
10574 (pasteSelection): layout as layout
10575 (SwitchLayoutsBetweenClasses): layout as layout
10577 * BufferView_pimpl.C (Dispatch): layout as layout
10578 (smartQuote): layout as layout
10580 * BufferView2.C (unlockInset): layout as layout
10582 2002-06-24 André Pönitz <poenitz@gmx.net>
10584 * lyxfunc.C: fix #487
10586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10590 * lyxfunc.C: remove display_shortcuts, show_banner
10592 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10594 * Buffer_pimpl.C: oops, update on resize
10596 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10603 * BufferView.C: use repaint()
10605 * BufferView_pimpl.h:
10606 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10607 as it's a clearer description. Remove superfluous
10610 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10612 * text.C: fix bug 488. Not ideal, but getting
10613 getWord() to work properly for the insets that
10614 matter is more difficult ...
10616 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10618 * BufferView_pimpl.C:
10621 * lyxfunc.C: remove the six million index lyxfuncs to just
10622 one, and DTRT (bug 458)
10624 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10628 * BufferView_pimpl.h:
10629 * BufferView_pimpl.C: clean up resize() stuff,
10630 and unnecessary updateScreen()s
10632 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10636 * BufferView_pimpl.h:
10637 * BufferView_pimpl.C:
10640 * minibuffer.C: remove focus management of workarea,
10641 not needed. Use screen's greyOut()
10643 2002-06-17 Herbert Voss <voss@lyx.org>
10645 * converter.C: (convert) do not post a message, when converting
10646 fails, let the calling function decide what to do in this case
10648 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10650 * lyxfunc.C: tidy up a little
10652 2002-06-16 <alstrup@diku.dk>
10654 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10655 Got rid of FORMS_H_LOCATION include. Now we are
10658 2002-06-15 LyX Development team <lyx@rilke>
10660 * buffer.[Ch] (sgmlOpenTag):
10661 (sgmlCloseTag): Added support for avoiding pernicious mixed
10662 content. Return number of lines written.
10664 (makeLinuxDocFile):
10665 (makeDocBookFile): Fixed calls to sgml*Tag.
10666 Simple white space clean.
10668 (simpleDocBookOnePar): Simple white space clean.
10670 * tabular.[Ch] (docBook): Renamed to docbook and got another
10671 argument to related with the pernicious mixed content.
10673 (docbookRow): Fixed calls for docbook inset method.
10675 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10677 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10678 so it's X11 independent.
10682 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10684 2002-06-15 Lyx Development team <lyx@electronia>
10686 * intl.h: Renamed getTrans to getTransManager.
10688 2002-06-14 Angus Leeming <leeming@lyx.org>
10690 * Makefile.am: nuke forgotten stl_string_fwd.h.
10692 2002-06-12 Angus Leeming <leeming@lyx.org>
10694 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10696 2002-06-13 Angus Leeming <leeming@lyx.org>
10699 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10701 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10703 * kbmap.C (getiso): add support for cyrillic and greek
10705 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10709 * BufferView_pimpl.h:
10710 * BufferView_pimpl.C: move bogus scrolling logic
10713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView_pimpl.C: view->resize() change
10718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10720 * BufferView_pimpl.C: topCursorVisible
10723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10727 * lyx_gui.C: move to frontends/
10731 * lyx_main.C: changes from above
10733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10740 * lyx_main.C: minor tidy
10742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10744 * BufferView_pimpl.h:
10745 * BufferView_pimpl.C:
10747 * BufferView.C: make painter() const,
10750 * BufferView2.C: use screen() accessor
10753 * lyx_main.C: some minor cleanup
10755 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10757 * BufferView_pimpl.h:
10758 * BufferView_pimpl.C: remove enter/leaveView,
10761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10766 * BufferView_pimpl.h:
10767 * BufferView_pimpl.C: only construct screen once,
10770 * lyxrc.C: remove pointless comment
10772 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10775 * BufferView.C: remove active() and belowMouse()
10777 * BufferView_pimpl.h:
10778 * BufferView_pimpl.C: use workarea() not workarea_,
10779 and make it use a scoped_ptr instead
10781 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10783 * lyx_gui.C: add debug message on BadWindow
10785 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10787 * sp_spell.C: fdopen is not part of the C++ standard.
10789 * paragraph.C (InsetIterator): use >= instead of ==
10791 2002-06-07 Angus Leeming <leeming@lyx.org>
10793 Fixes needed to compile with Compaq cxx 6.5.
10794 * BufferView_pimpl.C:
10801 * lyxtextclasslist.C:
10806 all c-library variables have been moved into namespace std. Wrap
10807 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10812 Add a using std::abs declaration.
10814 * kbmap.h (modifier_pair):
10815 * paragraph.h (InsetTable, InsetList):
10816 * lyxfont.h (FontBits):
10817 type definition made public.
10819 * bufferlist.C (emergencyWriteAll): the compiler complains that
10820 there is more than one possible lyx::class_fun template to choose from.
10821 I re-named the void specialisation as lyx::void_class_fun.
10823 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10825 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10826 the compiler is is unable to find tostr in write_attribute.
10828 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10830 * buffer.C (sgmlError): hide #warning
10832 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10834 * xtl/*: get rid of xtl, which is not in use anyway
10836 * LyXAction.C (init):
10837 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10838 were unimplemented xtl experimentation
10840 2002-06-04 André Pönitz <poenitz@gmx.net>
10842 * lyxfunc.C: disable array operation on simple formulae
10844 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10846 * converter.C: constify a bit
10848 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10850 * lyx_gui.C: check xforms version correctly
10852 2002-04-30 Herbert Voss <voss@lyx.org>
10854 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10857 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10859 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10860 attempt to register it with a VCS)
10862 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * lyx_main.C (init): honor variables LYX_DIR_13x and
10867 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10871 * lyx_main.C: fix a crash on bad command line,
10872 and give a useful exit status on error
10874 * lyxfunc.C (doImport): allow -i lyx to work
10876 2002-03-30 André Pönitz <poenitz@gmx.net>
10878 * lyxfunc.C: mathed font changes
10880 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10895 * trans_mgr.h: srcdocs, and some minor cleanups
10897 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10900 call getFont all the time)
10902 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * switch from SigC signals to boost::signals
10906 2002-05-29 André Pönitz <poenitz@gmx.net>
10908 * paragraph_pimpl.C (getChar): don't call size() too often...
10910 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * paragraph_pimpl.C (insertChar): do not try to update tables when
10913 appending (pos == size())
10915 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10916 in order to reduce drastically the number of comparisons needed to
10917 parse a large document
10919 2002-05-29 André Pönitz <poenitz@gmx.net>
10925 * textclasslist.[Ch]:
10926 * sp_ispell.h: whitespace change
10928 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10931 lyxaction directly now.
10933 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10937 * lyxvc.C: remove unused headers
10939 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10946 * undo_funcs.C: some cleanups. Use shared_ptr
10947 and a template for the undo stacks.
10949 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10951 * BufferView_pimpl.h:
10952 * BufferView_pimpl.C:
10959 * text2.C: use key_state/mouse_state
10961 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10966 * chset.C: change include order
10967 (loadFile): use boost regex and get rid of LRegex and LSubstring
10969 * Makefile.am (BOOST_LIBS): new variable
10970 (lyx_LDADD): use it
10972 * LaTeX.C: change include order.
10973 (scanAuxFile): use boost regex and get rid of LRegex and
10977 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10982 * FontInfo.C: moved to frontends/xforms/
10985 * FontLoader.C: moved into frontends for GUIIzation
10990 * lyxfunc.C: changes from above
10992 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10994 * LColor.C: remove spurious X include
10996 * BufferView_pimpl.C:
11001 * text2.C: move font metrics to frontends/
11003 2002-05-24 Juergen Vigna <jug@sad.it>
11005 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11006 setting the undo_cursor.
11008 * ParagraphParameters.h: include local includes first.
11010 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11012 * BufferView_pimpl.C:
11013 * BufferView_pimpl.h:
11017 * screen.C: move WorkArea into frontends/
11023 * BufferView2.C: move LyXScreen into frontends/
11027 * lyx_gui.C: move lyxlookup into frontends/xforms/
11029 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11032 * BufferView_pimpl.C:
11042 * bufferview_funcs.C:
11055 * vc-backend.C: move LyX/XFormsView into frontends/
11057 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11069 * text2.C: move Painter to frontends/
11071 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * buffer.C: comment out some some code that depend upon lyx_format
11076 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11077 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11079 * buffer.h (NO_COMPABILITY): turn off compability
11081 * ColorHandler.C: include scoped_array.hpp
11083 * font.C: Use more specific smart_ptr header.
11086 * ShareContainer.h: ditto
11087 * lyx_main.h: ditto
11089 * FontInfo.h: ditto
11090 * BufferView_pimpl.h: ditto
11091 * ColorHandler.h: ditto
11093 * kbmap.C (defkey): change call to shared_ptr::reset
11095 2002-05-21 Juergen Vigna <jug@sad.it>
11097 * buffer.C (insertErtContents): fix to insert ert asis if it is
11098 non empty. Skip it completely if it contains only whitespaces.
11100 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11102 * BufferView_pimpl.C:
11103 * BufferView2.C: clear selection on paste (bug 393)
11105 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * DepTable.C: include ctime
11109 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11111 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11113 2002-05-14 Juergen Vigna <jug@sad.it>
11115 * text.C (breakParagraph): fixed function to honor the keepempty
11116 layout in the right maner and also to permit the right breaking
11117 algorithm on empty or non empyt keepempty paragraphs.
11119 * paragraph.C (breakParagraph): we have to check also if the par
11120 is really empty (!size()) for isempty otherwise we do the wrong
11123 2002-05-10 Juergen Vigna <jug@sad.it>
11125 * buffer.[Ch] : The following are only changes to the ert
11126 compatibility read reading old LaTeX layout and font stuff and
11127 convert it to ERTInsets.
11129 * buffer.h: added isErtInset().
11131 * buffer.C (struct ErtComp): add a fromlayout bool to check
11132 if we're inside a LaTeX layout.
11133 (isErtInset): new helper function.
11134 (insertErtContents): look for other ert insets before this one
11135 and insert the contents there, so that we don't have subsequent
11136 ERT insets with nothing between them. This way we create only one
11137 inset with multiple paragraphs. Also check if we don't insert only
11138 spaces ' ' as they are ignored anyway afterwards in the .tex file
11139 so if we have only spaces we will ignore this latex part in the
11141 (parseSingleLyXformat2Token \\layout): better compatibility when
11142 reading layout-latex stuff.
11143 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11145 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11146 stuff after reading the inset only get the information back from
11149 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11151 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11153 * LaTeXFeatures.C (getBabelOptions): New method.
11155 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11157 * BufferView_pimpl.C (Dispatch): work around missing argument for
11160 2002-05-08 Juergen Vigna <jug@sad.it>
11162 * text.C (leftMargin): handle paragraph leftindent.
11164 * paragraph.C (writeFile): write the new \\leftindent tag.
11165 (validate): handle leftindent code.
11166 (TeXEnvironment): handle paragraphleftindent code again.
11168 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11170 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11171 for paragrap_extra indent code and new token \\leftindent.
11172 (latexParagraphs): handle the leftindent as environment.
11174 * ParameterStruct.h: added leftindent support.
11176 * ParagraphParameters.C (leftIndent): added support functions for
11177 the paragraph left indent.
11179 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11182 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11184 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11187 * text.C (computeBidiTables): No bidi in insetERT.
11189 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11192 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * version.C.in: pre 5
11196 2002-05-02 José Matos <jamatos@fep.up.pt>
11197 * buffer.C (makeDocBookFile): white space changes, add newline to
11199 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11201 * tabular.C (docBook): fix typo.
11203 2002-05-03 Juergen Vigna <jug@sad.it>
11205 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11206 change in LyXText as we can not be sure it was not freed.
11207 (drawOneRow): remove unused code.
11209 * text.C (drawInset): redo the calculation of the need_break_row as
11210 it could have a row which was already freed.
11211 (draw): look at the return value of drawInset and return false if
11212 it also returned false.
11213 (paintRowText): look at the return value of draw and return false if
11214 it also returned false.
11216 * lyxtext.h: added bool return type to drawInset() and draw() so that
11217 if we have a change in the row so that the rowbreak has to be redone
11218 we abort drawing as it will be called again.
11220 2002-05-02 Juergen Vigna <jug@sad.it>
11222 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11223 a change in the maintext also if we're inside an inset.
11224 (Dispatch): set the cursor again after a break line and after the
11225 screen has been updated as it could be we're in a different row.
11227 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11228 to set the cursor behind the pargraph with > size().
11229 (setCursor): check also for the same paragraph when checking where
11230 to put the cursor if we have a NFR inset.
11232 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11233 parts of layout read further up as it still was in the wrong
11236 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * screen.C (drawFromTo): change sine fullRebreak always return
11241 * buffer.C (parseSingleLyXformat2Token): reindent some
11243 * BufferView_pimpl.C (update): change since fullRebreak always
11245 (Dispatch): git rid of the last hardcoded "Standard"s.
11247 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11249 * text2.[Ch] (fullRebreak): make it return void now that we always
11252 2002-04-30 Juergen Vigna <jug@sad.it>
11254 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11255 ert compatibility check for "latex" layout.
11257 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11259 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11260 minipages: use col% instead of p%, and also use the current font.
11261 (makeLaTeXFile): Fix use babel condition.
11262 (parseSingleLyXformat2Token): Correct font when reading old floats.
11264 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11266 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11267 inserting list of floats.
11269 2002-04-25 Herbert Voss <voss@lyx.org>
11271 * MenuBackend.C (expand): don't add the graphics extensions to the
11274 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11277 non-existing layout, do not complain if it was the default layout
11278 of the original class (bug #342)
11280 2002-04-24 Juergen Vigna <jug@sad.it>
11282 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11283 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11285 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11287 * buffer.C (getBibkeyList): If using \bibliography, return the
11288 option field with the reference itself. Enables us to provide natbib
11289 support when using \bibliography.
11291 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11293 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11295 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11296 natbib is provided by the LaTeX class.
11298 2002-04-23 Juergen Vigna <jug@sad.it>
11300 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11303 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11305 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11309 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11310 ensuremath around textordmasculine, textordfeminine and
11313 2002-04-19 Juergen Vigna <jug@sad.it>
11315 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11316 reinitializing the buffer otherwise row-dimensions may be wrong.
11317 (update): reset also the selection cursors if they do exits otherwise
11318 their x/y positions may be wrong.
11320 * text2.C (cursorDown): don't enter the inset if we came from a row
11321 above and are one row over the inset.
11323 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11324 really leaving an inset.
11326 2002-04-18 Juergen Vigna <jug@sad.it>
11328 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11329 of the selected paragraph does not have the selected layout also if
11332 * text2.C (setLayout): fixed bug which did not change last selected
11335 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11336 changed the read and substituted \\end_float with \\end_inset!
11338 * BufferView_pimpl.C (cursorPrevious):
11339 (cursorNext): fixed to make it work with rows heigher than the work
11340 area without moving the cursor only the draw of the row.
11341 (workAreaMotionNotify): fix jumping over high rows.
11343 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11348 2002-04-16 Juergen Vigna <jug@sad.it>
11350 * text2.C (setCursor): set also the irow().
11351 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11353 (cursorDown): support for locking an inset if the x_fix value goes
11354 inside it. That way I can transverse insets too with cursor up/down.
11356 * lyxrow.h: added irow helper function same as other (i) functions.
11358 * BufferView_pimpl.C (cursorPrevious):
11359 (cursorNext): fixed for insets!
11361 2002-04-15 Juergen Vigna <jug@sad.it>
11363 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11364 position otherwise it is wrong in some cases.
11366 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11367 inside the inset before the call.
11369 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11371 * buffer.[Ch] (getBibkeyList): make it const.
11373 2002-04-12 Juergen Vigna <jug@sad.it>
11375 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11377 * text2.C (getCursorX): new helper function
11378 (setCursor): compute also ix_
11379 (setCursorFromCoordinates): set also ix.
11381 * lyxcursor.h: added ix_ and helper functions.
11383 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11385 * buffer.C (insertStringAsLines): dont break paragraph if the this
11386 paragraph is inside an inset which does not permit it!
11388 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11389 also with no chars on this paragraph.
11390 (paintRowText): only paint stuff if it's inside the workarea!
11392 * paragraph.C (breakParagraph): honor keepempty flag and break the
11393 paragraph always below not above.
11395 * BufferView2.C (unlockInset): update the paragraph layout on inset
11396 unlock as we changed paragraph in such a case.
11398 * lyxfind.C (LyXFind): clear the former selection if not found!
11400 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11401 again called in insertChar().
11403 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11404 an inset which uses the whole row!
11405 (rightMargin): ditto.
11406 (insertChar): force a rebreak if we inserted an inset!
11408 2002-03-28 Herbert Voss <voss@lyx.org>
11410 * lyxlength.[Ch]: add inBP() to get the right PS-point
11411 units (BigPoint). With inPixels we have rounding errors
11413 2002-04-11 Juergen Vigna <jug@sad.it>
11415 * text2.C (setCursorFromCoordinates): set iy to the right value.
11416 (setCursor): add check if row->previous exists!
11418 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11419 an old float_type as this was the case in the old code!
11421 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11423 * BufferView2.C (showLockedInsetCursor): use iy
11424 (fitLockedInsetCursor): ditto
11426 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11427 locked insets as there we have the right value now.
11429 * lyxcursor.C: added iy_ variable and iy functions to set to the
11430 baseline of cursor-y of the locked inset.
11432 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11433 (setCursor): fixed for insets which need a full row.
11435 * text.C (rowLastPrintable): don't ignore the last space when before
11436 an inset which needs a full row.
11437 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11438 as last character of a row when before a inset which needs a full row.
11440 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * version.C.in: update date
11444 * text2.C (fullRebreak): try to always return true and see what
11447 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * MenuBackend.C (expand): use Floating::listName
11451 * FloatList.C (FloatList): add listName argument to the built-in
11454 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11455 text associated with the float.
11457 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11459 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11461 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * ShareContainer.h: add a couple of missing typenames.
11465 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11467 * lyxrc.C (getDescription): use _() correctly rather than N_().
11469 2002-03-28 Herbert Voss <voss@lyx.org>
11471 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11472 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11474 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11477 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11479 2002-03-29 Juergen Vigna <jug@sad.it>
11481 * lyxfunc.C (dispatch): add a missing fitCursor call.
11483 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11484 it was scrolled by a cursor move, so return the bool status.
11486 * BufferView.C (fitCursor): return the bool flag also to the outside
11487 world as this is needed.
11489 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11491 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11492 call the edit() as it is not needed (and wrong) IMO.
11493 (workAreaButtonPress): set the screen_first variable before evt.
11494 unlock the inset as this may change screen_first and then we have
11495 a wrong y position for the click!
11497 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11499 * MenuBackend.C (expand): another translation that I missed
11501 2002-03-28 Juergen Vigna <jug@sad.it>
11503 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11505 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11507 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11511 * MenuBackend.C (expand): fix export/view/update when there is no
11514 2002-03-27 Herbert Voss <voss@lyx.org>
11516 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11519 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * bufferview_funcs.C (currentState): only show paragraph number
11522 for is DEVEL_VERSION is set.
11524 * lyxfunc.C (dispatch): put warning in INFO channel
11526 * MenuBackend.C (expand): translate the name of floats
11528 * FloatList.C (FloatList): mark the float names for translation
11530 * converter.C (convert): use LibScriptSearch
11532 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * MenuBackend.C (defaults): fix default menu (we might as well get
11537 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11542 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * lyxvc.C: reorder includes.
11546 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11548 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11551 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11553 * CutAndPaste.C: change layouts earlier on paste
11554 to avoid crashing when calling getFont()
11556 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11558 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11561 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * WorkArea.C: remove 'Pending' debug message.
11565 * most files: ws cleanup
11567 * buffer.[Ch]: ws changes
11569 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11571 2002-03-21 Juergen Vigna <jug@sad.it>
11573 * tabular.C (SetMultiColumn): collapse also the contents of the
11574 cells and set the last border right. Added a Buffer const * param.
11576 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11581 2002-03-19 Juergen Vigna <jug@sad.it>
11583 * text2.C (clearSelection): reset also xsel_cache.
11585 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11586 where it needs to be called (John tells us to do so too :)
11587 (selectionLost): reset sel_cache.
11589 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11591 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11593 * text2.C (setCursorIntern): put debuging code in INSETS channel
11595 2002-03-19 André Pönitz <poenitz@gmx.net>
11597 * lyxfunc.C: tiny whitespace change
11599 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11601 * ToolbarDefaults.C (init):
11602 * LyXAction.C (init):
11604 * BufferView_pimpl.C (Dispatch):
11605 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11607 2002-03-19 Allan Rae <rae@lyx.org>
11609 * exporter.C (Export): removeAutoInsets before doing anything else.
11610 While I've just introduced a dependency on BufferView this really is
11611 the best place to clean the buffer otherwise you need to cleanup in
11612 a dozen places before calling export or cleanup in a dozen functions
11615 * converter.C (runLaTeX):
11616 (scanLog): Better handling of removeAutoInsets and screen updates.
11618 * lyxfunc.C (dispatch): small whitespace changes
11620 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * WorkArea.C (C_WorkAreaEvent): return a value.
11623 (event_cb): return 1 if we handled the event, 0 otherwise.
11625 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11627 2002-03-18 Juergen Vigna <jug@sad.it>
11629 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11630 (GetAdditionalWidth): ditto.
11631 (RightLine): ditto.
11634 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11635 inset if we're there actually (probably not used right now but this
11636 is the direction to go for unifying code).
11637 (paste): disable code to clear the selection.
11639 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11640 inside an InsetText and move the check further up as it is in the
11643 * text2.C (pasteSelection): set a selection over the pasted text.
11645 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11647 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11648 and libgraphics to build on Cygwin.
11650 2002-03-15 Juergen Vigna <jug@sad.it>
11652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11653 inserting an Inset into the paragraph. I know this is not the best
11654 fix but we already use current_view in CutAndPaste so we will remove
11655 all of it's using at the same time.
11657 * buffer.C (sgmlError): deactivated function till it is rewritten in
11658 the right mode, now it can create problems.
11660 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11661 before accessing it.
11663 2002-03-14 Juergen Vigna <jug@sad.it>
11665 * undo_funcs.C (textHandleUndo): do the right thing when updating
11666 the inset after the undo/redo.
11668 * text2.C (setCursor): just some testcode for #44 not ready yet.
11670 * undo_funcs.C (textHandleUndo): set the next() and previous()
11671 pointers of the paragraph to 0 before deleting otherwise we have
11672 problems with the Paragraph::[destructor].
11674 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11675 on a paragraph insertion.
11677 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * buffer.C (asciiParagraph): use += operator for char append to
11682 * paragraph.C (getFontSettings): compare >= not just >
11683 (highestFontInRange): ditto
11686 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11688 * paragraph.C: change several algorithm to be more appripriate for
11689 the problem domain. This is lookip in FontList and in the InsetList.
11691 2002-03-13 André Pönitz <poenitz@gmx.net>
11694 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11696 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11703 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * Painter.C (display): anon helper function, adjust code for this
11707 (pixmap): remove function.
11709 * Painter.h: remove private display variable.
11711 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11713 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11715 * WorkArea.[Ch]: remove figinset_canvas cruft.
11717 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11719 * lyxtextclass.C (operator): add one item cache optimization.
11721 * bufferlist.h: doxy changes
11723 * bufferlist.C: ws changes
11725 * DepTable.[Ch] (ext_exist): place const in the right spot.
11727 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11729 (workAreaExpose): call resizeInsets when the with BufferView changes.
11730 (Dispatch): adjust for protectedBlank removal
11731 (specialChar): call updateInset if the insert went ok.
11733 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11734 specialChar instead.
11736 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11738 * BufferView.h: doxy change
11740 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11742 * lyxtextclass.C (operator[]): remove non-const version
11743 (defaultLayout): remove non-const version
11745 2002-03-12 Juergen Vigna <jug@sad.it>
11747 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11748 did resize the LyXText too.
11750 * buffer.C (readLyXformat2): set layout information on newly allocated
11753 * tabular.C (OldFormatRead): set layout information on the paragraph.
11755 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11757 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11759 2002-03-11 Juergen Vigna <jug@sad.it>
11761 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11763 (resizeCurrentBuffer): force also the insets to resize themselfes.
11764 (moveCursorUpdate): fixed up for InsetText.
11766 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11769 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11770 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11771 value of Dialogs::tooltipsEnabled().
11772 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11774 2002-03-08 Juergen Vigna <jug@sad.it>
11776 * BufferView_pimpl.C (updateInset): update inset inside inset also
11777 if it isn't inside theLockingInset().
11779 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * buffer.C (asciiParagraph): redo some of the word and line length
11783 (getLists): look for Caption instead of caption.
11785 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * buffer.C (Buffer): initialize niceFile to true
11789 (makeLinuxDocFile):
11790 (makeDocBookFile): make sure niceFile is true on exit
11792 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11794 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11796 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11798 * LyXSendto.C: remove.
11799 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11800 * lyx_gui.C: remove now-redundant comment.
11801 * ColorHandler.h: remove forward declaration of class WorkArea.
11802 * lyxfunc.C: remove #include "WorkArea.h".
11804 2002-03-07 Juergen Vigna <jug@sad.it>
11806 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11807 got moved away with the DEPM and also set the inset_owner always
11808 right which before could have been omitted.
11810 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11813 wanted layout is not found.
11815 2002-03-07 Juergen Vigna <jug@sad.it>
11817 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11819 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11821 * paragraph.C (breakParagraph): use default layout not layout of
11823 (Paragraph): clear ParagraphParameters.
11825 2002-03-06 Juergen Vigna <jug@sad.it>
11827 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11828 otherwise it would not be a valid lenght. Fixed a special case in
11829 the minipage compatibility read where we end the document with a
11832 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11833 was set as it could be 0 for InsetTexts first entry.
11835 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11837 * paragraph.C (writeFile): if layout is empty write out
11838 defaultLayoutName().
11840 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11841 file without named layout we set layout to defaultLayoutName().
11843 2002-03-06 Juergen Vigna <jug@sad.it>
11845 * CutAndPaste.C (copySelection): set layout for new paragraph.
11847 * text.C (prepareToPrint): leave ERT inset left aligned
11848 (leftMargin): don't indent paragraphs inside ERT insets
11850 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * paragraph.C (breakParagraph): dont call clear do the work manually
11854 * paragraph.[Ch] (clear): remove function
11856 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11858 * paragraph.C (Paragraph): dont call clear, the work has already
11861 * lyxtextclass.C (operator): assert if n is empty
11863 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11864 work manually instead.
11866 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11868 * BufferView_pimpl.C: protect selectionLost against text == 0
11870 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * text.C (breakParagraph): fix a setting layout to '0' problem.
11874 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11876 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11877 final location of file, for the included files, and graphics.
11879 2002-03-05 Juergen Vigna <jug@sad.it>
11881 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11883 2002-03-04 Juergen Vigna <jug@sad.it>
11885 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11887 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11888 last column of multicolumn cells.
11889 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11891 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11893 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11894 file if it doesn't go to a temporary file.
11896 * buffer.C (sgmlOpenTag):
11897 (sgmlCloseTag): remove extra newline insertion.
11899 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11901 * text.C (getRowNearY): comment out debug msg
11903 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11905 * text2.C: first -> first_y
11907 * text.C (getRowNearY): add some attemts at a possible
11908 optimization, not working.
11910 * tabular.[Ch]: add BufferParams to several function so that newly
11911 created paragraph can be initialized to he default layotu for the
11914 * tabular-old.C (ReadOld): add buf->params to call of Init
11916 * screen.C: rename text->first to text->first_y
11918 * paragraph.C (breakParagraph): always set layout in the broken
11921 * lyxtextclass.C (Read): remove lowercase
11924 (delete_layout): ditto
11926 * lyxtext.h: rename first -> first_y
11928 * lyxlayout.C (Read): remove lowercase
11931 (obsoleted_by): ditto
11933 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11935 * buffer.C (insertErtContents): add params are to InsetERT
11936 (parseSingleLyXformat2Token): add code to check if a paragraphs
11937 layout really exist.
11938 (parseSingleLyXformat2Token): add params to several inset
11940 (asciiParagraph): remove lowercase, do the layout comparisons with
11943 * BufferView_pimpl.C (cursorNext): first -> first_y
11944 (resizeCurrentBuffer): first -> first_y
11945 (updateScrollbar): first -> first_y
11946 (scrollCB): first -> first_y
11947 (workAreaMotionNotify): first -> first_y
11948 (workAreaButtonPress): first -> first_y
11949 (checkInsetHit): first -> first_y
11950 (cursorPrevious): first -> first_y
11951 (cursorNext): first -> first_y
11952 (Dispatch): add buffer_->params to severl inset contructors
11954 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11956 * lyxlayout.C (Read): remove some debug info that I forgot.
11958 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11959 clean up the code slightly.
11960 (makeLinuxDocFile): ditto
11961 (makeDocBookFile): ditto
11963 * text2.C: layout as string
11965 * text.C: layout as string
11967 * paragraph_pimpl.C: layout as string
11969 * paragraph.[Ch]: layout as string
11971 * lyxtextclasslist.[Ch]: layout as string
11973 * lyxtextclass.[Ch]: layout as string
11975 * lyxtext.h: layout as string
11977 * lyxlayout.[Ch]: layout as string
11979 * lyx_cb.C: layout as string
11981 * bufferview_funcs.C: layout as string
11983 * bufferparams.C: layout as string
11985 * buffer.C: layout as string
11987 * LyXView.[Ch]: layout as string
11989 * LaTeXFeatures.[Ch]: layout as string
11991 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11993 * BufferView_pimpl.C: change current_layout to string, remove
11998 (workAreaButtonRelease): layout as string
12000 * BufferView2.C (unlockInset): adjust
12002 * vspace.C (asLatexCommand): use an explict temp variable.
12004 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12006 * Makefile.am: use FRONTEND_*
12008 2002-03-01 Juergen Vigna <jug@sad.it>
12010 * tabular.C (SetWidthOfMulticolCell): changed to something better
12011 I hope but still work in progress.
12012 (recalculateMulticolumnsOfColumn): renamed function from
12013 recalculateMulticolCells as it is more appropriate now.
12014 (SetWidthOfCell): calculate multicols better.
12016 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12018 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12020 * lyxfunc.C (processKeySym): print sequence also if it is
12021 `deleted' (complete)
12023 * kbsequence.C (print): print sequence even if it is deleted
12024 (complete would be a better word, actually).
12026 * lyxfunc.C (dispatch): print complete options after a prefix key
12028 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12030 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12032 * text2.C (setCharFont): eliminate setCharFont code duplication.
12034 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12037 LFUN_TABULAR_FEATURE (bug #177)
12039 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12041 * Makefile.am: remove figure.h
12043 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12045 * Bufferview_pimpl.C:
12057 * text2.C: remove #include "lyx_gui_misc.h".
12059 * LaTeX.C: added #include <cstdio>
12061 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12064 that the paragraph following this one can have.
12066 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12068 * vspace.C (asLatexCommand): fix bogus gcc warning
12070 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12072 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12074 * text2.C (setLayout): get rid of redundant code
12076 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12078 * text2.C (incDepth): make sure depth cannot be increased beyond
12081 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12083 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12084 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12086 * PainterBase.h (image):
12087 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12088 a LyXImage const *.
12090 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12094 * BufferView_pimpl.C:
12095 * BufferView_pimpl.h:
12115 * sp_spell.C: remove fig inset, and the crap house of
12116 cards that follows it
12118 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12123 * os2_errortable.h:
12124 * nt_defines.h: move .h into support/
12126 * vms_defines.h: remove
12128 * WorkArea.C: add space in debug output
12132 * buffer.C: add WITH_WARNINGS
12136 * bufferlist.C: s/retrive/retrieve/, add docs
12145 * chset.C: add docs
12147 * lyxgui.C: add ID to X error handler
12149 * lyxtestclass.c: fix typo
12151 2002-02-26 Juergen Vigna <jug@sad.it>
12153 * tabular_funcs.C (write_attribute): changed so that some default
12154 attributes are not written at all.
12155 (getTokenValue): set default values before trying to read the
12156 value so we have the return value always set as default if we don't
12157 find the token we search for.
12159 * tabular.C (Write): write bools as bools not as strings!
12161 2002-02-22 Juergen Vigna <jug@sad.it>
12163 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12164 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12166 * text.C (leftMargin): don't add an indent for paragraphs inside
12167 tabular cells (fix #208).
12169 2002-02-21 José Matos <jamatos@fep.up.pt>
12171 * tabular.C (docBook): fixed support for long tables.
12173 2002-02-20 Juergen Vigna <jug@sad.it>
12175 * text2.C (getFont): get the drawing font of the Inset if this
12176 paragraph is inside an inset (only important for InsetERT for now).
12178 * buffer.C (insertErtContents): use new lanugage params in ERT
12181 * CutAndPaste.C: commenting out seemingly uneeded code.
12183 2002-02-19 Allan Rae <rae@lyx.org>
12185 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12186 Iterators might be simple to use but they also get invalidated.
12187 (removeAutoInsets): renamed saved cursor tracking variables and added
12188 some comments to clarify what everything does.
12190 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12197 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12198 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12201 * vc-backend.h: remove #include "support/syscall.h"
12205 * converter.C: rearrange #includes in Lars' approved fashion.
12207 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12208 forward declare class Timeout in the header file.
12210 * XFormsView.C: changes due to the above.
12212 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12213 similar to LyXView.
12215 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12216 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12218 2002-02-18 José Matos <jamatos@fep.up.pt>
12220 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12223 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12225 * a lot of small ws changes
12226 * add a lot of using std::XXX
12227 * use std construcs some places where approp.
12228 * use some exisint stuff from lyxfunctional where approp.
12229 * Make file changes to use partial linking (lets test this now...)
12231 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12235 remove #include "support/syscontr.h" as it's redundant. Always has been.
12243 change Systemcalls::System to Systemcalls::Wait and
12244 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12245 No change of functionality, just reflects the stripped down Systemcalls
12248 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12250 * debug.[Ch]: add a GRAPHICS type to the enum.
12252 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12254 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12256 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12259 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12261 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12262 match the changes below.
12264 * text2.C (toggleInset): if there is not editable inset at cursor
12265 position, try to see if cursor is _inside_ a collapsable inset
12268 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12270 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12271 document menu has a nice checkbox
12273 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * lyxlength.C (asLatexString): change PW to output as percent of
12278 * lengthcommon.C: change '%' to 't%'
12280 * lyxfunc.C (dispatch): a few comments from Martin
12282 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.h:
12287 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12290 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12292 * vspace.C (inPixels): fix compiler warning
12294 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12296 * lyxfunc.C (getStatus): fix status message for disabled commands.
12298 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12300 * BufferView_pimpl.C: fix crash on close buffer
12301 during selection (#227)
12303 2002-01-27 Herbert Voss <voss@lyx.org>
12305 * buffer.C: link old Figure to new graphic inset
12307 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12309 * FontLoader.C (getFontinfo): Change the latex font names in order
12310 to match the names of type1inst.
12312 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12316 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12317 (extchanged): ditto
12319 (remove_files_with_extension): ditto
12320 (remove_file): ditto
12323 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12324 document is smaller than the work area height. Do not initialize
12325 static variables to 0.
12327 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12329 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12331 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12332 LFUN_LAYOUT_PARAGRAPHS.
12334 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12335 tabular. It is possible to provide a possible cell, which will
12336 typically be the actcell from the corresponding insettabular
12338 * lyxfunc.C (getStatus): small cleanup; disable
12339 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12342 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12344 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12346 * paragraph.C (startTeXParParams):
12347 (endTeXParParams): new methods. The LaTeX code to
12348 start/end paragraph formatting
12349 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12350 empty (fixes bug #200)
12352 * vspace.C (inPixels): adapt to the change below
12353 (inPixels): [later] more cleanups (remove unused variables)
12355 * lyxlength.C (inPixels): change to use a width and a height as
12358 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12361 Replaced with \paperwidth
12363 * DepTable.C (insert): add std:: qualifier
12365 2002-01-18 Allan Rae <rae@lyx.org>
12367 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12370 * text.C (drawInset): Turned out I didn't know enough about how
12371 rebreaking worked. This fixes most of the redraw problems. I see
12372 an occasional cursor trail when a line is broken now and the cursor
12373 placement can seem out by a few pixels also after a rebreak.
12375 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12377 * buffer.C (parseSingleLyXformat2Token): update because minipage
12378 width is now a LyXLength
12380 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12382 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12385 2002-01-17 Juergen Vigna <jug@sad.it>
12387 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12389 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12390 is set correctly and the inset is updated correctly.
12392 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12394 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12395 the beginning of the loop.
12397 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12399 * lyxrc.C: improve help for use_scalable_fonts
12401 2002-01-17 Allan Rae <rae@lyx.org>
12403 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12405 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12408 make sure to set their inset_owner to the right value (bug #171)
12410 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12413 * DepTable.C: Implement mtime checking to reduce time spent doing
12416 2002-01-16 Juergen Vigna <jug@sad.it>
12418 * tabular.C (GetAdditionalHeight): one of error fixed.
12420 * lyxrc.C (output): small fix in writing use_pspell.
12422 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12424 * sp_base.h: #include LString.h
12426 2002-01-16 Allan Rae <rae@lyx.org>
12428 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12429 Can someone check this please?
12431 * text.C (drawInset): It was possible that p.row would be removed by
12432 breakAgainOneRow upsetting a few other settings. There may be another
12433 small tweak possible by setting need_break_row = 0 when p.row has been
12434 removed but I don't know enough about the logic here.
12436 2002-01-15 Allan Rae <rae@lyx.org>
12438 * text.C (insertChar): removed conditional truism.
12440 * BufferView2.C (removeAutoInsets): More tweaks.
12441 cur_par_prev could be a stray pointer. Check for trailing empty line
12442 in case last line was cur_par and only had an error inset on it.
12444 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12449 * vc-backend.C (most methods):
12450 * exporter.C (Export):
12451 * converter.C (convert):
12453 * LyXSendto.C (SendtoApplyCB):
12454 * lyxfunc.C (dispatch):
12458 * lyx_cb.C (AutoSave):
12460 * BufferView_pimpl.C (MenuInsertLyXFile):
12461 * buffer.C (runChktex): use Buffer::filePath().
12463 * buffer.h: rename filename to filename_; rename filepath to
12464 filepath_ and make it private
12465 (filePath): new method
12467 * buffer.C (writeFile): use fileName()
12470 * lyx_main.C (init): fix starting of LyX when the binary is a
12471 link from so,ewhere else.
12473 * minibuffer.C: include <cctype> for isprint
12475 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12477 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12478 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12479 name clash with InsetCollapsable's width function.
12481 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12483 * lastfiles.C: include <iterator>
12485 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12487 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12490 * buffer.C (makeLaTeXFile): ditto.
12491 Also make loop operation more transparent.
12493 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12495 * ToolbarDefaults.C: remove trailing comma closing namespace.
12497 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12499 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12502 * trans.C (Load): comment out unused variable, allowed.
12504 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12506 * minibuffer.[Ch] (append_char): new method to recieve input from the
12507 drop-down completion browser. If a key was pressed, then recieve this
12508 char and append it to the existing string.
12509 (peek_event): modify the positioning data passed to the completion
12510 browser so that it can be placed above the minibuffer rather than below.
12511 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12513 * LyXAction.C (init): alloe error-next for readonly documents.
12515 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12518 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * bufferlist.C (readFile): create the buffer _after_ checking that
12523 * lyxfunc.C (verboseDispatch): fix handling of arguments
12525 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12527 * lyxrc.C: use string::erase() instead of initializing to "".
12530 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12532 * BufferView_pimpl.h:
12533 * BufferView_pimpl.C:
12536 * text2.C: tell X when we have made a selection for copying
12538 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12540 * BufferView_pimpl.C (MenuInsertLyXFile):
12541 * lyxfunc.C (menuNew):
12543 (doImport): add shortcuts to directory buttons
12545 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12548 * lyxfunc.C (setStatusMessage):
12549 (getStatusMessage): new methods
12550 (getStatus):use setStatusMessage instead of setErrorMessage
12551 (dispatch): when function is disabled, set error message here
12552 [instead of in getStatus previously]
12554 * BufferView_pimpl.C (workAreaButtonRelease): update
12555 toolbar/menubar here too.
12557 2002-01-13 Allan Rae <rae@lyx.org>
12559 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12560 Now seems indestructible. Remaining task is to audit all other
12561 code affected by deleteEmptyParagraphMechanism. One small quirk
12562 left is that an empty document with an error in the preamble can
12563 be made to report an error but no error box appears. I don't know
12565 (removeAutoInsets): Improved comments.
12567 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12570 * Thesaurus.C: update for Aiksaurus 0.14
12572 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * text2.C (firstParagraph): removed member function, all uses
12575 replaces with ownerParagraph
12576 (redoParagraphs): here
12577 (updateInset): here
12578 (toggleAppendix): here
12579 * BufferView2.C (insertErrors): here
12580 (setCursorFromRow): here
12582 2002-01-13 Allan Rae <rae@lyx.org>
12584 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12585 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12586 There is still a way to segfault this although you may have to do this
12587 multiple times: Have an InsetERT with an unknown command in it.
12588 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12589 <down-arrow>, <Enter> again, View->DVI, BANG!
12591 * text2.C (setCursor):
12592 (deleteEmptyParagraphMechanism):
12593 * lyxtext.h (setCursor):
12594 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12595 Making use of the return value may help fix other bugs.
12597 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12601 * LyXView.C (updateMenubar): call MenuBar::update here
12602 (updateToolbar): but not here
12603 (showState): do not update toolbar/menubar
12605 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12606 should need to care about that.
12608 * lyxfunc.C (verboseDispatch): simplify a bit
12609 (getStatus): have a version which takes a pseudoaction, and
12610 another which requires a (kb_action,string).
12612 * LyXAction.C (retrieveActionArg): make it work also when action
12613 is not a pseudo-action.
12614 (getActionName): simplify a bit
12617 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12619 * lyxfunc.C (verboseDispatch): new families of methods with
12620 several ways to specify a command and a bool to indicate whether
12621 the command name and shortcut should be displayed in minibuffer
12622 (eventually, we could extend that to a finer bitmask like
12623 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12624 (dispatch): the pristine dispatch command which just, well,
12625 dispatchs! Note it still sets its result to minibuffer; I'm not
12628 * lyxfunc.h: remove setHintMessage
12630 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12632 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12634 * BufferView_pimpl.C (specialChar): delete new inset if we have
12635 not been able to insert it.
12637 * kbmap.C: revert to using int instead of kb_action, since all we
12638 are dealing with is pseudo-actions.
12640 * LyXAction.C (searchActionArg): change to return int instead of
12641 kb_action, since the result is a pseudoaction.
12643 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12645 * buffer.C (insertErtContents): Fix (partially) the font bug.
12647 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12649 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12650 as the other one is broken on my machine!
12652 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12655 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12657 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12659 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12660 reflect their actual use. Provide compatibility code for older lyxrc
12663 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12665 change names of popup font variables in line with the changes to lyxrc.C
12667 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * buffer.C (asciiParagraph): avoid outputing a word twice after
12672 * lyxrc.C (getDescription): document that document_path and
12673 template_path can be empty.
12675 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12677 * LaTeXFeatures.C (getMacros):
12678 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12680 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12682 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12684 (getPackages): rename feature "floats" to "float". Use an array to
12685 iterate over 'simple' features (i.e. just a \usepackage). Add
12686 handling of "amsmath" (renamed from "amsstyle").
12688 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12690 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12693 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12695 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12696 FuncStaus::FuncStatus & FuncStaus::some_method().
12698 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12700 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12701 of the func_satus stuff. Edited and massaged in various ways by
12704 * lyxfunc.C (getStatus): use FuncStatus
12706 2002-01-08 Juergen Vigna <jug@sad.it>
12708 * text.C (nextBreakPoint): use function Inset::isChar().
12710 * paragraph.C (TeXOnePar): use function
12711 Inset::forceDefaultParagraphs.
12713 * buffer.C (latexParagraphs): use function
12714 Inset::forceDefaultParagraphs.
12716 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12718 * lyx_gui.C (init): set the style of the menu popups to
12719 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12721 2002-01-07 Juergen Vigna <jug@sad.it>
12723 * text.C (setHeightOfRow): small fix
12724 (prepareToPrint): don't look at alignment if we don't have the place
12727 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12729 * box.C: New file. Move the Box methods and functions out of box.h,
12730 following Lars' suggestion.
12732 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12734 * box.h: #include "support/LOstream.h", needed for inlined function.
12737 * lyxtextclasslist.C: added some using std declarations.
12739 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12741 * box.h: make signed dimensions to allow insets wider than
12742 the screen (bug #162)
12744 * BufferView_pimpl.C: add some insetHit debug
12746 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12748 * vc-backend.C: add FIXME
12750 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * lyxfunc.C (getStatus): enable code for showing math font status
12755 2002-01-07 Juergen Vigna <jug@sad.it>
12757 * text.C (nextBreakPoint): removed debug output not needed anymore.
12759 2002-01-06 Juergen Vigna <jug@sad.it>
12761 * text.C (nextBreakPoint): fixed up this function we had this bug
12762 since ever but now hopefully we break row better.
12763 (insertChar): we have to check if an inset is the next char as it
12764 could now happen that a large inset is causing a break.
12766 2002-01-05 Juergen Vigna <jug@sad.it>
12768 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12769 if it doesn't like to be drawed.
12771 2002-01-04 Juergen Vigna <jug@sad.it>
12773 * BufferView2.C (lockInset): forgot to set a cursor.
12775 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12777 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12779 * FormMathsPanel.C:
12782 * form_maths_panel.C:
12783 * form_maths_panel.h:
12784 * form_maths_panel.fd: implemented sub- and super- buttons in math
12787 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12788 (or ^ space) to be used as in TeX (req'd by André).
12790 * lyxfunc.C: Allow ^ and _ again to be used both as
12791 super/subscript (mathed) and as themselves (in text).
12793 2002-01-03 Allan Rae <rae@lyx.org>
12795 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12796 "LyX" or the filename of the current buffer if it has one. This is a
12797 modified form of John Levon's patch.
12799 * XFormsView.C (setWindowTitle): also set icon title.
12801 * LyXView.h (setWindowTitle): signature changed.
12802 * XFormsView.h (setWindowTitle): ditto.
12804 2002-01-02 Juergen Vigna <jug@sad.it>
12806 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12808 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * screen.C (topCursorVisible): introduce a temp var for
12811 text->cursor.row(), handle the case where this row is null. (kindo
12814 * text2.C (setCursor): add a couple of asserts.
12816 * paragraph.h (inset_iterator): add -> operator
12818 * paragraph.[Ch] (autoDeleteInsets): remove member function
12820 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12821 cursor pos correctly and handle inset deletion by itself.
12822 (insertErrors): move iterator declaration out of for expression
12824 * lyxtextclass.C: add <algorithm>
12826 * Makefile.am: added the new files to sources, removed layout.C
12828 * layout.C: removed file
12830 * layout.h: remove LYX_DUMMY_LAYOUT
12832 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12836 * lyxtextclass.[Ch]:
12837 * lyxtextclasslist.[Ch]: new files
12839 * include order changes to a lot of files, also changes because of
12842 2001-12-27 Juergen Vigna <jug@sad.it>
12844 * buffer.C (asciiParagraph): more fixes.
12846 * tabular.C (ascii): make ascii export support export of only the
12847 data separated by a column-delimiter.
12848 (ascii): better support for ascii export.
12850 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12852 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * tabular_funcs.C: use a "using std::getline" instead of the
12855 previous fix from Angus (necessary for cxx + lyxstring)
12857 2001-12-24 Juergen Vigna <jug@sad.it>
12859 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12861 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12862 problems. First check a minipage also if we have some ert-contents
12863 (not only on par->size(), second set the right depth of the paragraph
12864 on the relink to the root-paragraph-list!
12866 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12867 which then did not anymore update the main paragraphs on undo/redo!
12869 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12871 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12872 code. Support all font-changing funcs (even those which are not in
12873 menu currently). Support for reporting font settings in
12874 mathed (disabled until Andre provides a function on mathed's side).
12876 * func_status.h (toggle): small helper function to set toggle
12879 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12881 * tabular_funcs.C: getline -> std::getline
12883 2001-12-21 Juergen Vigna <jug@sad.it>
12885 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12886 accessed and could be 0 (I couldn't generate this but it seems
12889 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12892 * tabular_funcs.h: here and include iosfwd
12894 2001-12-20 Juergen Vigna <jug@sad.it>
12896 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12897 inside inset but undo_par was.
12899 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12901 * Thesaurus.C: always include <config.h> in sources.
12905 * box.h: do not include <config.h> in header files
12907 * text.C (paintLastRow): remove unused variable
12909 * text.C (transformChar):
12911 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12913 * Painter.C (text):
12914 * font.C (width): rewrite to use uppercase() instead of
12917 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12919 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12921 * lyxfind.C: clean up of find failure position change
12923 2001-12-20 Juergen Vigna <jug@sad.it>
12925 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12927 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12928 (TeXRow): added to LaTeX a single tabular row.
12929 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12930 (Latex): simplified and finally good LT-h/f support.
12931 (various_functions): just small adaptions for LT-h/f support.
12933 * tabular_funcs.[hC]: added and moved here all not classfunctions
12936 2001-12-19 Juergen Vigna <jug@sad.it>
12938 * tabular.[Ch]: better support for longtabular options (not finished
12941 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12943 * text.C (paintLastRow): use the label font instead of the font of
12944 the last character to compute the size of *_BOX. This makes more
12945 sense and avoids a crash with empty paragraphs.
12946 Use Painter::rectangle to draw EMPTY_BOX.
12948 2001-12-19 Juergen Vigna <jug@sad.it>
12950 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12951 the paragraphs if the replaced paragraph is not the first one!
12952 Tried to delete not used paragraphs but does not work yet so for
12953 now it's inside #ifdef's and by default off!
12955 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * MenuBackend.C: include "lyx_main.h" instead of declaring
12958 lastfiles (actually was declared as LastFiles* instead of a
12961 2001-12-17 Juergen Vigna <jug@sad.it>
12963 * tabular.C (AppendColumn): applied John's fix
12965 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12969 * BufferView_pimpl.h:
12970 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12973 * box.h: new start of class for above
12975 * lyxfunc.C: ignore space-only minibuffer dispatches.
12976 Show the command name when it doesn't exist
12978 * minibuffer.C: don't add empty lines to the history
12980 * minibuffer.C: add a space on dropdown completion
12982 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12984 * text.C: fix line above/below drawing in insets
12986 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * lyxlength.C (LyXLength): Initialize private variables.
12990 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12992 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12993 when inserting error insets.
12995 2001-12-13 Juergen Vigna <jug@sad.it>
12997 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12998 actually sometimes the before-paragraph.
12999 (setUndo): don't clear the redostack if we're not actually undoing!
13001 2001-12-06 Juergen Vigna <jug@sad.it>
13003 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13004 and fixed redoing of main paragraph, so we can use it now ;)
13006 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13008 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13010 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13013 2001-12-13 André Pönitz <poenitz@gmx.net>
13016 * undo_func.C: minor cleanup
13018 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13020 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13021 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13022 font in urw-fonts package which is marked as -urw-fontspecific and
13023 does not work (incidentally, changing the encoding in the
13024 fonts.dir of this package to -adobe-fontspecific fixes the
13027 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13028 is a crash when undoing first paragraph (Juergen, please take a
13029 look). THis does not mean the undo fix is wrong, just that it
13032 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13033 the (Paragraph*) version when needed instead of duplicating the
13036 * text.C (workWidth): use Inset::parOwner to find out where the
13037 inset has been inserted. This is a huge performance gain for large
13038 documents with lots of insets. If Inset::parOwner is not set, fall
13039 back on the brute force method
13041 * paragraph_pimpl.C (insertInset):
13042 * paragraph.C (Paragraph):
13043 (cutIntoMinibuffer): set parOwner of insets when
13044 inserting/removing them
13046 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13048 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13054 * mathed/formulabase.C:
13055 * mathed/math_cursor.[Ch]:
13056 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13059 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * lyxlength.[Ch] (operator!=): new function
13063 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13065 * text.C (workWidth): use Inset::parOwner to find out where the
13066 inset has been inserted. This is a huge performance gain for large
13067 documents with lots of insets. If Inset::parOwner is not set, fall
13068 back on the brute force method
13070 * paragraph_pimpl.C (insertInset):
13071 * paragraph.C (Paragraph):
13072 (cutIntoMinibuffer): set parOwner of insets when
13073 inserting/removing them
13075 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13077 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * tabular-old.C (getTokenValue):
13080 * tabular.C (getTokenValue):
13081 (write_attribute): new versions for LyXLength
13082 (everywhere): adjust the use of widths
13084 * tabular.h: change the type of widths from string to LyXLength
13086 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13088 * paragraph.C: fixed missing line number count when exporting
13089 Environments to LaTeX file
13091 * buffer.C: added informational message for checking line numbers.
13093 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13096 paragraph, do the 'double space' part, but not the 'empty
13099 * text.C (workWidth): small optimization
13100 (getLengthMarkerHeight): use minimal size for negative lengths.
13102 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13104 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13106 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13108 2001-12-11 André Pönitz <poenitz@gmx.net>
13111 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13113 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13115 * text2.C: keep selection on a setFont()
13117 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13119 * lyx_cb.C: another bv->text misuse, from insert label
13121 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13124 * kbsequence.C: re-instate nmodifier mask
13126 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13128 * lyx_main.h: make lyxGUI private.
13130 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13132 * lyxfind.C: place the cursor correctly on failed search
13134 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * text.C (getLengthMarkerHeight): for small heights, the arrows
13137 are not always on top/bottom of the text
13138 (drawLengthMarker): smaller arrows; take the left margin in
13139 account; draw also vfills.
13141 (paintLastRow): remove special code for vfill and standard spaces,
13142 since everything is handled in drawLengthMarker now.
13144 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * buffer.C (insertErtContents): try to handle font and language
13147 interaction a bit better.g
13149 * ColorHandler.C (updateColor): change the hash to cover the whole
13150 LColor enum, ws cleanup
13151 (getGCLinepars): ditto
13152 (getGCLinepars): only lookup in the linecache once.
13154 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13156 * iterators.C (operator++): Make the iterator more robust
13158 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13165 * text.C: better added space drawing
13167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13170 * BufferView2.C: fix layout combo update on inset unlock
13172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13174 * Makefile.am: don't compile unused files
13176 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13180 * LyXAction.C: remove old LFUN_LAYOUTNO
13182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13184 * paragraph_pimpl.h:
13185 * paragraph_pimpl.C: isTextAt() doesn't need font param
13187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13190 * lyxlex.C: little cleanup
13192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13194 * BufferView_pimpl.C: fix insertAscii for insets
13196 2001-12-05 Juergen Vigna <jug@sad.it>
13198 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13199 set the right font on the "multi" paragraph paste!
13201 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * lyxlength.C: remove out-commented code.
13209 * BufferView_pimpl:
13223 * vc-backend.C: change "while(" to "while ("
13225 * lyxlength.[Ch]: add zero function to check if length is zero or
13227 * lyxgluelength.C: use it
13229 2001-12-05 Allan Rae <rae@lyx.org>
13231 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13232 Works for 2.95.3, from what I understand of Garst's reports this should
13233 work for other g++ versions. We're screwed if the abs(int) definition
13234 changed between bugfix releases of gcc.
13236 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13238 * text.C: fix chapter label offset !
13240 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13243 * text.C: fix hfill at end of line, clean up
13245 2001-12-04 Juergen Vigna <jug@sad.it>
13247 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13248 that we force an update of the inset and it's owners if neccessary.
13250 2001-12-03 Juergen Vigna <jug@sad.it>
13252 * text.C (rowLast): simplified code
13254 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13256 * lyxfunc.C: fix show options on timeout
13258 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * screen.C (topCursorVisible): scroll half a page when the cursor
13261 reached top of bottom of screen
13263 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13265 * minibuffer.C: deactivate on loss of focus
13267 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * vspace.[Ch] (operator!=): add operator.
13271 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13273 * BufferView_pimpl.C: refuse to open an inset when
13274 there's a selection.
13276 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13278 * BufferView_pimpl.C: allow to click on RHS of full row insets
13280 2001-11-30 Juergen Vigna <jug@sad.it>
13282 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13283 insets for undo reasons.
13285 2001-11-28 André Pönitz <poenitz@gmx.net>
13287 * vspace.[Ch]: cosmetical changes
13289 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13299 * kbsequence.C: part re-write of old kb code
13302 * WorkArea.C: remove Lgb_bug_find_hack
13304 2001-11-30 José Matos <jamatos@fep.up.pt>
13306 * buffer.C (makeDocBookFile): add a comment to point a hack.
13307 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13308 Fixed a double write of labels.
13310 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13313 * LaTeX.h Fixed bug in LaTeX class where it would not
13314 re-run latex if no depfiles were changed, but the .dvi was removed.
13316 2001-11-28 André Pönitz <poenitz@gmx.net>
13318 * all the files from the change on 2001/11/26:
13319 use lyx::layout_type instead of LyXTextClass::size_type
13320 use lyx::textclass_type instead of LyXTextClassList::size_type
13322 2001-11-29 Juergen Vigna <jug@sad.it>
13324 * text.C: added support for paragraph::isFreeSpacing()
13326 * buffer.C: same as above
13328 * paragraph.h: inserted isFreeSpacing() function to enable
13329 FreeSpacing inside InsetERT.
13331 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13332 of the paragraph's in the cut/copy buffer to 0!
13334 * text2.C (removeRow): remove the assert as it can!
13336 * lyxtext.h: added helper function firstRow returning firstrow and
13337 made firstrow private again.
13339 * BufferView2.C (lockInset): don't relock if we're already locked!
13341 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13342 the only paragraph.
13343 (removeRow): added Assert::(firstrow)
13345 * debug.C: forgot to add INSETTEXT here.
13347 2001-11-28 Juergen Vigna <jug@sad.it>
13349 * sp_spell.C (initialize): changed error text to more general
13350 spellchecker command use (not only ispell!)
13352 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13354 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13356 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13358 * vspace.C: initialise lyxgluelength on failure
13360 2001-11-28 Allan Rae <rae@lyx.org>
13362 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13363 declaration & definition that looks like a function declaration.
13365 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * BufferView2.C (copy):
13368 (copyEnvironment): do not clear the selection when doing a copy.
13370 * text.C (paintFirstRow): compilation fix
13372 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13374 * tabular.C (Latex): correct line count when writing latex.
13376 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13378 * paragraph_pimpl.h:
13379 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13382 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13386 * LColor.C: change vfillline->added_space
13388 * text.C: add markers and text for added space
13390 * vspace.C: fix comment
13392 2001-11-28 André Pönitz <poenitz@gmx.net>
13394 * paragraph.C: whitespace changes
13395 * all the other files from the change on 2001/11/26:
13396 change *::pos_type into lyx::pos_type
13398 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13400 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13401 language of the document when inserting error insets.
13403 2001-11-26 André Pönitz <poenitz@gmx.net>
13405 * BufferView_pimpl.[Ch]:
13413 * paragraph_pimpl.[Ch]:
13416 * text2.C: reduce header dependencies, introduce type for positions
13418 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13420 * <various>: change to use Alert.h
13422 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13424 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13425 when encountering an unknown token.
13426 (readLyXformat2): Show an error message if there were unknown tokens.
13428 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13431 * BufferView_pimpl.C:
13435 * text2.C: use par->isInset()
13437 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13439 * paragraph_pimpl.h:
13440 * paragraph_pimpl.C: cleanup
13442 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * text2.C (removeRow):
13445 * text.C (setHeightOfRow): remove useless (and costly) call to
13448 2001-11-20 Allan Rae <rae@lyx.org>
13450 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13451 Now need Inset*::checkInsertChar() to return true for appropriate
13452 cases so that the characters in the minibuffer will actually be
13455 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13457 * text.C: change the order of the includes.
13458 (workWidth): initialize it at once.
13459 (workWidth): make maxw unsigned
13460 (setHeightOfRow): remove unused variable (inset)
13461 (selectSelectedWord): remove unused variable (inset)
13462 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13464 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13466 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13467 server is not running.
13469 (closeConnection): add debug info when server is disabled.
13471 * ColorHandler.C (getGCForeground): send debug message to GUI
13474 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13476 * kbmap.C (bind): modify because return conventions of
13477 kb_sequence::parse have changed.
13479 * kbsequence.C (parse): only ignore spaces and not any stupid
13480 control character. This avoids tests like s[i] <= ' ', which are
13481 guaranteed to fail with 8bit characters and signed chars.
13482 Change return code to string::npos when there have been no error
13483 (0 was a bad idea when error is at first character)
13485 2001-11-14 José Matos <jamatos@fep.up.pt>
13488 * buffer.C (simpleDocBookOnePar): removed unused argument.
13490 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13493 insets which are part of a word. Paragraph::isLetter takes care of
13494 that now. Use Paragraph::isInset to identify insets.
13495 (selectSelectedWord): do not test for hyphenation break.
13497 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13498 that protected spaces are considered as spaces.
13500 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13503 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13506 * lyxserver.C: fix it. and small cleanup.
13508 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13510 * BufferView_pimpl.C: use inline helpers
13513 * LaTeXFeatures.C: fix typos
13516 * Spacing.C: move spacing_string into class
13518 * ToolbarDefaults.C: move stuff into namespace anon
13520 * layout.h: update enum
13522 * lyxfunc.C: use better debug
13524 * minibuffer.h: fix typo
13528 * WorkArea.C: add and use Debug::WORKAREA
13532 * text2.C: code re-organisation, inline helpers
13534 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13536 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13537 std::vector.empty().
13539 2001-11-09 Allan Rae <rae@lyx.org>
13541 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13542 '\n's after tables. Tabular and ERT inset work now makes this no
13545 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13548 * minibuffer.C: fix crash, improve drop-down completion
13550 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13553 * lyxserver.C: invalidate fd's when doing endPipe()
13555 2001-11-08 José Matos <jamatos@fep.up.pt>
13557 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13558 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13561 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13563 2001-11-07 José Matos <jamatos@fep.up.pt>
13566 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13569 * buffer.C (sgmlOpenTag):
13570 * buffer.C (sgmlCloseTag): removed debug info.
13572 * buffer.h (sgmlOpenTag):
13573 * buffer.h (sgmlCloseTag): made public.
13575 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13577 * buffer.C (saveParamsAsDefaults):
13578 * lyx_cb.C (MenuLayoutSave): remove
13580 * LyXAction.C (init):
13582 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13584 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13586 * buffer.C (setPaperStuff): removed from here...
13588 * bufferparams.C (setPaperStuff): ... and moved there.
13590 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13594 * XFormsView.C: add support for drop-down completion
13596 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13598 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13601 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13606 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13608 * lyx_main.C: change ref to known bugs
13610 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13612 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13613 to work around older babel problems.
13615 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13617 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13619 2001-10-24 Juergen Vigna <jug@sad.it>
13621 * tabular-old.C (ReadOld): below variable changes reflected.
13623 * tabular.[Ch]: added ltType struct for longtable header/footer
13624 defines and changed all instances where they are used. Added
13625 future support for double top/bottom rows.
13627 2001-10-24 José Matos <jamatos@fep.up.pt>
13629 * buffer.h (docbookHandleCaption):
13630 * buffer.C (docbookHandleCaption): removed unused function.
13631 (makeDocBookFile): moved docbook supported version to v4.1.
13633 2001-10-24 José Matos <jamatos@fep.up.pt>
13636 * tabular.C (docbookRow): new function to export docbook code of a row.
13637 (DocBook): now honors the longtable flags.
13639 2001-10-23 José Matos <jamatos@fep.up.pt>
13642 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13643 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13645 * buffer.C (makeLinuxDocFile):
13646 (makeDocBookFile): reworked the preamble, more clean, and with
13647 support for lyx defined entities. Changed the document declaration
13648 to be more XML friendly.
13650 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13651 if we need to output XML that should be done with a filter.
13653 2001-10-22 Juergen Vigna <jug@sad.it>
13655 * sp_pspell.h (class PSpell): add alive function needed in the
13656 controller to see if the spellchecker could be started.
13658 2001-10-22 Juergen Vigna <jug@sad.it>
13660 * buffer.C (insertStringAsLines): modify the font for inserting
13661 chars in certain conditions by calling checkInsertChar(font).
13663 2001-10-19 Juergen Vigna <jug@sad.it>
13665 * text.C (workWidth): use getRow instead of wrong algorithm.
13666 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13668 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13673 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13675 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * text.C (workWidth): do not search for the exact row when
13678 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13679 optimization for big documents.
13681 2001-10-18 Juergen Vigna <jug@sad.it>
13683 * text.C (workWidth): new function with added Inset * parameter.
13685 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13687 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13689 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13690 change return type of getColumnNearX.
13693 * text.C (changeRegionCase): use uppercase/lowercase instead of
13696 (rightMargin): simplify code by factoring out the uses of
13701 (appendParagraph): use Paragraph::size_type
13703 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13705 * vspace.C (asLatexString): add a missing break
13707 2001-10-15 Herbert Voss <voss@perce.de>
13709 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13711 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13713 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13716 2001-10-10 André Pönitz <poenitz@gmx.net>
13718 * lyxfunc.C: removed greek_kb_flag.
13720 2001-10-10 Herbert Voss <voss@perce.de>
13722 * lyx_main.C: delete global string help_lyxdir.
13724 2001-10-09 Herbert Voss <voss@perce.de>
13726 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13728 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13730 * lyx_main.C: added global string help_lyxdir.
13732 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13734 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13736 * lyxrc.C (set_font_norm_type): support iso8859-4
13738 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13740 * LaTeX.C (deplog): add another regex for MikTeX
13742 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13744 * lyxrc.C (set_font_norm_type): support iso8859-3
13746 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13750 * LaTeXFeatures.C: remove special case of french and index
13752 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13753 before \begin{document}). This solves several incompatibilities.
13755 2001-10-03 Garst Reese <reese@isn.net>
13757 * lyx_cb.C: change CheckTex error msg.
13759 2001-10-03 José Matos <jamatos@fep.up.pt>
13761 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13763 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * .cvsignore: update
13767 * lyx_main.C (commandLineVersionInfo): use new style version info.
13769 * buffer.C (writeFile):
13771 (makeLinuxDocFile):
13772 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13774 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13776 * version.h: update to use stuff in version.C
13778 * version.C.in: new file. Contains version information determined
13779 at compile time. This is a merging of version.h and
13782 2001-10-03 Juergen Vigna <jug@sad.it>
13784 * BufferView_pimpl.C (update): don't change "dirty" status in
13787 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13789 * WorkArea.C (c-tor): re-position version string slightly.
13791 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13793 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13794 revert to previous code.
13796 WorkArea.[Ch]: (show, destroySplash): methods removed.
13798 WorkArea.C: rework code so that it's an amalgam of the codes before and
13799 after the splash screen was moved to WorkArea.
13801 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * vspace.C (inPixels):
13807 * buffer.C (insertStringAsLines):
13808 (asciiParagraph): fix types to be large enough
13810 * lyxlex_pimpl.h: change member status from short to int
13812 * layout.h: fix type of endlabeltype
13815 * kbsequence.C (parse): change return type to string::size_type
13817 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13820 * Bullet.C (bulletSize):
13821 (bulletEntry): do not use short ints as parameters
13823 * BufferView2.C (insertLyXFile): change a char to an int.
13825 * WorkArea.C (WorkArea): remove unneeded floats in computation
13827 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13829 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13831 * paragraph.C (asString): Do not ignore newline/hfill chars when
13832 copying to the clipboard.
13834 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13836 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13837 after a multi-line inset.
13839 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13841 * paragraph.C (validate): Set NeedLyXFootnoteCode
13843 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13845 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13846 and decrease-error to decrease.
13848 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13850 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13851 it more readable (should be equivalent)
13853 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13855 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13857 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13860 of a cursor (row, etc.) after a character has been deleted
13861 (deleteEmptyParagraphMechanism): call the method above on _all_
13862 cursors held by the LyXText when a double space has been
13865 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13867 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13869 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13871 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13872 background. Use greyOut() and the new show() methods to toggle between
13873 the foreground and background. Add code to remove the splash after
13874 its initial showing.
13876 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13877 (create_forms): no longer call Dialogs::showSplash.
13879 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13881 * .cvsignore: add version_info.h
13883 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * version_info.h.in: new file
13887 * Makefile.am: add version_info.h.in
13889 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13890 version_info.h instead of VERSION_INFO
13892 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13894 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13895 The ERT inset now returns string().
13897 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13899 * lyxtext.h, text.C (selectNextWord): renamed as
13900 selectNextWordToSpellcheck.
13902 * text.C (selectNextWordToSpellcheck): Modified to not select
13903 words inside an ERT inset.
13905 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13907 * lyx_cb.C (MenuLayoutSave): change a bit the question
13909 * sp_base.h: include <sys/types.h>
13911 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13913 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13915 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13917 * several files: fix typos in user-visible strings
13919 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * text2.C (pasteSelection): do not set the selection, since it
13922 will be cleared later. Actually, the intent was to fix the way the
13923 selection was set, but I figured rmoving the code was just as good.
13925 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13927 * FontLoader.C (available): Check if font is available without
13930 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13932 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13934 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13936 * lyxrc.[Ch]: added display_graphics variable and associated code.
13938 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13940 * bufferparams.C (hasClassDefaults): new method. Returns true if
13941 the buffer parameters correspond to known class defaults
13943 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13945 * XFormsView.C (show): set minimum size to the main window.
13947 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13949 * text2.C (copySelection):
13951 * lyxfind.C (LyXReplace):
13952 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13953 LyXText::selectionAsString.
13955 * paragraph.C (asString): add "label" argument to the second form
13957 * text2.C (selectionAsString): add "label" argument and pass it to
13958 Paragraph::asString.
13960 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13962 * lyx_main.C (commandLineHelp): remove version information
13964 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13966 * lyx_main.C: add -version commandline option
13968 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * paragraph.h: make the optional constructor arg required instead.
13971 some modifications to other files because of this.
13973 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13975 * lyxserver.C (C_LyXComm_callback): make it static
13977 * lyx_main.C (error_handler): make it static
13979 * lyx_gui.C (LyX_XErrHandler): make it static
13981 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13983 * WorkArea.C: make the extern "C" methods static.
13985 * Makefile.am (lyx_LDADD): simplify
13987 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13989 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13990 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13992 * LyXAction.C (init):
13993 * lyxfunc.C (dispatch): associated code removal.
13995 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * lyxfont.h (isSymbolFont): shut off warning
13999 * text.C (setHeightOfRow):
14000 (getVisibleRow): fix crash with empty paragraphs which have a
14003 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14005 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14008 2001-09-04 José Matos <jamatos@fep.up.pt>
14011 * tabular.C (docbook): rename docBook method to docbook.
14013 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14015 * Makefile.am: add dependencies to main.o.
14017 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14019 * FontLoader.C (available): Return false if !lyxrc.use_gui
14021 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14023 * FontInfo.C (query):
14024 * converter.C (view):
14025 * importer.C (Import):
14026 * exporter.C (Export): Can not -> cannot.
14028 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14030 * BufferView_pimpl.C: allow to create index inset even if
14033 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14035 * buffer.C (getLists): replace boost::tie code with an explicit pair
14036 as boost::tie can break some compilers.
14038 * iterators.h: Added a std:: declaration to the return type of
14041 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14043 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14046 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14048 * iterators.[Ch]: New files. Provide paragraph iterators.
14050 * buffer.C (changeLanguage): Use paragraph iterators.
14051 (isMultiLingual): ditto
14053 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14055 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14057 * FontLoader.C: Support for cmr font.
14059 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14061 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14062 (available): New method.
14064 * FontInfo.C (getFontname): Use scalable fonts even when
14065 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14068 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14070 * converter.C (Formats::view): reverted! Incorrect fix.
14072 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14074 * converter.C (Formats::view): only output the -paper option
14075 if the dvi viewer is xdvi, thereby fixing bug #233429.
14077 2001-08-23 Herbert Voss <voss@perce>
14079 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14081 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14083 * Spacing.h (Spacing): Set space to Default on in the default
14086 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * vc-backend.h (RCS::versionString): add RCS to version
14089 (CVS::versionString): add CVS to version
14091 * vc-backend.C (scanMaster): do not add CVS to version.
14092 (scanMaster): do not add RCS to version
14094 * lyxvc.C (versionString): new method
14096 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14098 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14100 * Spacing.C (set): initialize fval
14102 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14104 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14107 2001-08-16 Juergen Vigna <jug@sad.it>
14109 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14111 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14113 * BufferView_pimpl.C:
14116 * text2.C: setParagraph takes linespacing now
14118 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14120 * LyxAction.C: add internal LFUN_CITATION_INSERT
14122 * LyXView.C: actually apply fix
14124 * bufferlist.C: fix open non-existent file
14126 * lyxfind.C: fix indentation
14128 * lyxfunc.C: remove unneeded assert, fix typo
14130 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14132 * MenuBackend.C: use "Floatname List"
14134 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14136 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14137 when converting LaTeX layout to insetERT.
14138 Generate a non-collapsed float when reading old float
14140 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14142 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14145 2001-08-13 Juergen Vigna <jug@sad.it>
14147 * text.C (fill): return 0 instead of 20 as this seems to be the more
14150 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14152 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14155 2001-08-13 Juergen Vigna <jug@sad.it>
14157 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14159 (SearchBackward): comment out the unlocking of the inset_owner this
14160 should not be needed!
14162 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14164 * Many files: Remove inherit_language, and add latex_language
14166 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14167 collapsible insets.
14169 2001-08-10 Juergen Vigna <jug@sad.it>
14171 * text.C (prepareToPrint): fixed hfill-width in draw!
14173 * BufferView2.C (selectLastWord): save the selection cursor as this
14174 now is cleared in the function LyXText::clearSelection!
14176 2001-08-08 Juergen Vigna <jug@sad.it>
14178 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14179 BACKSPACE type functions.
14181 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14182 is only cutted from the document but not put in the cut-buffer, where
14183 still the old stuff should be.
14185 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14187 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14189 * tabular.C (SetWidthOfCell): fixed special case where the width
14191 (LeftLine): handle '|' in align_special.
14193 (LeftAlreadyDrawed): ditto
14194 (SetWidthOfCell): ditto
14196 2001-08-07 Juergen Vigna <jug@sad.it>
14198 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14200 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14203 * lyxlex.[hC]: ditto
14205 2001-08-06 Juergen Vigna <jug@sad.it>
14207 * text.C (getVisibleRow): fix up row clearing a bit.
14209 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * minibuffer.C: make sure the X server sees the changes in the input.
14213 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * paragraph.C (getFont): split into...
14216 (getLabelFont): this
14217 (getLayoutFont): and this
14218 * paragraph_pimpl.C (realizeFont): calling this
14220 * text2.C (getFont): split into...
14221 (getLayoutFont): this
14222 (getLabelFont): and this
14223 (realizeFont): all three calling this
14225 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14228 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14232 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14234 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14235 layouts from the Quote inset insertion.
14237 2001-08-03 Juergen Vigna <jug@sad.it>
14239 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14241 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14242 only if status not is already CHANGED_IN_DRAW (second level).
14244 * text.C (draw): don't set the need_break_row when inside an
14247 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14249 * buffer.C (parseSingleLyXformat2Token): handle more latex
14252 * bufferview_funcs.[hC]: change function names to
14253 begin with small char, adjust other files.
14255 2001-08-02 André Pönitz <poenitz@gmx.net>
14258 BufferView_pimpl.C: remove broken special code for math-greek
14260 2001-08-02 Juergen Vigna <jug@sad.it>
14262 * BufferView_pimpl.C (update): redone this function so that we
14263 update the text again if there was a CHANGE_IN_DRAW.
14265 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14266 (drawFromTo): added a new internal bool which is used by draw() and
14268 (general): some cursor drawing problems fixed.
14270 2001-08-01 Juergen Vigna <jug@sad.it>
14272 * lyxfind.C (LyXFind): fixed
14273 (SearchForward): ditto
14274 (SearchBackward): ditto
14276 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14277 spurius drawing of the cursor in the main area.
14279 * text2.C (status): small fix which could lead to a segfault!
14280 (clearSelection): remove unneeded BufferView param.
14282 2001-08-01 André Pönitz <poenitz@gmx.net>
14284 * lyxfunc.C: small change due to changed mathed interface
14286 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14288 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14290 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14292 * lyxfunc.c: fail gracefully if file doesn't exist
14297 * BufferView_pimpl.C: IsDirWriteable() proto changed
14299 * LyXView.C: fix updateWindowTitle() to store the last title
14301 2001-07-31 Juergen Vigna <jug@sad.it>
14303 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14304 the font (wrong since using of Paragraph::highestFontInRange).
14306 * paragraph.C (highestFontInRange): added a default_size parameter.
14308 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14309 (setHeightOfRow): reformat
14311 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14313 * converter.[hC] + affected files: move to (inital-char)lowercase
14316 * ParagraphParameters.C (ParagraphParameters): remove commented code
14318 * PainterBase.[Ch]: remove commented code
14320 * LaTeXFeatures.h: add "bool floats" for float.sty
14322 * LaTeXFeatures.C (LaTeXFeatures): init floats
14323 (require): handle float
14324 (getPackages): do it with floats
14326 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * BufferView_pimpl.C (Dispatch): improve handling of
14329 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14331 * commandtags.h: #include lyxfont.h here temporarily to avoid
14334 * bufferlist.h: include LString.h here.
14336 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14338 * text2.C (getStringToIndex): new method.
14340 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14342 * *: Reduced header file dependencies all over.
14344 2001-07-30 Baruch Even <baruch@lyx.org>
14346 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14348 2001-07-29 Baruch Even <baruch@lyx.org>
14350 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14352 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14354 * ParameterStruct.h (endif): add a default constructor to make
14355 sure that all variables is initialized.
14357 * ParagraphParameters.C (ParagraphParameters): adjust
14359 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14361 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14362 index; also, check that there is something to index, and that it
14363 does not span over several paragraphs.
14364 (doubleClick): use WHOLE_WORD_STRICT for double click.
14366 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14368 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14371 2001-07-26 Baruch Even <baruch@lyx.org>
14373 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14374 an InsetFig figure, backwards compatible reading of old figure code.
14376 2001-07-27 Juergen Vigna <jug@sad.it>
14378 * text2.C: font.realize function adaption.
14380 * text.C (draw): add a warnings lyxerr text if needed.
14382 * layout.C: font.realize function adaption.
14384 * language.C: add inherit_language and implement it's handlings
14386 * bufferview_funcs.C (StyleReset): remove language parameter from
14387 font creation (should be language_inherit now).
14389 * bufferparams.C (writeFile): handle ignore_language.
14391 * paragraph.C (getFontSettings): the language has to be resolved
14392 otherwise we have problems in LyXFont!
14394 * lyxfont.C (lyxWriteChanges): added document_language parameter
14395 (update): removed unneeded language parameter
14397 * paragraph.C (validate): fixed wrong output of color-package when
14398 using interface colors for certain fonts in certain environments,
14399 which should not seen as that on the final output.
14401 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14403 * BufferView_pimpl.C:
14408 * LyXAction.C: add thesaurus support
14411 * lyxfind.C: add "once" parameter, for thesaurus, to not
14412 move to the next match
14414 2001-07-26 Juergen Vigna <jug@sad.it>
14416 * lyxfont.C (realize): honor ignore_language too!
14419 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14421 * text.C (draw): one place more for ignore_language to not draw
14424 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14426 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14428 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14431 the minipage conversion problem.
14433 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14435 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14438 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14440 * BufferView.h: don't forward declare WorkArea
14442 * BufferView.C: don't include WorkArea.h
14444 2001-07-25 André Pönitz <poenitz@gmx.net>
14448 * lyxfunc.C: new LFUN 'math-space'
14450 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14452 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * text2.C (toggleInset): call open/close
14456 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * lyxfunc.C (dispatch): add debug for the disabled case
14460 * font.C (buttonText): make similar to rectText
14462 * buffer.C (readInset): comment out parsing of insetlist and
14465 * PainterBase.C (rectText): small correction
14467 * BufferView_pimpl.C: comment out insettheorem and insetlist
14468 * LyXAction.C: ditto
14469 * commandtags.h: ditto
14471 2001-07-24 Juergen Vigna <jug@sad.it>
14473 * text.C (draw): honor the ignore_language.
14475 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14477 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14479 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14482 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14484 * lyxtext.h: remove unused (and unimplemented) methods
14486 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14488 * text.C (getVisibleRow): honor background color
14491 * Painter.h: remove default color argument for fillRectangle
14493 * text.C (backgroundColor): new method
14495 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14497 * text.C (getVisibleRow): adjust
14499 * font.[Ch] (rectText): new method, metrics
14500 (buttonText): new method, metrics
14502 * PainterBase.[hC]: make rectText and buttonText always draw and take
14505 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14507 * ToolbarDefaults.C (read):
14508 * MenuBackend.C (read): allow escaping in all strings
14510 * BufferView_pimpl.C (insertAndEditInset): new method.
14511 (Dispatch): use insertAndEditInset whenever appropriate.
14513 * BufferView_pimpl.C (insertNote): removed
14515 * BufferView_pimpl.C (smartQuote): new method, moved from
14516 BufferView; if an insetquote cannot be inserted, insert a '"'
14519 * BufferView2.C: remove insertCorrectQuote();
14521 * lyxfunc.C (getStatus): Add support for all remaingin
14522 inset-insert lfuns.
14524 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14526 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14527 command (necessary to pass " as parameter of self-insert.
14529 * text.C (selectWordWhenUnderCursor):
14530 (selectWord): add word_location parameter
14531 (selectWordWhenUnderCursor): same + remove special code for word
14533 (selectNextWord): use kind() to guess type of insetspecialchar,
14536 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14537 (insertErtContents): create ert insets as collapsed.
14538 (readInset): better compatibility code for Info inset.
14540 2001-07-20 Juergen Vigna <jug@sad.it>
14542 * lyxfunc.C (dispatch): use always LyXFind now!
14544 * text2.C (init): add a reinit flag so that the LyXText can be
14545 reinited instead of deleted and reallocated (used in InsetText).
14547 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14553 2001-07-18 Juergen Vigna <jug@sad.it>
14555 * text.C (selectNextWord): handle insets inside inset by calling
14556 always the bv->text functions so that we can go up the_locking_inset!
14558 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14559 in strange locations when inside an inset!
14561 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14562 handling to include insets.
14564 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14566 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * LyXAction.C (init):
14570 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14571 LIGATURE_BREAK, since the name is so stupid.
14573 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14575 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14578 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14580 * sp_form.[Ch]: remove.
14582 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14584 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14587 * src/buffer.C (readInset): ditto.
14589 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14591 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14592 menuSeparator(), endOfSentenceDot(), ldots() and
14593 hyphenationPoint(), which are therefore removed.
14594 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14596 * LyXAction.C (init):
14597 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14599 * paragraph.C (getWord): removed.
14601 * BufferView_pimpl.C (Dispatch): use last word or selection for
14602 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14604 * lyx_main.C (queryUserLyXDir): do not ask before creating
14605 user_dir, except if it has been named explicitely.
14607 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14609 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14610 a document of zero size.
14612 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14614 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14615 approriately in the c-tor and in require().
14616 (getPackages): output the appropriate LaTeX for natbib support.
14618 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14619 variables "use_natbib" and "use_numerical_citations" when reading the
14621 (readInset): read the various natbib cite commands.
14622 (validate): white-space change.
14624 * bufferparams.[Ch]: new variables "bool use_natbib" and
14625 "bool use_numerical_citations".
14626 (writeFile): output them in the LyX file.
14628 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14630 * lyxfunc.C (getStatus): add support for all the inset insertion
14633 * text2.C (insertInset):
14634 * paragraph.C (insetAllowed):
14635 * BufferView_pimpl.C (insertInset): update to take in account the
14636 renaming of insertInsetAllowed
14638 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14640 * text2.C (getInset): new method. returns inset at cursor position.
14642 * BufferView_pimpl.C (Dispatch): changes because of this.
14644 * LyXAction.C (init): rename open-stuff to inset-toggle.
14646 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14648 * text2.C (toggleInset): renamed from openStuff; use
14651 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14653 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14655 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14657 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14659 * buffer.C (readLyXformat2): Add filename to the error dialog
14661 2001-07-18 Juergen Vigna <jug@sad.it>
14663 * tabular.C (GetCellNumber): put an assert here instead of the check!
14665 2001-07-17 Juergen Vigna <jug@sad.it>
14667 * BufferView_pimpl.C (toggleSelection): adapted too.
14669 * text.C (selectNextWord): adapted for use with insets.
14670 (selectSelectedWord): ditto
14672 2001-07-17 Juergen Vigna <jug@sad.it>
14674 * sp_spell.C (PSpell): fix initialitation order.
14676 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14678 * paragraph.C: spacing
14680 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14682 * sp_spell.C: repair language selection for pspell
14684 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * lyxfunc.h: change more methods to begin with lower char.
14688 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14690 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14691 for unknown layouts.
14693 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14695 * buffer.C (readLyXformat2): Generate an error dialog if there are
14698 2001-07-16 Juergen Vigna <jug@sad.it>
14700 * sp_spell.C: always compile ISpell part.
14702 * lyxrc.C: added use_pspell entry and it's handling.
14704 2001-07-13 Juergen Vigna <jug@sad.it>
14706 * sp_spell.C: removed double includes.
14708 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14710 Consistent use of Lsstream.h:
14711 * Lsstream.h: added using std::stringstream for consistencies sake.
14713 * buffer.C: removed using std::stringstream
14715 * lyxfont.C (stateText):
14716 * paragraph.C (asString):
14717 * text.C (selectNextWord, selectSelectedWord):
14718 * text2.C (setCounter):
14719 * vspace.C (asString, asLatexString):
14720 std::ostringstream -> ostringstream.
14722 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14724 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14725 * commandtags.h: add LFUN_HELP_ABOUTLYX
14726 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14728 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14730 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14732 * lyx_gui_misc.C: remove spellchecker
14733 * lyxfunc.C: showSpellchecker
14735 * sp_ispell.h: added
14736 * sp_pspell.h: added
14737 * sp_spell.C: added
14738 * sp_form.[Ch]: removed
14739 * spellchecker.[Ch]: removed
14741 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14743 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14745 (simpleTeXSpecialChars): Simply print the input character without
14746 any special translation if pass_thru is set.
14748 * layout.h: Added bool pass_thru to layout class for being able to
14749 implement pass through of a paragraph for Literate Programming.
14751 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14752 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14753 * layout.C (Read): add "passthru" to list of layout tags and add
14754 code to set the pass_thru boolean when it is read.
14756 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * trans_decl.h: remove allowed from KmodInfo
14760 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14761 remove allowed code
14764 * paragraph_pimpl.C (erase): use boost::prior
14766 * Painter.C (text): use data() instead of c_str() when length is
14768 * WorkArea.C (putClipboard): ditto
14769 * font.h (width): ditto
14771 * BufferView2.C: use it-> instead of (*it). for iterators
14773 * paragraph_pimpl.C: ditto
14774 * paragraph.C: ditto
14775 * minibuffer.C: ditto
14776 * language.C: ditto
14778 * encoding.C: ditto
14779 * counters.C: ditto
14780 * converter.C: ditto
14782 * Variables.C: ditto
14783 * TextCache.C: ditto
14784 * MenuBackend.C: ditto
14785 * LyXAction.C: ditto
14787 * FloatList.C: ditto
14788 * DepTable.C: ditto
14789 * ColorHandler.C (LyXColorHandler): ditto
14791 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14795 * text2.C (openStuff): reintroduce this method (which had been
14796 nuked in NEW_INSETS frenzy).
14798 * lyxfunc.C (Dispatch): when an action has not been handled, use
14799 its name in the error message, not its number.
14801 * paragraph.C (inInset): change method name to begin with lowercase.
14804 * text2.C: updates because of this.
14806 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * ToolbarDefaults.C (add): add spaces in error message
14810 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14812 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14813 (readLyXformat2): rename return_par to first_par, use lyxlex's
14814 pushToken and remove the manual push handling.
14815 (parseSingleLyXformat2Token): add another ert comp. variable:
14816 in_tabular, rename return_par to first_par. handle newlines better
14818 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14822 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * text2.C (getParFromID): removed
14826 * buffer.C (getParFromID): new method moved form lyxtext.
14827 * BufferView2.C (insertErrors): adjust
14828 (setCursorFromRow): adjust
14829 * BufferView_pimpl.C (restorePosition): adjust
14830 * lyxfunc.C (Dispatch): adjust
14831 * undo_funcs.C (textUndo): adjust
14833 (textHandleUndo): adjust
14834 (textHandleUndo): adjust
14836 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * buffer.C: up' the LYX_FORMAT
14840 * lyxfont.h: turn NO_LATEX on as default
14842 * buffer.C (insertErtContents): new methods of tex style compability.
14843 (parseSingleLyXformat2Token): use it several places.
14844 * tabular.C (OldFormatRead): and here
14846 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14848 * text2.C: remove some commented code.
14851 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14852 * trans.C: changes because of the above.
14854 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14856 * text2.C (setCounter): Fix counters bug with bibliography layout.
14858 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14861 own member functions
14862 (simpleTeXSpecialChars): ditto
14864 2001-07-06 Juergen Vigna <jug@sad.it>
14866 * a lot of files: changed the access to LyXText::status and the
14867 call of undo-functions.
14869 * undo.[Ch]: added a inset_id to the undo informations.
14871 * undo_funcs.[Ch]: added and moved here all undo functions.
14873 * lyxtext.h: give the status enum a weight, made status_ a private
14874 variable and made accessor functions for it, removed the whole bunch
14875 of undo-functions as they are now in their own file, make some
14876 functions publically available. Added function ownerParagraph with
14879 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14880 made InInset() a const function, added getParFromID() function.
14882 * buffer.[Ch]: added const version for inset_iterator functions,
14883 added getInsetFromID() function.
14885 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14886 changed undo functions for new version.
14888 2001-07-05 Juergen Vigna <jug@sad.it>
14890 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14891 unknow mechanism does not call the proper constructor but only this
14892 one also if I request the other!?
14894 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14898 * text2.C (LyXText): use initialization lists.
14900 * lyxtext.h (Selection): initialize set_ and mark_
14901 (init): remove method
14903 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14905 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14907 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * screen.[Ch]: change method names to begin with lowercase
14911 * BufferView_pimpl.C (updateScrollbar): simplify further and
14912 hopefully make it a bit faster.
14914 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14916 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14917 calling directly xforms functions.
14919 * Painter.C (Painter):
14920 * lyx_cb.C (MenuWrite):
14921 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14924 * lyx_gui.C: remove bogus guiruntime extern declaration.
14926 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14928 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14930 (redoDrawingOfParagraph): ditto
14931 (redoParagraphs): ditto
14932 (cutSelection): don't create a object for CutAndPaste use the
14933 static method directly
14934 (pasteSelection): ditto
14936 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14939 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14941 * modifications to some other files because of this.
14943 * Makefile.am (lyx_SOURCES): add XFormsView
14945 * XFormsView.[Ch]: new files
14947 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14948 the main window. Move the gui dependent stuff to XFormsView
14950 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14952 * tabular.C (GetCellInset): update cur_cell also in the row/col
14953 version of this function.
14955 * lyxfunc.C: no need to include figure_form.h here.
14961 * lyxvc.C: no need to include forms.h here.
14963 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14967 * lyxfunc.C (Dispatch):
14969 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14970 constructor argument.
14972 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14974 * paragraph.C (Paragraph): dont't clear, and just set layout.
14975 (makeSameLayout): use params's copy contructor.
14977 * ParagraphParameters.[Ch] (makeSame): delete method
14979 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14981 * Variables.[Ch]: fix indentation, rename set to isSet
14983 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * lyxfunc.C (Dispatch): fix typo
14987 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14992 * bufferlist.C: include assert.h for emergencyWrite().
14994 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14996 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14997 give up at last (bug #425202) !
14999 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15005 * spellchecker.C: strip spellchecker options and bring up
15006 preferences tab instead
15008 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15011 the istringstream constructor
15013 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * paragraph.C (getLayout): fix return value
15017 * paragraph.h: do not declare getLayout as inline.
15019 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15021 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15023 * lyxcursor.h (operator<): new func
15024 (operator>): new func
15025 (operator>=): new func
15026 (operator<=): new func
15028 * text.C (changeCase): use selection.start and selection.end
15029 (changeRegionCase): require from to be <= to. Require par to be a
15032 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15034 2001-06-27 Juergen Vigna <jug@sad.it>
15036 * text.C (cursorLeftOneWord): changed to return the cursor and added
15037 overlay with BufferView * parameter which calls this one.
15039 (selectWord): use new getWord function.
15040 (changeCase): renamed from changeWordCase as and extended to work
15041 also on selections.
15043 * lyxtext.h: added enum word_location
15045 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15046 changeCase as this operates now also on selections.
15048 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15050 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15052 * many files: send debug output to Debug::INFO instead of
15055 * converter.C (View):
15057 (Move): send debug output to Debug::FILES instead of console.
15059 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15061 * lyxfunc.C (getStatus): use func_status
15063 * func_status.h: new header, describing the results of
15064 LyXFunc::getStatus;
15066 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15069 2001-06-25 The LyX Project <jug@sad.it>
15071 * buffer.C (sgmlOpenTag):
15073 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15075 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * text2.C: remove some dead code
15079 * tabular.C (GetCellInset): store the last cell checked (gotten)
15081 * tabular.h: add the helper for the speedup
15083 * lyxtext.h: remove some dead code
15085 2001-06-26 The LyX Project <Asger>
15087 * paragraph.C: Change export to LaTeX of alignment to
15088 \begin{center} and family for better roundtrip work with reLyX.
15090 * Tune the math drawing a bit.
15092 2001-06-25 The LyX Project <Asger>
15094 * LColor.C (LColor): New color for math background. New color
15097 2001-06-25 The LyX Project <jug@sad.it>
15099 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15101 * lyxfunc.C (Open):
15102 * bufferlist.C (newFile): do not restrict to files ending with
15105 * BufferView_pimpl.C (MenuInsertLyXFile):
15107 2001-06-24 The LyX Project <jug@sad.it>
15109 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15112 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15114 * lyxtext.h: rename most methods to begin with a small char.
15115 Lots of changes because of this.
15117 * paragraph.C (Paragraph): do not call fitToSize
15118 (erase): call Pimpl::erase
15119 (insertChar): call Pimpl::insertChar
15120 (insertInset): call Pipl::insertInset
15121 (breakParagraph): do not call fitToSize
15122 (breakParagraphConservative): do not call fitToSize
15123 (fitToSize): remove method
15125 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15127 2001-06-24 The LyX Project <Asger>
15129 * Fix Qt compilation^2
15131 2001-06-24 The LyX Project <jug@sad.it>
15133 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15134 depthHook(getDepth()-1).
15137 * ParagraphParameters.h:
15138 * ParameterStruct.h: change type of depth to unsigned int ==
15139 depth_type. Many adaptations to other files before of that.
15141 2001-06-24 The LyX Project <Asger>
15143 * Fix Qt compilation.
15145 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * paragraph.h: renamed several methods to begin with small letter.
15148 several changes to many parts of the code because of this.
15150 2001-06-23 The LyX Project <jug@sad.it>
15152 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15153 rewritten to discard all double spaces when KeepEmpty is off
15154 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15155 to only handle newlines but not fiddle with spaces and friends.
15157 * lyxfunc.C (MenuNew): when doing 'new from template', use
15158 template_path as default directory
15160 2001-06-23 The LyX Project <Asger>
15162 * Clean-up of header file includes all over
15163 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15165 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15167 * paragraph.h: renamed from lyxparagraph.h
15169 2001-06-23 Asger <lyx@violet.home.sad.it>
15171 * Buffer.h: Removed Buffer::resize
15172 * BufferList.h: Removed BufferList::resize
15173 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15174 the document lazily when we change the width, or the font settings.
15176 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15178 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15180 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15182 * buffer.h: remove out of date comment
15184 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15187 * screen.C: fix "theoretical" GC leak
15189 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15191 * LaTeX.C (scanAuxFile):
15192 (deplog): remove trailing \r when reading stream (useful under
15195 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15197 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15198 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15199 and BufferView::theLockingInset(Inset*), so should use them and not
15200 access bv_->text->the_locking_inset directly.
15202 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15204 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15207 * tex-defs.h: remove old unused file
15209 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15211 * BufferView_pimpl.C: fix typo, remove minibuffer message
15212 when buffer has loaded
15214 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15216 * lyxfunc.C (Dispatch): use stringstream
15217 (MenuNew): use stringstream
15218 (Open): use stringstream
15220 * importer.C (Import): use stringstream
15222 * bufferview_funcs.C (CurrentState): use stringstream
15224 * LaTeX.C (run): use stringstream
15226 * BufferView_pimpl.C (savePosition): use stringstream
15227 (restorePosition): use stringstream
15228 (MenuInsertLyXFile): use stringstream
15230 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15243 * vspace.C: removed // -*- C++ -*- as first line.
15246 * version.h: added // -*- C++ -*- as first line.
15248 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15252 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15255 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15260 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15262 * gettext.C: include LString.h even when --disable-nls is on.
15264 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15266 * converter.h (Get): changed argument type from int to
15267 FormatList::size_type to avoid unnecessary conversion.
15269 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15272 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * gettext.h: include LString.h even when --disable-nls is on.
15276 2001-06-07 Juergen Vigna <jug@sad.it>
15278 * text.C (BreakAgain): subst spaces with tabs.
15280 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15281 (resizeInsetsLyXText): set force on resizeLyXText.
15283 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * gettext.h (gettext_init):
15286 (locale_init): use a real definition instead of a macro
15288 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15290 * Bufferview_pimpl.C:
15292 * LColor.C: further lcolor tidies
15294 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * BufferView_pimpl.C (updateScrollbar): simplify.
15298 * BufferView2.C: don't include insets/insetinfo.h, change
15299 prototype for insertInset and call the Pimpl version. let
15300 updateInset call Pimpl version.
15302 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15303 gotoInset to BufferView::Pimpl
15305 2001-06-01 Juergen Vigna <jug@sad.it>
15307 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15308 inside a LockingInset (is the update needed at all?).
15310 2001-05-31 Juergen Vigna <jug@sad.it>
15312 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15313 here not the old one otherwise how should we compare it afterwards
15316 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * FontInfo.C: bring C functions into global namespace when
15324 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * LString.h: make sure config.h has been loaded before LString.h.
15328 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15329 (one for each char read by EatLine!).
15331 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15334 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15337 to the same as the par we break from
15339 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15343 * MenuBackend.C (expand): also create menu entries for wide
15344 versions of the floats.
15346 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15348 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15350 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15351 frontends/Makefile.am
15357 * tabular.C (getTokenValue): add std::
15359 * tabular-old.C (getTokenValue): add std::
15360 (getTokenValue): ditto
15361 (getTokenValue): ditto
15363 * screen.C (ToggleSelection): adjust
15365 * lyxtext.h: put selection cursors inside a Selection struct.
15367 * lyxfunc.C (moveCursorUpdate): adjust
15369 * lyxfont.C (latexWriteStartChanges): add std::
15371 * lyxfind.C: adjust
15373 * font.h: delete with(char const *, LyXFont const &)
15375 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15377 * FontInfo.C (getFontname): add std::
15379 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15380 (workAreaButtonPress): adjust
15381 (tripleClick): adjust
15383 (moveCursorUpdate): adjust
15386 * BufferView2.C (gotoInset): adjust
15388 2001-05-30 Juergen Vigna <jug@sad.it>
15390 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15391 to check pspell I add this as default as I now have new pspell
15392 libraries and they seem to use this.
15394 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * text2.C (CutSelection): make the cursor valid before the call to
15399 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15402 relied on 0 terminated strings and other horrors. Bug found due to
15403 the new assert in lyxstring!
15405 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15408 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15410 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15413 * lyxfunc.C (processKeySym): change method of getting to the
15416 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15417 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15418 * BufferView_pimpl.[Ch]: here as private methods.
15420 2001-05-28 Juergen Vigna <jug@sad.it>
15422 * text.C (SetHeightOfRow): added the update() call again as it is
15423 needed to initialize inset dimensions!
15425 2001-05-16 Juergen Vigna <jug@sad.it>
15427 * text2.C (SetCharFont): Add new function with BufferView * and
15428 bool toggleall parameters for setting insets internal fonts.
15429 (SetFont): Freeze the undo as we may change fonts in Insets and
15430 all this change should be inside only one Undo!
15432 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15433 setting font's in insets as for them we have the SetFont function!
15435 2001-05-15 Juergen Vigna <jug@sad.it>
15437 * text2.C (ClearSelection): to be sure we REALLY don't have any
15440 * tabular.C (TeXCellPreamble): fixed the left border problem for
15443 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15445 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15448 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15450 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15451 LFUN_BREAKPARAGRAPH.
15453 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15454 help test to "internal only", similar for LFUN_INSERT_URL
15456 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15457 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15458 auto_region_delete and deadkeys.
15460 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15463 * LColor.C: remove some dead entries, tidy a little
15465 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15469 (Dispatch): implement LFUN_ESCAPE
15471 * commandtags.h: add LFUN_ESCAPE
15473 * LyXAction.C (init): add entry for LFUN_ESCAPE
15475 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15476 Remove commented code.
15477 (insertNote): moved here
15478 (open_new_inset): moved here
15480 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15483 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15485 * kbmap.C (findbinding): clean it up and make it work correctly.
15487 * lyx_main.C (init): do not pass argc and argv as parameters
15489 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15491 * buffer.C: fix path for OS/2 & Win32
15495 * lyx_main.C: Added os:: class.
15497 * os2_defines.h: update
15499 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15501 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15502 better by trying again with reduced state.
15504 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * lyxrc.C (read): print error about invalid key sequence only when
15507 debugging (because not all latinX keysyms are known to some X
15510 * kbsequence.C (getiso): add a few std:: qualifiers
15511 (getiso): comment out extra return statement.
15513 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15515 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15517 (Dispatch): enhance the accent inset a bit. (not perfect)
15519 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15523 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15525 * bufferlist.C (emergencyWrite): fix assert() call
15527 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15529 * text.C (InsertChar): Added trivial patch to only send the "you
15530 can not do multiple spaces this way" message once during a
15533 2001-05-08 Baruch Even <baruch@lyx.org>
15535 * Makefile.am: Changed order of libraries to get LyX to link properly
15536 with the gnome frontend.
15538 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15540 * LaTeXFeatures.h: add a std:: qualifier
15542 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * paragraph.C (String): use stringstream
15546 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * paragraph.C (writeFile): remove footflag arg
15550 * buffer.C (makeLaTeXFile): use stringstream
15551 (latexParagraphs): remove footnot gurba
15553 * LaTeXFeatures.C (getPackages): use stringstream
15554 (getMacros): likewise
15555 (getTClassPreamble): likewise
15556 (getFloatDefinitions): new method
15558 * paragraph.C (writeFile): reindent
15561 * WorkArea.h: revert the xpos + etc changes.
15563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15565 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15567 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15568 (pasteSelection): likewise
15569 * text2.C (CreateUndo): likewise
15571 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15573 * minibuffer.C (peek_event): temporarily reduce the functionality
15574 of the minibuffer (to allow args on lfuns)
15576 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15577 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15579 * buffer.C (readInset): add compability reading of old float
15580 lists, add reading of new style float list.
15581 (readInset): avoid reevaluation of inscmd.getCmdName()
15582 (getLists): reindent
15584 * MenuBackend.C (MenuItem): implement parsing of
15585 md_floatlistinsert and md_floatinsert.
15586 (expand::LastFiles): move initalizaton of iterators out of loop,
15587 avoid reevaluation.
15588 (expand::Documents): introduce typdedef vector<string> Strings,
15590 (expand::ExportFormats): introduce typedef vector<Format const *>
15591 Formats, and use it.
15592 (expand): implement FloatListInsert and FloatInsert.
15594 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15595 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15596 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15598 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15600 (Dispatch::LFUN_FLOAT_LIST): implement
15602 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15604 * LaTeX.C (run): Fix problem with --export code.
15606 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15608 * BufferView.[Ch] (workarea): removed.
15609 (getClipboard) new method; wrapper for workarea()->getClipboard()
15611 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15614 * WorkArea.h (width, height, xpos, ypos): These methods all
15615 returned the dimensions of the work_area sub-area of WorkArea,
15616 resulting in a position error if the WorkArea were resized. Now
15617 return the dimensions of the entire WorkArea.
15619 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15621 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15623 * LaTeX.C (deplog): correct the syntax of regex reg1
15625 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15627 * undo.C: remove !NEW_INSETS cruft
15629 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15631 * text2.C: remove !NEW_INSETS cruft
15633 * text.C: remove !NEW_INSETS cruft
15635 * tabular.C: remove !NEW_INSETS cruft
15637 * spellchecker.C: remove !NEW_INSETS cruft
15639 * lyxtext.h: remove !NEW_INSETS cruft
15641 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15643 * lyxfunc.C: remove !NEW_INSETS cruft
15645 * lyxfind.C: remove !NEW_INSETS cruft
15647 * lyx_cb.C: remove !NEW_INSETS cruft
15649 * figureForm.C: remove !NEW_INSETS cruft
15651 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15653 * buffer.[Ch]: remove !NEW_INSETS cruft
15655 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15657 * CutAndPaste.C: remove !NEW_INSETS cruft
15659 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15661 * BufferView2.C: remove !NEW_INSETS cruft
15663 * BufferView.h: remove !NEW_INSETS cruft
15665 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * Lsstream.h: include LString.h before the sstream headers to
15668 fix problem with gcc 2.95.3 and lyxstring
15670 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * lyx_main.C: add using directives when needed for C functions
15673 declared in std:: namespace.
15675 2001-04-27 Juergen Vigna <jug@sad.it>
15677 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15678 (SetHeightOfRow): comment out the update call should not be needed!
15680 2001-04-13 Juergen Vigna <jug@sad.it>
15682 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15683 (LyXTabular): tried to minimize operator= operations (and realized
15684 hopfully Lars wish).
15686 2001-04-27 Juergen Vigna <jug@sad.it>
15688 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15690 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15692 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15694 * buffer.C (readInset): hack to make listof algorithm work
15696 * BufferView_pimpl.C: hack to make listof algorithm work
15698 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15700 * LyXAction.C: removed all !NEW_INSETS cruft
15701 (init): moved lfun_item in method
15703 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15705 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15707 * BufferView2.C (theLockingInset): white space.
15709 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15711 * minibuffer.C: include <iostream>
15713 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15715 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15717 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15719 * text.[Ch] (TransposeChars): new method
15721 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * call message directly through LyXView instead of through LyXFunc
15724 * BufferView2.C: adjust
15725 * BufferView_pimpl.C: adjust
15726 * FontLoader.C: adjust
15728 * bufferview_funcs.C: adjust
15729 * converter.C: adjust
15730 * figureForm.C: adjust
15731 * importer.C: adjust
15733 * lyx_gui_misc.C: adjust
15734 * lyxfunc.C: adjust
15737 + more files in subdirs
15739 * lyxparagraph.h (size): move up int file
15742 * adjust all uses of Assert to lyx::Assert.
15744 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15745 lyxfunctional in namespace lyx
15746 * layout.C (hasLayout): ditto
15749 (delete_layout): ditto
15750 (NumberOfClass): ditto
15751 * converter.C (GetFormat): ditto
15756 * bufferlist.C (getFileNames): ditto
15757 (emergencyWriteAll): ditto
15760 * MenuBackend.C (hasSubmenu): ditto
15763 * BufferView_pimpl.C (getInsetByCode): ditto
15765 2001-04-18 Juergen Vigna <jug@sad.it>
15767 * vspace.C (asLatexString): fixed the 100% problem.
15769 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15771 * lyxfunc.C (Dispatch):
15773 * minibuffer.h: add a few std:: qualifiers
15775 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15777 * minibuffer.[Ch]: reimplement so that commands is initiated and
15778 run from lyxfunc, simplified som handling, and made the completion
15779 and history code for complete. wip.
15781 * lyxfunc.C (processKeySym): call message
15782 (miniDispatch): new temporary method
15783 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15784 (LFUN_MESSAGE): implement
15785 (LFUN_MESSAGE_PUSH): implement
15786 (LFUN_MESSAGE_POP): implement
15787 (initMiniBuffer): the initial/defualt minibuffer message.
15789 * lyxfont.[Ch]: inline some more getters
15791 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15793 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15795 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15796 (AutoSave): use LFUN_MESSAGE
15797 (Reconfigure): ditto
15799 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15801 * figureForm.C: use LFUN_MESSAGE
15803 * converter.C (runLaTeX): use LFUN_MESSAGE
15805 * bufferview_funcs.C: use LFUN_MESSAGE
15807 (changeDepth): ditto
15809 * bufferparams.h: use boost::
15811 * bufferlist.h: inherit privately from noncopyable
15813 * bufferlist.C (loadLyXFile): remove some commented code.
15815 * buffer.C (runChktex): use LFUN_MESSAGE
15817 * ShareContainer.h: inherit privately from noncopyable
15819 * ParagraphParameters.[hC] (depth): inline it.
15821 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15823 (message): new method
15824 (messagePush): ditto
15825 (messagePop): ditto
15826 (show): init minibuffer
15827 (showState): direct call
15829 * LaTeX.[Ch]: inherit privately from noncopyable
15830 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15831 instead of WriteStatus.
15833 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15835 * BufferView_pimpl.C (buffer): don't init minibuffer
15836 (workAreaButtonPress): use LFUN_MESSAGE
15837 (workAreaButtonRelease): ditto
15838 (savePosition): ditto
15839 (restorePosition): ditto
15840 (MenuInsertLyXFile): ditto
15841 (workAreaExpose): don't init minibuffer
15842 (update): remove commented code, simplify
15844 * BufferView2.C (openStuff): use LFUN_MESSAGE
15845 (toggleFloat): ditto
15848 (copyEnvironment): ditto
15849 (pasteEnvironment): ditto
15854 (updateInset): remove some commented code
15856 * lastfiles.h: inherit privately from noncopyable
15859 * lyx_main.h: ditto
15861 * lyxlex_pimpl.h: ditto
15863 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15864 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15865 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15867 * LyXAction.h: inherit privately from noncopyable, add methods
15868 func_begin, func_end, returning iterators to the func map.
15870 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15871 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15872 (func_begin): new method
15873 (func_end): new method
15875 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15877 (copySelection): ditto
15878 (pasteSelection): ditto
15880 * BufferView.C: whitespace change
15881 * BufferView.h: inherit privately from noncopyable
15883 2001-04-16 Allan Rae <rae@lyx.org>
15885 * tabular-old.C (l_getline):
15886 * spellchecker.C (sc_check_word):
15887 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15888 an unrecognised preprocessor directive. So ensure they're wrapped.
15890 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15892 * src/exporter.C (Export): Give an error message when path to file
15895 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15897 * LaTeX.C (deplog): Always check that foundfile exists.
15899 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15902 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15904 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15906 * tabular.[Ch] (getLabelList): implement new method
15908 * minibuffer.h: comment ouf setTiimer
15910 * minibuffer.C (ExecutingCB): constify res
15911 (peek_event): constify s
15912 (Set): constify ntext
15913 (Init): constify nicename
15915 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15917 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15918 (savePosition): use two params to Minibuffer::Set
15919 (restorePosition): ditto
15921 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15923 * lyx_main.C: include language.h
15925 * Makefile.am (lyx_main.o): add language.h
15927 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * CutAndPaste.C: include gettext.h
15935 * lyxfont.h: remove old hack with ON and OFF.
15938 * lyxfont.h: do not include language.h...
15943 * bufferview_funcs.C:
15949 * paragraph.C: ... but do it here instead
15951 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15953 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15955 * tabular.C: small reformat
15957 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15960 (BreakParagraph): ditto
15961 (SetOnlyLayout): ditto
15964 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15967 * lastfiles.C: removed most using decl, add std:: where needed
15969 * buffer.C: ws changes
15971 * MenuBackend.C (class compare_format): put into anon namespace
15972 (expand): constify label, names, action, action2
15975 * text.C (SingleWidth): constify font
15976 (IsBoundary): constify rtl2
15977 (GetVisibleRow): constify ww
15979 * LaTeX.C (deplog): constify logfile
15981 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15983 (workAreaExpose): constify widthChange, heightChange
15985 * lyxrow.C (par): moved
15988 * lyxrow.h: as inlines here
15990 * lyxfont.h (shape): moved from lyxfont.C
15991 (emph): moved from lyxfont.C
15993 * lyxfont.C (LyXFont): use initialization list for all
15995 (shape): move to lyxfont.h as inline
15996 (emph): move to lyxfont.h as inline
15999 2001-04-04 Juergen Vigna <jug@sad.it>
16001 * vspace.C: had to include stdio.h for use of sscanf
16003 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16006 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16007 independent of xforms.
16009 2001-04-02 Juergen Vigna <jug@sad.it>
16011 * spellchecker.C: fixed namespace placing!
16013 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16015 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16016 the LyXParagraph * is 0.
16018 2001-03-29 Juergen Vigna <jug@sad.it>
16020 * vspace.C: added support for %, c%, p%, l%.
16021 (stringFromUnit): added helper function.
16022 (asLatexString): changed to give right results for the %-values.
16024 * buffer.C: convert the widthp in a width%.
16026 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16028 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16031 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16032 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16034 * lyx_cb.[Ch]: see above.
16036 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16040 * lyx.[Ch]: replaced by figure_form.[Ch].
16044 * lyxfunc.C: changed headers associated with above changes.
16046 2001-03-27 Juergen Vigna <jug@sad.it>
16048 * BufferView_pimpl.C: set the temporary cursor right!
16050 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16052 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16054 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16056 * LString.h: removed "using std::getline"!
16058 * BufferView_pimpl.C (Dispatch): changes due to changes in
16059 InsetInclude::Params.
16061 * buffer.C (tag_name): removed redundant break statements as they were
16062 producing lots of warnings with my compiler.
16064 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * LString.h: add "using std::getline" when using the real <string>.
16068 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16070 * buffer.C: removed bitset usage.
16071 PAR_TAG moved to an anonymous name space.
16072 (tag_name): new funtion, also in the anonymous namespace.
16073 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16074 (makeDocBookFile): clean code. Completed transition from string arrays
16076 (SimpleDocBookOnePar): code clean.
16078 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16080 * tabular.C: add some comments.
16082 2001-03-22 Juergen Vigna <jug@sad.it>
16084 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16085 compatibility read a bit and fixed bug with minipage in different
16088 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16090 * buffer.C (pop_tag): removed.
16091 (push_tag): removed.
16092 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16093 array replaced with vector. Added support for CDATA sections.
16094 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16096 (makeDocBookFile): XML conformant declaration of CDATA section,
16097 fixed bug related to <emphasis> in the first paragraph char.
16098 (sgmlOpenTag): exclude empty tags.
16099 (sgmlCloseTag): ditto.
16101 * buffer.h (pop_tag): removed.
16102 (push_tag): removed.
16104 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16106 * language.h (Languages): added size_type and size().
16108 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16110 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16111 response on compability reading of minipages. One probliem is that
16112 the old usage of minipages was «flertydig»
16114 * several files here and in subdirs: don't use static at file
16115 scope use anon namespaces instead.
16117 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16119 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16120 LaTeX output. This is necessary for Literate document
16123 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16125 * buffer.C: insert hfill when needed.
16127 * tabular.C (l_getline): use string::erase, small whitespace change.
16129 * BufferView_pimpl.C: try the anon namespace.
16130 * WorkArea.C: ditto
16132 2001-03-16 Juergen Vigna <jug@sad.it>
16134 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16135 otherwise it won't open options-dialogs.
16137 * buffer.C: honor pextraWidth(p) on converting minipages.
16139 * tabular.C (l_getline): changed the functions to strip trailing \r.
16141 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16143 * BufferView_pimpl.C:
16144 * minibuffer..C: added "using SigC::slot" declaration.
16146 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16148 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16154 * paragraph.C: ditto
16156 * lyxtext.h: NO_PEXTRA
16158 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16160 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16161 * ParameterStruct.h: ditto
16162 * ParagraphParameters.h: ditto
16163 * lyxparagraph.h: ditto
16165 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16167 * buffer.C: add compability for minipage alignment.
16168 (latexParagraphs): remove unwanted pextra check.
16170 * several files: remove CXX_WORKING_NAMESPACES
16172 * buffer.C (pop_tag): tie is in namespace boost
16174 * BufferView.h: noncopyable is in namespace boost
16176 * lyx_main.h: ditto
16179 * lastfiles.h: ditto
16180 * bufferlist.h: ditto
16181 * ShareContainer.h: ditto
16183 * LyXAction.h: ditto
16186 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16188 * Merging changes from BRANCH_MVC back into HEAD.
16190 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16192 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16194 * BufferView_pimpl.C: change from intl.C
16198 * Makefile.am: move combox.*
16204 * intl.C: remove dialog (covered by prefs)
16206 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16208 * lyxfunc.C (Dispatch): removed redundant break statement.
16210 2001-03-14 Juergen Vigna <jug@sad.it>
16212 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16214 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16216 * buffer.C: add hack to fix compability reading of minipages.
16218 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16220 * buffer.C (getLists): Cleanup.
16222 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * lyxfont.C (update): don't honor toggleall on font size.
16226 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16230 * Makefile.am: moved to frontends/xforms/
16234 * BufferView_pimpl.C: changes for moved mathpanel
16236 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16238 * gettext.h: fix gettext_init() in --disable-nls
16240 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16242 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16244 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16247 * lyx.h: strip external form
16249 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16251 * BufferView_pimpl.C: add comment, destroySplash()
16253 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16255 * BufferView_pimpl.C:
16259 * lyxfunc.C: use re-worked insetinclude
16261 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16263 * buffer.C: add using std::stringstream.
16265 * lyx_cb.C: readd using std::ios.
16267 * buffer.C: add using std::map.
16269 * BufferView_pimpl.C: add using std::vector.
16271 * ShareContainer.h: add std:: to swap.
16273 * buffer.h: add some typedefs
16274 * buffer.C (getLists): use them
16275 (getLists): renamed from getTocList.
16276 add a counter for the different float types and use it in the
16278 (getLists): use the same counter for the NEW_INSETS and the "non"
16281 * lyx_cb.h: remove unused items, includes, using etc.
16283 * ShareContainer.h: remove some commented code, add more comments
16284 and "documentation".
16286 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16288 * buffer.C (getTocList): make the list also when NEW_INSETS is
16291 * buffer.h: remove TocType
16293 * buffer.C (getTocList): change to return a map<string,
16294 vector<TocItem> >, implement for dynamic number of list.
16296 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16297 * text2.C (PasteSelection): adjust
16298 * CutAndPaste.C (pasteSelection): adjust
16300 * FloatList.C (FloatList): update from the new_insets branch.
16301 * Floating.[Ch]: ditto
16302 * LaTeXFeatures.C: ditto
16304 * lyxlex_pimpl.C: ditto
16306 * paragraph.C (Last): remove when NEW_INSETS is defined.
16308 * other file: changes because of the above.
16310 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16312 * lyxparagraph.h: rename next to next_, previous to previous_,
16313 make them private for NEW_INSETS. Rename Next() to next(),
16314 Previous() to previous().
16316 * other files: changes because of the above.
16318 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16321 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16324 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * main.C (main): pass lyx_localedir to gettext_init().
16328 * gettext.h: remove locale_init and gettext_init macros
16330 * gettext.C (locale_init): new function
16331 (gettext_init): new function
16333 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16336 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16338 * Moved credits to frontends:
16339 * credits.[Ch]: removed
16340 * credits_form.[Ch]: removed
16341 * lyx_gui_misc.C: remove credits stuff
16344 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16346 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16348 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16349 unneeded destructor.
16351 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16352 a standalone pointer again.
16354 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16356 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16362 * ToolbarDefaults.C:
16371 * BufferView_pimpl.C: use new file dialog in GUII
16374 * lyx_cb.C: remove LayoutsCB to Toolbar
16376 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16378 * ShareContainer.h (get): add std:: qualifier
16380 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16382 * ShareContainer.h: define a proper ShareContainer::value_type
16383 type (and use typename to please compaq cxx)
16385 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16387 * lyxparagraph.h: move serveral local vars to
16388 ParameterStruct/ParagraphParameters., use ShareContainer in
16389 FontTable., make vars in FontTable private and add getter and
16392 * paragraph.C: changes because of the above.
16394 * lyxfont.h: remove copy constructor and copy assignment. (the
16395 default ones is ok), move number inside FontBits. move inlines to
16398 * lyxfont.C: add number to initializaton of statics, move several
16399 inlines here. constify several local vars. some whitespace
16400 cleanup. Dont hide outerscope variables.
16402 * Spacing.h: add two new constructors to match the set methods.
16404 * ShareContainer.h: new file, will perhaps be moved to support
16406 * ParameterStruct.h: new file
16408 * ParagraphParameters.h: new file
16410 * ParagraphParameters.C: new file
16412 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16413 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16415 * BufferView_pimpl.C: ParagraphParameter changes.
16416 * buffer.C: Likewise.
16417 * bufferview_funcs.C: Likewise.
16418 * text.C: Likewise.
16419 * text2.C: Likewise.
16421 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16423 * lyxfind.C (LyXReplace): do not redefine default argument in
16425 (IsStringInText): ditto
16426 (SearchForward): ditto
16427 (SearchBackward): ditto
16429 2001-03-06 Juergen Vigna <jug@sad.it>
16431 * lyxfind.C (IsStringInText): put parentes around expressions.
16433 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16435 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16437 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16439 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16441 * stl_string_fwd.h: add comment
16443 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16446 * tabular.C: remove unused DocBook methods
16452 killed DO_USE_DEFAULT_LANGUAGE
16454 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16456 * lyx_gui.C: do not include language.h.
16458 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16459 arguments in function implementation.
16461 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16463 * BufferView_pimpl.C: add <ctime>
16465 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16467 * BufferView_pimpl.C: add using std::find_if
16469 2001-02-27 José Matos <jamatos@fep.up.pt>
16471 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16474 2001-02-11 José Matos <jamatos@fep.up.pt>
16476 * buffer.C (makeDocBookFile): command styles now have a parameter as
16477 "title" by default.
16479 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16481 * layout_forms.[Ch]: removed
16482 * lyx_cb.[Ch]: out character
16483 * lyx_gui.C: out character
16484 * lyx_gui_misc.C: out character
16485 * bufferview_funcs.C: : out character,
16486 added toggleall as parameter in ToggleAndShow
16488 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16490 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16492 * text2.C (SetCurrentFont): Disable number property at boundary.
16494 2001-02-26 Juergen Vigna <jug@sad.it>
16496 * lyxfunc.C (getStatus): added a string argument override function so
16497 that this is correctly called from LyXFunc::Dispatch if it contains a
16498 do_not_use_argument which is used!
16499 (Dispatch): added check for "custom" export and call appropriate func.
16501 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16503 * lyxrc.C: Add language_command_local, language_use_babel and
16504 language_global_options.
16506 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16508 * buffer.C (makeLaTeXFile): Use language_use_babel and
16509 language_global_options.
16511 2001-02-23 Juergen Vigna <jug@sad.it>
16513 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16514 which works with LyXText and putted it inside BufferView. Here now we
16515 only call for that part the BufferView::Dispatch() function.
16517 * BufferView.C (Dispatch): added.
16519 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16520 functions which needs to use a LyXText over from LyXFunc.
16521 (MenuInsertLyXFile): added
16522 (getInsetByCode): added
16523 (moveCursorUpdate): added
16524 (static TEXT): added
16526 2001-02-22 Juergen Vigna <jug@sad.it>
16528 * BufferView_pimpl.C (update): call a status update to see if LyXText
16531 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16533 * vc-backend.C (revert): implement for CVS
16534 (getLog): implement for CVS
16536 2001-02-20 Juergen Vigna <jug@sad.it>
16538 * text2.C (ClearSelection): added BufferView param for inset_owner call
16540 * lyxfunc.C (TEXT): added this function and use it instead of
16541 directly owner->view()-text of getLyXText().
16543 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16545 * src/layout_forms.C: out preamble
16546 * src/layout_forms.h: out preamble
16547 * src/lyx_cb.C: out preamble
16548 * src/lyx_cb.h: out preamble
16549 * src/lyx_gui.C: out preamble
16550 * src/lyx_gui_misc.C: out preamble
16551 * src/lyxfunc.C: connect with guii preamble
16553 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16555 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16557 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16559 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16560 whether to run bibtex.
16562 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16564 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16566 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16568 * Makefile.am (lyx_SOURCES): removed bibforms.h
16570 * vspace.h: doxygen
16572 * text.C (GetVisibleRow): make several local vars const
16574 * tabular.C: small cleanup.
16576 * lyxserver.C (callback): use compare instead of strncmp
16578 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16579 inlines to after class or to paragraph.C
16581 * lyxfont.h: remove friend operator!=
16583 * converter.h: move friend bool operator< to non friend and after
16586 * combox.h: small cleanup
16588 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16589 to inlines after class def.
16591 * buffer.C (pop_tag): use string operations instead of strcmp
16593 * bmtable.c: doxygen, small cleanup
16595 * LaTeX.h: remove friend operator==
16597 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16609 * BufferView_pimpl.C:
16610 * BufferView.[Ch]: remove cruft
16612 2001-02-14 Juergen Vigna <jug@sad.it>
16614 * lyxfunc.C: removed #if 0 unused code
16616 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16618 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16620 * text2.C (SetSelection): added a BufferView * parameter
16622 2001-02-13 Juergen Vigna <jug@sad.it>
16624 * lyxfunc.C (Dispatch): fixed protected blank problem.
16625 * BufferView2.C (protectedBlank): added LyxText * parameter.
16627 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16628 (AppendColumn): same as above for column_info.
16630 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16631 (moveCursorUpdate): use a LyXText param for support of InsetText.
16633 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16634 (tripleClick): ditto
16636 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16638 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16640 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16642 * text2.C (SetSelection): set correct update status if inset_owner
16643 (ToggleFree): ditto
16645 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16647 * tabular.C: remove some commented code.
16649 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16651 * BufferView_pimpl.C: call hideSplash()
16653 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16656 * bibforms.h: remove
16659 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16660 add LFUN_CHILD_CREATE
16662 * counters.h: fix tiny typo
16667 * lyx.C: move splash to frontends/xforms/
16669 * lyx_gui_misc.C: move Include and Bibform to frontends
16671 * lyxvc.h: clarify comment
16673 * vspace.C: tiny housekeeping
16675 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16677 * text.C (PrepareToPrint): RTL Fix.
16679 * paragraph.C (GetUChar): New method.
16680 (String): Use GetUChar.
16682 * buffer.C (asciiParagraph): Use GetUChar.
16684 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16686 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16688 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16691 * buffer.C: rename to getLogName(), handle
16692 build log / latex log nicely
16694 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16697 * MenuBackend.h: remove support for reference menuitem type.
16699 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16701 * BufferView_pimpl.C: housekeeping
16702 * BufferView_pimpl.h:
16707 * minibuffer.h: move Timeout GUI-I
16709 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16711 * lyxrc.C (read): Update converters data-structures.
16713 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16715 * LaTeX.h (operator!=): add operator != for Aux_Info
16717 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16719 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16721 * LaTeXLog.C: deleted, useful code moved to Buffer
16724 * buffer.C: new function getLatexLogName()
16730 * lyxfunc.C: use frontends for LaTeX and VC logs
16732 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16734 * LaTeX.h: yet another std:: that Allan forgot.
16736 * Variables.C (set): renamed from isset(), because this clashes
16737 with some HP-UX macros (grr).
16739 2001-02-06 Allan Rae <rae@lyx.org>
16741 * LaTeX.h: Another bug fix. Missing std:: this time.
16743 2001-02-04 Allan Rae <rae@lyx.org>
16745 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16746 floats problem. I've left it commented out because it's not quite
16747 correct. It should also test that the current object is a table or
16748 figure inset. But I haven't gotten around to figuring out how to do
16749 that. I *think* it'll be something like: "table" == inset.type()
16751 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16754 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16756 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16757 all the citation/databases/styles in the auxilary file.
16758 (run): Rerun latex if there was a babel language error.
16760 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16762 * text.C (Backspace): Preserve the font when changing newline char
16764 (BreakParagraph): If the cursor is before a space, delete the space.
16766 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16768 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16770 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16771 new argument (code).
16772 (ChangeCitationsIfUnique): New method.
16774 * paragraph.C (GetPositionOfInset): Handle bibkey.
16776 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16778 * BufferView_pimpl.h: change type of Position::par_pos to
16779 LyXParagraph::size_type.
16781 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16783 * BufferView_pimpl.C (savePosition, restorePosition): Write
16784 messages to minibuffer.
16786 2001-01-28 José Matos <jamatos@fep.up.pt>
16788 * buffer.C (makeDocBookFile): adds support for document language.
16789 A silly restriction on the name of LatexCommand types where removed.
16790 Added support for CDATA sections, allows to chars unescaped, used
16791 among others in code, to avoid escape < and >.
16793 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16795 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16796 saved positions instrad of a stack. Furthermore, a position is
16797 stored using paragraph id/paragraph position.
16799 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16800 Remove LFUN_REF_BACK.
16802 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16804 * converter.C (dvipdfm_options): New method.
16806 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16808 * vspace.C (isValidLength): Fix for empty input string.
16810 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * LyXAction.C (init): change description of LFUN_FIGURE to
16815 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16817 * LaTeX.C: add using directive
16819 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16821 * MenuBackend.C (expand): Fix the sorting of the formats.
16823 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16825 * lyx_main.C: tiny error message fix
16827 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16829 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16830 calling fl_initialize(). This fixes the problem with ',' as
16831 decimal separator in text files.
16833 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16835 * trans.C (process): Fix the keymap bug.
16837 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16839 * LaTeX.C (scanAuxFiles): New method. Provides support for
16840 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16841 (scanLogFile) Scan for "run BibTeX" messages.
16843 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16844 OT1 font encoding. Also, load the aecompl package if the ae
16847 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16849 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16851 * texrow.C (increasePos): turn two error messages into debug
16854 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16856 * LaTeX.C (scanAux): Handle the \@input macro.
16857 (runBibTeX): Use scanAux().
16859 * language.C (latex_options_): New field.
16861 * LaTeXFeatures.C (getMacros): Add language macros.
16863 * buffer.C (makeLaTeXFile): Small fix.
16865 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16867 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16869 * text2.C: add a using directive.
16871 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16876 * lyxfunc.C: kill LyXBell.
16878 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16880 * text.C (IsBoundary): Remove the error message
16882 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16884 * lyxrc.C (setDefaults): Correct initialization value for
16887 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16889 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16892 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16893 and GotoNextNote().
16895 * src/LyXAction.C: Added reference-next.
16897 * text.C (InsertChar): Use contains instead of strchr.
16899 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16901 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16903 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16904 alignment commands (when needed).
16906 * text.C (InsertChar): Add ':' to number separator chars.