1 2005-01-16 Angus Leeming <leeming@lyx.org>
3 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
4 for MacOSX and Windows to use prependEnvPath.
5 Strip out the hard-coded block to add elements to the PATH for
6 MacOSX and replace it with a call to prependEnvPath using the
7 contents of LyXRC::path_prefix.
8 (queryUserLyXDir): strip out the code to run reconfigure, instead
9 returning a boolean indicating the necessity to do so.
10 (reconfigureUserLyXDir): contains the code to reconfigure the
11 user support directory. Is now called after the various LyXRC data
14 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
16 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * converter.[Ch] (convert): take a new parameter try_default. Use
19 a default converter (imagemagick) if try_default is true.
21 2005-01-13 Angus Leeming <leeming@lyx.org>
23 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
25 (write): output LyXRC::cygwin_path_fix as necessary.
27 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
30 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
32 2005-01-12 Angus Leeming <leeming@lyx.org>
34 * lyx_main.C (init): set the PATH variable to include the
35 directory containing the LyX binary when running on Mac or Windows.
37 2005-01-12 Angus Leeming <leeming@lyx.org>
39 * lyx_main.C (init): remove cruft that purports to set the locale
40 dir. It doesn't and is not needed anyway.
42 2005-01-10 Angus Leeming <leeming@lyx.org>
44 * Makefile.am: remove the lyx_main.C special casing.
52 * messages.C: use support/package.h to provide the paths to the
53 various directories used by LyX.
55 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
58 layout if pasting into an empty paragraph)
60 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * tex-accent.C: add <string>
64 2005-01-06 José Matos <jamatos@lyx.org>
66 * ParagraphParameters.C (write): put every parameter in its own line.
67 * paragraph.C (write): reduce number of consecutive empty lines exported.
68 * buffer.C (LYX_FORMAT): increase file format to 239.
70 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
72 * everywhere: change support/tostr.h -> support/convert.h
74 * tabular.C: make all write_attributes templates, tostr -> convert
76 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
77 (emptyTag): and -> &&, and fix type for ret from getChar
78 (getFirstWord): fix type for ret from getChar
80 (simpleDocBookOnePar): and not -> && !, fix type for ret from
83 * toc.C (goTo, action):
85 * text.C (currentState):
86 * tex-accent.C (DoAccent):
89 * lyxfunc.C (menuNew):
90 * lyxfinc.C (replace):
91 * counters.C (laberItem):
92 * bufferview_funcs.C (font2string):
93 * bufferparams.C (writeFile):
94 * buffer.C (readFile):
96 * MenuBackend.C: tostr -> convert
98 * LaTeX.C (runMessage): fix format
99 (scanAuxFiles): tostr -> convert
101 * BufferView_pimpl.C (savePosition): fix format
102 (restorePosition): ditto
105 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * Spacing.[Ch]: New method getValueAsString().
111 * ParagraphParameters.C:
114 * text3.C: store/read spacing value as string.
116 * rowpainter.C: change float value (spacing_val) to double.
118 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
119 broken custom document spacing).
121 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
123 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
124 namespace, also more use of temp references and const
126 * cursor.[Ch] (getStatus): move to lyxfunc.C
128 * bufferparams.C: reformat slightly
130 * bufferview_funcs.C (font2string): constify arg
136 * buffer_funcs.C: (many funcs): constify arg on function
137 definitions, also make more local vars const, also add ASSERTS on
140 * buffer.C (LYX_FORMAT): put const in correct place
141 (many funcs): constify arg on function definitions, also make
142 more local vars const
144 * aspell_local.h: remove "struct" from typdef setup
146 * aspell.C (check): make word_ok const
147 (nextMiss): simplify slightly
150 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
152 * lyxrc.[Ch]: store all float values as strings.
153 use int (not float) for lyxrc.dpi.
155 2005-01-04 Angus Leeming <leeming@lyx.org>
157 * lyx_cb.C (Reconfigure):
158 * lyx_main.C (queryUserLyXDir):
159 to run the <system_lyxdir>/configure correctly on Windows, prefix
160 the path to the script with "sh " when generating the string that
161 is passed to system().
163 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
167 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * lyxlength.C (asLatexString): get rid of setprecision
171 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * text2.C (setLayout): remove unused variable endpit.
174 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
176 * paragraph.C (onlyText): remove unused variable style.
178 * cursor.C (bruteFind): remove unused variables beg and end.
180 * Makefile.am (dist_noinset_DATA): not needed anymore
182 * cheaders/*: remove.
184 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
186 * text3.C: fix LFUN_MATH_MODE.
188 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * buffer_funcs.C (countWords): new function. Counts words between
193 * BufferView_pimpl.C (getStatus, dispatch): handle
196 * LyXAction.C (init):
197 * lfuns.h: add LFUN_WORDS_COUNT.
199 2004-12-19 Angus Leeming <leeming@lyx.org>
201 * buffer.C (save): s/slashify_path/internal_path/.
203 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * lyxfind.C (findChange): do not search for end of pars, because
206 the change tracker cannot handle this (fixes bug 1719).
208 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
210 * paragraph.[Ch] (autoBreakRows): remove
212 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
214 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
215 avoid using the paragraph one
217 * text2.C (LyXText, insertStringAsLines): adjust
219 2004-12-16 Angus Leeming <leeming@lyx.org>
223 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
225 2004-12-14 Angus Leeming <leeming@lyx.org>
227 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
229 * bufferlist.C (emergencyWrite):
230 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
233 2004-12-14 Angus Leeming <leeming@lyx.org>
235 * main.C: (main): no longer pass pointers to os::init.
237 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
239 * undo.C (textUndoOrRedo): simplify logic, fix a crash
240 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
242 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
245 * text3.C: remove selection_possible global flag
247 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
249 * text2.C (getSelectionSpan): remove
250 (changeDepth, changeDepthAllowed): adjust
252 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
254 * Makefile.am (BOOST_LIBS): use boost variables
256 2004-12-03 José Matos <jamatos@lyx.org>
258 * buffer.C: format up to 238.
260 2004-12-03 José Matos <jamatos@lyx.org>
262 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
264 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * cursor.C (goUpDown): remove call to idxUpDown2
268 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * tabular.[Ch]: use size_t-like types for cell, row and column
273 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
275 * lyxfunc.C (getStatus): do not lose previous information when
276 calling BufferView::getStatus; do not set a default "Command
277 disabled" message at the beginning, but just before returning.
279 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * cursor.h (getStatus): add better comment from src/cursor.C
283 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * text3.C (getStatus): return false when the lfun is not handled
287 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * broken_headers.h: remove
291 * Makefile.am (lyx_SOURCES): remove broken_headers.h
293 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
295 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
298 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
299 top_y_, merge fitcursor with update
300 (updateScrollbar, scrollDocView, fitCursor, center, update): new
303 (workAreaDispatch): adapt to new coord scheme
304 (redoCurrentBuffer): remove
306 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
308 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
311 * coordcache.[Ch]: add paragraph cache and helpers
313 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
316 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
317 (targetX, setTargetX): introduce
319 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
320 baseline -> ascent, as the rest of lyx
322 * lyxtext.h: remove redoParagraphs, updateParPositions,
323 fullRebreak, redoParagraphInternal. move dist to anon namespace in
324 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
325 have ascent/descent (ascent is ascent of first par)
327 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
330 * paragraph.[Ch]: unify dimension handling with the rest of lyx
332 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
334 * pariterator.C: fix infinite loop introduced in par->pit renaming
336 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
337 in insets and LyXText, draw two off-screen paragraphs using
338 NullPainter, and adapt to new coord scheme
342 * text3.C: adapt lfun handlers to the new coord scheme, which
343 means: there's only guaranteed coord information for onscreen pars
344 plus one above and one below. This implies that one can do search
345 from y coordinates in the range [-1,workHeight]
347 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * rename a lot of InsetOld to InsetBase
351 2004-11-25 Angus Leeming <leeming@lyx.org>
353 * BufferView_pimpl.C:
355 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
357 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
360 call BufferView::getStatus if LCursor::getStatus did nothing
361 (setStatusMessage, getStatusMessage): removed.
363 * FuncStatus.C (message): new methods. Used to provide an error
364 message indicating why a command is disabled.
365 (clear, |=, FuncStatus): update for message.
367 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * lyxfunc.C (dispatch): always call sendDispatchMessage
371 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
374 * BufferView_pimpl.C:
388 * undo.C: par->pit renaming
390 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
392 * tabular.C (cellstruct): use initialization, store a shared_ptr
393 to insettext instead of the insettext directly, adjust to fit.
394 (operator=): new function
396 (rowstruct): use initialization
397 (columnstruct): use initialization
398 (ltType): use initialization
401 * lyxlength.h (swap): new function
403 * LColor.[Ch] (operator=): use the common semantics
405 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * lyxfind.C (findNextChange): update the bufferview after setting
410 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
413 number of InsetOptArgs has already been inserted.
415 * output_latex.C (latexOptArgInsets): new method. This outputs all
416 the optarg insets, up to the limit defined in the layout file.
417 (optArgInset): removed
418 (TeXOnePar): call latexOptArgInsets; correctly update texrow
420 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * paragraph.C (isLetter): remove special spellchecker-related
423 code; return true also for digits
424 (isWord, isKomma): remove
426 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
427 * lyxfind.C (MatchString()): use isLetter instead of isWord
429 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
431 * pariterator.h (operatir=): comment out un-implemented member
434 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
437 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
439 * lyxfont.h: include LColor.h to satisfy concept checks.
441 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
443 * pariterator.h: add typdefs for value_type, difference_type,
444 pointer and reference to satisfy concept checks. Also add default
445 constructor for same reason.
447 * pariterator.C (operator++): add post-increment operator to
448 satisfy concept checks.
450 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
453 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
455 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
456 checks. Also rename base_type to BaseType to follow naming
459 * FloatList.h: include Floating.h to satisfy concept checks.
461 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * lyxfunc.C (getStatus): when the origin of the request is menu or
464 toolbar, and the LyXView does not have focus, do as if there was
467 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
468 FuncRequest to individual entries of LFUN_SEQUENCE
470 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * output_latex.C (TeXOnePar): override runparams.moving_arg
473 according to the needprotect value of the current paragraph (bug
476 * paragraph.C (simpleTeXOnePar): no need to override
477 runparams.moving_args here
479 2004-11-14 John Spray <spray_john@users.sourceforge.net>
481 * vspace.C: fix off-by-one-error, related to fix #1682
483 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
485 * lengthcommon.C: a more general fix for bug 1682
487 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
489 * text.C (backspace): fix crash
491 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * format.[Ch] (getFormatFromFile): new method
494 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
496 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
500 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * lyxfunc.C (dispatch): remove the verbose argument
503 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
506 * kbmap.C (defkey): set the origin of func to KEYBOARD
508 * MenuBackend.C (MenuItem):
509 * ToolbarBackend.C (add): set the origin of func to UI
511 * funcrequest.[Ch]: add origin member, which indicates which part
512 of LyX requests an action
514 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
516 * converter.C (move): don't lie in the error message
517 * converter.h (isReachable, move): document
519 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
521 * buffer.C: remove unused using lyx::support::atoi
522 * paragraph_funcs.C: ditto
524 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * bufferlist.C (exists): use bind and equal_to instead of
529 * lyxtextclasslist.C (NumberOfClass): ditto
531 * cursor.C (insert): use for_each instead of explicit for loop
533 * bufferlist.C (getFileNames): use std::transform and
534 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
536 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
539 * buffer.C (changeLanguage): use for_each instead of explicit for
541 (hasParWithID): implement using getParFromID
543 * LaTeXFeatures.C: ws change only
545 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
548 * BufferView_pimpl.C (trackChanges): use for_each instead of
551 2004-11-04 André Pönitz <poenitz@gmx.net>
554 * undo.C (textUndoOrRedo): fix crash when creating undo information.
556 * dociterator.C (asDocIterator): use hard assert again.
558 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * lyxlength.C (asLatexString): rewrite so that it does not use
563 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * text3.C (specialChar, dispatch): make sure cursor moves to the
566 right after inserting an inset
568 2004-11-02 José Matos <jamatos@lyx.org>
570 * output_docbook.C (docbook):
571 * paragraph.C (getID):
572 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
573 garantee that the output is always legal.
575 * tabular.C (docbook):
576 * outputprams.[Ch]: remove mixed contents.
578 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * text2.C (setCounter): prevent endless loop
582 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
584 * exporter.C (copyFile): use the mover instead of support::copy()
585 * exporter.C (Export): pass format and latex name to copyFile()
586 * exporter.h (addExternalFile): document
587 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
589 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
591 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
593 2004-10-30 José Matos <jamatos@lyx.org>
595 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
596 text and no inset or font change. This allows to use CDATA
597 sections just for the whole paragraph.
599 2004-10-30 José Matos <jamatos@lyx.org>
601 * paragraph.C (getFirstWord): remove unused variable.
603 2004-10-30 José Matos <jamatos@lyx.org>
605 * paragraph.C (getFirstWord): the content should always be escaped
607 (simpleDocBookOnePar):
608 * output_docbook.C (makeEnvironment): replace reference to CDATA
611 2004-10-30 José Matos <jamatos@lyx.org>
613 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
615 2004-10-30 José Matos <jamatos@lyx.org>
617 * output_docbook.C (makeParagraphs):
618 * paragraph.[Ch] (emptyTag): for docbook and company, if the
619 standard paragraph has only a given type of content drop the wrapper.
621 2004-10-29 José Matos <jamatos@lyx.org>
623 * output_docbook.C (makeEnvironment):
625 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
627 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
629 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
630 (cleanID): sanitize any id.
632 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * buffer.C, lyxlex_pimpl.C:
635 * lyxlex_pimpl.C (setFile):
636 s/getExtFromContents/getFormatFromContents/
638 2004-10-28 José Matos <jamatos@lyx.org>
640 * output_docbook.C (makeEnvironment): move id to broadest possible
643 * sgml.C (openTag): apply substitution of <> for all attributes.
645 2004-10-28 José Matos <jamatos@lyx.org>
647 * buffer.C (makeLinuxDocFile, makeDocBookFile):
648 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
649 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
651 * sgml.[Ch]: new version for open and closeTag for paragraph and
652 for strings. Now they handle the ids of paragraphs.
654 2004-10-26 Angus Leeming <leeming@lyx.org>
656 * Makefile.am: add mover.[Ch].
658 * converter.C (convert, move): use the new Movers to move external
659 files to the temp directory.
661 * lyx_main.C (init): ensure that the global system_movers data
664 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
667 * mover.[Ch]: new files, defining a Mover as a utility to move an
668 external file between directories and, if necessary, manipulate this
669 file using a helper script.
671 2004-10-25 José Matos <jamatos@lyx.org>
673 * output_docbook.C (makeCommand): merge two if's that tested the
676 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * sgml.C (escapeString): fix warning in a better way
680 2004-10-25 José Matos <jamatos@lyx.org>
682 * sgml.C (escapeString): import the require boosts header file for
683 tie, and avoid a signed unsigned comparison.
685 2004-10-25 José Matos <jamatos@lyx.org>
687 * sgml.h: add #include <string>
689 2004-10-25 José Matos <jamatos@lyx.org>
691 * sgml.[Ch] (escapeString): new function to escape all the string.
693 2004-10-24 José Matos <jamatos@lyx.org>
695 * paragraph.[Ch] (getFirstWord): new function to get the first
696 word. Useful for description.
697 (simpleDocBookOnePar): remove depth argument, add another that
698 says where to start the paragraph.
700 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
701 use the new functions to fix cleanly the support for descriptions.
703 2004-10-24 José Matos <jamatos@lyx.org>
705 * buffer.C (makeLinuxDocFile, makeDocBookFile):
706 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
707 * output_linuxdoc.C (linuxdocParagraphs):
708 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
709 add buffer as argument.
711 2004-10-24 José Matos <jamatos@lyx.org>
713 * output_docbook.C (makeEnvironment, searchEnvironment): place
714 CDATA inside paragraphs and fix scope for listitems.
716 2004-10-24 José Matos <jamatos@lyx.org>
718 * output_docbook.C: remove using statement for stack.
720 2004-10-23 José Matos <jamatos@lyx.org>
722 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
723 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
724 docbook. The new scheme is recursive and makes use of iterators, the
725 same as latex export works.
726 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
727 directly with the paragraph contents. This code was moved up to
728 output_docbook.C (docbookParagraphs).
729 * sgml.C (openTag, closeTag): removed unneeded newlines.
730 (closeEnvTags) removed.
732 2004-10-23 André Pönitz <poenitz@gmx.net>
734 * undo.C (textUndoOrRedo):
735 * dociterator.C (asDocIterator): work around crash
737 * cursor.C (getStatus): replace ASSERT by more verbose error message
738 and manual correction of the problem. Should increase stability
739 while providing more sensible information.
741 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
745 * bufferlist.C (previous, next): new methods
748 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
750 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
752 * buffer.C (makeDocBookFile): add dsssl stylesheet control
753 entities to preamble.
755 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
757 * messages.C (Pimpl): strip off translation context information
759 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
762 the cursor is correct (bug 1694)
764 2004-10-13 José Matos <jamatos@lyx.org>
766 * output_docbook.C (docbookParagraphs): fix closing tags in the
769 2004-10-09 José Matos <jamatos@lyx.org>
771 * buffer.C: format up to 237.
772 * bufferparams.C (write): use tostr to convert booleans to strings.
774 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
776 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
778 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
780 * LaTeX.C: implement use of babel language in xindy.
782 2004-10-05 José Matos <jamatos@lyx.org>
784 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
785 Add new translators to help reading and writing the lyx file.
787 2004-10-05 José Matos <jamatos@lyx.org>
789 * ParagraphParameters.C (read):
790 * text.C (readParToken): replace nexToken by more appropriate lex
793 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
795 * LaTeX.C (runMakeIndex):
796 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
797 (usually 'makeindex') configurable.
799 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
800 with a variable rather than with a number.
802 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * output_latex.C (TeXOnePar): make sure font setting is the first
805 thing that gets output (and the last at the end). Should fix bug
808 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
810 * pch.h: use proper signal include
812 * LaTeX.h: Use preferred calling of Boost.Signal
815 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * pch.h: dont include <boost/function/function0.hpp>
819 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
821 * paragraph_pimpl.h: remove usage of ShareContainer
823 * paragraph_pimpl.C: remove initialization of ShareContainer.
825 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * BufferView.C (putSelectionAt): change the semantics when
830 backwards == true: now, this just swaps cursor and anchor wrt the
833 * BufferView.h (putSelectionAt): add some documentation
835 * lyxfind.C (findBackwards): rewrite using while(). In particular,
836 make sure backwardChar is done at least once (to avoid getting
838 (findNextChange): use putSelectionAt in the forward direction
839 (operator()): use Paragraph::isWord
841 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
843 * Spacing.C (set): c_str fix
845 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * lyx_cb.C (Reconfigure): quote the name of configure script in
848 case it contains spaces
850 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
854 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
855 (BOOST_LIBS): use top_buildir when looking for the file
857 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
859 * pch.h: do not use include boost/format.hpp, multiple symbols
860 will result (gcc bug)
863 2004-08-23 José Matos <jamatos@lyx.org>
865 * bufferparams.C (readToken): fix reading of the author field.
867 2004-08-20 José Matos <jamatos@lyx.org>
869 * lyxrc.C: remove support/translator.h inclusion since it is not used.
871 2004-08-20 José Matos <jamatos@lyx.org>
873 * lyxlex.[Ch] (findToken): remove function.
875 * ParagraphParameters.C (findToken):
876 * bufferparams.C (findToken): replace call for previous function
877 with local copy. This local function has one more argument, the
878 read string argument.
880 2004-08-16 José Matos <jamatos@lyx.org>
882 * ParagraphParameters.C (write):
883 * Spacing.C (writeFile):
884 * bufferparams.C (writeLaTeX):
885 * lyx_cb.C (Reconfigure):
886 * paragraph.C (write):
887 * tabular.C (write): remove unnecessary space at end of line.
890 2004-08-16 José Matos <jamatos@lyx.org>
892 * text.C (readParagraph): remove debug message.
894 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
899 * output_plaintext.C (asciiParagraph): set depth correctly
901 * outputparams.h: add member depth
903 * paragraph_funcs.C (ownerPar): remove.
905 * text2.C (setCounter): remove first_pit; comment out some
906 non-working code that uses ownerPar
908 * BufferView.C (getParentLanguage): remove. Not used anymore, and
911 2004-08-16 José Matos <jamatos@lyx.org>
913 * text.C (readParToken, readParagraph, read): report all unknown tokens.
914 For the same level of importance use the same chanel to report problems.
915 (read): add code to deal with \begin_body and \end_body.
918 2004-08-15 José Matos <jamatos@lyx.org>
920 * lyxlex.C (getString): fix comment, buffer::readBody is now
923 * tex-strings.C (string_papersize): Default -> default,
924 Custom -> custom, for consistency with other options.
926 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * Makefile.am: support pch
932 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * text.C (readParToken): remove the static LyXFont variable and
935 pass it as a parameter instead. This fixes a nasty bug where an
936 inset will be inserted with a bad font in some situations
937 (readParagraph): adapt
939 * text2.C (setCounter): reduce number of calls to pars_[pit]
941 * text.C (singleWidth): add an assert, fix a test
943 * rowpainter.C (paintText): reduce number of calls to singleWidth
945 * paragraph.C (isHfill):
948 2004-08-14 André Pönitz <poenitz@gmx.net>
953 * lyxtext.h (several functions): use a Paragraph & argument
956 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * metricsinfo.h: add a new field ltr_pos to PainterInfo
960 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
962 * text.C (singleWidth): remove useless test
964 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * tabular.h: remove bogus comments
968 * tabular.C (getDescentOfRow):
969 (isPartOfMultiColumn): add assertions
971 * lyxlength.C (inPixels): remove #warning
973 2004-08-14 André Pönitz <poenitz@gmx.net>
975 * paragraph.h: inline getChar()
977 * BufferView.h: remove unused declarations
979 2004-08-14 José Matos <jamatos@lyx.org>
981 * Buffer.[Ch] (readDocument): new name for old readBody.
982 * Buffer.C: new file format, new keywords: \begin_document,
983 \begin_header, \begin_body, \end_body.
985 * bufferparams.C (readToken): replace all calls to lex.nextToken
986 by lex.next(). Do the same to eatLine except where really needed.
988 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
989 line when writing to the lyx file.
991 * output_plaintext.C (asciiParagraph): fix Bibliography style
994 * text.C (read): fix end of file handling.
996 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * MenuBackend.C (Menu::operator[]): new method to access
999 individual menu items
1000 (Menu::hasFunc): new method. search for an item that corresponds
1002 (MenuBackend::specialMenu): new method
1003 (MenuBackend::expand): if a special menu has been set, skip
1004 entries whose func() appears in this menu
1006 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1008 * text3.C: use Debug::DEBUG a bit more
1010 * text.C (leftMargin): try to simplify a tiny bit change var x to
1011 l_margin. Dont output the wide margins always.
1012 (rightMargin): no margin in inner texts
1014 * rowpainter.h (nestMargin): new func
1015 (changebarMargin): new func
1016 (rightMargin): new func
1018 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1022 * factory.C (createInset): modify setDrawFrame
1024 * cursor.C: use Debug::DEBUG a bit more
1026 2004-08-14 André Pönitz <poenitz@gmx.net>
1029 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1030 cache for all insets in (at least partially) visible (top-level)
1033 * BufferView_pimpl.C: reset external coord cache before every update.
1034 This means the coord cache only contains valid entries.
1036 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1039 * BufferView_pimpl.C (getInsetByCode): move function out of class
1040 and change in to a template in anon namespace. Also fix to do what
1043 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1046 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1048 (breakParagraph): rename par to par_offset and use a local
1049 reference. Add code to keep the language over a rebreak.
1050 (breakParagraphConservative): rename par to par_offset, use a
1052 (mergeParagraph): ditto
1054 (isFirstInSequence): ditto
1055 (outerFont): rename pit to par_offset
1057 * paragraph.C: ws change
1058 * paragraph.h: ditto
1062 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1067 * paragraph.C (simpleTeXOnePar): when we have a \item with
1068 optional argument, enclose the argument with curly brackets (in
1069 case it contains a closing square bracket)
1073 * text3.C (checkInsetHit): constify
1075 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1077 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1078 documents (bug 1629)
1080 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 Fix toggling of collapsable insets with the mouse (bug 1558)
1084 * lyxfunc.C (dispatch): adapt to LCursor changes
1086 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1087 make sure that dispatch is not invoked twice
1089 * cursor.C (needsUpdate): new method
1090 (dispatch): return void
1091 (result): new method, to access the DispatchResult of the cursor.
1093 2004-08-13 José Matos <jamatos@lyx.org>
1095 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1097 2004-08-13 André Pönitz <poenitz@gmx.net>
1099 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1101 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1104 2004-08-12 André Pönitz <poenitz@gmx.net>
1106 * text3.C: take out the 'cursor right' form insertInset and only
1107 do it in those places when it is really needed. Fixes crash on
1110 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1112 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1114 * BufferView_pimpl.C (setBuffer): initialize the current font of
1115 the underlying LyXText
1117 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * kbsequence.C (print): use UI native formatting for menu
1122 * text.C (insertChar): call Paragraph::insertChar with a font
1125 * paragraph.C (insertInset, insertChar): the version that takes a
1126 LyXFont argument is now a wrapper around the other one (the
1127 opposite used to be true).
1129 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1130 argument. Font setting is done in Paragraph now.
1132 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * outputparams.h: add new members intitle and lang.
1136 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1137 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1139 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1141 * text3.C (dispatch): remove special handling of button 4 and 5,
1142 it is now taken care of in the frontend code.
1144 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * Spacing.h: add <string> (STLPort compile fix)
1148 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1150 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1152 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1154 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1157 * converter.C (showMessage): inherit from unary_function, make
1160 * buffer.C (writeFile): initialize retval
1162 * InsetList.h: rename private variable list to list_
1163 * InsetList.[Ch]: adjust accordingly.
1165 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1167 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1168 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1169 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1170 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1171 * ParagraphParameters.C, LaTeXFeatures.C: replace
1172 "support/std_sstream.h" with <sstream>
1174 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1176 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1177 * lyxsocket.C (LyXServerSocket): ditto
1178 (serverCallback): ditto
1180 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1182 * LaTeXFeatures.C: check release date when loading jurabib.
1184 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1186 * lyxserver.C (startPipe): call register_socket_callback
1187 (endPipe): call unregister_socket_callback
1189 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1192 (LyXServerSocket): register the callback
1193 (LyXServerSocket): unregister the callback
1194 (fd): delete function
1195 (serverCallback): improve error checking and setup the callbacks.
1196 (dataCallback): change arg to fd.
1197 (writeln): new func (copied fro the client socket) used for server
1199 (LyXDataSocket): simplify
1200 (~LyXDataSocket): close ann unregiser callback
1201 (server): delete function
1202 (fd): delete function
1203 (readln): small changes, improve some std::string usage
1204 (writeln): constify a bit
1206 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1211 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1214 after it has been populated
1216 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * text2.C (insertInset): move cursor when inserting inset.
1220 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * kbmap.C (findbindings): a couple of new methods. returns a
1223 container of kb_sequence objects. The real work is done by the
1224 private recursive version
1225 (printbindings): uses findbindings to print out a bracketed list
1226 of bindings (renamed from findbinding).
1228 * MenuBackend.C (binding): use kb_keymap::findbindings
1230 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1232 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1234 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1236 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * paragraph.C (isWord): return true on insets that report
1241 * text.C (getWord): use Paragraph::isWord to decide what is in a
1242 word and what is not; fix bug 1609.
1244 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * tex-strings.C: add "none" to string_paperpackages[], fixes
1247 off-by-one-error in the paperpackage selection.
1250 * tex-strings.[Ch]: char const * string[n]
1251 -> char const * const string[]
1253 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1256 command, return early.
1258 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1260 * debug.h: add DEBUG to enum and fix size of ANY.
1262 * debug.C: add support for Debug::DEBUG
1263 (showTags): cast errorTags.level to unsigned int
1265 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1266 (redoCurrentBuffer): ditto
1267 (updateScrollbar): ditto
1268 * cursor.C (dispatch): ditto
1269 * text2.C (setLayout): ditto
1271 (updateCounters): ditto
1273 (deleteEmptyParagraphMechanism): ditto
1275 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1277 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1278 annotations to cleanup the Makefile slightly.
1280 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * lyxrc.C: do not set user_email to a default value but use empty
1283 instead. The entry used to be translated, which does not work
1284 since at the point where lyxrc is constructed there is no
1285 translation service available
1287 * messages.C (getLocaleDir): remove and use directly
1288 lyx_localedir() instead
1290 2004-06-02 Angus Leeming <leeming@lyx.org>
1292 Fix crash caused by dereferencing null pointer 'exportdata' in
1293 OutputParams by creating a new ExportData variable on the heap,
1294 storing it in a boost::shared_ptr.
1295 The crash was triggered when generating an Instant Preview
1296 of an external inset.
1298 * Makefile.am: add outputparams.C
1300 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1301 (c-tor): allocate memory to it.
1303 * exporter.C (c-tor): associated changes.
1305 2004-06-01 Angus Leeming <leeming@lyx.org>
1307 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1308 contains data before calling isInset(0). (Bug 1513.)
1310 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1312 * exporter.C (checkOverwrite): new method
1313 * exporter.C (copyFile): new method
1314 * exporter.C (Export): copy referenced files to the document dir
1315 * exporter.[Ch]: new class ExportedFile
1316 * exporter.[Ch]: new class ExportData. Contains currently the
1317 names of referenced external files
1318 * outputparams.h: add exportdata member.
1320 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1322 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1325 2004-05-19 Angus Leeming <leeming@lyx.org>
1330 * lyxfunc.C: small changes due to the introduction of namespace
1331 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1333 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1335 * text3.C (dispatch): supress update when only moving the cursor
1336 * cursor.C (selHandle): remove commented code
1338 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1340 * paragraph.C (startTeXParParams): correct column count
1341 * CutAndPaste.C (pasteSelection): remove const_cast
1342 * output_docbook.C (docbookParagraphs): remove const_cast
1343 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1344 const_cast and return ParagraphList::const_iterator
1345 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1346 * output_plaintext.C (writeFileAscii): remove const_cast
1347 * paragraph.[Ch] (simpleTeXOnePar): make const
1348 * paragraph_funcs.C (outerPar): use const iterators
1349 * paragraph_pimpl.C (validate): use const iterators
1350 * text.C (setHeightOfRow): use const iterators
1352 2004-05-17 Angus Leeming <leeming@lyx.org>
1355 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1357 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1358 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1359 if the citation engine has changed.
1361 2004-05-14 José Matos <jamatos@lyx.org>
1363 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1364 if the textclass does not provide it. Have it different for sgml and
1366 support the language of document.
1367 * output_docbook.C (docbookParagraphs):
1368 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1369 first anchor as the id of the paragraph, remove special case code.
1370 * sgml.C (escapeChar): escape only < & >.
1372 2004-05-14 Angus Leeming <leeming@lyx.org>
1374 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1375 dependencies on src/frontends/controllers/biblio.h. Define a
1376 CiteEngine_enum wrapper class to enable the enum to be forward
1379 2004-05-12 Angus Leeming <leeming@lyx.org>
1381 * buffer.C: up LYX_FORMAT to 234.
1382 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1383 use_numerical_citations with a single biblio::CiteEngine cite_engine
1385 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1387 2004-05-13 José Matos <jamatos@lyx.org>
1390 * converter.C (Converter, readFlags): add xml member.
1391 * outputparams.h: add XML flavor.
1392 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1394 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * lyxfunc.C (dispatch):
1397 (getStatus): fix handling of LFUN_SEQUENCE
1399 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * debug.C (showLevel): do not forget the end-of-line marker
1403 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1405 * kbmap.C (read): do not stop parsing a bind file when an error
1408 2004-04-29 Angus Leeming <leeming@lyx.org>
1413 * text2.C: wrap a bunch of #warning statements
1414 inside #ifdef WITH_WARNINGS blocks.
1416 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1418 * buffer.C: increment format to 233.
1420 2004-04-28 Angus Leeming <leeming@lyx.org>
1422 * BufferView_pimpl.C:
1425 s/updateToolbar()/updateToolbars()/
1426 s/Toolbar.h/Toolbars.h/
1428 2004-04-28 Angus Leeming <leeming@lyx.org>
1430 * BufferView.[Ch] (c-tor):
1431 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1432 No longer passes these data to the WorkArea generator.
1434 2004-04-28 Angus Leeming <leeming@lyx.org>
1436 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1438 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1440 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1442 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * output_latex.C (TeXEnvironment): make sure that there is a line
1445 break before \end{foo} for the last paragraph of a document
1446 (TeXOnePar): if the paragraph is at the end of the document (or
1447 inset) and the language has to be reset, then make sure that the
1448 line break is _before_ the language command, not after (fixes bug
1449 1225); also make sure that the language reset command is the first
1450 thing after the paragraph (to ensure proper nesting of
1451 environments and thus fix bug 1404)
1453 2004-04-21 John Levon <levon@movementarian.org>
1456 * ToolbarBackend.C: make "name" be a programmatic name
1457 and a gui_name field.
1459 * lyxfunc.C: display the minibuffer on M-x
1461 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1466 2004-04-19 Angus Leeming <leeming@lyx.org>
1468 * BufferView_pimpl.C (setBuffer): changed preview interface.
1470 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1473 2004-04-19 John Levon <levon@movementarian.org>
1475 * BufferView_pimpl.C:
1476 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1478 2004-04-05 Angus Leeming <leeming@lyx.org>
1480 * text.C (redoParagraphs): add call to updateCounters(), thereby
1481 fixing the missing "Figure #:" label from the caption of a
1484 2004-04-13 Angus Leeming <leeming@lyx.org>
1486 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1487 cursor is clicked out of an inset.
1489 2004-04-13 Angus Leeming <leeming@lyx.org>
1491 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1492 than an InsetOld one.
1494 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1496 * format.[Ch]: add editor to Format
1497 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1498 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1500 2004-04-08 André Pönitz <poenitz@gmx.net>
1502 * metricsinfo.h: remove PainterInfo::width member
1504 2004-04-08 Angus Leeming <leeming@lyx.org>
1506 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1507 "\providecommand" rather than "\newcommand", thereby preventing
1508 clashes with packages that define "\boldsymbol" themselves.
1511 2004-04-08 Angus Leeming <leeming@lyx.org>
1513 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1514 thereby squashing an unnecessary warning.
1516 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1518 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1521 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1523 * BufferView.C (setCursor): call redoParagraph (some insets could
1525 (putSelectionAt): remove the 'double update' trick
1527 * BufferView_pimpl.C (fitCursor): call refreshPar
1528 (workAreaDispatch): remove an uneeded update call
1529 (dispatch): remove some manual update calls
1531 * cursor.[Ch]: remove cached_y_, updatePos
1532 (selHandle): set noUpdate when appropriate
1534 * lyxfunc.C (dispatch): track if we need an update
1536 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1538 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1539 (paintSelection): cheap optimization, do not call cursorX when not
1541 (paintPars): change signature
1544 (paintTextInset): adjust
1548 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1550 * lengthcommon.C: compilation fix: remove explicit array size from
1551 unit_name[] and friends
1553 2004-04-05 Angus Leeming <leeming@lyx.org>
1555 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1557 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1558 present only for the preferences dialog.
1559 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1561 2004-04-05 Angus Leeming <leeming@lyx.org>
1563 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1564 to enable the frontends to export changes to lyxrc correctly.
1566 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1568 2004-04-07 André Pönitz <poenitz@gmx.net>
1570 * cursor.[Ch] (selClear, adjust): remove math
1572 * cursor_slice.C: more agressive assert
1575 * BufferView_pimpl.C: rework mouse event dispatch
1582 2004-04-05 André Pönitz <poenitz@gmx.net>
1584 * cursor.[Ch] (valign, halign...): remove unneeded functions
1586 2004-04-05 Angus Leeming <leeming@lyx.org>
1588 * lyxlength.[Ch] (unit_name et al.): const-correct.
1590 2004-04-05 Angus Leeming <leeming@lyx.org>
1592 * BufferView_pimpl.C:
1601 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1603 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1605 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1607 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1609 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1610 * BufferView_pimpl.[Ch] (getStatus)
1611 * BufferView.[Ch] (getStatus): add
1612 * lyxfunc.C (getStatus): move lfuns handled in
1613 BufferView::dispatch to te function above
1614 * Cursor.C (setSelection): set selection() = true
1616 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1618 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1620 2004-03-31 Angus Leeming <leeming@lyx.org>
1622 * lyxfunc.C (dispatch): Fall through to the generic
1623 Dialogs::show("preamble").
1625 2004-03-31 Angus Leeming <leeming@lyx.org>
1627 * lyxfunc.C (dispatch): Fall through to the generic
1628 Dialogs::show("spellchecker").
1630 2004-03-31 Angus Leeming <leeming@lyx.org>
1632 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1635 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1640 * insetiterator.[Ch]:
1645 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1647 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1649 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1650 insets where we are putting the cursor.
1652 2004-03-31 Angus Leeming <leeming@lyx.org>
1655 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1657 * lyxrc.[Ch] (read, write): overloaded member functions taking
1658 a std::[io]stream arguments.
1660 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1662 2004-03-31 Angus Leeming <leeming@lyx.org>
1664 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1665 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1667 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1668 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1670 2004-03-31 Angus Leeming <leeming@lyx.org>
1672 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1673 the LFUN_ALL_INSETS_TOGGLE code.
1675 2004-03-30 Angus Leeming <leeming@lyx.org>
1677 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1678 has died. Fall through to the generic Dialogs::show("document").
1680 2004-03-30 Angus Leeming <leeming@lyx.org>
1683 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1684 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1686 * lyxfunc.C (getStatus, dispatch): define the actions for these
1687 lfuns. Little more than a cut and pste job from ControlDocument.C
1689 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1691 2004-03-30 Angus Leeming <leeming@lyx.org>
1694 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1695 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1697 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1698 open/closed state of ollapsable insets. Usage:
1700 all-inset-toggle <state> <name>, where
1701 <state> == "open" || "closed" || "toggle" and
1702 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1704 * lyxtext.h, text2.C (toggleInset): removed.
1706 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1707 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1708 now passes LFUN_INSET_TOGGLE to the found inset.
1710 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1711 is now invoked as "all-insets-toggle toggle branch".
1713 2004-03-30 Angus Leeming <leeming@lyx.org>
1717 * pariterator.[Ch]: added/corrected header blurb.
1719 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1721 * dociterator.[Ch]: add an inset_ member
1722 (backwardPos): implemented
1723 (backwardPos, forwardPos): use inset_ when the stack is empty.
1724 (doc_iterator_begin, doc_iterator_end): implemented
1725 * pariterator.[Ch]: adjust, add begin, end
1726 * insetiterator.[Ch]: adjust, add begin, end
1730 * BufferView_pimpl.C:
1731 * CutAndPaste.C: adjust
1733 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1735 * buffer.C: increment file format to 232.
1736 * LaTeXFeatures.C: add bibtopic package.
1737 * bufferparams.[Ch]: param \use_bibtopic.
1739 * lyxrc.[Ch]: add lyxrc bibtex_command
1740 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1742 * buffer.C: increment file format to 231.
1744 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1746 * dociterator.C: implement forwardPar
1747 * iterators.[Ch]: remove, replaced by
1748 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1750 * BufferView_pimpl.C:
1753 * bufferview_funcs.C:
1759 * Makefile.am: adjust
1761 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1763 * CutAndPaste.C (pasteSelection): fix 2 crashes
1764 (eraseSelection): fix a crash
1765 * paragraph_funcs.C: remove a warning
1767 2004-03-28 Angus Leeming <leeming@lyx.org>
1770 * LyXAction.C (init): new LFUN_PRINT.
1772 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1774 2004-03-27 Angus Leeming <leeming@lyx.org>
1777 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1779 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1781 2004-03-27 Angus Leeming <leeming@lyx.org>
1783 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1784 insetlist always contains non-null pointers to insets.
1786 2004-03-26 Angus Leeming <leeming@lyx.org>
1788 * src/BufferView_pimpl.C:
1789 * src/CutAndPaste.C:
1792 * src/output_plaintext.C:
1793 * src/outputparams.h:
1794 * src/paragraph_funcs.C:
1798 * src/frontends/controllers/ControlErrorList.C:
1799 * src/frontends/gtk/FileDialogPrivate.C:
1800 * src/frontends/gtk/GPainter.C:
1801 * src/frontends/gtk/GToolbar.C:
1802 * src/frontends/qt2/QRef.C:
1803 * src/mathed/math_scriptinset.C: squash compiler warnings.
1805 2004-03-26 Angus Leeming <leeming@lyx.org>
1807 * ispell.C (LaunchIspell::start):
1808 * lyx_cb.C (AutoSaveBuffer::start):
1809 invoke run(DontWait) rather than runNonBlocking().
1811 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1813 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1815 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * kbsequence.C (print): adjust
1819 * kbmap.C (printKeySym): rename and change signature
1820 (printKey): use LyXKeySym::print()
1822 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1824 * undo.C: add using std::advance to compile for stlport
1826 2004-03-24 Angus Leeming <leeming@lyx.org>
1828 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1829 it leads to a crash when no buffer is present.
1831 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 Martin Vermeer <martin.vermeer@hut.fi>
1834 * lyxfunc.C (dispatch):
1835 * bufferparams.C (readToken): use the new LColor::setColor
1837 * LColor.[Ch] (setColor): new version that takes two strings as
1838 argument and creates a new color entry if necessary
1840 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1842 * buffer.C (makeLaTeXFile): if the main latex file that is
1843 processed is usually a subdocument of some master, then pretend
1844 for a while that it is actually the master
1846 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1848 * buffer.C (getLabelList):
1849 (getBibkeyList): use getMasterBuffer()
1850 (getMasterBuffer): new method. Returns the main document in the
1851 case where one is using included documents.
1853 2004-03-25 André Pönitz <poenitz@gmx.net>
1857 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1859 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1861 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1862 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1864 * ParameterStruct.h: merge with ParagraphParameters
1866 * lyxtext.h: remove LyXText::parOffset() and getPar()
1868 * text3.C: Remove all 'manual' update calls. We do now one per user
1869 interaction which is completely sufficient.
1873 * BufferView_pimpl.C:
1874 * FontIterator.[Ch]:
1876 * ParagraphParameters.[Ch]:
1881 * cursor_slice.[Ch]:
1888 * output_docbook.[Ch]:
1889 * output_latex.[Ch]:
1890 * output_linuxdoc.[Ch]:
1891 * output_plaintext.[Ch]:
1893 * paragraph_funcs.[Ch]:
1894 * paragraph_pimpl.[Ch]:
1902 * frontends/controllers/ControlDocument.C:
1903 * frontends/controllers/ControlErrorList.C:
1904 * frontends/controllers/ControlSpellchecker.C:
1907 * insets/insetbase.h:
1908 * insets/insetbibitem.C:
1909 * insets/insetbox.C:
1910 * insets/insetbranch.C:
1911 * insets/insetcaption.C:
1912 * insets/insetcharstyle.C:
1913 * insets/insetcharstyle.h:
1914 * insets/insetcollapsable.C:
1915 * insets/insetcollapsable.h:
1916 * insets/insetert.C:
1917 * insets/insetfloat.C:
1918 * insets/insetfoot.C:
1919 * insets/insetmarginal.C:
1920 * insets/insetnote.C:
1921 * insets/insetoptarg.C:
1922 * insets/insettabular.C:
1923 * insets/insettext.C:
1924 * insets/insettext.h:
1925 * insets/insetwrap.C:
1926 * mathed/math_mboxinset.C:
1927 * mathed/math_nestinset.C:
1928 * mathed/math_scriptinset.C:
1929 * mathed/math_scriptinset.h:
1932 2004-03-24 Angus Leeming <leeming@lyx.org>
1934 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1935 deal with any child processes that have finished but are waiting to
1936 communicate this fact to the rest of LyX.
1938 2004-03-24 Angus Leeming <leeming@lyx.org>
1940 64-bit compile fixes.
1942 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1943 (c-tor): pass lyx::pos_types rather than ints.
1945 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1948 * text.C (Delete): compile fix.
1949 (getPar): ensure that function declaration is the same as that in
1952 2004-03-23 Angus Leeming <leeming@lyx.org>
1954 * ispell.C (LaunchIspell):
1955 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1956 a boost::shred_ptr rather than a std::auto_ptr.
1958 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1961 handle LFUN_FILE_INSERT_*
1963 * lyxrc.C (setDefaults, getDescription, output, read):
1964 * lyxrc.h: remove ps_command
1966 2004-03-22 Angus Leeming <leeming@lyx.org>
1968 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1969 Ensure that error_handler is processed once only and that all data
1970 is saved before attempting to output any warning messages.
1972 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1974 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1976 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1978 2004-03-19 André Pönitz <poenitz@gmx.net>
1980 * cursor.[Ch] (reset): take main text inset as argument
1982 * BufferView: adjust
1983 * BufferView_pimpl.C: adjust
1985 * paragraph.[Ch]: fix completely broken operator=()
1987 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * LColor.C (getFromLyXName): make sure that the color name is used
1992 2004-03-17 Angus Leeming <leeming@lyx.org>
1995 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1997 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1998 dialog and to kill a forked process.
2000 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2002 * text2.C (setCursorFromCoordinates): fix font problem
2004 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2006 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2007 bogus "rebuild cursor" code
2009 2004-03-11 André Pönitz <poenitz@gmx.net>
2011 * buffer.[Ch]: use InsetText instead of LyXText as container for
2014 * dociterator.[Ch]: drop the BufferView * member which is not needed
2015 anymore after the change to buffer.C
2017 * paragraph_funcs.C:
2021 * BufferView_pimpl.[Ch]:
2023 * cursor_slice.[Ch]: adjust
2025 * text3.C: fix bug in mathDispatch
2027 2004-03-08 André Pönitz <poenitz@gmx.net>
2029 * undo.[Ch]: use 'StableDocumentIterator' as base for
2032 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2035 * bufferparams.[Ch]: add jurabib support and param.
2037 * LaTeX.C: add FIXME/comment.
2039 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2041 * buffer.C: increment file format to 230.
2043 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2045 * cursor.C (dispatch): avoid infinite loops
2047 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2049 * rowpainter.C (paintSelection): fix x coordinates
2051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2053 * text.C (rowBreakPoint): fix breaking before displayed insets
2055 2004-03-01 André Pönitz <poenitz@gmx.net>
2057 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2059 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2063 * BufferView_pimpl.C:
2071 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2077 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2078 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2080 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2082 * Bidi.[Ch] (computeTables): const correctness
2083 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2084 fill_hfill, fill_label_hfill and x from Row
2085 * lyxtext.h: prepareToPrint returns a RowMetrics
2086 * rowPainter.C: adjust
2087 * text.C (prepareToPrint): use width, not textWidth. adjust
2088 (redoParagraphInternal, cursorX): adjust
2089 * text2.C (getColumnNearX): adjust
2090 (init): put a default value to the top LyXText::width
2092 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2094 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2096 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2098 * lyxtext.h: add FontIterator class
2100 * text.C (FontIterator, operator*, operator->, operator++): add
2101 (rowBreakPoint, setRowWidth): adjust (fixing a
2104 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * BufferView_pimpl.C (workAreaDispatch): allow also
2107 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2109 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2111 * text.C (rowBreakPoint): fix a bug showing with very large insets
2113 2004-02-25 André Pönitz <poenitz@gmx.net>
2116 * cursor.[Ch]: move some mathed specific code to mathed
2118 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2120 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2121 use_tempdir in preferences
2122 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2124 * lyx_main.C: ensure that tempdir is valid
2125 * lyxlex.h: correct typo
2126 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2127 * paragraph.[Ch] (isMultiLingual): make const
2128 * cursor.[Ch] (openable): make const
2130 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2132 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2134 2004-02-20 André Pönitz <poenitz@gmx.net>
2136 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2138 * cursor.[Ch]: prepare for localized getStatus()
2144 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2146 2004-02-20 André Pönitz <poenitz@gmx.net>
2148 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2150 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2152 * text2.C (setCursorFromCoordinates): switch to absolute coords
2154 (cursorDown): adjust
2155 * text3.C (dispatch): adjust
2157 2004-02-16 André Pönitz <poenitz@gmx.net>
2159 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2162 * cursor_slice.[Ch]: remove unneeded acessor function
2164 * lyxtext.h: rename rtl() to isRTL()
2172 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2174 * rowpainter.C (paintSelection): coord fix
2176 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2178 * Spacing.C: compile fix
2180 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2182 * cursor.C (dispatch): restore current_ before returning
2184 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2186 * text2.C (cursorUp, cursorDown): fix coords
2189 2004-02-12 André Pönitz <poenitz@gmx.net>
2194 * text3.C: add LCursor & parameter to most cursor movement functions
2195 remove usage of LyXText::cursorRow() and cursorPar()
2197 * cursor.[Ch]: add textRow() needed members
2200 * BufferView_pimpl.C:
2203 * BufferView_pimpl.C: adjust
2205 2004-02-11 André Pönitz <poenitz@gmx.net>
2209 * BufferView_pimpl.C: shift undo/redo handling
2211 * cursor.[Ch]: fix mathed crash
2214 * lyxtext.h: move selectionAsText to LCursor
2222 * rowpainter.C: fix excessive drawing
2224 2004-02-06 André Pönitz <poenitz@gmx.net>
2227 * BufferView_pimpl.[Ch]:
2228 * text3.C: move some text specific LFUN handling
2230 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2232 * text3.C (checkInsetHit): adjust coords
2233 * text2.C (getColumnNearX): adjust coords
2234 (edit): adjust coords
2235 * text.C (getRowNearY): add two asserts
2237 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2240 * format.C: add using std::distance to compile on gcc 2.95/stlport
2242 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2244 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2246 2004-02-04 André Pönitz <poenitz@gmx.net>
2248 * BufferView.[Ch] (insertInset):
2249 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2254 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2256 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2257 on the default clause of the switch
2258 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2259 wasn't catched by LCursor::dispatch
2261 2004-02-03 André Pönitz <poenitz@gmx.net>
2264 * cursor.[Ch]: some additional asserts
2266 * undo.[Ch]: remove LyXText dependency in interface
2270 * lyxtext.h (firstPar, lastPar): remove dead functions
2275 * paragraph.[Ch]: adjust
2277 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2279 * lyxfind.C (find): fix argument order in call to ::find
2281 2004-02-02 André Pönitz <poenitz@gmx.net>
2283 * cursor.[Ch]: remove direct access to anchor
2285 * text.C: remove findText() hack
2287 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2289 * iterators.[Ch] (lockPath): remove in favour of...
2290 * BufferView.[Ch] (setCursor): this addition
2291 * BufferView.C (putSelectionAt): adjust
2292 * undo.C (performUndoOrRedo): adjust
2293 * lyxfunc.C (dispatch): adjust
2295 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2297 * iterators.C (lockPath): add a missing slice
2298 * undo.C (performUndoOrRedo): remove redundant positioning code
2300 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2302 * vc-backend.C (scanMaster): ";" -> ';'
2304 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2306 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2307 std::binary_function
2309 * lyxtextclass.C (compare_name): rename to...
2310 (LayoutNamesEqual): ...this
2312 * lyxlex_pimpl.C (compare_tags): inherit from
2313 std::binary_function, put back into anon namespace
2315 * lyxfind.C (MatchString): inherig from std::binary_function
2316 (findChange): use empty() istead of !size()
2318 * format.C (FormatNamesEqual): new functor
2325 * converter.C (compare_Converter): rename to...
2326 (ConverterEqual): ...this, and fixup a bit.
2327 (getConverter): use it, and make function const
2328 (getNumber): use it, and make function const
2332 * bufferlist.C: add using boost::bind
2334 * MenuBackend.C (MenuNamesEqual): new functor
2335 (hasMenu): use it, and make function const
2336 (hasSubmenu): use nested bind to get rid of compare_memfun.
2338 2004-01-30 André Pönitz <poenitz@gmx.net>
2340 * BufferView_pimpl.C:
2343 * cursor_slice.[Ch]:
2346 * paragraph_funcs.C:
2347 * paragraph_funcs.h:
2351 * text3.C: move some of the edit(x,y) handling to the insets
2352 some coordinate changes.
2354 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2356 * text.C: add using statements for std::advance and std::distance
2358 * paragraph.C: add using statement for std::distance
2360 * lyxfind.C: add using statement for std::advance
2362 * cursor.C (region): remove std:: from swap
2363 (openable): use nucleus in stead of operator->
2365 * BufferView.C: add using statements for std::distance and std::swap
2367 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2369 * iterators.C: Remove the pimple, move the needed structures to
2370 the header file. Create accessor for the positions stack.
2371 (asPosIterator): remove function
2373 * PosIterator.C (PosIterator): move constructors to top of file
2374 (PosIterator): reimplement the constructor taking a ParIterator in
2376 (setFrom): new function
2377 (operator!=): inline it
2379 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2381 * lyxfind.C (replaceAll): use std::advance
2383 * iterators.h: inherit from std::iterator.
2385 * PosIterator.C (advance, distance): remove
2386 * PosIterator.h: interit from std::iterator.
2388 2004-01-26 André Pönitz <poenitz@gmx.net>
2391 * BufferView_pimpl.[Ch]:
2395 * bufferview_funcs.C:
2405 * output_linuxdoc.C:
2406 * output_plaintext.C:
2408 * paragraph_funcs.[Ch]:
2409 * paragraph_pimpl.[Ch]:
2415 * text3.C: more IU: dumps most of the rest of the mathcursor
2416 implementation into cursor.[Ch]; "globalize" a bit of it.
2418 2004-01-25 Angus Leeming <leeming@lyx.org>
2420 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2422 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2424 * LaTeXFeatures.h: add nice_ and nice() const
2425 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2427 2004-01-20 André Pönitz <poenitz@gmx.net>
2430 * BufferView_pimpl.C:
2432 * bufferview_funcs.C:
2434 * cursor_slice.[Ch]:
2445 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2446 LCursor and mathcursor parts to LCursor and InsetBase.
2448 2004-01-15 André Pönitz <poenitz@gmx.net>
2450 * cursor_slice.[Ch]: add a few covienience functions
2452 * funcrequest.[Ch]: remove BufferView * member
2454 * BufferView_pimpl.C:
2461 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2463 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2465 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2466 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2468 2004-01-13 André Pönitz <poenitz@gmx.net>
2471 * lyxtext.h: hide cursor and selection anchor behind accessor function
2474 * BufferView_pimpl.[Ch]:
2476 * bufferview_funcs.C:
2486 * cursor_slice.[Ch]: some integer type changes for inset unification
2488 * lyxcursor.[hC]: remove, it's CursorSlice now.
2491 * BufferView_pimpl.[Ch]:
2492 * bufferview_funcs.C:
2498 * textcursor.[Ch]: adjust
2500 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2502 * text2.C (undoSpan): add and use
2503 * text.C (breakParagraph): use undoSpan (fix bug 578)
2506 2004-01-08 Angus Leeming <leeming@lyx.org>
2508 * BufferView_pimpl.C (MenuInsertLyXFile):
2509 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2510 * lyxfunc.C (menuNew, open, doImport):
2511 FileFilterList change to the FileDialog open and save functions.
2513 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2515 * ShareContainer.h: make isEqual and isUnique adaptable
2517 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2519 2004-01-07 Angus Leeming <leeming@lyx.org>
2522 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2524 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2526 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2527 functions replacing find, replace and replaceAll.
2529 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2530 LFUN_WORDFIND(FORWARD|BACKWARD).
2532 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2534 * text.C (breakParagraph): remove an outdated #warning
2536 2004-01-07 André Pönitz <poenitz@gmx.net>
2538 * lyxfind.C: somewhat clearer logic
2540 * text.C: prevent crash in cursorX on unitialized row cache
2542 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2544 * lyxcursor.[Ch] (operator>): add
2545 * textcursor.C (selStart, selEnd): use std::min and std::max
2547 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2549 * Chktex.C: include boost/format.hpp
2551 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2553 * InsetList.C: replace functor MathcIt with adaptable functor
2555 (insetIterator): modify accordingly
2557 * BranchList.h: move the BranchNamesEqual functor here from...
2558 * BranchList.C: ... to here
2560 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2562 (add): replace a finding loop with std::find_if.
2564 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2566 * output_docbook.C: moving LatexParam functionality into
2569 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2571 * buffer.C: increment format to 229.
2573 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2576 * lyx_sty.[Ch]: remove minipageindent_def
2582 * text3.C: remove LFUN_INSET_MINIPAGE
2584 2003-12-28 Angus Leeming <leeming@lyx.org>
2586 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2588 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2590 * text2.C (setParagraph): fix off-by-one crash
2592 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2594 * output_docbook.C: header stuff for AGU
2596 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2598 * text2.C (redoCursor): remove
2601 * BufferView_pimpl.C: remove calls to redoCursor and
2602 setCursor(cursor.par(), cursor.pos()) all around
2604 2003-12-15 Angus Leeming <leeming@lyx.org>
2606 * buffer.C: up the format to 228.
2608 2003-12-15 André Pönitz <poenitz@gmx.net>
2610 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2615 * BufferView_pimpl.C:
2624 2003-12-15 Angus Leeming <leeming@lyx.org>
2626 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2627 than getFromGUIName to manipulate the color.
2629 2003-12-14 Angus Leeming <leeming@lyx.org>
2631 * BranchList.[Ch]: minimize the API.
2632 (Branch::getBranch, getColor): now return a 'const &'.
2633 (Branch::setSelected) now returns a bool set to true if the
2634 selection status changes.
2635 (BranchList::clear, size, getColor, setColor, setSelected,
2636 allBranches, allSelected, separator): removed.
2637 (BranchList::find): new functions, returning the Branch with
2639 (BranchList::add, remove): return a bool indicating that
2640 the operation was successful.
2642 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2643 new InsetBranch::isBranchSlected member function.
2645 * LColor.[Ch]: mimimize the API.
2646 (fill): renamed as addColor and made private.
2647 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2648 versions of these functions taking a string arg have been removed.
2650 * bufferparams.C (readToken):
2651 * lyxfunc.C (dispatch):
2652 * lyxrc.C (read): changes due to the altered BranchList and
2655 * factory.C (createInset, readInset): changes due to altered
2658 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2661 * lyxfunc.C: remove insetminipage. "minipage-insert"
2662 now produces a frameless minipage box inset.
2664 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2666 * textcursor.[Ch] (selStart,selEnd): add new methods
2667 remove selection::start, end, use LyXCursor::operator<
2668 * lyxcursor.[Ch] (operator<): add
2669 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2670 * BufferView.[Ch] (unsetXSel): add
2671 * text2.C (clearSelection): use unsetXSel,adjust
2674 * rowpainter.C: adjust
2675 * bufferview_funcs.C (put_selection_at): adjust
2677 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2679 * BufferView_pimpl.C: small coord. correction
2681 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2683 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2684 dragging over the splash screen.
2686 2003-12-11 Angus Leeming <leeming@lyx.org>
2688 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2689 as it is now handled in LyXText::dispatch.
2691 * text3.C (doInsertInset): remove a level of nesting.
2693 2003-12-11 Angus Leeming <leeming@lyx.org>
2695 * factory.C (createInset): changes due to the changed interface to
2696 InsetCommandMailer::string2params.
2698 2003-12-10 Angus Leeming <leeming@lyx.org>
2700 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2701 'dialog-show-new-inset <inset name>'
2703 2003-12-10 Angus Leeming <leeming@lyx.org>
2705 * buffer.C: up the format to 227.
2707 * factory.C: the box inset is now identified simply by 'Box'.
2709 2003-12-10 Angus Leeming <leeming@lyx.org>
2711 * buffer.C: up the format to 226.
2713 * factory.C: the note inset is now identified simply by 'Note'.
2715 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2717 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2718 when a pit is enough. Standarize a couple of loops.
2720 2003-12-05 Angus Leeming <leeming@lyx.org>
2722 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2723 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2724 data to the re-worked "log" dialog.
2726 2003-12-03 André Pönitz <poenitz@gmx.net>
2732 * paragraph_funcs.C:
2734 * text2.C: use Inset::getText instead of Inset::getParagraph
2736 2003-12-03 André Pönitz <poenitz@gmx.net>
2740 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2741 InsetText::read() as LyXText::read()
2743 2003-12-02 Angus Leeming <leeming@lyx.org>
2745 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2746 type. Add a comment in the implementation that the function uses
2747 the stream's bad() function rather than fail() as the std::streams
2750 2003-12-02 André Pönitz <poenitz@gmx.net>
2752 * lyxlex.[Ch]: make interface more similar to std::stream
2754 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2756 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2758 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2760 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2762 * vspace.[Ch]: remove VSpace::NONE
2764 2003-12-01 André Pönitz <poenitz@gmx.net>
2767 * lyxtext.h: move ParagraphList member to LyXText
2768 rename LyXText::ownerParagraphs to LyXText::paragraph
2771 * bufferview_funcs.C:
2781 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2783 * undo.C: fix cursor positioning
2785 2003-12-01 John Levon <levon@movementarian.org>
2787 * BufferView_pimpl.C: fix a crash on exit with
2790 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2792 * BranchList.C: fix setSelected() method.
2794 2003-11-28 André Pönitz <poenitz@gmx.net>
2796 * ParagraphParameters.[Ch]:
2797 * ParameterStruct.h: remove space above/below from Paragraph to
2800 * BufferView_pimpl.C:
2806 * paragraph_funcs.C:
2812 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2814 * factory.C: Syntax change for CharStyles
2816 2003-11-28 André Pönitz <poenitz@gmx.net>
2821 * buffer.[Ch]: move LyXText member
2823 2003-11-28 André Pönitz <poenitz@gmx.net>
2825 * BufferView.[Ch]: make LyXText * text a private member
2827 * BufferView_pimpl.C:
2838 * output_plaintext.C: cleanup
2840 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2843 * lyxtextclass.[Ch]: parametrize SGML document header
2845 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2848 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2851 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2853 * text2.C (setFont): rework using PosIterator (no more recursive)
2854 (setCharFont): no more needed
2855 (setLayout): no more selection cursors fiddling (done by redoCursor)
2856 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2857 destroy remaining ones)
2859 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2861 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2863 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2866 * text3.C: adjust + re-allow multi par depth changes
2867 * textcursor.C: simplify a bit
2869 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2875 * src/output_docbook.C:
2876 * src/output_latex.C:
2881 * src/text2.C: Introducing a number of tags parametrizing various
2882 XML formats that we may want to support
2884 2003-11-25 André Pönitz <poenitz@gmx.net>
2886 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2888 * lyxtext.h (leftMargin/rightMargin): simplify interface
2895 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2897 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2898 master file to any child files. Fixes bug 546.
2900 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2902 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2904 2003-11-24 André Pönitz <poenitz@gmx.net>
2906 * rowpainter.C: simplification
2908 * text2.C (updateCounters): remove call to redoParagraph on
2909 changed labels as this is far too expensive.
2911 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2913 * converter.C (convert): fix a crash: this function gets
2914 called with buffer == 0 from importer code.
2916 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2918 * text3.C (cursorPrevious): make sure that we do not compare
2919 iterators form different containers.
2922 * rowpainter.C (paintSelection): make sure that we do not compare
2923 iterators from different containers.
2925 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2926 iterators from different ParagraphList containers.
2929 * text2.C (LyXText): change order of initialization slightly
2930 (operator=): new function. copy all variables except cache_par_
2931 (moveUp): make sure that we do not compare iterators from
2932 different ParagraphList constainers.
2935 * text.C (firstPar): new function
2936 (lastPar): new function
2937 (endPar): new function
2939 * lyxtext.h: move things around and group public functions, public
2940 variables, private functions, private variables
2942 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2944 * factory.C: change call to InsetERT constructor to avoid
2945 additional invocation of method status
2946 * text2.C (toggleInset): remove redundant update() call
2947 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2948 instead of a Bufferview pointer
2950 2003-11-21 André Pönitz <poenitz@gmx.net>
2952 * rowpainter.C: simplification
2954 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2956 * text3.C (dispatch): make possible to extend a word/row selection
2959 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2961 * lyxtext.h: x0_,y0_ -> xo_,yo_
2962 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2963 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2964 * rowpainter.C (paintRows): paint full paragraphs
2966 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2968 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2971 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2973 * lyxtext.h: add x0_, y0_
2974 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2975 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2977 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2979 * text2.C (setCursorIntern): move the x_target update here *
2980 * text3.C: change some bv() to true/false in calls to
2981 cursorUp/Down/Right/Left
2982 * cursor.C: use helper function.
2984 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2986 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2987 * paragraph_funcs.[Ch]: correct comment
2988 * rowpainter.C: do not paint selections away from bv->cursor()
2989 Fix a long standing selection painting bug.
2990 * text3.C: generalize mouse-selection code to LyXTexts other that
2992 * textcursor.C: do not use y coords if we can use par offsets
2994 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2996 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2997 cursor position after e.g. inset insert)
2999 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3001 * lyxfind.C (replace): adjust to locking removal + some
3004 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3006 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3009 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3012 * output_docbook.C: XML sanitation: new layout
3013 parameters InnerTag and CommandDepth
3015 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3017 * BufferView_pimpl.C:
3019 * text3.C: Fix the insertion and modification of button-style
3022 2003-11-13 André Pönitz <poenitz@gmx.net>
3024 * InsetList.[Ch]: remove deleteLyXText
3026 * paragraph.[Ch]: cache beginOfBody position
3031 * text3.C: remove superfluous update() calls
3035 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3037 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3038 * BufferView.C (fitLockedInsetCursor): remove
3039 * cursor.[Ch] (getDim): add
3040 * text.C (getRowNearY): add faster version
3041 * text3.C: remove some update calls
3043 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3055 * text3.C: The Character Style /XML short element patch.
3057 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3060 * factory.C: Small step to solving 'unable to insert some insets'
3063 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3065 * cursor.[Ch] (updatePos): new function for updating the y
3066 position of the tip inset
3067 * bufferview_funcs.C (put_selection_at):
3068 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3070 2003-11-11 André Pönitz <poenitz@gmx.net>
3072 * text.C: remove big comment on invalid Paragraph pointers as it is
3075 2003-11-11 André Pönitz <poenitz@gmx.net>
3077 * text_funcs.[Ch]: merge with ...
3085 * Makefile.am: remove text_funcs.[Ch]
3087 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3089 * cursor.C (getPos): return absolute cached y coord
3091 * BufferView_pimpl.C (fitCursor): new simplistic code
3092 (workAreaDispatch): add a fitCursor call
3094 2003-11-10 André Pönitz <poenitz@gmx.net>
3097 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3099 2003-11-10 André Pönitz <poenitz@gmx.net>
3101 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3102 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3103 indicate that the cursor needs to leave an inset
3105 * lyxtext.h: remove inset locking
3107 * cursor.[Ch]: re-implement functionality provided by inset locking
3110 * BufferView_pimpl.[Ch]:
3112 * bufferview_funcs.[Ch]:
3124 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3126 * PosIterator.[Ch]: replace the stack with a vector, add inset
3128 * iterators.[C]: adjust
3130 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3132 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3134 * paragraph_funcs.C (readParToken): put the correct id in the
3135 error item, not the id of the top paragraph
3137 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3139 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3140 * bufferview_funcs.C (put_selection_at): use the above
3142 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3144 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3146 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3148 * output_linuxdoc.h:
3149 * output_plaintext.h:
3151 * output_docbook.h: add #include statements
3153 2003-11-05 José Matos <jamatos@lyx.org>
3155 * output_docbook.[Ch]:
3156 * output_latex.[Ch]:
3157 * output_linuxdoc.[Ch]:
3158 * output_plaintext.[Ch]: New files for output formats.
3159 * output.[Ch]: New file for helper functions.
3162 * paragraph_funcs.[Ch]: output functions moved to new files.
3164 * outputparams.h: rename of latexrunparams.h
3172 * paragraph_funcs.[Ch]:
3173 * paragraph_pimpl.[Ch]:
3174 * tabular.[Ch]: rename ascii to plaintext
3175 and LatexRunParams to OutputParams.
3177 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3179 * iterators.[Ch] (text): require bv argument
3180 * undo.C (recordUndo):
3181 * lyxfunc.C (dispatch):
3182 * bufferview_funcs.C (put_selection_at): adjust
3184 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3186 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3188 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3190 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3193 2003-11-04 André Pönitz <poenitz@gmx.net>
3195 * cursor.[Ch]: restructure
3198 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3200 * iterators.[Ch] (asCursor): remove
3202 * lfuns.h: remove LFUN_INSET_EDIT
3208 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3210 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3212 * lyxfind.[Ch]: complete overhaul
3213 * BufferView_pimpl.C:
3215 * paragraph.[Ch] (insert): add
3217 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3221 * text.C: remove dead spellcheck code
3223 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3225 * dispatchresult.h: add a val setter
3227 * cursor.C (dispatch): use a tempvar for data_[i]
3229 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3231 * PosIterator.[Ch]: compile fix
3233 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3235 * text.C (cursorPar): deactivate the cursor cache
3237 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3239 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3241 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * text3.C (dispatch): adjust for new DisptchResult semantics.
3245 * lyxfunc.C (dispatch): handle update when return from
3246 Cursor::dispatch, adjust for new DispatchResult semantics.
3248 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3249 DispatchResult(true) mean to not update. Add class functions for
3250 setting dispatched and update, as well as reading.
3252 * cursor.C (dispatch): don't handle update here
3254 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3257 * trans_mgr.C: adjust
3259 * paragraph_funcs.C (readParToken): exception safety
3261 * lyxvc.h: store the vcs pointer in a scoped_ptr
3264 * lyxsocket.C (serverCallback): exception safety
3266 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3268 * ispell.C (clone): make it return a auto_ptr
3270 * factory.C (createInset): exception safety
3271 (readInset): exception safety
3273 * bufferlist.C (newBuffer): exception safety
3275 * Thesaurus.C (Thesaurus): use initialization for aik_
3277 * MenuBackend.C (expandToc): exception safety.
3279 2003-11-03 André Pönitz <poenitz@gmx.net>
3283 * bufferview_funcs.C: remove getInsetFromId()
3286 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3292 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3294 * PosIterator.C (distance, advance): new
3295 * bufferview_funcs.[Ch] (put_selection_at): new
3296 * iterators.[Ch] (lockPath): new
3298 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3300 * iterators.[Ch] (asPosIterator): added
3301 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3302 * PosIterator.[Ch]: added
3304 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * cursor.C (dispatch):
3309 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3311 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3312 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3313 contructor, add a class function dispatched. Remove operator>=
3315 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * debug.C: only use the default constructor for debugstream
3320 * main.C (main): include debug.h and setup the lyxerr streambuf
3323 2003-10-31 José Matos <jamatos@lyx.org>
3325 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3327 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3328 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3329 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3330 * paragraph_pimpl.C (simpleTeXSpecialC):
3331 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3332 add LatexRunParams argument.
3334 * exporter.C (Export): change call accordingly.
3336 * latexrunparams.h: add new member to take care of the other backends.
3337 2003-10-30 José Matos <jamatos@lyx.org>
3339 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3340 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3341 factorise code for paragraph output.
3343 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3346 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * text3.C (dispatch):
3349 * lyxfunc.C (dispatch):
3350 * cursor.C (dispatch):
3351 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3353 * dispatchresult.h: make the dispatch_result_t ctor explicit
3355 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3358 * buffer.C: small refactoring of docbook stuff
3360 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3368 operator dispatch_result_t, and operators for == != and >=
3370 * cursor.C (dispatch): adjust for operator dispatch_result_t
3371 removal. comment out call to update
3373 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3383 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3386 * dispatchresult.h: new file, DispatchResult broken out of
3389 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3391 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3393 * text.C (rowBreakPoint): put a hack inside #if 0
3395 2003-10-28 André Pönitz <poenitz@gmx.net>
3399 * paragraph_funcs.C:
3402 * text2.C: general cleanup (lots of small stuff)
3404 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3406 * text2.C (cursorEnd): simple fix to the "end key goes to one
3407 before the end on last row" bug
3409 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3411 * text.C (backspace): fix the "zombie characters"
3413 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3415 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3417 2003-10-27 André Pönitz <poenitz@gmx.net>
3419 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3421 * factory.C: handle new InsetPagebreak, InsetLine
3423 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3424 and move handling into new InsetPagebreak, InsetLine
3426 * BufferView_pimpl.C:
3428 * ParagraphParameters.C:
3429 * ParameterStruct.h:
3434 * paragraph_funcs.C:
3435 * paragraph_pimpl.C:
3441 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3444 * lyxrow_funcs.[Ch]:
3450 * text3.C: remove lastPos uses in favour of Row::endpos
3452 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3454 * undo.C (performUndoOrRedo): fix two crashes by setting a
3455 cursor by hand and reordering some calls. Use bv->lockInset instead
3456 of inset->edit because the latter loses cursor information
3458 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3460 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3462 (rowBreakPoint): fix width. change point to point + 1.
3463 Add a missing check.
3465 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3468 * lyxfunc.C: fix (at least partly) the problems
3469 with the Nav menu and headers inside branch insets
3472 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3474 * paragraph.C (getChar): add strong asserts
3476 * lyxrow_funcs.C (lastPos): remove hideous hack
3478 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3479 (fill): adjust to that (avoid an infinite loop)
3481 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3483 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3485 2003-10-23 André Pönitz <poenitz@gmx.net>
3487 * RowList_fwd.h: change list<> to vector<> to gain speed
3488 after suggestion from Alfredo
3490 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3492 * lyxtext.h: move the bidi stuff from here...
3495 * Bidi.[Ch]: ... to here
3497 2003-10-23 André Pönitz <poenitz@gmx.net>
3500 * text.C (isLastRow, isFirstRow): new functions
3502 * paragraph.h: new width cache member
3504 * rowpainter.C: replace RowList::iterator with Row & where possible
3506 * lyxfunc.C: replace several view()->text with a single call
3508 * toc.C: fix 'unused' warning
3510 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3513 when woring with stream::pos_type
3514 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3516 2003-10-22 André Pönitz <poenitz@gmx.net>
3519 * text.C: use Row & instead of RowList::iterator
3521 * lyxrow.h: rename end() to endpos()
3527 2003-10-22 Angus Leeming <leeming@lyx.org>
3529 * buffer.[Ch] (fully_loaded): new member function, returning true
3530 only when the file has been loaded fully.
3531 Used to prevent the premature generation of previews and by the
3532 citation inset to prevent computation of the natbib-style label.
3534 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3535 templates are all set up.
3537 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3539 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3541 * text.C: fixed an "oops" in the "is a bit silly"
3544 2003-10-21 André Pönitz <poenitz@gmx.net>
3546 * FuncStatus.[Ch]: small stuff, whitespace
3548 * lyxfont.[Ch]: operator<<() for debug reasons
3552 * lyxtext.h: whitespace, spelling
3554 * paragraph.C: naming of variables
3557 * text2.C: small stuff
3560 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3562 * text.C: (1) finish off the inset display() work;
3563 (2) fix the "is a bit silly" bug (accessing char
3566 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3568 * text.C: re-introduce display() for insets, fixing the
3569 various bugs (stretch of line above, math inset
3572 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3574 * text.C (rightMargin): remove spurious semicolon
3576 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3579 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3581 * text3.C: fix one crash due to wrong cursor def
3583 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * vc-backend.C (scanMaster): make the regex static
3587 * LaTeX.C (scanAuxFile): make the regexs static
3589 * text3.C (doInsertInset, dispatch, dispatch):
3590 * text2.C (cursorUp, cursorDown):
3591 * text.C (selectNextWordToSpellcheck):
3592 * BufferView_pimpl.C (dispatch):
3593 * lyxfunc.C (dispatch): localDispatch -> dispatch
3595 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3597 * lyxsocket.C: include <cerrno>
3599 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * lyxfunc.C (dispatch): remove textcache stuff
3603 * bufferlist.C (release): remove textcache stuff
3606 * TextCache.C: delete file
3607 * TextCache.h: delete file
3609 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3611 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3612 delete of the bv_->text.
3613 (resizeCurrentBuffer): remove texcache stuff
3614 (workAreaResize): ditto
3616 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3621 2003-10-16 André Pönitz <poenitz@gmx.net>
3628 * text3.C: speed up by storing y positions per paragraph plus per-row
3629 offset instead of having a 'full' y position in the row.
3631 2003-10-15 André Pönitz <poenitz@gmx.net>
3635 * undo.[Ch]: make undo aware of inner insets
3637 2003-10-14 Angus Leeming <leeming@lyx.org>
3639 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3640 static member functions LyX::ref() and LyX::cref.
3641 (lastfiles): new accessor functions for the new lastfiles_ member var.
3642 (addLyXView, views_): add a new LyXView to the list of views_.
3643 (updateInset): loop over all LyXViews to call their own updateInset
3644 member function, returning a pointer to the Buffer owning the inset.
3646 * BufferView_pimpl.C (loadLyXFile):
3647 * MenuBackend.C (expandLastfiles):
3648 * bufferlist.C (MenuWrite, QuitLyX):
3649 lastfiles is no longer a global variable.
3650 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3652 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3653 static function. Access through LyX::cref().emergencyCleanup().
3655 2003-10-14 André Pönitz <poenitz@gmx.net>
3657 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3659 * undo.[Ch]: restoring part of 'undo in insets'
3662 * undo_funcs.[Ch]: merge with undo.[Ch]
3664 * tabular.C: small cleansing stuff
3666 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3668 * paragraph_funcs.C (readParToken): report unknown insets as error
3669 boxes. Use the outer paragraph as location (also for unknown
3672 * factory.C (readInset): do not abort on reading an unknown inset.
3673 Eat it and return 0.
3675 2003-10-13 Angus Leeming <leeming@lyx.org>
3677 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3679 * lyxrc.C: displayTranslator is now a function,
3680 declared in GraphicsTypes.h.
3682 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3684 * format.C: new placeholder $$a to pass the socket address.
3686 * bufferlist.[Ch]: new function getBufferFromTmp.
3688 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3689 files in the temporary dir.
3691 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3693 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3695 * Makefile.am: add lyxsocket.[Ch].
3697 * lyx_main.C (error_handler): handle SIGPIPE.
3699 2003-10-13 André Pönitz <poenitz@gmx.net>
3701 * BufferView_pimpl.C:
3706 * undo_funcs.[Ch]: use paroffset_type instead of
3707 ParagraphList::iterators to prevent multiple conversion
3708 (and get a more robust interface)
3710 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3714 * text3.C (dispatch): ditto
3716 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3719 move the onlyfile, use onlyfile instead of foundfile in a couple
3722 * DepTable.C (update): flush the error stream a bit more
3724 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * lyxserver.C (callback): adjust
3728 * lyxfunc.C (getStatus): add a missing brace in commented code
3729 (ensureBufferClean): reindent
3730 (dispatch): delete version taking a string
3732 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * LaTeX.C (deplog): move found file handlig from here...
3735 (handleFoundFile): .. to new function here.
3736 (deplog): make sure to discover several files mentioned on the
3739 2003-10-10 André Pönitz <poenitz@gmx.net>
3746 * text3.C: fix some of the tabular crashes
3748 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3750 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3752 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3754 2003-10-09 André Pönitz <poenitz@gmx.net>
3756 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3759 * BufferView_pimpl.C:
3760 * bufferview_funcs.C:
3771 * undo_funcs.C: adjust
3773 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * text2.C (incrementItemDepth): new function, use a backtracking
3776 algorithm to discover the correct item depth.
3777 (resetEnumCounterIfNeeded): new function, use a backtracking
3778 algorithm to discover if counter reset is needed.
3779 (setCounter): use them. Simplify a bit. Add different labels for
3780 different item depths for itemize.
3782 * paragraph.C (Paragraph): remove initialization of enumdepth
3785 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3786 enumerate and itemize. Change the type of itemdepth to signed char.
3788 2003-10-08 André Pönitz <poenitz@gmx.net>
3790 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3795 * tabular.[Ch]: fix crash after 'row-insert'
3797 2003-10-08 Angus Leeming <leeming@lyx.org>
3799 Fix doxygen warnings.
3801 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3802 Remove CutAndPaste:: prefix from header file declaration.
3804 * LColor.h (fill): remove LColor:: prefix from declaration.
3806 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3807 use lyx::depth_type rather than Paragraph::depth_type so that
3808 header file and .C file match.
3810 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3812 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3813 * aspell.C: \file aspell_local.C -> \file aspell.C
3814 * gettext.C: \file gettext.C -> \file src/gettext.C
3815 * gettext.h: \file gettext.h -> \file src/gettext.h
3816 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3817 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3818 * text.C: \file text.C -> \file src/text.C
3820 * toc.C: move comment so that doxygen is not confused.
3822 2003-10-07 Angus Leeming <leeming@lyx.org>
3824 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3826 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3829 * aspell_local.h: add forgotten std::string's.
3831 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3838 * text3.C: The Box patch. Fancybox support, minipage, parbox
3840 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3846 * ParagraphParameters.h:
3856 * lyxtextclasslist.h:
3859 * paragraph_pimpl.C:
3860 * textcursor.h: add <string> and other small fixes to make Lars'
3861 std::string patch compile with STLport.
3863 2003-10-06 Angus Leeming <leeming@lyx.org>
3865 * LColor.h: Add missing #include <string>.
3867 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * All most all file in all subdirs: Make <string> be the prefered
3870 way of getting to std::string, add using declarations.
3872 2003-10-06 André Pönitz <poenitz@gmx.net>
3874 * metricsinfo.C: initialize LyXFont before changing attribute.
3875 (fixes the 'math in \emph is upright' bug)
3877 2003-10-06 André Pönitz <poenitz@gmx.net>
3879 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3881 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3884 * paragraph_pimpl.C: Small fixes to build using STLport
3886 2003-10-02 André Pönitz <poenitz@gmx.net>
3889 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3891 2003-10-01 André Pönitz <poenitz@gmx.net>
3893 * factory.C: assert early
3895 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * lyx_main.C: remove the global debug object
3899 * debug.h: adjust for new debugstream
3901 * debug.C: adjust for new debugstream and keep the global debug
3904 2003-09-22 Angus Leeming <leeming@lyx.org>
3906 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3907 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3908 an incomplete class LyXFont.
3910 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3912 * factory.C: bug fix in branches
3914 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * lyxfunc.C (processKeySym): adjust
3918 (dispatch): change arg name from ev to func, adjust
3919 (sendDispatchMessage): ditto
3921 * lyx_main.C (defaultKeyBindings): adjust keybindings
3922 (deadKeyBindings): ditto
3924 * kbsequence.C (addkey): return a FuncRequest
3926 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3928 * kbmap.C (bind): take a FuncRequest as arg, adjust
3931 (defkey): change to take a FuncRequest as arg, adjust
3932 (findbinding): take a FuncRequest as arg, adjust.
3934 * funcrequest.h (operator=): added
3936 * funcrequest.C (FuncRequest): default kb_action changed from
3937 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3939 * buffer.C (dispatch): simplify
3940 (dispatch): adjust to take a FuncRequest as arg, adjust
3942 * boost.C (assertion_failed): change assertion message slightly
3944 * ToolbarBackend.C (read): simplify
3946 * MenuBackend.C (binding): adjust call to findbinding, add a
3947 message if no binding is found.
3949 (expandToc): correct by adding a empty FuncRequest
3951 * LyXAction.C: include <boost/assert.hpp>
3952 (isPseudoAction): delete function
3953 (LookupFunc): change name to...
3954 (lookupFunc): this. change return type to FuncRequest.
3955 (getActionName): take kb_action as arg, simplify
3956 (funcHasFlag): add an assert, simplify.
3958 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * toc.C (action): return a FuncRequest, simplify
3962 * lyxfunc.C (processKeySym): adjust
3963 (getStatus): delete version that takes an int.
3965 (dispatch): delete version that takes action as int
3967 (sendDispatchMessage): simplify and adjust
3969 * funcrequest.C (getArg): take unsigned int as arg
3971 * ToolbarBackend.C (read): adjust
3972 (add): delete version that takes func as a string.
3973 (getIton): take a FuncRequest as arg
3975 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3978 * MenuBackend.C (MenuItem): add a new construct that only takes a
3979 Kind, simplify the constructor use for submenus.
3981 (expandLastfiles): adjust
3982 (expandDocuments): adjust
3983 (expandFormats): adjust
3984 (expandFloatListInsert): adjust
3985 (expandFloatInsert): adjust
3986 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3988 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3989 Remove class variables lyx_pseudo_map and lyx_arg_map
3991 * LyXAction.C (searchActionArg): delete function
3992 (getPseudoAction): delete function
3993 (retrieveActionArg): delete function
3994 (LookupFunc): make it return kb_action, simplify.
3995 (getActionName): simplify
3997 * factory.C (createInset): fix new bug
3999 2003-09-19 Angus Leeming <leeming@lyx.org>
4001 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4002 masterFilename_ parameter in the include inset.
4004 * factory.C (createInset): changes due to the changes to InsetInclude.
4006 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4008 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4010 2003-09-18 Angus Leeming <leeming@lyx.org>
4013 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4014 Inset::fillWithBibKeys.
4015 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4017 2003-09-18 Angus Leeming <leeming@lyx.org>
4019 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4021 (ctor): pass and store a 'Buffer const &'
4022 (buffer): new member function.
4024 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4025 '*this' to the LaTeXFeatures ctor.
4027 2003-09-18 Angus Leeming <leeming@lyx.org>
4033 * text.C: rename EnumLColor as LColor_color.
4035 2003-09-18 Angus Leeming <leeming@lyx.org>
4037 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4038 remove #include "insets/insetbase.h" from cursor.h.
4040 2003-09-18 Angus Leeming <leeming@lyx.org>
4042 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4043 InsetOld_code to remove #include "inset.h".
4045 * iterators.C: add #include "insets/inset.h"
4047 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4049 * BufferView.C: remove more locking stuff that apparently doesn't
4050 do anything sensible.
4052 2003-09-16 André Pönitz <poenitz@gmx.net>
4055 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4058 2003-09-16 Angus Leeming <leeming@lyx.org>
4060 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4062 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4065 * paragraph.h: remove #include "lyxfont.h". Forward declare
4068 2003-09-16 Angus Leeming <leeming@lyx.org>
4070 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4071 of support/textutils.h.
4072 (isWord): move the contents of support/textutils.h's IsWordChar here.
4078 * text2.C: add #include "paragraph.h".
4081 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4083 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * LaTeX.C: use namespace alias for lyx::support::os
4091 2003-09-16 Angus Leeming <leeming@lyx.org>
4094 * bufferview_funcs.C:
4097 * paragraph_pimpl.C:
4099 * text.C: add #include "LColor.h".
4101 2003-09-16 Angus Leeming <leeming@lyx.org>
4103 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4104 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4106 Store the FontBits::color variable as an int rather than as an
4107 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4110 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4111 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4112 string calls together.
4114 * lyxrc.C: add #include "LColor.h".
4116 2003-09-15 Angus Leeming <leeming@lyx.org>
4118 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4121 2003-09-15 Angus Leeming <leeming@lyx.org>
4123 * LColor.h: add an EnumLColor wrapper for LColor::color.
4125 * lyxfont.[Ch] (color, setColor, realColor):
4126 * lyxtext.h, text.C (backgroundColor):
4127 pass EnumLColor args to/from the functions, rather than LColor::color
4131 * lyxtext.h: forward declare EnumLColor.
4133 * lyx_main.C: add #include "LColor.h".
4135 2003-09-15 Angus Leeming <leeming@lyx.org>
4137 * .cvsignore: add lyx-gtk.
4139 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4144 * ParagraphParameters.C
4148 * bufferview_funcs.C
4158 * vc-backend.C: remove usage of STRCONV
4160 2003-09-15 Angus Leeming <leeming@lyx.org>
4162 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4163 explicitly define the color passed to the painter.
4165 2003-09-15 Angus Leeming <leeming@lyx.org>
4167 * bufferparams.C (BufferParams): reorder member initializers to avoid
4170 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4172 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4173 * text.C (updateRowPositions): remove an unusual nop
4175 2003-09-12 André Pönitz <poenitz@gmx.net>
4177 * BufferView_pimpl.C:
4186 * Counters.[Ch]: finish the 'automatic counters' job
4188 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4190 * aspell.C: include <boost/assert.cpp> (compile fix)
4192 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4194 * boost.C (assertion_failed): use lyx::support::abort instead of
4197 2003-09-10 Angus Leeming <leeming@lyx.org>
4199 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4200 with their _fwd progeny.
4202 2003-09-09 Angus Leeming <leeming@lyx.org>
4204 134 files throughtout the source tree: replace 'using namespace abc;'
4205 directives with the appropriate 'using abc::xyz;' declarations.
4207 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4209 * boost.C (emergencyCleanup): moved here from LAssert.c
4210 (assertion_failed): new function, called by BOOST_ASSERT
4212 * several files: change Assert to BOOST_ASSERT
4214 2003-09-09 Angus Leeming <leeming@lyx.org>
4216 * buffer.[Ch]: Add an Impl class and move Buffer's member
4217 variables into it. As a result move several header files out of
4220 Add header files to lots of .C files all over the tree as a result.
4222 2003-09-09 Angus Leeming <leeming@lyx.org>
4224 * buffer.[Ch]: make Buffer's member variables private. Add
4227 Lots of changes all over the tree as a result.
4229 2003-09-08 Angus Leeming <leeming@lyx.org>
4231 * graph.C: #include <config.h>.
4233 2003-09-08 Angus Leeming <leeming@lyx.org>
4237 * BufferView_pimpl.C:
4266 * toc.C: remove redundant using directives.
4268 2003-09-07 Angus Leeming <leeming@lyx.org>
4270 * LaTeXFeatures.h: remove #include "support/types.h".
4271 * ToolbarBackend.h: remove #include <algorithm>.
4272 * changes.h: remove #include <ctime>.
4273 * debug.h: remove #include <iosfwd>.
4274 * graph.h: remove #include "support/std_string.h".
4275 * lyx_main.h: remove #include <csignal>.
4276 * lyxlex_pimpl.h: remove #include <fstream>.
4277 * sgml.h: remove #include <algorithm>, <utility>.
4278 * toc.h: remove #include "support/std_ostream.h".
4279 Add #include <iosfwd>.
4281 2003-09-07 Angus Leeming <leeming@lyx.org>
4283 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4285 * converter.h: forward declare LatexRunParams.
4286 * encoding.h: remove #include "lyxrc.h".
4287 * lyxtext.h: remove #include "LColor.h".
4288 * lyxtextclass.h: remove #include "support/types.h".
4289 * trans.h: remove #include "tex-accent.h".
4290 * trans_mgr.h: remove #include "tex-accent.h".
4291 * insets/inset.h: remove #include "support/types.h", <vector>.
4292 * insets/insetcollapsable.h: remove #include "LColor.h".
4293 * insets/insetinclude.h: remove #include "dimension.h".
4294 * insets/insetlatexaccent.h: remove #include "dimension.h".
4295 * insets/insetoptarg.h:: remove #include "insettext.h".
4296 * insets/insettext.h: remove #include "dimension.h",
4297 <boost/shared_ptr.hpp>
4299 * insets/renderers.h: add #include "dimension.h".
4300 * insets/updatableinset.h: add #include "support/types.h".
4302 * many .C files: Associated changes.
4304 2003-09-06 Angus Leeming <leeming@lyx.org>
4306 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4307 one, inside testInvariant.
4309 * PrinterParams.C: new file.
4310 * PrinterParams.[Ch]: move the function bodies out of line.
4312 2003-09-06 Angus Leeming <leeming@lyx.org>
4314 * ParagraphParameters.h: forward declare ParameterStruct rather than
4315 including its header file.
4316 (depth): moved out-of-line.
4318 2003-09-06 Angus Leeming <leeming@lyx.org>
4320 * BufferView_pimpl.h:
4323 * lyxfunc.h: forward declare LyXKeySym rather than
4324 #include "frontends/LyXKeySym.h".
4326 * BufferView_pimpl.C:
4329 * lyxfunc.C: associated changes.
4331 2003-09-06 Angus Leeming <leeming@lyx.org>
4333 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4334 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
4347 * bufferview_funcs.C:
4348 * BufferView_pimpl.C:
4353 * ParagraphParameters.C:
4358 * frontends/controllers/ControlDocument.C:
4359 * insets/insetcaption.C: rearrange the #includes into some sort of
4362 * buffer.h: remove #includes ErrorList.h, undo.h
4364 2003-09-06 Angus Leeming <leeming@lyx.org>
4366 * support/types.h: add a 'depth_type' typedef, used to store the
4367 nesting depth of a paragraph.
4370 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4371 defining explicitly.
4374 * paragraph_funcs.h:
4375 * ParagraphParameters.h:
4376 * sgml.h: use lyx::depth_type rather than Paragraph or
4377 ParameterStruct's depth_type.
4380 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4383 * BufferView_pimpl.C:
4385 * ParagraphParameters.C:
4388 * bufferview_funcs.C:
4395 * frontends/LyXView.C:
4396 * frontends/controllers/ControlDocument.C:
4397 * frontends/controllers/ControlErrorList.C:
4398 * insets/insetbibitem.C:
4399 * insets/insetbranch.C:
4400 * insets/insetcaption.C:
4401 * insets/insetcollapsable.C:
4402 * insets/insetenv.C:
4403 * insets/insetert.C:
4404 * insets/insetfloat.C:
4405 * insets/insetfoot.C:
4406 * insets/insetfootlike.C:
4407 * insets/insetnewline.C:
4408 * insets/insetquotes.C:
4409 * insets/insettabular.C:
4410 * insets/insettext.C:
4411 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4413 * frontends/controllers/ControlChanges.C: #include "changes.h".
4415 2003-09-06 Angus Leeming <leeming@lyx.org>
4417 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4418 than #including paragraph.h.
4421 * RowList.h: deleted. Superfluous.
4431 * insets/insettext.h: use ParagraphList_fwd.h rather than
4434 * paragraph.h: don't forward declare ParagraphList.
4437 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4438 rather than ParagraphList.h. paragraph.h is still needed for the
4439 Paragraph::depth_type parameters.
4441 * textcursor.h: enable it to compile stand-alone in light of the
4444 * bufferview_funcs.C:
4456 * frontends/controllers/ControlParagraph.C:
4457 * frontends/controllers/ControlTabular.C:
4458 * insets/insetmarginal.C:
4459 * insets/insetminipage.C:
4460 * insets/insetnote.C:
4461 * insets/insetoptarg.C: add header files needed to compile again.
4463 2003-09-06 Angus Leeming <leeming@lyx.org>
4465 * RowList_fwd.h: new file, forward-declaring Row rather than
4466 #including lyxrow.h.
4471 * insets/insettext.h: use it instead of RowList.h
4473 * bufferview_funcs.C:
4480 * text3.C: #include "RowList.h".
4482 2003-09-05 Angus Leeming <leeming@lyx.org>
4484 * factory.C (createInset):
4485 * vspace.C (c-tor): replace sscanf call with an istringstream.
4486 * ispell.C: re-add missing HP/UX headers.
4487 * lyxserver.C: re-add missing os2 headers.
4489 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4498 * text3.C: re-add missing system headers, needed for 2.95.2.
4500 2003-09-05 Angus Leeming <leeming@lyx.org>
4502 Changes most place everywhere due to the removal of using directives
4503 from support/std_sstream.h.
4505 2003-09-05 Angus Leeming <leeming@lyx.org>
4507 Replace LString.h with support/std_string.h,
4508 Lsstream.h with support/std_sstream.h,
4509 support/LIstream.h with support/std_istream.h,
4510 support/LOstream.h with support/std_ostream.h.
4512 Changes resulting throughout the tree.
4514 2003-09-05 Angus Leeming <leeming@lyx.org>
4516 * sgml.h: ensure that the header file can be compiled stand-alone.
4517 * *.C: strip out redundant #includes. (320 in total.)
4519 2003-09-04 Angus Leeming <leeming@lyx.org>
4521 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4522 here (from getPackages).
4524 * debug.[Ch]: add a new EXTERNAL tag.
4526 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4528 * text2.C (cursorEnd): simplify
4530 (getColumnNearX): adjust
4532 * text.C (computeBidiTables): adjust
4535 * rowpainter.C (paintChars): adjust
4536 (paintSelection): adjust
4537 (paintChangeBar): adjust
4540 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4542 (numberOfSeparators): adjust
4544 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4550 * text3.C: Restricts the mouse click functionality
4551 of insets like bibtex, include, toc and floatlist to the visible
4552 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4553 up the dialogs. Cursor has to be in front of the inset (i.e.
4554 start of row) for this to function.
4556 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4558 * bufferview_funcs.C (currentState): output row information
4560 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4562 * bufferview_funcs.C (currentState): output paragraph position
4564 2003-09-04 Angus Leeming <leeming@lyx.org>
4566 * FloatList.h: move out #include "Floating.h".
4567 * LaTeX.h: move out #include "DepTable.h".
4568 * LyXAction.h: move out #include "funcrequest.h".
4569 * buffer.h: move out #include "author.h", "iterators.h".
4570 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4571 * lyx_main.h: move out #include "errorlist.h".
4572 * lyxfunc.h: move out #include "FuncStatus.h".
4573 * lyxtext: move out #include "lyxcursor.h".
4574 * paragraph_pimpl.h: move out #include "counters.h".
4576 2003-09-03 Angus Leeming <leeming@lyx.org>
4578 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4579 preamble_snippets list, enabling us to add snippets to the preamble
4580 only if the snippet was not there already.
4582 2003-09-04 Angus Leeming <leeming@lyx.org>
4584 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4586 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4591 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4593 * BranchList.C: point fix, earlier forgotten
4595 2003-09-02 Angus Leeming <leeming@lyx.org>
4597 * box.C (contains): renamed from 'contained' after a fantastic
4600 2003-09-02 John Levon <levon@movementarian.org>
4606 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4608 2003-09-02 John Levon <levon@movementarian.org>
4610 * text2.C: simplification of cursorEnd(), including partial
4613 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * buffer.C (readFile): add a space
4617 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4619 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4621 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * buffer.C (readFile): new function, take a filename and a
4624 ParagraphList::iterator
4626 (readFile): adjust, make it private. don't use setStream, make
4627 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4628 always contain the filename.
4630 * BufferView.C (insertLyXFile): simplify and make it work for
4633 2003-08-30 John Levon <levon@movementarian.org>
4635 * Makefile.am: fix dist (from Kayvan)
4637 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * most files: change to use const Buffer refs
4641 2003-08-27 André Pönitz <poenitz@gmx.net>
4643 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4644 on top of ownerPar().
4646 2003-08-27 John Levon <levon@movementarian.org>
4648 * funcrequest.C: properly initialise POD members
4650 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4652 * lyxtext.h (top_y): move top_y from here
4657 * BufferView_pimpl.[Ch]: to here
4658 * frontends/screen.C:
4659 * insets/insettabular.C:
4660 * insets/insettext.C: adjust
4661 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4663 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4666 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4668 2003-08-26 André Pönitz <poenitz@gmx.net>
4670 * paragraph_func.[Ch] (outerPar): new function
4673 * paragraph_funcs.C:
4674 * paragraph_funcs.h:
4675 * paragraph_pimpl.C:
4676 * text2.C: remove Inset::par_owner
4678 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4683 * text2.C: eliminates the needFullRow/display() stuff
4684 altogether, putting the logic in metrics/draw in the insets.
4686 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4688 * text2.C (redoParagraphInternal, redoParagraphs):
4689 * text.C (redoParagraph): add a call to updateRowPositions at the
4690 end of each 'metrics-like' call. Remove all others.
4691 (getRow): remove the 'y-computing' version.
4692 (getRowNearY): do not compute nor return the real y. Solve the
4693 'y < 0' problem and simplify.
4695 2003-08-22 Angus Leeming <leeming@lyx.org>
4697 * *.[Ch]: clean-up of licence and author blurbs.
4698 Also move config.h out of a few .h files and into a few .C files.
4700 2003-08-22 André Pönitz <poenitz@gmx.net>
4702 * lyxrow.[Ch]: add x_ and *fill_ members
4707 * text2.C: adjust/remove prepareToPrint() calls
4709 2003-08-22 André Pönitz <poenitz@gmx.net>
4711 * lyxrow.[Ch]: add end_ member
4713 * lyxrow_funcs.C: use LyXRow::end_
4715 * lyxtext.h (singleWidth): add LyXFont parameter
4718 * text2.C: adjust LyXText::singleWidth() calls
4720 * text.C (redoParagraph): simplify row breaking logic
4723 2003-08-19 André Pönitz <poenitz@gmx.net>
4725 * funcrequest.C: initialize button_ member
4728 * rowpainter.[Ch]: interface consolidation
4730 2003-08-18 André Pönitz <poenitz@gmx.net>
4733 * BufferView_pimpl.C:
4735 * paragraph_funcs.C:
4737 * text3.C: remove LyXScreen::draw() and fitCursor calls
4739 * BranchList.h: remove spurious semicolons
4741 * MenuBackend.C: fix branchlist related crash
4743 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4751 * bufferparams.[Ch]:
4755 * text3.C: implements the 'branch inset'
4756 idea. This allows the output of various versions of a document
4757 from a single source version, selectively outputing or suppressing
4758 output of parts of the text.
4759 This implementation contains a 'branch list editor' in a separate
4760 tab of the document settings dialog. Branches are user definable
4761 and have a "display colour" to distinguish them on-screen.
4763 ColorHandler was somewhat cleaned up.
4764 (1) make possible a dynamically growing LColor list by allowing
4765 the graphic context cache to grow along (vector);
4766 (2) eliminate an IMHO unnecessary step in colour allocation.
4768 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4770 * BufferView_pimpl.C: compile fix
4772 2003-08-15 André Pönitz <poenitz@gmx.net>
4774 * rowpainter.C: remove extra metrics calls
4776 * lyxtext.h: merge the two constructors into a single one,
4777 pass reference to owner's par list
4779 * BufferView_pimpl.C:
4783 2003-08-15 André Pönitz <poenitz@gmx.net>
4785 * lyxrow_funcs.[Ch]:
4788 * paragraph_funcs.C:
4793 * text_funcs.C: split LyXText::rowlist_ into individual
4794 Paragraph::rows_ chunks
4797 * BufferView_pimpl.[Ch]:
4800 * text3.C: remove toggleSelection()
4802 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4804 * bufferlist.C: beautify two alerts (shorter text of buttons)
4805 * buffer.C: Remove redundant ' ' from message
4807 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4808 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4809 rename VALIGN_CENTER to VALIGN_MIDDLE
4811 2003-08-11 André Pönitz <poenitz@gmx.net>
4813 * lyxtext.h (getPar):
4814 * text.C: new function
4816 2003-08-11 André Pönitz <poenitz@gmx.net>
4819 * tracer.[Ch]: remove unneeded files
4821 * InsetList.[Ch]: remove resizeInsetsLyXText()
4826 * text3.C: merge insertParagraphs() and appendParagraph()
4827 remove breakAgain(), update()
4829 * BufferView_pimpl.[Ch]:
4830 * bufferview_funcs.[Ch]:
4834 * tabular.C: adjust after text & InsetList changes.
4836 2003-08-08 André Pönitz <poenitz@gmx.net>
4838 * text.C (insertChar, backspace): replace rowlist fiddling
4839 with rebreak of full par
4842 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4843 checkParagraph, updateInset): removed
4845 2003-08-07 André Pönitz <poenitz@gmx.net>
4848 * text3.C: merge some LFUN handlers, remove dead code
4850 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4852 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4854 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4856 * text2.C (DEPM): fix part of bug 1255 and 1256
4858 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4860 * BufferView_pimpl.C (workAreaDispatch): change to use
4861 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4862 that are no mouse related.
4864 2003-08-05 André Pönitz <poenitz@gmx.net>
4867 * BufferView_pimpl.[Ch]:
4868 * bufferview_funcs.C:
4870 * text3.C: rip out "deep update"
4872 * textcursor.[Ch] (last_sel_cursor): remove unused member
4874 2003-08-04 André Pönitz <poenitz@gmx.net>
4877 * BufferView_pimpl.[Ch]:
4878 * ParagraphParameters.C:
4879 * bufferview_funcs.C:
4885 * text3.C: replace "complicated" BufferView::update(...) calls with
4888 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4890 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4892 * Makefile.am (lyx_SOURCES): add paper.h
4894 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4896 * Makefile.am: move things around so that both lyx-qt and
4897 lyx-xforms can be built (according to --with-frontend). Then lyx
4898 is a symbolic link to lyx-[firstfrontend]
4900 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4902 * Always use std::endl with lyxerr
4904 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4906 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4908 2003-08-01 André Pönitz <poenitz@gmx.net>
4911 * BufferView_pimpl.[Ch]:
4913 * text3.C: merge BufferView::repaint() and BufferView::update()
4915 2003-08-01 José Matos <jamatos@lyx.org>
4917 * buffer.[Ch]: file_format is no longer a buffer data element.
4919 2003-08-01 André Pönitz <poenitz@gmx.net>
4924 * text2.C: make redoParagraph more independent of current cursor
4926 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4928 * text2.C: remove unneeded members
4930 2003-07-30 André Pönitz <poenitz@gmx.net>
4932 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4934 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4935 create a single function...
4937 * paragraph_funcs.C (moveItem): ... here.
4940 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4942 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4944 * LColor.[Ch]: Add comment and greyedout logical colors.
4946 2003-07-30 André Pönitz <poenitz@gmx.net>
4948 * tabular.C: don't use Assert too heavily. This crashes where it
4951 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4953 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4954 is disabled (bug 1232)
4956 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4958 * factory.C: limited 'arg' scope
4960 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4962 * factory.C: fixed Note submenu issues
4964 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4966 * factory.C: submenu for Note/Comment/Greyedout
4968 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4971 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4973 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4976 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4977 greyedout. Patch provided by Jürgen Spitzmüller.
4979 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4981 * kbmap.C (read): fix error message when reading bind files
4983 2003-07-29 Angus Leeming <leeming@lyx.org>
4985 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4986 certainly does not do what it purports to do. I am doing it, and
4987 us, a favour by killing it.
4989 2003-07-28 José Matos <jamatos@lyx.org>
4991 * buffer.C (readBody, do_writeFile):
4992 * paragraph.C(readParagraph): \end_document replaces \the_end.
4994 2003-07-29 André Pönitz <poenitz@gmx.net>
4997 * BufferView_pimpl.[Ch]:
5001 * textcursor.[Ch]: remove toggleToggle & Co
5003 2003-07-28 José Matos <jamatos@fep.up.pt>
5005 * buffer.C (readParagraph):
5006 * params_func (readParToken, readParagraph):
5007 * paragraph.C (write): \layout -> \begin_layout.
5009 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * lyxlex_pimpl.C (setFile): clean up slightly.
5013 * bufferparams.h: add compressed var
5015 * buffer_funcs.C (readFile): adjust for LyXLex change
5016 (newFile): ditto + simplify
5018 * buffer.C (writeFile): handle writing of compressed files
5020 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5021 Check if the file is compressed and set a bufferparm if so.
5023 * Makefile.am (lyx_LDADD): remove explicit -lz
5025 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5027 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5028 makeDocBookFile): put the real LyX version in the first line of
5032 * version.C.in: remove lyx_docversion
5034 * tabular.C (write_attribute): add a template-based version to
5035 write enums properly
5037 2003-07-28 André Pönitz <poenitz@gmx.net>
5042 * text3.C: use doubles again for x-coordinates. They are needed.
5044 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * messages.C (getLocaleDir): use lyx_localedir()
5048 * lyxlex_pimpl.C (setFile): compress stuff
5050 * buffer.C (writeFile): add some compression stuff
5051 (do_writeFile): new func, dont call expliti close... will this
5054 * Makefile.am (lyx_LDADD): add -lz
5056 2003-07-28 José Matos <jamatos@fep.up.pt>
5058 * buffer.C: increment file format.
5059 * paragraph_funcs (readParagraph, readParToken):
5060 * paragraph.C (readParagraph): add \end_layout.
5062 2003-07-27 Angus Leeming <leeming@lyx.org>
5064 * Makefile.am: remove special casing for configure-time setting of
5065 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5067 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5068 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5070 2003-07-26 André Pönitz <poenitz@gmx.net>
5072 * paragraph_func.[Ch]:
5073 * paragraph.C (realizeFont): inline it whereever it is used
5078 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5081 2003-07-26 André Pönitz <poenitz@gmx.net>
5085 * text2.C: get rid of LyXText::need_break_row
5087 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * toc.[Ch]: put namespace toc inside namespace lyx
5091 * MenuBackend.C (expandToc2): adjust for lyx::toc
5094 * lyxfunc.C (dispatch): adjust for lyx::find
5096 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5097 lyx::find instead. Reorganize a bit.
5098 (LyXReplace): rename to replace
5099 (LyXFind): rename to find
5101 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5104 2003-07-26 André Pönitz <poenitz@gmx.net>
5106 * text.C (setHeightOfRow): restrict scope of temporary variable
5108 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5109 code (never has been used?)
5111 2003-07-27 Asger Alstrup <alstrup@local>
5113 * text.C (fill): Optimise algorithm to exploit that we can reuse
5114 the LyXFont for many characters.
5115 (setHeightOfRow): Same thing.
5116 (rowBreakPoint): Same thing.
5118 2003-07-26 Asger Alstrup <alstrup@local>
5120 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5122 * text.C (singleWidth): Spurious font copying in hot-spot
5123 singleWidth avoided. Reorder tests for arabic for efficiency.
5125 * text.C (fill): handle empty paragraphs better.
5127 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5130 * encoding.h: add includes
5132 * lyxrc.C: remove reading of bind files
5134 * lyx_main.C (init): setup bindings and menus only if we have a
5137 * kbmap.C (read): new method. Do the actual reading of bind
5140 * converter.C (dvipdfm_options):
5143 (output): adapt PAPER_* enums.
5145 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5147 * bufferparams.h: remove paper-related enums from there
5149 * paper.h: New file. A trivial header file to hold paper-related
5150 enums. It should later expand to contain many paper-related
5153 * lyxrc.C: declare extern displayTranslator
5155 2003-07-27 José Matos <jamatos@fep.up.pt>
5157 * tabular.[Ch] (linuxdoc): add support for tables and figures
5160 2003-07-27 José Matos <jamatos@fep.up.pt>
5162 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5163 consistency in both functions.
5164 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5166 2003-07-26 Asger Alstrup <alstrup@local>
5168 * rowpainter.C (paintRows): Change algorithm to work directly on
5169 the insets rather than asking every character in the document
5170 whether its an inset.
5172 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5174 * buffer.C (openFileWrite): factorize some code
5176 2003-07-26 Angus Leeming <leeming@lyx.org>
5179 * lyx_main.[Ch]: replace occurances of system_tempdir with
5182 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * rename Inset to InsetOld
5186 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5188 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5189 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5190 which I think is a bit clearer. EDIT is gone, since it was
5191 premature optimisation, and broken for mathed anyway.
5192 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5193 with cursor positioning in insets as well (math insets still do not
5194 work, but that's a different story anyway.) It mysteriously
5195 crashes sometimes with undo in the first paragraph, but I'm fairly
5196 confident that this is a compiler bug.
5198 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * paragraph.C (Paragraph): adjust for new clone return type
5202 (copyIntoMinibuffer): ditto
5204 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5206 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5207 by not having a special case, and always doing a full rebreak of
5208 the document after undo.
5210 2003-07-23 Angus Leeming <leeming@lyx.org>
5212 * factory.C (createInset): InsetExternal::setParams now takes a
5215 2003-07-23 Angus Leeming <leeming@lyx.org>
5217 * factory.C (createInset): changed interface to the external and
5218 graphics mailers' string2params functions.
5220 2003-07-23 Angus Leeming <leeming@lyx.org>
5222 * factory.C (createInset): pass a
5223 Buffer const * parameter to InsetExternalMailer's string2params.
5225 2003-07-22 John Levon <levon@movementarian.org>
5227 * Thesaurus.h: include the right aiksaurus header
5229 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5231 * MenuBackend.C (expand): check menu shortcuts unconditionally
5233 2003-07-21 Angus Leeming <leeming@lyx.org>
5235 * factory.C (createInset): pass a
5236 buffer_path parameter to InsetGraphicsMailer's string2params.
5238 2003-07-21 Angus Leeming <leeming@lyx.org>
5240 * BufferView_pimpl.C (buffer):
5243 * lyxfunc.C (dispatch):
5244 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5245 rather than the grfx shortcut.
5247 2003-07-21 André Pönitz <poenitz@gmx.net>
5249 * rowpainter.C: remove unused variables
5252 * tabular_funcs.h: move to tabular.C
5253 * Makefile.am: adjust
5255 * tabular.[Ch]: basic optical cleaning
5257 * author.h: pass references, not values
5259 2003-07-18 André Pönitz <poenitz@gmx.net>
5267 * text3.C: two-phase drawing for InsetText and InsetTabular
5268 some float -> int changes.
5270 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5272 * lyx_main.C: fix the fix
5274 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5276 * lyx_main.C: fix a crash in batch mode if no files specified
5279 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5281 * format.[Ch] (papersize): moved to BufferParams
5282 * converter.[Ch] (dvips_options): moved to BufferParams
5283 (dvipdfm_options): moved to anon namespace
5284 * bufferparams.[Ch]: added above functions.
5286 2003-07-17 André Pönitz <poenitz@gmx.net>
5290 * text2.C: don't call inset->update() anymore
5292 * metricsinfo.[Ch]: add convenience constructor
5294 2003-07-16 André Pönitz <poenitz@gmx.net>
5299 * text2.C: replace the LyXCursor::irow_ member with
5300 on-demand computation of the value
5302 2003-07-16 John Levon <levon@movementarian.org>
5304 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5306 2003-07-15 André Pönitz <poenitz@gmx.net>
5309 * text2.C: remove no more needed refresh_row
5311 2003-07-15 André Pönitz <poenitz@gmx.net>
5316 * text3.C: refresh_status tristate -> need_update bool
5318 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5320 * lyxtext.h (init): remove reinit argument (act as if always true)
5321 * text2.C: adjust to that
5323 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5325 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5326 * text3.C: use it to delete selections in some cases
5327 (bugs 441, 673, 702, 954).
5329 2003-07-14 André Pönitz <poenitz@gmx.net>
5331 * rowpainter.[Ch]: reduce interface
5333 2003-07-14 André Pönitz <poenitz@gmx.net>
5335 * BufferView_pimpl.C:
5336 * text2.C: adjust after removing unused BufferView * argument
5338 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5340 * text2.C (init): fix a crash fired on resize
5342 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5344 * buffer.[Ch]: added new closing signal
5345 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5346 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5347 BufferView::Pimpl via the closing the signal
5349 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5351 * buffer.[Ch]: take out all bv-related from buffer
5353 * BufferView_pimpl.[Ch]: connect to new signals
5354 * CutAndPaste.C: removed useless asserts
5355 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5358 * lyxfunc.C: moved view-related funciontality from vc here
5359 * paragraph.C: removed outdated comments
5362 2003-07-10 André Pönitz <poenitz@gmx.net>
5364 * BufferView_pimpl.C:
5368 * text2.C: remove InsetText::InnerCache, clean up consequences
5370 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5372 * ispell.C: fix two typos in error messages
5374 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5376 * Extend Note inset to other forms of annotation like Comment
5377 and Greyedout. Right button click gives dialog.
5379 Files modified or added (+):
5383 * ControlNote.[Ch] +
5385 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5386 frontends/controllers
5390 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5392 * aspell.C: add missing namespace lyx::support
5394 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5396 * BufferView.[Ch] (newFile): Add
5397 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5398 * LaTeX.[Ch] (message): added this signal and use it
5399 * buffer.[Ch] (busy, message): added these signals and use them
5400 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5404 * importer.C: use buffer signals instead of direct bv calling
5405 * lyx_cb.[Ch] (ShowMessage): removed
5408 * paragraph_funcs.C:
5409 * text2.C: use buffer signals
5411 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * introduce namespace lyx::graphics
5415 2003-07-02 André Pönitz <poenitz@gmx.net>
5417 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5419 2003-07-01 André Pönitz <poenitz@gmx.net>
5426 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5427 text*.C to text_func.C
5429 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * introduce namespace lyx::support
5433 2003-06-30 André Pönitz <poenitz@gmx.net>
5438 * text.C: re-enable --with-included-string
5440 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * textcursor.C: add <config.h>
5444 * text.C (getWord): remove const from word_location arg
5446 * lyxvc.C (getLogFile): fix const type order
5448 * lyxtext.h: remove const from word_location arg, add arg name
5450 * lyxlayout.h: currect type on labeltype.
5452 * importer.C: correct \file
5454 * converter.C (intToFormat): use std:: on ret val, ws changes
5456 * bufferlist.h: correct \file
5458 * buffer.C (makeLinuxDocFile): fix const type order
5459 (makeDocBookFile): ditto
5460 (fillWithBibKeys): use std:: on stdlib args.
5462 * CutAndPaste.C: fix authors.
5463 (availableSelections): use std:: on return vector
5465 2003-06-27 André Pönitz <poenitz@gmx.net>
5467 * BufferView_pimpl.C:
5468 * bufferview_funcs.C:
5476 * text3.C: remove LyXCursor::row_ member
5479 * text.C: rename fullRebreak() to partialRebreak() and implement
5480 a fullRebreak() that really bereks fully
5482 * textcursor.h: new struct for cursor-related data
5484 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5486 * lyx_main.C (LyX): get full path of document loaded on the
5489 2003-06-26 André Pönitz <poenitz@gmx.net>
5491 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5492 remove unused/broken operator>,<,>=.
5494 * text.C: remove only use of broken operator<= in an Assert().
5496 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5498 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5499 moved errorlist_.clear to showErrorList
5501 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5503 * converter.C (scanLog, runLaTeX):
5504 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5505 move the bv->showErrorList call to the callers
5506 * lyxfunc.C: i.e. here...
5508 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5509 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5510 namespace, the second to...
5511 * buffer_funcs (BufferFormat, parseErrors): added
5512 * errorlist.C (ErrorList(TeXErrors const &)): removed
5514 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5516 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5518 2003-06-24 "Garst R. Reese" <reese@isn.net>
5522 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5524 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5526 * version.C.in: change docversion to 1.4
5528 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5530 * buffer.C: fix a bug just introduced
5532 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5534 * buffer.[Ch]: added the parseError signal and use it, removed
5536 * BufferView.[Ch] (addError): moved to ...
5537 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5538 to the Buffer::parseError signal to catch (guess what) parse errors
5539 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5541 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5543 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5544 ability to create a buffer and to return an existing one from
5545 the list. Moved these functions to...
5546 * buffer_funcs.[Ch]: added
5547 * BufferView.[Ch] (loadLyXFile): added
5548 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5549 job removed from bufferlist::loadLyXFile.
5550 * buffer.C (setReadOnly): make it work without view
5551 (i.e added an if (users))
5553 2003-06-19 Angus Leeming <leeming@lyx.org>
5556 * LyXAction.C (init):
5557 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5558 with LFUN_DIALOG_SHOW <name> <data>.
5560 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5562 * CutAndPaste.C (availableSelections): small compilation fix for
5563 ancient (gcc 2.9x) compilers
5565 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5567 * text3.C (cursorNext): add tmp var
5569 * text2.C (updateCounters): for function calling out of for clause
5570 (replaceSelectionWithString): ditto
5571 (insertStringAsParagraphs): ditto
5572 (getColumnNearX): add tmp var
5573 (setCursorFromCoordinates): add tmp var
5574 (cursorDownParagraph): add tmp var
5575 (deleteEmptyParagraphMechanism): add tmp var
5577 * text.C (insertChar): add tmp var
5579 * rowpainter.C (paintDepthBar): add tmp var
5581 * CutAndPaste.C (availableSelections): potentially check all
5582 paragraphs in a cut to fill the shown strings.
5584 2003-06-18 André Pönitz <poenitz@gmx.net>
5586 * kbmap.[Ch]: use vector<> instead of list<>
5588 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5590 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5591 pasteSelection with index
5593 * text2.C (pasteSelection): modify, call pasteSelection with index
5595 * paragraph.C (asString): reimplement version with no interval to
5596 call the one with interval.
5598 * lyxtext.h: add index arg to pasteSelection
5600 * MenuBackend.C (MenuItem): handle PasteRecent
5601 (Menu::read::Menutags): add md_pasterecent
5603 (expandPasteRecent): new function
5606 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5608 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5610 (availableSelections): new function
5612 2003-06-17 Angus Leeming <leeming@lyx.org>
5614 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5616 2003-06-17 Angus Leeming <leeming@lyx.org>
5619 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5621 * lyxfunc.C (dispatch): invoke it.
5623 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5625 * iterators.C (operator++, ParPosition): reintroduce some
5626 const_cast for the benefit of older compilers.
5628 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5630 * text3.C (dispatch): do not modify clipboard when doing
5631 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5632 LFUN_DELETE_SKIP on a selection selection
5634 2003-06-16 André Pönitz <poenitz@gmx.net>
5640 * tabular.[Ch]: IU of clone() and getLabelList();
5642 2003-06-13 André Pönitz <poenitz@gmx.net>
5644 * tabular.h: compactification
5646 2003-06-12 André Pönitz <poenitz@gmx.net>
5650 * tabular_funcs.h: some renaming plus whitespace
5652 2003-06-12 André Pönitz <poenitz@gmx.net>
5655 * BufferView_pimpl.C:
5661 * toc.C: Return a Paragraph & for ParIterator::operator*()
5663 2003-06-11 John Levon <levon@movementarian.org>
5667 * ToolbarBackend.C: add "Toolbars" section and
5670 2003-06-10 Angus Leeming <leeming@lyx.org>
5673 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5675 * lyxfunc.C (dispatch): invoke it.
5677 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * main.C: protect <ios> with HAVE_IOS
5680 (main): protect sync_with_stdio with HAVE_IOS
5682 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5684 * text2.C (cutSelection): adjust
5685 (pasteSelection): adjust
5687 * messages.C: handle get of empty string
5689 * main.C (main): use sync_with_stdio(false)
5691 * lyxfunc.C (dispatch): adjust
5693 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5694 (WriteAs): remove unneeded BufferView arg.
5696 * bufferparams.h: use correct types on papersize, papersize2 and
5699 * bufferparams.C (readToken): adjust for type
5700 (writeLaTeX): add missing cases to switch.
5702 * bufferlist.C (quitWriteBuffer): adjust
5705 * buffer.C (asciiParagraph): remove some commented code.
5707 * CutAndPaste.C: remove current_view extern variable.
5708 (cutSelection): add BufferParams arg.
5709 (eraseSelection): add BufferParams arg.
5710 (pasteSelection): add Buffer const & arg
5712 2003-06-07 John Levon <levon@movementarian.org>
5715 * paragraph_funcs.C:
5716 * paragraph_pimpl.C:
5720 * paragraph.C: allow InsetERT to freely space lines,
5721 and some consolidation of code
5723 2003-06-06 José Matos <jamatos@fep.up.pt>
5725 * buffer.C (makeDocBookFile): fix bug #821
5727 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5729 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5731 2003-06-04 Angus Leeming <leeming@lyx.org>
5733 * buffer.C: bump format to 224.
5735 2003-06-05 André Pönitz <poenitz@gmx.net>
5737 * text2.C (redoParagraphs): remove two const_cast<>
5739 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5741 * ParagraphList.h: remove last remnants of NO_STD_LIST
5743 2003-06-03 Angus Leeming <leeming@lyx.org>
5745 * factory.C (createInset): small change to the way InsetExternal's params
5748 2003-06-04 André Pönitz <poenitz@gmx.net>
5750 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5752 * paragraph_pimpl.h:
5753 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5755 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5757 * undo_funcs.C: make some simple cases of undo work again
5759 2003-06-03 John Levon <levon@movementarian.org>
5761 * ispell.C: HPUX doesn't have sys/select.h
5764 2003-06-03 John Levon <levon@movementarian.org>
5766 * CutAndPaste.C: update tabular and include inset
5771 * paragraph.C: remove owningBuffer(), don't pass Buffer
5774 * factory.C: insetGraphicsParams changed
5776 2003-06-02 John Levon <levon@movementarian.org>
5782 * text3.C: remove insetparent
5784 2003-06-02 John Levon <levon@movementarian.org>
5787 * buffer.C: fix inset_iterator.end(), move out of line
5790 2003-06-01 John Levon <levon@movementarian.org>
5792 * text3.C: use a proper cut/paste when doing inset
5793 insert (from Jürgen Spitzmüller)
5795 2003-06-01 John Levon <levon@movementarian.org>
5797 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5799 2003-05-30 André Pönitz <poenitz@gmx.net>
5801 * rowpainter.C: unify second drawing phase
5803 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * trans_mgr.C: remove one case of current_view
5807 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5809 * paragraph_funcs.h: remove paragraph.h include
5811 * paragraph.h: delete NO_STD_LIST stuff
5813 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5815 * buffer.h: remove paragraph.h include
5817 * ParagraphList.C: delete file
5819 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5821 * toc.C (getTocList): adjust
5823 * paragraph_pimpl.C (validate): adjust
5825 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5827 * paragraph.C (Paragraph): adjust
5828 (getPositionOfInset): use const_iterator, adjust
5829 (bibitem): use const_iterator, adjust
5830 (setInsetOwner): adjust
5832 * iterators.C (operator++): adjust
5834 * InsetList.[Ch]: Replace selfmade iterator with standard
5835 vector::iterator also introduce const_iterator. Remove getPos,
5836 getInset and setInset from InsetTable. Adjust accordingly.
5838 * BufferView.C (lockInset): adjust
5839 (ChangeInsets): adjust
5841 * tabular.[Ch]: delete commented same_id functions
5843 2003-05-28 John Levon <levon@movementarian.org>
5845 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5847 2003-05-28 André Pönitz <poenitz@gmx.net>
5849 * metricsinfo.[Ch]: remove 'fullredraw' member
5851 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5853 * lyxtextclass.C (operator): remove caching.
5855 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * text2.C (cursorBottom): adjust
5860 (setCounter): use ParagraphList::find, adjust
5862 * text.C (workWidth): use ParagraphList::find, adjust
5864 * lyxcursor.C (LyXCursor): adjust
5866 * buffer.C (inset_iterator): adjust
5868 * ParagraphList.h: make iterator(value_type) private, make
5869 ParagraphList a friend of iterator.
5871 * ParagraphList.C (find): new function
5873 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5875 2003-05-27 André Pönitz <poenitz@gmx.net>
5877 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5879 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5881 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5883 2003-05-26 John Levon <levon@movementarian.org>
5885 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5887 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * remove same_id from function signatures, adjust.
5891 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5895 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5897 * paragraph.C (Paragraph): get rid of same_ids parameter
5899 * ParagraphList.C (insert): adjust
5902 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * paragraph_funcs.C (breakParagraph): adjust
5905 (breakParagraphConservative): adjust
5907 * buffer.C (readParagraph): adjust
5909 * ParagraphList.C (insert): take a reference instead of a pointer
5912 * paragraph.[Ch] (id): new function
5914 * bufferlist.C (newFile): adjust
5916 * ParagraphList.C (ParagraphList): adjust
5918 (push_back): take a reference instead of a pointer.
5920 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5922 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5925 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5926 set else use old code.
5928 * ParagraphList.C: remove all NO_NEXT code and only compile this
5929 code of NO_STD_LIST is set.
5931 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5933 * BufferView_pimpl.C:
5943 * graphics/GraphicsConverter.C:
5944 * graphics/PreviewLoader.C: header adjustment
5946 2003-05-23 Angus Leeming <leeming@lyx.org>
5948 * LaTeXFeatures.[Ch] (useBabel): new method.
5949 * bufferparams.C (writeLaTeX): use it.
5951 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * ParagraphList.h (set): remove unused function.
5955 2003-05-23 André Pönitz <poenitz@gmx.net>
5958 * BufferView_pimpl.C:
5962 * undo_funcs.C: setUndo reworked
5964 * iterators.[Ch]: add access to topmost ParagraphList
5966 * lyxtext.[Ch] (workWidth): add a const
5968 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5970 * texrow.[Ch] (increasePos): remove function
5971 * exporter.C (export): removed unused var and outdated comment
5973 2003-05-23 Angus Leeming <leeming@lyx.org>
5975 * latexrunparams.h: rename fragile as moving_arg.
5976 * paragraph.C (simpleTeXOnePar): ditto.
5977 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5979 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5983 (textUndoOrRedo): comment out a currently unused var.
5985 * paragraph.h (NO_NEXT): enable NO_NEXT
5987 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5989 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5991 * exporter.C (Export): adjust for removeAutoInsets removal.
5993 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5995 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5997 * BufferView.[Ch] (removeAutoInsets): delete function
5999 2003-05-22 Angus Leeming <leeming@lyx.org>
6001 * latexrunparams.h: add a free_spacing variable.
6003 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6004 to pass moving_arg, as the data is stored in runparams.fragile.
6006 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6007 to Inset::latexOptional or to simpleTeXOnePar.
6009 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6010 free_spacing arg to Inset::latexOptional.
6012 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6015 2003-05-22 Angus Leeming <leeming@lyx.org>
6017 * latexrunparams.h: add fragile and use_babel variables.
6019 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6020 * buffer.C (makeLaTeXFile): store this returned value in
6021 runparams.use_babel, thus passing it to the inset::latex methods.
6023 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6024 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6026 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6027 longer has a fragile arg, as it is stored in runparams.fragile.
6029 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6030 moving_arg parameter as the data is stored in runparams.fragile.
6032 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6033 a fragile parameter as the data is stored in runparams.fragile.
6035 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6039 2003-05-22 Angus Leeming <leeming@lyx.org>
6041 * latexrunparams.h: add a 'bool nice' which defaults to false.
6043 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6044 now encapsulated within runparams.
6046 * bufferlist.C (updateIncludedTeXfiles):
6047 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6049 2003-05-22 Angus Leeming <leeming@lyx.org>
6051 * latexrunparams.h: new file containing struct LatexRunParams.
6052 * Makefile.am: add new file.
6054 * LaTeX.[Ch] (c-tor, run):
6055 * buffer.[Ch] (makeLaTeXFile):
6056 * bufferlist.[Ch] (updateIncludedTeXfiles):
6057 * converter.C (convert, scanLog):
6058 * converter.[Ch] (runLaTeX):
6059 * exporter.C (Export):
6060 * paragraph.[Ch] (simpleTeXOnePar):
6061 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6062 * paragraph_funcs.[Ch] (latexParagraphs):
6063 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6064 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6065 pass around a LatexRunParams parameter.
6067 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * paragraph.[Ch]: remove unused constructor
6071 * ParagraphList.C (erase): new function, taking two iterators
6073 2003-05-22 André Pönitz <poenitz@gmx.net>
6075 * undo_funcs.C: remove duplicated code
6077 * iterator.[Ch]: operator=
6079 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * tabular.C (SetMultiColumn): ws changes
6083 * rowpainter.C (paintFirst): get rid of a ->previous
6085 * lyx_cb.C (getPossibleLabel): parlist simplification
6087 * BufferView.C (ChangeInsets): simplify slightly.
6089 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6091 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6092 * lfuns.h: new LFUN_SPACE
6093 * lyxfunc.C: protected space has a new lfun
6094 * paragraph_funcs.C: read new space insets
6096 * factory.C: handle new space insets
6098 2003-05-22 André Pönitz <poenitz@gmx.net>
6101 * BufferView_pimpl.C:
6104 * undo_funcs.C: return a ParIterator from getParFromID.
6106 * iterators.[Ch]: add two const's
6108 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * toc.C (getTocList): adjust
6112 * iterators.[Ch]: rework for parlist
6114 * buffer.C (par_iterator_begin): adjust
6115 (par_iterator_end): adjust
6117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6119 * BufferView.C (removeAutoInsets): adjust
6120 (ChangeInsets): adjust
6122 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6124 * text.C (top_y): fix bug 1110
6126 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6128 * errorlist.[Ch]: added
6131 * BufferView_pimpl.C:
6132 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6135 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * Makefile.am: ensure that lyx is relinked upon changes to the
6138 various "convenience" libs.
6140 2003-05-20 Angus Leeming <leeming@lyx.org>
6142 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6143 files are compiled in alphabetical order again.
6145 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6147 2003-05-19 Angus Leeming <leeming@lyx.org>
6149 * gettext.[Ch]: remove "char const * _(char const *)".
6151 2003-05-19 André Pönitz <poenitz@gmx.net>
6153 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6162 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6164 2003-05-19 André Pönitz <poenitz@gmx.net>
6168 * lyxtextclass.[Ch]:
6170 * paragraph_funcs.[Ch]:
6172 * text3.C: more insetenv work
6174 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6176 * ParagraphParameters.C (params2string): small bug fixed
6178 2003-05-16 André Pönitz <poenitz@gmx.net>
6181 * bufferview_funcs.C: patch from Kornel Benko to prevent
6182 crash when _(...) is called twice in a statement
6184 2003-05-16 André Pönitz <poenitz@gmx.net>
6191 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6193 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6195 * lyx_main.C (init): remove spurious static_cast
6197 2003-05-14 André Pönitz <poenitz@gmx.net>
6199 * BufferView.C: fix format string
6201 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6203 * BufferView.[Ch] (insertErrors): removed
6204 * BufferView.[Ch] (showErrorList): added
6205 * buffer.C (runChkTeX):
6206 * converter.C (scanLog): call showErrorList instead of inserterrors
6208 2003-05-13 André Pönitz <poenitz@gmx.net>
6210 * BufferView_pimpl.C:
6212 * bufferview_func.C:
6219 * tabular_funcs.h: tostr() from its own header
6221 * ParagraphParameters.C:
6226 * text3.C: STRCONV()
6228 2003-05-12 André Pönitz <poenitz@gmx.net>
6231 * BufferView_pimpl.C:
6235 * ParagraphParameters.C:
6239 * bufferview_funcs.C:
6252 * paragraph_funcs.C:
6256 * text3.C: boost::format -> bformat all over the place
6259 2003-05-09 André Pönitz <poenitz@gmx.net>
6261 * LColor.[Ch]: Pimpl the #include <map> away
6263 2003-05-09 John Levon <levon@movementarian.org>
6265 * bufferlist.C: never remove emergency saves
6267 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * Makefile.am: better lib building
6271 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6275 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6276 (simpleTeXSpecialChars): adjust
6277 (simpleTeXSpecialChars): adjust
6278 * paragraph.C (simpleTeXOnePar): adjust
6279 * buffer.C (makeLaTeXFile): adjust
6281 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6283 * text2.C (changeDepth): parlist cleanup
6284 (getColumnNearX): ditto
6286 * rowpainter.C (getLabelFont): parlist cleanup
6288 * bufferlist.C (newFile): parlist cleanup
6290 * CutAndPaste.C (eraseSelection): parlist cleanup
6292 * BufferView_pimpl.C (trackChanges): parlist cleanup
6295 * BufferView.C (lockInset): parlist cleanup.
6296 (ChangeInsets): ditto
6298 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * CutAndPaste.h: Update file header.
6302 * CutAndPaste.C: Update file header.
6303 Store the parts cut out of the Document in a limited_stack.
6304 (copySelection): adjust
6305 (pasteSelection): new function, takes the index in the limited stack.
6306 (nrOfParagraphs): adjust
6307 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6308 simplify error inset insertion.
6309 (checkPastePossible): adjust
6311 2003-05-06 John Levon <levon@movementarian.org>
6313 * text2.C: don't cast wrap inset to float
6315 2003-05-05 André Pönitz <poenitz@gmx.net>
6318 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6320 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6321 few naked Paragraph *.
6323 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6325 * bufferparams.C: Output warning if a document with missing
6326 TeX document class is loaded
6327 * exporter.C: Disable TeX exports if the document class is missing
6330 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6331 isTeXClassAvailable()
6333 2003-05-03 John Levon <levon@movementarian.org>
6336 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6337 explicit cursor show/hide
6339 * BufferView_pimpl.h:
6340 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6341 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6343 * lyxfunc.C: hide cursor before dispatching.
6348 * text3.C: remove explicit cursor hides
6350 2003-05-02 André Pönitz <poenitz@gmx.net>
6352 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6355 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6358 * text2.C: tiny whitespace
6360 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * undo_funcs.C: almost only ws changes.
6364 * ParagraphList.C (splice): just return if pl is empty.
6366 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6368 * ParagraphList.C (splice): new function.
6370 * CutAndPaste.C (pasteSelection): use it
6372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * CutAndPaste.C (pasteSelection): remove the last next and
6375 previous from this file.
6377 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * CutAndPaste.C (pasteSelection): more clean up, user proper
6380 ParagraphList functions for pasteing.
6382 * ParagraphList.C (insert): new function, three arg insert
6384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * ParagraphList.C (insert): new function, three arg insert
6388 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6395 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6399 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6402 (copySelection): clean up a bit.
6403 (pasteSelection): use make_pair
6405 * ParagraphList.C (ParagraphList): implement copy constructor
6406 (operator=): implement, base on copy constructor.
6409 * paragraph.C (erase): return a bool
6411 * paragraph_pimpl.C (erasePos): remove function, move contents...
6412 (erase): ... here. Return a bool.
6413 (erase): call erase instead of erasePos.
6415 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6417 * ParagraphList.h: define PitPosPair
6418 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6419 ParagraphList, fix a bug on pasting multiple pars
6420 * text2.C: change interface to C&P
6422 2003-04-30 André Pönitz <poenitz@gmx.net>
6424 * undo_func.C: revert part of yesterday's patch 2
6426 2003-04-30 John Levon <levon@movementarian.org>
6428 * LColor.C: s/tabular/table/
6430 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * text3.C (dispatch): do not convert iterator -> pointer
6433 * undo_funcs.C (setCursorParUndo): ditto
6434 * text_funcs.C (transposeChars): ditto
6436 * text2.C (setLayout): ws changes only
6438 * text.C (breakParagraph): do not convert iterator -> pointer
6440 (acceptChange): ditto
6441 (rejectChange): ditto
6446 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6449 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6451 * text3.C (gotoInset): YABG (yet another bad getChar)
6453 2003-04-29 André Pönitz <poenitz@gmx.net>
6455 * paragraph.h: make operator= private unimplemented as long as
6458 * ParagraphList.C: whitespace
6461 * paragraph_pimpl.[Ch]:
6462 * paragraph_funcs.C:
6464 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6467 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6469 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6471 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6472 * paragraph.[Ch] (erase):
6473 * paragraph_pimpl.[Ch] (erase): change return type and value
6474 * text2.C (cutSelection): some rework
6476 2003-04-28 John Levon <levon@movementarian.org>
6478 * bufferlist.C: changes for unsaved changes dialog
6480 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * bufferlist.C (newFile): set language (messages_) for new
6485 * buffer.C (readFile): ws changes only.
6487 2003-04-28 André Pönitz <poenitz@gmx.net>
6492 * BufferView_pimpl.C:
6493 * BufferView.C: getParFromID related ParagraphList::iterator changes
6495 2003-04-28 André Pönitz <poenitz@gmx.net>
6497 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6500 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * messages.C: remove one more localedir class variable.
6504 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * messages.C (getLocaleDir): singleton generation function
6508 (Messages): add a default constructor.
6510 * main.C (main): do not setup localedir here, do not call
6513 * gettext.C (_): use it.
6514 (gettext_init): delete funciton
6516 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * gettext.C (getLyXMessages): new singleton generating function.
6520 * buffer.C (updateDocLang): adjust
6522 * Makefile.am (messages.o): add target
6523 (main.o): remove target
6525 2003-04-27 John Levon <levon@movementarian.org>
6530 * lyxvc.C: specify cancel button in Alert::prompt
6532 2003-04-26 John Levon <levon@movementarian.org>
6537 * LyXAction.C: add LFUN_INSET_SETTINGS
6539 * lyxfunc.C: don't enable tabular-feature when there's
6540 just any locking inset
6542 2003-04-26 John Levon <levon@movementarian.org>
6544 * bufferlist.C: re-add Cancel to buffer close question
6546 * lyxfunc.C: fix import UI a bit
6548 2003-04-25 John Levon <levon@movementarian.org>
6550 * gettext.C: remove the broken asserts for now
6552 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * messages.C: make case where setlocale cannot comply work better.
6556 * buffer.C (updateDocLang): new function
6557 (changeLanguage): use it
6560 * text2.C (setCounter): use B_ a bit.
6562 * lyxlayout.C (Read): be sure to trim the label strings.
6564 * messages.C (Messages): fix typo in comment
6566 * buffer.C (readFile): set message_ after file is loaded.
6567 (makeDocBookFile): remove double return
6568 (changeLanguage): reset message_ upon language change.
6569 (B_): new func, use this to get translated buffer strings.
6571 * main.C: add myself and Jean Marc as authors.
6573 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * messages.[hC]: pimplify Messages, and three different pimpls to be
6576 used in different circumstances.
6578 * gettext.[Ch]: change for use with new message code.
6580 2003-04-24 André Pönitz <poenitz@gmx.net>
6582 * factory.C: support for eqref
6584 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * messages.[Ch]: add missing char
6588 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6590 * messages.[Ch]: New files
6592 2003-04-18 John Levon <levon@movementarian.org>
6596 * BufferView_pimpl.C:
6600 * text2.C: remove layout-copy/paste (bug 778)
6602 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6604 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6606 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6608 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6609 if they succeed. Act accordingly.
6611 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * text2.C (setCharFont): adjust
6614 (setCounter): adjust
6615 (insertStringAsLines): adjust
6617 * text.C (leftMargin): adjust
6618 (setHeightOfRow): adjust
6620 * rowpainter.C (paintFirst): adjust
6623 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6625 (isFirstInSequence): ditto
6626 (getEndLabel): ditto
6629 * paragraph.C (getParLanguage): comment out some hard stuff.
6631 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6633 (simpleDocBookOnePar): ditto
6634 (makeDocBookFile): use ParagraphList::iterator
6636 * CutAndPaste.C (pasteSelection): adjust
6638 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6640 * text2.C (getFont): adjust
6641 (getLayoutFont): adjust
6642 (getLabelFont): adjust
6644 * paragraph_funcs.C (TeXOnePar): adjust
6646 * buffer.C (simpleLinuxDocOnePar): adjust
6647 (simpleDocBookOnePar): adjust
6649 * CutAndPaste.C (pasteSelection): adjust
6651 * BufferView.C (getEncoding): adjust
6653 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6655 2003-04-16 John Levon <levon@movementarian.org>
6657 * lyxfind.C: use parlist stuff for search/changes
6659 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6663 * text2.C (deleteEmptyParagraphMechanism): adjust
6665 * text2.[Ch] (ownerParagraph): delete func (both of them
6667 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6669 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6671 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * ParagraphList.C: prepare for NO_NEXT
6675 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * text2.C (getFont): adjust
6678 (getLayoutFont): adjust
6679 (getLabelFont): adjust
6681 * paragraph.C (getFont): adjust
6682 (getLabelFont): adjust
6683 (getLayoutFont): adjust
6685 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6687 2003-04-15 John Levon <levon@movementarian.org>
6691 * lyx_main.C: handle Include in .ui files
6693 2003-04-15 John Levon <levon@movementarian.org>
6695 * MenuBackend.C: make the doc files length shorter
6698 * ToolbarBackend.C: handle toolbar placement flags,
6701 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6706 * paragraph_funcs.C (TeXOnePar): adjust
6708 * paragraph.C (getLabelFont): add outerfont arg, adjust
6709 (getLayoutFont): ditto
6710 (simpleTeXOnePar): adjust
6712 * paragraph_pimpl.C (realizeFont): delete func
6714 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6716 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6717 row argument, constify cur argument.
6719 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * text2.C (getFont): adjust
6722 (getLayoutFont): adjust
6723 (getLabelFont): adjust
6725 * paragraph_funcs.C (TeXOnePar): adjust
6726 (outerFont): new func...
6727 (realizeFont): ...moved out from here, changed this to facilitate
6730 * paragraph.C (getFont): take outerfont as arg, adjust
6731 (simpleTeXOnePar): add outerfont arg, adjust
6733 * buffer.C (simpleLinuxDocOnePar): adjust
6734 (simpleDocBookOnePar): adjust
6736 * CutAndPaste.C (pasteSelection): adjust
6738 * BufferView.C (getEncoding): adjust
6740 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * text2.C (setCharFont): adjust
6743 (setCounter): adjust
6745 * text.C (leftMargin): adjust
6746 (setHeightOfRow): adjust
6748 * rowpainter.C (paintFirst): adjust
6751 * paragraph_pimpl.C (realizeFont): adjust
6753 * paragraph.C (isFirstInSequence): move from here...
6754 * paragraph_funcs.C (isFirstInSequence): ...to here
6756 * paragraph.C (outerHook): move from here...
6757 * paragraph_funcs.C (outerHook): ...to here
6759 * paragraph.C (depthHook): move from here...
6760 * paragraph_funcs.C (depthHook): ...to here
6762 * paragraph.C (getEndLabel): move from here...
6763 * paragraph_funcs.C (getEndLabel): ...to here
6765 * text2.C (realizeFont): move from here...
6766 * paragraph_funcs.C (realizeFont): ...to here
6768 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6770 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6772 2003-04-14 Angus Leeming <leeming@lyx.org>
6774 * LColor.[Ch]: scrap LColor mathcursor.
6776 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * lyxlex.[Ch] (text): delete function
6779 * trans.C (Load): adjust
6780 * paragraph_funcs.C (readParToken): adjust
6782 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6785 vector<char> instead of a char[].
6787 * lyxlex_pimpl.C (getString): adjust
6789 (lex): use getString
6793 * lyxlex.C (text): use pimpl_->getString()
6797 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6800 (makeFontEntriesLayoutSpecific): temp var for par.size()
6801 (setLayout): temp var for ownerParagraphs().end()
6802 (fullRebreak): temp var for rows().end()
6803 (selectionAsString): temp var for boost::next(startpit), realize
6804 that the while really is a regular for loop.
6805 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6806 setCursor in one place.
6807 (setParagraph): temp vr for ownerParagraphs().end()
6808 (updateCounters): make the while loop a for loop
6809 (cutSelection): temp var for ownerParagraphs().end()
6810 (updateInset): make the do {} while() a regular for loop
6811 (getCursorX): use temp vars
6812 (setCurrentFont): use temp vars
6813 (getColumnNearX): use temp vars
6815 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * text.C (transformChar): use temp var for getChar
6818 (computeBidiTables): use temp var for row->par()
6819 (fill): move temp vars for row->par() and pit->layout() earlier in
6821 (labelFill): use temp var for row->par()
6822 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6823 asc and desc, realize that pit never changes and that firstpit is
6824 just a duplicate and not needed. Exchange rit->par() with pit in a
6826 (breakAgain): use a temp var for boost::next(rit)
6827 (breakAgainOneRow): ditto
6828 (breakParagraph): use a temp var for rows().begin()
6829 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6830 (cursorRightOneWord): use temp var for cursor.par() and
6831 cursor.pos(), remove usage of tmpcursor.
6832 (cursorLeftOneWord): use temp var for cursor.par() and
6833 cursor.pos() only set cur at end of function.
6835 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * text.C, text2.C: exchange all usage of Paragraph::next with
6838 boost::next(ParagraphList::iterator)
6840 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6842 * text2.C (cursorTop): simplify implementation
6843 (cursorBottom): ditto
6844 (setParagraph): use ParagraphList::iterator
6845 (setCurrentFont): adjust
6846 (getColumnNearX): adjust
6847 (cursorRight): adjust
6848 (cursorLeft): remove usage of Paragraph::previous
6849 (cursorUpParagraph): ditto
6850 (deleteEmptyParagraphMechanism): slight cleanup
6852 * text.C (isBoundary): take a Paragraph const & instead of a
6854 (addressBreakPoint): ditto
6855 (leftMargin): remove usage of Paragraph::previous.
6856 (setHeightOfRow): ditto
6857 (cursorLeftOneWord): ditto
6858 (selectNextWordToSpellcheck): ditto
6861 (breakParagraph): remove one usage of Paragraph::next
6862 (redoParagraph): ditto
6863 (acceptChange): ditto
6864 (insertChar): adjust
6865 (rowBreakPoint): adjust
6867 * bufferview_funcs.C (toggleAndShow): adjust
6869 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6871 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6872 methods to access it.
6874 * text.C: Added updateRowPositions to compute all row positions.
6875 Make top_y and getRowNearY() to use the cached y position
6877 2003-04-11 John Levon <levon@movementarian.org>
6879 * text.C (rowBreakPoint): reintroduce the labelEnd
6880 checks, code copied from the row fill stuff. Deep voodoo.
6882 * text.C (fill): add a comment and debugging for the
6885 2003-04-11 John Levon <levon@movementarian.org>
6887 * text.C: make sure fullrow insets get wrapped to the next line,
6888 even when they're in a manual label
6890 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * text2.C (insertParagraph): make it take ParagraphList::iterator
6894 (setLayout): make it return ParagraphList::iterator
6895 (redoParagraphs): ditto
6897 (checkParagraph): ditto
6899 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6901 * text2.C: adjust several funcs.
6902 (realizeFont): take a ParagraphList::iterator as arg.
6903 (getLayoutFont): ditto
6904 (getLabelFont): ditto
6905 (setCharFont): ditto
6907 * text.C: adjust several funcs.
6909 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6911 * text.C (selectNextWordToSpellcheck): don't accidentally
6914 2003-04-10 John Levon <levon@movementarian.org>
6916 * ToolbarBackend.C (getIcon): special handling for
6919 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6921 * text2.C (cursorRight): a getChar assert fixed
6923 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * text2.C (getFont): change to take a ParagraphList::iterator
6926 instead of Paragraph*
6927 Adjust several functions.
6929 * text.C (transformChar): change to take a ParagraphList::iterator
6930 instead of Paragraph*
6931 (singleWidth): ditto
6932 Adjust several functions.
6934 * rowpainter.C: adjust several functions
6935 * rowpainter.h:store a ParagraphList::iterator and not a
6939 2003-04-09 John Levon <levon@movementarian.org>
6944 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6945 and the "help" bits as well
6947 2003-04-09 John Levon <levon@movementarian.org>
6950 * ToolbarBackend.C: allow multiple toolbars
6952 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * undo_funcs.C (setCursorParUndo): adjust
6956 * text_funcs.C (transposeChars): adjust
6958 * text3.C (gotoNextInset): adjust
6961 * text2.C (setLayout): adjust
6962 (changeDepth): adjust
6964 (redoParagraphs): adjust
6965 (selectionAsString): adjust
6966 (setParagraph): adjust
6967 (insertInset): adjust
6968 (cutSelection): adjust
6969 (copySelection): adjust
6970 (pasteSelection): adjust
6971 (insertStringAsLines): adjust
6972 (updateInset): adjust
6973 (setCursor): change to take a ParagraphList::iterator parameter
6974 (setCursorIntern): change to take a ParagraphList::iterator parameter
6975 (setCurrentFont): adjust
6976 (cursorLeft): adjust
6977 (cursorRight): adjust
6978 (deleteEmptyParagraphMechanism): adjust
6980 * text.C (breakParagraph): adjust
6981 (insertChar): adjust
6982 (acceptChange): adjust
6983 (rejectChange): adjust
6984 (selectNextWordToSpellcheck): adjust
6985 (changeCase): adjust
6989 * lyxfind.C (SearchForward): adjust
6990 (SearchBackward): adjust
6991 (nextChange): adjust
6993 * lyxcursor.C (par): adjust
6995 * lyxcursor.h: store a ParagraphList::iterator instead of a
6998 * lyx_cb.C (getPossibleLabel): adjust
7000 * bufferview_funcs.C (toggleAndShow): adjust
7002 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7005 * BufferView.C (removeAutoInsets): adjust
7006 (lockedInsetStoreUndo): adjust
7008 2003-04-09 John Levon <levon@movementarian.org>
7010 * ToolbarBackend.C: try icon without argument
7011 if with argument fails
7013 2003-04-08 John Levon <levon@movementarian.org>
7016 * ToolbarBackend.C: add getIcon(), handle tooltip,
7017 and change from "Icon" to "Item".
7019 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7021 * BufferView.C (lockInset): another bad getchar crunched
7023 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7025 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7028 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7030 * lyxfind.C (searchForward, searchBackwards): bug 782
7032 2003-04-07 John Levon <levon@movementarian.org>
7034 * paragraph.C: remove dead comment
7036 * text.C: remove troublesome depth-fiddling code
7037 in leftMargin() and rightMargin() (bug 1017)
7039 * text.C: fix breaking of rows in nested lists
7042 * text2.C (updateCounters): fix up depth values
7045 2003-04-07 John Levon <levon@movementarian.org>
7047 * BufferView_pimpl.C: clear message when doc finishes resizing,
7048 and after a mouse event
7050 * lyxfunc.C: clear message after exiting inset
7052 2003-04-07 John Levon <levon@movementarian.org>
7054 * bufferview_funcs.C: show math status not outside
7055 status in the statusbar
7057 2003-04-07 John Levon <levon@movementarian.org>
7059 * lyxfunc.C: note status changed after a depth change
7061 2003-04-04 Angus Leeming <leeming@lyx.org>
7063 * LaTeX.h: move AuxInfo operator==, != out of line.
7064 Remove LaTeX virtual destructor; nothing derives from it.
7065 Move operator()() out of public area and rename it startscript().
7066 Change protected for private.
7068 2003-04-04 Angus Leeming <leeming@lyx.org>
7071 * text2.C: remove unneeded #includes.
7073 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7075 * text2.C (dEPM): fix the heigth of the next row
7077 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7079 * text.C: squashed an invalid getChar requester + some ws changes
7081 2003-04-03 John Levon <levon@movementarian.org>
7083 * bufferview_funcs.h:
7084 * bufferview_funcs.C:
7087 * text2.C: make getStatus work for the env depth lfuns
7089 2003-04-03 John Levon <levon@movementarian.org>
7091 * bufferview_funcs.h:
7092 * bufferview_funcs.C:
7095 * text2.C: parlistize decDepth(), by merging it with incDepth()
7097 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * lyxrow.h: store a ParagraphList::iterator instead of a
7100 Paragraph* and adjust other class functions to suit.
7102 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7105 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7107 * text2.C (setCursor): do not anchor to cursor row for the time being
7109 2003-04-02 John Levon <levon@movementarian.org>
7116 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7118 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * paragraph.h: make ParagraphList and ParagraphList::iterator
7121 friends of Paragraph.
7123 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7125 * ParagraphList.C: Use the private next_ and previous_ from
7128 2003-04-01 John Levon <levon@movementarian.org>
7132 * Makefile.am: rename, remove defaults gunk
7135 * MenuBackend.C: remove defaults gunk
7138 * Languages.C: remove defaults gunk
7141 * lyx_main.C: error out if files couldn't be found.
7143 2003-04-02 John Levon <levon@movementarian.org>
7145 * text2.C: make incDepth() use parlist
7147 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * undo_funcs.C (firstUndoParagraph): adjust
7151 * text3.C (gotoInset): adjust
7152 (dispatch): adjust, and rewrite loop.
7154 * text2.C (init): adjust, and rewrite loop.
7155 (redoParagraphs): adjust
7156 (updateInset): adjust, and rewrite loop.
7157 (deleteEmptyParagraphMechanism): adjust
7159 * tabular.C (LyXTabular): adjust
7160 (SetMultiColumn): adjust
7163 * lyxtext.[Ch] (ownerParagraph): delete function
7164 (ownerParagraphs): new function returns a ParagraphList.
7166 * BufferView.C (removeAutoInsets): adjust
7167 (insertErrors): adjust
7168 (setCursorFromRow): adjust
7170 2003-04-01 Angus Leeming <leeming@lyx.org>
7172 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7175 2003-04-02 John Levon <levon@movementarian.org>
7181 * text_funcs.C: make transposeChars a free function
7183 * lyxrow_funcs.C: remove wrong comment
7185 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * rowpainter.C: adjust
7193 * lyxrow_funcs. [Ch]: new files
7195 * lyxrow.[Ch]: remove next and previous pointers
7196 (next,previous): remove accessor functions
7197 (isParEnd): move to lyxrow_funcs
7198 (lastPos): move to lyxrow_funcs
7199 (nextRowIsAllInset): move to lyxrow_funcs
7200 (lastPrintablePos): move to lyxrow_funcs
7201 (numberOfSeparators): move to lyxrow_funcs
7202 (numberOfHfills): move to lyxrow_funcs
7203 (numberOfLabelHfills): move to lyxrow_funcs
7204 (hfillExpansion): move to lyxrow_funcs
7208 * bufferview_funcs.C (toggleAndShow): adjust
7210 * RowList.h: Remove class RowList from file leave just a
7213 * RowList.C: delete file
7215 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7218 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * text3.C (cursorPrevious): adjust
7221 (cursorNext): adjust
7224 * text2.C (redoHeightOfParagraph): adjust
7225 (redoDrawingOfParagraph): adjust
7228 * text.C (breakParagraph): adjust
7229 (insertChar): adjust
7232 * rowpainter.C (RowPainter): adjust
7233 (leftMargin): simplify and adjust
7234 (most rowpainter functions): adjust.
7236 * rowpainter.h: store the row as RowList::iterator not as Row*
7238 * lyxcursor.C (row): taka RowList::iterator as arg
7241 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7244 2003-04-01 Angus Leeming <leeming@lyx.org>
7246 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7247 stuff like bool Bool.
7249 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7251 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7254 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7259 * lyxtext.h (rows): drop one version and leve a const variant that
7260 returns a RowList::iterator.
7262 2003-03-31 Angus Leeming <leeming@lyx.org>
7264 * text.C (fill): ensure that the signature is the same as that in the
7267 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * text2.C (redoParagraphs): adjust
7270 (updateCounters): adjust
7271 (checkParagraph): adjust
7272 (getColumnNearX): adjust and reformat a bit.
7274 * text.C (top_y): adjust
7276 (leftMargin): adjust
7277 (prepareToPrint): adjust
7279 (getRowNearY): adjust
7281 * lyxtext.h: make rowlist_ mutable.
7283 * RowList.h: add const_iterator
7284 * RowList.C: adjust for RowList::const_iterator.
7286 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7289 2003-03-31 John Levon <levon@movementarian.org>
7292 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7294 * lyx_main.C: set default fonts from using lyx_gui funcs
7296 * exporter.C: pdf_mode moved from lyxrc
7299 * lyxfunc.C: changes from above
7301 2003-03-31 John Levon <levon@movementarian.org>
7303 * lyx_main.C: fix to the last fix
7305 2003-03-31 John Levon <levon@movementarian.org>
7307 * bufferlist.C: "Load original" -> "Load Original"
7313 * format.C: more Alert cleanups
7315 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * text2.C (removeParagraph): make it take a RowList::iterator as
7319 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7320 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7322 * text.C (anchor_row): make it take a RowList::iterator as arg,
7324 (computeBidiTables): make it take a const reference to Row instead
7325 of Row pointer, adjust.
7326 (leftMargin): make it take a RowList::iterator as arg, adjust.
7327 (rowBreakPoint): adjust
7328 (breakAgainOneRow): make it take a RowList::iterator as arg,
7330 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7332 * bufferview_funcs.C (toggleAndShow): adjust
7334 2003-03-30 John Levon <levon@movementarian.org>
7338 * boost-inst.C: moved to support
7340 * several files: changes as a result
7342 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7344 * text2.C (LyXText): adjust.
7346 (removeRow): make it take a RowList::iterator as arg, adjust.
7347 (fullRebreak): adjust
7348 (deleteEmptyParagraphMechanism): adjust
7349 (clearPaint): adjust
7352 * text.C (top_y): adjust
7353 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7354 (breakAgain): make it take a RowList::iterator as arg, adjust.
7355 (breakParagraph): adjust
7356 (insertChar): adjust
7359 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7360 need_break_row, and refresh_row.
7362 * text3.C (dispatch): adjust
7364 * text2.C (checkParagraph): adjust
7366 (setCursorFromCoordinates): adjust
7368 * text.C (top_y): adjust
7370 (getRow): make it return a RowList::iterator, adjust
7371 (getRowNearY): make it return a RowList::iterator, adjust
7373 * text2.C (init): adjust
7374 (insertRow): remove function
7375 (insertParagraph): adjust
7376 (redoParagraphs): adjust
7377 (fullRebreak): adjust
7378 (updateCounters): adjust
7380 * text.C (top_y): rewrite to use RowList iterators.
7382 (setHeightOfRow): rewrite to sue RowList iterators.
7383 (appendParagraph): adjust
7384 (breakAgain): adjust
7385 (breakAgainOneRow): adjust
7386 (breakParagraph): adjust
7388 (getRowNearY): adjust, and remove commented code.
7390 * lyxtext.h (firstRow): delete function
7391 (lastRow): delete function
7392 (rows): new function (const and non-const versions.)
7393 (insertRow): delete function
7395 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7397 2003-03-29 John Levon <levon@movementarian.org>
7399 * BufferView_pimpl.C: always update scrollbar top
7400 because pasting text when we're anchored could mean we
7401 miss an update altogether
7403 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * text2.C (init): use rowlist_.end() and not 0.
7406 (insertRow): change to take a RowList::iterator as arg, adjust
7408 (insertParagraph): change to take a RowList::iterator as arg,
7410 (redoParagraphs): remove some debug msgs.
7412 * text.C (appendParagraph): change to take a RowList::iterator
7413 arg, adjust for this.
7414 (breakAgain): add an assert
7415 (breakAgainOneRow): ditto
7417 2003-03-29 John Levon <levon@movementarian.org>
7419 * text2.C: do not clear selection after inc/decDepth
7422 2003-03-29 John Levon <levon@movementarian.org>
7425 * buffer.C: fix broken strerrors according to Lars
7427 2003-03-29 John Levon <levon@movementarian.org>
7429 * converters.C: more Alert cleanups
7431 2003-03-29 John Levon <levon@movementarian.org>
7433 * bufferview_funcs.C: remove pointless Alert
7435 * buffer.C: fix confusing error message when
7436 a template is chmoded 000
7438 2003-03-29 John Levon <levon@movementarian.org>
7442 * BufferView_pimpl.C: Alert fixes
7446 * tabular-old.C: remove unused table compat reading
7448 2003-03-29 John Levon <levon@movementarian.org>
7453 * lyx_cb.C: more Alert cleanups
7455 * lyxfunc.C: don't allow chktex if not latex document
7457 2003-03-29 John Levon <levon@movementarian.org>
7461 * buffer.C: warnings pushed down from support/,
7464 2003-03-29 John Levon <levon@movementarian.org>
7466 * lyxfunc.C: safety check for C-r (revert)
7468 2003-03-29 John Levon <levon@movementarian.org>
7471 * bufferlist.C: several UI fixes using Alert::prompt.
7472 Fix the pointless looping quit code. Fix stupid revert
7477 * lyx_cb.C: use Alert::prompt
7479 * lyx_main.C: remove a silly question
7481 * lyxfunc.C: remove a couple of silly questions,
7484 2003-03-28 John Levon <levon@movementarian.org>
7486 * text2.C: fix bug 974 (End on empty par)
7488 2003-03-28 John Levon <levon@movementarian.org>
7490 * BufferView_pimpl.C:
7492 * lfuns.h: remove do-nothing math greek lfuns
7494 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * lyxgluelength.h (isValidGlueLength): add default arg on
7497 parameter 2. Remove default arg from friend in class.
7499 * lyxlength.h (isValidLength): add default arg on parameter 2.
7500 Remove default arg from friend in class.
7502 * text2.C (LyXText): adjust, initialize refresh_row.
7506 (insertParagraph): adjst
7507 (redoParagraphs): adjust
7508 (fullRebreak): adjust
7509 (updateCounters): adjust
7510 (deleteEmptyParagraphMechanism): first attempt at fixing a
7513 * text.C (top_y): adjust
7514 (setHeightOfRow): adjust
7516 (getRowNearY): adjust
7518 * lyxtext.h: include RowList.h
7519 (~LyXText): not needed anymore, deleted.
7520 (firstRow): modify for RowList
7521 (lastRow): new function
7522 Delete firstrow and lastrow class variables, add a Rowlist
7523 rowlist_ class variable.
7525 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7528 * RowList.C (insert): fix case where it == begin().
7530 2003-03-26 Angus Leeming <leeming@lyx.org>
7532 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7533 the thesaurus dialog.
7535 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7539 * RowList.[Ch]: new files
7541 * ParagraphList.C (erase): handle the case where it == begin
7544 2003-03-25 John Levon <levon@movementarian.org>
7548 * aspell.C: add new aspell support
7551 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7554 2003-03-25 Angus Leeming <leeming@lyx.org>
7557 * LyXAction.C (init): new LFUN_INSET_INSERT.
7559 * BufferView_pimpl.C (dispatch): split out part of the
7560 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7562 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7565 2003-03-25 Angus Leeming <leeming@lyx.org>
7567 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7569 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7572 * text3.C: remove useless row->height(0)
7574 2003-03-25 John Levon <levon@movementarian.org>
7578 * text3.C: rename the refreshing stuff to better names
7580 2003-03-24 John Levon <levon@movementarian.org>
7582 * BufferView_pimpl.h:
7583 * BufferView_pimpl.C: update layout choice on a mouse
7586 2003-03-23 John Levon <levon@movementarian.org>
7588 * Makefile.am: fix commandtags.h reference
7590 2003-03-22 John Levon <levon@movementarian.org>
7592 * BufferView_pimpl.C:
7597 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7599 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7602 * text.C: take the rtl methods out of line
7604 2003-03-21 André Pönitz <poenitz@gmx.net>
7606 * metricsinfo.[Ch]: new files containing structures to be passed around
7607 during the two-phase-drawing...
7609 2003-03-21 André Pönitz <poenitz@gmx.net>
7611 * lyxtextclass.C: read 'environment' tag.
7613 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7615 * text2.C (removeRow): fix bug 964
7617 2003-03-20 John Levon <levon@movementarian.org>
7621 * text2.C: paint cleanups. Inset::update() dropped font
7624 2003-03-19 John Levon <levon@movementarian.org>
7626 * lyxfunc.C: only fitcursor/markDirty if available()
7628 2003-03-19 John Levon <levon@movementarian.org>
7630 * commandtags.h: rename to ...
7632 * lfuns.h: ... this, and renumber / cleanup
7634 2003-03-19 John Levon <levon@movementarian.org>
7636 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7637 fit the cursor after an lfun
7641 * BufferView_pimpl.h:
7642 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7644 * LyXAction.C: layout-character should have ReadOnly
7646 * ParagraphParameters.C:
7648 * bufferview_funcs.C:
7655 * undo_funcs.C: changes from above
7657 2003-03-18 John Levon <levon@movementarian.org>
7659 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7660 remove it from update()
7662 * lyxfunc.C: update layout choice after an lfun
7664 * text3.C: remove extra updateLayoutChoice()s
7666 2003-03-18 John Levon <levon@movementarian.org>
7668 * text.C: top_y change means full repaint, fix
7669 a drawing bug with cursor movement
7671 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7675 * text2.C: anchor row on setCursor
7677 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7679 * lyxtext.h: remove almost all mutable keywords
7682 * text3.C: remove const keywords accordingly
7684 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7688 (TeXEnvironment): ditto
7691 2003-03-17 John Levon <levon@movementarian.org>
7693 * text.C (rowBreakPoint): remove attempt to fix displayed
7694 math insets inside a manual label
7696 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * lyxtext.h: remove BufferView* as first arg from almost all class
7700 * other files: adjust.
7702 2003-03-17 John Levon <levon@movementarian.org>
7706 * text2.C: more paint cleanups
7708 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7711 * rowpainter.C: remove "smart" background painting code
7713 2003-03-16 John Levon <levon@movementarian.org>
7718 * text3.C: add helper functions for setting refresh_row/y
7720 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7722 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7723 newline inset which *can* get inserted in the pass_thru layouts.
7724 This is primarily for literate documents.
7726 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7728 * buffer.C: increment LYX_FORMAT to 223
7730 2003-03-14 André Pönitz <poenitz@gmx.net>
7732 * textclass.h: prepare for environment handling, ws changes
7733 * lyxlayout.C: read latexheader and latexfooter tags
7735 2003-03-14 John Levon <levon@movementarian.org>
7737 * text2.C: rewrite ::status() a bit
7739 2003-03-13 John Levon <levon@movementarian.org>
7741 * lyxtext.h: add some docs
7743 2003-03-13 John Levon <levon@movementarian.org>
7748 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7750 2003-03-13 John Levon <levon@movementarian.org>
7752 * text3.C: fix appendix redrawing
7754 2003-03-13 John Levon <levon@movementarian.org>
7756 * text.C (setHeightOfRow):
7758 * rowpainter.C: make appendix mark have the text
7759 "Appendix" so the user knows what it is
7762 * LColor.C: s/appendixline/appendix/ from above
7764 2003-03-13 John Levon <levon@movementarian.org>
7766 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7768 * text.C: fix a getChar(pos) bug properly
7770 2003-03-13 Angus Leeming <leeming@lyx.org>
7773 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7774 Probably only temporary. Let's see how things pan out.
7776 * BufferView.C (unlockInset):
7777 * BufferView_pimpl.C (fitCursor):
7778 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7780 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7781 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7783 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7784 new functions that convert ParagraphParameters to and from a string.
7786 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7787 BufferView::Pimpl's dispatch.
7788 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7790 2003-03-13 André Pönitz <poenitz@gmx.net>
7794 * factory.C: make it aware of InsetEnv
7796 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * text2.C (setCursor): never ask for one past last
7799 (setCursor): add some debugging messages.
7801 * text.C (singleWidth): never ask for one past last
7802 (singleWidth): ditto
7804 (rightMargin): ditto
7805 (rowBreakPoint): ditto
7806 (setHeightOfRow): ditto
7807 (prepareToPrint): ditto
7809 * rowpainter.C (paintBackground): never ask for one past last
7810 (paintText): never ask for one past last
7812 * paragraph_pimpl.C (getChar): make the assert stricter, never
7813 allow the one past last pos to be taken
7815 * paragraph.C (getChar): ws changes only
7817 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7818 (numberOfSeparators): ditto
7819 (numberOfHfills): ditto
7821 2003-03-12 John Levon <levon@movementarian.org>
7827 * paragraph_funcs.C: fix per-buffer authorlists
7829 2003-03-12 John Levon <levon@movementarian.org>
7831 * text.C: fix newline in right address
7833 2003-03-12 Angus Leeming <leeming@lyx.org>
7835 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7836 duplicate those in LyXFunc::dispatch.
7840 * ToolbarDefaults.C:
7841 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7842 Add LFUN_FONTFREE_UPDATE.
7844 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7845 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7847 * bufferview_func.[Ch]: several new functions to facilliate
7848 transfer of data to and from the character dialog.
7850 2003-03-12 John Levon <levon@movementarian.org>
7855 * paragraph_funcs.C:
7856 * paragraph_pimpl.C:
7860 * text3.C: remove META_NEWLINE in favour of an inset
7863 * rowpainter.C: remove paintNewline (done by inset)
7865 2003-03-12 John Levon <levon@movementarian.org>
7867 * paragraph_pimpl.C: complain about bad getChar()s
7868 for a while at least
7870 2003-03-12 John Levon <levon@movementarian.org>
7873 * buffer.C: move paragraph read into a separate function,
7874 a little renaming to reflect that.
7877 * bufferparams.C: remove the author_ids map, not necessary now
7880 * factory.C: moved Buffer::readInset to here
7882 * paragraph_funcs.h:
7883 * paragraph_funcs.C: readParagraph free function moved from
7886 * tabular.C: name change
7888 2003-03-12 John Levon <levon@movementarian.org>
7891 * ParagraphParameters.C: move par params input to
7894 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7895 behave like a normal read from the stream wrt reading
7896 a line vs. a \\token
7898 2003-03-12 John Levon <levon@movementarian.org>
7901 * ParagraphParameters.h:
7902 * ParagraphParameters.C: move output code to a
7905 2003-03-12 John Levon <levon@movementarian.org>
7907 * BufferView.C (insertLyXFile):
7910 * tabular.C: use a parlist iterator for creating the
7913 2003-03-12 John Levon <levon@movementarian.org>
7915 * buffer.C: make current_change static local not
7918 2003-03-12 John Levon <levon@movementarian.org>
7920 * buffer.C: fix insertStringAsLines for change tracking
7922 2003-03-12 John Levon <levon@movementarian.org>
7929 * bufferparams.C: move author list into params. Rename some
7930 functions. Move the header reading into a separate token
7931 loop. Move the header token reading into BufferParams.
7933 2003-03-12 John Levon <levon@movementarian.org>
7935 * changes.C: put debug inside lyxerr.debugging() checks
7937 2003-03-11 André Pönitz <poenitz@gmx.net>
7939 * factory.C: make it aware of InsetHFill
7941 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7943 * buffer.C (latexParagraphs): move function from here...
7944 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7947 2003-03-10 Angus Leeming <leeming@lyx.org>
7949 * LyXAction.C (init): fix bug in poplating array with multiple entries
7950 with the same LFUN (spotted by JMarc).
7952 2003-03-10 John Levon <levon@movementarian.org>
7955 * text2.C: move getColumnNearX() near its
7958 2003-03-10 John Levon <levon@movementarian.org>
7960 * text.C: fix break before a minipage
7962 2003-03-10 John Levon <levon@movementarian.org>
7964 * text.C: fix the last commit
7966 2003-03-09 John Levon <levon@movementarian.org>
7970 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7971 bug 365 (don't break before insets unless needed). Don't
7972 return a value > last under any circumstances.
7974 2003-03-09 Angus Leeming <leeming@lyx.org>
7976 * BufferView_pimpl.C (trackChanges, dispatch): call
7977 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7979 2003-03-09 Angus Leeming <leeming@lyx.org>
7981 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7982 than Dialogs::showAboutlyx().
7984 2003-03-09 Angus Leeming <leeming@lyx.org>
7986 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7987 than Dialogs::showTabularCreate().
7989 2003-03-09 John Levon <levon@movementarian.org>
7993 * text2.C: 3rd arg to nextBreakPoint was always the same.
7996 2003-03-08 John Levon <levon@movementarian.org>
8003 * text2.C: Remove the "main" bit from the "main body"
8006 2003-03-08 John Levon <levon@movementarian.org>
8008 * text.C (leftMargin): The left margin of an empty
8009 manual label paragraph should not include the label width
8012 * text.C (prepareToPrint): don't attempt to measure hfills
8013 for empty manual label paragraphs - the answer should be 0
8015 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8017 * CutAndPaste.C: remove commented code and reindent.
8019 2003-03-08 John Levon <levon@movementarian.org>
8022 * lyxfunc.C: move reloadBuffer()
8025 * BufferView.C: to here
8027 * lyxvc.C: add comment
8030 * vc-backend.C: call bv->reload() to avoid
8031 getStatus() check on MENURELOAD
8033 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8035 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8036 to an old format .dep file.
8038 2003-03-07 Angus Leeming <leeming@lyx.org>
8040 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8041 when the LFUN_MOUSE_RELEASE should have been handled by
8042 inset->localDispatch.
8044 2003-03-07 Angus Leeming <leeming@lyx.org>
8046 * BufferView_pimpl.C (dispatch):
8047 * LyXAction.C (init):
8048 * ToolbarDefaults.C (init):
8050 * lyxfunc.C (getStatus):
8051 remove LFUN_INSET_GRAPHICS.
8053 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8055 2003-03-07 Angus Leeming <leeming@lyx.org>
8058 * LyXAction.C (init):
8059 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8061 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8064 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8066 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8067 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8069 2003-03-07 Angus Leeming <leeming@lyx.org>
8071 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8074 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * ParagraphList.C (front): new function
8079 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8081 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8082 and top_row_offset_. removed var first_y.
8084 * text2.C (LyXText, removeRow):
8086 * BufferView_pimpl.C:
8087 use these methods instead of using first_y
8089 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * text2.C (pasteSelection): adjust for checkPastePossible
8093 * CutAndPaste.C: remove Paragraph * buf and replace with
8094 ParagraphList paragraphs.
8095 (DeleteBuffer): delete
8096 (cutSelection): change the tc type to textclass_type
8097 (copySelection): change the tc type to textclass_type
8098 (copySelection): adjust for ParagraphList
8099 (pasteSelection): change the tc type to textclass_type
8100 (pasteSelection): adjust for Paragraphlist
8101 (nrOfParagraphs): simplify for ParagraphList
8102 (checkPastePossible): simplify for ParagraphList
8103 (checkPastePossible): remove unused arg
8105 * ParagraphList.C (insert): handle the case where there are no
8108 * CutAndPaste.h: make CutAndPaste a namespace.
8110 * text3.C (dispatch): adjust
8112 * text.C (breakParagraph): add a ParagraphList as arg
8114 * paragraph_funcs.C (breakParagraph): change to take a
8115 BufferParams and a ParagraphList as args.
8116 (breakParagraphConservative): ditto
8117 (mergeParagraph): ditto
8118 (TeXDeeper): add a ParagraphList arg
8119 (TeXEnvironment): ditto
8122 * buffer.C (readLyXformat2): adjust
8123 (insertStringAsLines): adjust
8124 (latexParagraphs): adjust
8126 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8127 (cutSelection): adjust
8128 (pasteSelection): adjust
8130 * BufferView_pimpl.C (insertInset): adjust
8132 2003-03-05 Angus Leeming <leeming@lyx.org>
8135 * LyXAction.C (init):
8136 * BufferView_pimpl.C (dispatch):
8137 * lyxfunc.C (getStatus):
8138 remove LFUN_CHILD_INSERT.
8140 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8142 2003-03-05 Angus Leeming <leeming@lyx.org>
8145 * LyXAction.C (init):
8146 * src/factory.C (createInset):
8147 * lyxfunc.C (getStatus):
8148 * text3.C (dispatch):
8149 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8151 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8153 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8155 * ParagraphList.C (insert): handle insert right before end()
8156 (erase): fix cases where it can be first or last paragraph.
8158 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8161 Paragraph::next and Paragraph::previous
8164 * text.C (breakParagraph): adjust
8166 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8167 BufferParams& as arg.
8168 (breakParagraph): use ParagraphList::insert
8169 (breakParagraphConservative): take a Buffer* instead of a
8170 BufferParams& as arg.
8171 (breakParagraphConservative): use ParagraphList::insert.
8173 * buffer.C (insertStringAsLines): un-const it
8174 (insertStringAsLines): adjust
8176 * ParagraphList.C (insert): new function
8178 * CutAndPaste.C (pasteSelection): adjust
8180 * text.C (backspace): adjust
8182 * tabular.C (SetMultiColumn): adjust
8184 * CutAndPaste.C (cutSelection): adjust
8185 (pasteSelection): adjust
8187 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8188 Buffer const * as arg
8190 * ParagraphList.C (erase): new function
8191 * paragraph_funcs.C (mergeParagraph): use it
8192 (mergeParagraph): make it take a Buffer* instead of a
8193 BufferParams* as arg
8195 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8197 (breakParagraphConservative): ditto
8199 * paragraph.h: remove the breakParagraph friend
8201 * paragraph.C (eraseIntern): new function
8202 (setChange): new function
8204 * paragraph_funcs.C (mergeParagraph): make it take a
8205 ParagraphList::iterator instead of a Paragraph *, adjust
8208 * paragraph.h: move an #endif so that the change tracking stuff
8209 also works in the NO_NEXT case.
8211 2003-03-04 Angus Leeming <leeming@lyx.org>
8214 * LyXAction.C: new LFUN_INSET_MODIFY.
8216 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8217 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8219 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * several files: ws changes only
8223 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8224 (TeXEnvironment): ditto
8227 * buffer.C (makeLaTeXFile): adjust
8228 (latexParagraphs): make it take ParagraphList::iterator as args
8230 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * buffer.C (latexParagraphs): adjust
8234 * paragraph.C (TeXOnePar): move function...
8235 (optArgInset): move function...
8236 (TeXEnvironment): move function...
8237 * paragraph_pimpl.C (TeXDeeper): move function...
8238 * paragraph_funcs.C: ...here
8240 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8242 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * buffer.C (readInset): remove compability code for old Figure and
8247 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8249 * buffer.C: ws changes
8252 * BufferView_pimpl.C: ditto
8255 * bufferlist.h: ditto
8259 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8261 * converter.[Ch]: split into itself +
8264 * Makefile.am: += graph.[Ch] + format.[Ch]
8271 * lyxrc.C: added #include "format.h"
8273 2003-02-27 Angus Leeming <leeming@lyx.org>
8275 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8278 * factory.C (createInset): add "label" to the factory.
8280 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8281 string and do no more.
8283 2003-02-27 Angus Leeming <leeming@lyx.org>
8286 * LyXAction.C (init):
8287 * factory.C (createInset):
8288 * BufferView_pimpl.C (dispatch):
8289 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8291 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8293 * lyxfunc.C (dispatch):
8294 * text3.C (dispatch): pass name to params2string.
8296 2003-02-26 Angus Leeming <leeming@lyx.org>
8298 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8300 Rearrange the ~includes. Strip out the unnecessary ones.
8302 * factory.C (createInset): reformat.
8303 create new insets for the various LFUN_XYZ_APPLY lfuns.
8305 2003-02-26 John Levon <levon@movementarian.org>
8308 * lyxrow.C: add isParStart,isParEnd helpers
8310 * paragraph.h: make isInserted/DeletedText take refs
8312 * paragraph_funcs.h:
8313 * paragraph_funcs.C: remove #if 0'd code
8318 * text.C: use lyxrow helpers above.
8319 Move draw and paint routines to RowPainter.
8320 Make several methods use refs not pointers.
8321 Make backgroundColor() const.
8322 Add markChangeInDraw(), isInInset().
8323 Merge changeRegionCase into changeCase.
8324 Make workWidth() shouldn't-happen code into an Assert.
8327 * rowpainter.C: new class for painting a row.
8330 * vspace.C: make inPixels take a ref
8332 2003-02-26 Angus Leeming <leeming@lyx.org>
8334 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8337 2003-02-25 John Levon <levon@movementarian.org>
8339 * ispell.C: give the forked command a more accurate name
8341 2003-02-22 John Levon <levon@movementarian.org>
8344 * toc.C: make TocItem store an id not a Paragraph *
8347 2003-02-21 Angus Leeming <leeming@lyx.org>
8349 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8350 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8351 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8352 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8353 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8354 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8356 * BufferView_pimpl.C (dispatch):
8357 * LyXAction.C (init):
8358 * factory.C (createInset):
8359 * lyxfunc.C (getStatus, dispatch):
8360 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8362 2003-02-21 Angus Leeming <leeming@lyx.org>
8364 * BufferView_pimpl.C (MenuInsertLyXFile):
8365 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8366 * lyxfunc.C (menuNew, open, doImport):
8367 no longer pass a LyXView & to fileDlg.
8369 2003-02-21 Angus Leeming <leeming@lyx.org>
8371 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8372 * LyXAction.C: change, BIBKEY to BIBITEM.
8373 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8374 Change InsetBibKey to InsetBibitem.
8375 Change BIBKEY_CODE to BIBITEM_CODE.
8376 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8377 * factory.C: replace insetbib.h with insetbibitem.h.
8378 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8379 * paragraph.C: replace insetbib.h with insetbibitem.h.
8380 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8381 Change bibkey() to bibitem().
8382 * text.C: remove insetbib.h.
8383 * text2.C: replace insetbib.h with insetbibitem.h.
8384 change bibkey() to bibitem().
8385 * text3.C: remove insetbib.h.
8386 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8388 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8390 * lyxrc.C (output): enclose user email in quotes (in case there are
8393 2003-02-18 John Levon <levon@movementarian.org>
8395 * buffer.h: add std::
8397 2003-02-17 John Levon <levon@movementarian.org>
8403 * pspell.C: reworking. Especially in ispell, a large
8404 number of clean ups and bug fixes.
8406 * lyxfunc.C: fix revert to behave sensibly
8408 2003-02-17 André Pönitz <poenitz@gmx.net>
8411 * commandtags.h: new LFUN_INSERT_BIBKEY
8421 * paragraph_func.C: remove special bibkey handling
8423 2003-02-17 John Levon <levon@movementarian.org>
8425 * text.C (Delete): fix case where delete at the end of
8426 the very first paragraph would not merge the pars
8428 2003-02-17 John Levon <levon@movementarian.org>
8430 * lyxrow.C: fix lastPrintablePos()
8432 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * bufferparams.C (writeLaTeX): add a std:here
8436 * buffer.C: and remove a using directive there
8438 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8440 * buffer.C (makeLaTeXFile): move the code that generates the
8443 * bufferparams.C (writeLaTeX): ... in this new method
8445 * LaTeXFeatures.C (getEncodingSet): make const
8446 (getLanguages): make const
8448 * MenuBackend.C (binding): returns the binding associated to this
8450 (add): sets the status of each item by calling getStatus. Adds
8452 (read): add support for OptSubMenu
8453 (expand): remove extra separator at the end of expanded menu
8455 2003-02-15 John Levon <levon@movementarian.org>
8458 * BufferView_pimpl.C:
8460 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8461 inset code that had no actual effect. Remove unneeded status
8464 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8466 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8469 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8471 * text.C (drawLengthMarker): also draw an arrow marker for
8472 symbolic lengths (medskip...)
8474 2003-02-14 John Levon <levon@movementarian.org>
8477 * tabular.C: better method names
8479 2003-02-14 John Levon <levon@movementarian.org>
8481 * BufferView_pimpl.C:
8486 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8487 it's a more accurate name. Remove some pointless uses.
8489 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * text2.C (LyXText): change order of initilizers to shut off
8494 2003-02-14 John Levon <levon@movementarian.org>
8496 * buffer.C: use ParIterator for getParFromID()
8500 * paragraph_pimpl.h:
8501 * paragraph_pimpl.C: remove unused getParFromID()
8503 2003-02-14 John Levon <levon@movementarian.org>
8505 * buffer.C: remove some very old #if 0'd parse code
8507 2003-02-13 John Levon <levon@movementarian.org>
8511 * text2.C: move hfillExpansion(), numberOfSeparators(),
8512 rowLast(), rowLastPrintable(), numberofHfills(),
8513 numberOfLabelHfills() ...
8516 * lyxrow.C: ... to member functions here.
8521 * text.C: remove LyXText::beginningOfMainBody(), and call
8522 p->beginningOfMainBody() directly. Move the check for
8523 LABEL_MANUAL into the latter.
8530 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8536 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8537 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8539 2003-02-13 John Levon <levon@movementarian.org>
8541 * CutAndPaste.C: remove debug
8543 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8545 * paragraph.C (asString): remove two unused variables
8547 * lyxtextclass.C (readTitleType):
8549 (LyXTextClass): handle new members titletype_ and titlename_
8551 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8553 2003-02-09 John Levon <levon@movementarian.org>
8556 * buffer.C: replace hand-coded list with a map for the dep clean
8558 2003-02-08 John Levon <levon@movementarian.org>
8560 * LaTeX.C: consolidate code into showRunMessage() helper
8562 2003-02-08 John Levon <levon@movementarian.org>
8567 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8568 and pass the size in explicitly
8570 * BufferView_pimpl.h:
8571 * BufferView_pimpl.C:
8573 * BufferView.C: add getCurrentChange()
8575 * BufferView_pimpl.h:
8576 * BufferView_pimpl.C: handle change lfuns
8578 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8579 for changes. Mark pasted paragraphs as new.
8581 * support/lyxtime.h:
8582 * support/lyxtime.C:
8583 * DepTable.C: abstract time_t as lyx::time_type
8586 * LColor.C: add colours for new text, deleted text, changebars
8588 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8589 package use "usenames" option.
8593 * LyXAction.C: add change lfuns
8597 * author.C: author handling
8600 * buffer.C: add a per-buffer author list, with first entry as
8601 current author. Handle new .lyx tokens for change tracking. Output
8602 author list to .lyx file. Output dvipost stuff to .tex preamble.
8603 Bump lyx format to 222.
8606 * bufferlist.C: add setCurrentAuthor() to reset current author details
8610 * bufferparams.C: add param for tracking
8612 * bufferview_funcs.C: output change info in minibuffer
8616 * changes.C: add change-tracking structure
8619 * debug.C: add CHANGES debug flag
8622 * lyxfind.C: add code for finding the next change piece
8625 * lyxrc.C: add user_name and user_email
8628 * lyxrow.C: add a metric for the top of the text line
8631 * text.C: implement accept/rejectChange()
8634 * text.C: paint changebars. Paint new/deleted text in the chosen
8635 colours. Strike through deleted text.
8639 * paragraph_pimpl.h:
8640 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8641 in the current change to the insert functions. Rework erase to
8642 mark text as deleted, adding an eraseIntern() and a range-based
8643 erase(). Implement per-paragraph change lookup and
8646 * paragraph_funcs.C: Fixup paste for change tracking.
8648 * tabular.C: mark added row/columns as new.
8650 * text.C: fix rowLast() to never return -1. Don't allow
8651 spellchecking of deleted text. Track transpose changes. Don't
8652 allow paragraph break or merge where appropriate.
8654 * text2.C: leave cursor at end of selection after a cut.
8656 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8658 * text.C (getLengthMarkerHeight):
8659 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8660 visible on screen too.
8662 2003-02-07 John Levon <levon@movementarian.org>
8664 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8666 2003-02-05 Angus Leeming <leeming@lyx.org>
8668 * lyxserver.C (read_ready): revert my patch of 11 September last year
8669 as it sends PC cpu through the roof. Presumably this means that
8670 the lyxserver will no longer run on an Alpha...
8672 2003-01-30 Angus Leeming <leeming@lyx.org>
8674 * factory.C (createInset): create an InsetCommandParam of type "index"
8675 and use it to 'do the right thing'.
8677 * text2.C (getStringToIndex): ensure that cursor position is always
8678 reset to the reset_cursor position.
8680 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8685 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8689 * lyxfunc.C: Output messages with identical spelling, punctuation,
8692 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8694 * MenuBackend.C (expandFormats): List only viewable export formats
8697 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8700 * lyxfunc.C (getStatus): Make sure that formats other than
8701 "fax" can also be disabled
8703 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * text3.C (dispatch): put the lfuns that insert insets in 3
8706 groups, and call doInsertInset with appropriate arguments.
8707 (doInsertInset): new function, that creates an inset and inserts
8708 it according to some boolean parameters.
8710 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * buffer.C (readFile): remember to pass on 'par' when calling
8713 readFile recursively.
8715 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8717 * MenuBackend.C (expandFormats): add "..." to import formats.
8719 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8721 * paragraph.C (asString): Remove XForms RTL hacks.
8723 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8724 * buffer.C: fix typo
8726 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8728 * Makefile.am (LIBS): delete var
8729 (lyx_LDADD): add @LIBS@ here instead.
8731 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8733 * Clarify the meaning of "wheel mouse jump"
8735 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8737 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8740 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * importer.C (Loaders): do not preallocate 3 elements in the
8743 vector, since one ends up with 6 elements otherwise
8745 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * DepTable.C (write): write the file name as last element of the
8748 .dep file (because it may contain spaces)
8749 (read): read info in the right order
8751 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8753 * paragraph_pimpl.C (simpleTeXBlanks):
8754 (simpleTeXSpecialChars):
8755 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8757 * tabular.C (latex): add some missing case statements. Reindent.
8759 * MenuBackend.C (expandToc): remove unused variable.
8761 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8770 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8773 2003-01-05 John Levon <levon@movementarian.org>
8776 * BufferView.C: add getEncoding()
8779 * kbsequence.C: do not store last keypress
8782 * lyxfunc.C: store last keypress here instead. Pass encoding
8785 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8787 * lyx_main.C (init): remove annoying error message when following
8788 symbolic links (bug #780)
8790 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * text.C (insertChar):
8793 * lyxrc.C (getDescription): remove extra spaces
8795 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * lyxrc.C (getDescription): remove extra spaces
8799 2002-12-20 John Levon <levon@movementarian.org>
8801 * text3.C: hack fix for page up/down across tall rows
8803 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8805 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8808 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8810 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8811 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8812 thesaurus is not compiled in
8814 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8816 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8818 2002-12-16 Angus Leeming <leeming@lyx.org>
8821 * lyx_main.C (init): remove override_x_deadkeys stuff.
8823 2002-12-12 John Levon <levon@movementarian.org>
8825 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8826 insert. Only remove shift modifier under strict
8829 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8831 * MenuBackend.C (expandToc): fix crash.
8833 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8835 * MenuBackend.C (expandToc): gettext on float names.
8837 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8839 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8840 implement bool empty() [bug 490]
8842 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8844 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8846 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8848 * several files: ws changes
8850 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8852 * text2.C (setCounter): clean up a bit, use boost.format.
8853 (updateCounters): initialize par upon declaration.
8855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8856 if the layout exists. We do not just store the layout any more.
8857 (SwitchLayoutsBetweenClasses): use boost.format
8859 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8861 * converter.C (convert): if from and to files are the same, use a
8862 temporary files as intermediary
8864 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8867 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8869 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8871 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8873 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * tabular.C (asciiPrintCell): use string(size, char) instead of
8878 * sgml.C (openTag): fix order of arguments to string constructor
8881 * lyxfunc.C (dispatch): use boost.format
8883 * lots of files: change "c" -> 'c'
8885 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8887 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8889 2002-11-25 Angus Leeming <leeming@lyx.org>
8891 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8893 * lyx_main.C (init): compile fix.
8895 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * lyx_cb.C (start): boost.formatify
8898 do not include <iostream>
8900 * lengthcommon.C: ws only
8902 * boost-inst.C,BoostFormat.h: add more explict instantations
8904 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * lots of files: handle USE_BOOST_FORMAT
8908 2002-11-21 John Levon <levon@movementarian.org>
8910 * pspell.C: fix compile
8912 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8914 * lyxfunc.C (dispatch): use boost::format
8918 * lyxfont.C (stateText): use boost::format
8920 * lyx_main.C (LyX): use boost::format
8922 (queryUserLyXDir): ditto
8925 (typedef boost::function): use the recommened syntax.
8927 * importer.C (Import): use boost::format
8929 * debug.C (showLevel): use boost::format
8931 * converter.C (view): use boost::format
8936 * bufferview_funcs.C (currentState): use boost::format
8938 * bufferlist.C (emergencyWrite): use boost::format
8940 * buffer.C (readLyXformat2): use boost::format
8941 (parseSingleLyXformat2Token): ditto
8943 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8945 * LaTeX.C (run): use boost::format
8947 * Chktex.C (scanLogFile): use boost::format
8949 * BufferView_pimpl.C (savePosition): use boost::format
8950 (restorePosition): ditto
8951 (MenuInsertLyXFile): ditto
8953 * BoostFormat.h: help file for explicit instation.
8955 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8957 * tabular.C (latex): Support for block alignment in fixed width
8960 2002-11-17 John Levon <levon@movementarian.org>
8962 * BufferView_pimpl.C:
8964 * lyxfunc.C: split filedialog into open/save
8966 2002-11-08 Juergen Vigna <jug@sad.it>
8968 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8969 by my last patch (hopefully).
8971 2002-11-08 John Levon <levon@movementarian.org>
8980 * toc.C: ParConstIterator, and use it (from Lars)
8982 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8984 * lyxtextclass.[Ch]: revise and add doxygen comments
8986 2002-11-07 John Levon <levon@movementarian.org>
8988 * text.C: fix progress value for spellchecker
8990 * toc.C: fix navigate menu for insetwrap inside minipage
8992 * paragraph_funcs.C: added FIXME for suspect code
8994 2002-11-07 John Levon <levon@movementarian.org>
8996 * BufferView_pimpl.C: fix redrawing of insets
8999 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * text2.C (updateCounters): fix bug 668
9003 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9005 * text3.C (dispatch): Do not make the buffer dirty when moving the
9008 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9010 * vc-backend.C: STRCONV
9013 * text2.C (setCounter): STRCONV
9015 * paragraph.C (asString): STRCONV
9017 * lyxlength.C (asString): STRCONV
9018 (asLatexString): ditto
9020 * lyxgluelength.C (asString): STRCONV
9021 (asLatexString): ditto
9023 * lyxfunc.C (dispatch): STRCONV
9026 * lyxfont.C (stateText): STRCONV
9028 * importer.C (Import): STRCONV
9030 * counters.C (labelItem): STRCONV
9031 (numberLabel): ditto
9032 (numberLabel): remove unused ostringstream o
9037 * bufferview_funcs.C (currentState): STRCONV
9039 * buffer.C (readFile): STRCONV
9040 (asciiParagraph): ditto
9041 (makeLaTeXFile): ditto
9043 * Spacing.C (writeEnvirBegin): STRCONV
9045 * LaTeXFeatures.C (getLanguages): STRCONV
9046 (getPackages): ditto
9048 (getBabelOptions): ditto
9049 (getTClassPreamble): ditto
9050 (getLyXSGMLEntities): ditto
9051 (getIncludedFiles): ditto
9055 (scanAuxFile): ditto
9058 * LString.h: add the STRCONV macros
9060 * BufferView_pimpl.C (savePosition): STRCONV
9061 (restorePosition): ditto
9062 (MenuInsertLyXFile): ditto
9064 * vc-backend.C (scanMaster): change from submatch[...] to
9067 * funcrequest.C: include config.h
9069 * factory.C: include config.h
9071 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9073 * box.C: include config.h
9075 * LaTeX.C (scanAuxFile): change from submatch[...] to
9079 2002-10-25 Angus Leeming <leeming@lyx.org>
9081 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9083 * ispell.[Ch] (setError): new method.
9084 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9085 Use setError() insetead of goto END.
9087 * lyx_cb.C (AutoSave): move out child process into new class
9090 2002-10-30 John Levon <levon@movementarian.org>
9092 * text3.C: make start appendix undoable
9094 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9096 * lyxlength.C (inPixels): Fix returned value.
9098 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9101 2002-10-24 Angus Leeming <leeming@lyx.org>
9103 * lyxgluelength.h: no need to forward declare BufferParams
9104 or BufferView, so don't.
9106 2002-10-21 John Levon <levon@movementarian.org>
9108 * BufferView.C: menuUndo ->undo, redo
9110 * BufferView.h: document, remove dead, make some methods private
9112 * paragraph_funcs.h:
9113 * paragraph_funcs.C:
9114 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9119 * sgml.C: move sgml open/close tag into sgml.C
9121 * bufferview_funcs.h: unused prototype
9124 * lyxfunc.C: remove unused
9127 * text.C: remove unused
9129 2002-10-21 John Levon <levon@movementarian.org>
9133 * BufferView_pimpl.h:
9134 * BufferView_pimpl.C: fix mouse wheel handling based on
9135 patch from Darren Freeman
9137 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9139 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9141 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9143 * lyxlength.C (inPixels): Fix hanfling of negative length.
9144 Fix LyXLength::MU case.
9146 2002-10-16 John Levon <levon@movementarian.org>
9148 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9150 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9152 * converter.C (view): add support for $$i (file name) and $$p
9153 (file path) for the viewer command. If $$i is not specified, then
9154 it is appended to the command (for compatibility with old syntax)
9156 2002-10-14 Juergen Vigna <jug@sad.it>
9158 * undo_funcs.C (textHandleUndo): alter the order in which the
9159 new undopar is added to the LyXText, as we have to set first
9160 the right prev/next and then add it as otherwise the rebuild of
9161 LyXText is not correct. Also reset the cursor to the right paragraph,
9162 with this IMO we could remove the hack in "redoParagraphs()".
9164 2002-10-09 Angus Leeming <leeming@lyx.org>
9166 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9167 to turn off an optimisation if a new inset is to be inserted.
9169 2002-10-11 André Pönitz <poenitz@gmx.net>
9171 * lyxtext.h: make some functions public to allow access
9172 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9174 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9176 * text3.C (dispatch): when changing layout, avoid an infinite loop
9179 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * lyxrc.C (read): treat a viewer or converter command of "none" as
9184 * MenuBackend.C (expandFormats): for an update, also allow the
9185 formats that are not viewable
9187 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9188 script if it is newer than the lyxrc.defaults in user directory
9190 2002-10-07 André Pönitz <poenitz@gmx.net>
9192 * text.C: Vitaly Lipatov's small i18n fix
9194 2002-09-25 Angus Leeming <leeming@lyx.org>
9196 * ispell.h: doxygen fix.
9198 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9200 * buffer.h (readFile): Add a new argument to the method, to allow
9201 reading of old-format templates.
9203 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9205 * toc.C (getTocList): Get TOC from InsetWrap.
9207 2002-09-16 John Levon <levon@movementarian.org>
9209 * lyxfunc.C: check tabular for cut/copy too
9211 2002-09-12 John Levon <levon@movementarian.org>
9216 * factory.C: add header
9218 * paragraph_funcs.h:
9219 * paragraph_funcs.C: cleanup
9221 2002-09-11 John Levon <levon@movementarian.org>
9223 * PrinterParams.h: odd/even default to true
9225 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9227 * PrinterParams.h: update printer parameters for new xforms dialog
9229 2002-09-11 Angus Leeming <leeming@lyx.org>
9231 * lyxserver.C (read_ready): re-write to make it more transparent
9232 and to make it work in coherent fashion under Tru64 Unix.
9234 2002-09-11 André Pönitz <poenitz@gmx.net>
9238 * text3.C: implement LFUN_WORDSEL
9240 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9243 make floatlist_ a boost::shared_ptr<FloatList>
9245 * lyxtextclass.C: include FloatList.h
9246 (LyXTextClass): initialize floatlist_
9247 (TextClassTags): add TC_NOFLOAT
9248 (Read): match "nofloat" to TC_NOFLOAT and use it.
9249 (readFloat): modify call to floatlist_
9253 * FloatList.[Ch] (FloatList): remove commented out float
9255 (erase): new function
9257 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * MenuBackend.C (expandToc): fix crash when there is no document
9262 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9264 * many files: Add insetwrap.
9266 2002-09-09 John Levon <levon@movementarian.org>
9268 * text2.C: remove confusing and awkward depth wraparound
9270 2002-09-09 John Levon <levon@movementarian.org>
9272 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9275 * buffer.C: remove getIncludeonlyList()
9278 * lyxfunc.C: remove headers
9280 2002-09-09 Juergen Vigna <jug@sad.it>
9282 * text.C (getColumnNearX): fix form Michael this is most
9283 probably a cut&paste bug.
9285 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9287 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9289 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9290 references, ws changes.
9292 * text2.C (init): update counters after init
9293 (insertParagraph): no need to set counter on idividual paragraphs.
9294 (setCounter): access the counters object in the textclass object
9295 on in the buffer object.
9296 (updateCounters): ditto
9298 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9299 shared_ptr<Counters> to avoid loading counters.h in all
9301 (LyXTextClass): initialize ctrs_
9302 (TextClassTags): add TC_COUNTER, and ...
9303 (Read): use it here.
9304 (CounterTags): new tags
9305 (readCounter): new function
9306 (counters): new funtion
9307 (defaultLayoutName): return a const reference
9309 * counters.C (Counters): remove contructor
9310 (newCounter): remove a couple of unneeded statements.
9311 (newCounter): simplify a bit.
9312 (numberLabel): some small formatting changes.
9314 * buffer.[Ch]: remove all traces of counters, move the Counters
9315 object to the LyXTextClass.
9317 2002-09-06 Alain Castera <castera@in2p3.fr>
9319 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9320 package to set the horizontal alignment on fixed width columns.
9323 * lyx_sty.h: added tabularnewline macro def.
9325 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9327 2002-09-06 John Levon <levon@movementarian.org>
9329 * LyXAction.C: tooltips for sub/superscript
9331 * MenuBackend.C: a bit more verbose
9333 * lyxfunc.C: tiny clean
9335 * undo_funcs.C: document undo_frozen
9337 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * counters.C (Counters): add missing algorithm counter.
9341 * text2.C (setCounter): lookup the counter with layouts latexname
9342 instead of by section number.
9343 (setCounter): use a hackish way to lookup the correct enum
9345 a float name->type change
9346 reset enum couners with counter name directly instead of depth value.
9348 * counters.C (Counters): remove the push_backs, change to use the
9349 float type not the float name.
9350 (labelItem): remove unused string, float name->type change
9352 * counters.h: don't include vector, loose the enums and sects vectors
9354 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9356 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9357 (Read): add float->TC_FLOAT to textclassTags
9358 (Read): and handle it in the switch
9359 (readFloat): new function
9361 * FloatList.C (FloatList): comment out the hardcoded float
9364 * lyxlayout.h: ws change.
9366 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9368 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9370 2002-09-03 Angus Leeming <leeming@lyx.org>
9372 * BufferView_pimpl.h: qualified name is not allowed in member
9373 declaration: WorkArea & Pimpl::workarea() const;
9375 * factory.C: added using std::endl directive.
9377 * text3.C: added using std::find and std::vector directives.
9379 2002-08-29 André Pönitz <poenitz@gmx.net>
9382 * text2.C: remove unused member number_of_rows
9385 * BufferView2.C: remove file, move contents to...
9386 * BufferView.C: ... here
9388 * BufferView_pimpl.C:
9389 * factory.C: move more inset creation to factory
9391 * vspace.C: avoid direct usage of LyXText, ws changes
9394 don't provide direct access to WorkArea, use two simple
9395 acessors haveSelction() and workHeight() instead
9398 2002-08-29 John Levon <levon@movementarian.org>
9400 * BufferView_pimpl.C (dispatch): do not continue when
9403 2002-08-28 André Pönitz <poenitz@gmx.net>
9405 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9408 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9410 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9412 * buffer.C: increment LYX_FORMAT to 221
9414 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9415 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9417 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9419 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9421 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * factory.C (createInset): use LyXTextClass::floats
9425 * MenuBackend.C (expandFloatListInsert):
9426 (expandFloatInsert):
9429 * text2.C (setCounter):
9431 * LaTeXFeatures.C (useFloat):
9432 (getFloatDefinitions):
9434 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9436 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9437 floatlist_, with accessor floats().
9439 * FloatList.h: remove global FloatList
9441 2002-08-26 André Pönitz <poenitz@gmx.net>
9443 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9447 * BufferView_pimpl.C:
9448 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9450 2002-08-25 John Levon <levon@movementarian.org>
9452 * LyXAction.C: fix margin note description
9454 2002-08-24 John Levon <levon@movementarian.org>
9458 * bufferview_funcs.C:
9460 * undo_funcs.C: cleanups
9462 * lyxfunc.C: disable CUT/COPY when no selection
9464 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9466 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9467 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9469 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9470 Add backward compatibility to "mono", "gray" and "no".
9472 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9474 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9475 (and file_format >= 200).
9477 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9481 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9483 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9485 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9487 * BufferView_pimpl.C:
9494 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9495 inset and code to make it work with the paragraph code. The inset
9496 can be anywhere in the paragraph, but will only do the expected
9497 thing in LaTeX if the layout file contains the parameter line
9499 (or more generally, a nonzero value) for that layout.
9501 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9503 * paragraph.h: remove the declaration of undefined counters class
9506 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9508 * text2.C (setCounter): fixed enumeration mis-count as reported by
9509 Dr. Richard Hawkins.
9511 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * paragraph_funcs.h: remove some unneeded includes
9515 * text.C (backspace): pasteParagraph now in global scipe
9517 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9518 (pasteSelection): ditto
9520 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9521 * paragraph_funcs.C (pasteParagraph): ... here
9523 2002-08-20 André Pönitz <poenitz@gmx.net>
9525 * commandtags.h: new LFUNs for swapping/copying table row/colums
9528 * lyxfunc.C: support for new lfuns
9530 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9533 * buffer.[Ch]: remove NO_COMPABILITY stuff
9535 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9537 * boost.C (throw_exception): new file, with helper function for
9538 boost compiled without exceptions.
9543 * ParameterStruct.h:
9544 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9546 * bufferlist.C (emergencyWriteAll): use boost bind
9548 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9550 * text.C: include paragraph_funcs.h
9551 (breakParagraph): breakParagraph is now in global scope
9553 * paragraph_funcs.[Ch]: new files
9555 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9558 * buffer.C: include paragraph_funcs.h
9559 (insertStringAsLines): breakParagraph is now in global scope
9561 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9564 * CutAndPaste.C: include paragraph_funcs.h
9565 (cutSelection): breakParagraphConservative is now in global scope
9566 (pasteSelection): ditto
9568 * buffer.h: declare oprator== and operator!= for
9569 Buffer::inset_iterator
9571 * bufferlist.C (emergencyWrite): don't use fmt(...)
9573 * text3.C: add using std::endl
9575 * BufferView.C (moveCursorUpdate): remove default arg
9577 2002-08-20 André Pönitz <poenitz@gmx.net>
9579 * buffer.[Ch]: move inline functions to .C
9582 * BufferView_pimpl.C:
9584 * buffer.[Ch]: use improved inset_iterator
9587 * paragraph.[Ch]: write one paragraph at a time
9589 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9591 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9592 style if style is not specified.
9594 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * text2.C (setCounter): when searching for right label for a
9597 caption, make sure to recurse to parent insets (so that a caption
9598 in a minipage in a figure float works) (bug #568)
9600 2002-08-20 André Pönitz <poenitz@gmx.net>
9602 * text3.C: new file for LyXText::dispatch() and helpers
9604 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9606 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9608 2002-08-19 André Pönitz <poenitz@gmx.net>
9611 * text.C: new LyXText::dispatch()
9613 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9615 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9617 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9619 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9622 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * Makefile.am: use $(variables) instead of @substitutions@
9626 2002-08-15 André Pönitz <poenitz@gmx.net>
9629 * BufferView_pimpl.C: streamlining mathed <-> outer world
9633 * LyXAction.C: remove unused LFUN_MATH
9635 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9637 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9639 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9641 * paragraph.C (Paragraph): reformat a bit
9642 (cutIntoMinibuffer): use builtin InsetList function instad of
9646 * buffer.C: include boost/bind.hpp, add using std::for_each
9647 (writeFileAscii): use ParagraphList iterators
9648 (validate): use for_each for validate traversal of paragraphs
9649 (getBibkeyList): use ParagraphList iterators
9650 (resizeInsets): use for_each to resizeInsetsLyXText for all
9652 (getParFromID): use ParagraphList iterators
9654 * BufferView2.C (lockInset): use paragraph list and iterators
9656 2002-08-14 John Levon <levon@movementarian.org>
9658 * lyxserver.C: remove spurious xforms include
9660 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9662 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9664 2002-08-13 André Pönitz <poenitz@gmx.net>
9667 * lyxfunc.C: further cleaning
9669 2002-08-13 André Pönitz <poenitz@gmx.net>
9671 * funcrequest.h: new constructor
9673 * funcrequest.C: move stuff here from .h
9676 * BufferView_pimpl.C:
9679 * lyxfunc.C: subsequent changes
9681 * lyxfunc.h: new view() member function
9683 * lyxfunc.C: subsequent changes
9685 2002-08-13 Angus Leeming <leeming@lyx.org>
9688 * BufferView_pimpl.C:
9696 changes due to the changed LyXView interface that now returns references
9697 to member variables not pointers.
9699 2002-08-13 Angus Leeming <leeming@lyx.org>
9701 * WordLangTuple (word, lang_code): return references to strings,
9706 * lyxtext.h: forward-declare WordLangTuple.
9711 * text.C: #include "WordLangTuple.h".
9714 * text.C: (selectNextWordToSpellcheck): constify return type.
9716 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9722 * paragraph_pimpl.h:
9725 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9727 Made updateCounter always count from start of buffer, and removed
9728 second argument (par).
9729 Reverted floats number display to '#'. Perhaps I'll try again when the
9730 code base is sanitized a bit.
9732 2002-08-12 Angus Leeming <leeming@lyx.org>
9734 * buffer.[Ch] (getLabelList): constify.
9736 2002-08-07 André Pönitz <poenitz@gmx.net>
9738 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9740 * funcrequest.h: extension to keep mouse (x,y) position
9742 2002-08-12 Juergen Vigna <jug@sad.it>
9744 * BufferView2.C (insertErrors): forbid undo when inserting error
9747 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9749 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9751 * ParagraphList.[Ch]: new files
9753 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9755 * BufferView2.C (lockInset): ParagraphList changes
9758 * bufferlist.C: ditto
9762 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9764 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9765 unused class variable counter_,
9767 * paragraph.[Ch] (getFirstCounter): delete unused function
9769 * counters.C: include LAssert.h
9770 (reset): add a new function with no arg, change other version to
9771 not have def. arg and to not allow empty arg.
9773 * text2.C (setCounter): remove empty arg from call to Counters::reset
9775 2002-08-11 John Levon <levon@movementarian.org>
9777 * Makefile.am: add WordLangTuple.h
9779 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9781 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9782 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9784 * insets/insettext.C: InsetList changes
9786 * graphics/GraphicsSupport.C (operator()): InsetList changes
9788 * toc.C (getTocList): InsetList changes
9790 * paragraph_pimpl.[Ch]: InsetList changes
9792 * paragraph.[Ch]: InsetList changes
9794 * buffer.C (inset_iterator): InsetList changes
9795 (setParagraph): ditto
9796 * buffer.h (inset_iterator): ditto
9797 * iterators.C (operator++): ditto
9798 * iterators.h: ditto
9800 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9802 * InsetList.[Ch]: new files, most InsetList handling moved out of
9805 * BufferView2.C (removeAutoInsets): InsetList changes
9807 (ChangeInsets): ditto
9809 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9811 * paragraph_pimpl.h (empty): new function
9813 * paragraph.[Ch] (empty): new function
9815 * other files: use the new Paragraph::empty function
9817 2002-08-09 John Levon <levon@movementarian.org>
9819 * lyxtext.h: remove unused refresh_height
9821 2002-08-09 John Levon <levon@movementarian.org>
9828 * paragraph.C: move sgml char escaping out of paragraph
9831 * paragraph.C: remove id setter
9835 * paragraph_pimpl.C: remove dead tex_code_break_column
9837 * bufferview_funcs.C: small cleanup
9839 * lyxfunc.C: remove dead proto
9841 * lyxtext.h: make some stuff private. Remove some dead stuff.
9843 * lyxgluelength.C: make as[LyX]String() readable
9845 2002-08-08 John Levon <levon@movementarian.org>
9850 * ToolbarDefaults.C:
9853 * toc.C: lyxaction cleanup
9855 2002-08-08 John Levon <levon@movementarian.org>
9857 * BufferView2.C: small cleanup
9860 * lyxfind.C: move unnecessary header into the .C
9862 2002-08-08 John Levon <levon@movementarian.org>
9864 * funcrequest.h: just tedious nonsense
9867 * lyx_main.C: cleanups
9870 * vspace.C: remove dead header lyx_main.h
9872 2002-08-07 Angus Leeming <leeming@lyx.org>
9875 * paragraph_pimpl.h:
9876 Forward declare class Counters in paragraph.h by moving the ctrs member
9877 variable into Paragraph::Pimpl.
9878 (counters): new method, returning a reference to pimpl_->ctrs.
9880 * text2.C: ensuing changes.
9882 2002-08-07 John Levon <levon@movementarian.org>
9884 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9886 * BufferView_pimpl.C: announce X selection on double/triple
9889 * lyx_main.C: use correct bool in batch dispatch
9891 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9893 2002-08-07 André Pönitz <poenitz@gmx.net>
9895 * funcrequest.h: new class to wrap a kb_action and its argument
9898 * BufferView_pimpl[Ch]:
9902 * lyxrc.C: subsequent changes
9905 2002-08-07 John Levon <levon@movementarian.org>
9907 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9908 document options change.
9910 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9915 * makefile.am: move counters functionality over from
9916 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9918 2002-08-06 John Levon <levon@movementarian.org>
9920 * WordLangTuple.h: new file for word + language code tuple
9931 * BufferView2.C: use WordLangTuple
9934 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9936 2002-08-06 John Levon <levon@movementarian.org>
9938 * lyx_main.C: fix cmdline batch handling
9940 2002-08-06 André Pönitz <poenitz@gmx.net>
9942 * lyxrc.C: set default for show_banner to true
9944 2002-08-06 John Levon <levon@movementarian.org>
9946 * pspell.C: fix a crash, and allow new aspell to work
9948 2002-08-06 John Levon <levon@movementarian.org>
9951 * kbmap.C: small cleanup
9954 * vspace.C: add const
9956 2002-08-05 John Levon <levon@movementarian.org>
9958 * LyXAction.C: back to tabular-insert
9960 2002-08-04 John Levon <levon@movementarian.org>
9963 * BufferView.C: cosmetic change
9965 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9975 * BufferView2.C: purge all "Lyx" not "LyX" strings
9978 * lyxcursor.C: attempt to add some documentation
9983 * ToolbarDefaults.C:
9984 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9985 merge with LFUN_TABULAR_INSERT
9992 * pspell.C: split up i/pspell implementations into separate
9993 files, many cleanups
9995 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9997 * text2.C: some cleanup
9999 * lyxfunc.C: don't check for isp_command == "none" any more, it
10000 didn't make any sense
10002 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10007 * makefile.am: move counters functionality over
10008 from text2.C/paragraph.[Ch] to counters.[Ch], and
10010 2002-08-02 John Levon <levon@movementarian.org>
10012 * buffer.C: s/lyxconvert/lyx2lyx/
10014 2002-08-02 Angus Leeming <leeming@lyx.org>
10016 * lyxlex.C: revert John's change as it breaks reading of the user
10019 2002-08-02 Angus Leeming <leeming@lyx.org>
10021 * importer.C (Import):
10022 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10023 changes due to LyXView::view() now returning a boost::shared_ptr.
10025 2002-08-02 John Levon <levon@movementarian.org>
10027 * lyxlex.C: small cleanup
10029 2002-08-02 John Levon <levon@movementarian.org>
10031 * text2.C (status): small cleanup, no logic change
10033 2002-08-01 John Levon <levon@movementarian.org>
10036 * buffer.C (writeFile): don't output alerts, caller
10040 * lyx_cb.C: from above
10042 * lyxfunc.C: allow to open non-existent files
10044 2002-07-31 John Levon <levon@movementarian.org>
10046 * lyxserver.C: don't let incidental errors get
10049 2002-07-30 John Levon <levon@movementarian.org>
10051 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10053 2002-07-30 John Levon <levon@movementarian.org>
10056 * lyxserver.C: remove I/O callback too
10058 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10060 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10063 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10065 * many files: strip,frontStrip -> trim,ltrim,rtrim
10067 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10069 * PrinterParams.h: remove extern containsOnly, and include
10070 support/lstrings.h instead.
10072 * LaTeX.C (scanAuxFile): modify because of strip changes
10074 * buffer.C (makeLaTeXFile): ditto
10075 * bufferparams.C (writeFile): ditt
10076 * lyxfont.C (stateText): ditto
10077 * lyxserver.C (read_ready): ditto
10078 * vc-backend.C (scanMaster): ditto
10080 * BufferView_pimpl.h: ws changes
10082 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10084 2002-07-26 André Pönitz <poenitz@gmx.net>
10086 * kb_sequence.C: remove unnedred usings
10088 2002-07-26 Juergen Vigna <jug@sad.it>
10090 * lyxfind.C (LyXReplace): we have to check better if the returned
10091 text is not of theLockingInset()->getLockingInset().
10093 2002-07-25 Juergen Vigna <jug@sad.it>
10095 * lyxfind.C (LyXReplace): don't replace if we don't get the
10098 * undo_funcs.C (createUndo): remove debugging code.
10100 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10102 * buffer.C (parseSingleLyXformat2Token): Use default placement
10103 when reading old floats.
10105 * FloatList.C (FloatList): Change the default placement of figure
10106 and tables to "tbp".
10108 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10110 * MenuBackend.C: using std::max
10112 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * MenuBackend.C (expandToc):
10115 (expandToc2): code moved from xforms menu frontend. It is now
10116 generic and TOCs are transparent to menu frontends.
10118 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * toc.C (getTocList): protect against buf=0
10122 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10123 Menu as first parameter. Now, this calls itself recursively to
10124 expand a whole tree (this will be useful for TOC handling)
10125 (expandFloatInsert): remove 'wide' version of floats
10127 * MenuBackend.h (submenuname): returns the name of the submenu.
10128 (submenu): returns the submenu itself, provided it has been
10129 created by MenuBackend::expand
10131 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10134 insets which have noFontChange == true. (bug #172)
10136 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10138 * BufferView_pimpl.C: add connection objects and use them...
10141 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10143 * MenuBackend.C (expandLastfiles):
10146 (expandFloatListInsert):
10147 (expandFloatInsert):
10148 (expand): split expand in parts
10150 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10152 * lyx_gui.C: use lyx_gui::exit()
10154 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10156 * LyXAction.C: show the failing pseudo action
10158 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10160 * buffer.C (readFile): Run the lyxconvert script in order to read
10163 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10167 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10169 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10173 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10175 2002-07-22 Herbert Voss <voss@lyx.org>
10178 * lyxlength.[Ch]: add support for the vertical lengths
10180 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10182 * toc.[Ch]: std:: fixes
10184 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * lyxrc.C: do not include lyx_main.h
10188 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10194 * BufferView2.C: include "lyxlex.h"
10197 * bufferparams.h: do not #include "lyxlex.h"
10199 * lyxtextclasslist.C (Add): remove method
10200 (classlist): renamed to classlist_
10202 * paragraph_pimpl.C:
10206 * bufferview_funcs.C:
10211 * toc.C (getTocList): use BufferParams::getLyXTextClass
10213 * toc.C (getTocList): use InsetFloat::addToToc
10215 * toc.[Ch]: new files, containing helper functions to handle table
10218 * lyxfunc.C (dispatch): no need to remove spaces around command
10220 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10221 first command of the sequence; it is not very clever, but I do not
10222 have a better idea, actually
10224 * LyXAction.C (LookupFunc): make sure to remove space at the
10225 beginning and end of the command
10227 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * MenuBackend.C (getMenubar): new method: return the menubar of
10231 (read): treat differently reading of menu and menubar (in
10232 particular, the menubar has no name now)
10233 (Menu::menubar): remove
10235 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10238 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10240 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10241 a bibitem inset in a RTL paragraph.
10243 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10245 * paragraph_pimpl.C: constify
10247 * BufferView_pimpl.C:
10249 * lyxfunc.C: fix dispatch in a nicer way
10251 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * lyxfunc.C (dispatch):
10254 * BufferView_pimpl.C:
10255 * BufferView_pimpl.h:
10257 * BufferView.h: rename Dispatch() to dispatch()
10259 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10261 * lyxlayout.C (Read): honor DependsOn tag
10263 * lyxlayout.[Ch] (depends_on): new method
10265 * version.C.in: update lyx_docversion
10267 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10269 * paragraph.C (validate): remove from here...
10270 * paragraph_pimpl.C (validate): ... and move here
10271 (isTextAt): make it const
10273 * buffer.C (getLists): ws cleanup
10275 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10277 * language.C (read): Use iso8859-1 encoding in latex_lang
10278 (this prevents LyX from crashing when using iso10646-1 encoding).
10280 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10282 * text2.C (toggleInset): if cursor is inside an inset, close the
10283 inset and leave cursor _after_ it
10285 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10287 * lyxfunc.C: move minibuffer completion handling out of here
10289 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10291 * BufferView_pimpl.C:
10292 * LaTeX.C: fix dispatch calls
10294 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10296 * text.C (drawChars): Fix Arabic text rendering.
10298 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10302 * lyxfunc.C: remove message-push/pop
10306 * lyxfunc.C: rationalise some code by removing verboseDispatch
10307 in favour of a bool argument to dispatch()
10309 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10311 * lyx_main.C (init): make sure to read symlinks as absolute paths
10313 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10316 * lyxfunc.C: no need for commandshortcut to be a member
10318 2002-07-15 André Pönitz <poenitz@gmx.net>
10320 * converter.C: add support for $$s (scripts from lib/scripts dir)
10321 * lyx_main.C: white space
10323 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10327 * lyxrc.C: remove second exit confirmation
10329 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10334 * BufferView_pimpl.h:
10335 * BufferView_pimpl.C:
10336 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10338 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * MenuBackend.C (expand): add numeric shortcuts to document menu
10342 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10344 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * lyxfont.C (setLyXFamily):
10353 * buffer.C (asciiParagraph): use ascii_lowercase
10355 2002-07-15 Mike Fabian <mfabian@suse.de>
10357 * lyxlex_pimpl.C (search_kw):
10358 * lyxlex.C (getLongString):
10359 * converter.h (operator<):
10360 * converter.C (operator<):
10361 * buffer.C (parseSingleLyXformat2Token):
10363 * ToolbarDefaults.C (read):
10364 * MenuBackend.C (checkShortcuts):
10366 * LColor.C (getFromGUIName):
10367 (getFromLyXName): use the compare_ascii_no_case instead of
10368 compare_no_case, because in turkish, 'i' is not the lowercase
10369 version of 'I', and thus turkish locale breaks parsing of tags.
10371 2002-07-16 Angus Leeming <leeming@lyx.org>
10373 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10374 now takes a Buffer const & argument.
10376 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10378 * BufferView.C (resize): check there's a buffer to resize
10380 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10382 * lyxfunc.C: remove dead code
10385 * lyxserver.C: use lyx_guii::set_read_callback
10387 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10389 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10390 an inset in a RTL paragraph.
10392 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10394 * lyxfunc.C: repaint after a font size update
10396 2002-07-15 André Pönitz <poenitz@gmx.net>
10398 * lyxlength.C: inBP should be able to return negative values
10400 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10402 * lyxfunc.C: use lyx_gui::update_fonts()
10404 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10406 * lyxfunc.C: use lyx_gui::update_color()
10408 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10414 * lyxrc.C: remove file->new asks for name option, and let
10415 buffer-new take an argument
10417 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10419 * BufferView_pimpl.C: remove unneeded extra repaint()
10421 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10423 * LyXAction.C: allow command-sequence with NoBuffer
10425 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10427 2002-07-10 Angus Leeming <leeming@lyx.org>
10429 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10431 2002-07-09 Angus Leeming <leeming@lyx.org>
10433 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10435 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10437 * lengthcommon.h: whitespace
10439 * lyxfunc.C: update scrollbar after goto paragraph
10441 * lyxtext.h: factor out page break drawing, and fix it so
10442 page break/added space paints as selected nicely
10444 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.C: add FIXMEs, clean up a little
10448 2002-07-09 André Pönitz <poenitz@gmx.net>
10450 * lyxfont.[Ch]: support for wasy symbols
10452 2002-07-08 André Pönitz <poenitz@gmx.net>
10454 * BufferView_pimpl.C: apply John's patch for #93.
10456 2002-07-05 Angus Leeming <leeming@lyx.org>
10458 * BufferView_pimpl.C (buffer): generate previews if desired.
10460 * LColor.h: add "preview" to the color enum.
10462 * LColor.C (LColor): add a corresponding entry to the items array.
10464 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10467 2002-07-05 Angus Leeming <leeming@lyx.org>
10469 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10470 The body of the code is now in the method that is passed an ostream &
10471 rather than a file name.
10472 Pass an additional only_preamble parameter, useful for the forthcoming
10475 2002-07-03 André Pönitz <poenitz@gmx.net>
10477 * lyxfunc.C: simplify getStatus() a bit for math stuff
10479 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10483 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * text.C (changeRegionCase): do not change case of all the
10486 document when region ends at paragraph end (bug #461)
10488 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * paragraph.C (startTeXParParams):
10491 (endTeXParParams): add \protect when necessary
10493 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * BufferView_pimpl.C (workAreaExpose): remove warning
10497 2002-06-27 Angus Leeming <leeming@lyx.org>
10499 * Makefile.am: add lyxlayout_ptr_fwd.h.
10501 2002-06-26 André Pönitz <poenitz@gmx.net>
10503 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10505 2002-06-25 Angus Leeming <leeming@lyx.org>
10507 * lyxfunc.C (dispatch): Comment out the call to
10508 grfx::GCache::changeDisplay. The method no longer exists now that the
10509 pixmap generation part of the graphics loader has been moved into
10512 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * text2.C: layout as layout
10516 * text.C: layout as layout
10518 * tabular.C (OldFormatRead): layout as layout
10520 * paragraph_pimpl.C (TeXDeeper): layout as layout
10521 (realizeFont): layout as layout
10523 * paragraph.C (writeFile): layout as layout
10524 (validate): layout as layout
10525 (getFont): layout as layout
10526 (getLabelFont): layout as layout
10527 (getLayoutFont): layout as layout
10528 (breakParagraph): layout as layout
10529 (stripLeadingSpaces): layout as layout
10530 (getEndLabel): layout as layout
10531 (getMaxDepthAfter): layout as layout
10532 (applyLayout): layout as layout
10533 (TeXOnePar): layout as layout
10534 (simpleTeXOnePar): layout as layout
10535 (TeXEnvironment): layout as layout
10536 (layout): layout as layout
10537 (layout): layout as layout
10539 * lyxtextclass.C (compare_name): new functor to work with
10540 shared_ptr, layout as layout
10541 (Read): layout as layout
10542 (hasLayout): layout as layout
10543 (operator): layout as layout
10544 (delete_layout): layout as layout
10545 (defaultLayout): layout as layout
10547 * lyxlayout_ptr_fwd.h: new file
10549 * lyxlayout.C (Read): layout as layout
10551 * lyx_cb.C (MenuInsertLabel): layout as layout
10553 * bufferlist.C (newFile): layout as layout
10555 * buffer.C (readLyXformat2): layout as layout
10556 (parseSingleLyXformat2Token): layout as layout
10557 (insertStringAsLines): layout as layout
10558 (asciiParagraph): layout as layout
10559 (latexParagraphs): layout as layout
10560 (makeLinuxDocFile): layout as layout
10561 (simpleLinuxDocOnePar): layout as layout
10562 (makeDocBookFile): layout as layout
10563 (simpleDocBookOnePar): layout as layout
10564 (getLists): layout as layout
10566 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10568 * CutAndPaste.C (cutSelection): layout as layout
10569 (pasteSelection): layout as layout
10570 (SwitchLayoutsBetweenClasses): layout as layout
10572 * BufferView_pimpl.C (Dispatch): layout as layout
10573 (smartQuote): layout as layout
10575 * BufferView2.C (unlockInset): layout as layout
10577 2002-06-24 André Pönitz <poenitz@gmx.net>
10579 * lyxfunc.C: fix #487
10581 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10585 * lyxfunc.C: remove display_shortcuts, show_banner
10587 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10589 * Buffer_pimpl.C: oops, update on resize
10591 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView.C: use repaint()
10600 * BufferView_pimpl.h:
10601 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10602 as it's a clearer description. Remove superfluous
10605 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10607 * text.C: fix bug 488. Not ideal, but getting
10608 getWord() to work properly for the insets that
10609 matter is more difficult ...
10611 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10613 * BufferView_pimpl.C:
10616 * lyxfunc.C: remove the six million index lyxfuncs to just
10617 one, and DTRT (bug 458)
10619 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10623 * BufferView_pimpl.h:
10624 * BufferView_pimpl.C: clean up resize() stuff,
10625 and unnecessary updateScreen()s
10627 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10631 * BufferView_pimpl.h:
10632 * BufferView_pimpl.C:
10635 * minibuffer.C: remove focus management of workarea,
10636 not needed. Use screen's greyOut()
10638 2002-06-17 Herbert Voss <voss@lyx.org>
10640 * converter.C: (convert) do not post a message, when converting
10641 fails, let the calling function decide what to do in this case
10643 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10645 * lyxfunc.C: tidy up a little
10647 2002-06-16 <alstrup@diku.dk>
10649 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10650 Got rid of FORMS_H_LOCATION include. Now we are
10653 2002-06-15 LyX Development team <lyx@rilke>
10655 * buffer.[Ch] (sgmlOpenTag):
10656 (sgmlCloseTag): Added support for avoiding pernicious mixed
10657 content. Return number of lines written.
10659 (makeLinuxDocFile):
10660 (makeDocBookFile): Fixed calls to sgml*Tag.
10661 Simple white space clean.
10663 (simpleDocBookOnePar): Simple white space clean.
10665 * tabular.[Ch] (docBook): Renamed to docbook and got another
10666 argument to related with the pernicious mixed content.
10668 (docbookRow): Fixed calls for docbook inset method.
10670 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10672 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10673 so it's X11 independent.
10677 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10679 2002-06-15 Lyx Development team <lyx@electronia>
10681 * intl.h: Renamed getTrans to getTransManager.
10683 2002-06-14 Angus Leeming <leeming@lyx.org>
10685 * Makefile.am: nuke forgotten stl_string_fwd.h.
10687 2002-06-12 Angus Leeming <leeming@lyx.org>
10689 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10691 2002-06-13 Angus Leeming <leeming@lyx.org>
10694 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10696 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10698 * kbmap.C (getiso): add support for cyrillic and greek
10700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10704 * BufferView_pimpl.h:
10705 * BufferView_pimpl.C: move bogus scrolling logic
10708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10711 * BufferView_pimpl.C: view->resize() change
10713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10715 * BufferView_pimpl.C: topCursorVisible
10718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10722 * lyx_gui.C: move to frontends/
10726 * lyx_main.C: changes from above
10728 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10735 * lyx_main.C: minor tidy
10737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10739 * BufferView_pimpl.h:
10740 * BufferView_pimpl.C:
10742 * BufferView.C: make painter() const,
10745 * BufferView2.C: use screen() accessor
10748 * lyx_main.C: some minor cleanup
10750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.h:
10753 * BufferView_pimpl.C: remove enter/leaveView,
10756 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10761 * BufferView_pimpl.h:
10762 * BufferView_pimpl.C: only construct screen once,
10765 * lyxrc.C: remove pointless comment
10767 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10770 * BufferView.C: remove active() and belowMouse()
10772 * BufferView_pimpl.h:
10773 * BufferView_pimpl.C: use workarea() not workarea_,
10774 and make it use a scoped_ptr instead
10776 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10778 * lyx_gui.C: add debug message on BadWindow
10780 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10782 * sp_spell.C: fdopen is not part of the C++ standard.
10784 * paragraph.C (InsetIterator): use >= instead of ==
10786 2002-06-07 Angus Leeming <leeming@lyx.org>
10788 Fixes needed to compile with Compaq cxx 6.5.
10789 * BufferView_pimpl.C:
10796 * lyxtextclasslist.C:
10801 all c-library variables have been moved into namespace std. Wrap
10802 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10807 Add a using std::abs declaration.
10809 * kbmap.h (modifier_pair):
10810 * paragraph.h (InsetTable, InsetList):
10811 * lyxfont.h (FontBits):
10812 type definition made public.
10814 * bufferlist.C (emergencyWriteAll): the compiler complains that
10815 there is more than one possible lyx::class_fun template to choose from.
10816 I re-named the void specialisation as lyx::void_class_fun.
10818 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10820 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10821 the compiler is is unable to find tostr in write_attribute.
10823 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * buffer.C (sgmlError): hide #warning
10827 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * xtl/*: get rid of xtl, which is not in use anyway
10831 * LyXAction.C (init):
10832 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10833 were unimplemented xtl experimentation
10835 2002-06-04 André Pönitz <poenitz@gmx.net>
10837 * lyxfunc.C: disable array operation on simple formulae
10839 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10841 * converter.C: constify a bit
10843 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10845 * lyx_gui.C: check xforms version correctly
10847 2002-04-30 Herbert Voss <voss@lyx.org>
10849 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10852 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10854 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10855 attempt to register it with a VCS)
10857 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10859 * lyx_main.C (init): honor variables LYX_DIR_13x and
10862 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10866 * lyx_main.C: fix a crash on bad command line,
10867 and give a useful exit status on error
10869 * lyxfunc.C (doImport): allow -i lyx to work
10871 2002-03-30 André Pönitz <poenitz@gmx.net>
10873 * lyxfunc.C: mathed font changes
10875 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10890 * trans_mgr.h: srcdocs, and some minor cleanups
10892 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10895 call getFont all the time)
10897 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * switch from SigC signals to boost::signals
10901 2002-05-29 André Pönitz <poenitz@gmx.net>
10903 * paragraph_pimpl.C (getChar): don't call size() too often...
10905 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * paragraph_pimpl.C (insertChar): do not try to update tables when
10908 appending (pos == size())
10910 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10911 in order to reduce drastically the number of comparisons needed to
10912 parse a large document
10914 2002-05-29 André Pönitz <poenitz@gmx.net>
10920 * textclasslist.[Ch]:
10921 * sp_ispell.h: whitespace change
10923 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10926 lyxaction directly now.
10928 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10932 * lyxvc.C: remove unused headers
10934 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10941 * undo_funcs.C: some cleanups. Use shared_ptr
10942 and a template for the undo stacks.
10944 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10946 * BufferView_pimpl.h:
10947 * BufferView_pimpl.C:
10954 * text2.C: use key_state/mouse_state
10956 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10961 * chset.C: change include order
10962 (loadFile): use boost regex and get rid of LRegex and LSubstring
10964 * Makefile.am (BOOST_LIBS): new variable
10965 (lyx_LDADD): use it
10967 * LaTeX.C: change include order.
10968 (scanAuxFile): use boost regex and get rid of LRegex and
10972 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10977 * FontInfo.C: moved to frontends/xforms/
10980 * FontLoader.C: moved into frontends for GUIIzation
10985 * lyxfunc.C: changes from above
10987 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10989 * LColor.C: remove spurious X include
10991 * BufferView_pimpl.C:
10996 * text2.C: move font metrics to frontends/
10998 2002-05-24 Juergen Vigna <jug@sad.it>
11000 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11001 setting the undo_cursor.
11003 * ParagraphParameters.h: include local includes first.
11005 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11007 * BufferView_pimpl.C:
11008 * BufferView_pimpl.h:
11012 * screen.C: move WorkArea into frontends/
11018 * BufferView2.C: move LyXScreen into frontends/
11022 * lyx_gui.C: move lyxlookup into frontends/xforms/
11024 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11027 * BufferView_pimpl.C:
11037 * bufferview_funcs.C:
11050 * vc-backend.C: move LyX/XFormsView into frontends/
11052 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11064 * text2.C: move Painter to frontends/
11066 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * buffer.C: comment out some some code that depend upon lyx_format
11071 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11072 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11074 * buffer.h (NO_COMPABILITY): turn off compability
11076 * ColorHandler.C: include scoped_array.hpp
11078 * font.C: Use more specific smart_ptr header.
11081 * ShareContainer.h: ditto
11082 * lyx_main.h: ditto
11084 * FontInfo.h: ditto
11085 * BufferView_pimpl.h: ditto
11086 * ColorHandler.h: ditto
11088 * kbmap.C (defkey): change call to shared_ptr::reset
11090 2002-05-21 Juergen Vigna <jug@sad.it>
11092 * buffer.C (insertErtContents): fix to insert ert asis if it is
11093 non empty. Skip it completely if it contains only whitespaces.
11095 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11097 * BufferView_pimpl.C:
11098 * BufferView2.C: clear selection on paste (bug 393)
11100 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * DepTable.C: include ctime
11104 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11106 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11108 2002-05-14 Juergen Vigna <jug@sad.it>
11110 * text.C (breakParagraph): fixed function to honor the keepempty
11111 layout in the right maner and also to permit the right breaking
11112 algorithm on empty or non empyt keepempty paragraphs.
11114 * paragraph.C (breakParagraph): we have to check also if the par
11115 is really empty (!size()) for isempty otherwise we do the wrong
11118 2002-05-10 Juergen Vigna <jug@sad.it>
11120 * buffer.[Ch] : The following are only changes to the ert
11121 compatibility read reading old LaTeX layout and font stuff and
11122 convert it to ERTInsets.
11124 * buffer.h: added isErtInset().
11126 * buffer.C (struct ErtComp): add a fromlayout bool to check
11127 if we're inside a LaTeX layout.
11128 (isErtInset): new helper function.
11129 (insertErtContents): look for other ert insets before this one
11130 and insert the contents there, so that we don't have subsequent
11131 ERT insets with nothing between them. This way we create only one
11132 inset with multiple paragraphs. Also check if we don't insert only
11133 spaces ' ' as they are ignored anyway afterwards in the .tex file
11134 so if we have only spaces we will ignore this latex part in the
11136 (parseSingleLyXformat2Token \\layout): better compatibility when
11137 reading layout-latex stuff.
11138 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11140 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11141 stuff after reading the inset only get the information back from
11144 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11146 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11148 * LaTeXFeatures.C (getBabelOptions): New method.
11150 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * BufferView_pimpl.C (Dispatch): work around missing argument for
11155 2002-05-08 Juergen Vigna <jug@sad.it>
11157 * text.C (leftMargin): handle paragraph leftindent.
11159 * paragraph.C (writeFile): write the new \\leftindent tag.
11160 (validate): handle leftindent code.
11161 (TeXEnvironment): handle paragraphleftindent code again.
11163 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11165 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11166 for paragrap_extra indent code and new token \\leftindent.
11167 (latexParagraphs): handle the leftindent as environment.
11169 * ParameterStruct.h: added leftindent support.
11171 * ParagraphParameters.C (leftIndent): added support functions for
11172 the paragraph left indent.
11174 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11177 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11179 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11182 * text.C (computeBidiTables): No bidi in insetERT.
11184 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11187 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * version.C.in: pre 5
11191 2002-05-02 José Matos <jamatos@fep.up.pt>
11192 * buffer.C (makeDocBookFile): white space changes, add newline to
11194 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11196 * tabular.C (docBook): fix typo.
11198 2002-05-03 Juergen Vigna <jug@sad.it>
11200 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11201 change in LyXText as we can not be sure it was not freed.
11202 (drawOneRow): remove unused code.
11204 * text.C (drawInset): redo the calculation of the need_break_row as
11205 it could have a row which was already freed.
11206 (draw): look at the return value of drawInset and return false if
11207 it also returned false.
11208 (paintRowText): look at the return value of draw and return false if
11209 it also returned false.
11211 * lyxtext.h: added bool return type to drawInset() and draw() so that
11212 if we have a change in the row so that the rowbreak has to be redone
11213 we abort drawing as it will be called again.
11215 2002-05-02 Juergen Vigna <jug@sad.it>
11217 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11218 a change in the maintext also if we're inside an inset.
11219 (Dispatch): set the cursor again after a break line and after the
11220 screen has been updated as it could be we're in a different row.
11222 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11223 to set the cursor behind the pargraph with > size().
11224 (setCursor): check also for the same paragraph when checking where
11225 to put the cursor if we have a NFR inset.
11227 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11228 parts of layout read further up as it still was in the wrong
11231 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * screen.C (drawFromTo): change sine fullRebreak always return
11236 * buffer.C (parseSingleLyXformat2Token): reindent some
11238 * BufferView_pimpl.C (update): change since fullRebreak always
11240 (Dispatch): git rid of the last hardcoded "Standard"s.
11242 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11244 * text2.[Ch] (fullRebreak): make it return void now that we always
11247 2002-04-30 Juergen Vigna <jug@sad.it>
11249 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11250 ert compatibility check for "latex" layout.
11252 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11254 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11255 minipages: use col% instead of p%, and also use the current font.
11256 (makeLaTeXFile): Fix use babel condition.
11257 (parseSingleLyXformat2Token): Correct font when reading old floats.
11259 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11261 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11262 inserting list of floats.
11264 2002-04-25 Herbert Voss <voss@lyx.org>
11266 * MenuBackend.C (expand): don't add the graphics extensions to the
11269 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11272 non-existing layout, do not complain if it was the default layout
11273 of the original class (bug #342)
11275 2002-04-24 Juergen Vigna <jug@sad.it>
11277 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11278 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11280 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11282 * buffer.C (getBibkeyList): If using \bibliography, return the
11283 option field with the reference itself. Enables us to provide natbib
11284 support when using \bibliography.
11286 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11288 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11290 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11291 natbib is provided by the LaTeX class.
11293 2002-04-23 Juergen Vigna <jug@sad.it>
11295 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11298 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11300 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11304 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11305 ensuremath around textordmasculine, textordfeminine and
11308 2002-04-19 Juergen Vigna <jug@sad.it>
11310 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11311 reinitializing the buffer otherwise row-dimensions may be wrong.
11312 (update): reset also the selection cursors if they do exits otherwise
11313 their x/y positions may be wrong.
11315 * text2.C (cursorDown): don't enter the inset if we came from a row
11316 above and are one row over the inset.
11318 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11319 really leaving an inset.
11321 2002-04-18 Juergen Vigna <jug@sad.it>
11323 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11324 of the selected paragraph does not have the selected layout also if
11327 * text2.C (setLayout): fixed bug which did not change last selected
11330 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11331 changed the read and substituted \\end_float with \\end_inset!
11333 * BufferView_pimpl.C (cursorPrevious):
11334 (cursorNext): fixed to make it work with rows heigher than the work
11335 area without moving the cursor only the draw of the row.
11336 (workAreaMotionNotify): fix jumping over high rows.
11338 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11343 2002-04-16 Juergen Vigna <jug@sad.it>
11345 * text2.C (setCursor): set also the irow().
11346 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11348 (cursorDown): support for locking an inset if the x_fix value goes
11349 inside it. That way I can transverse insets too with cursor up/down.
11351 * lyxrow.h: added irow helper function same as other (i) functions.
11353 * BufferView_pimpl.C (cursorPrevious):
11354 (cursorNext): fixed for insets!
11356 2002-04-15 Juergen Vigna <jug@sad.it>
11358 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11359 position otherwise it is wrong in some cases.
11361 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11362 inside the inset before the call.
11364 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11366 * buffer.[Ch] (getBibkeyList): make it const.
11368 2002-04-12 Juergen Vigna <jug@sad.it>
11370 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11372 * text2.C (getCursorX): new helper function
11373 (setCursor): compute also ix_
11374 (setCursorFromCoordinates): set also ix.
11376 * lyxcursor.h: added ix_ and helper functions.
11378 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11380 * buffer.C (insertStringAsLines): dont break paragraph if the this
11381 paragraph is inside an inset which does not permit it!
11383 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11384 also with no chars on this paragraph.
11385 (paintRowText): only paint stuff if it's inside the workarea!
11387 * paragraph.C (breakParagraph): honor keepempty flag and break the
11388 paragraph always below not above.
11390 * BufferView2.C (unlockInset): update the paragraph layout on inset
11391 unlock as we changed paragraph in such a case.
11393 * lyxfind.C (LyXFind): clear the former selection if not found!
11395 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11396 again called in insertChar().
11398 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11399 an inset which uses the whole row!
11400 (rightMargin): ditto.
11401 (insertChar): force a rebreak if we inserted an inset!
11403 2002-03-28 Herbert Voss <voss@lyx.org>
11405 * lyxlength.[Ch]: add inBP() to get the right PS-point
11406 units (BigPoint). With inPixels we have rounding errors
11408 2002-04-11 Juergen Vigna <jug@sad.it>
11410 * text2.C (setCursorFromCoordinates): set iy to the right value.
11411 (setCursor): add check if row->previous exists!
11413 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11414 an old float_type as this was the case in the old code!
11416 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11418 * BufferView2.C (showLockedInsetCursor): use iy
11419 (fitLockedInsetCursor): ditto
11421 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11422 locked insets as there we have the right value now.
11424 * lyxcursor.C: added iy_ variable and iy functions to set to the
11425 baseline of cursor-y of the locked inset.
11427 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11428 (setCursor): fixed for insets which need a full row.
11430 * text.C (rowLastPrintable): don't ignore the last space when before
11431 an inset which needs a full row.
11432 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11433 as last character of a row when before a inset which needs a full row.
11435 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11437 * version.C.in: update date
11439 * text2.C (fullRebreak): try to always return true and see what
11442 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * MenuBackend.C (expand): use Floating::listName
11446 * FloatList.C (FloatList): add listName argument to the built-in
11449 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11450 text associated with the float.
11452 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11456 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * ShareContainer.h: add a couple of missing typenames.
11460 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11462 * lyxrc.C (getDescription): use _() correctly rather than N_().
11464 2002-03-28 Herbert Voss <voss@lyx.org>
11466 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11467 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11469 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11471 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11472 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11474 2002-03-29 Juergen Vigna <jug@sad.it>
11476 * lyxfunc.C (dispatch): add a missing fitCursor call.
11478 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11479 it was scrolled by a cursor move, so return the bool status.
11481 * BufferView.C (fitCursor): return the bool flag also to the outside
11482 world as this is needed.
11484 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11486 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11487 call the edit() as it is not needed (and wrong) IMO.
11488 (workAreaButtonPress): set the screen_first variable before evt.
11489 unlock the inset as this may change screen_first and then we have
11490 a wrong y position for the click!
11492 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11494 * MenuBackend.C (expand): another translation that I missed
11496 2002-03-28 Juergen Vigna <jug@sad.it>
11498 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11500 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11502 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11504 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11506 * MenuBackend.C (expand): fix export/view/update when there is no
11509 2002-03-27 Herbert Voss <voss@lyx.org>
11511 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11514 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * bufferview_funcs.C (currentState): only show paragraph number
11517 for is DEVEL_VERSION is set.
11519 * lyxfunc.C (dispatch): put warning in INFO channel
11521 * MenuBackend.C (expand): translate the name of floats
11523 * FloatList.C (FloatList): mark the float names for translation
11525 * converter.C (convert): use LibScriptSearch
11527 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * MenuBackend.C (defaults): fix default menu (we might as well get
11532 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11537 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * lyxvc.C: reorder includes.
11541 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11543 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11546 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11548 * CutAndPaste.C: change layouts earlier on paste
11549 to avoid crashing when calling getFont()
11551 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11553 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11556 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11558 * WorkArea.C: remove 'Pending' debug message.
11560 * most files: ws cleanup
11562 * buffer.[Ch]: ws changes
11564 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11566 2002-03-21 Juergen Vigna <jug@sad.it>
11568 * tabular.C (SetMultiColumn): collapse also the contents of the
11569 cells and set the last border right. Added a Buffer const * param.
11571 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11573 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11576 2002-03-19 Juergen Vigna <jug@sad.it>
11578 * text2.C (clearSelection): reset also xsel_cache.
11580 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11581 where it needs to be called (John tells us to do so too :)
11582 (selectionLost): reset sel_cache.
11584 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11586 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * text2.C (setCursorIntern): put debuging code in INSETS channel
11590 2002-03-19 André Pönitz <poenitz@gmx.net>
11592 * lyxfunc.C: tiny whitespace change
11594 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11596 * ToolbarDefaults.C (init):
11597 * LyXAction.C (init):
11599 * BufferView_pimpl.C (Dispatch):
11600 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11602 2002-03-19 Allan Rae <rae@lyx.org>
11604 * exporter.C (Export): removeAutoInsets before doing anything else.
11605 While I've just introduced a dependency on BufferView this really is
11606 the best place to clean the buffer otherwise you need to cleanup in
11607 a dozen places before calling export or cleanup in a dozen functions
11610 * converter.C (runLaTeX):
11611 (scanLog): Better handling of removeAutoInsets and screen updates.
11613 * lyxfunc.C (dispatch): small whitespace changes
11615 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * WorkArea.C (C_WorkAreaEvent): return a value.
11618 (event_cb): return 1 if we handled the event, 0 otherwise.
11620 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11622 2002-03-18 Juergen Vigna <jug@sad.it>
11624 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11625 (GetAdditionalWidth): ditto.
11626 (RightLine): ditto.
11629 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11630 inset if we're there actually (probably not used right now but this
11631 is the direction to go for unifying code).
11632 (paste): disable code to clear the selection.
11634 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11635 inside an InsetText and move the check further up as it is in the
11638 * text2.C (pasteSelection): set a selection over the pasted text.
11640 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11642 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11643 and libgraphics to build on Cygwin.
11645 2002-03-15 Juergen Vigna <jug@sad.it>
11647 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11648 inserting an Inset into the paragraph. I know this is not the best
11649 fix but we already use current_view in CutAndPaste so we will remove
11650 all of it's using at the same time.
11652 * buffer.C (sgmlError): deactivated function till it is rewritten in
11653 the right mode, now it can create problems.
11655 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11656 before accessing it.
11658 2002-03-14 Juergen Vigna <jug@sad.it>
11660 * undo_funcs.C (textHandleUndo): do the right thing when updating
11661 the inset after the undo/redo.
11663 * text2.C (setCursor): just some testcode for #44 not ready yet.
11665 * undo_funcs.C (textHandleUndo): set the next() and previous()
11666 pointers of the paragraph to 0 before deleting otherwise we have
11667 problems with the Paragraph::[destructor].
11669 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11670 on a paragraph insertion.
11672 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11674 * buffer.C (asciiParagraph): use += operator for char append to
11677 * paragraph.C (getFontSettings): compare >= not just >
11678 (highestFontInRange): ditto
11681 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * paragraph.C: change several algorithm to be more appripriate for
11684 the problem domain. This is lookip in FontList and in the InsetList.
11686 2002-03-13 André Pönitz <poenitz@gmx.net>
11689 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11691 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11696 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11698 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * Painter.C (display): anon helper function, adjust code for this
11702 (pixmap): remove function.
11704 * Painter.h: remove private display variable.
11706 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11708 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11710 * WorkArea.[Ch]: remove figinset_canvas cruft.
11712 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * lyxtextclass.C (operator): add one item cache optimization.
11716 * bufferlist.h: doxy changes
11718 * bufferlist.C: ws changes
11720 * DepTable.[Ch] (ext_exist): place const in the right spot.
11722 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11724 (workAreaExpose): call resizeInsets when the with BufferView changes.
11725 (Dispatch): adjust for protectedBlank removal
11726 (specialChar): call updateInset if the insert went ok.
11728 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11729 specialChar instead.
11731 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11733 * BufferView.h: doxy change
11735 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11737 * lyxtextclass.C (operator[]): remove non-const version
11738 (defaultLayout): remove non-const version
11740 2002-03-12 Juergen Vigna <jug@sad.it>
11742 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11743 did resize the LyXText too.
11745 * buffer.C (readLyXformat2): set layout information on newly allocated
11748 * tabular.C (OldFormatRead): set layout information on the paragraph.
11750 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11752 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11754 2002-03-11 Juergen Vigna <jug@sad.it>
11756 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11758 (resizeCurrentBuffer): force also the insets to resize themselfes.
11759 (moveCursorUpdate): fixed up for InsetText.
11761 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11764 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11765 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11766 value of Dialogs::tooltipsEnabled().
11767 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11769 2002-03-08 Juergen Vigna <jug@sad.it>
11771 * BufferView_pimpl.C (updateInset): update inset inside inset also
11772 if it isn't inside theLockingInset().
11774 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * buffer.C (asciiParagraph): redo some of the word and line length
11778 (getLists): look for Caption instead of caption.
11780 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11782 * buffer.C (Buffer): initialize niceFile to true
11784 (makeLinuxDocFile):
11785 (makeDocBookFile): make sure niceFile is true on exit
11787 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11789 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11791 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11793 * LyXSendto.C: remove.
11794 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11795 * lyx_gui.C: remove now-redundant comment.
11796 * ColorHandler.h: remove forward declaration of class WorkArea.
11797 * lyxfunc.C: remove #include "WorkArea.h".
11799 2002-03-07 Juergen Vigna <jug@sad.it>
11801 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11802 got moved away with the DEPM and also set the inset_owner always
11803 right which before could have been omitted.
11805 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11808 wanted layout is not found.
11810 2002-03-07 Juergen Vigna <jug@sad.it>
11812 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11814 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * paragraph.C (breakParagraph): use default layout not layout of
11818 (Paragraph): clear ParagraphParameters.
11820 2002-03-06 Juergen Vigna <jug@sad.it>
11822 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11823 otherwise it would not be a valid lenght. Fixed a special case in
11824 the minipage compatibility read where we end the document with a
11827 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11828 was set as it could be 0 for InsetTexts first entry.
11830 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * paragraph.C (writeFile): if layout is empty write out
11833 defaultLayoutName().
11835 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11836 file without named layout we set layout to defaultLayoutName().
11838 2002-03-06 Juergen Vigna <jug@sad.it>
11840 * CutAndPaste.C (copySelection): set layout for new paragraph.
11842 * text.C (prepareToPrint): leave ERT inset left aligned
11843 (leftMargin): don't indent paragraphs inside ERT insets
11845 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * paragraph.C (breakParagraph): dont call clear do the work manually
11849 * paragraph.[Ch] (clear): remove function
11851 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11853 * paragraph.C (Paragraph): dont call clear, the work has already
11856 * lyxtextclass.C (operator): assert if n is empty
11858 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11859 work manually instead.
11861 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11863 * BufferView_pimpl.C: protect selectionLost against text == 0
11865 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * text.C (breakParagraph): fix a setting layout to '0' problem.
11869 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11871 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11872 final location of file, for the included files, and graphics.
11874 2002-03-05 Juergen Vigna <jug@sad.it>
11876 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11878 2002-03-04 Juergen Vigna <jug@sad.it>
11880 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11882 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11883 last column of multicolumn cells.
11884 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11886 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11888 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11889 file if it doesn't go to a temporary file.
11891 * buffer.C (sgmlOpenTag):
11892 (sgmlCloseTag): remove extra newline insertion.
11894 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * text.C (getRowNearY): comment out debug msg
11898 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11900 * text2.C: first -> first_y
11902 * text.C (getRowNearY): add some attemts at a possible
11903 optimization, not working.
11905 * tabular.[Ch]: add BufferParams to several function so that newly
11906 created paragraph can be initialized to he default layotu for the
11909 * tabular-old.C (ReadOld): add buf->params to call of Init
11911 * screen.C: rename text->first to text->first_y
11913 * paragraph.C (breakParagraph): always set layout in the broken
11916 * lyxtextclass.C (Read): remove lowercase
11919 (delete_layout): ditto
11921 * lyxtext.h: rename first -> first_y
11923 * lyxlayout.C (Read): remove lowercase
11926 (obsoleted_by): ditto
11928 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11930 * buffer.C (insertErtContents): add params are to InsetERT
11931 (parseSingleLyXformat2Token): add code to check if a paragraphs
11932 layout really exist.
11933 (parseSingleLyXformat2Token): add params to several inset
11935 (asciiParagraph): remove lowercase, do the layout comparisons with
11938 * BufferView_pimpl.C (cursorNext): first -> first_y
11939 (resizeCurrentBuffer): first -> first_y
11940 (updateScrollbar): first -> first_y
11941 (scrollCB): first -> first_y
11942 (workAreaMotionNotify): first -> first_y
11943 (workAreaButtonPress): first -> first_y
11944 (checkInsetHit): first -> first_y
11945 (cursorPrevious): first -> first_y
11946 (cursorNext): first -> first_y
11947 (Dispatch): add buffer_->params to severl inset contructors
11949 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * lyxlayout.C (Read): remove some debug info that I forgot.
11953 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11954 clean up the code slightly.
11955 (makeLinuxDocFile): ditto
11956 (makeDocBookFile): ditto
11958 * text2.C: layout as string
11960 * text.C: layout as string
11962 * paragraph_pimpl.C: layout as string
11964 * paragraph.[Ch]: layout as string
11966 * lyxtextclasslist.[Ch]: layout as string
11968 * lyxtextclass.[Ch]: layout as string
11970 * lyxtext.h: layout as string
11972 * lyxlayout.[Ch]: layout as string
11974 * lyx_cb.C: layout as string
11976 * bufferview_funcs.C: layout as string
11978 * bufferparams.C: layout as string
11980 * buffer.C: layout as string
11982 * LyXView.[Ch]: layout as string
11984 * LaTeXFeatures.[Ch]: layout as string
11986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11988 * BufferView_pimpl.C: change current_layout to string, remove
11993 (workAreaButtonRelease): layout as string
11995 * BufferView2.C (unlockInset): adjust
11997 * vspace.C (asLatexCommand): use an explict temp variable.
11999 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12001 * Makefile.am: use FRONTEND_*
12003 2002-03-01 Juergen Vigna <jug@sad.it>
12005 * tabular.C (SetWidthOfMulticolCell): changed to something better
12006 I hope but still work in progress.
12007 (recalculateMulticolumnsOfColumn): renamed function from
12008 recalculateMulticolCells as it is more appropriate now.
12009 (SetWidthOfCell): calculate multicols better.
12011 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12015 * lyxfunc.C (processKeySym): print sequence also if it is
12016 `deleted' (complete)
12018 * kbsequence.C (print): print sequence even if it is deleted
12019 (complete would be a better word, actually).
12021 * lyxfunc.C (dispatch): print complete options after a prefix key
12023 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12025 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12027 * text2.C (setCharFont): eliminate setCharFont code duplication.
12029 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12031 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12032 LFUN_TABULAR_FEATURE (bug #177)
12034 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12036 * Makefile.am: remove figure.h
12038 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12040 * Bufferview_pimpl.C:
12052 * text2.C: remove #include "lyx_gui_misc.h".
12054 * LaTeX.C: added #include <cstdio>
12056 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12059 that the paragraph following this one can have.
12061 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12063 * vspace.C (asLatexCommand): fix bogus gcc warning
12065 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12067 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12069 * text2.C (setLayout): get rid of redundant code
12071 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12073 * text2.C (incDepth): make sure depth cannot be increased beyond
12076 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12078 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12079 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12081 * PainterBase.h (image):
12082 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12083 a LyXImage const *.
12085 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12089 * BufferView_pimpl.C:
12090 * BufferView_pimpl.h:
12110 * sp_spell.C: remove fig inset, and the crap house of
12111 cards that follows it
12113 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12118 * os2_errortable.h:
12119 * nt_defines.h: move .h into support/
12121 * vms_defines.h: remove
12123 * WorkArea.C: add space in debug output
12127 * buffer.C: add WITH_WARNINGS
12131 * bufferlist.C: s/retrive/retrieve/, add docs
12140 * chset.C: add docs
12142 * lyxgui.C: add ID to X error handler
12144 * lyxtestclass.c: fix typo
12146 2002-02-26 Juergen Vigna <jug@sad.it>
12148 * tabular_funcs.C (write_attribute): changed so that some default
12149 attributes are not written at all.
12150 (getTokenValue): set default values before trying to read the
12151 value so we have the return value always set as default if we don't
12152 find the token we search for.
12154 * tabular.C (Write): write bools as bools not as strings!
12156 2002-02-22 Juergen Vigna <jug@sad.it>
12158 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12159 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12161 * text.C (leftMargin): don't add an indent for paragraphs inside
12162 tabular cells (fix #208).
12164 2002-02-21 José Matos <jamatos@fep.up.pt>
12166 * tabular.C (docBook): fixed support for long tables.
12168 2002-02-20 Juergen Vigna <jug@sad.it>
12170 * text2.C (getFont): get the drawing font of the Inset if this
12171 paragraph is inside an inset (only important for InsetERT for now).
12173 * buffer.C (insertErtContents): use new lanugage params in ERT
12176 * CutAndPaste.C: commenting out seemingly uneeded code.
12178 2002-02-19 Allan Rae <rae@lyx.org>
12180 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12181 Iterators might be simple to use but they also get invalidated.
12182 (removeAutoInsets): renamed saved cursor tracking variables and added
12183 some comments to clarify what everything does.
12185 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12192 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12193 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12196 * vc-backend.h: remove #include "support/syscall.h"
12200 * converter.C: rearrange #includes in Lars' approved fashion.
12202 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12203 forward declare class Timeout in the header file.
12205 * XFormsView.C: changes due to the above.
12207 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12208 similar to LyXView.
12210 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12211 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12213 2002-02-18 José Matos <jamatos@fep.up.pt>
12215 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12218 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12220 * a lot of small ws changes
12221 * add a lot of using std::XXX
12222 * use std construcs some places where approp.
12223 * use some exisint stuff from lyxfunctional where approp.
12224 * Make file changes to use partial linking (lets test this now...)
12226 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12230 remove #include "support/syscontr.h" as it's redundant. Always has been.
12238 change Systemcalls::System to Systemcalls::Wait and
12239 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12240 No change of functionality, just reflects the stripped down Systemcalls
12243 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12245 * debug.[Ch]: add a GRAPHICS type to the enum.
12247 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12249 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12251 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12254 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12256 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12257 match the changes below.
12259 * text2.C (toggleInset): if there is not editable inset at cursor
12260 position, try to see if cursor is _inside_ a collapsable inset
12263 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12265 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12266 document menu has a nice checkbox
12268 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12270 * lyxlength.C (asLatexString): change PW to output as percent of
12273 * lengthcommon.C: change '%' to 't%'
12275 * lyxfunc.C (dispatch): a few comments from Martin
12277 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12281 * BufferView_pimpl.h:
12282 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12285 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * vspace.C (inPixels): fix compiler warning
12289 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12291 * lyxfunc.C (getStatus): fix status message for disabled commands.
12293 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView_pimpl.C: fix crash on close buffer
12296 during selection (#227)
12298 2002-01-27 Herbert Voss <voss@lyx.org>
12300 * buffer.C: link old Figure to new graphic inset
12302 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12304 * FontLoader.C (getFontinfo): Change the latex font names in order
12305 to match the names of type1inst.
12307 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12311 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12312 (extchanged): ditto
12314 (remove_files_with_extension): ditto
12315 (remove_file): ditto
12318 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12319 document is smaller than the work area height. Do not initialize
12320 static variables to 0.
12322 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12326 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12327 LFUN_LAYOUT_PARAGRAPHS.
12329 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12330 tabular. It is possible to provide a possible cell, which will
12331 typically be the actcell from the corresponding insettabular
12333 * lyxfunc.C (getStatus): small cleanup; disable
12334 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12337 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12341 * paragraph.C (startTeXParParams):
12342 (endTeXParParams): new methods. The LaTeX code to
12343 start/end paragraph formatting
12344 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12345 empty (fixes bug #200)
12347 * vspace.C (inPixels): adapt to the change below
12348 (inPixels): [later] more cleanups (remove unused variables)
12350 * lyxlength.C (inPixels): change to use a width and a height as
12353 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12356 Replaced with \paperwidth
12358 * DepTable.C (insert): add std:: qualifier
12360 2002-01-18 Allan Rae <rae@lyx.org>
12362 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12365 * text.C (drawInset): Turned out I didn't know enough about how
12366 rebreaking worked. This fixes most of the redraw problems. I see
12367 an occasional cursor trail when a line is broken now and the cursor
12368 placement can seem out by a few pixels also after a rebreak.
12370 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * buffer.C (parseSingleLyXformat2Token): update because minipage
12373 width is now a LyXLength
12375 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12377 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12380 2002-01-17 Juergen Vigna <jug@sad.it>
12382 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12384 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12385 is set correctly and the inset is updated correctly.
12387 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12389 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12390 the beginning of the loop.
12392 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12394 * lyxrc.C: improve help for use_scalable_fonts
12396 2002-01-17 Allan Rae <rae@lyx.org>
12398 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12400 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12403 make sure to set their inset_owner to the right value (bug #171)
12405 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12408 * DepTable.C: Implement mtime checking to reduce time spent doing
12411 2002-01-16 Juergen Vigna <jug@sad.it>
12413 * tabular.C (GetAdditionalHeight): one of error fixed.
12415 * lyxrc.C (output): small fix in writing use_pspell.
12417 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12419 * sp_base.h: #include LString.h
12421 2002-01-16 Allan Rae <rae@lyx.org>
12423 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12424 Can someone check this please?
12426 * text.C (drawInset): It was possible that p.row would be removed by
12427 breakAgainOneRow upsetting a few other settings. There may be another
12428 small tweak possible by setting need_break_row = 0 when p.row has been
12429 removed but I don't know enough about the logic here.
12431 2002-01-15 Allan Rae <rae@lyx.org>
12433 * text.C (insertChar): removed conditional truism.
12435 * BufferView2.C (removeAutoInsets): More tweaks.
12436 cur_par_prev could be a stray pointer. Check for trailing empty line
12437 in case last line was cur_par and only had an error inset on it.
12439 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12441 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12444 * vc-backend.C (most methods):
12445 * exporter.C (Export):
12446 * converter.C (convert):
12448 * LyXSendto.C (SendtoApplyCB):
12449 * lyxfunc.C (dispatch):
12453 * lyx_cb.C (AutoSave):
12455 * BufferView_pimpl.C (MenuInsertLyXFile):
12456 * buffer.C (runChktex): use Buffer::filePath().
12458 * buffer.h: rename filename to filename_; rename filepath to
12459 filepath_ and make it private
12460 (filePath): new method
12462 * buffer.C (writeFile): use fileName()
12465 * lyx_main.C (init): fix starting of LyX when the binary is a
12466 link from so,ewhere else.
12468 * minibuffer.C: include <cctype> for isprint
12470 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12472 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12473 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12474 name clash with InsetCollapsable's width function.
12476 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * lastfiles.C: include <iterator>
12480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12482 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12485 * buffer.C (makeLaTeXFile): ditto.
12486 Also make loop operation more transparent.
12488 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12490 * ToolbarDefaults.C: remove trailing comma closing namespace.
12492 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12494 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12497 * trans.C (Load): comment out unused variable, allowed.
12499 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12501 * minibuffer.[Ch] (append_char): new method to recieve input from the
12502 drop-down completion browser. If a key was pressed, then recieve this
12503 char and append it to the existing string.
12504 (peek_event): modify the positioning data passed to the completion
12505 browser so that it can be placed above the minibuffer rather than below.
12506 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * LyXAction.C (init): alloe error-next for readonly documents.
12510 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12513 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * bufferlist.C (readFile): create the buffer _after_ checking that
12518 * lyxfunc.C (verboseDispatch): fix handling of arguments
12520 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12522 * lyxrc.C: use string::erase() instead of initializing to "".
12525 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12527 * BufferView_pimpl.h:
12528 * BufferView_pimpl.C:
12531 * text2.C: tell X when we have made a selection for copying
12533 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12535 * BufferView_pimpl.C (MenuInsertLyXFile):
12536 * lyxfunc.C (menuNew):
12538 (doImport): add shortcuts to directory buttons
12540 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12543 * lyxfunc.C (setStatusMessage):
12544 (getStatusMessage): new methods
12545 (getStatus):use setStatusMessage instead of setErrorMessage
12546 (dispatch): when function is disabled, set error message here
12547 [instead of in getStatus previously]
12549 * BufferView_pimpl.C (workAreaButtonRelease): update
12550 toolbar/menubar here too.
12552 2002-01-13 Allan Rae <rae@lyx.org>
12554 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12555 Now seems indestructible. Remaining task is to audit all other
12556 code affected by deleteEmptyParagraphMechanism. One small quirk
12557 left is that an empty document with an error in the preamble can
12558 be made to report an error but no error box appears. I don't know
12560 (removeAutoInsets): Improved comments.
12562 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12565 * Thesaurus.C: update for Aiksaurus 0.14
12567 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * text2.C (firstParagraph): removed member function, all uses
12570 replaces with ownerParagraph
12571 (redoParagraphs): here
12572 (updateInset): here
12573 (toggleAppendix): here
12574 * BufferView2.C (insertErrors): here
12575 (setCursorFromRow): here
12577 2002-01-13 Allan Rae <rae@lyx.org>
12579 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12580 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12581 There is still a way to segfault this although you may have to do this
12582 multiple times: Have an InsetERT with an unknown command in it.
12583 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12584 <down-arrow>, <Enter> again, View->DVI, BANG!
12586 * text2.C (setCursor):
12587 (deleteEmptyParagraphMechanism):
12588 * lyxtext.h (setCursor):
12589 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12590 Making use of the return value may help fix other bugs.
12592 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12594 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12596 * LyXView.C (updateMenubar): call MenuBar::update here
12597 (updateToolbar): but not here
12598 (showState): do not update toolbar/menubar
12600 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12601 should need to care about that.
12603 * lyxfunc.C (verboseDispatch): simplify a bit
12604 (getStatus): have a version which takes a pseudoaction, and
12605 another which requires a (kb_action,string).
12607 * LyXAction.C (retrieveActionArg): make it work also when action
12608 is not a pseudo-action.
12609 (getActionName): simplify a bit
12612 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12614 * lyxfunc.C (verboseDispatch): new families of methods with
12615 several ways to specify a command and a bool to indicate whether
12616 the command name and shortcut should be displayed in minibuffer
12617 (eventually, we could extend that to a finer bitmask like
12618 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12619 (dispatch): the pristine dispatch command which just, well,
12620 dispatchs! Note it still sets its result to minibuffer; I'm not
12623 * lyxfunc.h: remove setHintMessage
12625 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12627 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12629 * BufferView_pimpl.C (specialChar): delete new inset if we have
12630 not been able to insert it.
12632 * kbmap.C: revert to using int instead of kb_action, since all we
12633 are dealing with is pseudo-actions.
12635 * LyXAction.C (searchActionArg): change to return int instead of
12636 kb_action, since the result is a pseudoaction.
12638 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12640 * buffer.C (insertErtContents): Fix (partially) the font bug.
12642 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12644 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12645 as the other one is broken on my machine!
12647 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12650 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12652 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12654 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12655 reflect their actual use. Provide compatibility code for older lyxrc
12658 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12660 change names of popup font variables in line with the changes to lyxrc.C
12662 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12664 * buffer.C (asciiParagraph): avoid outputing a word twice after
12667 * lyxrc.C (getDescription): document that document_path and
12668 template_path can be empty.
12670 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12672 * LaTeXFeatures.C (getMacros):
12673 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12675 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12677 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12679 (getPackages): rename feature "floats" to "float". Use an array to
12680 iterate over 'simple' features (i.e. just a \usepackage). Add
12681 handling of "amsmath" (renamed from "amsstyle").
12683 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12685 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12688 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12690 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12691 FuncStaus::FuncStatus & FuncStaus::some_method().
12693 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12695 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12696 of the func_satus stuff. Edited and massaged in various ways by
12699 * lyxfunc.C (getStatus): use FuncStatus
12701 2002-01-08 Juergen Vigna <jug@sad.it>
12703 * text.C (nextBreakPoint): use function Inset::isChar().
12705 * paragraph.C (TeXOnePar): use function
12706 Inset::forceDefaultParagraphs.
12708 * buffer.C (latexParagraphs): use function
12709 Inset::forceDefaultParagraphs.
12711 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12713 * lyx_gui.C (init): set the style of the menu popups to
12714 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12716 2002-01-07 Juergen Vigna <jug@sad.it>
12718 * text.C (setHeightOfRow): small fix
12719 (prepareToPrint): don't look at alignment if we don't have the place
12722 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12724 * box.C: New file. Move the Box methods and functions out of box.h,
12725 following Lars' suggestion.
12727 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12729 * box.h: #include "support/LOstream.h", needed for inlined function.
12732 * lyxtextclasslist.C: added some using std declarations.
12734 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12736 * box.h: make signed dimensions to allow insets wider than
12737 the screen (bug #162)
12739 * BufferView_pimpl.C: add some insetHit debug
12741 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12743 * vc-backend.C: add FIXME
12745 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12747 * lyxfunc.C (getStatus): enable code for showing math font status
12750 2002-01-07 Juergen Vigna <jug@sad.it>
12752 * text.C (nextBreakPoint): removed debug output not needed anymore.
12754 2002-01-06 Juergen Vigna <jug@sad.it>
12756 * text.C (nextBreakPoint): fixed up this function we had this bug
12757 since ever but now hopefully we break row better.
12758 (insertChar): we have to check if an inset is the next char as it
12759 could now happen that a large inset is causing a break.
12761 2002-01-05 Juergen Vigna <jug@sad.it>
12763 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12764 if it doesn't like to be drawed.
12766 2002-01-04 Juergen Vigna <jug@sad.it>
12768 * BufferView2.C (lockInset): forgot to set a cursor.
12770 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12772 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12774 * FormMathsPanel.C:
12777 * form_maths_panel.C:
12778 * form_maths_panel.h:
12779 * form_maths_panel.fd: implemented sub- and super- buttons in math
12782 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12783 (or ^ space) to be used as in TeX (req'd by André).
12785 * lyxfunc.C: Allow ^ and _ again to be used both as
12786 super/subscript (mathed) and as themselves (in text).
12788 2002-01-03 Allan Rae <rae@lyx.org>
12790 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12791 "LyX" or the filename of the current buffer if it has one. This is a
12792 modified form of John Levon's patch.
12794 * XFormsView.C (setWindowTitle): also set icon title.
12796 * LyXView.h (setWindowTitle): signature changed.
12797 * XFormsView.h (setWindowTitle): ditto.
12799 2002-01-02 Juergen Vigna <jug@sad.it>
12801 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12803 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * screen.C (topCursorVisible): introduce a temp var for
12806 text->cursor.row(), handle the case where this row is null. (kindo
12809 * text2.C (setCursor): add a couple of asserts.
12811 * paragraph.h (inset_iterator): add -> operator
12813 * paragraph.[Ch] (autoDeleteInsets): remove member function
12815 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12816 cursor pos correctly and handle inset deletion by itself.
12817 (insertErrors): move iterator declaration out of for expression
12819 * lyxtextclass.C: add <algorithm>
12821 * Makefile.am: added the new files to sources, removed layout.C
12823 * layout.C: removed file
12825 * layout.h: remove LYX_DUMMY_LAYOUT
12827 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12831 * lyxtextclass.[Ch]:
12832 * lyxtextclasslist.[Ch]: new files
12834 * include order changes to a lot of files, also changes because of
12837 2001-12-27 Juergen Vigna <jug@sad.it>
12839 * buffer.C (asciiParagraph): more fixes.
12841 * tabular.C (ascii): make ascii export support export of only the
12842 data separated by a column-delimiter.
12843 (ascii): better support for ascii export.
12845 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12847 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12849 * tabular_funcs.C: use a "using std::getline" instead of the
12850 previous fix from Angus (necessary for cxx + lyxstring)
12852 2001-12-24 Juergen Vigna <jug@sad.it>
12854 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12856 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12857 problems. First check a minipage also if we have some ert-contents
12858 (not only on par->size(), second set the right depth of the paragraph
12859 on the relink to the root-paragraph-list!
12861 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12862 which then did not anymore update the main paragraphs on undo/redo!
12864 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12867 code. Support all font-changing funcs (even those which are not in
12868 menu currently). Support for reporting font settings in
12869 mathed (disabled until Andre provides a function on mathed's side).
12871 * func_status.h (toggle): small helper function to set toggle
12874 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12876 * tabular_funcs.C: getline -> std::getline
12878 2001-12-21 Juergen Vigna <jug@sad.it>
12880 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12881 accessed and could be 0 (I couldn't generate this but it seems
12884 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12887 * tabular_funcs.h: here and include iosfwd
12889 2001-12-20 Juergen Vigna <jug@sad.it>
12891 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12892 inside inset but undo_par was.
12894 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12896 * Thesaurus.C: always include <config.h> in sources.
12900 * box.h: do not include <config.h> in header files
12902 * text.C (paintLastRow): remove unused variable
12904 * text.C (transformChar):
12906 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12908 * Painter.C (text):
12909 * font.C (width): rewrite to use uppercase() instead of
12912 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12914 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12916 * lyxfind.C: clean up of find failure position change
12918 2001-12-20 Juergen Vigna <jug@sad.it>
12920 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12922 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12923 (TeXRow): added to LaTeX a single tabular row.
12924 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12925 (Latex): simplified and finally good LT-h/f support.
12926 (various_functions): just small adaptions for LT-h/f support.
12928 * tabular_funcs.[hC]: added and moved here all not classfunctions
12931 2001-12-19 Juergen Vigna <jug@sad.it>
12933 * tabular.[Ch]: better support for longtabular options (not finished
12936 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12938 * text.C (paintLastRow): use the label font instead of the font of
12939 the last character to compute the size of *_BOX. This makes more
12940 sense and avoids a crash with empty paragraphs.
12941 Use Painter::rectangle to draw EMPTY_BOX.
12943 2001-12-19 Juergen Vigna <jug@sad.it>
12945 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12946 the paragraphs if the replaced paragraph is not the first one!
12947 Tried to delete not used paragraphs but does not work yet so for
12948 now it's inside #ifdef's and by default off!
12950 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12952 * MenuBackend.C: include "lyx_main.h" instead of declaring
12953 lastfiles (actually was declared as LastFiles* instead of a
12956 2001-12-17 Juergen Vigna <jug@sad.it>
12958 * tabular.C (AppendColumn): applied John's fix
12960 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12964 * BufferView_pimpl.h:
12965 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12968 * box.h: new start of class for above
12970 * lyxfunc.C: ignore space-only minibuffer dispatches.
12971 Show the command name when it doesn't exist
12973 * minibuffer.C: don't add empty lines to the history
12975 * minibuffer.C: add a space on dropdown completion
12977 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12979 * text.C: fix line above/below drawing in insets
12981 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12983 * lyxlength.C (LyXLength): Initialize private variables.
12985 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12988 when inserting error insets.
12990 2001-12-13 Juergen Vigna <jug@sad.it>
12992 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12993 actually sometimes the before-paragraph.
12994 (setUndo): don't clear the redostack if we're not actually undoing!
12996 2001-12-06 Juergen Vigna <jug@sad.it>
12998 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12999 and fixed redoing of main paragraph, so we can use it now ;)
13001 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13003 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13005 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13008 2001-12-13 André Pönitz <poenitz@gmx.net>
13011 * undo_func.C: minor cleanup
13013 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13015 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13016 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13017 font in urw-fonts package which is marked as -urw-fontspecific and
13018 does not work (incidentally, changing the encoding in the
13019 fonts.dir of this package to -adobe-fontspecific fixes the
13022 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13023 is a crash when undoing first paragraph (Juergen, please take a
13024 look). THis does not mean the undo fix is wrong, just that it
13027 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13028 the (Paragraph*) version when needed instead of duplicating the
13031 * text.C (workWidth): use Inset::parOwner to find out where the
13032 inset has been inserted. This is a huge performance gain for large
13033 documents with lots of insets. If Inset::parOwner is not set, fall
13034 back on the brute force method
13036 * paragraph_pimpl.C (insertInset):
13037 * paragraph.C (Paragraph):
13038 (cutIntoMinibuffer): set parOwner of insets when
13039 inserting/removing them
13041 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13043 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13049 * mathed/formulabase.C:
13050 * mathed/math_cursor.[Ch]:
13051 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13054 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * lyxlength.[Ch] (operator!=): new function
13058 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * text.C (workWidth): use Inset::parOwner to find out where the
13061 inset has been inserted. This is a huge performance gain for large
13062 documents with lots of insets. If Inset::parOwner is not set, fall
13063 back on the brute force method
13065 * paragraph_pimpl.C (insertInset):
13066 * paragraph.C (Paragraph):
13067 (cutIntoMinibuffer): set parOwner of insets when
13068 inserting/removing them
13070 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13072 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13074 * tabular-old.C (getTokenValue):
13075 * tabular.C (getTokenValue):
13076 (write_attribute): new versions for LyXLength
13077 (everywhere): adjust the use of widths
13079 * tabular.h: change the type of widths from string to LyXLength
13081 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13083 * paragraph.C: fixed missing line number count when exporting
13084 Environments to LaTeX file
13086 * buffer.C: added informational message for checking line numbers.
13088 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13090 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13091 paragraph, do the 'double space' part, but not the 'empty
13094 * text.C (workWidth): small optimization
13095 (getLengthMarkerHeight): use minimal size for negative lengths.
13097 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13099 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13101 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13103 2001-12-11 André Pönitz <poenitz@gmx.net>
13106 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13108 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13110 * text2.C: keep selection on a setFont()
13112 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13114 * lyx_cb.C: another bv->text misuse, from insert label
13116 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13119 * kbsequence.C: re-instate nmodifier mask
13121 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13123 * lyx_main.h: make lyxGUI private.
13125 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13127 * lyxfind.C: place the cursor correctly on failed search
13129 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13131 * text.C (getLengthMarkerHeight): for small heights, the arrows
13132 are not always on top/bottom of the text
13133 (drawLengthMarker): smaller arrows; take the left margin in
13134 account; draw also vfills.
13136 (paintLastRow): remove special code for vfill and standard spaces,
13137 since everything is handled in drawLengthMarker now.
13139 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * buffer.C (insertErtContents): try to handle font and language
13142 interaction a bit better.g
13144 * ColorHandler.C (updateColor): change the hash to cover the whole
13145 LColor enum, ws cleanup
13146 (getGCLinepars): ditto
13147 (getGCLinepars): only lookup in the linecache once.
13149 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13151 * iterators.C (operator++): Make the iterator more robust
13153 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13160 * text.C: better added space drawing
13162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13165 * BufferView2.C: fix layout combo update on inset unlock
13167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13169 * Makefile.am: don't compile unused files
13171 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13175 * LyXAction.C: remove old LFUN_LAYOUTNO
13177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13179 * paragraph_pimpl.h:
13180 * paragraph_pimpl.C: isTextAt() doesn't need font param
13182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13185 * lyxlex.C: little cleanup
13187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13189 * BufferView_pimpl.C: fix insertAscii for insets
13191 2001-12-05 Juergen Vigna <jug@sad.it>
13193 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13194 set the right font on the "multi" paragraph paste!
13196 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * lyxlength.C: remove out-commented code.
13204 * BufferView_pimpl:
13218 * vc-backend.C: change "while(" to "while ("
13220 * lyxlength.[Ch]: add zero function to check if length is zero or
13222 * lyxgluelength.C: use it
13224 2001-12-05 Allan Rae <rae@lyx.org>
13226 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13227 Works for 2.95.3, from what I understand of Garst's reports this should
13228 work for other g++ versions. We're screwed if the abs(int) definition
13229 changed between bugfix releases of gcc.
13231 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13233 * text.C: fix chapter label offset !
13235 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13238 * text.C: fix hfill at end of line, clean up
13240 2001-12-04 Juergen Vigna <jug@sad.it>
13242 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13243 that we force an update of the inset and it's owners if neccessary.
13245 2001-12-03 Juergen Vigna <jug@sad.it>
13247 * text.C (rowLast): simplified code
13249 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13251 * lyxfunc.C: fix show options on timeout
13253 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13255 * screen.C (topCursorVisible): scroll half a page when the cursor
13256 reached top of bottom of screen
13258 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13260 * minibuffer.C: deactivate on loss of focus
13262 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13264 * vspace.[Ch] (operator!=): add operator.
13266 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13268 * BufferView_pimpl.C: refuse to open an inset when
13269 there's a selection.
13271 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13273 * BufferView_pimpl.C: allow to click on RHS of full row insets
13275 2001-11-30 Juergen Vigna <jug@sad.it>
13277 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13278 insets for undo reasons.
13280 2001-11-28 André Pönitz <poenitz@gmx.net>
13282 * vspace.[Ch]: cosmetical changes
13284 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13294 * kbsequence.C: part re-write of old kb code
13297 * WorkArea.C: remove Lgb_bug_find_hack
13299 2001-11-30 José Matos <jamatos@fep.up.pt>
13301 * buffer.C (makeDocBookFile): add a comment to point a hack.
13302 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13303 Fixed a double write of labels.
13305 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13308 * LaTeX.h Fixed bug in LaTeX class where it would not
13309 re-run latex if no depfiles were changed, but the .dvi was removed.
13311 2001-11-28 André Pönitz <poenitz@gmx.net>
13313 * all the files from the change on 2001/11/26:
13314 use lyx::layout_type instead of LyXTextClass::size_type
13315 use lyx::textclass_type instead of LyXTextClassList::size_type
13317 2001-11-29 Juergen Vigna <jug@sad.it>
13319 * text.C: added support for paragraph::isFreeSpacing()
13321 * buffer.C: same as above
13323 * paragraph.h: inserted isFreeSpacing() function to enable
13324 FreeSpacing inside InsetERT.
13326 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13327 of the paragraph's in the cut/copy buffer to 0!
13329 * text2.C (removeRow): remove the assert as it can!
13331 * lyxtext.h: added helper function firstRow returning firstrow and
13332 made firstrow private again.
13334 * BufferView2.C (lockInset): don't relock if we're already locked!
13336 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13337 the only paragraph.
13338 (removeRow): added Assert::(firstrow)
13340 * debug.C: forgot to add INSETTEXT here.
13342 2001-11-28 Juergen Vigna <jug@sad.it>
13344 * sp_spell.C (initialize): changed error text to more general
13345 spellchecker command use (not only ispell!)
13347 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13349 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13351 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13353 * vspace.C: initialise lyxgluelength on failure
13355 2001-11-28 Allan Rae <rae@lyx.org>
13357 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13358 declaration & definition that looks like a function declaration.
13360 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13362 * BufferView2.C (copy):
13363 (copyEnvironment): do not clear the selection when doing a copy.
13365 * text.C (paintFirstRow): compilation fix
13367 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13369 * tabular.C (Latex): correct line count when writing latex.
13371 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13373 * paragraph_pimpl.h:
13374 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13377 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13381 * LColor.C: change vfillline->added_space
13383 * text.C: add markers and text for added space
13385 * vspace.C: fix comment
13387 2001-11-28 André Pönitz <poenitz@gmx.net>
13389 * paragraph.C: whitespace changes
13390 * all the other files from the change on 2001/11/26:
13391 change *::pos_type into lyx::pos_type
13393 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13395 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13396 language of the document when inserting error insets.
13398 2001-11-26 André Pönitz <poenitz@gmx.net>
13400 * BufferView_pimpl.[Ch]:
13408 * paragraph_pimpl.[Ch]:
13411 * text2.C: reduce header dependencies, introduce type for positions
13413 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13415 * <various>: change to use Alert.h
13417 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13419 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13420 when encountering an unknown token.
13421 (readLyXformat2): Show an error message if there were unknown tokens.
13423 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13426 * BufferView_pimpl.C:
13430 * text2.C: use par->isInset()
13432 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13434 * paragraph_pimpl.h:
13435 * paragraph_pimpl.C: cleanup
13437 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * text2.C (removeRow):
13440 * text.C (setHeightOfRow): remove useless (and costly) call to
13443 2001-11-20 Allan Rae <rae@lyx.org>
13445 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13446 Now need Inset*::checkInsertChar() to return true for appropriate
13447 cases so that the characters in the minibuffer will actually be
13450 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * text.C: change the order of the includes.
13453 (workWidth): initialize it at once.
13454 (workWidth): make maxw unsigned
13455 (setHeightOfRow): remove unused variable (inset)
13456 (selectSelectedWord): remove unused variable (inset)
13457 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13459 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13461 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13462 server is not running.
13464 (closeConnection): add debug info when server is disabled.
13466 * ColorHandler.C (getGCForeground): send debug message to GUI
13469 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13471 * kbmap.C (bind): modify because return conventions of
13472 kb_sequence::parse have changed.
13474 * kbsequence.C (parse): only ignore spaces and not any stupid
13475 control character. This avoids tests like s[i] <= ' ', which are
13476 guaranteed to fail with 8bit characters and signed chars.
13477 Change return code to string::npos when there have been no error
13478 (0 was a bad idea when error is at first character)
13480 2001-11-14 José Matos <jamatos@fep.up.pt>
13483 * buffer.C (simpleDocBookOnePar): removed unused argument.
13485 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13488 insets which are part of a word. Paragraph::isLetter takes care of
13489 that now. Use Paragraph::isInset to identify insets.
13490 (selectSelectedWord): do not test for hyphenation break.
13492 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13493 that protected spaces are considered as spaces.
13495 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13498 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13501 * lyxserver.C: fix it. and small cleanup.
13503 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13505 * BufferView_pimpl.C: use inline helpers
13508 * LaTeXFeatures.C: fix typos
13511 * Spacing.C: move spacing_string into class
13513 * ToolbarDefaults.C: move stuff into namespace anon
13515 * layout.h: update enum
13517 * lyxfunc.C: use better debug
13519 * minibuffer.h: fix typo
13523 * WorkArea.C: add and use Debug::WORKAREA
13527 * text2.C: code re-organisation, inline helpers
13529 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13531 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13532 std::vector.empty().
13534 2001-11-09 Allan Rae <rae@lyx.org>
13536 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13537 '\n's after tables. Tabular and ERT inset work now makes this no
13540 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13543 * minibuffer.C: fix crash, improve drop-down completion
13545 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13548 * lyxserver.C: invalidate fd's when doing endPipe()
13550 2001-11-08 José Matos <jamatos@fep.up.pt>
13552 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13553 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13556 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13558 2001-11-07 José Matos <jamatos@fep.up.pt>
13561 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13564 * buffer.C (sgmlOpenTag):
13565 * buffer.C (sgmlCloseTag): removed debug info.
13567 * buffer.h (sgmlOpenTag):
13568 * buffer.h (sgmlCloseTag): made public.
13570 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * buffer.C (saveParamsAsDefaults):
13573 * lyx_cb.C (MenuLayoutSave): remove
13575 * LyXAction.C (init):
13577 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13579 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13581 * buffer.C (setPaperStuff): removed from here...
13583 * bufferparams.C (setPaperStuff): ... and moved there.
13585 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13589 * XFormsView.C: add support for drop-down completion
13591 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13593 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13596 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13601 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13603 * lyx_main.C: change ref to known bugs
13605 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13607 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13608 to work around older babel problems.
13610 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13612 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13614 2001-10-24 Juergen Vigna <jug@sad.it>
13616 * tabular-old.C (ReadOld): below variable changes reflected.
13618 * tabular.[Ch]: added ltType struct for longtable header/footer
13619 defines and changed all instances where they are used. Added
13620 future support for double top/bottom rows.
13622 2001-10-24 José Matos <jamatos@fep.up.pt>
13624 * buffer.h (docbookHandleCaption):
13625 * buffer.C (docbookHandleCaption): removed unused function.
13626 (makeDocBookFile): moved docbook supported version to v4.1.
13628 2001-10-24 José Matos <jamatos@fep.up.pt>
13631 * tabular.C (docbookRow): new function to export docbook code of a row.
13632 (DocBook): now honors the longtable flags.
13634 2001-10-23 José Matos <jamatos@fep.up.pt>
13637 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13638 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13640 * buffer.C (makeLinuxDocFile):
13641 (makeDocBookFile): reworked the preamble, more clean, and with
13642 support for lyx defined entities. Changed the document declaration
13643 to be more XML friendly.
13645 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13646 if we need to output XML that should be done with a filter.
13648 2001-10-22 Juergen Vigna <jug@sad.it>
13650 * sp_pspell.h (class PSpell): add alive function needed in the
13651 controller to see if the spellchecker could be started.
13653 2001-10-22 Juergen Vigna <jug@sad.it>
13655 * buffer.C (insertStringAsLines): modify the font for inserting
13656 chars in certain conditions by calling checkInsertChar(font).
13658 2001-10-19 Juergen Vigna <jug@sad.it>
13660 * text.C (workWidth): use getRow instead of wrong algorithm.
13661 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13663 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13668 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13670 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * text.C (workWidth): do not search for the exact row when
13673 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13674 optimization for big documents.
13676 2001-10-18 Juergen Vigna <jug@sad.it>
13678 * text.C (workWidth): new function with added Inset * parameter.
13680 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13682 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13684 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13685 change return type of getColumnNearX.
13688 * text.C (changeRegionCase): use uppercase/lowercase instead of
13691 (rightMargin): simplify code by factoring out the uses of
13696 (appendParagraph): use Paragraph::size_type
13698 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * vspace.C (asLatexString): add a missing break
13702 2001-10-15 Herbert Voss <voss@perce.de>
13704 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13706 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13708 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13711 2001-10-10 André Pönitz <poenitz@gmx.net>
13713 * lyxfunc.C: removed greek_kb_flag.
13715 2001-10-10 Herbert Voss <voss@perce.de>
13717 * lyx_main.C: delete global string help_lyxdir.
13719 2001-10-09 Herbert Voss <voss@perce.de>
13721 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13723 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13725 * lyx_main.C: added global string help_lyxdir.
13727 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13729 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13731 * lyxrc.C (set_font_norm_type): support iso8859-4
13733 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13735 * LaTeX.C (deplog): add another regex for MikTeX
13737 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13739 * lyxrc.C (set_font_norm_type): support iso8859-3
13741 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13743 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13745 * LaTeXFeatures.C: remove special case of french and index
13747 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13748 before \begin{document}). This solves several incompatibilities.
13750 2001-10-03 Garst Reese <reese@isn.net>
13752 * lyx_cb.C: change CheckTex error msg.
13754 2001-10-03 José Matos <jamatos@fep.up.pt>
13756 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13758 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13760 * .cvsignore: update
13762 * lyx_main.C (commandLineVersionInfo): use new style version info.
13764 * buffer.C (writeFile):
13766 (makeLinuxDocFile):
13767 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13769 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13771 * version.h: update to use stuff in version.C
13773 * version.C.in: new file. Contains version information determined
13774 at compile time. This is a merging of version.h and
13777 2001-10-03 Juergen Vigna <jug@sad.it>
13779 * BufferView_pimpl.C (update): don't change "dirty" status in
13782 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13784 * WorkArea.C (c-tor): re-position version string slightly.
13786 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13788 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13789 revert to previous code.
13791 WorkArea.[Ch]: (show, destroySplash): methods removed.
13793 WorkArea.C: rework code so that it's an amalgam of the codes before and
13794 after the splash screen was moved to WorkArea.
13796 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13799 * vspace.C (inPixels):
13802 * buffer.C (insertStringAsLines):
13803 (asciiParagraph): fix types to be large enough
13805 * lyxlex_pimpl.h: change member status from short to int
13807 * layout.h: fix type of endlabeltype
13810 * kbsequence.C (parse): change return type to string::size_type
13812 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13815 * Bullet.C (bulletSize):
13816 (bulletEntry): do not use short ints as parameters
13818 * BufferView2.C (insertLyXFile): change a char to an int.
13820 * WorkArea.C (WorkArea): remove unneeded floats in computation
13822 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13824 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13826 * paragraph.C (asString): Do not ignore newline/hfill chars when
13827 copying to the clipboard.
13829 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13831 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13832 after a multi-line inset.
13834 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13836 * paragraph.C (validate): Set NeedLyXFootnoteCode
13838 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13840 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13841 and decrease-error to decrease.
13843 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13846 it more readable (should be equivalent)
13848 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13850 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13852 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13855 of a cursor (row, etc.) after a character has been deleted
13856 (deleteEmptyParagraphMechanism): call the method above on _all_
13857 cursors held by the LyXText when a double space has been
13860 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13862 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13864 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13866 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13867 background. Use greyOut() and the new show() methods to toggle between
13868 the foreground and background. Add code to remove the splash after
13869 its initial showing.
13871 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13872 (create_forms): no longer call Dialogs::showSplash.
13874 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13876 * .cvsignore: add version_info.h
13878 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13880 * version_info.h.in: new file
13882 * Makefile.am: add version_info.h.in
13884 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13885 version_info.h instead of VERSION_INFO
13887 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13889 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13890 The ERT inset now returns string().
13892 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13894 * lyxtext.h, text.C (selectNextWord): renamed as
13895 selectNextWordToSpellcheck.
13897 * text.C (selectNextWordToSpellcheck): Modified to not select
13898 words inside an ERT inset.
13900 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * lyx_cb.C (MenuLayoutSave): change a bit the question
13904 * sp_base.h: include <sys/types.h>
13906 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13908 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13910 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13912 * several files: fix typos in user-visible strings
13914 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * text2.C (pasteSelection): do not set the selection, since it
13917 will be cleared later. Actually, the intent was to fix the way the
13918 selection was set, but I figured rmoving the code was just as good.
13920 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13922 * FontLoader.C (available): Check if font is available without
13925 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13927 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13929 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13931 * lyxrc.[Ch]: added display_graphics variable and associated code.
13933 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * bufferparams.C (hasClassDefaults): new method. Returns true if
13936 the buffer parameters correspond to known class defaults
13938 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13940 * XFormsView.C (show): set minimum size to the main window.
13942 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13944 * text2.C (copySelection):
13946 * lyxfind.C (LyXReplace):
13947 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13948 LyXText::selectionAsString.
13950 * paragraph.C (asString): add "label" argument to the second form
13952 * text2.C (selectionAsString): add "label" argument and pass it to
13953 Paragraph::asString.
13955 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13957 * lyx_main.C (commandLineHelp): remove version information
13959 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13961 * lyx_main.C: add -version commandline option
13963 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13965 * paragraph.h: make the optional constructor arg required instead.
13966 some modifications to other files because of this.
13968 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13970 * lyxserver.C (C_LyXComm_callback): make it static
13972 * lyx_main.C (error_handler): make it static
13974 * lyx_gui.C (LyX_XErrHandler): make it static
13976 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13978 * WorkArea.C: make the extern "C" methods static.
13980 * Makefile.am (lyx_LDADD): simplify
13982 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13984 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13985 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13987 * LyXAction.C (init):
13988 * lyxfunc.C (dispatch): associated code removal.
13990 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * lyxfont.h (isSymbolFont): shut off warning
13994 * text.C (setHeightOfRow):
13995 (getVisibleRow): fix crash with empty paragraphs which have a
13998 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14000 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14003 2001-09-04 José Matos <jamatos@fep.up.pt>
14006 * tabular.C (docbook): rename docBook method to docbook.
14008 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14010 * Makefile.am: add dependencies to main.o.
14012 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14014 * FontLoader.C (available): Return false if !lyxrc.use_gui
14016 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14018 * FontInfo.C (query):
14019 * converter.C (view):
14020 * importer.C (Import):
14021 * exporter.C (Export): Can not -> cannot.
14023 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14025 * BufferView_pimpl.C: allow to create index inset even if
14028 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14030 * buffer.C (getLists): replace boost::tie code with an explicit pair
14031 as boost::tie can break some compilers.
14033 * iterators.h: Added a std:: declaration to the return type of
14036 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14038 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14041 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14043 * iterators.[Ch]: New files. Provide paragraph iterators.
14045 * buffer.C (changeLanguage): Use paragraph iterators.
14046 (isMultiLingual): ditto
14048 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14050 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14052 * FontLoader.C: Support for cmr font.
14054 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14056 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14057 (available): New method.
14059 * FontInfo.C (getFontname): Use scalable fonts even when
14060 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14063 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14065 * converter.C (Formats::view): reverted! Incorrect fix.
14067 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14069 * converter.C (Formats::view): only output the -paper option
14070 if the dvi viewer is xdvi, thereby fixing bug #233429.
14072 2001-08-23 Herbert Voss <voss@perce>
14074 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14076 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14078 * Spacing.h (Spacing): Set space to Default on in the default
14081 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14083 * vc-backend.h (RCS::versionString): add RCS to version
14084 (CVS::versionString): add CVS to version
14086 * vc-backend.C (scanMaster): do not add CVS to version.
14087 (scanMaster): do not add RCS to version
14089 * lyxvc.C (versionString): new method
14091 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14093 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * Spacing.C (set): initialize fval
14097 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14099 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14102 2001-08-16 Juergen Vigna <jug@sad.it>
14104 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14106 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14108 * BufferView_pimpl.C:
14111 * text2.C: setParagraph takes linespacing now
14113 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14115 * LyxAction.C: add internal LFUN_CITATION_INSERT
14117 * LyXView.C: actually apply fix
14119 * bufferlist.C: fix open non-existent file
14121 * lyxfind.C: fix indentation
14123 * lyxfunc.C: remove unneeded assert, fix typo
14125 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14127 * MenuBackend.C: use "Floatname List"
14129 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14131 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14132 when converting LaTeX layout to insetERT.
14133 Generate a non-collapsed float when reading old float
14135 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14137 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14140 2001-08-13 Juergen Vigna <jug@sad.it>
14142 * text.C (fill): return 0 instead of 20 as this seems to be the more
14145 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14147 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14150 2001-08-13 Juergen Vigna <jug@sad.it>
14152 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14154 (SearchBackward): comment out the unlocking of the inset_owner this
14155 should not be needed!
14157 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14159 * Many files: Remove inherit_language, and add latex_language
14161 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14162 collapsible insets.
14164 2001-08-10 Juergen Vigna <jug@sad.it>
14166 * text.C (prepareToPrint): fixed hfill-width in draw!
14168 * BufferView2.C (selectLastWord): save the selection cursor as this
14169 now is cleared in the function LyXText::clearSelection!
14171 2001-08-08 Juergen Vigna <jug@sad.it>
14173 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14174 BACKSPACE type functions.
14176 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14177 is only cutted from the document but not put in the cut-buffer, where
14178 still the old stuff should be.
14180 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14182 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14184 * tabular.C (SetWidthOfCell): fixed special case where the width
14186 (LeftLine): handle '|' in align_special.
14188 (LeftAlreadyDrawed): ditto
14189 (SetWidthOfCell): ditto
14191 2001-08-07 Juergen Vigna <jug@sad.it>
14193 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14195 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14197 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14198 * lyxlex.[hC]: ditto
14200 2001-08-06 Juergen Vigna <jug@sad.it>
14202 * text.C (getVisibleRow): fix up row clearing a bit.
14204 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * minibuffer.C: make sure the X server sees the changes in the input.
14208 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14210 * paragraph.C (getFont): split into...
14211 (getLabelFont): this
14212 (getLayoutFont): and this
14213 * paragraph_pimpl.C (realizeFont): calling this
14215 * text2.C (getFont): split into...
14216 (getLayoutFont): this
14217 (getLabelFont): and this
14218 (realizeFont): all three calling this
14220 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14223 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14225 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14227 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14229 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14230 layouts from the Quote inset insertion.
14232 2001-08-03 Juergen Vigna <jug@sad.it>
14234 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14236 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14237 only if status not is already CHANGED_IN_DRAW (second level).
14239 * text.C (draw): don't set the need_break_row when inside an
14242 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14244 * buffer.C (parseSingleLyXformat2Token): handle more latex
14247 * bufferview_funcs.[hC]: change function names to
14248 begin with small char, adjust other files.
14250 2001-08-02 André Pönitz <poenitz@gmx.net>
14253 BufferView_pimpl.C: remove broken special code for math-greek
14255 2001-08-02 Juergen Vigna <jug@sad.it>
14257 * BufferView_pimpl.C (update): redone this function so that we
14258 update the text again if there was a CHANGE_IN_DRAW.
14260 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14261 (drawFromTo): added a new internal bool which is used by draw() and
14263 (general): some cursor drawing problems fixed.
14265 2001-08-01 Juergen Vigna <jug@sad.it>
14267 * lyxfind.C (LyXFind): fixed
14268 (SearchForward): ditto
14269 (SearchBackward): ditto
14271 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14272 spurius drawing of the cursor in the main area.
14274 * text2.C (status): small fix which could lead to a segfault!
14275 (clearSelection): remove unneeded BufferView param.
14277 2001-08-01 André Pönitz <poenitz@gmx.net>
14279 * lyxfunc.C: small change due to changed mathed interface
14281 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14285 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14287 * lyxfunc.c: fail gracefully if file doesn't exist
14292 * BufferView_pimpl.C: IsDirWriteable() proto changed
14294 * LyXView.C: fix updateWindowTitle() to store the last title
14296 2001-07-31 Juergen Vigna <jug@sad.it>
14298 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14299 the font (wrong since using of Paragraph::highestFontInRange).
14301 * paragraph.C (highestFontInRange): added a default_size parameter.
14303 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14304 (setHeightOfRow): reformat
14306 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14308 * converter.[hC] + affected files: move to (inital-char)lowercase
14311 * ParagraphParameters.C (ParagraphParameters): remove commented code
14313 * PainterBase.[Ch]: remove commented code
14315 * LaTeXFeatures.h: add "bool floats" for float.sty
14317 * LaTeXFeatures.C (LaTeXFeatures): init floats
14318 (require): handle float
14319 (getPackages): do it with floats
14321 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14323 * BufferView_pimpl.C (Dispatch): improve handling of
14324 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14326 * commandtags.h: #include lyxfont.h here temporarily to avoid
14329 * bufferlist.h: include LString.h here.
14331 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * text2.C (getStringToIndex): new method.
14335 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14337 * *: Reduced header file dependencies all over.
14339 2001-07-30 Baruch Even <baruch@lyx.org>
14341 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14343 2001-07-29 Baruch Even <baruch@lyx.org>
14345 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14347 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * ParameterStruct.h (endif): add a default constructor to make
14350 sure that all variables is initialized.
14352 * ParagraphParameters.C (ParagraphParameters): adjust
14354 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14357 index; also, check that there is something to index, and that it
14358 does not span over several paragraphs.
14359 (doubleClick): use WHOLE_WORD_STRICT for double click.
14361 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14363 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14366 2001-07-26 Baruch Even <baruch@lyx.org>
14368 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14369 an InsetFig figure, backwards compatible reading of old figure code.
14371 2001-07-27 Juergen Vigna <jug@sad.it>
14373 * text2.C: font.realize function adaption.
14375 * text.C (draw): add a warnings lyxerr text if needed.
14377 * layout.C: font.realize function adaption.
14379 * language.C: add inherit_language and implement it's handlings
14381 * bufferview_funcs.C (StyleReset): remove language parameter from
14382 font creation (should be language_inherit now).
14384 * bufferparams.C (writeFile): handle ignore_language.
14386 * paragraph.C (getFontSettings): the language has to be resolved
14387 otherwise we have problems in LyXFont!
14389 * lyxfont.C (lyxWriteChanges): added document_language parameter
14390 (update): removed unneeded language parameter
14392 * paragraph.C (validate): fixed wrong output of color-package when
14393 using interface colors for certain fonts in certain environments,
14394 which should not seen as that on the final output.
14396 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14398 * BufferView_pimpl.C:
14403 * LyXAction.C: add thesaurus support
14406 * lyxfind.C: add "once" parameter, for thesaurus, to not
14407 move to the next match
14409 2001-07-26 Juergen Vigna <jug@sad.it>
14411 * lyxfont.C (realize): honor ignore_language too!
14414 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14416 * text.C (draw): one place more for ignore_language to not draw
14419 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14421 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14423 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14425 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14426 the minipage conversion problem.
14428 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14433 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14435 * BufferView.h: don't forward declare WorkArea
14437 * BufferView.C: don't include WorkArea.h
14439 2001-07-25 André Pönitz <poenitz@gmx.net>
14443 * lyxfunc.C: new LFUN 'math-space'
14445 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14447 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14449 * text2.C (toggleInset): call open/close
14451 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14453 * lyxfunc.C (dispatch): add debug for the disabled case
14455 * font.C (buttonText): make similar to rectText
14457 * buffer.C (readInset): comment out parsing of insetlist and
14460 * PainterBase.C (rectText): small correction
14462 * BufferView_pimpl.C: comment out insettheorem and insetlist
14463 * LyXAction.C: ditto
14464 * commandtags.h: ditto
14466 2001-07-24 Juergen Vigna <jug@sad.it>
14468 * text.C (draw): honor the ignore_language.
14470 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14472 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14474 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14477 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14479 * lyxtext.h: remove unused (and unimplemented) methods
14481 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14483 * text.C (getVisibleRow): honor background color
14486 * Painter.h: remove default color argument for fillRectangle
14488 * text.C (backgroundColor): new method
14490 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14492 * text.C (getVisibleRow): adjust
14494 * font.[Ch] (rectText): new method, metrics
14495 (buttonText): new method, metrics
14497 * PainterBase.[hC]: make rectText and buttonText always draw and take
14500 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14502 * ToolbarDefaults.C (read):
14503 * MenuBackend.C (read): allow escaping in all strings
14505 * BufferView_pimpl.C (insertAndEditInset): new method.
14506 (Dispatch): use insertAndEditInset whenever appropriate.
14508 * BufferView_pimpl.C (insertNote): removed
14510 * BufferView_pimpl.C (smartQuote): new method, moved from
14511 BufferView; if an insetquote cannot be inserted, insert a '"'
14514 * BufferView2.C: remove insertCorrectQuote();
14516 * lyxfunc.C (getStatus): Add support for all remaingin
14517 inset-insert lfuns.
14519 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14521 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14522 command (necessary to pass " as parameter of self-insert.
14524 * text.C (selectWordWhenUnderCursor):
14525 (selectWord): add word_location parameter
14526 (selectWordWhenUnderCursor): same + remove special code for word
14528 (selectNextWord): use kind() to guess type of insetspecialchar,
14531 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14532 (insertErtContents): create ert insets as collapsed.
14533 (readInset): better compatibility code for Info inset.
14535 2001-07-20 Juergen Vigna <jug@sad.it>
14537 * lyxfunc.C (dispatch): use always LyXFind now!
14539 * text2.C (init): add a reinit flag so that the LyXText can be
14540 reinited instead of deleted and reallocated (used in InsetText).
14542 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14548 2001-07-18 Juergen Vigna <jug@sad.it>
14550 * text.C (selectNextWord): handle insets inside inset by calling
14551 always the bv->text functions so that we can go up the_locking_inset!
14553 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14554 in strange locations when inside an inset!
14556 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14557 handling to include insets.
14559 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14561 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * LyXAction.C (init):
14565 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14566 LIGATURE_BREAK, since the name is so stupid.
14568 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14570 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14573 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14575 * sp_form.[Ch]: remove.
14577 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14579 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14582 * src/buffer.C (readInset): ditto.
14584 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14586 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14587 menuSeparator(), endOfSentenceDot(), ldots() and
14588 hyphenationPoint(), which are therefore removed.
14589 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14591 * LyXAction.C (init):
14592 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14594 * paragraph.C (getWord): removed.
14596 * BufferView_pimpl.C (Dispatch): use last word or selection for
14597 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14599 * lyx_main.C (queryUserLyXDir): do not ask before creating
14600 user_dir, except if it has been named explicitely.
14602 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14604 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14605 a document of zero size.
14607 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14609 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14610 approriately in the c-tor and in require().
14611 (getPackages): output the appropriate LaTeX for natbib support.
14613 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14614 variables "use_natbib" and "use_numerical_citations" when reading the
14616 (readInset): read the various natbib cite commands.
14617 (validate): white-space change.
14619 * bufferparams.[Ch]: new variables "bool use_natbib" and
14620 "bool use_numerical_citations".
14621 (writeFile): output them in the LyX file.
14623 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14625 * lyxfunc.C (getStatus): add support for all the inset insertion
14628 * text2.C (insertInset):
14629 * paragraph.C (insetAllowed):
14630 * BufferView_pimpl.C (insertInset): update to take in account the
14631 renaming of insertInsetAllowed
14633 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14635 * text2.C (getInset): new method. returns inset at cursor position.
14637 * BufferView_pimpl.C (Dispatch): changes because of this.
14639 * LyXAction.C (init): rename open-stuff to inset-toggle.
14641 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14643 * text2.C (toggleInset): renamed from openStuff; use
14646 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14648 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14650 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14652 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14654 * buffer.C (readLyXformat2): Add filename to the error dialog
14656 2001-07-18 Juergen Vigna <jug@sad.it>
14658 * tabular.C (GetCellNumber): put an assert here instead of the check!
14660 2001-07-17 Juergen Vigna <jug@sad.it>
14662 * BufferView_pimpl.C (toggleSelection): adapted too.
14664 * text.C (selectNextWord): adapted for use with insets.
14665 (selectSelectedWord): ditto
14667 2001-07-17 Juergen Vigna <jug@sad.it>
14669 * sp_spell.C (PSpell): fix initialitation order.
14671 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * paragraph.C: spacing
14675 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14677 * sp_spell.C: repair language selection for pspell
14679 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * lyxfunc.h: change more methods to begin with lower char.
14683 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14685 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14686 for unknown layouts.
14688 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14690 * buffer.C (readLyXformat2): Generate an error dialog if there are
14693 2001-07-16 Juergen Vigna <jug@sad.it>
14695 * sp_spell.C: always compile ISpell part.
14697 * lyxrc.C: added use_pspell entry and it's handling.
14699 2001-07-13 Juergen Vigna <jug@sad.it>
14701 * sp_spell.C: removed double includes.
14703 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14705 Consistent use of Lsstream.h:
14706 * Lsstream.h: added using std::stringstream for consistencies sake.
14708 * buffer.C: removed using std::stringstream
14710 * lyxfont.C (stateText):
14711 * paragraph.C (asString):
14712 * text.C (selectNextWord, selectSelectedWord):
14713 * text2.C (setCounter):
14714 * vspace.C (asString, asLatexString):
14715 std::ostringstream -> ostringstream.
14717 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14719 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14720 * commandtags.h: add LFUN_HELP_ABOUTLYX
14721 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14723 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14725 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14727 * lyx_gui_misc.C: remove spellchecker
14728 * lyxfunc.C: showSpellchecker
14730 * sp_ispell.h: added
14731 * sp_pspell.h: added
14732 * sp_spell.C: added
14733 * sp_form.[Ch]: removed
14734 * spellchecker.[Ch]: removed
14736 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14738 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14740 (simpleTeXSpecialChars): Simply print the input character without
14741 any special translation if pass_thru is set.
14743 * layout.h: Added bool pass_thru to layout class for being able to
14744 implement pass through of a paragraph for Literate Programming.
14746 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14747 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14748 * layout.C (Read): add "passthru" to list of layout tags and add
14749 code to set the pass_thru boolean when it is read.
14751 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * trans_decl.h: remove allowed from KmodInfo
14755 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14756 remove allowed code
14759 * paragraph_pimpl.C (erase): use boost::prior
14761 * Painter.C (text): use data() instead of c_str() when length is
14763 * WorkArea.C (putClipboard): ditto
14764 * font.h (width): ditto
14766 * BufferView2.C: use it-> instead of (*it). for iterators
14768 * paragraph_pimpl.C: ditto
14769 * paragraph.C: ditto
14770 * minibuffer.C: ditto
14771 * language.C: ditto
14773 * encoding.C: ditto
14774 * counters.C: ditto
14775 * converter.C: ditto
14777 * Variables.C: ditto
14778 * TextCache.C: ditto
14779 * MenuBackend.C: ditto
14780 * LyXAction.C: ditto
14782 * FloatList.C: ditto
14783 * DepTable.C: ditto
14784 * ColorHandler.C (LyXColorHandler): ditto
14786 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14790 * text2.C (openStuff): reintroduce this method (which had been
14791 nuked in NEW_INSETS frenzy).
14793 * lyxfunc.C (Dispatch): when an action has not been handled, use
14794 its name in the error message, not its number.
14796 * paragraph.C (inInset): change method name to begin with lowercase.
14799 * text2.C: updates because of this.
14801 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * ToolbarDefaults.C (add): add spaces in error message
14805 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14808 (readLyXformat2): rename return_par to first_par, use lyxlex's
14809 pushToken and remove the manual push handling.
14810 (parseSingleLyXformat2Token): add another ert comp. variable:
14811 in_tabular, rename return_par to first_par. handle newlines better
14813 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14817 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14819 * text2.C (getParFromID): removed
14821 * buffer.C (getParFromID): new method moved form lyxtext.
14822 * BufferView2.C (insertErrors): adjust
14823 (setCursorFromRow): adjust
14824 * BufferView_pimpl.C (restorePosition): adjust
14825 * lyxfunc.C (Dispatch): adjust
14826 * undo_funcs.C (textUndo): adjust
14828 (textHandleUndo): adjust
14829 (textHandleUndo): adjust
14831 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * buffer.C: up' the LYX_FORMAT
14835 * lyxfont.h: turn NO_LATEX on as default
14837 * buffer.C (insertErtContents): new methods of tex style compability.
14838 (parseSingleLyXformat2Token): use it several places.
14839 * tabular.C (OldFormatRead): and here
14841 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * text2.C: remove some commented code.
14846 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14847 * trans.C: changes because of the above.
14849 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14851 * text2.C (setCounter): Fix counters bug with bibliography layout.
14853 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14856 own member functions
14857 (simpleTeXSpecialChars): ditto
14859 2001-07-06 Juergen Vigna <jug@sad.it>
14861 * a lot of files: changed the access to LyXText::status and the
14862 call of undo-functions.
14864 * undo.[Ch]: added a inset_id to the undo informations.
14866 * undo_funcs.[Ch]: added and moved here all undo functions.
14868 * lyxtext.h: give the status enum a weight, made status_ a private
14869 variable and made accessor functions for it, removed the whole bunch
14870 of undo-functions as they are now in their own file, make some
14871 functions publically available. Added function ownerParagraph with
14874 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14875 made InInset() a const function, added getParFromID() function.
14877 * buffer.[Ch]: added const version for inset_iterator functions,
14878 added getInsetFromID() function.
14880 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14881 changed undo functions for new version.
14883 2001-07-05 Juergen Vigna <jug@sad.it>
14885 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14886 unknow mechanism does not call the proper constructor but only this
14887 one also if I request the other!?
14889 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14891 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14893 * text2.C (LyXText): use initialization lists.
14895 * lyxtext.h (Selection): initialize set_ and mark_
14896 (init): remove method
14898 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14900 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14902 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * screen.[Ch]: change method names to begin with lowercase
14906 * BufferView_pimpl.C (updateScrollbar): simplify further and
14907 hopefully make it a bit faster.
14909 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14912 calling directly xforms functions.
14914 * Painter.C (Painter):
14915 * lyx_cb.C (MenuWrite):
14916 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14919 * lyx_gui.C: remove bogus guiruntime extern declaration.
14921 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14925 (redoDrawingOfParagraph): ditto
14926 (redoParagraphs): ditto
14927 (cutSelection): don't create a object for CutAndPaste use the
14928 static method directly
14929 (pasteSelection): ditto
14931 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14934 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14936 * modifications to some other files because of this.
14938 * Makefile.am (lyx_SOURCES): add XFormsView
14940 * XFormsView.[Ch]: new files
14942 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14943 the main window. Move the gui dependent stuff to XFormsView
14945 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * tabular.C (GetCellInset): update cur_cell also in the row/col
14948 version of this function.
14950 * lyxfunc.C: no need to include figure_form.h here.
14956 * lyxvc.C: no need to include forms.h here.
14958 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14960 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14962 * lyxfunc.C (Dispatch):
14964 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14965 constructor argument.
14967 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14969 * paragraph.C (Paragraph): dont't clear, and just set layout.
14970 (makeSameLayout): use params's copy contructor.
14972 * ParagraphParameters.[Ch] (makeSame): delete method
14974 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14976 * Variables.[Ch]: fix indentation, rename set to isSet
14978 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * lyxfunc.C (Dispatch): fix typo
14982 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14984 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14987 * bufferlist.C: include assert.h for emergencyWrite().
14989 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14991 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14992 give up at last (bug #425202) !
14994 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15000 * spellchecker.C: strip spellchecker options and bring up
15001 preferences tab instead
15003 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15005 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15006 the istringstream constructor
15008 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * paragraph.C (getLayout): fix return value
15012 * paragraph.h: do not declare getLayout as inline.
15014 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15016 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15018 * lyxcursor.h (operator<): new func
15019 (operator>): new func
15020 (operator>=): new func
15021 (operator<=): new func
15023 * text.C (changeCase): use selection.start and selection.end
15024 (changeRegionCase): require from to be <= to. Require par to be a
15027 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15029 2001-06-27 Juergen Vigna <jug@sad.it>
15031 * text.C (cursorLeftOneWord): changed to return the cursor and added
15032 overlay with BufferView * parameter which calls this one.
15034 (selectWord): use new getWord function.
15035 (changeCase): renamed from changeWordCase as and extended to work
15036 also on selections.
15038 * lyxtext.h: added enum word_location
15040 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15041 changeCase as this operates now also on selections.
15043 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15045 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15047 * many files: send debug output to Debug::INFO instead of
15050 * converter.C (View):
15052 (Move): send debug output to Debug::FILES instead of console.
15054 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15056 * lyxfunc.C (getStatus): use func_status
15058 * func_status.h: new header, describing the results of
15059 LyXFunc::getStatus;
15061 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15064 2001-06-25 The LyX Project <jug@sad.it>
15066 * buffer.C (sgmlOpenTag):
15068 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15070 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15072 * text2.C: remove some dead code
15074 * tabular.C (GetCellInset): store the last cell checked (gotten)
15076 * tabular.h: add the helper for the speedup
15078 * lyxtext.h: remove some dead code
15080 2001-06-26 The LyX Project <Asger>
15082 * paragraph.C: Change export to LaTeX of alignment to
15083 \begin{center} and family for better roundtrip work with reLyX.
15085 * Tune the math drawing a bit.
15087 2001-06-25 The LyX Project <Asger>
15089 * LColor.C (LColor): New color for math background. New color
15092 2001-06-25 The LyX Project <jug@sad.it>
15094 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15096 * lyxfunc.C (Open):
15097 * bufferlist.C (newFile): do not restrict to files ending with
15100 * BufferView_pimpl.C (MenuInsertLyXFile):
15102 2001-06-24 The LyX Project <jug@sad.it>
15104 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15107 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15109 * lyxtext.h: rename most methods to begin with a small char.
15110 Lots of changes because of this.
15112 * paragraph.C (Paragraph): do not call fitToSize
15113 (erase): call Pimpl::erase
15114 (insertChar): call Pimpl::insertChar
15115 (insertInset): call Pipl::insertInset
15116 (breakParagraph): do not call fitToSize
15117 (breakParagraphConservative): do not call fitToSize
15118 (fitToSize): remove method
15120 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15122 2001-06-24 The LyX Project <Asger>
15124 * Fix Qt compilation^2
15126 2001-06-24 The LyX Project <jug@sad.it>
15128 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15129 depthHook(getDepth()-1).
15132 * ParagraphParameters.h:
15133 * ParameterStruct.h: change type of depth to unsigned int ==
15134 depth_type. Many adaptations to other files before of that.
15136 2001-06-24 The LyX Project <Asger>
15138 * Fix Qt compilation.
15140 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * paragraph.h: renamed several methods to begin with small letter.
15143 several changes to many parts of the code because of this.
15145 2001-06-23 The LyX Project <jug@sad.it>
15147 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15148 rewritten to discard all double spaces when KeepEmpty is off
15149 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15150 to only handle newlines but not fiddle with spaces and friends.
15152 * lyxfunc.C (MenuNew): when doing 'new from template', use
15153 template_path as default directory
15155 2001-06-23 The LyX Project <Asger>
15157 * Clean-up of header file includes all over
15158 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15160 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15162 * paragraph.h: renamed from lyxparagraph.h
15164 2001-06-23 Asger <lyx@violet.home.sad.it>
15166 * Buffer.h: Removed Buffer::resize
15167 * BufferList.h: Removed BufferList::resize
15168 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15169 the document lazily when we change the width, or the font settings.
15171 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15173 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15175 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15177 * buffer.h: remove out of date comment
15179 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15182 * screen.C: fix "theoretical" GC leak
15184 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15186 * LaTeX.C (scanAuxFile):
15187 (deplog): remove trailing \r when reading stream (useful under
15190 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15192 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15193 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15194 and BufferView::theLockingInset(Inset*), so should use them and not
15195 access bv_->text->the_locking_inset directly.
15197 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15199 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15202 * tex-defs.h: remove old unused file
15204 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15206 * BufferView_pimpl.C: fix typo, remove minibuffer message
15207 when buffer has loaded
15209 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * lyxfunc.C (Dispatch): use stringstream
15212 (MenuNew): use stringstream
15213 (Open): use stringstream
15215 * importer.C (Import): use stringstream
15217 * bufferview_funcs.C (CurrentState): use stringstream
15219 * LaTeX.C (run): use stringstream
15221 * BufferView_pimpl.C (savePosition): use stringstream
15222 (restorePosition): use stringstream
15223 (MenuInsertLyXFile): use stringstream
15225 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15238 * vspace.C: removed // -*- C++ -*- as first line.
15241 * version.h: added // -*- C++ -*- as first line.
15243 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15247 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15250 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15252 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15255 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * gettext.C: include LString.h even when --disable-nls is on.
15259 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15261 * converter.h (Get): changed argument type from int to
15262 FormatList::size_type to avoid unnecessary conversion.
15264 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15267 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * gettext.h: include LString.h even when --disable-nls is on.
15271 2001-06-07 Juergen Vigna <jug@sad.it>
15273 * text.C (BreakAgain): subst spaces with tabs.
15275 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15276 (resizeInsetsLyXText): set force on resizeLyXText.
15278 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * gettext.h (gettext_init):
15281 (locale_init): use a real definition instead of a macro
15283 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15285 * Bufferview_pimpl.C:
15287 * LColor.C: further lcolor tidies
15289 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15291 * BufferView_pimpl.C (updateScrollbar): simplify.
15293 * BufferView2.C: don't include insets/insetinfo.h, change
15294 prototype for insertInset and call the Pimpl version. let
15295 updateInset call Pimpl version.
15297 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15298 gotoInset to BufferView::Pimpl
15300 2001-06-01 Juergen Vigna <jug@sad.it>
15302 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15303 inside a LockingInset (is the update needed at all?).
15305 2001-05-31 Juergen Vigna <jug@sad.it>
15307 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15308 here not the old one otherwise how should we compare it afterwards
15311 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * FontInfo.C: bring C functions into global namespace when
15319 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * LString.h: make sure config.h has been loaded before LString.h.
15323 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15324 (one for each char read by EatLine!).
15326 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15329 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15331 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15332 to the same as the par we break from
15334 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15338 * MenuBackend.C (expand): also create menu entries for wide
15339 versions of the floats.
15341 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15343 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15345 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15346 frontends/Makefile.am
15352 * tabular.C (getTokenValue): add std::
15354 * tabular-old.C (getTokenValue): add std::
15355 (getTokenValue): ditto
15356 (getTokenValue): ditto
15358 * screen.C (ToggleSelection): adjust
15360 * lyxtext.h: put selection cursors inside a Selection struct.
15362 * lyxfunc.C (moveCursorUpdate): adjust
15364 * lyxfont.C (latexWriteStartChanges): add std::
15366 * lyxfind.C: adjust
15368 * font.h: delete with(char const *, LyXFont const &)
15370 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15372 * FontInfo.C (getFontname): add std::
15374 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15375 (workAreaButtonPress): adjust
15376 (tripleClick): adjust
15378 (moveCursorUpdate): adjust
15381 * BufferView2.C (gotoInset): adjust
15383 2001-05-30 Juergen Vigna <jug@sad.it>
15385 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15386 to check pspell I add this as default as I now have new pspell
15387 libraries and they seem to use this.
15389 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15391 * text2.C (CutSelection): make the cursor valid before the call to
15394 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15396 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15397 relied on 0 terminated strings and other horrors. Bug found due to
15398 the new assert in lyxstring!
15400 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15403 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15405 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15408 * lyxfunc.C (processKeySym): change method of getting to the
15411 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15412 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15413 * BufferView_pimpl.[Ch]: here as private methods.
15415 2001-05-28 Juergen Vigna <jug@sad.it>
15417 * text.C (SetHeightOfRow): added the update() call again as it is
15418 needed to initialize inset dimensions!
15420 2001-05-16 Juergen Vigna <jug@sad.it>
15422 * text2.C (SetCharFont): Add new function with BufferView * and
15423 bool toggleall parameters for setting insets internal fonts.
15424 (SetFont): Freeze the undo as we may change fonts in Insets and
15425 all this change should be inside only one Undo!
15427 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15428 setting font's in insets as for them we have the SetFont function!
15430 2001-05-15 Juergen Vigna <jug@sad.it>
15432 * text2.C (ClearSelection): to be sure we REALLY don't have any
15435 * tabular.C (TeXCellPreamble): fixed the left border problem for
15438 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15440 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15443 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15446 LFUN_BREAKPARAGRAPH.
15448 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15449 help test to "internal only", similar for LFUN_INSERT_URL
15451 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15452 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15453 auto_region_delete and deadkeys.
15455 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15458 * LColor.C: remove some dead entries, tidy a little
15460 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15462 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15464 (Dispatch): implement LFUN_ESCAPE
15466 * commandtags.h: add LFUN_ESCAPE
15468 * LyXAction.C (init): add entry for LFUN_ESCAPE
15470 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15471 Remove commented code.
15472 (insertNote): moved here
15473 (open_new_inset): moved here
15475 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15478 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * kbmap.C (findbinding): clean it up and make it work correctly.
15482 * lyx_main.C (init): do not pass argc and argv as parameters
15484 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15486 * buffer.C: fix path for OS/2 & Win32
15490 * lyx_main.C: Added os:: class.
15492 * os2_defines.h: update
15494 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15496 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15497 better by trying again with reduced state.
15499 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * lyxrc.C (read): print error about invalid key sequence only when
15502 debugging (because not all latinX keysyms are known to some X
15505 * kbsequence.C (getiso): add a few std:: qualifiers
15506 (getiso): comment out extra return statement.
15508 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15510 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15512 (Dispatch): enhance the accent inset a bit. (not perfect)
15514 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15516 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15518 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * bufferlist.C (emergencyWrite): fix assert() call
15522 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15524 * text.C (InsertChar): Added trivial patch to only send the "you
15525 can not do multiple spaces this way" message once during a
15528 2001-05-08 Baruch Even <baruch@lyx.org>
15530 * Makefile.am: Changed order of libraries to get LyX to link properly
15531 with the gnome frontend.
15533 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15535 * LaTeXFeatures.h: add a std:: qualifier
15537 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15539 * paragraph.C (String): use stringstream
15541 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15543 * paragraph.C (writeFile): remove footflag arg
15545 * buffer.C (makeLaTeXFile): use stringstream
15546 (latexParagraphs): remove footnot gurba
15548 * LaTeXFeatures.C (getPackages): use stringstream
15549 (getMacros): likewise
15550 (getTClassPreamble): likewise
15551 (getFloatDefinitions): new method
15553 * paragraph.C (writeFile): reindent
15556 * WorkArea.h: revert the xpos + etc changes.
15558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15560 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15562 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15563 (pasteSelection): likewise
15564 * text2.C (CreateUndo): likewise
15566 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15568 * minibuffer.C (peek_event): temporarily reduce the functionality
15569 of the minibuffer (to allow args on lfuns)
15571 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15572 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15574 * buffer.C (readInset): add compability reading of old float
15575 lists, add reading of new style float list.
15576 (readInset): avoid reevaluation of inscmd.getCmdName()
15577 (getLists): reindent
15579 * MenuBackend.C (MenuItem): implement parsing of
15580 md_floatlistinsert and md_floatinsert.
15581 (expand::LastFiles): move initalizaton of iterators out of loop,
15582 avoid reevaluation.
15583 (expand::Documents): introduce typdedef vector<string> Strings,
15585 (expand::ExportFormats): introduce typedef vector<Format const *>
15586 Formats, and use it.
15587 (expand): implement FloatListInsert and FloatInsert.
15589 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15590 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15591 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15593 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15595 (Dispatch::LFUN_FLOAT_LIST): implement
15597 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15599 * LaTeX.C (run): Fix problem with --export code.
15601 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15603 * BufferView.[Ch] (workarea): removed.
15604 (getClipboard) new method; wrapper for workarea()->getClipboard()
15606 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15609 * WorkArea.h (width, height, xpos, ypos): These methods all
15610 returned the dimensions of the work_area sub-area of WorkArea,
15611 resulting in a position error if the WorkArea were resized. Now
15612 return the dimensions of the entire WorkArea.
15614 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15616 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15618 * LaTeX.C (deplog): correct the syntax of regex reg1
15620 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15622 * undo.C: remove !NEW_INSETS cruft
15624 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15626 * text2.C: remove !NEW_INSETS cruft
15628 * text.C: remove !NEW_INSETS cruft
15630 * tabular.C: remove !NEW_INSETS cruft
15632 * spellchecker.C: remove !NEW_INSETS cruft
15634 * lyxtext.h: remove !NEW_INSETS cruft
15636 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15638 * lyxfunc.C: remove !NEW_INSETS cruft
15640 * lyxfind.C: remove !NEW_INSETS cruft
15642 * lyx_cb.C: remove !NEW_INSETS cruft
15644 * figureForm.C: remove !NEW_INSETS cruft
15646 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15648 * buffer.[Ch]: remove !NEW_INSETS cruft
15650 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15652 * CutAndPaste.C: remove !NEW_INSETS cruft
15654 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15656 * BufferView2.C: remove !NEW_INSETS cruft
15658 * BufferView.h: remove !NEW_INSETS cruft
15660 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * Lsstream.h: include LString.h before the sstream headers to
15663 fix problem with gcc 2.95.3 and lyxstring
15665 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * lyx_main.C: add using directives when needed for C functions
15668 declared in std:: namespace.
15670 2001-04-27 Juergen Vigna <jug@sad.it>
15672 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15673 (SetHeightOfRow): comment out the update call should not be needed!
15675 2001-04-13 Juergen Vigna <jug@sad.it>
15677 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15678 (LyXTabular): tried to minimize operator= operations (and realized
15679 hopfully Lars wish).
15681 2001-04-27 Juergen Vigna <jug@sad.it>
15683 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15685 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15687 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15689 * buffer.C (readInset): hack to make listof algorithm work
15691 * BufferView_pimpl.C: hack to make listof algorithm work
15693 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15695 * LyXAction.C: removed all !NEW_INSETS cruft
15696 (init): moved lfun_item in method
15698 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15700 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15702 * BufferView2.C (theLockingInset): white space.
15704 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15706 * minibuffer.C: include <iostream>
15708 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15710 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15712 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15714 * text.[Ch] (TransposeChars): new method
15716 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15718 * call message directly through LyXView instead of through LyXFunc
15719 * BufferView2.C: adjust
15720 * BufferView_pimpl.C: adjust
15721 * FontLoader.C: adjust
15723 * bufferview_funcs.C: adjust
15724 * converter.C: adjust
15725 * figureForm.C: adjust
15726 * importer.C: adjust
15728 * lyx_gui_misc.C: adjust
15729 * lyxfunc.C: adjust
15732 + more files in subdirs
15734 * lyxparagraph.h (size): move up int file
15737 * adjust all uses of Assert to lyx::Assert.
15739 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15740 lyxfunctional in namespace lyx
15741 * layout.C (hasLayout): ditto
15744 (delete_layout): ditto
15745 (NumberOfClass): ditto
15746 * converter.C (GetFormat): ditto
15751 * bufferlist.C (getFileNames): ditto
15752 (emergencyWriteAll): ditto
15755 * MenuBackend.C (hasSubmenu): ditto
15758 * BufferView_pimpl.C (getInsetByCode): ditto
15760 2001-04-18 Juergen Vigna <jug@sad.it>
15762 * vspace.C (asLatexString): fixed the 100% problem.
15764 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * lyxfunc.C (Dispatch):
15768 * minibuffer.h: add a few std:: qualifiers
15770 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * minibuffer.[Ch]: reimplement so that commands is initiated and
15773 run from lyxfunc, simplified som handling, and made the completion
15774 and history code for complete. wip.
15776 * lyxfunc.C (processKeySym): call message
15777 (miniDispatch): new temporary method
15778 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15779 (LFUN_MESSAGE): implement
15780 (LFUN_MESSAGE_PUSH): implement
15781 (LFUN_MESSAGE_POP): implement
15782 (initMiniBuffer): the initial/defualt minibuffer message.
15784 * lyxfont.[Ch]: inline some more getters
15786 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15788 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15790 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15791 (AutoSave): use LFUN_MESSAGE
15792 (Reconfigure): ditto
15794 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15796 * figureForm.C: use LFUN_MESSAGE
15798 * converter.C (runLaTeX): use LFUN_MESSAGE
15800 * bufferview_funcs.C: use LFUN_MESSAGE
15802 (changeDepth): ditto
15804 * bufferparams.h: use boost::
15806 * bufferlist.h: inherit privately from noncopyable
15808 * bufferlist.C (loadLyXFile): remove some commented code.
15810 * buffer.C (runChktex): use LFUN_MESSAGE
15812 * ShareContainer.h: inherit privately from noncopyable
15814 * ParagraphParameters.[hC] (depth): inline it.
15816 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15818 (message): new method
15819 (messagePush): ditto
15820 (messagePop): ditto
15821 (show): init minibuffer
15822 (showState): direct call
15824 * LaTeX.[Ch]: inherit privately from noncopyable
15825 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15826 instead of WriteStatus.
15828 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15830 * BufferView_pimpl.C (buffer): don't init minibuffer
15831 (workAreaButtonPress): use LFUN_MESSAGE
15832 (workAreaButtonRelease): ditto
15833 (savePosition): ditto
15834 (restorePosition): ditto
15835 (MenuInsertLyXFile): ditto
15836 (workAreaExpose): don't init minibuffer
15837 (update): remove commented code, simplify
15839 * BufferView2.C (openStuff): use LFUN_MESSAGE
15840 (toggleFloat): ditto
15843 (copyEnvironment): ditto
15844 (pasteEnvironment): ditto
15849 (updateInset): remove some commented code
15851 * lastfiles.h: inherit privately from noncopyable
15854 * lyx_main.h: ditto
15856 * lyxlex_pimpl.h: ditto
15858 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15859 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15860 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15862 * LyXAction.h: inherit privately from noncopyable, add methods
15863 func_begin, func_end, returning iterators to the func map.
15865 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15866 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15867 (func_begin): new method
15868 (func_end): new method
15870 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15872 (copySelection): ditto
15873 (pasteSelection): ditto
15875 * BufferView.C: whitespace change
15876 * BufferView.h: inherit privately from noncopyable
15878 2001-04-16 Allan Rae <rae@lyx.org>
15880 * tabular-old.C (l_getline):
15881 * spellchecker.C (sc_check_word):
15882 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15883 an unrecognised preprocessor directive. So ensure they're wrapped.
15885 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15887 * src/exporter.C (Export): Give an error message when path to file
15890 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15892 * LaTeX.C (deplog): Always check that foundfile exists.
15894 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15897 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15899 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * tabular.[Ch] (getLabelList): implement new method
15903 * minibuffer.h: comment ouf setTiimer
15905 * minibuffer.C (ExecutingCB): constify res
15906 (peek_event): constify s
15907 (Set): constify ntext
15908 (Init): constify nicename
15910 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15912 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15913 (savePosition): use two params to Minibuffer::Set
15914 (restorePosition): ditto
15916 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15918 * lyx_main.C: include language.h
15920 * Makefile.am (lyx_main.o): add language.h
15922 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * CutAndPaste.C: include gettext.h
15930 * lyxfont.h: remove old hack with ON and OFF.
15933 * lyxfont.h: do not include language.h...
15938 * bufferview_funcs.C:
15944 * paragraph.C: ... but do it here instead
15946 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15948 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15950 * tabular.C: small reformat
15952 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15955 (BreakParagraph): ditto
15956 (SetOnlyLayout): ditto
15959 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15962 * lastfiles.C: removed most using decl, add std:: where needed
15964 * buffer.C: ws changes
15966 * MenuBackend.C (class compare_format): put into anon namespace
15967 (expand): constify label, names, action, action2
15970 * text.C (SingleWidth): constify font
15971 (IsBoundary): constify rtl2
15972 (GetVisibleRow): constify ww
15974 * LaTeX.C (deplog): constify logfile
15976 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15978 (workAreaExpose): constify widthChange, heightChange
15980 * lyxrow.C (par): moved
15983 * lyxrow.h: as inlines here
15985 * lyxfont.h (shape): moved from lyxfont.C
15986 (emph): moved from lyxfont.C
15988 * lyxfont.C (LyXFont): use initialization list for all
15990 (shape): move to lyxfont.h as inline
15991 (emph): move to lyxfont.h as inline
15994 2001-04-04 Juergen Vigna <jug@sad.it>
15996 * vspace.C: had to include stdio.h for use of sscanf
15998 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16001 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16002 independent of xforms.
16004 2001-04-02 Juergen Vigna <jug@sad.it>
16006 * spellchecker.C: fixed namespace placing!
16008 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16010 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16011 the LyXParagraph * is 0.
16013 2001-03-29 Juergen Vigna <jug@sad.it>
16015 * vspace.C: added support for %, c%, p%, l%.
16016 (stringFromUnit): added helper function.
16017 (asLatexString): changed to give right results for the %-values.
16019 * buffer.C: convert the widthp in a width%.
16021 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16023 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16026 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16027 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16029 * lyx_cb.[Ch]: see above.
16031 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16035 * lyx.[Ch]: replaced by figure_form.[Ch].
16039 * lyxfunc.C: changed headers associated with above changes.
16041 2001-03-27 Juergen Vigna <jug@sad.it>
16043 * BufferView_pimpl.C: set the temporary cursor right!
16045 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16047 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16049 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16051 * LString.h: removed "using std::getline"!
16053 * BufferView_pimpl.C (Dispatch): changes due to changes in
16054 InsetInclude::Params.
16056 * buffer.C (tag_name): removed redundant break statements as they were
16057 producing lots of warnings with my compiler.
16059 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16061 * LString.h: add "using std::getline" when using the real <string>.
16063 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16065 * buffer.C: removed bitset usage.
16066 PAR_TAG moved to an anonymous name space.
16067 (tag_name): new funtion, also in the anonymous namespace.
16068 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16069 (makeDocBookFile): clean code. Completed transition from string arrays
16071 (SimpleDocBookOnePar): code clean.
16073 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16075 * tabular.C: add some comments.
16077 2001-03-22 Juergen Vigna <jug@sad.it>
16079 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16080 compatibility read a bit and fixed bug with minipage in different
16083 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16085 * buffer.C (pop_tag): removed.
16086 (push_tag): removed.
16087 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16088 array replaced with vector. Added support for CDATA sections.
16089 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16091 (makeDocBookFile): XML conformant declaration of CDATA section,
16092 fixed bug related to <emphasis> in the first paragraph char.
16093 (sgmlOpenTag): exclude empty tags.
16094 (sgmlCloseTag): ditto.
16096 * buffer.h (pop_tag): removed.
16097 (push_tag): removed.
16099 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16101 * language.h (Languages): added size_type and size().
16103 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16105 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16106 response on compability reading of minipages. One probliem is that
16107 the old usage of minipages was «flertydig»
16109 * several files here and in subdirs: don't use static at file
16110 scope use anon namespaces instead.
16112 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16114 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16115 LaTeX output. This is necessary for Literate document
16118 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16120 * buffer.C: insert hfill when needed.
16122 * tabular.C (l_getline): use string::erase, small whitespace change.
16124 * BufferView_pimpl.C: try the anon namespace.
16125 * WorkArea.C: ditto
16127 2001-03-16 Juergen Vigna <jug@sad.it>
16129 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16130 otherwise it won't open options-dialogs.
16132 * buffer.C: honor pextraWidth(p) on converting minipages.
16134 * tabular.C (l_getline): changed the functions to strip trailing \r.
16136 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16138 * BufferView_pimpl.C:
16139 * minibuffer..C: added "using SigC::slot" declaration.
16141 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16143 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16149 * paragraph.C: ditto
16151 * lyxtext.h: NO_PEXTRA
16153 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16155 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16156 * ParameterStruct.h: ditto
16157 * ParagraphParameters.h: ditto
16158 * lyxparagraph.h: ditto
16160 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16162 * buffer.C: add compability for minipage alignment.
16163 (latexParagraphs): remove unwanted pextra check.
16165 * several files: remove CXX_WORKING_NAMESPACES
16167 * buffer.C (pop_tag): tie is in namespace boost
16169 * BufferView.h: noncopyable is in namespace boost
16171 * lyx_main.h: ditto
16174 * lastfiles.h: ditto
16175 * bufferlist.h: ditto
16176 * ShareContainer.h: ditto
16178 * LyXAction.h: ditto
16181 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16183 * Merging changes from BRANCH_MVC back into HEAD.
16185 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16187 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16189 * BufferView_pimpl.C: change from intl.C
16193 * Makefile.am: move combox.*
16199 * intl.C: remove dialog (covered by prefs)
16201 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16203 * lyxfunc.C (Dispatch): removed redundant break statement.
16205 2001-03-14 Juergen Vigna <jug@sad.it>
16207 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16209 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16211 * buffer.C: add hack to fix compability reading of minipages.
16213 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16215 * buffer.C (getLists): Cleanup.
16217 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16219 * lyxfont.C (update): don't honor toggleall on font size.
16221 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16225 * Makefile.am: moved to frontends/xforms/
16229 * BufferView_pimpl.C: changes for moved mathpanel
16231 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16233 * gettext.h: fix gettext_init() in --disable-nls
16235 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16237 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16239 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16242 * lyx.h: strip external form
16244 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16246 * BufferView_pimpl.C: add comment, destroySplash()
16248 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16250 * BufferView_pimpl.C:
16254 * lyxfunc.C: use re-worked insetinclude
16256 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16258 * buffer.C: add using std::stringstream.
16260 * lyx_cb.C: readd using std::ios.
16262 * buffer.C: add using std::map.
16264 * BufferView_pimpl.C: add using std::vector.
16266 * ShareContainer.h: add std:: to swap.
16268 * buffer.h: add some typedefs
16269 * buffer.C (getLists): use them
16270 (getLists): renamed from getTocList.
16271 add a counter for the different float types and use it in the
16273 (getLists): use the same counter for the NEW_INSETS and the "non"
16276 * lyx_cb.h: remove unused items, includes, using etc.
16278 * ShareContainer.h: remove some commented code, add more comments
16279 and "documentation".
16281 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16283 * buffer.C (getTocList): make the list also when NEW_INSETS is
16286 * buffer.h: remove TocType
16288 * buffer.C (getTocList): change to return a map<string,
16289 vector<TocItem> >, implement for dynamic number of list.
16291 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16292 * text2.C (PasteSelection): adjust
16293 * CutAndPaste.C (pasteSelection): adjust
16295 * FloatList.C (FloatList): update from the new_insets branch.
16296 * Floating.[Ch]: ditto
16297 * LaTeXFeatures.C: ditto
16299 * lyxlex_pimpl.C: ditto
16301 * paragraph.C (Last): remove when NEW_INSETS is defined.
16303 * other file: changes because of the above.
16305 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16307 * lyxparagraph.h: rename next to next_, previous to previous_,
16308 make them private for NEW_INSETS. Rename Next() to next(),
16309 Previous() to previous().
16311 * other files: changes because of the above.
16313 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16316 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16319 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16321 * main.C (main): pass lyx_localedir to gettext_init().
16323 * gettext.h: remove locale_init and gettext_init macros
16325 * gettext.C (locale_init): new function
16326 (gettext_init): new function
16328 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16331 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16333 * Moved credits to frontends:
16334 * credits.[Ch]: removed
16335 * credits_form.[Ch]: removed
16336 * lyx_gui_misc.C: remove credits stuff
16339 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16341 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16343 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16344 unneeded destructor.
16346 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16347 a standalone pointer again.
16349 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16351 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16357 * ToolbarDefaults.C:
16366 * BufferView_pimpl.C: use new file dialog in GUII
16369 * lyx_cb.C: remove LayoutsCB to Toolbar
16371 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16373 * ShareContainer.h (get): add std:: qualifier
16375 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * ShareContainer.h: define a proper ShareContainer::value_type
16378 type (and use typename to please compaq cxx)
16380 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16382 * lyxparagraph.h: move serveral local vars to
16383 ParameterStruct/ParagraphParameters., use ShareContainer in
16384 FontTable., make vars in FontTable private and add getter and
16387 * paragraph.C: changes because of the above.
16389 * lyxfont.h: remove copy constructor and copy assignment. (the
16390 default ones is ok), move number inside FontBits. move inlines to
16393 * lyxfont.C: add number to initializaton of statics, move several
16394 inlines here. constify several local vars. some whitespace
16395 cleanup. Dont hide outerscope variables.
16397 * Spacing.h: add two new constructors to match the set methods.
16399 * ShareContainer.h: new file, will perhaps be moved to support
16401 * ParameterStruct.h: new file
16403 * ParagraphParameters.h: new file
16405 * ParagraphParameters.C: new file
16407 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16408 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16410 * BufferView_pimpl.C: ParagraphParameter changes.
16411 * buffer.C: Likewise.
16412 * bufferview_funcs.C: Likewise.
16413 * text.C: Likewise.
16414 * text2.C: Likewise.
16416 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16418 * lyxfind.C (LyXReplace): do not redefine default argument in
16420 (IsStringInText): ditto
16421 (SearchForward): ditto
16422 (SearchBackward): ditto
16424 2001-03-06 Juergen Vigna <jug@sad.it>
16426 * lyxfind.C (IsStringInText): put parentes around expressions.
16428 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16430 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16432 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16434 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16436 * stl_string_fwd.h: add comment
16438 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16441 * tabular.C: remove unused DocBook methods
16447 killed DO_USE_DEFAULT_LANGUAGE
16449 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16451 * lyx_gui.C: do not include language.h.
16453 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16454 arguments in function implementation.
16456 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16458 * BufferView_pimpl.C: add <ctime>
16460 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16462 * BufferView_pimpl.C: add using std::find_if
16464 2001-02-27 José Matos <jamatos@fep.up.pt>
16466 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16469 2001-02-11 José Matos <jamatos@fep.up.pt>
16471 * buffer.C (makeDocBookFile): command styles now have a parameter as
16472 "title" by default.
16474 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16476 * layout_forms.[Ch]: removed
16477 * lyx_cb.[Ch]: out character
16478 * lyx_gui.C: out character
16479 * lyx_gui_misc.C: out character
16480 * bufferview_funcs.C: : out character,
16481 added toggleall as parameter in ToggleAndShow
16483 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16485 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16487 * text2.C (SetCurrentFont): Disable number property at boundary.
16489 2001-02-26 Juergen Vigna <jug@sad.it>
16491 * lyxfunc.C (getStatus): added a string argument override function so
16492 that this is correctly called from LyXFunc::Dispatch if it contains a
16493 do_not_use_argument which is used!
16494 (Dispatch): added check for "custom" export and call appropriate func.
16496 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16498 * lyxrc.C: Add language_command_local, language_use_babel and
16499 language_global_options.
16501 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16503 * buffer.C (makeLaTeXFile): Use language_use_babel and
16504 language_global_options.
16506 2001-02-23 Juergen Vigna <jug@sad.it>
16508 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16509 which works with LyXText and putted it inside BufferView. Here now we
16510 only call for that part the BufferView::Dispatch() function.
16512 * BufferView.C (Dispatch): added.
16514 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16515 functions which needs to use a LyXText over from LyXFunc.
16516 (MenuInsertLyXFile): added
16517 (getInsetByCode): added
16518 (moveCursorUpdate): added
16519 (static TEXT): added
16521 2001-02-22 Juergen Vigna <jug@sad.it>
16523 * BufferView_pimpl.C (update): call a status update to see if LyXText
16526 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16528 * vc-backend.C (revert): implement for CVS
16529 (getLog): implement for CVS
16531 2001-02-20 Juergen Vigna <jug@sad.it>
16533 * text2.C (ClearSelection): added BufferView param for inset_owner call
16535 * lyxfunc.C (TEXT): added this function and use it instead of
16536 directly owner->view()-text of getLyXText().
16538 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16540 * src/layout_forms.C: out preamble
16541 * src/layout_forms.h: out preamble
16542 * src/lyx_cb.C: out preamble
16543 * src/lyx_cb.h: out preamble
16544 * src/lyx_gui.C: out preamble
16545 * src/lyx_gui_misc.C: out preamble
16546 * src/lyxfunc.C: connect with guii preamble
16548 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16550 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16552 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16554 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16555 whether to run bibtex.
16557 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16559 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16561 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16563 * Makefile.am (lyx_SOURCES): removed bibforms.h
16565 * vspace.h: doxygen
16567 * text.C (GetVisibleRow): make several local vars const
16569 * tabular.C: small cleanup.
16571 * lyxserver.C (callback): use compare instead of strncmp
16573 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16574 inlines to after class or to paragraph.C
16576 * lyxfont.h: remove friend operator!=
16578 * converter.h: move friend bool operator< to non friend and after
16581 * combox.h: small cleanup
16583 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16584 to inlines after class def.
16586 * buffer.C (pop_tag): use string operations instead of strcmp
16588 * bmtable.c: doxygen, small cleanup
16590 * LaTeX.h: remove friend operator==
16592 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16604 * BufferView_pimpl.C:
16605 * BufferView.[Ch]: remove cruft
16607 2001-02-14 Juergen Vigna <jug@sad.it>
16609 * lyxfunc.C: removed #if 0 unused code
16611 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16613 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16615 * text2.C (SetSelection): added a BufferView * parameter
16617 2001-02-13 Juergen Vigna <jug@sad.it>
16619 * lyxfunc.C (Dispatch): fixed protected blank problem.
16620 * BufferView2.C (protectedBlank): added LyxText * parameter.
16622 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16623 (AppendColumn): same as above for column_info.
16625 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16626 (moveCursorUpdate): use a LyXText param for support of InsetText.
16628 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16629 (tripleClick): ditto
16631 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16633 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16635 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16637 * text2.C (SetSelection): set correct update status if inset_owner
16638 (ToggleFree): ditto
16640 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16642 * tabular.C: remove some commented code.
16644 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16646 * BufferView_pimpl.C: call hideSplash()
16648 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16651 * bibforms.h: remove
16654 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16655 add LFUN_CHILD_CREATE
16657 * counters.h: fix tiny typo
16662 * lyx.C: move splash to frontends/xforms/
16664 * lyx_gui_misc.C: move Include and Bibform to frontends
16666 * lyxvc.h: clarify comment
16668 * vspace.C: tiny housekeeping
16670 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16672 * text.C (PrepareToPrint): RTL Fix.
16674 * paragraph.C (GetUChar): New method.
16675 (String): Use GetUChar.
16677 * buffer.C (asciiParagraph): Use GetUChar.
16679 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16681 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16683 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16686 * buffer.C: rename to getLogName(), handle
16687 build log / latex log nicely
16689 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * MenuBackend.h: remove support for reference menuitem type.
16694 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16696 * BufferView_pimpl.C: housekeeping
16697 * BufferView_pimpl.h:
16702 * minibuffer.h: move Timeout GUI-I
16704 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16706 * lyxrc.C (read): Update converters data-structures.
16708 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16710 * LaTeX.h (operator!=): add operator != for Aux_Info
16712 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16714 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16716 * LaTeXLog.C: deleted, useful code moved to Buffer
16719 * buffer.C: new function getLatexLogName()
16725 * lyxfunc.C: use frontends for LaTeX and VC logs
16727 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * LaTeX.h: yet another std:: that Allan forgot.
16731 * Variables.C (set): renamed from isset(), because this clashes
16732 with some HP-UX macros (grr).
16734 2001-02-06 Allan Rae <rae@lyx.org>
16736 * LaTeX.h: Another bug fix. Missing std:: this time.
16738 2001-02-04 Allan Rae <rae@lyx.org>
16740 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16741 floats problem. I've left it commented out because it's not quite
16742 correct. It should also test that the current object is a table or
16743 figure inset. But I haven't gotten around to figuring out how to do
16744 that. I *think* it'll be something like: "table" == inset.type()
16746 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16749 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16751 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16752 all the citation/databases/styles in the auxilary file.
16753 (run): Rerun latex if there was a babel language error.
16755 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16757 * text.C (Backspace): Preserve the font when changing newline char
16759 (BreakParagraph): If the cursor is before a space, delete the space.
16761 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16763 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16765 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16766 new argument (code).
16767 (ChangeCitationsIfUnique): New method.
16769 * paragraph.C (GetPositionOfInset): Handle bibkey.
16771 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16773 * BufferView_pimpl.h: change type of Position::par_pos to
16774 LyXParagraph::size_type.
16776 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16778 * BufferView_pimpl.C (savePosition, restorePosition): Write
16779 messages to minibuffer.
16781 2001-01-28 José Matos <jamatos@fep.up.pt>
16783 * buffer.C (makeDocBookFile): adds support for document language.
16784 A silly restriction on the name of LatexCommand types where removed.
16785 Added support for CDATA sections, allows to chars unescaped, used
16786 among others in code, to avoid escape < and >.
16788 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16790 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16791 saved positions instrad of a stack. Furthermore, a position is
16792 stored using paragraph id/paragraph position.
16794 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16795 Remove LFUN_REF_BACK.
16797 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16799 * converter.C (dvipdfm_options): New method.
16801 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16803 * vspace.C (isValidLength): Fix for empty input string.
16805 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16807 * LyXAction.C (init): change description of LFUN_FIGURE to
16810 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16812 * LaTeX.C: add using directive
16814 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16816 * MenuBackend.C (expand): Fix the sorting of the formats.
16818 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16820 * lyx_main.C: tiny error message fix
16822 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16824 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16825 calling fl_initialize(). This fixes the problem with ',' as
16826 decimal separator in text files.
16828 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16830 * trans.C (process): Fix the keymap bug.
16832 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16834 * LaTeX.C (scanAuxFiles): New method. Provides support for
16835 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16836 (scanLogFile) Scan for "run BibTeX" messages.
16838 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16839 OT1 font encoding. Also, load the aecompl package if the ae
16842 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16844 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16846 * texrow.C (increasePos): turn two error messages into debug
16849 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16851 * LaTeX.C (scanAux): Handle the \@input macro.
16852 (runBibTeX): Use scanAux().
16854 * language.C (latex_options_): New field.
16856 * LaTeXFeatures.C (getMacros): Add language macros.
16858 * buffer.C (makeLaTeXFile): Small fix.
16860 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16862 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16864 * text2.C: add a using directive.
16866 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16871 * lyxfunc.C: kill LyXBell.
16873 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16875 * text.C (IsBoundary): Remove the error message
16877 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16879 * lyxrc.C (setDefaults): Correct initialization value for
16882 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16884 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16887 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16888 and GotoNextNote().
16890 * src/LyXAction.C: Added reference-next.
16892 * text.C (InsertChar): Use contains instead of strchr.
16894 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16896 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16898 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16899 alignment commands (when needed).
16901 * text.C (InsertChar): Add ':' to number separator chars.