1 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyxrc.[Ch]: store all float values as strings.
4 use int (not float) for lyxrc.dpi.
6 2005-01-04 Angus Leeming <leeming@lyx.org>
8 * lyx_cb.C (Reconfigure):
9 * lyx_main.C (queryUserLyXDir):
10 to run the <system_lyxdir>/configure correctly on Windows, prefix
11 the path to the script with "sh " when generating the string that
12 is passed to system().
14 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
16 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
18 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lyxlength.C (asLatexString): get rid of setprecision
22 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * text2.C (setLayout): remove unused variable endpit.
25 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
27 * paragraph.C (onlyText): remove unused variable style.
29 * cursor.C (bruteFind): remove unused variables beg and end.
31 * Makefile.am (dist_noinset_DATA): not needed anymore
35 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * text3.C: fix LFUN_MATH_MODE.
39 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * buffer_funcs.C (countWords): new function. Counts words between
44 * BufferView_pimpl.C (getStatus, dispatch): handle
48 * lfuns.h: add LFUN_WORDS_COUNT.
50 2004-12-19 Angus Leeming <leeming@lyx.org>
52 * buffer.C (save): s/slashify_path/internal_path/.
54 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * lyxfind.C (findChange): do not search for end of pars, because
57 the change tracker cannot handle this (fixes bug 1719).
59 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
61 * paragraph.[Ch] (autoBreakRows): remove
63 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
65 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
66 avoid using the paragraph one
68 * text2.C (LyXText, insertStringAsLines): adjust
70 2004-12-16 Angus Leeming <leeming@lyx.org>
74 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
76 2004-12-14 Angus Leeming <leeming@lyx.org>
78 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
80 * bufferlist.C (emergencyWrite):
81 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
84 2004-12-14 Angus Leeming <leeming@lyx.org>
86 * main.C: (main): no longer pass pointers to os::init.
88 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
90 * undo.C (textUndoOrRedo): simplify logic, fix a crash
91 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
93 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
96 * text3.C: remove selection_possible global flag
98 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
100 * text2.C (getSelectionSpan): remove
101 (changeDepth, changeDepthAllowed): adjust
103 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
105 * Makefile.am (BOOST_LIBS): use boost variables
107 2004-12-03 José Matos <jamatos@lyx.org>
109 * buffer.C: format up to 238.
111 2004-12-03 José Matos <jamatos@lyx.org>
113 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
115 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
117 * cursor.C (goUpDown): remove call to idxUpDown2
119 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * tabular.[Ch]: use size_t-like types for cell, row and column
124 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * lyxfunc.C (getStatus): do not lose previous information when
127 calling BufferView::getStatus; do not set a default "Command
128 disabled" message at the beginning, but just before returning.
130 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
132 * cursor.h (getStatus): add better comment from src/cursor.C
134 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * text3.C (getStatus): return false when the lfun is not handled
138 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * broken_headers.h: remove
142 * Makefile.am (lyx_SOURCES): remove broken_headers.h
144 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
146 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
149 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
150 top_y_, merge fitcursor with update
151 (updateScrollbar, scrollDocView, fitCursor, center, update): new
154 (workAreaDispatch): adapt to new coord scheme
155 (redoCurrentBuffer): remove
157 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
159 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
162 * coordcache.[Ch]: add paragraph cache and helpers
164 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
167 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
168 (targetX, setTargetX): introduce
170 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
171 baseline -> ascent, as the rest of lyx
173 * lyxtext.h: remove redoParagraphs, updateParPositions,
174 fullRebreak, redoParagraphInternal. move dist to anon namespace in
175 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
176 have ascent/descent (ascent is ascent of first par)
178 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
181 * paragraph.[Ch]: unify dimension handling with the rest of lyx
183 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
185 * pariterator.C: fix infinite loop introduced in par->pit renaming
187 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
188 in insets and LyXText, draw two off-screen paragraphs using
189 NullPainter, and adapt to new coord scheme
193 * text3.C: adapt lfun handlers to the new coord scheme, which
194 means: there's only guaranteed coord information for onscreen pars
195 plus one above and one below. This implies that one can do search
196 from y coordinates in the range [-1,workHeight]
198 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
200 * rename a lot of InsetOld to InsetBase
202 2004-11-25 Angus Leeming <leeming@lyx.org>
204 * BufferView_pimpl.C:
206 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
208 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
211 call BufferView::getStatus if LCursor::getStatus did nothing
212 (setStatusMessage, getStatusMessage): removed.
214 * FuncStatus.C (message): new methods. Used to provide an error
215 message indicating why a command is disabled.
216 (clear, |=, FuncStatus): update for message.
218 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * lyxfunc.C (dispatch): always call sendDispatchMessage
222 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
225 * BufferView_pimpl.C:
239 * undo.C: par->pit renaming
241 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
243 * tabular.C (cellstruct): use initialization, store a shared_ptr
244 to insettext instead of the insettext directly, adjust to fit.
245 (operator=): new function
247 (rowstruct): use initialization
248 (columnstruct): use initialization
249 (ltType): use initialization
252 * lyxlength.h (swap): new function
254 * LColor.[Ch] (operator=): use the common semantics
256 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * lyxfind.C (findNextChange): update the bufferview after setting
261 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
264 number of InsetOptArgs has already been inserted.
266 * output_latex.C (latexOptArgInsets): new method. This outputs all
267 the optarg insets, up to the limit defined in the layout file.
268 (optArgInset): removed
269 (TeXOnePar): call latexOptArgInsets; correctly update texrow
271 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * paragraph.C (isLetter): remove special spellchecker-related
274 code; return true also for digits
275 (isWord, isKomma): remove
277 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
278 * lyxfind.C (MatchString()): use isLetter instead of isWord
280 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
282 * pariterator.h (operatir=): comment out un-implemented member
285 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
288 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
290 * lyxfont.h: include LColor.h to satisfy concept checks.
292 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
294 * pariterator.h: add typdefs for value_type, difference_type,
295 pointer and reference to satisfy concept checks. Also add default
296 constructor for same reason.
298 * pariterator.C (operator++): add post-increment operator to
299 satisfy concept checks.
301 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
304 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
306 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
307 checks. Also rename base_type to BaseType to follow naming
310 * FloatList.h: include Floating.h to satisfy concept checks.
312 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * lyxfunc.C (getStatus): when the origin of the request is menu or
315 toolbar, and the LyXView does not have focus, do as if there was
318 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
319 FuncRequest to individual entries of LFUN_SEQUENCE
321 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * output_latex.C (TeXOnePar): override runparams.moving_arg
324 according to the needprotect value of the current paragraph (bug
327 * paragraph.C (simpleTeXOnePar): no need to override
328 runparams.moving_args here
330 2004-11-14 John Spray <spray_john@users.sourceforge.net>
332 * vspace.C: fix off-by-one-error, related to fix #1682
334 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * lengthcommon.C: a more general fix for bug 1682
338 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
340 * text.C (backspace): fix crash
342 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * format.[Ch] (getFormatFromFile): new method
345 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
347 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
351 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * lyxfunc.C (dispatch): remove the verbose argument
354 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
357 * kbmap.C (defkey): set the origin of func to KEYBOARD
359 * MenuBackend.C (MenuItem):
360 * ToolbarBackend.C (add): set the origin of func to UI
362 * funcrequest.[Ch]: add origin member, which indicates which part
363 of LyX requests an action
365 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * converter.C (move): don't lie in the error message
368 * converter.h (isReachable, move): document
370 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * buffer.C: remove unused using lyx::support::atoi
373 * paragraph_funcs.C: ditto
375 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
377 * bufferlist.C (exists): use bind and equal_to instead of
380 * lyxtextclasslist.C (NumberOfClass): ditto
382 * cursor.C (insert): use for_each instead of explicit for loop
384 * bufferlist.C (getFileNames): use std::transform and
385 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
387 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
390 * buffer.C (changeLanguage): use for_each instead of explicit for
392 (hasParWithID): implement using getParFromID
394 * LaTeXFeatures.C: ws change only
396 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
399 * BufferView_pimpl.C (trackChanges): use for_each instead of
402 2004-11-04 André Pönitz <poenitz@gmx.net>
405 * undo.C (textUndoOrRedo): fix crash when creating undo information.
407 * dociterator.C (asDocIterator): use hard assert again.
409 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * lyxlength.C (asLatexString): rewrite so that it does not use
414 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * text3.C (specialChar, dispatch): make sure cursor moves to the
417 right after inserting an inset
419 2004-11-02 José Matos <jamatos@lyx.org>
421 * output_docbook.C (docbook):
422 * paragraph.C (getID):
423 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
424 garantee that the output is always legal.
426 * tabular.C (docbook):
427 * outputprams.[Ch]: remove mixed contents.
429 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * text2.C (setCounter): prevent endless loop
433 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * exporter.C (copyFile): use the mover instead of support::copy()
436 * exporter.C (Export): pass format and latex name to copyFile()
437 * exporter.h (addExternalFile): document
438 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
440 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
444 2004-10-30 José Matos <jamatos@lyx.org>
446 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
447 text and no inset or font change. This allows to use CDATA
448 sections just for the whole paragraph.
450 2004-10-30 José Matos <jamatos@lyx.org>
452 * paragraph.C (getFirstWord): remove unused variable.
454 2004-10-30 José Matos <jamatos@lyx.org>
456 * paragraph.C (getFirstWord): the content should always be escaped
458 (simpleDocBookOnePar):
459 * output_docbook.C (makeEnvironment): replace reference to CDATA
462 2004-10-30 José Matos <jamatos@lyx.org>
464 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
466 2004-10-30 José Matos <jamatos@lyx.org>
468 * output_docbook.C (makeParagraphs):
469 * paragraph.[Ch] (emptyTag): for docbook and company, if the
470 standard paragraph has only a given type of content drop the wrapper.
472 2004-10-29 José Matos <jamatos@lyx.org>
474 * output_docbook.C (makeEnvironment):
476 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
478 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
480 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
481 (cleanID): sanitize any id.
483 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
485 * buffer.C, lyxlex_pimpl.C:
486 * lyxlex_pimpl.C (setFile):
487 s/getExtFromContents/getFormatFromContents/
489 2004-10-28 José Matos <jamatos@lyx.org>
491 * output_docbook.C (makeEnvironment): move id to broadest possible
494 * sgml.C (openTag): apply substitution of <> for all attributes.
496 2004-10-28 José Matos <jamatos@lyx.org>
498 * buffer.C (makeLinuxDocFile, makeDocBookFile):
499 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
500 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
502 * sgml.[Ch]: new version for open and closeTag for paragraph and
503 for strings. Now they handle the ids of paragraphs.
505 2004-10-26 Angus Leeming <leeming@lyx.org>
507 * Makefile.am: add mover.[Ch].
509 * converter.C (convert, move): use the new Movers to move external
510 files to the temp directory.
512 * lyx_main.C (init): ensure that the global system_movers data
515 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
518 * mover.[Ch]: new files, defining a Mover as a utility to move an
519 external file between directories and, if necessary, manipulate this
520 file using a helper script.
522 2004-10-25 José Matos <jamatos@lyx.org>
524 * output_docbook.C (makeCommand): merge two if's that tested the
527 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * sgml.C (escapeString): fix warning in a better way
531 2004-10-25 José Matos <jamatos@lyx.org>
533 * sgml.C (escapeString): import the require boosts header file for
534 tie, and avoid a signed unsigned comparison.
536 2004-10-25 José Matos <jamatos@lyx.org>
538 * sgml.h: add #include <string>
540 2004-10-25 José Matos <jamatos@lyx.org>
542 * sgml.[Ch] (escapeString): new function to escape all the string.
544 2004-10-24 José Matos <jamatos@lyx.org>
546 * paragraph.[Ch] (getFirstWord): new function to get the first
547 word. Useful for description.
548 (simpleDocBookOnePar): remove depth argument, add another that
549 says where to start the paragraph.
551 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
552 use the new functions to fix cleanly the support for descriptions.
554 2004-10-24 José Matos <jamatos@lyx.org>
556 * buffer.C (makeLinuxDocFile, makeDocBookFile):
557 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
558 * output_linuxdoc.C (linuxdocParagraphs):
559 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
560 add buffer as argument.
562 2004-10-24 José Matos <jamatos@lyx.org>
564 * output_docbook.C (makeEnvironment, searchEnvironment): place
565 CDATA inside paragraphs and fix scope for listitems.
567 2004-10-24 José Matos <jamatos@lyx.org>
569 * output_docbook.C: remove using statement for stack.
571 2004-10-23 José Matos <jamatos@lyx.org>
573 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
574 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
575 docbook. The new scheme is recursive and makes use of iterators, the
576 same as latex export works.
577 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
578 directly with the paragraph contents. This code was moved up to
579 output_docbook.C (docbookParagraphs).
580 * sgml.C (openTag, closeTag): removed unneeded newlines.
581 (closeEnvTags) removed.
583 2004-10-23 André Pönitz <poenitz@gmx.net>
585 * undo.C (textUndoOrRedo):
586 * dociterator.C (asDocIterator): work around crash
588 * cursor.C (getStatus): replace ASSERT by more verbose error message
589 and manual correction of the problem. Should increase stability
590 while providing more sensible information.
592 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
596 * bufferlist.C (previous, next): new methods
599 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
601 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
603 * buffer.C (makeDocBookFile): add dsssl stylesheet control
604 entities to preamble.
606 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
608 * messages.C (Pimpl): strip off translation context information
610 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
613 the cursor is correct (bug 1694)
615 2004-10-13 José Matos <jamatos@lyx.org>
617 * output_docbook.C (docbookParagraphs): fix closing tags in the
620 2004-10-09 José Matos <jamatos@lyx.org>
622 * buffer.C: format up to 237.
623 * bufferparams.C (write): use tostr to convert booleans to strings.
625 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
627 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
629 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
631 * LaTeX.C: implement use of babel language in xindy.
633 2004-10-05 José Matos <jamatos@lyx.org>
635 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
636 Add new translators to help reading and writing the lyx file.
638 2004-10-05 José Matos <jamatos@lyx.org>
640 * ParagraphParameters.C (read):
641 * text.C (readParToken): replace nexToken by more appropriate lex
644 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
646 * LaTeX.C (runMakeIndex):
647 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
648 (usually 'makeindex') configurable.
650 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
651 with a variable rather than with a number.
653 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * output_latex.C (TeXOnePar): make sure font setting is the first
656 thing that gets output (and the last at the end). Should fix bug
659 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
661 * pch.h: use proper signal include
663 * LaTeX.h: Use preferred calling of Boost.Signal
666 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * pch.h: dont include <boost/function/function0.hpp>
670 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
672 * paragraph_pimpl.h: remove usage of ShareContainer
674 * paragraph_pimpl.C: remove initialization of ShareContainer.
676 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * BufferView.C (putSelectionAt): change the semantics when
681 backwards == true: now, this just swaps cursor and anchor wrt the
684 * BufferView.h (putSelectionAt): add some documentation
686 * lyxfind.C (findBackwards): rewrite using while(). In particular,
687 make sure backwardChar is done at least once (to avoid getting
689 (findNextChange): use putSelectionAt in the forward direction
690 (operator()): use Paragraph::isWord
692 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * Spacing.C (set): c_str fix
696 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * lyx_cb.C (Reconfigure): quote the name of configure script in
699 case it contains spaces
701 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
706 (BOOST_LIBS): use top_buildir when looking for the file
708 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
710 * pch.h: do not use include boost/format.hpp, multiple symbols
711 will result (gcc bug)
714 2004-08-23 José Matos <jamatos@lyx.org>
716 * bufferparams.C (readToken): fix reading of the author field.
718 2004-08-20 José Matos <jamatos@lyx.org>
720 * lyxrc.C: remove support/translator.h inclusion since it is not used.
722 2004-08-20 José Matos <jamatos@lyx.org>
724 * lyxlex.[Ch] (findToken): remove function.
726 * ParagraphParameters.C (findToken):
727 * bufferparams.C (findToken): replace call for previous function
728 with local copy. This local function has one more argument, the
729 read string argument.
731 2004-08-16 José Matos <jamatos@lyx.org>
733 * ParagraphParameters.C (write):
734 * Spacing.C (writeFile):
735 * bufferparams.C (writeLaTeX):
736 * lyx_cb.C (Reconfigure):
737 * paragraph.C (write):
738 * tabular.C (write): remove unnecessary space at end of line.
741 2004-08-16 José Matos <jamatos@lyx.org>
743 * text.C (readParagraph): remove debug message.
745 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
750 * output_plaintext.C (asciiParagraph): set depth correctly
752 * outputparams.h: add member depth
754 * paragraph_funcs.C (ownerPar): remove.
756 * text2.C (setCounter): remove first_pit; comment out some
757 non-working code that uses ownerPar
759 * BufferView.C (getParentLanguage): remove. Not used anymore, and
762 2004-08-16 José Matos <jamatos@lyx.org>
764 * text.C (readParToken, readParagraph, read): report all unknown tokens.
765 For the same level of importance use the same chanel to report problems.
766 (read): add code to deal with \begin_body and \end_body.
769 2004-08-15 José Matos <jamatos@lyx.org>
771 * lyxlex.C (getString): fix comment, buffer::readBody is now
774 * tex-strings.C (string_papersize): Default -> default,
775 Custom -> custom, for consistency with other options.
777 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
781 * Makefile.am: support pch
783 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * text.C (readParToken): remove the static LyXFont variable and
786 pass it as a parameter instead. This fixes a nasty bug where an
787 inset will be inserted with a bad font in some situations
788 (readParagraph): adapt
790 * text2.C (setCounter): reduce number of calls to pars_[pit]
792 * text.C (singleWidth): add an assert, fix a test
794 * rowpainter.C (paintText): reduce number of calls to singleWidth
796 * paragraph.C (isHfill):
799 2004-08-14 André Pönitz <poenitz@gmx.net>
804 * lyxtext.h (several functions): use a Paragraph & argument
807 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * metricsinfo.h: add a new field ltr_pos to PainterInfo
811 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
813 * text.C (singleWidth): remove useless test
815 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
817 * tabular.h: remove bogus comments
819 * tabular.C (getDescentOfRow):
820 (isPartOfMultiColumn): add assertions
822 * lyxlength.C (inPixels): remove #warning
824 2004-08-14 André Pönitz <poenitz@gmx.net>
826 * paragraph.h: inline getChar()
828 * BufferView.h: remove unused declarations
830 2004-08-14 José Matos <jamatos@lyx.org>
832 * Buffer.[Ch] (readDocument): new name for old readBody.
833 * Buffer.C: new file format, new keywords: \begin_document,
834 \begin_header, \begin_body, \end_body.
836 * bufferparams.C (readToken): replace all calls to lex.nextToken
837 by lex.next(). Do the same to eatLine except where really needed.
839 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
840 line when writing to the lyx file.
842 * output_plaintext.C (asciiParagraph): fix Bibliography style
845 * text.C (read): fix end of file handling.
847 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * MenuBackend.C (Menu::operator[]): new method to access
850 individual menu items
851 (Menu::hasFunc): new method. search for an item that corresponds
853 (MenuBackend::specialMenu): new method
854 (MenuBackend::expand): if a special menu has been set, skip
855 entries whose func() appears in this menu
857 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
859 * text3.C: use Debug::DEBUG a bit more
861 * text.C (leftMargin): try to simplify a tiny bit change var x to
862 l_margin. Dont output the wide margins always.
863 (rightMargin): no margin in inner texts
865 * rowpainter.h (nestMargin): new func
866 (changebarMargin): new func
867 (rightMargin): new func
869 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
873 * factory.C (createInset): modify setDrawFrame
875 * cursor.C: use Debug::DEBUG a bit more
877 2004-08-14 André Pönitz <poenitz@gmx.net>
880 * Makefile.am: new files to accomodate an 'external' (x,y)-position
881 cache for all insets in (at least partially) visible (top-level)
884 * BufferView_pimpl.C: reset external coord cache before every update.
885 This means the coord cache only contains valid entries.
887 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
890 * BufferView_pimpl.C (getInsetByCode): move function out of class
891 and change in to a template in anon namespace. Also fix to do what
894 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
897 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
899 (breakParagraph): rename par to par_offset and use a local
900 reference. Add code to keep the language over a rebreak.
901 (breakParagraphConservative): rename par to par_offset, use a
903 (mergeParagraph): ditto
905 (isFirstInSequence): ditto
906 (outerFont): rename pit to par_offset
908 * paragraph.C: ws change
913 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
918 * paragraph.C (simpleTeXOnePar): when we have a \item with
919 optional argument, enclose the argument with curly brackets (in
920 case it contains a closing square bracket)
924 * text3.C (checkInsetHit): constify
926 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
931 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 Fix toggling of collapsable insets with the mouse (bug 1558)
935 * lyxfunc.C (dispatch): adapt to LCursor changes
937 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
938 make sure that dispatch is not invoked twice
940 * cursor.C (needsUpdate): new method
941 (dispatch): return void
942 (result): new method, to access the DispatchResult of the cursor.
944 2004-08-13 José Matos <jamatos@lyx.org>
946 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
948 2004-08-13 André Pönitz <poenitz@gmx.net>
950 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
952 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
955 2004-08-12 André Pönitz <poenitz@gmx.net>
957 * text3.C: take out the 'cursor right' form insertInset and only
958 do it in those places when it is really needed. Fixes crash on
961 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
965 * BufferView_pimpl.C (setBuffer): initialize the current font of
966 the underlying LyXText
968 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
970 * kbsequence.C (print): use UI native formatting for menu
973 * text.C (insertChar): call Paragraph::insertChar with a font
976 * paragraph.C (insertInset, insertChar): the version that takes a
977 LyXFont argument is now a wrapper around the other one (the
978 opposite used to be true).
980 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
981 argument. Font setting is done in Paragraph now.
983 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * outputparams.h: add new members intitle and lang.
987 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
988 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
990 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
992 * text3.C (dispatch): remove special handling of button 4 and 5,
993 it is now taken care of in the frontend code.
995 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
997 * Spacing.h: add <string> (STLPort compile fix)
999 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1001 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1003 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1005 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1008 * converter.C (showMessage): inherit from unary_function, make
1011 * buffer.C (writeFile): initialize retval
1013 * InsetList.h: rename private variable list to list_
1014 * InsetList.[Ch]: adjust accordingly.
1016 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1018 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1019 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1020 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1021 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1022 * ParagraphParameters.C, LaTeXFeatures.C: replace
1023 "support/std_sstream.h" with <sstream>
1025 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1027 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1028 * lyxsocket.C (LyXServerSocket): ditto
1029 (serverCallback): ditto
1031 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1033 * LaTeXFeatures.C: check release date when loading jurabib.
1035 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1037 * lyxserver.C (startPipe): call register_socket_callback
1038 (endPipe): call unregister_socket_callback
1040 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1042 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1043 (LyXServerSocket): register the callback
1044 (LyXServerSocket): unregister the callback
1045 (fd): delete function
1046 (serverCallback): improve error checking and setup the callbacks.
1047 (dataCallback): change arg to fd.
1048 (writeln): new func (copied fro the client socket) used for server
1050 (LyXDataSocket): simplify
1051 (~LyXDataSocket): close ann unregiser callback
1052 (server): delete function
1053 (fd): delete function
1054 (readln): small changes, improve some std::string usage
1055 (writeln): constify a bit
1057 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1062 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1065 after it has been populated
1067 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * text2.C (insertInset): move cursor when inserting inset.
1071 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1073 * kbmap.C (findbindings): a couple of new methods. returns a
1074 container of kb_sequence objects. The real work is done by the
1075 private recursive version
1076 (printbindings): uses findbindings to print out a bracketed list
1077 of bindings (renamed from findbinding).
1079 * MenuBackend.C (binding): use kb_keymap::findbindings
1081 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1083 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1087 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * paragraph.C (isWord): return true on insets that report
1092 * text.C (getWord): use Paragraph::isWord to decide what is in a
1093 word and what is not; fix bug 1609.
1095 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1097 * tex-strings.C: add "none" to string_paperpackages[], fixes
1098 off-by-one-error in the paperpackage selection.
1101 * tex-strings.[Ch]: char const * string[n]
1102 -> char const * const string[]
1104 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1107 command, return early.
1109 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1111 * debug.h: add DEBUG to enum and fix size of ANY.
1113 * debug.C: add support for Debug::DEBUG
1114 (showTags): cast errorTags.level to unsigned int
1116 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1117 (redoCurrentBuffer): ditto
1118 (updateScrollbar): ditto
1119 * cursor.C (dispatch): ditto
1120 * text2.C (setLayout): ditto
1122 (updateCounters): ditto
1124 (deleteEmptyParagraphMechanism): ditto
1126 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1128 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1129 annotations to cleanup the Makefile slightly.
1131 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * lyxrc.C: do not set user_email to a default value but use empty
1134 instead. The entry used to be translated, which does not work
1135 since at the point where lyxrc is constructed there is no
1136 translation service available
1138 * messages.C (getLocaleDir): remove and use directly
1139 lyx_localedir() instead
1141 2004-06-02 Angus Leeming <leeming@lyx.org>
1143 Fix crash caused by dereferencing null pointer 'exportdata' in
1144 OutputParams by creating a new ExportData variable on the heap,
1145 storing it in a boost::shared_ptr.
1146 The crash was triggered when generating an Instant Preview
1147 of an external inset.
1149 * Makefile.am: add outputparams.C
1151 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1152 (c-tor): allocate memory to it.
1154 * exporter.C (c-tor): associated changes.
1156 2004-06-01 Angus Leeming <leeming@lyx.org>
1158 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1159 contains data before calling isInset(0). (Bug 1513.)
1161 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * exporter.C (checkOverwrite): new method
1164 * exporter.C (copyFile): new method
1165 * exporter.C (Export): copy referenced files to the document dir
1166 * exporter.[Ch]: new class ExportedFile
1167 * exporter.[Ch]: new class ExportData. Contains currently the
1168 names of referenced external files
1169 * outputparams.h: add exportdata member.
1171 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1173 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1176 2004-05-19 Angus Leeming <leeming@lyx.org>
1181 * lyxfunc.C: small changes due to the introduction of namespace
1182 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1184 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1186 * text3.C (dispatch): supress update when only moving the cursor
1187 * cursor.C (selHandle): remove commented code
1189 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1191 * paragraph.C (startTeXParParams): correct column count
1192 * CutAndPaste.C (pasteSelection): remove const_cast
1193 * output_docbook.C (docbookParagraphs): remove const_cast
1194 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1195 const_cast and return ParagraphList::const_iterator
1196 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1197 * output_plaintext.C (writeFileAscii): remove const_cast
1198 * paragraph.[Ch] (simpleTeXOnePar): make const
1199 * paragraph_funcs.C (outerPar): use const iterators
1200 * paragraph_pimpl.C (validate): use const iterators
1201 * text.C (setHeightOfRow): use const iterators
1203 2004-05-17 Angus Leeming <leeming@lyx.org>
1206 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1208 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1209 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1210 if the citation engine has changed.
1212 2004-05-14 José Matos <jamatos@lyx.org>
1214 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1215 if the textclass does not provide it. Have it different for sgml and
1217 support the language of document.
1218 * output_docbook.C (docbookParagraphs):
1219 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1220 first anchor as the id of the paragraph, remove special case code.
1221 * sgml.C (escapeChar): escape only < & >.
1223 2004-05-14 Angus Leeming <leeming@lyx.org>
1225 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1226 dependencies on src/frontends/controllers/biblio.h. Define a
1227 CiteEngine_enum wrapper class to enable the enum to be forward
1230 2004-05-12 Angus Leeming <leeming@lyx.org>
1232 * buffer.C: up LYX_FORMAT to 234.
1233 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1234 use_numerical_citations with a single biblio::CiteEngine cite_engine
1236 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1238 2004-05-13 José Matos <jamatos@lyx.org>
1241 * converter.C (Converter, readFlags): add xml member.
1242 * outputparams.h: add XML flavor.
1243 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1245 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1247 * lyxfunc.C (dispatch):
1248 (getStatus): fix handling of LFUN_SEQUENCE
1250 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1252 * debug.C (showLevel): do not forget the end-of-line marker
1254 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1256 * kbmap.C (read): do not stop parsing a bind file when an error
1259 2004-04-29 Angus Leeming <leeming@lyx.org>
1264 * text2.C: wrap a bunch of #warning statements
1265 inside #ifdef WITH_WARNINGS blocks.
1267 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1269 * buffer.C: increment format to 233.
1271 2004-04-28 Angus Leeming <leeming@lyx.org>
1273 * BufferView_pimpl.C:
1276 s/updateToolbar()/updateToolbars()/
1277 s/Toolbar.h/Toolbars.h/
1279 2004-04-28 Angus Leeming <leeming@lyx.org>
1281 * BufferView.[Ch] (c-tor):
1282 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1283 No longer passes these data to the WorkArea generator.
1285 2004-04-28 Angus Leeming <leeming@lyx.org>
1287 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1289 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1291 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1293 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * output_latex.C (TeXEnvironment): make sure that there is a line
1296 break before \end{foo} for the last paragraph of a document
1297 (TeXOnePar): if the paragraph is at the end of the document (or
1298 inset) and the language has to be reset, then make sure that the
1299 line break is _before_ the language command, not after (fixes bug
1300 1225); also make sure that the language reset command is the first
1301 thing after the paragraph (to ensure proper nesting of
1302 environments and thus fix bug 1404)
1304 2004-04-21 John Levon <levon@movementarian.org>
1307 * ToolbarBackend.C: make "name" be a programmatic name
1308 and a gui_name field.
1310 * lyxfunc.C: display the minibuffer on M-x
1312 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1317 2004-04-19 Angus Leeming <leeming@lyx.org>
1319 * BufferView_pimpl.C (setBuffer): changed preview interface.
1321 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1324 2004-04-19 John Levon <levon@movementarian.org>
1326 * BufferView_pimpl.C:
1327 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1329 2004-04-05 Angus Leeming <leeming@lyx.org>
1331 * text.C (redoParagraphs): add call to updateCounters(), thereby
1332 fixing the missing "Figure #:" label from the caption of a
1335 2004-04-13 Angus Leeming <leeming@lyx.org>
1337 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1338 cursor is clicked out of an inset.
1340 2004-04-13 Angus Leeming <leeming@lyx.org>
1342 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1343 than an InsetOld one.
1345 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1347 * format.[Ch]: add editor to Format
1348 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1349 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1351 2004-04-08 André Pönitz <poenitz@gmx.net>
1353 * metricsinfo.h: remove PainterInfo::width member
1355 2004-04-08 Angus Leeming <leeming@lyx.org>
1357 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1358 "\providecommand" rather than "\newcommand", thereby preventing
1359 clashes with packages that define "\boldsymbol" themselves.
1362 2004-04-08 Angus Leeming <leeming@lyx.org>
1364 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1365 thereby squashing an unnecessary warning.
1367 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1369 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1372 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1374 * BufferView.C (setCursor): call redoParagraph (some insets could
1376 (putSelectionAt): remove the 'double update' trick
1378 * BufferView_pimpl.C (fitCursor): call refreshPar
1379 (workAreaDispatch): remove an uneeded update call
1380 (dispatch): remove some manual update calls
1382 * cursor.[Ch]: remove cached_y_, updatePos
1383 (selHandle): set noUpdate when appropriate
1385 * lyxfunc.C (dispatch): track if we need an update
1387 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1389 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1390 (paintSelection): cheap optimization, do not call cursorX when not
1392 (paintPars): change signature
1395 (paintTextInset): adjust
1399 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * lengthcommon.C: compilation fix: remove explicit array size from
1402 unit_name[] and friends
1404 2004-04-05 Angus Leeming <leeming@lyx.org>
1406 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1408 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1409 present only for the preferences dialog.
1410 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1412 2004-04-05 Angus Leeming <leeming@lyx.org>
1414 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1415 to enable the frontends to export changes to lyxrc correctly.
1417 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1419 2004-04-07 André Pönitz <poenitz@gmx.net>
1421 * cursor.[Ch] (selClear, adjust): remove math
1423 * cursor_slice.C: more agressive assert
1426 * BufferView_pimpl.C: rework mouse event dispatch
1433 2004-04-05 André Pönitz <poenitz@gmx.net>
1435 * cursor.[Ch] (valign, halign...): remove unneeded functions
1437 2004-04-05 Angus Leeming <leeming@lyx.org>
1439 * lyxlength.[Ch] (unit_name et al.): const-correct.
1441 2004-04-05 Angus Leeming <leeming@lyx.org>
1443 * BufferView_pimpl.C:
1452 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1454 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1456 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1458 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1460 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1461 * BufferView_pimpl.[Ch] (getStatus)
1462 * BufferView.[Ch] (getStatus): add
1463 * lyxfunc.C (getStatus): move lfuns handled in
1464 BufferView::dispatch to te function above
1465 * Cursor.C (setSelection): set selection() = true
1467 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1469 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1471 2004-03-31 Angus Leeming <leeming@lyx.org>
1473 * lyxfunc.C (dispatch): Fall through to the generic
1474 Dialogs::show("preamble").
1476 2004-03-31 Angus Leeming <leeming@lyx.org>
1478 * lyxfunc.C (dispatch): Fall through to the generic
1479 Dialogs::show("spellchecker").
1481 2004-03-31 Angus Leeming <leeming@lyx.org>
1483 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1486 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1491 * insetiterator.[Ch]:
1496 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1498 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1500 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1501 insets where we are putting the cursor.
1503 2004-03-31 Angus Leeming <leeming@lyx.org>
1506 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1508 * lyxrc.[Ch] (read, write): overloaded member functions taking
1509 a std::[io]stream arguments.
1511 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1513 2004-03-31 Angus Leeming <leeming@lyx.org>
1515 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1516 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1518 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1519 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1521 2004-03-31 Angus Leeming <leeming@lyx.org>
1523 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1524 the LFUN_ALL_INSETS_TOGGLE code.
1526 2004-03-30 Angus Leeming <leeming@lyx.org>
1528 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1529 has died. Fall through to the generic Dialogs::show("document").
1531 2004-03-30 Angus Leeming <leeming@lyx.org>
1534 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1535 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1537 * lyxfunc.C (getStatus, dispatch): define the actions for these
1538 lfuns. Little more than a cut and pste job from ControlDocument.C
1540 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1542 2004-03-30 Angus Leeming <leeming@lyx.org>
1545 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1546 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1548 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1549 open/closed state of ollapsable insets. Usage:
1551 all-inset-toggle <state> <name>, where
1552 <state> == "open" || "closed" || "toggle" and
1553 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1555 * lyxtext.h, text2.C (toggleInset): removed.
1557 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1558 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1559 now passes LFUN_INSET_TOGGLE to the found inset.
1561 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1562 is now invoked as "all-insets-toggle toggle branch".
1564 2004-03-30 Angus Leeming <leeming@lyx.org>
1568 * pariterator.[Ch]: added/corrected header blurb.
1570 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1572 * dociterator.[Ch]: add an inset_ member
1573 (backwardPos): implemented
1574 (backwardPos, forwardPos): use inset_ when the stack is empty.
1575 (doc_iterator_begin, doc_iterator_end): implemented
1576 * pariterator.[Ch]: adjust, add begin, end
1577 * insetiterator.[Ch]: adjust, add begin, end
1581 * BufferView_pimpl.C:
1582 * CutAndPaste.C: adjust
1584 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1586 * buffer.C: increment file format to 232.
1587 * LaTeXFeatures.C: add bibtopic package.
1588 * bufferparams.[Ch]: param \use_bibtopic.
1590 * lyxrc.[Ch]: add lyxrc bibtex_command
1591 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1593 * buffer.C: increment file format to 231.
1595 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1597 * dociterator.C: implement forwardPar
1598 * iterators.[Ch]: remove, replaced by
1599 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1601 * BufferView_pimpl.C:
1604 * bufferview_funcs.C:
1610 * Makefile.am: adjust
1612 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1614 * CutAndPaste.C (pasteSelection): fix 2 crashes
1615 (eraseSelection): fix a crash
1616 * paragraph_funcs.C: remove a warning
1618 2004-03-28 Angus Leeming <leeming@lyx.org>
1621 * LyXAction.C (init): new LFUN_PRINT.
1623 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1625 2004-03-27 Angus Leeming <leeming@lyx.org>
1628 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1630 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1632 2004-03-27 Angus Leeming <leeming@lyx.org>
1634 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1635 insetlist always contains non-null pointers to insets.
1637 2004-03-26 Angus Leeming <leeming@lyx.org>
1639 * src/BufferView_pimpl.C:
1640 * src/CutAndPaste.C:
1643 * src/output_plaintext.C:
1644 * src/outputparams.h:
1645 * src/paragraph_funcs.C:
1649 * src/frontends/controllers/ControlErrorList.C:
1650 * src/frontends/gtk/FileDialogPrivate.C:
1651 * src/frontends/gtk/GPainter.C:
1652 * src/frontends/gtk/GToolbar.C:
1653 * src/frontends/qt2/QRef.C:
1654 * src/mathed/math_scriptinset.C: squash compiler warnings.
1656 2004-03-26 Angus Leeming <leeming@lyx.org>
1658 * ispell.C (LaunchIspell::start):
1659 * lyx_cb.C (AutoSaveBuffer::start):
1660 invoke run(DontWait) rather than runNonBlocking().
1662 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1664 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1666 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * kbsequence.C (print): adjust
1670 * kbmap.C (printKeySym): rename and change signature
1671 (printKey): use LyXKeySym::print()
1673 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1675 * undo.C: add using std::advance to compile for stlport
1677 2004-03-24 Angus Leeming <leeming@lyx.org>
1679 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1680 it leads to a crash when no buffer is present.
1682 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 Martin Vermeer <martin.vermeer@hut.fi>
1685 * lyxfunc.C (dispatch):
1686 * bufferparams.C (readToken): use the new LColor::setColor
1688 * LColor.[Ch] (setColor): new version that takes two strings as
1689 argument and creates a new color entry if necessary
1691 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1693 * buffer.C (makeLaTeXFile): if the main latex file that is
1694 processed is usually a subdocument of some master, then pretend
1695 for a while that it is actually the master
1697 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1699 * buffer.C (getLabelList):
1700 (getBibkeyList): use getMasterBuffer()
1701 (getMasterBuffer): new method. Returns the main document in the
1702 case where one is using included documents.
1704 2004-03-25 André Pönitz <poenitz@gmx.net>
1708 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1710 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1712 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1713 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1715 * ParameterStruct.h: merge with ParagraphParameters
1717 * lyxtext.h: remove LyXText::parOffset() and getPar()
1719 * text3.C: Remove all 'manual' update calls. We do now one per user
1720 interaction which is completely sufficient.
1724 * BufferView_pimpl.C:
1725 * FontIterator.[Ch]:
1727 * ParagraphParameters.[Ch]:
1732 * cursor_slice.[Ch]:
1739 * output_docbook.[Ch]:
1740 * output_latex.[Ch]:
1741 * output_linuxdoc.[Ch]:
1742 * output_plaintext.[Ch]:
1744 * paragraph_funcs.[Ch]:
1745 * paragraph_pimpl.[Ch]:
1753 * frontends/controllers/ControlDocument.C:
1754 * frontends/controllers/ControlErrorList.C:
1755 * frontends/controllers/ControlSpellchecker.C:
1758 * insets/insetbase.h:
1759 * insets/insetbibitem.C:
1760 * insets/insetbox.C:
1761 * insets/insetbranch.C:
1762 * insets/insetcaption.C:
1763 * insets/insetcharstyle.C:
1764 * insets/insetcharstyle.h:
1765 * insets/insetcollapsable.C:
1766 * insets/insetcollapsable.h:
1767 * insets/insetert.C:
1768 * insets/insetfloat.C:
1769 * insets/insetfoot.C:
1770 * insets/insetmarginal.C:
1771 * insets/insetnote.C:
1772 * insets/insetoptarg.C:
1773 * insets/insettabular.C:
1774 * insets/insettext.C:
1775 * insets/insettext.h:
1776 * insets/insetwrap.C:
1777 * mathed/math_mboxinset.C:
1778 * mathed/math_nestinset.C:
1779 * mathed/math_scriptinset.C:
1780 * mathed/math_scriptinset.h:
1783 2004-03-24 Angus Leeming <leeming@lyx.org>
1785 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1786 deal with any child processes that have finished but are waiting to
1787 communicate this fact to the rest of LyX.
1789 2004-03-24 Angus Leeming <leeming@lyx.org>
1791 64-bit compile fixes.
1793 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1794 (c-tor): pass lyx::pos_types rather than ints.
1796 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1799 * text.C (Delete): compile fix.
1800 (getPar): ensure that function declaration is the same as that in
1803 2004-03-23 Angus Leeming <leeming@lyx.org>
1805 * ispell.C (LaunchIspell):
1806 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1807 a boost::shred_ptr rather than a std::auto_ptr.
1809 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1811 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1812 handle LFUN_FILE_INSERT_*
1814 * lyxrc.C (setDefaults, getDescription, output, read):
1815 * lyxrc.h: remove ps_command
1817 2004-03-22 Angus Leeming <leeming@lyx.org>
1819 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1820 Ensure that error_handler is processed once only and that all data
1821 is saved before attempting to output any warning messages.
1823 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1825 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1827 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1829 2004-03-19 André Pönitz <poenitz@gmx.net>
1831 * cursor.[Ch] (reset): take main text inset as argument
1833 * BufferView: adjust
1834 * BufferView_pimpl.C: adjust
1836 * paragraph.[Ch]: fix completely broken operator=()
1838 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * LColor.C (getFromLyXName): make sure that the color name is used
1843 2004-03-17 Angus Leeming <leeming@lyx.org>
1846 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1848 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1849 dialog and to kill a forked process.
1851 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1853 * text2.C (setCursorFromCoordinates): fix font problem
1855 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1857 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1858 bogus "rebuild cursor" code
1860 2004-03-11 André Pönitz <poenitz@gmx.net>
1862 * buffer.[Ch]: use InsetText instead of LyXText as container for
1865 * dociterator.[Ch]: drop the BufferView * member which is not needed
1866 anymore after the change to buffer.C
1868 * paragraph_funcs.C:
1872 * BufferView_pimpl.[Ch]:
1874 * cursor_slice.[Ch]: adjust
1876 * text3.C: fix bug in mathDispatch
1878 2004-03-08 André Pönitz <poenitz@gmx.net>
1880 * undo.[Ch]: use 'StableDocumentIterator' as base for
1883 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1886 * bufferparams.[Ch]: add jurabib support and param.
1888 * LaTeX.C: add FIXME/comment.
1890 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1892 * buffer.C: increment file format to 230.
1894 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1896 * cursor.C (dispatch): avoid infinite loops
1898 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1900 * rowpainter.C (paintSelection): fix x coordinates
1902 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1904 * text.C (rowBreakPoint): fix breaking before displayed insets
1906 2004-03-01 André Pönitz <poenitz@gmx.net>
1908 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1910 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1914 * BufferView_pimpl.C:
1922 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1928 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1929 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1933 * Bidi.[Ch] (computeTables): const correctness
1934 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1935 fill_hfill, fill_label_hfill and x from Row
1936 * lyxtext.h: prepareToPrint returns a RowMetrics
1937 * rowPainter.C: adjust
1938 * text.C (prepareToPrint): use width, not textWidth. adjust
1939 (redoParagraphInternal, cursorX): adjust
1940 * text2.C (getColumnNearX): adjust
1941 (init): put a default value to the top LyXText::width
1943 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1945 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1947 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1949 * lyxtext.h: add FontIterator class
1951 * text.C (FontIterator, operator*, operator->, operator++): add
1952 (rowBreakPoint, setRowWidth): adjust (fixing a
1955 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * BufferView_pimpl.C (workAreaDispatch): allow also
1958 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1960 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1962 * text.C (rowBreakPoint): fix a bug showing with very large insets
1964 2004-02-25 André Pönitz <poenitz@gmx.net>
1967 * cursor.[Ch]: move some mathed specific code to mathed
1969 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1971 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1972 use_tempdir in preferences
1973 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1975 * lyx_main.C: ensure that tempdir is valid
1976 * lyxlex.h: correct typo
1977 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1978 * paragraph.[Ch] (isMultiLingual): make const
1979 * cursor.[Ch] (openable): make const
1981 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1983 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1985 2004-02-20 André Pönitz <poenitz@gmx.net>
1987 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1989 * cursor.[Ch]: prepare for localized getStatus()
1995 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1997 2004-02-20 André Pönitz <poenitz@gmx.net>
1999 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2001 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2003 * text2.C (setCursorFromCoordinates): switch to absolute coords
2005 (cursorDown): adjust
2006 * text3.C (dispatch): adjust
2008 2004-02-16 André Pönitz <poenitz@gmx.net>
2010 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2013 * cursor_slice.[Ch]: remove unneeded acessor function
2015 * lyxtext.h: rename rtl() to isRTL()
2023 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2025 * rowpainter.C (paintSelection): coord fix
2027 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2029 * Spacing.C: compile fix
2031 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2033 * cursor.C (dispatch): restore current_ before returning
2035 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2037 * text2.C (cursorUp, cursorDown): fix coords
2040 2004-02-12 André Pönitz <poenitz@gmx.net>
2045 * text3.C: add LCursor & parameter to most cursor movement functions
2046 remove usage of LyXText::cursorRow() and cursorPar()
2048 * cursor.[Ch]: add textRow() needed members
2051 * BufferView_pimpl.C:
2054 * BufferView_pimpl.C: adjust
2056 2004-02-11 André Pönitz <poenitz@gmx.net>
2060 * BufferView_pimpl.C: shift undo/redo handling
2062 * cursor.[Ch]: fix mathed crash
2065 * lyxtext.h: move selectionAsText to LCursor
2073 * rowpainter.C: fix excessive drawing
2075 2004-02-06 André Pönitz <poenitz@gmx.net>
2078 * BufferView_pimpl.[Ch]:
2079 * text3.C: move some text specific LFUN handling
2081 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2083 * text3.C (checkInsetHit): adjust coords
2084 * text2.C (getColumnNearX): adjust coords
2085 (edit): adjust coords
2086 * text.C (getRowNearY): add two asserts
2088 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2091 * format.C: add using std::distance to compile on gcc 2.95/stlport
2093 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2095 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2097 2004-02-04 André Pönitz <poenitz@gmx.net>
2099 * BufferView.[Ch] (insertInset):
2100 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2105 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2107 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2108 on the default clause of the switch
2109 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2110 wasn't catched by LCursor::dispatch
2112 2004-02-03 André Pönitz <poenitz@gmx.net>
2115 * cursor.[Ch]: some additional asserts
2117 * undo.[Ch]: remove LyXText dependency in interface
2121 * lyxtext.h (firstPar, lastPar): remove dead functions
2126 * paragraph.[Ch]: adjust
2128 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2130 * lyxfind.C (find): fix argument order in call to ::find
2132 2004-02-02 André Pönitz <poenitz@gmx.net>
2134 * cursor.[Ch]: remove direct access to anchor
2136 * text.C: remove findText() hack
2138 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2140 * iterators.[Ch] (lockPath): remove in favour of...
2141 * BufferView.[Ch] (setCursor): this addition
2142 * BufferView.C (putSelectionAt): adjust
2143 * undo.C (performUndoOrRedo): adjust
2144 * lyxfunc.C (dispatch): adjust
2146 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2148 * iterators.C (lockPath): add a missing slice
2149 * undo.C (performUndoOrRedo): remove redundant positioning code
2151 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2153 * vc-backend.C (scanMaster): ";" -> ';'
2155 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2157 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2158 std::binary_function
2160 * lyxtextclass.C (compare_name): rename to...
2161 (LayoutNamesEqual): ...this
2163 * lyxlex_pimpl.C (compare_tags): inherit from
2164 std::binary_function, put back into anon namespace
2166 * lyxfind.C (MatchString): inherig from std::binary_function
2167 (findChange): use empty() istead of !size()
2169 * format.C (FormatNamesEqual): new functor
2176 * converter.C (compare_Converter): rename to...
2177 (ConverterEqual): ...this, and fixup a bit.
2178 (getConverter): use it, and make function const
2179 (getNumber): use it, and make function const
2183 * bufferlist.C: add using boost::bind
2185 * MenuBackend.C (MenuNamesEqual): new functor
2186 (hasMenu): use it, and make function const
2187 (hasSubmenu): use nested bind to get rid of compare_memfun.
2189 2004-01-30 André Pönitz <poenitz@gmx.net>
2191 * BufferView_pimpl.C:
2194 * cursor_slice.[Ch]:
2197 * paragraph_funcs.C:
2198 * paragraph_funcs.h:
2202 * text3.C: move some of the edit(x,y) handling to the insets
2203 some coordinate changes.
2205 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2207 * text.C: add using statements for std::advance and std::distance
2209 * paragraph.C: add using statement for std::distance
2211 * lyxfind.C: add using statement for std::advance
2213 * cursor.C (region): remove std:: from swap
2214 (openable): use nucleus in stead of operator->
2216 * BufferView.C: add using statements for std::distance and std::swap
2218 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2220 * iterators.C: Remove the pimple, move the needed structures to
2221 the header file. Create accessor for the positions stack.
2222 (asPosIterator): remove function
2224 * PosIterator.C (PosIterator): move constructors to top of file
2225 (PosIterator): reimplement the constructor taking a ParIterator in
2227 (setFrom): new function
2228 (operator!=): inline it
2230 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2232 * lyxfind.C (replaceAll): use std::advance
2234 * iterators.h: inherit from std::iterator.
2236 * PosIterator.C (advance, distance): remove
2237 * PosIterator.h: interit from std::iterator.
2239 2004-01-26 André Pönitz <poenitz@gmx.net>
2242 * BufferView_pimpl.[Ch]:
2246 * bufferview_funcs.C:
2256 * output_linuxdoc.C:
2257 * output_plaintext.C:
2259 * paragraph_funcs.[Ch]:
2260 * paragraph_pimpl.[Ch]:
2266 * text3.C: more IU: dumps most of the rest of the mathcursor
2267 implementation into cursor.[Ch]; "globalize" a bit of it.
2269 2004-01-25 Angus Leeming <leeming@lyx.org>
2271 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2273 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2275 * LaTeXFeatures.h: add nice_ and nice() const
2276 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2278 2004-01-20 André Pönitz <poenitz@gmx.net>
2281 * BufferView_pimpl.C:
2283 * bufferview_funcs.C:
2285 * cursor_slice.[Ch]:
2296 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2297 LCursor and mathcursor parts to LCursor and InsetBase.
2299 2004-01-15 André Pönitz <poenitz@gmx.net>
2301 * cursor_slice.[Ch]: add a few covienience functions
2303 * funcrequest.[Ch]: remove BufferView * member
2305 * BufferView_pimpl.C:
2312 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2314 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2316 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2317 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2319 2004-01-13 André Pönitz <poenitz@gmx.net>
2322 * lyxtext.h: hide cursor and selection anchor behind accessor function
2325 * BufferView_pimpl.[Ch]:
2327 * bufferview_funcs.C:
2337 * cursor_slice.[Ch]: some integer type changes for inset unification
2339 * lyxcursor.[hC]: remove, it's CursorSlice now.
2342 * BufferView_pimpl.[Ch]:
2343 * bufferview_funcs.C:
2349 * textcursor.[Ch]: adjust
2351 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2353 * text2.C (undoSpan): add and use
2354 * text.C (breakParagraph): use undoSpan (fix bug 578)
2357 2004-01-08 Angus Leeming <leeming@lyx.org>
2359 * BufferView_pimpl.C (MenuInsertLyXFile):
2360 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2361 * lyxfunc.C (menuNew, open, doImport):
2362 FileFilterList change to the FileDialog open and save functions.
2364 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * ShareContainer.h: make isEqual and isUnique adaptable
2368 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2370 2004-01-07 Angus Leeming <leeming@lyx.org>
2373 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2375 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2377 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2378 functions replacing find, replace and replaceAll.
2380 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2381 LFUN_WORDFIND(FORWARD|BACKWARD).
2383 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2385 * text.C (breakParagraph): remove an outdated #warning
2387 2004-01-07 André Pönitz <poenitz@gmx.net>
2389 * lyxfind.C: somewhat clearer logic
2391 * text.C: prevent crash in cursorX on unitialized row cache
2393 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2395 * lyxcursor.[Ch] (operator>): add
2396 * textcursor.C (selStart, selEnd): use std::min and std::max
2398 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2400 * Chktex.C: include boost/format.hpp
2402 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2404 * InsetList.C: replace functor MathcIt with adaptable functor
2406 (insetIterator): modify accordingly
2408 * BranchList.h: move the BranchNamesEqual functor here from...
2409 * BranchList.C: ... to here
2411 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2413 (add): replace a finding loop with std::find_if.
2415 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2417 * output_docbook.C: moving LatexParam functionality into
2420 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2422 * buffer.C: increment format to 229.
2424 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2427 * lyx_sty.[Ch]: remove minipageindent_def
2433 * text3.C: remove LFUN_INSET_MINIPAGE
2435 2003-12-28 Angus Leeming <leeming@lyx.org>
2437 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2439 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2441 * text2.C (setParagraph): fix off-by-one crash
2443 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2445 * output_docbook.C: header stuff for AGU
2447 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2449 * text2.C (redoCursor): remove
2452 * BufferView_pimpl.C: remove calls to redoCursor and
2453 setCursor(cursor.par(), cursor.pos()) all around
2455 2003-12-15 Angus Leeming <leeming@lyx.org>
2457 * buffer.C: up the format to 228.
2459 2003-12-15 André Pönitz <poenitz@gmx.net>
2461 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2466 * BufferView_pimpl.C:
2475 2003-12-15 Angus Leeming <leeming@lyx.org>
2477 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2478 than getFromGUIName to manipulate the color.
2480 2003-12-14 Angus Leeming <leeming@lyx.org>
2482 * BranchList.[Ch]: minimize the API.
2483 (Branch::getBranch, getColor): now return a 'const &'.
2484 (Branch::setSelected) now returns a bool set to true if the
2485 selection status changes.
2486 (BranchList::clear, size, getColor, setColor, setSelected,
2487 allBranches, allSelected, separator): removed.
2488 (BranchList::find): new functions, returning the Branch with
2490 (BranchList::add, remove): return a bool indicating that
2491 the operation was successful.
2493 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2494 new InsetBranch::isBranchSlected member function.
2496 * LColor.[Ch]: mimimize the API.
2497 (fill): renamed as addColor and made private.
2498 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2499 versions of these functions taking a string arg have been removed.
2501 * bufferparams.C (readToken):
2502 * lyxfunc.C (dispatch):
2503 * lyxrc.C (read): changes due to the altered BranchList and
2506 * factory.C (createInset, readInset): changes due to altered
2509 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2512 * lyxfunc.C: remove insetminipage. "minipage-insert"
2513 now produces a frameless minipage box inset.
2515 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2517 * textcursor.[Ch] (selStart,selEnd): add new methods
2518 remove selection::start, end, use LyXCursor::operator<
2519 * lyxcursor.[Ch] (operator<): add
2520 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2521 * BufferView.[Ch] (unsetXSel): add
2522 * text2.C (clearSelection): use unsetXSel,adjust
2525 * rowpainter.C: adjust
2526 * bufferview_funcs.C (put_selection_at): adjust
2528 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2530 * BufferView_pimpl.C: small coord. correction
2532 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2534 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2535 dragging over the splash screen.
2537 2003-12-11 Angus Leeming <leeming@lyx.org>
2539 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2540 as it is now handled in LyXText::dispatch.
2542 * text3.C (doInsertInset): remove a level of nesting.
2544 2003-12-11 Angus Leeming <leeming@lyx.org>
2546 * factory.C (createInset): changes due to the changed interface to
2547 InsetCommandMailer::string2params.
2549 2003-12-10 Angus Leeming <leeming@lyx.org>
2551 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2552 'dialog-show-new-inset <inset name>'
2554 2003-12-10 Angus Leeming <leeming@lyx.org>
2556 * buffer.C: up the format to 227.
2558 * factory.C: the box inset is now identified simply by 'Box'.
2560 2003-12-10 Angus Leeming <leeming@lyx.org>
2562 * buffer.C: up the format to 226.
2564 * factory.C: the note inset is now identified simply by 'Note'.
2566 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2568 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2569 when a pit is enough. Standarize a couple of loops.
2571 2003-12-05 Angus Leeming <leeming@lyx.org>
2573 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2574 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2575 data to the re-worked "log" dialog.
2577 2003-12-03 André Pönitz <poenitz@gmx.net>
2583 * paragraph_funcs.C:
2585 * text2.C: use Inset::getText instead of Inset::getParagraph
2587 2003-12-03 André Pönitz <poenitz@gmx.net>
2591 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2592 InsetText::read() as LyXText::read()
2594 2003-12-02 Angus Leeming <leeming@lyx.org>
2596 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2597 type. Add a comment in the implementation that the function uses
2598 the stream's bad() function rather than fail() as the std::streams
2601 2003-12-02 André Pönitz <poenitz@gmx.net>
2603 * lyxlex.[Ch]: make interface more similar to std::stream
2605 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2607 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2609 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2611 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2613 * vspace.[Ch]: remove VSpace::NONE
2615 2003-12-01 André Pönitz <poenitz@gmx.net>
2618 * lyxtext.h: move ParagraphList member to LyXText
2619 rename LyXText::ownerParagraphs to LyXText::paragraph
2622 * bufferview_funcs.C:
2632 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2634 * undo.C: fix cursor positioning
2636 2003-12-01 John Levon <levon@movementarian.org>
2638 * BufferView_pimpl.C: fix a crash on exit with
2641 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2643 * BranchList.C: fix setSelected() method.
2645 2003-11-28 André Pönitz <poenitz@gmx.net>
2647 * ParagraphParameters.[Ch]:
2648 * ParameterStruct.h: remove space above/below from Paragraph to
2651 * BufferView_pimpl.C:
2657 * paragraph_funcs.C:
2663 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2665 * factory.C: Syntax change for CharStyles
2667 2003-11-28 André Pönitz <poenitz@gmx.net>
2672 * buffer.[Ch]: move LyXText member
2674 2003-11-28 André Pönitz <poenitz@gmx.net>
2676 * BufferView.[Ch]: make LyXText * text a private member
2678 * BufferView_pimpl.C:
2689 * output_plaintext.C: cleanup
2691 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2694 * lyxtextclass.[Ch]: parametrize SGML document header
2696 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2699 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2702 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2704 * text2.C (setFont): rework using PosIterator (no more recursive)
2705 (setCharFont): no more needed
2706 (setLayout): no more selection cursors fiddling (done by redoCursor)
2707 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2708 destroy remaining ones)
2710 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2712 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2714 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2717 * text3.C: adjust + re-allow multi par depth changes
2718 * textcursor.C: simplify a bit
2720 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2726 * src/output_docbook.C:
2727 * src/output_latex.C:
2732 * src/text2.C: Introducing a number of tags parametrizing various
2733 XML formats that we may want to support
2735 2003-11-25 André Pönitz <poenitz@gmx.net>
2737 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2739 * lyxtext.h (leftMargin/rightMargin): simplify interface
2746 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2748 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2749 master file to any child files. Fixes bug 546.
2751 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2753 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2755 2003-11-24 André Pönitz <poenitz@gmx.net>
2757 * rowpainter.C: simplification
2759 * text2.C (updateCounters): remove call to redoParagraph on
2760 changed labels as this is far too expensive.
2762 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2764 * converter.C (convert): fix a crash: this function gets
2765 called with buffer == 0 from importer code.
2767 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2769 * text3.C (cursorPrevious): make sure that we do not compare
2770 iterators form different containers.
2773 * rowpainter.C (paintSelection): make sure that we do not compare
2774 iterators from different containers.
2776 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2777 iterators from different ParagraphList containers.
2780 * text2.C (LyXText): change order of initialization slightly
2781 (operator=): new function. copy all variables except cache_par_
2782 (moveUp): make sure that we do not compare iterators from
2783 different ParagraphList constainers.
2786 * text.C (firstPar): new function
2787 (lastPar): new function
2788 (endPar): new function
2790 * lyxtext.h: move things around and group public functions, public
2791 variables, private functions, private variables
2793 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2795 * factory.C: change call to InsetERT constructor to avoid
2796 additional invocation of method status
2797 * text2.C (toggleInset): remove redundant update() call
2798 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2799 instead of a Bufferview pointer
2801 2003-11-21 André Pönitz <poenitz@gmx.net>
2803 * rowpainter.C: simplification
2805 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2807 * text3.C (dispatch): make possible to extend a word/row selection
2810 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2812 * lyxtext.h: x0_,y0_ -> xo_,yo_
2813 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2814 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2815 * rowpainter.C (paintRows): paint full paragraphs
2817 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2819 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2822 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2824 * lyxtext.h: add x0_, y0_
2825 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2826 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2828 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2830 * text2.C (setCursorIntern): move the x_target update here *
2831 * text3.C: change some bv() to true/false in calls to
2832 cursorUp/Down/Right/Left
2833 * cursor.C: use helper function.
2835 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2837 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2838 * paragraph_funcs.[Ch]: correct comment
2839 * rowpainter.C: do not paint selections away from bv->cursor()
2840 Fix a long standing selection painting bug.
2841 * text3.C: generalize mouse-selection code to LyXTexts other that
2843 * textcursor.C: do not use y coords if we can use par offsets
2845 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2847 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2848 cursor position after e.g. inset insert)
2850 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2852 * lyxfind.C (replace): adjust to locking removal + some
2855 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2857 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2860 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2863 * output_docbook.C: XML sanitation: new layout
2864 parameters InnerTag and CommandDepth
2866 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2868 * BufferView_pimpl.C:
2870 * text3.C: Fix the insertion and modification of button-style
2873 2003-11-13 André Pönitz <poenitz@gmx.net>
2875 * InsetList.[Ch]: remove deleteLyXText
2877 * paragraph.[Ch]: cache beginOfBody position
2882 * text3.C: remove superfluous update() calls
2886 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2888 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2889 * BufferView.C (fitLockedInsetCursor): remove
2890 * cursor.[Ch] (getDim): add
2891 * text.C (getRowNearY): add faster version
2892 * text3.C: remove some update calls
2894 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2906 * text3.C: The Character Style /XML short element patch.
2908 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2911 * factory.C: Small step to solving 'unable to insert some insets'
2914 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2916 * cursor.[Ch] (updatePos): new function for updating the y
2917 position of the tip inset
2918 * bufferview_funcs.C (put_selection_at):
2919 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2921 2003-11-11 André Pönitz <poenitz@gmx.net>
2923 * text.C: remove big comment on invalid Paragraph pointers as it is
2926 2003-11-11 André Pönitz <poenitz@gmx.net>
2928 * text_funcs.[Ch]: merge with ...
2936 * Makefile.am: remove text_funcs.[Ch]
2938 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2940 * cursor.C (getPos): return absolute cached y coord
2942 * BufferView_pimpl.C (fitCursor): new simplistic code
2943 (workAreaDispatch): add a fitCursor call
2945 2003-11-10 André Pönitz <poenitz@gmx.net>
2948 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2950 2003-11-10 André Pönitz <poenitz@gmx.net>
2952 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2953 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2954 indicate that the cursor needs to leave an inset
2956 * lyxtext.h: remove inset locking
2958 * cursor.[Ch]: re-implement functionality provided by inset locking
2961 * BufferView_pimpl.[Ch]:
2963 * bufferview_funcs.[Ch]:
2975 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2977 * PosIterator.[Ch]: replace the stack with a vector, add inset
2979 * iterators.[C]: adjust
2981 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2983 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2985 * paragraph_funcs.C (readParToken): put the correct id in the
2986 error item, not the id of the top paragraph
2988 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2990 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2991 * bufferview_funcs.C (put_selection_at): use the above
2993 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2995 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2997 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * output_linuxdoc.h:
3000 * output_plaintext.h:
3002 * output_docbook.h: add #include statements
3004 2003-11-05 José Matos <jamatos@lyx.org>
3006 * output_docbook.[Ch]:
3007 * output_latex.[Ch]:
3008 * output_linuxdoc.[Ch]:
3009 * output_plaintext.[Ch]: New files for output formats.
3010 * output.[Ch]: New file for helper functions.
3013 * paragraph_funcs.[Ch]: output functions moved to new files.
3015 * outputparams.h: rename of latexrunparams.h
3023 * paragraph_funcs.[Ch]:
3024 * paragraph_pimpl.[Ch]:
3025 * tabular.[Ch]: rename ascii to plaintext
3026 and LatexRunParams to OutputParams.
3028 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3030 * iterators.[Ch] (text): require bv argument
3031 * undo.C (recordUndo):
3032 * lyxfunc.C (dispatch):
3033 * bufferview_funcs.C (put_selection_at): adjust
3035 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3037 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3039 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3041 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3044 2003-11-04 André Pönitz <poenitz@gmx.net>
3046 * cursor.[Ch]: restructure
3049 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3051 * iterators.[Ch] (asCursor): remove
3053 * lfuns.h: remove LFUN_INSET_EDIT
3059 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3061 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3063 * lyxfind.[Ch]: complete overhaul
3064 * BufferView_pimpl.C:
3066 * paragraph.[Ch] (insert): add
3068 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3072 * text.C: remove dead spellcheck code
3074 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * dispatchresult.h: add a val setter
3078 * cursor.C (dispatch): use a tempvar for data_[i]
3080 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3082 * PosIterator.[Ch]: compile fix
3084 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3086 * text.C (cursorPar): deactivate the cursor cache
3088 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3090 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3092 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * text3.C (dispatch): adjust for new DisptchResult semantics.
3096 * lyxfunc.C (dispatch): handle update when return from
3097 Cursor::dispatch, adjust for new DispatchResult semantics.
3099 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3100 DispatchResult(true) mean to not update. Add class functions for
3101 setting dispatched and update, as well as reading.
3103 * cursor.C (dispatch): don't handle update here
3105 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3108 * trans_mgr.C: adjust
3110 * paragraph_funcs.C (readParToken): exception safety
3112 * lyxvc.h: store the vcs pointer in a scoped_ptr
3115 * lyxsocket.C (serverCallback): exception safety
3117 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3119 * ispell.C (clone): make it return a auto_ptr
3121 * factory.C (createInset): exception safety
3122 (readInset): exception safety
3124 * bufferlist.C (newBuffer): exception safety
3126 * Thesaurus.C (Thesaurus): use initialization for aik_
3128 * MenuBackend.C (expandToc): exception safety.
3130 2003-11-03 André Pönitz <poenitz@gmx.net>
3134 * bufferview_funcs.C: remove getInsetFromId()
3137 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3143 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3145 * PosIterator.C (distance, advance): new
3146 * bufferview_funcs.[Ch] (put_selection_at): new
3147 * iterators.[Ch] (lockPath): new
3149 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3151 * iterators.[Ch] (asPosIterator): added
3152 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3153 * PosIterator.[Ch]: added
3155 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * cursor.C (dispatch):
3160 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3162 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3163 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3164 contructor, add a class function dispatched. Remove operator>=
3166 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3168 * debug.C: only use the default constructor for debugstream
3171 * main.C (main): include debug.h and setup the lyxerr streambuf
3174 2003-10-31 José Matos <jamatos@lyx.org>
3176 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3178 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3179 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3180 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3181 * paragraph_pimpl.C (simpleTeXSpecialC):
3182 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3183 add LatexRunParams argument.
3185 * exporter.C (Export): change call accordingly.
3187 * latexrunparams.h: add new member to take care of the other backends.
3188 2003-10-30 José Matos <jamatos@lyx.org>
3190 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3191 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3192 factorise code for paragraph output.
3194 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3197 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * text3.C (dispatch):
3200 * lyxfunc.C (dispatch):
3201 * cursor.C (dispatch):
3202 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3204 * dispatchresult.h: make the dispatch_result_t ctor explicit
3206 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3209 * buffer.C: small refactoring of docbook stuff
3211 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3216 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3219 operator dispatch_result_t, and operators for == != and >=
3221 * cursor.C (dispatch): adjust for operator dispatch_result_t
3222 removal. comment out call to update
3224 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3226 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3234 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3237 * dispatchresult.h: new file, DispatchResult broken out of
3240 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3242 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3244 * text.C (rowBreakPoint): put a hack inside #if 0
3246 2003-10-28 André Pönitz <poenitz@gmx.net>
3250 * paragraph_funcs.C:
3253 * text2.C: general cleanup (lots of small stuff)
3255 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3257 * text2.C (cursorEnd): simple fix to the "end key goes to one
3258 before the end on last row" bug
3260 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3262 * text.C (backspace): fix the "zombie characters"
3264 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3266 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3268 2003-10-27 André Pönitz <poenitz@gmx.net>
3270 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3272 * factory.C: handle new InsetPagebreak, InsetLine
3274 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3275 and move handling into new InsetPagebreak, InsetLine
3277 * BufferView_pimpl.C:
3279 * ParagraphParameters.C:
3280 * ParameterStruct.h:
3285 * paragraph_funcs.C:
3286 * paragraph_pimpl.C:
3292 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3295 * lyxrow_funcs.[Ch]:
3301 * text3.C: remove lastPos uses in favour of Row::endpos
3303 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3305 * undo.C (performUndoOrRedo): fix two crashes by setting a
3306 cursor by hand and reordering some calls. Use bv->lockInset instead
3307 of inset->edit because the latter loses cursor information
3309 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3311 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3313 (rowBreakPoint): fix width. change point to point + 1.
3314 Add a missing check.
3316 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3319 * lyxfunc.C: fix (at least partly) the problems
3320 with the Nav menu and headers inside branch insets
3323 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3325 * paragraph.C (getChar): add strong asserts
3327 * lyxrow_funcs.C (lastPos): remove hideous hack
3329 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3330 (fill): adjust to that (avoid an infinite loop)
3332 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3334 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3336 2003-10-23 André Pönitz <poenitz@gmx.net>
3338 * RowList_fwd.h: change list<> to vector<> to gain speed
3339 after suggestion from Alfredo
3341 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3343 * lyxtext.h: move the bidi stuff from here...
3346 * Bidi.[Ch]: ... to here
3348 2003-10-23 André Pönitz <poenitz@gmx.net>
3351 * text.C (isLastRow, isFirstRow): new functions
3353 * paragraph.h: new width cache member
3355 * rowpainter.C: replace RowList::iterator with Row & where possible
3357 * lyxfunc.C: replace several view()->text with a single call
3359 * toc.C: fix 'unused' warning
3361 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3364 when woring with stream::pos_type
3365 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3367 2003-10-22 André Pönitz <poenitz@gmx.net>
3370 * text.C: use Row & instead of RowList::iterator
3372 * lyxrow.h: rename end() to endpos()
3378 2003-10-22 Angus Leeming <leeming@lyx.org>
3380 * buffer.[Ch] (fully_loaded): new member function, returning true
3381 only when the file has been loaded fully.
3382 Used to prevent the premature generation of previews and by the
3383 citation inset to prevent computation of the natbib-style label.
3385 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3386 templates are all set up.
3388 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3390 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3392 * text.C: fixed an "oops" in the "is a bit silly"
3395 2003-10-21 André Pönitz <poenitz@gmx.net>
3397 * FuncStatus.[Ch]: small stuff, whitespace
3399 * lyxfont.[Ch]: operator<<() for debug reasons
3403 * lyxtext.h: whitespace, spelling
3405 * paragraph.C: naming of variables
3408 * text2.C: small stuff
3411 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3413 * text.C: (1) finish off the inset display() work;
3414 (2) fix the "is a bit silly" bug (accessing char
3417 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3419 * text.C: re-introduce display() for insets, fixing the
3420 various bugs (stretch of line above, math inset
3423 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3425 * text.C (rightMargin): remove spurious semicolon
3427 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3430 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3432 * text3.C: fix one crash due to wrong cursor def
3434 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * vc-backend.C (scanMaster): make the regex static
3438 * LaTeX.C (scanAuxFile): make the regexs static
3440 * text3.C (doInsertInset, dispatch, dispatch):
3441 * text2.C (cursorUp, cursorDown):
3442 * text.C (selectNextWordToSpellcheck):
3443 * BufferView_pimpl.C (dispatch):
3444 * lyxfunc.C (dispatch): localDispatch -> dispatch
3446 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3448 * lyxsocket.C: include <cerrno>
3450 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * lyxfunc.C (dispatch): remove textcache stuff
3454 * bufferlist.C (release): remove textcache stuff
3457 * TextCache.C: delete file
3458 * TextCache.h: delete file
3460 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3462 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3463 delete of the bv_->text.
3464 (resizeCurrentBuffer): remove texcache stuff
3465 (workAreaResize): ditto
3467 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3472 2003-10-16 André Pönitz <poenitz@gmx.net>
3479 * text3.C: speed up by storing y positions per paragraph plus per-row
3480 offset instead of having a 'full' y position in the row.
3482 2003-10-15 André Pönitz <poenitz@gmx.net>
3486 * undo.[Ch]: make undo aware of inner insets
3488 2003-10-14 Angus Leeming <leeming@lyx.org>
3490 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3491 static member functions LyX::ref() and LyX::cref.
3492 (lastfiles): new accessor functions for the new lastfiles_ member var.
3493 (addLyXView, views_): add a new LyXView to the list of views_.
3494 (updateInset): loop over all LyXViews to call their own updateInset
3495 member function, returning a pointer to the Buffer owning the inset.
3497 * BufferView_pimpl.C (loadLyXFile):
3498 * MenuBackend.C (expandLastfiles):
3499 * bufferlist.C (MenuWrite, QuitLyX):
3500 lastfiles is no longer a global variable.
3501 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3503 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3504 static function. Access through LyX::cref().emergencyCleanup().
3506 2003-10-14 André Pönitz <poenitz@gmx.net>
3508 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3510 * undo.[Ch]: restoring part of 'undo in insets'
3513 * undo_funcs.[Ch]: merge with undo.[Ch]
3515 * tabular.C: small cleansing stuff
3517 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3519 * paragraph_funcs.C (readParToken): report unknown insets as error
3520 boxes. Use the outer paragraph as location (also for unknown
3523 * factory.C (readInset): do not abort on reading an unknown inset.
3524 Eat it and return 0.
3526 2003-10-13 Angus Leeming <leeming@lyx.org>
3528 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3530 * lyxrc.C: displayTranslator is now a function,
3531 declared in GraphicsTypes.h.
3533 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3535 * format.C: new placeholder $$a to pass the socket address.
3537 * bufferlist.[Ch]: new function getBufferFromTmp.
3539 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3540 files in the temporary dir.
3542 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3544 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3546 * Makefile.am: add lyxsocket.[Ch].
3548 * lyx_main.C (error_handler): handle SIGPIPE.
3550 2003-10-13 André Pönitz <poenitz@gmx.net>
3552 * BufferView_pimpl.C:
3557 * undo_funcs.[Ch]: use paroffset_type instead of
3558 ParagraphList::iterators to prevent multiple conversion
3559 (and get a more robust interface)
3561 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3565 * text3.C (dispatch): ditto
3567 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3570 move the onlyfile, use onlyfile instead of foundfile in a couple
3573 * DepTable.C (update): flush the error stream a bit more
3575 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * lyxserver.C (callback): adjust
3579 * lyxfunc.C (getStatus): add a missing brace in commented code
3580 (ensureBufferClean): reindent
3581 (dispatch): delete version taking a string
3583 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * LaTeX.C (deplog): move found file handlig from here...
3586 (handleFoundFile): .. to new function here.
3587 (deplog): make sure to discover several files mentioned on the
3590 2003-10-10 André Pönitz <poenitz@gmx.net>
3597 * text3.C: fix some of the tabular crashes
3599 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3601 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3603 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3605 2003-10-09 André Pönitz <poenitz@gmx.net>
3607 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3610 * BufferView_pimpl.C:
3611 * bufferview_funcs.C:
3622 * undo_funcs.C: adjust
3624 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * text2.C (incrementItemDepth): new function, use a backtracking
3627 algorithm to discover the correct item depth.
3628 (resetEnumCounterIfNeeded): new function, use a backtracking
3629 algorithm to discover if counter reset is needed.
3630 (setCounter): use them. Simplify a bit. Add different labels for
3631 different item depths for itemize.
3633 * paragraph.C (Paragraph): remove initialization of enumdepth
3636 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3637 enumerate and itemize. Change the type of itemdepth to signed char.
3639 2003-10-08 André Pönitz <poenitz@gmx.net>
3641 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3646 * tabular.[Ch]: fix crash after 'row-insert'
3648 2003-10-08 Angus Leeming <leeming@lyx.org>
3650 Fix doxygen warnings.
3652 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3653 Remove CutAndPaste:: prefix from header file declaration.
3655 * LColor.h (fill): remove LColor:: prefix from declaration.
3657 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3658 use lyx::depth_type rather than Paragraph::depth_type so that
3659 header file and .C file match.
3661 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3663 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3664 * aspell.C: \file aspell_local.C -> \file aspell.C
3665 * gettext.C: \file gettext.C -> \file src/gettext.C
3666 * gettext.h: \file gettext.h -> \file src/gettext.h
3667 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3668 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3669 * text.C: \file text.C -> \file src/text.C
3671 * toc.C: move comment so that doxygen is not confused.
3673 2003-10-07 Angus Leeming <leeming@lyx.org>
3675 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3677 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3680 * aspell_local.h: add forgotten std::string's.
3682 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3689 * text3.C: The Box patch. Fancybox support, minipage, parbox
3691 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3697 * ParagraphParameters.h:
3707 * lyxtextclasslist.h:
3710 * paragraph_pimpl.C:
3711 * textcursor.h: add <string> and other small fixes to make Lars'
3712 std::string patch compile with STLport.
3714 2003-10-06 Angus Leeming <leeming@lyx.org>
3716 * LColor.h: Add missing #include <string>.
3718 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * All most all file in all subdirs: Make <string> be the prefered
3721 way of getting to std::string, add using declarations.
3723 2003-10-06 André Pönitz <poenitz@gmx.net>
3725 * metricsinfo.C: initialize LyXFont before changing attribute.
3726 (fixes the 'math in \emph is upright' bug)
3728 2003-10-06 André Pönitz <poenitz@gmx.net>
3730 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3732 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3735 * paragraph_pimpl.C: Small fixes to build using STLport
3737 2003-10-02 André Pönitz <poenitz@gmx.net>
3740 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3742 2003-10-01 André Pönitz <poenitz@gmx.net>
3744 * factory.C: assert early
3746 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3748 * lyx_main.C: remove the global debug object
3750 * debug.h: adjust for new debugstream
3752 * debug.C: adjust for new debugstream and keep the global debug
3755 2003-09-22 Angus Leeming <leeming@lyx.org>
3757 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3758 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3759 an incomplete class LyXFont.
3761 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3763 * factory.C: bug fix in branches
3765 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * lyxfunc.C (processKeySym): adjust
3769 (dispatch): change arg name from ev to func, adjust
3770 (sendDispatchMessage): ditto
3772 * lyx_main.C (defaultKeyBindings): adjust keybindings
3773 (deadKeyBindings): ditto
3775 * kbsequence.C (addkey): return a FuncRequest
3777 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3779 * kbmap.C (bind): take a FuncRequest as arg, adjust
3782 (defkey): change to take a FuncRequest as arg, adjust
3783 (findbinding): take a FuncRequest as arg, adjust.
3785 * funcrequest.h (operator=): added
3787 * funcrequest.C (FuncRequest): default kb_action changed from
3788 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3790 * buffer.C (dispatch): simplify
3791 (dispatch): adjust to take a FuncRequest as arg, adjust
3793 * boost.C (assertion_failed): change assertion message slightly
3795 * ToolbarBackend.C (read): simplify
3797 * MenuBackend.C (binding): adjust call to findbinding, add a
3798 message if no binding is found.
3800 (expandToc): correct by adding a empty FuncRequest
3802 * LyXAction.C: include <boost/assert.hpp>
3803 (isPseudoAction): delete function
3804 (LookupFunc): change name to...
3805 (lookupFunc): this. change return type to FuncRequest.
3806 (getActionName): take kb_action as arg, simplify
3807 (funcHasFlag): add an assert, simplify.
3809 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * toc.C (action): return a FuncRequest, simplify
3813 * lyxfunc.C (processKeySym): adjust
3814 (getStatus): delete version that takes an int.
3816 (dispatch): delete version that takes action as int
3818 (sendDispatchMessage): simplify and adjust
3820 * funcrequest.C (getArg): take unsigned int as arg
3822 * ToolbarBackend.C (read): adjust
3823 (add): delete version that takes func as a string.
3824 (getIton): take a FuncRequest as arg
3826 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3829 * MenuBackend.C (MenuItem): add a new construct that only takes a
3830 Kind, simplify the constructor use for submenus.
3832 (expandLastfiles): adjust
3833 (expandDocuments): adjust
3834 (expandFormats): adjust
3835 (expandFloatListInsert): adjust
3836 (expandFloatInsert): adjust
3837 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3839 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3840 Remove class variables lyx_pseudo_map and lyx_arg_map
3842 * LyXAction.C (searchActionArg): delete function
3843 (getPseudoAction): delete function
3844 (retrieveActionArg): delete function
3845 (LookupFunc): make it return kb_action, simplify.
3846 (getActionName): simplify
3848 * factory.C (createInset): fix new bug
3850 2003-09-19 Angus Leeming <leeming@lyx.org>
3852 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3853 masterFilename_ parameter in the include inset.
3855 * factory.C (createInset): changes due to the changes to InsetInclude.
3857 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3859 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3861 2003-09-18 Angus Leeming <leeming@lyx.org>
3864 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3865 Inset::fillWithBibKeys.
3866 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3868 2003-09-18 Angus Leeming <leeming@lyx.org>
3870 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3872 (ctor): pass and store a 'Buffer const &'
3873 (buffer): new member function.
3875 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3876 '*this' to the LaTeXFeatures ctor.
3878 2003-09-18 Angus Leeming <leeming@lyx.org>
3884 * text.C: rename EnumLColor as LColor_color.
3886 2003-09-18 Angus Leeming <leeming@lyx.org>
3888 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3889 remove #include "insets/insetbase.h" from cursor.h.
3891 2003-09-18 Angus Leeming <leeming@lyx.org>
3893 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3894 InsetOld_code to remove #include "inset.h".
3896 * iterators.C: add #include "insets/inset.h"
3898 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3900 * BufferView.C: remove more locking stuff that apparently doesn't
3901 do anything sensible.
3903 2003-09-16 André Pönitz <poenitz@gmx.net>
3906 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3909 2003-09-16 Angus Leeming <leeming@lyx.org>
3911 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3913 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3916 * paragraph.h: remove #include "lyxfont.h". Forward declare
3919 2003-09-16 Angus Leeming <leeming@lyx.org>
3921 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3922 of support/textutils.h.
3923 (isWord): move the contents of support/textutils.h's IsWordChar here.
3929 * text2.C: add #include "paragraph.h".
3932 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3934 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * LaTeX.C: use namespace alias for lyx::support::os
3942 2003-09-16 Angus Leeming <leeming@lyx.org>
3945 * bufferview_funcs.C:
3948 * paragraph_pimpl.C:
3950 * text.C: add #include "LColor.h".
3952 2003-09-16 Angus Leeming <leeming@lyx.org>
3954 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3955 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3957 Store the FontBits::color variable as an int rather than as an
3958 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3961 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3962 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3963 string calls together.
3965 * lyxrc.C: add #include "LColor.h".
3967 2003-09-15 Angus Leeming <leeming@lyx.org>
3969 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3972 2003-09-15 Angus Leeming <leeming@lyx.org>
3974 * LColor.h: add an EnumLColor wrapper for LColor::color.
3976 * lyxfont.[Ch] (color, setColor, realColor):
3977 * lyxtext.h, text.C (backgroundColor):
3978 pass EnumLColor args to/from the functions, rather than LColor::color
3982 * lyxtext.h: forward declare EnumLColor.
3984 * lyx_main.C: add #include "LColor.h".
3986 2003-09-15 Angus Leeming <leeming@lyx.org>
3988 * .cvsignore: add lyx-gtk.
3990 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * ParagraphParameters.C
3999 * bufferview_funcs.C
4009 * vc-backend.C: remove usage of STRCONV
4011 2003-09-15 Angus Leeming <leeming@lyx.org>
4013 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4014 explicitly define the color passed to the painter.
4016 2003-09-15 Angus Leeming <leeming@lyx.org>
4018 * bufferparams.C (BufferParams): reorder member initializers to avoid
4021 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4023 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4024 * text.C (updateRowPositions): remove an unusual nop
4026 2003-09-12 André Pönitz <poenitz@gmx.net>
4028 * BufferView_pimpl.C:
4037 * Counters.[Ch]: finish the 'automatic counters' job
4039 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4041 * aspell.C: include <boost/assert.cpp> (compile fix)
4043 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4045 * boost.C (assertion_failed): use lyx::support::abort instead of
4048 2003-09-10 Angus Leeming <leeming@lyx.org>
4050 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4051 with their _fwd progeny.
4053 2003-09-09 Angus Leeming <leeming@lyx.org>
4055 134 files throughtout the source tree: replace 'using namespace abc;'
4056 directives with the appropriate 'using abc::xyz;' declarations.
4058 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4060 * boost.C (emergencyCleanup): moved here from LAssert.c
4061 (assertion_failed): new function, called by BOOST_ASSERT
4063 * several files: change Assert to BOOST_ASSERT
4065 2003-09-09 Angus Leeming <leeming@lyx.org>
4067 * buffer.[Ch]: Add an Impl class and move Buffer's member
4068 variables into it. As a result move several header files out of
4071 Add header files to lots of .C files all over the tree as a result.
4073 2003-09-09 Angus Leeming <leeming@lyx.org>
4075 * buffer.[Ch]: make Buffer's member variables private. Add
4078 Lots of changes all over the tree as a result.
4080 2003-09-08 Angus Leeming <leeming@lyx.org>
4082 * graph.C: #include <config.h>.
4084 2003-09-08 Angus Leeming <leeming@lyx.org>
4088 * BufferView_pimpl.C:
4117 * toc.C: remove redundant using directives.
4119 2003-09-07 Angus Leeming <leeming@lyx.org>
4121 * LaTeXFeatures.h: remove #include "support/types.h".
4122 * ToolbarBackend.h: remove #include <algorithm>.
4123 * changes.h: remove #include <ctime>.
4124 * debug.h: remove #include <iosfwd>.
4125 * graph.h: remove #include "support/std_string.h".
4126 * lyx_main.h: remove #include <csignal>.
4127 * lyxlex_pimpl.h: remove #include <fstream>.
4128 * sgml.h: remove #include <algorithm>, <utility>.
4129 * toc.h: remove #include "support/std_ostream.h".
4130 Add #include <iosfwd>.
4132 2003-09-07 Angus Leeming <leeming@lyx.org>
4134 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4136 * converter.h: forward declare LatexRunParams.
4137 * encoding.h: remove #include "lyxrc.h".
4138 * lyxtext.h: remove #include "LColor.h".
4139 * lyxtextclass.h: remove #include "support/types.h".
4140 * trans.h: remove #include "tex-accent.h".
4141 * trans_mgr.h: remove #include "tex-accent.h".
4142 * insets/inset.h: remove #include "support/types.h", <vector>.
4143 * insets/insetcollapsable.h: remove #include "LColor.h".
4144 * insets/insetinclude.h: remove #include "dimension.h".
4145 * insets/insetlatexaccent.h: remove #include "dimension.h".
4146 * insets/insetoptarg.h:: remove #include "insettext.h".
4147 * insets/insettext.h: remove #include "dimension.h",
4148 <boost/shared_ptr.hpp>
4150 * insets/renderers.h: add #include "dimension.h".
4151 * insets/updatableinset.h: add #include "support/types.h".
4153 * many .C files: Associated changes.
4155 2003-09-06 Angus Leeming <leeming@lyx.org>
4157 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4158 one, inside testInvariant.
4160 * PrinterParams.C: new file.
4161 * PrinterParams.[Ch]: move the function bodies out of line.
4163 2003-09-06 Angus Leeming <leeming@lyx.org>
4165 * ParagraphParameters.h: forward declare ParameterStruct rather than
4166 including its header file.
4167 (depth): moved out-of-line.
4169 2003-09-06 Angus Leeming <leeming@lyx.org>
4171 * BufferView_pimpl.h:
4174 * lyxfunc.h: forward declare LyXKeySym rather than
4175 #include "frontends/LyXKeySym.h".
4177 * BufferView_pimpl.C:
4180 * lyxfunc.C: associated changes.
4182 2003-09-06 Angus Leeming <leeming@lyx.org>
4184 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4185 As a result, can remove the #include "insets/inset.h" from BufferView.h
4187 2003-09-06 Angus Leeming <leeming@lyx.org>
4189 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4190 As a result, can remove the #include "insets/inset.h" from BufferView.h
4192 2003-09-06 Angus Leeming <leeming@lyx.org>
4198 * bufferview_funcs.C:
4199 * BufferView_pimpl.C:
4204 * ParagraphParameters.C:
4209 * frontends/controllers/ControlDocument.C:
4210 * insets/insetcaption.C: rearrange the #includes into some sort of
4213 * buffer.h: remove #includes ErrorList.h, undo.h
4215 2003-09-06 Angus Leeming <leeming@lyx.org>
4217 * support/types.h: add a 'depth_type' typedef, used to store the
4218 nesting depth of a paragraph.
4221 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4222 defining explicitly.
4225 * paragraph_funcs.h:
4226 * ParagraphParameters.h:
4227 * sgml.h: use lyx::depth_type rather than Paragraph or
4228 ParameterStruct's depth_type.
4231 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4234 * BufferView_pimpl.C:
4236 * ParagraphParameters.C:
4239 * bufferview_funcs.C:
4246 * frontends/LyXView.C:
4247 * frontends/controllers/ControlDocument.C:
4248 * frontends/controllers/ControlErrorList.C:
4249 * insets/insetbibitem.C:
4250 * insets/insetbranch.C:
4251 * insets/insetcaption.C:
4252 * insets/insetcollapsable.C:
4253 * insets/insetenv.C:
4254 * insets/insetert.C:
4255 * insets/insetfloat.C:
4256 * insets/insetfoot.C:
4257 * insets/insetfootlike.C:
4258 * insets/insetnewline.C:
4259 * insets/insetquotes.C:
4260 * insets/insettabular.C:
4261 * insets/insettext.C:
4262 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4264 * frontends/controllers/ControlChanges.C: #include "changes.h".
4266 2003-09-06 Angus Leeming <leeming@lyx.org>
4268 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4269 than #including paragraph.h.
4272 * RowList.h: deleted. Superfluous.
4282 * insets/insettext.h: use ParagraphList_fwd.h rather than
4285 * paragraph.h: don't forward declare ParagraphList.
4288 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4289 rather than ParagraphList.h. paragraph.h is still needed for the
4290 Paragraph::depth_type parameters.
4292 * textcursor.h: enable it to compile stand-alone in light of the
4295 * bufferview_funcs.C:
4307 * frontends/controllers/ControlParagraph.C:
4308 * frontends/controllers/ControlTabular.C:
4309 * insets/insetmarginal.C:
4310 * insets/insetminipage.C:
4311 * insets/insetnote.C:
4312 * insets/insetoptarg.C: add header files needed to compile again.
4314 2003-09-06 Angus Leeming <leeming@lyx.org>
4316 * RowList_fwd.h: new file, forward-declaring Row rather than
4317 #including lyxrow.h.
4322 * insets/insettext.h: use it instead of RowList.h
4324 * bufferview_funcs.C:
4331 * text3.C: #include "RowList.h".
4333 2003-09-05 Angus Leeming <leeming@lyx.org>
4335 * factory.C (createInset):
4336 * vspace.C (c-tor): replace sscanf call with an istringstream.
4337 * ispell.C: re-add missing HP/UX headers.
4338 * lyxserver.C: re-add missing os2 headers.
4340 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4349 * text3.C: re-add missing system headers, needed for 2.95.2.
4351 2003-09-05 Angus Leeming <leeming@lyx.org>
4353 Changes most place everywhere due to the removal of using directives
4354 from support/std_sstream.h.
4356 2003-09-05 Angus Leeming <leeming@lyx.org>
4358 Replace LString.h with support/std_string.h,
4359 Lsstream.h with support/std_sstream.h,
4360 support/LIstream.h with support/std_istream.h,
4361 support/LOstream.h with support/std_ostream.h.
4363 Changes resulting throughout the tree.
4365 2003-09-05 Angus Leeming <leeming@lyx.org>
4367 * sgml.h: ensure that the header file can be compiled stand-alone.
4368 * *.C: strip out redundant #includes. (320 in total.)
4370 2003-09-04 Angus Leeming <leeming@lyx.org>
4372 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4373 here (from getPackages).
4375 * debug.[Ch]: add a new EXTERNAL tag.
4377 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4379 * text2.C (cursorEnd): simplify
4381 (getColumnNearX): adjust
4383 * text.C (computeBidiTables): adjust
4386 * rowpainter.C (paintChars): adjust
4387 (paintSelection): adjust
4388 (paintChangeBar): adjust
4391 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4393 (numberOfSeparators): adjust
4395 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4401 * text3.C: Restricts the mouse click functionality
4402 of insets like bibtex, include, toc and floatlist to the visible
4403 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4404 up the dialogs. Cursor has to be in front of the inset (i.e.
4405 start of row) for this to function.
4407 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4409 * bufferview_funcs.C (currentState): output row information
4411 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4413 * bufferview_funcs.C (currentState): output paragraph position
4415 2003-09-04 Angus Leeming <leeming@lyx.org>
4417 * FloatList.h: move out #include "Floating.h".
4418 * LaTeX.h: move out #include "DepTable.h".
4419 * LyXAction.h: move out #include "funcrequest.h".
4420 * buffer.h: move out #include "author.h", "iterators.h".
4421 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4422 * lyx_main.h: move out #include "errorlist.h".
4423 * lyxfunc.h: move out #include "FuncStatus.h".
4424 * lyxtext: move out #include "lyxcursor.h".
4425 * paragraph_pimpl.h: move out #include "counters.h".
4427 2003-09-03 Angus Leeming <leeming@lyx.org>
4429 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4430 preamble_snippets list, enabling us to add snippets to the preamble
4431 only if the snippet was not there already.
4433 2003-09-04 Angus Leeming <leeming@lyx.org>
4435 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4437 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4442 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4444 * BranchList.C: point fix, earlier forgotten
4446 2003-09-02 Angus Leeming <leeming@lyx.org>
4448 * box.C (contains): renamed from 'contained' after a fantastic
4451 2003-09-02 John Levon <levon@movementarian.org>
4457 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4459 2003-09-02 John Levon <levon@movementarian.org>
4461 * text2.C: simplification of cursorEnd(), including partial
4464 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * buffer.C (readFile): add a space
4468 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4470 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4472 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * buffer.C (readFile): new function, take a filename and a
4475 ParagraphList::iterator
4477 (readFile): adjust, make it private. don't use setStream, make
4478 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4479 always contain the filename.
4481 * BufferView.C (insertLyXFile): simplify and make it work for
4484 2003-08-30 John Levon <levon@movementarian.org>
4486 * Makefile.am: fix dist (from Kayvan)
4488 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * most files: change to use const Buffer refs
4492 2003-08-27 André Pönitz <poenitz@gmx.net>
4494 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4495 on top of ownerPar().
4497 2003-08-27 John Levon <levon@movementarian.org>
4499 * funcrequest.C: properly initialise POD members
4501 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4503 * lyxtext.h (top_y): move top_y from here
4508 * BufferView_pimpl.[Ch]: to here
4509 * frontends/screen.C:
4510 * insets/insettabular.C:
4511 * insets/insettext.C: adjust
4512 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4514 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4517 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4519 2003-08-26 André Pönitz <poenitz@gmx.net>
4521 * paragraph_func.[Ch] (outerPar): new function
4524 * paragraph_funcs.C:
4525 * paragraph_funcs.h:
4526 * paragraph_pimpl.C:
4527 * text2.C: remove Inset::par_owner
4529 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4534 * text2.C: eliminates the needFullRow/display() stuff
4535 altogether, putting the logic in metrics/draw in the insets.
4537 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4539 * text2.C (redoParagraphInternal, redoParagraphs):
4540 * text.C (redoParagraph): add a call to updateRowPositions at the
4541 end of each 'metrics-like' call. Remove all others.
4542 (getRow): remove the 'y-computing' version.
4543 (getRowNearY): do not compute nor return the real y. Solve the
4544 'y < 0' problem and simplify.
4546 2003-08-22 Angus Leeming <leeming@lyx.org>
4548 * *.[Ch]: clean-up of licence and author blurbs.
4549 Also move config.h out of a few .h files and into a few .C files.
4551 2003-08-22 André Pönitz <poenitz@gmx.net>
4553 * lyxrow.[Ch]: add x_ and *fill_ members
4558 * text2.C: adjust/remove prepareToPrint() calls
4560 2003-08-22 André Pönitz <poenitz@gmx.net>
4562 * lyxrow.[Ch]: add end_ member
4564 * lyxrow_funcs.C: use LyXRow::end_
4566 * lyxtext.h (singleWidth): add LyXFont parameter
4569 * text2.C: adjust LyXText::singleWidth() calls
4571 * text.C (redoParagraph): simplify row breaking logic
4574 2003-08-19 André Pönitz <poenitz@gmx.net>
4576 * funcrequest.C: initialize button_ member
4579 * rowpainter.[Ch]: interface consolidation
4581 2003-08-18 André Pönitz <poenitz@gmx.net>
4584 * BufferView_pimpl.C:
4586 * paragraph_funcs.C:
4588 * text3.C: remove LyXScreen::draw() and fitCursor calls
4590 * BranchList.h: remove spurious semicolons
4592 * MenuBackend.C: fix branchlist related crash
4594 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4602 * bufferparams.[Ch]:
4606 * text3.C: implements the 'branch inset'
4607 idea. This allows the output of various versions of a document
4608 from a single source version, selectively outputing or suppressing
4609 output of parts of the text.
4610 This implementation contains a 'branch list editor' in a separate
4611 tab of the document settings dialog. Branches are user definable
4612 and have a "display colour" to distinguish them on-screen.
4614 ColorHandler was somewhat cleaned up.
4615 (1) make possible a dynamically growing LColor list by allowing
4616 the graphic context cache to grow along (vector);
4617 (2) eliminate an IMHO unnecessary step in colour allocation.
4619 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4621 * BufferView_pimpl.C: compile fix
4623 2003-08-15 André Pönitz <poenitz@gmx.net>
4625 * rowpainter.C: remove extra metrics calls
4627 * lyxtext.h: merge the two constructors into a single one,
4628 pass reference to owner's par list
4630 * BufferView_pimpl.C:
4634 2003-08-15 André Pönitz <poenitz@gmx.net>
4636 * lyxrow_funcs.[Ch]:
4639 * paragraph_funcs.C:
4644 * text_funcs.C: split LyXText::rowlist_ into individual
4645 Paragraph::rows_ chunks
4648 * BufferView_pimpl.[Ch]:
4651 * text3.C: remove toggleSelection()
4653 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4655 * bufferlist.C: beautify two alerts (shorter text of buttons)
4656 * buffer.C: Remove redundant ' ' from message
4658 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4659 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4660 rename VALIGN_CENTER to VALIGN_MIDDLE
4662 2003-08-11 André Pönitz <poenitz@gmx.net>
4664 * lyxtext.h (getPar):
4665 * text.C: new function
4667 2003-08-11 André Pönitz <poenitz@gmx.net>
4670 * tracer.[Ch]: remove unneeded files
4672 * InsetList.[Ch]: remove resizeInsetsLyXText()
4677 * text3.C: merge insertParagraphs() and appendParagraph()
4678 remove breakAgain(), update()
4680 * BufferView_pimpl.[Ch]:
4681 * bufferview_funcs.[Ch]:
4685 * tabular.C: adjust after text & InsetList changes.
4687 2003-08-08 André Pönitz <poenitz@gmx.net>
4689 * text.C (insertChar, backspace): replace rowlist fiddling
4690 with rebreak of full par
4693 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4694 checkParagraph, updateInset): removed
4696 2003-08-07 André Pönitz <poenitz@gmx.net>
4699 * text3.C: merge some LFUN handlers, remove dead code
4701 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4703 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4705 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4707 * text2.C (DEPM): fix part of bug 1255 and 1256
4709 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4711 * BufferView_pimpl.C (workAreaDispatch): change to use
4712 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4713 that are no mouse related.
4715 2003-08-05 André Pönitz <poenitz@gmx.net>
4718 * BufferView_pimpl.[Ch]:
4719 * bufferview_funcs.C:
4721 * text3.C: rip out "deep update"
4723 * textcursor.[Ch] (last_sel_cursor): remove unused member
4725 2003-08-04 André Pönitz <poenitz@gmx.net>
4728 * BufferView_pimpl.[Ch]:
4729 * ParagraphParameters.C:
4730 * bufferview_funcs.C:
4736 * text3.C: replace "complicated" BufferView::update(...) calls with
4739 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4741 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4743 * Makefile.am (lyx_SOURCES): add paper.h
4745 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4747 * Makefile.am: move things around so that both lyx-qt and
4748 lyx-xforms can be built (according to --with-frontend). Then lyx
4749 is a symbolic link to lyx-[firstfrontend]
4751 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4753 * Always use std::endl with lyxerr
4755 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4757 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4759 2003-08-01 André Pönitz <poenitz@gmx.net>
4762 * BufferView_pimpl.[Ch]:
4764 * text3.C: merge BufferView::repaint() and BufferView::update()
4766 2003-08-01 José Matos <jamatos@lyx.org>
4768 * buffer.[Ch]: file_format is no longer a buffer data element.
4770 2003-08-01 André Pönitz <poenitz@gmx.net>
4775 * text2.C: make redoParagraph more independent of current cursor
4777 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4779 * text2.C: remove unneeded members
4781 2003-07-30 André Pönitz <poenitz@gmx.net>
4783 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4785 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4786 create a single function...
4788 * paragraph_funcs.C (moveItem): ... here.
4791 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4793 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4795 * LColor.[Ch]: Add comment and greyedout logical colors.
4797 2003-07-30 André Pönitz <poenitz@gmx.net>
4799 * tabular.C: don't use Assert too heavily. This crashes where it
4802 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4804 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4805 is disabled (bug 1232)
4807 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4809 * factory.C: limited 'arg' scope
4811 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4813 * factory.C: fixed Note submenu issues
4815 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4817 * factory.C: submenu for Note/Comment/Greyedout
4819 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4822 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4824 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4827 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4828 greyedout. Patch provided by Jürgen Spitzmüller.
4830 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4832 * kbmap.C (read): fix error message when reading bind files
4834 2003-07-29 Angus Leeming <leeming@lyx.org>
4836 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4837 certainly does not do what it purports to do. I am doing it, and
4838 us, a favour by killing it.
4840 2003-07-28 José Matos <jamatos@lyx.org>
4842 * buffer.C (readBody, do_writeFile):
4843 * paragraph.C(readParagraph): \end_document replaces \the_end.
4845 2003-07-29 André Pönitz <poenitz@gmx.net>
4848 * BufferView_pimpl.[Ch]:
4852 * textcursor.[Ch]: remove toggleToggle & Co
4854 2003-07-28 José Matos <jamatos@fep.up.pt>
4856 * buffer.C (readParagraph):
4857 * params_func (readParToken, readParagraph):
4858 * paragraph.C (write): \layout -> \begin_layout.
4860 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4862 * lyxlex_pimpl.C (setFile): clean up slightly.
4864 * bufferparams.h: add compressed var
4866 * buffer_funcs.C (readFile): adjust for LyXLex change
4867 (newFile): ditto + simplify
4869 * buffer.C (writeFile): handle writing of compressed files
4871 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4872 Check if the file is compressed and set a bufferparm if so.
4874 * Makefile.am (lyx_LDADD): remove explicit -lz
4876 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4878 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4879 makeDocBookFile): put the real LyX version in the first line of
4883 * version.C.in: remove lyx_docversion
4885 * tabular.C (write_attribute): add a template-based version to
4886 write enums properly
4888 2003-07-28 André Pönitz <poenitz@gmx.net>
4893 * text3.C: use doubles again for x-coordinates. They are needed.
4895 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * messages.C (getLocaleDir): use lyx_localedir()
4899 * lyxlex_pimpl.C (setFile): compress stuff
4901 * buffer.C (writeFile): add some compression stuff
4902 (do_writeFile): new func, dont call expliti close... will this
4905 * Makefile.am (lyx_LDADD): add -lz
4907 2003-07-28 José Matos <jamatos@fep.up.pt>
4909 * buffer.C: increment file format.
4910 * paragraph_funcs (readParagraph, readParToken):
4911 * paragraph.C (readParagraph): add \end_layout.
4913 2003-07-27 Angus Leeming <leeming@lyx.org>
4915 * Makefile.am: remove special casing for configure-time setting of
4916 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4918 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4919 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4921 2003-07-26 André Pönitz <poenitz@gmx.net>
4923 * paragraph_func.[Ch]:
4924 * paragraph.C (realizeFont): inline it whereever it is used
4929 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4932 2003-07-26 André Pönitz <poenitz@gmx.net>
4936 * text2.C: get rid of LyXText::need_break_row
4938 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4940 * toc.[Ch]: put namespace toc inside namespace lyx
4942 * MenuBackend.C (expandToc2): adjust for lyx::toc
4945 * lyxfunc.C (dispatch): adjust for lyx::find
4947 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4948 lyx::find instead. Reorganize a bit.
4949 (LyXReplace): rename to replace
4950 (LyXFind): rename to find
4952 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4955 2003-07-26 André Pönitz <poenitz@gmx.net>
4957 * text.C (setHeightOfRow): restrict scope of temporary variable
4959 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4960 code (never has been used?)
4962 2003-07-27 Asger Alstrup <alstrup@local>
4964 * text.C (fill): Optimise algorithm to exploit that we can reuse
4965 the LyXFont for many characters.
4966 (setHeightOfRow): Same thing.
4967 (rowBreakPoint): Same thing.
4969 2003-07-26 Asger Alstrup <alstrup@local>
4971 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4973 * text.C (singleWidth): Spurious font copying in hot-spot
4974 singleWidth avoided. Reorder tests for arabic for efficiency.
4976 * text.C (fill): handle empty paragraphs better.
4978 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4981 * encoding.h: add includes
4983 * lyxrc.C: remove reading of bind files
4985 * lyx_main.C (init): setup bindings and menus only if we have a
4988 * kbmap.C (read): new method. Do the actual reading of bind
4991 * converter.C (dvipdfm_options):
4994 (output): adapt PAPER_* enums.
4996 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4998 * bufferparams.h: remove paper-related enums from there
5000 * paper.h: New file. A trivial header file to hold paper-related
5001 enums. It should later expand to contain many paper-related
5004 * lyxrc.C: declare extern displayTranslator
5006 2003-07-27 José Matos <jamatos@fep.up.pt>
5008 * tabular.[Ch] (linuxdoc): add support for tables and figures
5011 2003-07-27 José Matos <jamatos@fep.up.pt>
5013 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5014 consistency in both functions.
5015 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5017 2003-07-26 Asger Alstrup <alstrup@local>
5019 * rowpainter.C (paintRows): Change algorithm to work directly on
5020 the insets rather than asking every character in the document
5021 whether its an inset.
5023 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5025 * buffer.C (openFileWrite): factorize some code
5027 2003-07-26 Angus Leeming <leeming@lyx.org>
5030 * lyx_main.[Ch]: replace occurances of system_tempdir with
5033 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * rename Inset to InsetOld
5037 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5039 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5040 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5041 which I think is a bit clearer. EDIT is gone, since it was
5042 premature optimisation, and broken for mathed anyway.
5043 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5044 with cursor positioning in insets as well (math insets still do not
5045 work, but that's a different story anyway.) It mysteriously
5046 crashes sometimes with undo in the first paragraph, but I'm fairly
5047 confident that this is a compiler bug.
5049 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * paragraph.C (Paragraph): adjust for new clone return type
5053 (copyIntoMinibuffer): ditto
5055 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5057 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5058 by not having a special case, and always doing a full rebreak of
5059 the document after undo.
5061 2003-07-23 Angus Leeming <leeming@lyx.org>
5063 * factory.C (createInset): InsetExternal::setParams now takes a
5066 2003-07-23 Angus Leeming <leeming@lyx.org>
5068 * factory.C (createInset): changed interface to the external and
5069 graphics mailers' string2params functions.
5071 2003-07-23 Angus Leeming <leeming@lyx.org>
5073 * factory.C (createInset): pass a
5074 Buffer const * parameter to InsetExternalMailer's string2params.
5076 2003-07-22 John Levon <levon@movementarian.org>
5078 * Thesaurus.h: include the right aiksaurus header
5080 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5082 * MenuBackend.C (expand): check menu shortcuts unconditionally
5084 2003-07-21 Angus Leeming <leeming@lyx.org>
5086 * factory.C (createInset): pass a
5087 buffer_path parameter to InsetGraphicsMailer's string2params.
5089 2003-07-21 Angus Leeming <leeming@lyx.org>
5091 * BufferView_pimpl.C (buffer):
5094 * lyxfunc.C (dispatch):
5095 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5096 rather than the grfx shortcut.
5098 2003-07-21 André Pönitz <poenitz@gmx.net>
5100 * rowpainter.C: remove unused variables
5103 * tabular_funcs.h: move to tabular.C
5104 * Makefile.am: adjust
5106 * tabular.[Ch]: basic optical cleaning
5108 * author.h: pass references, not values
5110 2003-07-18 André Pönitz <poenitz@gmx.net>
5118 * text3.C: two-phase drawing for InsetText and InsetTabular
5119 some float -> int changes.
5121 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5123 * lyx_main.C: fix the fix
5125 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5127 * lyx_main.C: fix a crash in batch mode if no files specified
5130 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5132 * format.[Ch] (papersize): moved to BufferParams
5133 * converter.[Ch] (dvips_options): moved to BufferParams
5134 (dvipdfm_options): moved to anon namespace
5135 * bufferparams.[Ch]: added above functions.
5137 2003-07-17 André Pönitz <poenitz@gmx.net>
5141 * text2.C: don't call inset->update() anymore
5143 * metricsinfo.[Ch]: add convenience constructor
5145 2003-07-16 André Pönitz <poenitz@gmx.net>
5150 * text2.C: replace the LyXCursor::irow_ member with
5151 on-demand computation of the value
5153 2003-07-16 John Levon <levon@movementarian.org>
5155 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5157 2003-07-15 André Pönitz <poenitz@gmx.net>
5160 * text2.C: remove no more needed refresh_row
5162 2003-07-15 André Pönitz <poenitz@gmx.net>
5167 * text3.C: refresh_status tristate -> need_update bool
5169 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5171 * lyxtext.h (init): remove reinit argument (act as if always true)
5172 * text2.C: adjust to that
5174 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5176 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5177 * text3.C: use it to delete selections in some cases
5178 (bugs 441, 673, 702, 954).
5180 2003-07-14 André Pönitz <poenitz@gmx.net>
5182 * rowpainter.[Ch]: reduce interface
5184 2003-07-14 André Pönitz <poenitz@gmx.net>
5186 * BufferView_pimpl.C:
5187 * text2.C: adjust after removing unused BufferView * argument
5189 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5191 * text2.C (init): fix a crash fired on resize
5193 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5195 * buffer.[Ch]: added new closing signal
5196 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5197 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5198 BufferView::Pimpl via the closing the signal
5200 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5202 * buffer.[Ch]: take out all bv-related from buffer
5204 * BufferView_pimpl.[Ch]: connect to new signals
5205 * CutAndPaste.C: removed useless asserts
5206 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5209 * lyxfunc.C: moved view-related funciontality from vc here
5210 * paragraph.C: removed outdated comments
5213 2003-07-10 André Pönitz <poenitz@gmx.net>
5215 * BufferView_pimpl.C:
5219 * text2.C: remove InsetText::InnerCache, clean up consequences
5221 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5223 * ispell.C: fix two typos in error messages
5225 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5227 * Extend Note inset to other forms of annotation like Comment
5228 and Greyedout. Right button click gives dialog.
5230 Files modified or added (+):
5234 * ControlNote.[Ch] +
5236 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5237 frontends/controllers
5241 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5243 * aspell.C: add missing namespace lyx::support
5245 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5247 * BufferView.[Ch] (newFile): Add
5248 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5249 * LaTeX.[Ch] (message): added this signal and use it
5250 * buffer.[Ch] (busy, message): added these signals and use them
5251 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5255 * importer.C: use buffer signals instead of direct bv calling
5256 * lyx_cb.[Ch] (ShowMessage): removed
5259 * paragraph_funcs.C:
5260 * text2.C: use buffer signals
5262 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * introduce namespace lyx::graphics
5266 2003-07-02 André Pönitz <poenitz@gmx.net>
5268 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5270 2003-07-01 André Pönitz <poenitz@gmx.net>
5277 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5278 text*.C to text_func.C
5280 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * introduce namespace lyx::support
5284 2003-06-30 André Pönitz <poenitz@gmx.net>
5289 * text.C: re-enable --with-included-string
5291 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * textcursor.C: add <config.h>
5295 * text.C (getWord): remove const from word_location arg
5297 * lyxvc.C (getLogFile): fix const type order
5299 * lyxtext.h: remove const from word_location arg, add arg name
5301 * lyxlayout.h: currect type on labeltype.
5303 * importer.C: correct \file
5305 * converter.C (intToFormat): use std:: on ret val, ws changes
5307 * bufferlist.h: correct \file
5309 * buffer.C (makeLinuxDocFile): fix const type order
5310 (makeDocBookFile): ditto
5311 (fillWithBibKeys): use std:: on stdlib args.
5313 * CutAndPaste.C: fix authors.
5314 (availableSelections): use std:: on return vector
5316 2003-06-27 André Pönitz <poenitz@gmx.net>
5318 * BufferView_pimpl.C:
5319 * bufferview_funcs.C:
5327 * text3.C: remove LyXCursor::row_ member
5330 * text.C: rename fullRebreak() to partialRebreak() and implement
5331 a fullRebreak() that really bereks fully
5333 * textcursor.h: new struct for cursor-related data
5335 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5337 * lyx_main.C (LyX): get full path of document loaded on the
5340 2003-06-26 André Pönitz <poenitz@gmx.net>
5342 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5343 remove unused/broken operator>,<,>=.
5345 * text.C: remove only use of broken operator<= in an Assert().
5347 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5349 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5350 moved errorlist_.clear to showErrorList
5352 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5354 * converter.C (scanLog, runLaTeX):
5355 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5356 move the bv->showErrorList call to the callers
5357 * lyxfunc.C: i.e. here...
5359 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5360 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5361 namespace, the second to...
5362 * buffer_funcs (BufferFormat, parseErrors): added
5363 * errorlist.C (ErrorList(TeXErrors const &)): removed
5365 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5367 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5369 2003-06-24 "Garst R. Reese" <reese@isn.net>
5373 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5375 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5377 * version.C.in: change docversion to 1.4
5379 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5381 * buffer.C: fix a bug just introduced
5383 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5385 * buffer.[Ch]: added the parseError signal and use it, removed
5387 * BufferView.[Ch] (addError): moved to ...
5388 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5389 to the Buffer::parseError signal to catch (guess what) parse errors
5390 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5392 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5394 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5395 ability to create a buffer and to return an existing one from
5396 the list. Moved these functions to...
5397 * buffer_funcs.[Ch]: added
5398 * BufferView.[Ch] (loadLyXFile): added
5399 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5400 job removed from bufferlist::loadLyXFile.
5401 * buffer.C (setReadOnly): make it work without view
5402 (i.e added an if (users))
5404 2003-06-19 Angus Leeming <leeming@lyx.org>
5407 * LyXAction.C (init):
5408 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5409 with LFUN_DIALOG_SHOW <name> <data>.
5411 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5413 * CutAndPaste.C (availableSelections): small compilation fix for
5414 ancient (gcc 2.9x) compilers
5416 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * text3.C (cursorNext): add tmp var
5420 * text2.C (updateCounters): for function calling out of for clause
5421 (replaceSelectionWithString): ditto
5422 (insertStringAsParagraphs): ditto
5423 (getColumnNearX): add tmp var
5424 (setCursorFromCoordinates): add tmp var
5425 (cursorDownParagraph): add tmp var
5426 (deleteEmptyParagraphMechanism): add tmp var
5428 * text.C (insertChar): add tmp var
5430 * rowpainter.C (paintDepthBar): add tmp var
5432 * CutAndPaste.C (availableSelections): potentially check all
5433 paragraphs in a cut to fill the shown strings.
5435 2003-06-18 André Pönitz <poenitz@gmx.net>
5437 * kbmap.[Ch]: use vector<> instead of list<>
5439 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5441 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5442 pasteSelection with index
5444 * text2.C (pasteSelection): modify, call pasteSelection with index
5446 * paragraph.C (asString): reimplement version with no interval to
5447 call the one with interval.
5449 * lyxtext.h: add index arg to pasteSelection
5451 * MenuBackend.C (MenuItem): handle PasteRecent
5452 (Menu::read::Menutags): add md_pasterecent
5454 (expandPasteRecent): new function
5457 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5459 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5461 (availableSelections): new function
5463 2003-06-17 Angus Leeming <leeming@lyx.org>
5465 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5467 2003-06-17 Angus Leeming <leeming@lyx.org>
5470 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5472 * lyxfunc.C (dispatch): invoke it.
5474 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5476 * iterators.C (operator++, ParPosition): reintroduce some
5477 const_cast for the benefit of older compilers.
5479 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5481 * text3.C (dispatch): do not modify clipboard when doing
5482 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5483 LFUN_DELETE_SKIP on a selection selection
5485 2003-06-16 André Pönitz <poenitz@gmx.net>
5491 * tabular.[Ch]: IU of clone() and getLabelList();
5493 2003-06-13 André Pönitz <poenitz@gmx.net>
5495 * tabular.h: compactification
5497 2003-06-12 André Pönitz <poenitz@gmx.net>
5501 * tabular_funcs.h: some renaming plus whitespace
5503 2003-06-12 André Pönitz <poenitz@gmx.net>
5506 * BufferView_pimpl.C:
5512 * toc.C: Return a Paragraph & for ParIterator::operator*()
5514 2003-06-11 John Levon <levon@movementarian.org>
5518 * ToolbarBackend.C: add "Toolbars" section and
5521 2003-06-10 Angus Leeming <leeming@lyx.org>
5524 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5526 * lyxfunc.C (dispatch): invoke it.
5528 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * main.C: protect <ios> with HAVE_IOS
5531 (main): protect sync_with_stdio with HAVE_IOS
5533 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5535 * text2.C (cutSelection): adjust
5536 (pasteSelection): adjust
5538 * messages.C: handle get of empty string
5540 * main.C (main): use sync_with_stdio(false)
5542 * lyxfunc.C (dispatch): adjust
5544 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5545 (WriteAs): remove unneeded BufferView arg.
5547 * bufferparams.h: use correct types on papersize, papersize2 and
5550 * bufferparams.C (readToken): adjust for type
5551 (writeLaTeX): add missing cases to switch.
5553 * bufferlist.C (quitWriteBuffer): adjust
5556 * buffer.C (asciiParagraph): remove some commented code.
5558 * CutAndPaste.C: remove current_view extern variable.
5559 (cutSelection): add BufferParams arg.
5560 (eraseSelection): add BufferParams arg.
5561 (pasteSelection): add Buffer const & arg
5563 2003-06-07 John Levon <levon@movementarian.org>
5566 * paragraph_funcs.C:
5567 * paragraph_pimpl.C:
5571 * paragraph.C: allow InsetERT to freely space lines,
5572 and some consolidation of code
5574 2003-06-06 José Matos <jamatos@fep.up.pt>
5576 * buffer.C (makeDocBookFile): fix bug #821
5578 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5580 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5582 2003-06-04 Angus Leeming <leeming@lyx.org>
5584 * buffer.C: bump format to 224.
5586 2003-06-05 André Pönitz <poenitz@gmx.net>
5588 * text2.C (redoParagraphs): remove two const_cast<>
5590 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5592 * ParagraphList.h: remove last remnants of NO_STD_LIST
5594 2003-06-03 Angus Leeming <leeming@lyx.org>
5596 * factory.C (createInset): small change to the way InsetExternal's params
5599 2003-06-04 André Pönitz <poenitz@gmx.net>
5601 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5603 * paragraph_pimpl.h:
5604 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5606 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5608 * undo_funcs.C: make some simple cases of undo work again
5610 2003-06-03 John Levon <levon@movementarian.org>
5612 * ispell.C: HPUX doesn't have sys/select.h
5615 2003-06-03 John Levon <levon@movementarian.org>
5617 * CutAndPaste.C: update tabular and include inset
5622 * paragraph.C: remove owningBuffer(), don't pass Buffer
5625 * factory.C: insetGraphicsParams changed
5627 2003-06-02 John Levon <levon@movementarian.org>
5633 * text3.C: remove insetparent
5635 2003-06-02 John Levon <levon@movementarian.org>
5638 * buffer.C: fix inset_iterator.end(), move out of line
5641 2003-06-01 John Levon <levon@movementarian.org>
5643 * text3.C: use a proper cut/paste when doing inset
5644 insert (from Jürgen Spitzmüller)
5646 2003-06-01 John Levon <levon@movementarian.org>
5648 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5650 2003-05-30 André Pönitz <poenitz@gmx.net>
5652 * rowpainter.C: unify second drawing phase
5654 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * trans_mgr.C: remove one case of current_view
5658 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5660 * paragraph_funcs.h: remove paragraph.h include
5662 * paragraph.h: delete NO_STD_LIST stuff
5664 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5666 * buffer.h: remove paragraph.h include
5668 * ParagraphList.C: delete file
5670 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5672 * toc.C (getTocList): adjust
5674 * paragraph_pimpl.C (validate): adjust
5676 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5678 * paragraph.C (Paragraph): adjust
5679 (getPositionOfInset): use const_iterator, adjust
5680 (bibitem): use const_iterator, adjust
5681 (setInsetOwner): adjust
5683 * iterators.C (operator++): adjust
5685 * InsetList.[Ch]: Replace selfmade iterator with standard
5686 vector::iterator also introduce const_iterator. Remove getPos,
5687 getInset and setInset from InsetTable. Adjust accordingly.
5689 * BufferView.C (lockInset): adjust
5690 (ChangeInsets): adjust
5692 * tabular.[Ch]: delete commented same_id functions
5694 2003-05-28 John Levon <levon@movementarian.org>
5696 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5698 2003-05-28 André Pönitz <poenitz@gmx.net>
5700 * metricsinfo.[Ch]: remove 'fullredraw' member
5702 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5704 * lyxtextclass.C (operator): remove caching.
5706 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * text2.C (cursorBottom): adjust
5711 (setCounter): use ParagraphList::find, adjust
5713 * text.C (workWidth): use ParagraphList::find, adjust
5715 * lyxcursor.C (LyXCursor): adjust
5717 * buffer.C (inset_iterator): adjust
5719 * ParagraphList.h: make iterator(value_type) private, make
5720 ParagraphList a friend of iterator.
5722 * ParagraphList.C (find): new function
5724 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5726 2003-05-27 André Pönitz <poenitz@gmx.net>
5728 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5730 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5732 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5734 2003-05-26 John Levon <levon@movementarian.org>
5736 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5738 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * remove same_id from function signatures, adjust.
5742 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5746 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5748 * paragraph.C (Paragraph): get rid of same_ids parameter
5750 * ParagraphList.C (insert): adjust
5753 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * paragraph_funcs.C (breakParagraph): adjust
5756 (breakParagraphConservative): adjust
5758 * buffer.C (readParagraph): adjust
5760 * ParagraphList.C (insert): take a reference instead of a pointer
5763 * paragraph.[Ch] (id): new function
5765 * bufferlist.C (newFile): adjust
5767 * ParagraphList.C (ParagraphList): adjust
5769 (push_back): take a reference instead of a pointer.
5771 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5773 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5776 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5777 set else use old code.
5779 * ParagraphList.C: remove all NO_NEXT code and only compile this
5780 code of NO_STD_LIST is set.
5782 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5784 * BufferView_pimpl.C:
5794 * graphics/GraphicsConverter.C:
5795 * graphics/PreviewLoader.C: header adjustment
5797 2003-05-23 Angus Leeming <leeming@lyx.org>
5799 * LaTeXFeatures.[Ch] (useBabel): new method.
5800 * bufferparams.C (writeLaTeX): use it.
5802 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * ParagraphList.h (set): remove unused function.
5806 2003-05-23 André Pönitz <poenitz@gmx.net>
5809 * BufferView_pimpl.C:
5813 * undo_funcs.C: setUndo reworked
5815 * iterators.[Ch]: add access to topmost ParagraphList
5817 * lyxtext.[Ch] (workWidth): add a const
5819 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5821 * texrow.[Ch] (increasePos): remove function
5822 * exporter.C (export): removed unused var and outdated comment
5824 2003-05-23 Angus Leeming <leeming@lyx.org>
5826 * latexrunparams.h: rename fragile as moving_arg.
5827 * paragraph.C (simpleTeXOnePar): ditto.
5828 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5830 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5834 (textUndoOrRedo): comment out a currently unused var.
5836 * paragraph.h (NO_NEXT): enable NO_NEXT
5838 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5840 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5842 * exporter.C (Export): adjust for removeAutoInsets removal.
5844 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5846 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5848 * BufferView.[Ch] (removeAutoInsets): delete function
5850 2003-05-22 Angus Leeming <leeming@lyx.org>
5852 * latexrunparams.h: add a free_spacing variable.
5854 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5855 to pass moving_arg, as the data is stored in runparams.fragile.
5857 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5858 to Inset::latexOptional or to simpleTeXOnePar.
5860 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5861 free_spacing arg to Inset::latexOptional.
5863 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5866 2003-05-22 Angus Leeming <leeming@lyx.org>
5868 * latexrunparams.h: add fragile and use_babel variables.
5870 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5871 * buffer.C (makeLaTeXFile): store this returned value in
5872 runparams.use_babel, thus passing it to the inset::latex methods.
5874 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5875 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5877 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5878 longer has a fragile arg, as it is stored in runparams.fragile.
5880 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5881 moving_arg parameter as the data is stored in runparams.fragile.
5883 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5884 a fragile parameter as the data is stored in runparams.fragile.
5886 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5890 2003-05-22 Angus Leeming <leeming@lyx.org>
5892 * latexrunparams.h: add a 'bool nice' which defaults to false.
5894 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5895 now encapsulated within runparams.
5897 * bufferlist.C (updateIncludedTeXfiles):
5898 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5900 2003-05-22 Angus Leeming <leeming@lyx.org>
5902 * latexrunparams.h: new file containing struct LatexRunParams.
5903 * Makefile.am: add new file.
5905 * LaTeX.[Ch] (c-tor, run):
5906 * buffer.[Ch] (makeLaTeXFile):
5907 * bufferlist.[Ch] (updateIncludedTeXfiles):
5908 * converter.C (convert, scanLog):
5909 * converter.[Ch] (runLaTeX):
5910 * exporter.C (Export):
5911 * paragraph.[Ch] (simpleTeXOnePar):
5912 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5913 * paragraph_funcs.[Ch] (latexParagraphs):
5914 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5915 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5916 pass around a LatexRunParams parameter.
5918 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * paragraph.[Ch]: remove unused constructor
5922 * ParagraphList.C (erase): new function, taking two iterators
5924 2003-05-22 André Pönitz <poenitz@gmx.net>
5926 * undo_funcs.C: remove duplicated code
5928 * iterator.[Ch]: operator=
5930 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * tabular.C (SetMultiColumn): ws changes
5934 * rowpainter.C (paintFirst): get rid of a ->previous
5936 * lyx_cb.C (getPossibleLabel): parlist simplification
5938 * BufferView.C (ChangeInsets): simplify slightly.
5940 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5942 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5943 * lfuns.h: new LFUN_SPACE
5944 * lyxfunc.C: protected space has a new lfun
5945 * paragraph_funcs.C: read new space insets
5947 * factory.C: handle new space insets
5949 2003-05-22 André Pönitz <poenitz@gmx.net>
5952 * BufferView_pimpl.C:
5955 * undo_funcs.C: return a ParIterator from getParFromID.
5957 * iterators.[Ch]: add two const's
5959 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * toc.C (getTocList): adjust
5963 * iterators.[Ch]: rework for parlist
5965 * buffer.C (par_iterator_begin): adjust
5966 (par_iterator_end): adjust
5968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5970 * BufferView.C (removeAutoInsets): adjust
5971 (ChangeInsets): adjust
5973 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5975 * text.C (top_y): fix bug 1110
5977 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5979 * errorlist.[Ch]: added
5982 * BufferView_pimpl.C:
5983 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5986 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * Makefile.am: ensure that lyx is relinked upon changes to the
5989 various "convenience" libs.
5991 2003-05-20 Angus Leeming <leeming@lyx.org>
5993 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5994 files are compiled in alphabetical order again.
5996 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5998 2003-05-19 Angus Leeming <leeming@lyx.org>
6000 * gettext.[Ch]: remove "char const * _(char const *)".
6002 2003-05-19 André Pönitz <poenitz@gmx.net>
6004 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6013 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6015 2003-05-19 André Pönitz <poenitz@gmx.net>
6019 * lyxtextclass.[Ch]:
6021 * paragraph_funcs.[Ch]:
6023 * text3.C: more insetenv work
6025 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6027 * ParagraphParameters.C (params2string): small bug fixed
6029 2003-05-16 André Pönitz <poenitz@gmx.net>
6032 * bufferview_funcs.C: patch from Kornel Benko to prevent
6033 crash when _(...) is called twice in a statement
6035 2003-05-16 André Pönitz <poenitz@gmx.net>
6042 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6044 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6046 * lyx_main.C (init): remove spurious static_cast
6048 2003-05-14 André Pönitz <poenitz@gmx.net>
6050 * BufferView.C: fix format string
6052 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6054 * BufferView.[Ch] (insertErrors): removed
6055 * BufferView.[Ch] (showErrorList): added
6056 * buffer.C (runChkTeX):
6057 * converter.C (scanLog): call showErrorList instead of inserterrors
6059 2003-05-13 André Pönitz <poenitz@gmx.net>
6061 * BufferView_pimpl.C:
6063 * bufferview_func.C:
6070 * tabular_funcs.h: tostr() from its own header
6072 * ParagraphParameters.C:
6077 * text3.C: STRCONV()
6079 2003-05-12 André Pönitz <poenitz@gmx.net>
6082 * BufferView_pimpl.C:
6086 * ParagraphParameters.C:
6090 * bufferview_funcs.C:
6103 * paragraph_funcs.C:
6107 * text3.C: boost::format -> bformat all over the place
6110 2003-05-09 André Pönitz <poenitz@gmx.net>
6112 * LColor.[Ch]: Pimpl the #include <map> away
6114 2003-05-09 John Levon <levon@movementarian.org>
6116 * bufferlist.C: never remove emergency saves
6118 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * Makefile.am: better lib building
6122 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6126 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6127 (simpleTeXSpecialChars): adjust
6128 (simpleTeXSpecialChars): adjust
6129 * paragraph.C (simpleTeXOnePar): adjust
6130 * buffer.C (makeLaTeXFile): adjust
6132 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6134 * text2.C (changeDepth): parlist cleanup
6135 (getColumnNearX): ditto
6137 * rowpainter.C (getLabelFont): parlist cleanup
6139 * bufferlist.C (newFile): parlist cleanup
6141 * CutAndPaste.C (eraseSelection): parlist cleanup
6143 * BufferView_pimpl.C (trackChanges): parlist cleanup
6146 * BufferView.C (lockInset): parlist cleanup.
6147 (ChangeInsets): ditto
6149 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * CutAndPaste.h: Update file header.
6153 * CutAndPaste.C: Update file header.
6154 Store the parts cut out of the Document in a limited_stack.
6155 (copySelection): adjust
6156 (pasteSelection): new function, takes the index in the limited stack.
6157 (nrOfParagraphs): adjust
6158 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6159 simplify error inset insertion.
6160 (checkPastePossible): adjust
6162 2003-05-06 John Levon <levon@movementarian.org>
6164 * text2.C: don't cast wrap inset to float
6166 2003-05-05 André Pönitz <poenitz@gmx.net>
6169 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6171 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6172 few naked Paragraph *.
6174 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6176 * bufferparams.C: Output warning if a document with missing
6177 TeX document class is loaded
6178 * exporter.C: Disable TeX exports if the document class is missing
6181 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6182 isTeXClassAvailable()
6184 2003-05-03 John Levon <levon@movementarian.org>
6187 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6188 explicit cursor show/hide
6190 * BufferView_pimpl.h:
6191 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6192 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6194 * lyxfunc.C: hide cursor before dispatching.
6199 * text3.C: remove explicit cursor hides
6201 2003-05-02 André Pönitz <poenitz@gmx.net>
6203 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6206 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6209 * text2.C: tiny whitespace
6211 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * undo_funcs.C: almost only ws changes.
6215 * ParagraphList.C (splice): just return if pl is empty.
6217 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * ParagraphList.C (splice): new function.
6221 * CutAndPaste.C (pasteSelection): use it
6223 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * CutAndPaste.C (pasteSelection): remove the last next and
6226 previous from this file.
6228 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * CutAndPaste.C (pasteSelection): more clean up, user proper
6231 ParagraphList functions for pasteing.
6233 * ParagraphList.C (insert): new function, three arg insert
6235 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * ParagraphList.C (insert): new function, three arg insert
6239 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6242 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6246 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6250 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6253 (copySelection): clean up a bit.
6254 (pasteSelection): use make_pair
6256 * ParagraphList.C (ParagraphList): implement copy constructor
6257 (operator=): implement, base on copy constructor.
6260 * paragraph.C (erase): return a bool
6262 * paragraph_pimpl.C (erasePos): remove function, move contents...
6263 (erase): ... here. Return a bool.
6264 (erase): call erase instead of erasePos.
6266 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6268 * ParagraphList.h: define PitPosPair
6269 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6270 ParagraphList, fix a bug on pasting multiple pars
6271 * text2.C: change interface to C&P
6273 2003-04-30 André Pönitz <poenitz@gmx.net>
6275 * undo_func.C: revert part of yesterday's patch 2
6277 2003-04-30 John Levon <levon@movementarian.org>
6279 * LColor.C: s/tabular/table/
6281 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * text3.C (dispatch): do not convert iterator -> pointer
6284 * undo_funcs.C (setCursorParUndo): ditto
6285 * text_funcs.C (transposeChars): ditto
6287 * text2.C (setLayout): ws changes only
6289 * text.C (breakParagraph): do not convert iterator -> pointer
6291 (acceptChange): ditto
6292 (rejectChange): ditto
6297 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6300 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6302 * text3.C (gotoInset): YABG (yet another bad getChar)
6304 2003-04-29 André Pönitz <poenitz@gmx.net>
6306 * paragraph.h: make operator= private unimplemented as long as
6309 * ParagraphList.C: whitespace
6312 * paragraph_pimpl.[Ch]:
6313 * paragraph_funcs.C:
6315 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6318 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6320 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6322 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6323 * paragraph.[Ch] (erase):
6324 * paragraph_pimpl.[Ch] (erase): change return type and value
6325 * text2.C (cutSelection): some rework
6327 2003-04-28 John Levon <levon@movementarian.org>
6329 * bufferlist.C: changes for unsaved changes dialog
6331 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * bufferlist.C (newFile): set language (messages_) for new
6336 * buffer.C (readFile): ws changes only.
6338 2003-04-28 André Pönitz <poenitz@gmx.net>
6343 * BufferView_pimpl.C:
6344 * BufferView.C: getParFromID related ParagraphList::iterator changes
6346 2003-04-28 André Pönitz <poenitz@gmx.net>
6348 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6351 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * messages.C: remove one more localedir class variable.
6355 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * messages.C (getLocaleDir): singleton generation function
6359 (Messages): add a default constructor.
6361 * main.C (main): do not setup localedir here, do not call
6364 * gettext.C (_): use it.
6365 (gettext_init): delete funciton
6367 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * gettext.C (getLyXMessages): new singleton generating function.
6371 * buffer.C (updateDocLang): adjust
6373 * Makefile.am (messages.o): add target
6374 (main.o): remove target
6376 2003-04-27 John Levon <levon@movementarian.org>
6381 * lyxvc.C: specify cancel button in Alert::prompt
6383 2003-04-26 John Levon <levon@movementarian.org>
6388 * LyXAction.C: add LFUN_INSET_SETTINGS
6390 * lyxfunc.C: don't enable tabular-feature when there's
6391 just any locking inset
6393 2003-04-26 John Levon <levon@movementarian.org>
6395 * bufferlist.C: re-add Cancel to buffer close question
6397 * lyxfunc.C: fix import UI a bit
6399 2003-04-25 John Levon <levon@movementarian.org>
6401 * gettext.C: remove the broken asserts for now
6403 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * messages.C: make case where setlocale cannot comply work better.
6407 * buffer.C (updateDocLang): new function
6408 (changeLanguage): use it
6411 * text2.C (setCounter): use B_ a bit.
6413 * lyxlayout.C (Read): be sure to trim the label strings.
6415 * messages.C (Messages): fix typo in comment
6417 * buffer.C (readFile): set message_ after file is loaded.
6418 (makeDocBookFile): remove double return
6419 (changeLanguage): reset message_ upon language change.
6420 (B_): new func, use this to get translated buffer strings.
6422 * main.C: add myself and Jean Marc as authors.
6424 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * messages.[hC]: pimplify Messages, and three different pimpls to be
6427 used in different circumstances.
6429 * gettext.[Ch]: change for use with new message code.
6431 2003-04-24 André Pönitz <poenitz@gmx.net>
6433 * factory.C: support for eqref
6435 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6437 * messages.[Ch]: add missing char
6439 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6441 * messages.[Ch]: New files
6443 2003-04-18 John Levon <levon@movementarian.org>
6447 * BufferView_pimpl.C:
6451 * text2.C: remove layout-copy/paste (bug 778)
6453 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6455 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6457 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6459 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6460 if they succeed. Act accordingly.
6462 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * text2.C (setCharFont): adjust
6465 (setCounter): adjust
6466 (insertStringAsLines): adjust
6468 * text.C (leftMargin): adjust
6469 (setHeightOfRow): adjust
6471 * rowpainter.C (paintFirst): adjust
6474 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6476 (isFirstInSequence): ditto
6477 (getEndLabel): ditto
6480 * paragraph.C (getParLanguage): comment out some hard stuff.
6482 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6484 (simpleDocBookOnePar): ditto
6485 (makeDocBookFile): use ParagraphList::iterator
6487 * CutAndPaste.C (pasteSelection): adjust
6489 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * text2.C (getFont): adjust
6492 (getLayoutFont): adjust
6493 (getLabelFont): adjust
6495 * paragraph_funcs.C (TeXOnePar): adjust
6497 * buffer.C (simpleLinuxDocOnePar): adjust
6498 (simpleDocBookOnePar): adjust
6500 * CutAndPaste.C (pasteSelection): adjust
6502 * BufferView.C (getEncoding): adjust
6504 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6506 2003-04-16 John Levon <levon@movementarian.org>
6508 * lyxfind.C: use parlist stuff for search/changes
6510 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6514 * text2.C (deleteEmptyParagraphMechanism): adjust
6516 * text2.[Ch] (ownerParagraph): delete func (both of them
6518 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6522 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6524 * ParagraphList.C: prepare for NO_NEXT
6526 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * text2.C (getFont): adjust
6529 (getLayoutFont): adjust
6530 (getLabelFont): adjust
6532 * paragraph.C (getFont): adjust
6533 (getLabelFont): adjust
6534 (getLayoutFont): adjust
6536 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6538 2003-04-15 John Levon <levon@movementarian.org>
6542 * lyx_main.C: handle Include in .ui files
6544 2003-04-15 John Levon <levon@movementarian.org>
6546 * MenuBackend.C: make the doc files length shorter
6549 * ToolbarBackend.C: handle toolbar placement flags,
6552 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6557 * paragraph_funcs.C (TeXOnePar): adjust
6559 * paragraph.C (getLabelFont): add outerfont arg, adjust
6560 (getLayoutFont): ditto
6561 (simpleTeXOnePar): adjust
6563 * paragraph_pimpl.C (realizeFont): delete func
6565 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6567 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6568 row argument, constify cur argument.
6570 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * text2.C (getFont): adjust
6573 (getLayoutFont): adjust
6574 (getLabelFont): adjust
6576 * paragraph_funcs.C (TeXOnePar): adjust
6577 (outerFont): new func...
6578 (realizeFont): ...moved out from here, changed this to facilitate
6581 * paragraph.C (getFont): take outerfont as arg, adjust
6582 (simpleTeXOnePar): add outerfont arg, adjust
6584 * buffer.C (simpleLinuxDocOnePar): adjust
6585 (simpleDocBookOnePar): adjust
6587 * CutAndPaste.C (pasteSelection): adjust
6589 * BufferView.C (getEncoding): adjust
6591 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * text2.C (setCharFont): adjust
6594 (setCounter): adjust
6596 * text.C (leftMargin): adjust
6597 (setHeightOfRow): adjust
6599 * rowpainter.C (paintFirst): adjust
6602 * paragraph_pimpl.C (realizeFont): adjust
6604 * paragraph.C (isFirstInSequence): move from here...
6605 * paragraph_funcs.C (isFirstInSequence): ...to here
6607 * paragraph.C (outerHook): move from here...
6608 * paragraph_funcs.C (outerHook): ...to here
6610 * paragraph.C (depthHook): move from here...
6611 * paragraph_funcs.C (depthHook): ...to here
6613 * paragraph.C (getEndLabel): move from here...
6614 * paragraph_funcs.C (getEndLabel): ...to here
6616 * text2.C (realizeFont): move from here...
6617 * paragraph_funcs.C (realizeFont): ...to here
6619 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6623 2003-04-14 Angus Leeming <leeming@lyx.org>
6625 * LColor.[Ch]: scrap LColor mathcursor.
6627 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * lyxlex.[Ch] (text): delete function
6630 * trans.C (Load): adjust
6631 * paragraph_funcs.C (readParToken): adjust
6633 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6636 vector<char> instead of a char[].
6638 * lyxlex_pimpl.C (getString): adjust
6640 (lex): use getString
6644 * lyxlex.C (text): use pimpl_->getString()
6648 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6651 (makeFontEntriesLayoutSpecific): temp var for par.size()
6652 (setLayout): temp var for ownerParagraphs().end()
6653 (fullRebreak): temp var for rows().end()
6654 (selectionAsString): temp var for boost::next(startpit), realize
6655 that the while really is a regular for loop.
6656 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6657 setCursor in one place.
6658 (setParagraph): temp vr for ownerParagraphs().end()
6659 (updateCounters): make the while loop a for loop
6660 (cutSelection): temp var for ownerParagraphs().end()
6661 (updateInset): make the do {} while() a regular for loop
6662 (getCursorX): use temp vars
6663 (setCurrentFont): use temp vars
6664 (getColumnNearX): use temp vars
6666 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6668 * text.C (transformChar): use temp var for getChar
6669 (computeBidiTables): use temp var for row->par()
6670 (fill): move temp vars for row->par() and pit->layout() earlier in
6672 (labelFill): use temp var for row->par()
6673 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6674 asc and desc, realize that pit never changes and that firstpit is
6675 just a duplicate and not needed. Exchange rit->par() with pit in a
6677 (breakAgain): use a temp var for boost::next(rit)
6678 (breakAgainOneRow): ditto
6679 (breakParagraph): use a temp var for rows().begin()
6680 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6681 (cursorRightOneWord): use temp var for cursor.par() and
6682 cursor.pos(), remove usage of tmpcursor.
6683 (cursorLeftOneWord): use temp var for cursor.par() and
6684 cursor.pos() only set cur at end of function.
6686 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * text.C, text2.C: exchange all usage of Paragraph::next with
6689 boost::next(ParagraphList::iterator)
6691 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6693 * text2.C (cursorTop): simplify implementation
6694 (cursorBottom): ditto
6695 (setParagraph): use ParagraphList::iterator
6696 (setCurrentFont): adjust
6697 (getColumnNearX): adjust
6698 (cursorRight): adjust
6699 (cursorLeft): remove usage of Paragraph::previous
6700 (cursorUpParagraph): ditto
6701 (deleteEmptyParagraphMechanism): slight cleanup
6703 * text.C (isBoundary): take a Paragraph const & instead of a
6705 (addressBreakPoint): ditto
6706 (leftMargin): remove usage of Paragraph::previous.
6707 (setHeightOfRow): ditto
6708 (cursorLeftOneWord): ditto
6709 (selectNextWordToSpellcheck): ditto
6712 (breakParagraph): remove one usage of Paragraph::next
6713 (redoParagraph): ditto
6714 (acceptChange): ditto
6715 (insertChar): adjust
6716 (rowBreakPoint): adjust
6718 * bufferview_funcs.C (toggleAndShow): adjust
6720 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6722 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6723 methods to access it.
6725 * text.C: Added updateRowPositions to compute all row positions.
6726 Make top_y and getRowNearY() to use the cached y position
6728 2003-04-11 John Levon <levon@movementarian.org>
6730 * text.C (rowBreakPoint): reintroduce the labelEnd
6731 checks, code copied from the row fill stuff. Deep voodoo.
6733 * text.C (fill): add a comment and debugging for the
6736 2003-04-11 John Levon <levon@movementarian.org>
6738 * text.C: make sure fullrow insets get wrapped to the next line,
6739 even when they're in a manual label
6741 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * text2.C (insertParagraph): make it take ParagraphList::iterator
6745 (setLayout): make it return ParagraphList::iterator
6746 (redoParagraphs): ditto
6748 (checkParagraph): ditto
6750 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6752 * text2.C: adjust several funcs.
6753 (realizeFont): take a ParagraphList::iterator as arg.
6754 (getLayoutFont): ditto
6755 (getLabelFont): ditto
6756 (setCharFont): ditto
6758 * text.C: adjust several funcs.
6760 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6762 * text.C (selectNextWordToSpellcheck): don't accidentally
6765 2003-04-10 John Levon <levon@movementarian.org>
6767 * ToolbarBackend.C (getIcon): special handling for
6770 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6772 * text2.C (cursorRight): a getChar assert fixed
6774 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6776 * text2.C (getFont): change to take a ParagraphList::iterator
6777 instead of Paragraph*
6778 Adjust several functions.
6780 * text.C (transformChar): change to take a ParagraphList::iterator
6781 instead of Paragraph*
6782 (singleWidth): ditto
6783 Adjust several functions.
6785 * rowpainter.C: adjust several functions
6786 * rowpainter.h:store a ParagraphList::iterator and not a
6790 2003-04-09 John Levon <levon@movementarian.org>
6795 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6796 and the "help" bits as well
6798 2003-04-09 John Levon <levon@movementarian.org>
6801 * ToolbarBackend.C: allow multiple toolbars
6803 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * undo_funcs.C (setCursorParUndo): adjust
6807 * text_funcs.C (transposeChars): adjust
6809 * text3.C (gotoNextInset): adjust
6812 * text2.C (setLayout): adjust
6813 (changeDepth): adjust
6815 (redoParagraphs): adjust
6816 (selectionAsString): adjust
6817 (setParagraph): adjust
6818 (insertInset): adjust
6819 (cutSelection): adjust
6820 (copySelection): adjust
6821 (pasteSelection): adjust
6822 (insertStringAsLines): adjust
6823 (updateInset): adjust
6824 (setCursor): change to take a ParagraphList::iterator parameter
6825 (setCursorIntern): change to take a ParagraphList::iterator parameter
6826 (setCurrentFont): adjust
6827 (cursorLeft): adjust
6828 (cursorRight): adjust
6829 (deleteEmptyParagraphMechanism): adjust
6831 * text.C (breakParagraph): adjust
6832 (insertChar): adjust
6833 (acceptChange): adjust
6834 (rejectChange): adjust
6835 (selectNextWordToSpellcheck): adjust
6836 (changeCase): adjust
6840 * lyxfind.C (SearchForward): adjust
6841 (SearchBackward): adjust
6842 (nextChange): adjust
6844 * lyxcursor.C (par): adjust
6846 * lyxcursor.h: store a ParagraphList::iterator instead of a
6849 * lyx_cb.C (getPossibleLabel): adjust
6851 * bufferview_funcs.C (toggleAndShow): adjust
6853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6856 * BufferView.C (removeAutoInsets): adjust
6857 (lockedInsetStoreUndo): adjust
6859 2003-04-09 John Levon <levon@movementarian.org>
6861 * ToolbarBackend.C: try icon without argument
6862 if with argument fails
6864 2003-04-08 John Levon <levon@movementarian.org>
6867 * ToolbarBackend.C: add getIcon(), handle tooltip,
6868 and change from "Icon" to "Item".
6870 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6872 * BufferView.C (lockInset): another bad getchar crunched
6874 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6876 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6879 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6881 * lyxfind.C (searchForward, searchBackwards): bug 782
6883 2003-04-07 John Levon <levon@movementarian.org>
6885 * paragraph.C: remove dead comment
6887 * text.C: remove troublesome depth-fiddling code
6888 in leftMargin() and rightMargin() (bug 1017)
6890 * text.C: fix breaking of rows in nested lists
6893 * text2.C (updateCounters): fix up depth values
6896 2003-04-07 John Levon <levon@movementarian.org>
6898 * BufferView_pimpl.C: clear message when doc finishes resizing,
6899 and after a mouse event
6901 * lyxfunc.C: clear message after exiting inset
6903 2003-04-07 John Levon <levon@movementarian.org>
6905 * bufferview_funcs.C: show math status not outside
6906 status in the statusbar
6908 2003-04-07 John Levon <levon@movementarian.org>
6910 * lyxfunc.C: note status changed after a depth change
6912 2003-04-04 Angus Leeming <leeming@lyx.org>
6914 * LaTeX.h: move AuxInfo operator==, != out of line.
6915 Remove LaTeX virtual destructor; nothing derives from it.
6916 Move operator()() out of public area and rename it startscript().
6917 Change protected for private.
6919 2003-04-04 Angus Leeming <leeming@lyx.org>
6922 * text2.C: remove unneeded #includes.
6924 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6926 * text2.C (dEPM): fix the heigth of the next row
6928 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6930 * text.C: squashed an invalid getChar requester + some ws changes
6932 2003-04-03 John Levon <levon@movementarian.org>
6934 * bufferview_funcs.h:
6935 * bufferview_funcs.C:
6938 * text2.C: make getStatus work for the env depth lfuns
6940 2003-04-03 John Levon <levon@movementarian.org>
6942 * bufferview_funcs.h:
6943 * bufferview_funcs.C:
6946 * text2.C: parlistize decDepth(), by merging it with incDepth()
6948 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6950 * lyxrow.h: store a ParagraphList::iterator instead of a
6951 Paragraph* and adjust other class functions to suit.
6953 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6956 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6958 * text2.C (setCursor): do not anchor to cursor row for the time being
6960 2003-04-02 John Levon <levon@movementarian.org>
6967 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6969 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * paragraph.h: make ParagraphList and ParagraphList::iterator
6972 friends of Paragraph.
6974 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6976 * ParagraphList.C: Use the private next_ and previous_ from
6979 2003-04-01 John Levon <levon@movementarian.org>
6983 * Makefile.am: rename, remove defaults gunk
6986 * MenuBackend.C: remove defaults gunk
6989 * Languages.C: remove defaults gunk
6992 * lyx_main.C: error out if files couldn't be found.
6994 2003-04-02 John Levon <levon@movementarian.org>
6996 * text2.C: make incDepth() use parlist
6998 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * undo_funcs.C (firstUndoParagraph): adjust
7002 * text3.C (gotoInset): adjust
7003 (dispatch): adjust, and rewrite loop.
7005 * text2.C (init): adjust, and rewrite loop.
7006 (redoParagraphs): adjust
7007 (updateInset): adjust, and rewrite loop.
7008 (deleteEmptyParagraphMechanism): adjust
7010 * tabular.C (LyXTabular): adjust
7011 (SetMultiColumn): adjust
7014 * lyxtext.[Ch] (ownerParagraph): delete function
7015 (ownerParagraphs): new function returns a ParagraphList.
7017 * BufferView.C (removeAutoInsets): adjust
7018 (insertErrors): adjust
7019 (setCursorFromRow): adjust
7021 2003-04-01 Angus Leeming <leeming@lyx.org>
7023 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7026 2003-04-02 John Levon <levon@movementarian.org>
7032 * text_funcs.C: make transposeChars a free function
7034 * lyxrow_funcs.C: remove wrong comment
7036 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * rowpainter.C: adjust
7044 * lyxrow_funcs. [Ch]: new files
7046 * lyxrow.[Ch]: remove next and previous pointers
7047 (next,previous): remove accessor functions
7048 (isParEnd): move to lyxrow_funcs
7049 (lastPos): move to lyxrow_funcs
7050 (nextRowIsAllInset): move to lyxrow_funcs
7051 (lastPrintablePos): move to lyxrow_funcs
7052 (numberOfSeparators): move to lyxrow_funcs
7053 (numberOfHfills): move to lyxrow_funcs
7054 (numberOfLabelHfills): move to lyxrow_funcs
7055 (hfillExpansion): move to lyxrow_funcs
7059 * bufferview_funcs.C (toggleAndShow): adjust
7061 * RowList.h: Remove class RowList from file leave just a
7064 * RowList.C: delete file
7066 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7069 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * text3.C (cursorPrevious): adjust
7072 (cursorNext): adjust
7075 * text2.C (redoHeightOfParagraph): adjust
7076 (redoDrawingOfParagraph): adjust
7079 * text.C (breakParagraph): adjust
7080 (insertChar): adjust
7083 * rowpainter.C (RowPainter): adjust
7084 (leftMargin): simplify and adjust
7085 (most rowpainter functions): adjust.
7087 * rowpainter.h: store the row as RowList::iterator not as Row*
7089 * lyxcursor.C (row): taka RowList::iterator as arg
7092 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7095 2003-04-01 Angus Leeming <leeming@lyx.org>
7097 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7098 stuff like bool Bool.
7100 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7102 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7105 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7110 * lyxtext.h (rows): drop one version and leve a const variant that
7111 returns a RowList::iterator.
7113 2003-03-31 Angus Leeming <leeming@lyx.org>
7115 * text.C (fill): ensure that the signature is the same as that in the
7118 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * text2.C (redoParagraphs): adjust
7121 (updateCounters): adjust
7122 (checkParagraph): adjust
7123 (getColumnNearX): adjust and reformat a bit.
7125 * text.C (top_y): adjust
7127 (leftMargin): adjust
7128 (prepareToPrint): adjust
7130 (getRowNearY): adjust
7132 * lyxtext.h: make rowlist_ mutable.
7134 * RowList.h: add const_iterator
7135 * RowList.C: adjust for RowList::const_iterator.
7137 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7140 2003-03-31 John Levon <levon@movementarian.org>
7143 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7145 * lyx_main.C: set default fonts from using lyx_gui funcs
7147 * exporter.C: pdf_mode moved from lyxrc
7150 * lyxfunc.C: changes from above
7152 2003-03-31 John Levon <levon@movementarian.org>
7154 * lyx_main.C: fix to the last fix
7156 2003-03-31 John Levon <levon@movementarian.org>
7158 * bufferlist.C: "Load original" -> "Load Original"
7164 * format.C: more Alert cleanups
7166 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * text2.C (removeParagraph): make it take a RowList::iterator as
7170 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7171 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7173 * text.C (anchor_row): make it take a RowList::iterator as arg,
7175 (computeBidiTables): make it take a const reference to Row instead
7176 of Row pointer, adjust.
7177 (leftMargin): make it take a RowList::iterator as arg, adjust.
7178 (rowBreakPoint): adjust
7179 (breakAgainOneRow): make it take a RowList::iterator as arg,
7181 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7183 * bufferview_funcs.C (toggleAndShow): adjust
7185 2003-03-30 John Levon <levon@movementarian.org>
7189 * boost-inst.C: moved to support
7191 * several files: changes as a result
7193 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * text2.C (LyXText): adjust.
7197 (removeRow): make it take a RowList::iterator as arg, adjust.
7198 (fullRebreak): adjust
7199 (deleteEmptyParagraphMechanism): adjust
7200 (clearPaint): adjust
7203 * text.C (top_y): adjust
7204 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7205 (breakAgain): make it take a RowList::iterator as arg, adjust.
7206 (breakParagraph): adjust
7207 (insertChar): adjust
7210 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7211 need_break_row, and refresh_row.
7213 * text3.C (dispatch): adjust
7215 * text2.C (checkParagraph): adjust
7217 (setCursorFromCoordinates): adjust
7219 * text.C (top_y): adjust
7221 (getRow): make it return a RowList::iterator, adjust
7222 (getRowNearY): make it return a RowList::iterator, adjust
7224 * text2.C (init): adjust
7225 (insertRow): remove function
7226 (insertParagraph): adjust
7227 (redoParagraphs): adjust
7228 (fullRebreak): adjust
7229 (updateCounters): adjust
7231 * text.C (top_y): rewrite to use RowList iterators.
7233 (setHeightOfRow): rewrite to sue RowList iterators.
7234 (appendParagraph): adjust
7235 (breakAgain): adjust
7236 (breakAgainOneRow): adjust
7237 (breakParagraph): adjust
7239 (getRowNearY): adjust, and remove commented code.
7241 * lyxtext.h (firstRow): delete function
7242 (lastRow): delete function
7243 (rows): new function (const and non-const versions.)
7244 (insertRow): delete function
7246 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7248 2003-03-29 John Levon <levon@movementarian.org>
7250 * BufferView_pimpl.C: always update scrollbar top
7251 because pasting text when we're anchored could mean we
7252 miss an update altogether
7254 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * text2.C (init): use rowlist_.end() and not 0.
7257 (insertRow): change to take a RowList::iterator as arg, adjust
7259 (insertParagraph): change to take a RowList::iterator as arg,
7261 (redoParagraphs): remove some debug msgs.
7263 * text.C (appendParagraph): change to take a RowList::iterator
7264 arg, adjust for this.
7265 (breakAgain): add an assert
7266 (breakAgainOneRow): ditto
7268 2003-03-29 John Levon <levon@movementarian.org>
7270 * text2.C: do not clear selection after inc/decDepth
7273 2003-03-29 John Levon <levon@movementarian.org>
7276 * buffer.C: fix broken strerrors according to Lars
7278 2003-03-29 John Levon <levon@movementarian.org>
7280 * converters.C: more Alert cleanups
7282 2003-03-29 John Levon <levon@movementarian.org>
7284 * bufferview_funcs.C: remove pointless Alert
7286 * buffer.C: fix confusing error message when
7287 a template is chmoded 000
7289 2003-03-29 John Levon <levon@movementarian.org>
7293 * BufferView_pimpl.C: Alert fixes
7297 * tabular-old.C: remove unused table compat reading
7299 2003-03-29 John Levon <levon@movementarian.org>
7304 * lyx_cb.C: more Alert cleanups
7306 * lyxfunc.C: don't allow chktex if not latex document
7308 2003-03-29 John Levon <levon@movementarian.org>
7312 * buffer.C: warnings pushed down from support/,
7315 2003-03-29 John Levon <levon@movementarian.org>
7317 * lyxfunc.C: safety check for C-r (revert)
7319 2003-03-29 John Levon <levon@movementarian.org>
7322 * bufferlist.C: several UI fixes using Alert::prompt.
7323 Fix the pointless looping quit code. Fix stupid revert
7328 * lyx_cb.C: use Alert::prompt
7330 * lyx_main.C: remove a silly question
7332 * lyxfunc.C: remove a couple of silly questions,
7335 2003-03-28 John Levon <levon@movementarian.org>
7337 * text2.C: fix bug 974 (End on empty par)
7339 2003-03-28 John Levon <levon@movementarian.org>
7341 * BufferView_pimpl.C:
7343 * lfuns.h: remove do-nothing math greek lfuns
7345 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * lyxgluelength.h (isValidGlueLength): add default arg on
7348 parameter 2. Remove default arg from friend in class.
7350 * lyxlength.h (isValidLength): add default arg on parameter 2.
7351 Remove default arg from friend in class.
7353 * text2.C (LyXText): adjust, initialize refresh_row.
7357 (insertParagraph): adjst
7358 (redoParagraphs): adjust
7359 (fullRebreak): adjust
7360 (updateCounters): adjust
7361 (deleteEmptyParagraphMechanism): first attempt at fixing a
7364 * text.C (top_y): adjust
7365 (setHeightOfRow): adjust
7367 (getRowNearY): adjust
7369 * lyxtext.h: include RowList.h
7370 (~LyXText): not needed anymore, deleted.
7371 (firstRow): modify for RowList
7372 (lastRow): new function
7373 Delete firstrow and lastrow class variables, add a Rowlist
7374 rowlist_ class variable.
7376 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7379 * RowList.C (insert): fix case where it == begin().
7381 2003-03-26 Angus Leeming <leeming@lyx.org>
7383 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7384 the thesaurus dialog.
7386 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7390 * RowList.[Ch]: new files
7392 * ParagraphList.C (erase): handle the case where it == begin
7395 2003-03-25 John Levon <levon@movementarian.org>
7399 * aspell.C: add new aspell support
7402 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7405 2003-03-25 Angus Leeming <leeming@lyx.org>
7408 * LyXAction.C (init): new LFUN_INSET_INSERT.
7410 * BufferView_pimpl.C (dispatch): split out part of the
7411 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7413 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7416 2003-03-25 Angus Leeming <leeming@lyx.org>
7418 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7420 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7423 * text3.C: remove useless row->height(0)
7425 2003-03-25 John Levon <levon@movementarian.org>
7429 * text3.C: rename the refreshing stuff to better names
7431 2003-03-24 John Levon <levon@movementarian.org>
7433 * BufferView_pimpl.h:
7434 * BufferView_pimpl.C: update layout choice on a mouse
7437 2003-03-23 John Levon <levon@movementarian.org>
7439 * Makefile.am: fix commandtags.h reference
7441 2003-03-22 John Levon <levon@movementarian.org>
7443 * BufferView_pimpl.C:
7448 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7450 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7453 * text.C: take the rtl methods out of line
7455 2003-03-21 André Pönitz <poenitz@gmx.net>
7457 * metricsinfo.[Ch]: new files containing structures to be passed around
7458 during the two-phase-drawing...
7460 2003-03-21 André Pönitz <poenitz@gmx.net>
7462 * lyxtextclass.C: read 'environment' tag.
7464 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7466 * text2.C (removeRow): fix bug 964
7468 2003-03-20 John Levon <levon@movementarian.org>
7472 * text2.C: paint cleanups. Inset::update() dropped font
7475 2003-03-19 John Levon <levon@movementarian.org>
7477 * lyxfunc.C: only fitcursor/markDirty if available()
7479 2003-03-19 John Levon <levon@movementarian.org>
7481 * commandtags.h: rename to ...
7483 * lfuns.h: ... this, and renumber / cleanup
7485 2003-03-19 John Levon <levon@movementarian.org>
7487 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7488 fit the cursor after an lfun
7492 * BufferView_pimpl.h:
7493 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7495 * LyXAction.C: layout-character should have ReadOnly
7497 * ParagraphParameters.C:
7499 * bufferview_funcs.C:
7506 * undo_funcs.C: changes from above
7508 2003-03-18 John Levon <levon@movementarian.org>
7510 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7511 remove it from update()
7513 * lyxfunc.C: update layout choice after an lfun
7515 * text3.C: remove extra updateLayoutChoice()s
7517 2003-03-18 John Levon <levon@movementarian.org>
7519 * text.C: top_y change means full repaint, fix
7520 a drawing bug with cursor movement
7522 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7526 * text2.C: anchor row on setCursor
7528 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7530 * lyxtext.h: remove almost all mutable keywords
7533 * text3.C: remove const keywords accordingly
7535 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7539 (TeXEnvironment): ditto
7542 2003-03-17 John Levon <levon@movementarian.org>
7544 * text.C (rowBreakPoint): remove attempt to fix displayed
7545 math insets inside a manual label
7547 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7549 * lyxtext.h: remove BufferView* as first arg from almost all class
7551 * other files: adjust.
7553 2003-03-17 John Levon <levon@movementarian.org>
7557 * text2.C: more paint cleanups
7559 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7562 * rowpainter.C: remove "smart" background painting code
7564 2003-03-16 John Levon <levon@movementarian.org>
7569 * text3.C: add helper functions for setting refresh_row/y
7571 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7573 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7574 newline inset which *can* get inserted in the pass_thru layouts.
7575 This is primarily for literate documents.
7577 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7579 * buffer.C: increment LYX_FORMAT to 223
7581 2003-03-14 André Pönitz <poenitz@gmx.net>
7583 * textclass.h: prepare for environment handling, ws changes
7584 * lyxlayout.C: read latexheader and latexfooter tags
7586 2003-03-14 John Levon <levon@movementarian.org>
7588 * text2.C: rewrite ::status() a bit
7590 2003-03-13 John Levon <levon@movementarian.org>
7592 * lyxtext.h: add some docs
7594 2003-03-13 John Levon <levon@movementarian.org>
7599 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7601 2003-03-13 John Levon <levon@movementarian.org>
7603 * text3.C: fix appendix redrawing
7605 2003-03-13 John Levon <levon@movementarian.org>
7607 * text.C (setHeightOfRow):
7609 * rowpainter.C: make appendix mark have the text
7610 "Appendix" so the user knows what it is
7613 * LColor.C: s/appendixline/appendix/ from above
7615 2003-03-13 John Levon <levon@movementarian.org>
7617 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7619 * text.C: fix a getChar(pos) bug properly
7621 2003-03-13 Angus Leeming <leeming@lyx.org>
7624 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7625 Probably only temporary. Let's see how things pan out.
7627 * BufferView.C (unlockInset):
7628 * BufferView_pimpl.C (fitCursor):
7629 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7631 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7632 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7634 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7635 new functions that convert ParagraphParameters to and from a string.
7637 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7638 BufferView::Pimpl's dispatch.
7639 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7641 2003-03-13 André Pönitz <poenitz@gmx.net>
7645 * factory.C: make it aware of InsetEnv
7647 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * text2.C (setCursor): never ask for one past last
7650 (setCursor): add some debugging messages.
7652 * text.C (singleWidth): never ask for one past last
7653 (singleWidth): ditto
7655 (rightMargin): ditto
7656 (rowBreakPoint): ditto
7657 (setHeightOfRow): ditto
7658 (prepareToPrint): ditto
7660 * rowpainter.C (paintBackground): never ask for one past last
7661 (paintText): never ask for one past last
7663 * paragraph_pimpl.C (getChar): make the assert stricter, never
7664 allow the one past last pos to be taken
7666 * paragraph.C (getChar): ws changes only
7668 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7669 (numberOfSeparators): ditto
7670 (numberOfHfills): ditto
7672 2003-03-12 John Levon <levon@movementarian.org>
7678 * paragraph_funcs.C: fix per-buffer authorlists
7680 2003-03-12 John Levon <levon@movementarian.org>
7682 * text.C: fix newline in right address
7684 2003-03-12 Angus Leeming <leeming@lyx.org>
7686 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7687 duplicate those in LyXFunc::dispatch.
7691 * ToolbarDefaults.C:
7692 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7693 Add LFUN_FONTFREE_UPDATE.
7695 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7696 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7698 * bufferview_func.[Ch]: several new functions to facilliate
7699 transfer of data to and from the character dialog.
7701 2003-03-12 John Levon <levon@movementarian.org>
7706 * paragraph_funcs.C:
7707 * paragraph_pimpl.C:
7711 * text3.C: remove META_NEWLINE in favour of an inset
7714 * rowpainter.C: remove paintNewline (done by inset)
7716 2003-03-12 John Levon <levon@movementarian.org>
7718 * paragraph_pimpl.C: complain about bad getChar()s
7719 for a while at least
7721 2003-03-12 John Levon <levon@movementarian.org>
7724 * buffer.C: move paragraph read into a separate function,
7725 a little renaming to reflect that.
7728 * bufferparams.C: remove the author_ids map, not necessary now
7731 * factory.C: moved Buffer::readInset to here
7733 * paragraph_funcs.h:
7734 * paragraph_funcs.C: readParagraph free function moved from
7737 * tabular.C: name change
7739 2003-03-12 John Levon <levon@movementarian.org>
7742 * ParagraphParameters.C: move par params input to
7745 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7746 behave like a normal read from the stream wrt reading
7747 a line vs. a \\token
7749 2003-03-12 John Levon <levon@movementarian.org>
7752 * ParagraphParameters.h:
7753 * ParagraphParameters.C: move output code to a
7756 2003-03-12 John Levon <levon@movementarian.org>
7758 * BufferView.C (insertLyXFile):
7761 * tabular.C: use a parlist iterator for creating the
7764 2003-03-12 John Levon <levon@movementarian.org>
7766 * buffer.C: make current_change static local not
7769 2003-03-12 John Levon <levon@movementarian.org>
7771 * buffer.C: fix insertStringAsLines for change tracking
7773 2003-03-12 John Levon <levon@movementarian.org>
7780 * bufferparams.C: move author list into params. Rename some
7781 functions. Move the header reading into a separate token
7782 loop. Move the header token reading into BufferParams.
7784 2003-03-12 John Levon <levon@movementarian.org>
7786 * changes.C: put debug inside lyxerr.debugging() checks
7788 2003-03-11 André Pönitz <poenitz@gmx.net>
7790 * factory.C: make it aware of InsetHFill
7792 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7794 * buffer.C (latexParagraphs): move function from here...
7795 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7798 2003-03-10 Angus Leeming <leeming@lyx.org>
7800 * LyXAction.C (init): fix bug in poplating array with multiple entries
7801 with the same LFUN (spotted by JMarc).
7803 2003-03-10 John Levon <levon@movementarian.org>
7806 * text2.C: move getColumnNearX() near its
7809 2003-03-10 John Levon <levon@movementarian.org>
7811 * text.C: fix break before a minipage
7813 2003-03-10 John Levon <levon@movementarian.org>
7815 * text.C: fix the last commit
7817 2003-03-09 John Levon <levon@movementarian.org>
7821 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7822 bug 365 (don't break before insets unless needed). Don't
7823 return a value > last under any circumstances.
7825 2003-03-09 Angus Leeming <leeming@lyx.org>
7827 * BufferView_pimpl.C (trackChanges, dispatch): call
7828 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7830 2003-03-09 Angus Leeming <leeming@lyx.org>
7832 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7833 than Dialogs::showAboutlyx().
7835 2003-03-09 Angus Leeming <leeming@lyx.org>
7837 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7838 than Dialogs::showTabularCreate().
7840 2003-03-09 John Levon <levon@movementarian.org>
7844 * text2.C: 3rd arg to nextBreakPoint was always the same.
7847 2003-03-08 John Levon <levon@movementarian.org>
7854 * text2.C: Remove the "main" bit from the "main body"
7857 2003-03-08 John Levon <levon@movementarian.org>
7859 * text.C (leftMargin): The left margin of an empty
7860 manual label paragraph should not include the label width
7863 * text.C (prepareToPrint): don't attempt to measure hfills
7864 for empty manual label paragraphs - the answer should be 0
7866 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * CutAndPaste.C: remove commented code and reindent.
7870 2003-03-08 John Levon <levon@movementarian.org>
7873 * lyxfunc.C: move reloadBuffer()
7876 * BufferView.C: to here
7878 * lyxvc.C: add comment
7881 * vc-backend.C: call bv->reload() to avoid
7882 getStatus() check on MENURELOAD
7884 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7886 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7887 to an old format .dep file.
7889 2003-03-07 Angus Leeming <leeming@lyx.org>
7891 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7892 when the LFUN_MOUSE_RELEASE should have been handled by
7893 inset->localDispatch.
7895 2003-03-07 Angus Leeming <leeming@lyx.org>
7897 * BufferView_pimpl.C (dispatch):
7898 * LyXAction.C (init):
7899 * ToolbarDefaults.C (init):
7901 * lyxfunc.C (getStatus):
7902 remove LFUN_INSET_GRAPHICS.
7904 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7906 2003-03-07 Angus Leeming <leeming@lyx.org>
7909 * LyXAction.C (init):
7910 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7912 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7915 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7917 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7918 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7920 2003-03-07 Angus Leeming <leeming@lyx.org>
7922 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7925 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * ParagraphList.C (front): new function
7930 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7932 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7933 and top_row_offset_. removed var first_y.
7935 * text2.C (LyXText, removeRow):
7937 * BufferView_pimpl.C:
7938 use these methods instead of using first_y
7940 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7942 * text2.C (pasteSelection): adjust for checkPastePossible
7944 * CutAndPaste.C: remove Paragraph * buf and replace with
7945 ParagraphList paragraphs.
7946 (DeleteBuffer): delete
7947 (cutSelection): change the tc type to textclass_type
7948 (copySelection): change the tc type to textclass_type
7949 (copySelection): adjust for ParagraphList
7950 (pasteSelection): change the tc type to textclass_type
7951 (pasteSelection): adjust for Paragraphlist
7952 (nrOfParagraphs): simplify for ParagraphList
7953 (checkPastePossible): simplify for ParagraphList
7954 (checkPastePossible): remove unused arg
7956 * ParagraphList.C (insert): handle the case where there are no
7959 * CutAndPaste.h: make CutAndPaste a namespace.
7961 * text3.C (dispatch): adjust
7963 * text.C (breakParagraph): add a ParagraphList as arg
7965 * paragraph_funcs.C (breakParagraph): change to take a
7966 BufferParams and a ParagraphList as args.
7967 (breakParagraphConservative): ditto
7968 (mergeParagraph): ditto
7969 (TeXDeeper): add a ParagraphList arg
7970 (TeXEnvironment): ditto
7973 * buffer.C (readLyXformat2): adjust
7974 (insertStringAsLines): adjust
7975 (latexParagraphs): adjust
7977 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7978 (cutSelection): adjust
7979 (pasteSelection): adjust
7981 * BufferView_pimpl.C (insertInset): adjust
7983 2003-03-05 Angus Leeming <leeming@lyx.org>
7986 * LyXAction.C (init):
7987 * BufferView_pimpl.C (dispatch):
7988 * lyxfunc.C (getStatus):
7989 remove LFUN_CHILD_INSERT.
7991 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7993 2003-03-05 Angus Leeming <leeming@lyx.org>
7996 * LyXAction.C (init):
7997 * src/factory.C (createInset):
7998 * lyxfunc.C (getStatus):
7999 * text3.C (dispatch):
8000 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8002 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8004 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * ParagraphList.C (insert): handle insert right before end()
8007 (erase): fix cases where it can be first or last paragraph.
8009 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8011 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8012 Paragraph::next and Paragraph::previous
8015 * text.C (breakParagraph): adjust
8017 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8018 BufferParams& as arg.
8019 (breakParagraph): use ParagraphList::insert
8020 (breakParagraphConservative): take a Buffer* instead of a
8021 BufferParams& as arg.
8022 (breakParagraphConservative): use ParagraphList::insert.
8024 * buffer.C (insertStringAsLines): un-const it
8025 (insertStringAsLines): adjust
8027 * ParagraphList.C (insert): new function
8029 * CutAndPaste.C (pasteSelection): adjust
8031 * text.C (backspace): adjust
8033 * tabular.C (SetMultiColumn): adjust
8035 * CutAndPaste.C (cutSelection): adjust
8036 (pasteSelection): adjust
8038 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8039 Buffer const * as arg
8041 * ParagraphList.C (erase): new function
8042 * paragraph_funcs.C (mergeParagraph): use it
8043 (mergeParagraph): make it take a Buffer* instead of a
8044 BufferParams* as arg
8046 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8048 (breakParagraphConservative): ditto
8050 * paragraph.h: remove the breakParagraph friend
8052 * paragraph.C (eraseIntern): new function
8053 (setChange): new function
8055 * paragraph_funcs.C (mergeParagraph): make it take a
8056 ParagraphList::iterator instead of a Paragraph *, adjust
8059 * paragraph.h: move an #endif so that the change tracking stuff
8060 also works in the NO_NEXT case.
8062 2003-03-04 Angus Leeming <leeming@lyx.org>
8065 * LyXAction.C: new LFUN_INSET_MODIFY.
8067 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8068 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8070 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8072 * several files: ws changes only
8074 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8075 (TeXEnvironment): ditto
8078 * buffer.C (makeLaTeXFile): adjust
8079 (latexParagraphs): make it take ParagraphList::iterator as args
8081 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8083 * buffer.C (latexParagraphs): adjust
8085 * paragraph.C (TeXOnePar): move function...
8086 (optArgInset): move function...
8087 (TeXEnvironment): move function...
8088 * paragraph_pimpl.C (TeXDeeper): move function...
8089 * paragraph_funcs.C: ...here
8091 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8093 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * buffer.C (readInset): remove compability code for old Figure and
8098 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * buffer.C: ws changes
8103 * BufferView_pimpl.C: ditto
8106 * bufferlist.h: ditto
8110 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8112 * converter.[Ch]: split into itself +
8115 * Makefile.am: += graph.[Ch] + format.[Ch]
8122 * lyxrc.C: added #include "format.h"
8124 2003-02-27 Angus Leeming <leeming@lyx.org>
8126 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8129 * factory.C (createInset): add "label" to the factory.
8131 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8132 string and do no more.
8134 2003-02-27 Angus Leeming <leeming@lyx.org>
8137 * LyXAction.C (init):
8138 * factory.C (createInset):
8139 * BufferView_pimpl.C (dispatch):
8140 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8142 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8144 * lyxfunc.C (dispatch):
8145 * text3.C (dispatch): pass name to params2string.
8147 2003-02-26 Angus Leeming <leeming@lyx.org>
8149 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8151 Rearrange the ~includes. Strip out the unnecessary ones.
8153 * factory.C (createInset): reformat.
8154 create new insets for the various LFUN_XYZ_APPLY lfuns.
8156 2003-02-26 John Levon <levon@movementarian.org>
8159 * lyxrow.C: add isParStart,isParEnd helpers
8161 * paragraph.h: make isInserted/DeletedText take refs
8163 * paragraph_funcs.h:
8164 * paragraph_funcs.C: remove #if 0'd code
8169 * text.C: use lyxrow helpers above.
8170 Move draw and paint routines to RowPainter.
8171 Make several methods use refs not pointers.
8172 Make backgroundColor() const.
8173 Add markChangeInDraw(), isInInset().
8174 Merge changeRegionCase into changeCase.
8175 Make workWidth() shouldn't-happen code into an Assert.
8178 * rowpainter.C: new class for painting a row.
8181 * vspace.C: make inPixels take a ref
8183 2003-02-26 Angus Leeming <leeming@lyx.org>
8185 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8188 2003-02-25 John Levon <levon@movementarian.org>
8190 * ispell.C: give the forked command a more accurate name
8192 2003-02-22 John Levon <levon@movementarian.org>
8195 * toc.C: make TocItem store an id not a Paragraph *
8198 2003-02-21 Angus Leeming <leeming@lyx.org>
8200 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8201 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8202 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8203 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8204 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8205 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8207 * BufferView_pimpl.C (dispatch):
8208 * LyXAction.C (init):
8209 * factory.C (createInset):
8210 * lyxfunc.C (getStatus, dispatch):
8211 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8213 2003-02-21 Angus Leeming <leeming@lyx.org>
8215 * BufferView_pimpl.C (MenuInsertLyXFile):
8216 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8217 * lyxfunc.C (menuNew, open, doImport):
8218 no longer pass a LyXView & to fileDlg.
8220 2003-02-21 Angus Leeming <leeming@lyx.org>
8222 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8223 * LyXAction.C: change, BIBKEY to BIBITEM.
8224 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8225 Change InsetBibKey to InsetBibitem.
8226 Change BIBKEY_CODE to BIBITEM_CODE.
8227 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8228 * factory.C: replace insetbib.h with insetbibitem.h.
8229 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8230 * paragraph.C: replace insetbib.h with insetbibitem.h.
8231 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8232 Change bibkey() to bibitem().
8233 * text.C: remove insetbib.h.
8234 * text2.C: replace insetbib.h with insetbibitem.h.
8235 change bibkey() to bibitem().
8236 * text3.C: remove insetbib.h.
8237 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8239 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8241 * lyxrc.C (output): enclose user email in quotes (in case there are
8244 2003-02-18 John Levon <levon@movementarian.org>
8246 * buffer.h: add std::
8248 2003-02-17 John Levon <levon@movementarian.org>
8254 * pspell.C: reworking. Especially in ispell, a large
8255 number of clean ups and bug fixes.
8257 * lyxfunc.C: fix revert to behave sensibly
8259 2003-02-17 André Pönitz <poenitz@gmx.net>
8262 * commandtags.h: new LFUN_INSERT_BIBKEY
8272 * paragraph_func.C: remove special bibkey handling
8274 2003-02-17 John Levon <levon@movementarian.org>
8276 * text.C (Delete): fix case where delete at the end of
8277 the very first paragraph would not merge the pars
8279 2003-02-17 John Levon <levon@movementarian.org>
8281 * lyxrow.C: fix lastPrintablePos()
8283 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8285 * bufferparams.C (writeLaTeX): add a std:here
8287 * buffer.C: and remove a using directive there
8289 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8291 * buffer.C (makeLaTeXFile): move the code that generates the
8294 * bufferparams.C (writeLaTeX): ... in this new method
8296 * LaTeXFeatures.C (getEncodingSet): make const
8297 (getLanguages): make const
8299 * MenuBackend.C (binding): returns the binding associated to this
8301 (add): sets the status of each item by calling getStatus. Adds
8303 (read): add support for OptSubMenu
8304 (expand): remove extra separator at the end of expanded menu
8306 2003-02-15 John Levon <levon@movementarian.org>
8309 * BufferView_pimpl.C:
8311 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8312 inset code that had no actual effect. Remove unneeded status
8315 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8317 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8320 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8322 * text.C (drawLengthMarker): also draw an arrow marker for
8323 symbolic lengths (medskip...)
8325 2003-02-14 John Levon <levon@movementarian.org>
8328 * tabular.C: better method names
8330 2003-02-14 John Levon <levon@movementarian.org>
8332 * BufferView_pimpl.C:
8337 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8338 it's a more accurate name. Remove some pointless uses.
8340 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8342 * text2.C (LyXText): change order of initilizers to shut off
8345 2003-02-14 John Levon <levon@movementarian.org>
8347 * buffer.C: use ParIterator for getParFromID()
8351 * paragraph_pimpl.h:
8352 * paragraph_pimpl.C: remove unused getParFromID()
8354 2003-02-14 John Levon <levon@movementarian.org>
8356 * buffer.C: remove some very old #if 0'd parse code
8358 2003-02-13 John Levon <levon@movementarian.org>
8362 * text2.C: move hfillExpansion(), numberOfSeparators(),
8363 rowLast(), rowLastPrintable(), numberofHfills(),
8364 numberOfLabelHfills() ...
8367 * lyxrow.C: ... to member functions here.
8372 * text.C: remove LyXText::beginningOfMainBody(), and call
8373 p->beginningOfMainBody() directly. Move the check for
8374 LABEL_MANUAL into the latter.
8381 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8387 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8388 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8390 2003-02-13 John Levon <levon@movementarian.org>
8392 * CutAndPaste.C: remove debug
8394 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8396 * paragraph.C (asString): remove two unused variables
8398 * lyxtextclass.C (readTitleType):
8400 (LyXTextClass): handle new members titletype_ and titlename_
8402 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8404 2003-02-09 John Levon <levon@movementarian.org>
8407 * buffer.C: replace hand-coded list with a map for the dep clean
8409 2003-02-08 John Levon <levon@movementarian.org>
8411 * LaTeX.C: consolidate code into showRunMessage() helper
8413 2003-02-08 John Levon <levon@movementarian.org>
8418 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8419 and pass the size in explicitly
8421 * BufferView_pimpl.h:
8422 * BufferView_pimpl.C:
8424 * BufferView.C: add getCurrentChange()
8426 * BufferView_pimpl.h:
8427 * BufferView_pimpl.C: handle change lfuns
8429 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8430 for changes. Mark pasted paragraphs as new.
8432 * support/lyxtime.h:
8433 * support/lyxtime.C:
8434 * DepTable.C: abstract time_t as lyx::time_type
8437 * LColor.C: add colours for new text, deleted text, changebars
8439 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8440 package use "usenames" option.
8444 * LyXAction.C: add change lfuns
8448 * author.C: author handling
8451 * buffer.C: add a per-buffer author list, with first entry as
8452 current author. Handle new .lyx tokens for change tracking. Output
8453 author list to .lyx file. Output dvipost stuff to .tex preamble.
8454 Bump lyx format to 222.
8457 * bufferlist.C: add setCurrentAuthor() to reset current author details
8461 * bufferparams.C: add param for tracking
8463 * bufferview_funcs.C: output change info in minibuffer
8467 * changes.C: add change-tracking structure
8470 * debug.C: add CHANGES debug flag
8473 * lyxfind.C: add code for finding the next change piece
8476 * lyxrc.C: add user_name and user_email
8479 * lyxrow.C: add a metric for the top of the text line
8482 * text.C: implement accept/rejectChange()
8485 * text.C: paint changebars. Paint new/deleted text in the chosen
8486 colours. Strike through deleted text.
8490 * paragraph_pimpl.h:
8491 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8492 in the current change to the insert functions. Rework erase to
8493 mark text as deleted, adding an eraseIntern() and a range-based
8494 erase(). Implement per-paragraph change lookup and
8497 * paragraph_funcs.C: Fixup paste for change tracking.
8499 * tabular.C: mark added row/columns as new.
8501 * text.C: fix rowLast() to never return -1. Don't allow
8502 spellchecking of deleted text. Track transpose changes. Don't
8503 allow paragraph break or merge where appropriate.
8505 * text2.C: leave cursor at end of selection after a cut.
8507 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8509 * text.C (getLengthMarkerHeight):
8510 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8511 visible on screen too.
8513 2003-02-07 John Levon <levon@movementarian.org>
8515 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8517 2003-02-05 Angus Leeming <leeming@lyx.org>
8519 * lyxserver.C (read_ready): revert my patch of 11 September last year
8520 as it sends PC cpu through the roof. Presumably this means that
8521 the lyxserver will no longer run on an Alpha...
8523 2003-01-30 Angus Leeming <leeming@lyx.org>
8525 * factory.C (createInset): create an InsetCommandParam of type "index"
8526 and use it to 'do the right thing'.
8528 * text2.C (getStringToIndex): ensure that cursor position is always
8529 reset to the reset_cursor position.
8531 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8533 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8536 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8540 * lyxfunc.C: Output messages with identical spelling, punctuation,
8543 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8545 * MenuBackend.C (expandFormats): List only viewable export formats
8548 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8551 * lyxfunc.C (getStatus): Make sure that formats other than
8552 "fax" can also be disabled
8554 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8556 * text3.C (dispatch): put the lfuns that insert insets in 3
8557 groups, and call doInsertInset with appropriate arguments.
8558 (doInsertInset): new function, that creates an inset and inserts
8559 it according to some boolean parameters.
8561 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * buffer.C (readFile): remember to pass on 'par' when calling
8564 readFile recursively.
8566 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8568 * MenuBackend.C (expandFormats): add "..." to import formats.
8570 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8572 * paragraph.C (asString): Remove XForms RTL hacks.
8574 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8575 * buffer.C: fix typo
8577 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * Makefile.am (LIBS): delete var
8580 (lyx_LDADD): add @LIBS@ here instead.
8582 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8584 * Clarify the meaning of "wheel mouse jump"
8586 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8591 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8593 * importer.C (Loaders): do not preallocate 3 elements in the
8594 vector, since one ends up with 6 elements otherwise
8596 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * DepTable.C (write): write the file name as last element of the
8599 .dep file (because it may contain spaces)
8600 (read): read info in the right order
8602 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8604 * paragraph_pimpl.C (simpleTeXBlanks):
8605 (simpleTeXSpecialChars):
8606 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8608 * tabular.C (latex): add some missing case statements. Reindent.
8610 * MenuBackend.C (expandToc): remove unused variable.
8612 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8621 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8624 2003-01-05 John Levon <levon@movementarian.org>
8627 * BufferView.C: add getEncoding()
8630 * kbsequence.C: do not store last keypress
8633 * lyxfunc.C: store last keypress here instead. Pass encoding
8636 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * lyx_main.C (init): remove annoying error message when following
8639 symbolic links (bug #780)
8641 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * text.C (insertChar):
8644 * lyxrc.C (getDescription): remove extra spaces
8646 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8648 * lyxrc.C (getDescription): remove extra spaces
8650 2002-12-20 John Levon <levon@movementarian.org>
8652 * text3.C: hack fix for page up/down across tall rows
8654 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8656 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8659 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8661 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8662 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8663 thesaurus is not compiled in
8665 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8667 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8669 2002-12-16 Angus Leeming <leeming@lyx.org>
8672 * lyx_main.C (init): remove override_x_deadkeys stuff.
8674 2002-12-12 John Levon <levon@movementarian.org>
8676 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8677 insert. Only remove shift modifier under strict
8680 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * MenuBackend.C (expandToc): fix crash.
8684 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8686 * MenuBackend.C (expandToc): gettext on float names.
8688 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8690 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8691 implement bool empty() [bug 490]
8693 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8695 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8697 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8699 * several files: ws changes
8701 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8703 * text2.C (setCounter): clean up a bit, use boost.format.
8704 (updateCounters): initialize par upon declaration.
8706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8707 if the layout exists. We do not just store the layout any more.
8708 (SwitchLayoutsBetweenClasses): use boost.format
8710 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8712 * converter.C (convert): if from and to files are the same, use a
8713 temporary files as intermediary
8715 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8718 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8720 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8722 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8724 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * tabular.C (asciiPrintCell): use string(size, char) instead of
8729 * sgml.C (openTag): fix order of arguments to string constructor
8732 * lyxfunc.C (dispatch): use boost.format
8734 * lots of files: change "c" -> 'c'
8736 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8738 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8740 2002-11-25 Angus Leeming <leeming@lyx.org>
8742 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8744 * lyx_main.C (init): compile fix.
8746 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * lyx_cb.C (start): boost.formatify
8749 do not include <iostream>
8751 * lengthcommon.C: ws only
8753 * boost-inst.C,BoostFormat.h: add more explict instantations
8755 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * lots of files: handle USE_BOOST_FORMAT
8759 2002-11-21 John Levon <levon@movementarian.org>
8761 * pspell.C: fix compile
8763 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8765 * lyxfunc.C (dispatch): use boost::format
8769 * lyxfont.C (stateText): use boost::format
8771 * lyx_main.C (LyX): use boost::format
8773 (queryUserLyXDir): ditto
8776 (typedef boost::function): use the recommened syntax.
8778 * importer.C (Import): use boost::format
8780 * debug.C (showLevel): use boost::format
8782 * converter.C (view): use boost::format
8787 * bufferview_funcs.C (currentState): use boost::format
8789 * bufferlist.C (emergencyWrite): use boost::format
8791 * buffer.C (readLyXformat2): use boost::format
8792 (parseSingleLyXformat2Token): ditto
8794 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8796 * LaTeX.C (run): use boost::format
8798 * Chktex.C (scanLogFile): use boost::format
8800 * BufferView_pimpl.C (savePosition): use boost::format
8801 (restorePosition): ditto
8802 (MenuInsertLyXFile): ditto
8804 * BoostFormat.h: help file for explicit instation.
8806 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8808 * tabular.C (latex): Support for block alignment in fixed width
8811 2002-11-17 John Levon <levon@movementarian.org>
8813 * BufferView_pimpl.C:
8815 * lyxfunc.C: split filedialog into open/save
8817 2002-11-08 Juergen Vigna <jug@sad.it>
8819 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8820 by my last patch (hopefully).
8822 2002-11-08 John Levon <levon@movementarian.org>
8831 * toc.C: ParConstIterator, and use it (from Lars)
8833 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8835 * lyxtextclass.[Ch]: revise and add doxygen comments
8837 2002-11-07 John Levon <levon@movementarian.org>
8839 * text.C: fix progress value for spellchecker
8841 * toc.C: fix navigate menu for insetwrap inside minipage
8843 * paragraph_funcs.C: added FIXME for suspect code
8845 2002-11-07 John Levon <levon@movementarian.org>
8847 * BufferView_pimpl.C: fix redrawing of insets
8850 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8852 * text2.C (updateCounters): fix bug 668
8854 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8856 * text3.C (dispatch): Do not make the buffer dirty when moving the
8859 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8861 * vc-backend.C: STRCONV
8864 * text2.C (setCounter): STRCONV
8866 * paragraph.C (asString): STRCONV
8868 * lyxlength.C (asString): STRCONV
8869 (asLatexString): ditto
8871 * lyxgluelength.C (asString): STRCONV
8872 (asLatexString): ditto
8874 * lyxfunc.C (dispatch): STRCONV
8877 * lyxfont.C (stateText): STRCONV
8879 * importer.C (Import): STRCONV
8881 * counters.C (labelItem): STRCONV
8882 (numberLabel): ditto
8883 (numberLabel): remove unused ostringstream o
8888 * bufferview_funcs.C (currentState): STRCONV
8890 * buffer.C (readFile): STRCONV
8891 (asciiParagraph): ditto
8892 (makeLaTeXFile): ditto
8894 * Spacing.C (writeEnvirBegin): STRCONV
8896 * LaTeXFeatures.C (getLanguages): STRCONV
8897 (getPackages): ditto
8899 (getBabelOptions): ditto
8900 (getTClassPreamble): ditto
8901 (getLyXSGMLEntities): ditto
8902 (getIncludedFiles): ditto
8906 (scanAuxFile): ditto
8909 * LString.h: add the STRCONV macros
8911 * BufferView_pimpl.C (savePosition): STRCONV
8912 (restorePosition): ditto
8913 (MenuInsertLyXFile): ditto
8915 * vc-backend.C (scanMaster): change from submatch[...] to
8918 * funcrequest.C: include config.h
8920 * factory.C: include config.h
8922 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8924 * box.C: include config.h
8926 * LaTeX.C (scanAuxFile): change from submatch[...] to
8930 2002-10-25 Angus Leeming <leeming@lyx.org>
8932 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8934 * ispell.[Ch] (setError): new method.
8935 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8936 Use setError() insetead of goto END.
8938 * lyx_cb.C (AutoSave): move out child process into new class
8941 2002-10-30 John Levon <levon@movementarian.org>
8943 * text3.C: make start appendix undoable
8945 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8947 * lyxlength.C (inPixels): Fix returned value.
8949 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8952 2002-10-24 Angus Leeming <leeming@lyx.org>
8954 * lyxgluelength.h: no need to forward declare BufferParams
8955 or BufferView, so don't.
8957 2002-10-21 John Levon <levon@movementarian.org>
8959 * BufferView.C: menuUndo ->undo, redo
8961 * BufferView.h: document, remove dead, make some methods private
8963 * paragraph_funcs.h:
8964 * paragraph_funcs.C:
8965 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8970 * sgml.C: move sgml open/close tag into sgml.C
8972 * bufferview_funcs.h: unused prototype
8975 * lyxfunc.C: remove unused
8978 * text.C: remove unused
8980 2002-10-21 John Levon <levon@movementarian.org>
8984 * BufferView_pimpl.h:
8985 * BufferView_pimpl.C: fix mouse wheel handling based on
8986 patch from Darren Freeman
8988 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8990 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8992 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8994 * lyxlength.C (inPixels): Fix hanfling of negative length.
8995 Fix LyXLength::MU case.
8997 2002-10-16 John Levon <levon@movementarian.org>
8999 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9001 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9003 * converter.C (view): add support for $$i (file name) and $$p
9004 (file path) for the viewer command. If $$i is not specified, then
9005 it is appended to the command (for compatibility with old syntax)
9007 2002-10-14 Juergen Vigna <jug@sad.it>
9009 * undo_funcs.C (textHandleUndo): alter the order in which the
9010 new undopar is added to the LyXText, as we have to set first
9011 the right prev/next and then add it as otherwise the rebuild of
9012 LyXText is not correct. Also reset the cursor to the right paragraph,
9013 with this IMO we could remove the hack in "redoParagraphs()".
9015 2002-10-09 Angus Leeming <leeming@lyx.org>
9017 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9018 to turn off an optimisation if a new inset is to be inserted.
9020 2002-10-11 André Pönitz <poenitz@gmx.net>
9022 * lyxtext.h: make some functions public to allow access
9023 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9025 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9027 * text3.C (dispatch): when changing layout, avoid an infinite loop
9030 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * lyxrc.C (read): treat a viewer or converter command of "none" as
9035 * MenuBackend.C (expandFormats): for an update, also allow the
9036 formats that are not viewable
9038 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9039 script if it is newer than the lyxrc.defaults in user directory
9041 2002-10-07 André Pönitz <poenitz@gmx.net>
9043 * text.C: Vitaly Lipatov's small i18n fix
9045 2002-09-25 Angus Leeming <leeming@lyx.org>
9047 * ispell.h: doxygen fix.
9049 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9051 * buffer.h (readFile): Add a new argument to the method, to allow
9052 reading of old-format templates.
9054 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9056 * toc.C (getTocList): Get TOC from InsetWrap.
9058 2002-09-16 John Levon <levon@movementarian.org>
9060 * lyxfunc.C: check tabular for cut/copy too
9062 2002-09-12 John Levon <levon@movementarian.org>
9067 * factory.C: add header
9069 * paragraph_funcs.h:
9070 * paragraph_funcs.C: cleanup
9072 2002-09-11 John Levon <levon@movementarian.org>
9074 * PrinterParams.h: odd/even default to true
9076 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9078 * PrinterParams.h: update printer parameters for new xforms dialog
9080 2002-09-11 Angus Leeming <leeming@lyx.org>
9082 * lyxserver.C (read_ready): re-write to make it more transparent
9083 and to make it work in coherent fashion under Tru64 Unix.
9085 2002-09-11 André Pönitz <poenitz@gmx.net>
9089 * text3.C: implement LFUN_WORDSEL
9091 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9094 make floatlist_ a boost::shared_ptr<FloatList>
9096 * lyxtextclass.C: include FloatList.h
9097 (LyXTextClass): initialize floatlist_
9098 (TextClassTags): add TC_NOFLOAT
9099 (Read): match "nofloat" to TC_NOFLOAT and use it.
9100 (readFloat): modify call to floatlist_
9104 * FloatList.[Ch] (FloatList): remove commented out float
9106 (erase): new function
9108 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * MenuBackend.C (expandToc): fix crash when there is no document
9113 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9115 * many files: Add insetwrap.
9117 2002-09-09 John Levon <levon@movementarian.org>
9119 * text2.C: remove confusing and awkward depth wraparound
9121 2002-09-09 John Levon <levon@movementarian.org>
9123 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9126 * buffer.C: remove getIncludeonlyList()
9129 * lyxfunc.C: remove headers
9131 2002-09-09 Juergen Vigna <jug@sad.it>
9133 * text.C (getColumnNearX): fix form Michael this is most
9134 probably a cut&paste bug.
9136 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9140 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9141 references, ws changes.
9143 * text2.C (init): update counters after init
9144 (insertParagraph): no need to set counter on idividual paragraphs.
9145 (setCounter): access the counters object in the textclass object
9146 on in the buffer object.
9147 (updateCounters): ditto
9149 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9150 shared_ptr<Counters> to avoid loading counters.h in all
9152 (LyXTextClass): initialize ctrs_
9153 (TextClassTags): add TC_COUNTER, and ...
9154 (Read): use it here.
9155 (CounterTags): new tags
9156 (readCounter): new function
9157 (counters): new funtion
9158 (defaultLayoutName): return a const reference
9160 * counters.C (Counters): remove contructor
9161 (newCounter): remove a couple of unneeded statements.
9162 (newCounter): simplify a bit.
9163 (numberLabel): some small formatting changes.
9165 * buffer.[Ch]: remove all traces of counters, move the Counters
9166 object to the LyXTextClass.
9168 2002-09-06 Alain Castera <castera@in2p3.fr>
9170 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9171 package to set the horizontal alignment on fixed width columns.
9174 * lyx_sty.h: added tabularnewline macro def.
9176 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9178 2002-09-06 John Levon <levon@movementarian.org>
9180 * LyXAction.C: tooltips for sub/superscript
9182 * MenuBackend.C: a bit more verbose
9184 * lyxfunc.C: tiny clean
9186 * undo_funcs.C: document undo_frozen
9188 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * counters.C (Counters): add missing algorithm counter.
9192 * text2.C (setCounter): lookup the counter with layouts latexname
9193 instead of by section number.
9194 (setCounter): use a hackish way to lookup the correct enum
9196 a float name->type change
9197 reset enum couners with counter name directly instead of depth value.
9199 * counters.C (Counters): remove the push_backs, change to use the
9200 float type not the float name.
9201 (labelItem): remove unused string, float name->type change
9203 * counters.h: don't include vector, loose the enums and sects vectors
9205 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9207 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9208 (Read): add float->TC_FLOAT to textclassTags
9209 (Read): and handle it in the switch
9210 (readFloat): new function
9212 * FloatList.C (FloatList): comment out the hardcoded float
9215 * lyxlayout.h: ws change.
9217 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9219 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9221 2002-09-03 Angus Leeming <leeming@lyx.org>
9223 * BufferView_pimpl.h: qualified name is not allowed in member
9224 declaration: WorkArea & Pimpl::workarea() const;
9226 * factory.C: added using std::endl directive.
9228 * text3.C: added using std::find and std::vector directives.
9230 2002-08-29 André Pönitz <poenitz@gmx.net>
9233 * text2.C: remove unused member number_of_rows
9236 * BufferView2.C: remove file, move contents to...
9237 * BufferView.C: ... here
9239 * BufferView_pimpl.C:
9240 * factory.C: move more inset creation to factory
9242 * vspace.C: avoid direct usage of LyXText, ws changes
9245 don't provide direct access to WorkArea, use two simple
9246 acessors haveSelction() and workHeight() instead
9249 2002-08-29 John Levon <levon@movementarian.org>
9251 * BufferView_pimpl.C (dispatch): do not continue when
9254 2002-08-28 André Pönitz <poenitz@gmx.net>
9256 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9259 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9261 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9263 * buffer.C: increment LYX_FORMAT to 221
9265 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9266 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9268 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9270 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9272 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9274 * factory.C (createInset): use LyXTextClass::floats
9276 * MenuBackend.C (expandFloatListInsert):
9277 (expandFloatInsert):
9280 * text2.C (setCounter):
9282 * LaTeXFeatures.C (useFloat):
9283 (getFloatDefinitions):
9285 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9287 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9288 floatlist_, with accessor floats().
9290 * FloatList.h: remove global FloatList
9292 2002-08-26 André Pönitz <poenitz@gmx.net>
9294 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9298 * BufferView_pimpl.C:
9299 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9301 2002-08-25 John Levon <levon@movementarian.org>
9303 * LyXAction.C: fix margin note description
9305 2002-08-24 John Levon <levon@movementarian.org>
9309 * bufferview_funcs.C:
9311 * undo_funcs.C: cleanups
9313 * lyxfunc.C: disable CUT/COPY when no selection
9315 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9317 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9318 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9320 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9321 Add backward compatibility to "mono", "gray" and "no".
9323 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9325 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9326 (and file_format >= 200).
9328 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9330 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9332 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9336 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9338 * BufferView_pimpl.C:
9345 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9346 inset and code to make it work with the paragraph code. The inset
9347 can be anywhere in the paragraph, but will only do the expected
9348 thing in LaTeX if the layout file contains the parameter line
9350 (or more generally, a nonzero value) for that layout.
9352 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * paragraph.h: remove the declaration of undefined counters class
9357 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9359 * text2.C (setCounter): fixed enumeration mis-count as reported by
9360 Dr. Richard Hawkins.
9362 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * paragraph_funcs.h: remove some unneeded includes
9366 * text.C (backspace): pasteParagraph now in global scipe
9368 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9369 (pasteSelection): ditto
9371 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9372 * paragraph_funcs.C (pasteParagraph): ... here
9374 2002-08-20 André Pönitz <poenitz@gmx.net>
9376 * commandtags.h: new LFUNs for swapping/copying table row/colums
9379 * lyxfunc.C: support for new lfuns
9381 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9384 * buffer.[Ch]: remove NO_COMPABILITY stuff
9386 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9388 * boost.C (throw_exception): new file, with helper function for
9389 boost compiled without exceptions.
9394 * ParameterStruct.h:
9395 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9397 * bufferlist.C (emergencyWriteAll): use boost bind
9399 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9401 * text.C: include paragraph_funcs.h
9402 (breakParagraph): breakParagraph is now in global scope
9404 * paragraph_funcs.[Ch]: new files
9406 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9409 * buffer.C: include paragraph_funcs.h
9410 (insertStringAsLines): breakParagraph is now in global scope
9412 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9415 * CutAndPaste.C: include paragraph_funcs.h
9416 (cutSelection): breakParagraphConservative is now in global scope
9417 (pasteSelection): ditto
9419 * buffer.h: declare oprator== and operator!= for
9420 Buffer::inset_iterator
9422 * bufferlist.C (emergencyWrite): don't use fmt(...)
9424 * text3.C: add using std::endl
9426 * BufferView.C (moveCursorUpdate): remove default arg
9428 2002-08-20 André Pönitz <poenitz@gmx.net>
9430 * buffer.[Ch]: move inline functions to .C
9433 * BufferView_pimpl.C:
9435 * buffer.[Ch]: use improved inset_iterator
9438 * paragraph.[Ch]: write one paragraph at a time
9440 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9442 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9443 style if style is not specified.
9445 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * text2.C (setCounter): when searching for right label for a
9448 caption, make sure to recurse to parent insets (so that a caption
9449 in a minipage in a figure float works) (bug #568)
9451 2002-08-20 André Pönitz <poenitz@gmx.net>
9453 * text3.C: new file for LyXText::dispatch() and helpers
9455 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9457 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9459 2002-08-19 André Pönitz <poenitz@gmx.net>
9462 * text.C: new LyXText::dispatch()
9464 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9466 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9468 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9470 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9473 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9475 * Makefile.am: use $(variables) instead of @substitutions@
9477 2002-08-15 André Pönitz <poenitz@gmx.net>
9480 * BufferView_pimpl.C: streamlining mathed <-> outer world
9484 * LyXAction.C: remove unused LFUN_MATH
9486 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9488 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9490 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9492 * paragraph.C (Paragraph): reformat a bit
9493 (cutIntoMinibuffer): use builtin InsetList function instad of
9497 * buffer.C: include boost/bind.hpp, add using std::for_each
9498 (writeFileAscii): use ParagraphList iterators
9499 (validate): use for_each for validate traversal of paragraphs
9500 (getBibkeyList): use ParagraphList iterators
9501 (resizeInsets): use for_each to resizeInsetsLyXText for all
9503 (getParFromID): use ParagraphList iterators
9505 * BufferView2.C (lockInset): use paragraph list and iterators
9507 2002-08-14 John Levon <levon@movementarian.org>
9509 * lyxserver.C: remove spurious xforms include
9511 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9513 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9515 2002-08-13 André Pönitz <poenitz@gmx.net>
9518 * lyxfunc.C: further cleaning
9520 2002-08-13 André Pönitz <poenitz@gmx.net>
9522 * funcrequest.h: new constructor
9524 * funcrequest.C: move stuff here from .h
9527 * BufferView_pimpl.C:
9530 * lyxfunc.C: subsequent changes
9532 * lyxfunc.h: new view() member function
9534 * lyxfunc.C: subsequent changes
9536 2002-08-13 Angus Leeming <leeming@lyx.org>
9539 * BufferView_pimpl.C:
9547 changes due to the changed LyXView interface that now returns references
9548 to member variables not pointers.
9550 2002-08-13 Angus Leeming <leeming@lyx.org>
9552 * WordLangTuple (word, lang_code): return references to strings,
9557 * lyxtext.h: forward-declare WordLangTuple.
9562 * text.C: #include "WordLangTuple.h".
9565 * text.C: (selectNextWordToSpellcheck): constify return type.
9567 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9573 * paragraph_pimpl.h:
9576 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9578 Made updateCounter always count from start of buffer, and removed
9579 second argument (par).
9580 Reverted floats number display to '#'. Perhaps I'll try again when the
9581 code base is sanitized a bit.
9583 2002-08-12 Angus Leeming <leeming@lyx.org>
9585 * buffer.[Ch] (getLabelList): constify.
9587 2002-08-07 André Pönitz <poenitz@gmx.net>
9589 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9591 * funcrequest.h: extension to keep mouse (x,y) position
9593 2002-08-12 Juergen Vigna <jug@sad.it>
9595 * BufferView2.C (insertErrors): forbid undo when inserting error
9598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9600 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9602 * ParagraphList.[Ch]: new files
9604 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9606 * BufferView2.C (lockInset): ParagraphList changes
9609 * bufferlist.C: ditto
9613 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9615 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9616 unused class variable counter_,
9618 * paragraph.[Ch] (getFirstCounter): delete unused function
9620 * counters.C: include LAssert.h
9621 (reset): add a new function with no arg, change other version to
9622 not have def. arg and to not allow empty arg.
9624 * text2.C (setCounter): remove empty arg from call to Counters::reset
9626 2002-08-11 John Levon <levon@movementarian.org>
9628 * Makefile.am: add WordLangTuple.h
9630 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9632 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9633 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9635 * insets/insettext.C: InsetList changes
9637 * graphics/GraphicsSupport.C (operator()): InsetList changes
9639 * toc.C (getTocList): InsetList changes
9641 * paragraph_pimpl.[Ch]: InsetList changes
9643 * paragraph.[Ch]: InsetList changes
9645 * buffer.C (inset_iterator): InsetList changes
9646 (setParagraph): ditto
9647 * buffer.h (inset_iterator): ditto
9648 * iterators.C (operator++): ditto
9649 * iterators.h: ditto
9651 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9653 * InsetList.[Ch]: new files, most InsetList handling moved out of
9656 * BufferView2.C (removeAutoInsets): InsetList changes
9658 (ChangeInsets): ditto
9660 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9662 * paragraph_pimpl.h (empty): new function
9664 * paragraph.[Ch] (empty): new function
9666 * other files: use the new Paragraph::empty function
9668 2002-08-09 John Levon <levon@movementarian.org>
9670 * lyxtext.h: remove unused refresh_height
9672 2002-08-09 John Levon <levon@movementarian.org>
9679 * paragraph.C: move sgml char escaping out of paragraph
9682 * paragraph.C: remove id setter
9686 * paragraph_pimpl.C: remove dead tex_code_break_column
9688 * bufferview_funcs.C: small cleanup
9690 * lyxfunc.C: remove dead proto
9692 * lyxtext.h: make some stuff private. Remove some dead stuff.
9694 * lyxgluelength.C: make as[LyX]String() readable
9696 2002-08-08 John Levon <levon@movementarian.org>
9701 * ToolbarDefaults.C:
9704 * toc.C: lyxaction cleanup
9706 2002-08-08 John Levon <levon@movementarian.org>
9708 * BufferView2.C: small cleanup
9711 * lyxfind.C: move unnecessary header into the .C
9713 2002-08-08 John Levon <levon@movementarian.org>
9715 * funcrequest.h: just tedious nonsense
9718 * lyx_main.C: cleanups
9721 * vspace.C: remove dead header lyx_main.h
9723 2002-08-07 Angus Leeming <leeming@lyx.org>
9726 * paragraph_pimpl.h:
9727 Forward declare class Counters in paragraph.h by moving the ctrs member
9728 variable into Paragraph::Pimpl.
9729 (counters): new method, returning a reference to pimpl_->ctrs.
9731 * text2.C: ensuing changes.
9733 2002-08-07 John Levon <levon@movementarian.org>
9735 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9737 * BufferView_pimpl.C: announce X selection on double/triple
9740 * lyx_main.C: use correct bool in batch dispatch
9742 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9744 2002-08-07 André Pönitz <poenitz@gmx.net>
9746 * funcrequest.h: new class to wrap a kb_action and its argument
9749 * BufferView_pimpl[Ch]:
9753 * lyxrc.C: subsequent changes
9756 2002-08-07 John Levon <levon@movementarian.org>
9758 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9759 document options change.
9761 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9766 * makefile.am: move counters functionality over from
9767 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9769 2002-08-06 John Levon <levon@movementarian.org>
9771 * WordLangTuple.h: new file for word + language code tuple
9782 * BufferView2.C: use WordLangTuple
9785 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9787 2002-08-06 John Levon <levon@movementarian.org>
9789 * lyx_main.C: fix cmdline batch handling
9791 2002-08-06 André Pönitz <poenitz@gmx.net>
9793 * lyxrc.C: set default for show_banner to true
9795 2002-08-06 John Levon <levon@movementarian.org>
9797 * pspell.C: fix a crash, and allow new aspell to work
9799 2002-08-06 John Levon <levon@movementarian.org>
9802 * kbmap.C: small cleanup
9805 * vspace.C: add const
9807 2002-08-05 John Levon <levon@movementarian.org>
9809 * LyXAction.C: back to tabular-insert
9811 2002-08-04 John Levon <levon@movementarian.org>
9814 * BufferView.C: cosmetic change
9816 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9826 * BufferView2.C: purge all "Lyx" not "LyX" strings
9829 * lyxcursor.C: attempt to add some documentation
9834 * ToolbarDefaults.C:
9835 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9836 merge with LFUN_TABULAR_INSERT
9843 * pspell.C: split up i/pspell implementations into separate
9844 files, many cleanups
9846 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9848 * text2.C: some cleanup
9850 * lyxfunc.C: don't check for isp_command == "none" any more, it
9851 didn't make any sense
9853 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9858 * makefile.am: move counters functionality over
9859 from text2.C/paragraph.[Ch] to counters.[Ch], and
9861 2002-08-02 John Levon <levon@movementarian.org>
9863 * buffer.C: s/lyxconvert/lyx2lyx/
9865 2002-08-02 Angus Leeming <leeming@lyx.org>
9867 * lyxlex.C: revert John's change as it breaks reading of the user
9870 2002-08-02 Angus Leeming <leeming@lyx.org>
9872 * importer.C (Import):
9873 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9874 changes due to LyXView::view() now returning a boost::shared_ptr.
9876 2002-08-02 John Levon <levon@movementarian.org>
9878 * lyxlex.C: small cleanup
9880 2002-08-02 John Levon <levon@movementarian.org>
9882 * text2.C (status): small cleanup, no logic change
9884 2002-08-01 John Levon <levon@movementarian.org>
9887 * buffer.C (writeFile): don't output alerts, caller
9891 * lyx_cb.C: from above
9893 * lyxfunc.C: allow to open non-existent files
9895 2002-07-31 John Levon <levon@movementarian.org>
9897 * lyxserver.C: don't let incidental errors get
9900 2002-07-30 John Levon <levon@movementarian.org>
9902 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9904 2002-07-30 John Levon <levon@movementarian.org>
9907 * lyxserver.C: remove I/O callback too
9909 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9911 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9914 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9916 * many files: strip,frontStrip -> trim,ltrim,rtrim
9918 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9920 * PrinterParams.h: remove extern containsOnly, and include
9921 support/lstrings.h instead.
9923 * LaTeX.C (scanAuxFile): modify because of strip changes
9925 * buffer.C (makeLaTeXFile): ditto
9926 * bufferparams.C (writeFile): ditt
9927 * lyxfont.C (stateText): ditto
9928 * lyxserver.C (read_ready): ditto
9929 * vc-backend.C (scanMaster): ditto
9931 * BufferView_pimpl.h: ws changes
9933 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9935 2002-07-26 André Pönitz <poenitz@gmx.net>
9937 * kb_sequence.C: remove unnedred usings
9939 2002-07-26 Juergen Vigna <jug@sad.it>
9941 * lyxfind.C (LyXReplace): we have to check better if the returned
9942 text is not of theLockingInset()->getLockingInset().
9944 2002-07-25 Juergen Vigna <jug@sad.it>
9946 * lyxfind.C (LyXReplace): don't replace if we don't get the
9949 * undo_funcs.C (createUndo): remove debugging code.
9951 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9953 * buffer.C (parseSingleLyXformat2Token): Use default placement
9954 when reading old floats.
9956 * FloatList.C (FloatList): Change the default placement of figure
9957 and tables to "tbp".
9959 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9961 * MenuBackend.C: using std::max
9963 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9965 * MenuBackend.C (expandToc):
9966 (expandToc2): code moved from xforms menu frontend. It is now
9967 generic and TOCs are transparent to menu frontends.
9969 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * toc.C (getTocList): protect against buf=0
9973 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9974 Menu as first parameter. Now, this calls itself recursively to
9975 expand a whole tree (this will be useful for TOC handling)
9976 (expandFloatInsert): remove 'wide' version of floats
9978 * MenuBackend.h (submenuname): returns the name of the submenu.
9979 (submenu): returns the submenu itself, provided it has been
9980 created by MenuBackend::expand
9982 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9985 insets which have noFontChange == true. (bug #172)
9987 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9989 * BufferView_pimpl.C: add connection objects and use them...
9992 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9994 * MenuBackend.C (expandLastfiles):
9997 (expandFloatListInsert):
9998 (expandFloatInsert):
9999 (expand): split expand in parts
10001 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10003 * lyx_gui.C: use lyx_gui::exit()
10005 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10007 * LyXAction.C: show the failing pseudo action
10009 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10011 * buffer.C (readFile): Run the lyxconvert script in order to read
10014 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10018 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10020 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10024 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10026 2002-07-22 Herbert Voss <voss@lyx.org>
10029 * lyxlength.[Ch]: add support for the vertical lengths
10031 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10033 * toc.[Ch]: std:: fixes
10035 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * lyxrc.C: do not include lyx_main.h
10039 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10045 * BufferView2.C: include "lyxlex.h"
10048 * bufferparams.h: do not #include "lyxlex.h"
10050 * lyxtextclasslist.C (Add): remove method
10051 (classlist): renamed to classlist_
10053 * paragraph_pimpl.C:
10057 * bufferview_funcs.C:
10062 * toc.C (getTocList): use BufferParams::getLyXTextClass
10064 * toc.C (getTocList): use InsetFloat::addToToc
10066 * toc.[Ch]: new files, containing helper functions to handle table
10069 * lyxfunc.C (dispatch): no need to remove spaces around command
10071 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10072 first command of the sequence; it is not very clever, but I do not
10073 have a better idea, actually
10075 * LyXAction.C (LookupFunc): make sure to remove space at the
10076 beginning and end of the command
10078 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10080 * MenuBackend.C (getMenubar): new method: return the menubar of
10082 (read): treat differently reading of menu and menubar (in
10083 particular, the menubar has no name now)
10084 (Menu::menubar): remove
10086 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10089 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10091 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10092 a bibitem inset in a RTL paragraph.
10094 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10096 * paragraph_pimpl.C: constify
10098 * BufferView_pimpl.C:
10100 * lyxfunc.C: fix dispatch in a nicer way
10102 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * lyxfunc.C (dispatch):
10105 * BufferView_pimpl.C:
10106 * BufferView_pimpl.h:
10108 * BufferView.h: rename Dispatch() to dispatch()
10110 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10112 * lyxlayout.C (Read): honor DependsOn tag
10114 * lyxlayout.[Ch] (depends_on): new method
10116 * version.C.in: update lyx_docversion
10118 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10120 * paragraph.C (validate): remove from here...
10121 * paragraph_pimpl.C (validate): ... and move here
10122 (isTextAt): make it const
10124 * buffer.C (getLists): ws cleanup
10126 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10128 * language.C (read): Use iso8859-1 encoding in latex_lang
10129 (this prevents LyX from crashing when using iso10646-1 encoding).
10131 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * text2.C (toggleInset): if cursor is inside an inset, close the
10134 inset and leave cursor _after_ it
10136 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10138 * lyxfunc.C: move minibuffer completion handling out of here
10140 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10142 * BufferView_pimpl.C:
10143 * LaTeX.C: fix dispatch calls
10145 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10147 * text.C (drawChars): Fix Arabic text rendering.
10149 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10153 * lyxfunc.C: remove message-push/pop
10157 * lyxfunc.C: rationalise some code by removing verboseDispatch
10158 in favour of a bool argument to dispatch()
10160 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * lyx_main.C (init): make sure to read symlinks as absolute paths
10164 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10167 * lyxfunc.C: no need for commandshortcut to be a member
10169 2002-07-15 André Pönitz <poenitz@gmx.net>
10171 * converter.C: add support for $$s (scripts from lib/scripts dir)
10172 * lyx_main.C: white space
10174 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10178 * lyxrc.C: remove second exit confirmation
10180 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10185 * BufferView_pimpl.h:
10186 * BufferView_pimpl.C:
10187 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10189 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * MenuBackend.C (expand): add numeric shortcuts to document menu
10193 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10195 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * lyxfont.C (setLyXFamily):
10204 * buffer.C (asciiParagraph): use ascii_lowercase
10206 2002-07-15 Mike Fabian <mfabian@suse.de>
10208 * lyxlex_pimpl.C (search_kw):
10209 * lyxlex.C (getLongString):
10210 * converter.h (operator<):
10211 * converter.C (operator<):
10212 * buffer.C (parseSingleLyXformat2Token):
10214 * ToolbarDefaults.C (read):
10215 * MenuBackend.C (checkShortcuts):
10217 * LColor.C (getFromGUIName):
10218 (getFromLyXName): use the compare_ascii_no_case instead of
10219 compare_no_case, because in turkish, 'i' is not the lowercase
10220 version of 'I', and thus turkish locale breaks parsing of tags.
10222 2002-07-16 Angus Leeming <leeming@lyx.org>
10224 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10225 now takes a Buffer const & argument.
10227 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10229 * BufferView.C (resize): check there's a buffer to resize
10231 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10233 * lyxfunc.C: remove dead code
10236 * lyxserver.C: use lyx_guii::set_read_callback
10238 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10240 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10241 an inset in a RTL paragraph.
10243 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10245 * lyxfunc.C: repaint after a font size update
10247 2002-07-15 André Pönitz <poenitz@gmx.net>
10249 * lyxlength.C: inBP should be able to return negative values
10251 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10253 * lyxfunc.C: use lyx_gui::update_fonts()
10255 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10257 * lyxfunc.C: use lyx_gui::update_color()
10259 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10265 * lyxrc.C: remove file->new asks for name option, and let
10266 buffer-new take an argument
10268 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10270 * BufferView_pimpl.C: remove unneeded extra repaint()
10272 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10274 * LyXAction.C: allow command-sequence with NoBuffer
10276 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10278 2002-07-10 Angus Leeming <leeming@lyx.org>
10280 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10282 2002-07-09 Angus Leeming <leeming@lyx.org>
10284 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10286 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10288 * lengthcommon.h: whitespace
10290 * lyxfunc.C: update scrollbar after goto paragraph
10292 * lyxtext.h: factor out page break drawing, and fix it so
10293 page break/added space paints as selected nicely
10295 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10297 * BufferView_pimpl.C: add FIXMEs, clean up a little
10299 2002-07-09 André Pönitz <poenitz@gmx.net>
10301 * lyxfont.[Ch]: support for wasy symbols
10303 2002-07-08 André Pönitz <poenitz@gmx.net>
10305 * BufferView_pimpl.C: apply John's patch for #93.
10307 2002-07-05 Angus Leeming <leeming@lyx.org>
10309 * BufferView_pimpl.C (buffer): generate previews if desired.
10311 * LColor.h: add "preview" to the color enum.
10313 * LColor.C (LColor): add a corresponding entry to the items array.
10315 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10318 2002-07-05 Angus Leeming <leeming@lyx.org>
10320 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10321 The body of the code is now in the method that is passed an ostream &
10322 rather than a file name.
10323 Pass an additional only_preamble parameter, useful for the forthcoming
10326 2002-07-03 André Pönitz <poenitz@gmx.net>
10328 * lyxfunc.C: simplify getStatus() a bit for math stuff
10330 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10332 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10334 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * text.C (changeRegionCase): do not change case of all the
10337 document when region ends at paragraph end (bug #461)
10339 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * paragraph.C (startTeXParParams):
10342 (endTeXParParams): add \protect when necessary
10344 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * BufferView_pimpl.C (workAreaExpose): remove warning
10348 2002-06-27 Angus Leeming <leeming@lyx.org>
10350 * Makefile.am: add lyxlayout_ptr_fwd.h.
10352 2002-06-26 André Pönitz <poenitz@gmx.net>
10354 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10356 2002-06-25 Angus Leeming <leeming@lyx.org>
10358 * lyxfunc.C (dispatch): Comment out the call to
10359 grfx::GCache::changeDisplay. The method no longer exists now that the
10360 pixmap generation part of the graphics loader has been moved into
10363 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * text2.C: layout as layout
10367 * text.C: layout as layout
10369 * tabular.C (OldFormatRead): layout as layout
10371 * paragraph_pimpl.C (TeXDeeper): layout as layout
10372 (realizeFont): layout as layout
10374 * paragraph.C (writeFile): layout as layout
10375 (validate): layout as layout
10376 (getFont): layout as layout
10377 (getLabelFont): layout as layout
10378 (getLayoutFont): layout as layout
10379 (breakParagraph): layout as layout
10380 (stripLeadingSpaces): layout as layout
10381 (getEndLabel): layout as layout
10382 (getMaxDepthAfter): layout as layout
10383 (applyLayout): layout as layout
10384 (TeXOnePar): layout as layout
10385 (simpleTeXOnePar): layout as layout
10386 (TeXEnvironment): layout as layout
10387 (layout): layout as layout
10388 (layout): layout as layout
10390 * lyxtextclass.C (compare_name): new functor to work with
10391 shared_ptr, layout as layout
10392 (Read): layout as layout
10393 (hasLayout): layout as layout
10394 (operator): layout as layout
10395 (delete_layout): layout as layout
10396 (defaultLayout): layout as layout
10398 * lyxlayout_ptr_fwd.h: new file
10400 * lyxlayout.C (Read): layout as layout
10402 * lyx_cb.C (MenuInsertLabel): layout as layout
10404 * bufferlist.C (newFile): layout as layout
10406 * buffer.C (readLyXformat2): layout as layout
10407 (parseSingleLyXformat2Token): layout as layout
10408 (insertStringAsLines): layout as layout
10409 (asciiParagraph): layout as layout
10410 (latexParagraphs): layout as layout
10411 (makeLinuxDocFile): layout as layout
10412 (simpleLinuxDocOnePar): layout as layout
10413 (makeDocBookFile): layout as layout
10414 (simpleDocBookOnePar): layout as layout
10415 (getLists): layout as layout
10417 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10419 * CutAndPaste.C (cutSelection): layout as layout
10420 (pasteSelection): layout as layout
10421 (SwitchLayoutsBetweenClasses): layout as layout
10423 * BufferView_pimpl.C (Dispatch): layout as layout
10424 (smartQuote): layout as layout
10426 * BufferView2.C (unlockInset): layout as layout
10428 2002-06-24 André Pönitz <poenitz@gmx.net>
10430 * lyxfunc.C: fix #487
10432 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10436 * lyxfunc.C: remove display_shortcuts, show_banner
10438 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10440 * Buffer_pimpl.C: oops, update on resize
10442 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10449 * BufferView.C: use repaint()
10451 * BufferView_pimpl.h:
10452 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10453 as it's a clearer description. Remove superfluous
10456 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10458 * text.C: fix bug 488. Not ideal, but getting
10459 getWord() to work properly for the insets that
10460 matter is more difficult ...
10462 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10464 * BufferView_pimpl.C:
10467 * lyxfunc.C: remove the six million index lyxfuncs to just
10468 one, and DTRT (bug 458)
10470 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10474 * BufferView_pimpl.h:
10475 * BufferView_pimpl.C: clean up resize() stuff,
10476 and unnecessary updateScreen()s
10478 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10482 * BufferView_pimpl.h:
10483 * BufferView_pimpl.C:
10486 * minibuffer.C: remove focus management of workarea,
10487 not needed. Use screen's greyOut()
10489 2002-06-17 Herbert Voss <voss@lyx.org>
10491 * converter.C: (convert) do not post a message, when converting
10492 fails, let the calling function decide what to do in this case
10494 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10496 * lyxfunc.C: tidy up a little
10498 2002-06-16 <alstrup@diku.dk>
10500 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10501 Got rid of FORMS_H_LOCATION include. Now we are
10504 2002-06-15 LyX Development team <lyx@rilke>
10506 * buffer.[Ch] (sgmlOpenTag):
10507 (sgmlCloseTag): Added support for avoiding pernicious mixed
10508 content. Return number of lines written.
10510 (makeLinuxDocFile):
10511 (makeDocBookFile): Fixed calls to sgml*Tag.
10512 Simple white space clean.
10514 (simpleDocBookOnePar): Simple white space clean.
10516 * tabular.[Ch] (docBook): Renamed to docbook and got another
10517 argument to related with the pernicious mixed content.
10519 (docbookRow): Fixed calls for docbook inset method.
10521 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10523 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10524 so it's X11 independent.
10528 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10530 2002-06-15 Lyx Development team <lyx@electronia>
10532 * intl.h: Renamed getTrans to getTransManager.
10534 2002-06-14 Angus Leeming <leeming@lyx.org>
10536 * Makefile.am: nuke forgotten stl_string_fwd.h.
10538 2002-06-12 Angus Leeming <leeming@lyx.org>
10540 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10542 2002-06-13 Angus Leeming <leeming@lyx.org>
10545 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10547 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10549 * kbmap.C (getiso): add support for cyrillic and greek
10551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10555 * BufferView_pimpl.h:
10556 * BufferView_pimpl.C: move bogus scrolling logic
10559 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10562 * BufferView_pimpl.C: view->resize() change
10564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10566 * BufferView_pimpl.C: topCursorVisible
10569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10573 * lyx_gui.C: move to frontends/
10577 * lyx_main.C: changes from above
10579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10586 * lyx_main.C: minor tidy
10588 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10590 * BufferView_pimpl.h:
10591 * BufferView_pimpl.C:
10593 * BufferView.C: make painter() const,
10596 * BufferView2.C: use screen() accessor
10599 * lyx_main.C: some minor cleanup
10601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10603 * BufferView_pimpl.h:
10604 * BufferView_pimpl.C: remove enter/leaveView,
10607 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10612 * BufferView_pimpl.h:
10613 * BufferView_pimpl.C: only construct screen once,
10616 * lyxrc.C: remove pointless comment
10618 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10621 * BufferView.C: remove active() and belowMouse()
10623 * BufferView_pimpl.h:
10624 * BufferView_pimpl.C: use workarea() not workarea_,
10625 and make it use a scoped_ptr instead
10627 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10629 * lyx_gui.C: add debug message on BadWindow
10631 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10633 * sp_spell.C: fdopen is not part of the C++ standard.
10635 * paragraph.C (InsetIterator): use >= instead of ==
10637 2002-06-07 Angus Leeming <leeming@lyx.org>
10639 Fixes needed to compile with Compaq cxx 6.5.
10640 * BufferView_pimpl.C:
10647 * lyxtextclasslist.C:
10652 all c-library variables have been moved into namespace std. Wrap
10653 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10658 Add a using std::abs declaration.
10660 * kbmap.h (modifier_pair):
10661 * paragraph.h (InsetTable, InsetList):
10662 * lyxfont.h (FontBits):
10663 type definition made public.
10665 * bufferlist.C (emergencyWriteAll): the compiler complains that
10666 there is more than one possible lyx::class_fun template to choose from.
10667 I re-named the void specialisation as lyx::void_class_fun.
10669 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10671 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10672 the compiler is is unable to find tostr in write_attribute.
10674 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * buffer.C (sgmlError): hide #warning
10678 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * xtl/*: get rid of xtl, which is not in use anyway
10682 * LyXAction.C (init):
10683 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10684 were unimplemented xtl experimentation
10686 2002-06-04 André Pönitz <poenitz@gmx.net>
10688 * lyxfunc.C: disable array operation on simple formulae
10690 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10692 * converter.C: constify a bit
10694 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10696 * lyx_gui.C: check xforms version correctly
10698 2002-04-30 Herbert Voss <voss@lyx.org>
10700 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10703 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10705 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10706 attempt to register it with a VCS)
10708 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * lyx_main.C (init): honor variables LYX_DIR_13x and
10713 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10717 * lyx_main.C: fix a crash on bad command line,
10718 and give a useful exit status on error
10720 * lyxfunc.C (doImport): allow -i lyx to work
10722 2002-03-30 André Pönitz <poenitz@gmx.net>
10724 * lyxfunc.C: mathed font changes
10726 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10741 * trans_mgr.h: srcdocs, and some minor cleanups
10743 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10745 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10746 call getFont all the time)
10748 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10750 * switch from SigC signals to boost::signals
10752 2002-05-29 André Pönitz <poenitz@gmx.net>
10754 * paragraph_pimpl.C (getChar): don't call size() too often...
10756 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * paragraph_pimpl.C (insertChar): do not try to update tables when
10759 appending (pos == size())
10761 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10762 in order to reduce drastically the number of comparisons needed to
10763 parse a large document
10765 2002-05-29 André Pönitz <poenitz@gmx.net>
10771 * textclasslist.[Ch]:
10772 * sp_ispell.h: whitespace change
10774 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10777 lyxaction directly now.
10779 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10783 * lyxvc.C: remove unused headers
10785 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10792 * undo_funcs.C: some cleanups. Use shared_ptr
10793 and a template for the undo stacks.
10795 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10797 * BufferView_pimpl.h:
10798 * BufferView_pimpl.C:
10805 * text2.C: use key_state/mouse_state
10807 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10812 * chset.C: change include order
10813 (loadFile): use boost regex and get rid of LRegex and LSubstring
10815 * Makefile.am (BOOST_LIBS): new variable
10816 (lyx_LDADD): use it
10818 * LaTeX.C: change include order.
10819 (scanAuxFile): use boost regex and get rid of LRegex and
10823 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10828 * FontInfo.C: moved to frontends/xforms/
10831 * FontLoader.C: moved into frontends for GUIIzation
10836 * lyxfunc.C: changes from above
10838 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10840 * LColor.C: remove spurious X include
10842 * BufferView_pimpl.C:
10847 * text2.C: move font metrics to frontends/
10849 2002-05-24 Juergen Vigna <jug@sad.it>
10851 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10852 setting the undo_cursor.
10854 * ParagraphParameters.h: include local includes first.
10856 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10858 * BufferView_pimpl.C:
10859 * BufferView_pimpl.h:
10863 * screen.C: move WorkArea into frontends/
10869 * BufferView2.C: move LyXScreen into frontends/
10873 * lyx_gui.C: move lyxlookup into frontends/xforms/
10875 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10878 * BufferView_pimpl.C:
10888 * bufferview_funcs.C:
10901 * vc-backend.C: move LyX/XFormsView into frontends/
10903 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10915 * text2.C: move Painter to frontends/
10917 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * buffer.C: comment out some some code that depend upon lyx_format
10922 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10923 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10925 * buffer.h (NO_COMPABILITY): turn off compability
10927 * ColorHandler.C: include scoped_array.hpp
10929 * font.C: Use more specific smart_ptr header.
10932 * ShareContainer.h: ditto
10933 * lyx_main.h: ditto
10935 * FontInfo.h: ditto
10936 * BufferView_pimpl.h: ditto
10937 * ColorHandler.h: ditto
10939 * kbmap.C (defkey): change call to shared_ptr::reset
10941 2002-05-21 Juergen Vigna <jug@sad.it>
10943 * buffer.C (insertErtContents): fix to insert ert asis if it is
10944 non empty. Skip it completely if it contains only whitespaces.
10946 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10948 * BufferView_pimpl.C:
10949 * BufferView2.C: clear selection on paste (bug 393)
10951 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * DepTable.C: include ctime
10955 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10957 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10959 2002-05-14 Juergen Vigna <jug@sad.it>
10961 * text.C (breakParagraph): fixed function to honor the keepempty
10962 layout in the right maner and also to permit the right breaking
10963 algorithm on empty or non empyt keepempty paragraphs.
10965 * paragraph.C (breakParagraph): we have to check also if the par
10966 is really empty (!size()) for isempty otherwise we do the wrong
10969 2002-05-10 Juergen Vigna <jug@sad.it>
10971 * buffer.[Ch] : The following are only changes to the ert
10972 compatibility read reading old LaTeX layout and font stuff and
10973 convert it to ERTInsets.
10975 * buffer.h: added isErtInset().
10977 * buffer.C (struct ErtComp): add a fromlayout bool to check
10978 if we're inside a LaTeX layout.
10979 (isErtInset): new helper function.
10980 (insertErtContents): look for other ert insets before this one
10981 and insert the contents there, so that we don't have subsequent
10982 ERT insets with nothing between them. This way we create only one
10983 inset with multiple paragraphs. Also check if we don't insert only
10984 spaces ' ' as they are ignored anyway afterwards in the .tex file
10985 so if we have only spaces we will ignore this latex part in the
10987 (parseSingleLyXformat2Token \\layout): better compatibility when
10988 reading layout-latex stuff.
10989 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10991 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10992 stuff after reading the inset only get the information back from
10995 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10997 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10999 * LaTeXFeatures.C (getBabelOptions): New method.
11001 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * BufferView_pimpl.C (Dispatch): work around missing argument for
11006 2002-05-08 Juergen Vigna <jug@sad.it>
11008 * text.C (leftMargin): handle paragraph leftindent.
11010 * paragraph.C (writeFile): write the new \\leftindent tag.
11011 (validate): handle leftindent code.
11012 (TeXEnvironment): handle paragraphleftindent code again.
11014 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11016 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11017 for paragrap_extra indent code and new token \\leftindent.
11018 (latexParagraphs): handle the leftindent as environment.
11020 * ParameterStruct.h: added leftindent support.
11022 * ParagraphParameters.C (leftIndent): added support functions for
11023 the paragraph left indent.
11025 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11028 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11030 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11033 * text.C (computeBidiTables): No bidi in insetERT.
11035 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11038 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11040 * version.C.in: pre 5
11042 2002-05-02 José Matos <jamatos@fep.up.pt>
11043 * buffer.C (makeDocBookFile): white space changes, add newline to
11045 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11047 * tabular.C (docBook): fix typo.
11049 2002-05-03 Juergen Vigna <jug@sad.it>
11051 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11052 change in LyXText as we can not be sure it was not freed.
11053 (drawOneRow): remove unused code.
11055 * text.C (drawInset): redo the calculation of the need_break_row as
11056 it could have a row which was already freed.
11057 (draw): look at the return value of drawInset and return false if
11058 it also returned false.
11059 (paintRowText): look at the return value of draw and return false if
11060 it also returned false.
11062 * lyxtext.h: added bool return type to drawInset() and draw() so that
11063 if we have a change in the row so that the rowbreak has to be redone
11064 we abort drawing as it will be called again.
11066 2002-05-02 Juergen Vigna <jug@sad.it>
11068 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11069 a change in the maintext also if we're inside an inset.
11070 (Dispatch): set the cursor again after a break line and after the
11071 screen has been updated as it could be we're in a different row.
11073 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11074 to set the cursor behind the pargraph with > size().
11075 (setCursor): check also for the same paragraph when checking where
11076 to put the cursor if we have a NFR inset.
11078 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11079 parts of layout read further up as it still was in the wrong
11082 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * screen.C (drawFromTo): change sine fullRebreak always return
11087 * buffer.C (parseSingleLyXformat2Token): reindent some
11089 * BufferView_pimpl.C (update): change since fullRebreak always
11091 (Dispatch): git rid of the last hardcoded "Standard"s.
11093 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * text2.[Ch] (fullRebreak): make it return void now that we always
11098 2002-04-30 Juergen Vigna <jug@sad.it>
11100 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11101 ert compatibility check for "latex" layout.
11103 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11105 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11106 minipages: use col% instead of p%, and also use the current font.
11107 (makeLaTeXFile): Fix use babel condition.
11108 (parseSingleLyXformat2Token): Correct font when reading old floats.
11110 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11112 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11113 inserting list of floats.
11115 2002-04-25 Herbert Voss <voss@lyx.org>
11117 * MenuBackend.C (expand): don't add the graphics extensions to the
11120 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11123 non-existing layout, do not complain if it was the default layout
11124 of the original class (bug #342)
11126 2002-04-24 Juergen Vigna <jug@sad.it>
11128 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11129 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11131 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11133 * buffer.C (getBibkeyList): If using \bibliography, return the
11134 option field with the reference itself. Enables us to provide natbib
11135 support when using \bibliography.
11137 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11139 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11141 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11142 natbib is provided by the LaTeX class.
11144 2002-04-23 Juergen Vigna <jug@sad.it>
11146 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11149 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11151 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11155 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11156 ensuremath around textordmasculine, textordfeminine and
11159 2002-04-19 Juergen Vigna <jug@sad.it>
11161 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11162 reinitializing the buffer otherwise row-dimensions may be wrong.
11163 (update): reset also the selection cursors if they do exits otherwise
11164 their x/y positions may be wrong.
11166 * text2.C (cursorDown): don't enter the inset if we came from a row
11167 above and are one row over the inset.
11169 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11170 really leaving an inset.
11172 2002-04-18 Juergen Vigna <jug@sad.it>
11174 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11175 of the selected paragraph does not have the selected layout also if
11178 * text2.C (setLayout): fixed bug which did not change last selected
11181 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11182 changed the read and substituted \\end_float with \\end_inset!
11184 * BufferView_pimpl.C (cursorPrevious):
11185 (cursorNext): fixed to make it work with rows heigher than the work
11186 area without moving the cursor only the draw of the row.
11187 (workAreaMotionNotify): fix jumping over high rows.
11189 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11194 2002-04-16 Juergen Vigna <jug@sad.it>
11196 * text2.C (setCursor): set also the irow().
11197 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11199 (cursorDown): support for locking an inset if the x_fix value goes
11200 inside it. That way I can transverse insets too with cursor up/down.
11202 * lyxrow.h: added irow helper function same as other (i) functions.
11204 * BufferView_pimpl.C (cursorPrevious):
11205 (cursorNext): fixed for insets!
11207 2002-04-15 Juergen Vigna <jug@sad.it>
11209 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11210 position otherwise it is wrong in some cases.
11212 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11213 inside the inset before the call.
11215 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11217 * buffer.[Ch] (getBibkeyList): make it const.
11219 2002-04-12 Juergen Vigna <jug@sad.it>
11221 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11223 * text2.C (getCursorX): new helper function
11224 (setCursor): compute also ix_
11225 (setCursorFromCoordinates): set also ix.
11227 * lyxcursor.h: added ix_ and helper functions.
11229 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11231 * buffer.C (insertStringAsLines): dont break paragraph if the this
11232 paragraph is inside an inset which does not permit it!
11234 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11235 also with no chars on this paragraph.
11236 (paintRowText): only paint stuff if it's inside the workarea!
11238 * paragraph.C (breakParagraph): honor keepempty flag and break the
11239 paragraph always below not above.
11241 * BufferView2.C (unlockInset): update the paragraph layout on inset
11242 unlock as we changed paragraph in such a case.
11244 * lyxfind.C (LyXFind): clear the former selection if not found!
11246 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11247 again called in insertChar().
11249 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11250 an inset which uses the whole row!
11251 (rightMargin): ditto.
11252 (insertChar): force a rebreak if we inserted an inset!
11254 2002-03-28 Herbert Voss <voss@lyx.org>
11256 * lyxlength.[Ch]: add inBP() to get the right PS-point
11257 units (BigPoint). With inPixels we have rounding errors
11259 2002-04-11 Juergen Vigna <jug@sad.it>
11261 * text2.C (setCursorFromCoordinates): set iy to the right value.
11262 (setCursor): add check if row->previous exists!
11264 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11265 an old float_type as this was the case in the old code!
11267 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11269 * BufferView2.C (showLockedInsetCursor): use iy
11270 (fitLockedInsetCursor): ditto
11272 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11273 locked insets as there we have the right value now.
11275 * lyxcursor.C: added iy_ variable and iy functions to set to the
11276 baseline of cursor-y of the locked inset.
11278 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11279 (setCursor): fixed for insets which need a full row.
11281 * text.C (rowLastPrintable): don't ignore the last space when before
11282 an inset which needs a full row.
11283 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11284 as last character of a row when before a inset which needs a full row.
11286 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * version.C.in: update date
11290 * text2.C (fullRebreak): try to always return true and see what
11293 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11295 * MenuBackend.C (expand): use Floating::listName
11297 * FloatList.C (FloatList): add listName argument to the built-in
11300 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11301 text associated with the float.
11303 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11307 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * ShareContainer.h: add a couple of missing typenames.
11311 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11313 * lyxrc.C (getDescription): use _() correctly rather than N_().
11315 2002-03-28 Herbert Voss <voss@lyx.org>
11317 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11318 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11320 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11323 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11325 2002-03-29 Juergen Vigna <jug@sad.it>
11327 * lyxfunc.C (dispatch): add a missing fitCursor call.
11329 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11330 it was scrolled by a cursor move, so return the bool status.
11332 * BufferView.C (fitCursor): return the bool flag also to the outside
11333 world as this is needed.
11335 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11337 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11338 call the edit() as it is not needed (and wrong) IMO.
11339 (workAreaButtonPress): set the screen_first variable before evt.
11340 unlock the inset as this may change screen_first and then we have
11341 a wrong y position for the click!
11343 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11345 * MenuBackend.C (expand): another translation that I missed
11347 2002-03-28 Juergen Vigna <jug@sad.it>
11349 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11351 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11353 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11355 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11357 * MenuBackend.C (expand): fix export/view/update when there is no
11360 2002-03-27 Herbert Voss <voss@lyx.org>
11362 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11365 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * bufferview_funcs.C (currentState): only show paragraph number
11368 for is DEVEL_VERSION is set.
11370 * lyxfunc.C (dispatch): put warning in INFO channel
11372 * MenuBackend.C (expand): translate the name of floats
11374 * FloatList.C (FloatList): mark the float names for translation
11376 * converter.C (convert): use LibScriptSearch
11378 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * MenuBackend.C (defaults): fix default menu (we might as well get
11383 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11388 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11390 * lyxvc.C: reorder includes.
11392 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11394 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11397 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11399 * CutAndPaste.C: change layouts earlier on paste
11400 to avoid crashing when calling getFont()
11402 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11404 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11407 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * WorkArea.C: remove 'Pending' debug message.
11411 * most files: ws cleanup
11413 * buffer.[Ch]: ws changes
11415 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11417 2002-03-21 Juergen Vigna <jug@sad.it>
11419 * tabular.C (SetMultiColumn): collapse also the contents of the
11420 cells and set the last border right. Added a Buffer const * param.
11422 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11424 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11427 2002-03-19 Juergen Vigna <jug@sad.it>
11429 * text2.C (clearSelection): reset also xsel_cache.
11431 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11432 where it needs to be called (John tells us to do so too :)
11433 (selectionLost): reset sel_cache.
11435 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11437 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * text2.C (setCursorIntern): put debuging code in INSETS channel
11441 2002-03-19 André Pönitz <poenitz@gmx.net>
11443 * lyxfunc.C: tiny whitespace change
11445 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11447 * ToolbarDefaults.C (init):
11448 * LyXAction.C (init):
11450 * BufferView_pimpl.C (Dispatch):
11451 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11453 2002-03-19 Allan Rae <rae@lyx.org>
11455 * exporter.C (Export): removeAutoInsets before doing anything else.
11456 While I've just introduced a dependency on BufferView this really is
11457 the best place to clean the buffer otherwise you need to cleanup in
11458 a dozen places before calling export or cleanup in a dozen functions
11461 * converter.C (runLaTeX):
11462 (scanLog): Better handling of removeAutoInsets and screen updates.
11464 * lyxfunc.C (dispatch): small whitespace changes
11466 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * WorkArea.C (C_WorkAreaEvent): return a value.
11469 (event_cb): return 1 if we handled the event, 0 otherwise.
11471 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11473 2002-03-18 Juergen Vigna <jug@sad.it>
11475 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11476 (GetAdditionalWidth): ditto.
11477 (RightLine): ditto.
11480 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11481 inset if we're there actually (probably not used right now but this
11482 is the direction to go for unifying code).
11483 (paste): disable code to clear the selection.
11485 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11486 inside an InsetText and move the check further up as it is in the
11489 * text2.C (pasteSelection): set a selection over the pasted text.
11491 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11493 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11494 and libgraphics to build on Cygwin.
11496 2002-03-15 Juergen Vigna <jug@sad.it>
11498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11499 inserting an Inset into the paragraph. I know this is not the best
11500 fix but we already use current_view in CutAndPaste so we will remove
11501 all of it's using at the same time.
11503 * buffer.C (sgmlError): deactivated function till it is rewritten in
11504 the right mode, now it can create problems.
11506 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11507 before accessing it.
11509 2002-03-14 Juergen Vigna <jug@sad.it>
11511 * undo_funcs.C (textHandleUndo): do the right thing when updating
11512 the inset after the undo/redo.
11514 * text2.C (setCursor): just some testcode for #44 not ready yet.
11516 * undo_funcs.C (textHandleUndo): set the next() and previous()
11517 pointers of the paragraph to 0 before deleting otherwise we have
11518 problems with the Paragraph::[destructor].
11520 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11521 on a paragraph insertion.
11523 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * buffer.C (asciiParagraph): use += operator for char append to
11528 * paragraph.C (getFontSettings): compare >= not just >
11529 (highestFontInRange): ditto
11532 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * paragraph.C: change several algorithm to be more appripriate for
11535 the problem domain. This is lookip in FontList and in the InsetList.
11537 2002-03-13 André Pönitz <poenitz@gmx.net>
11540 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11542 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11547 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11549 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * Painter.C (display): anon helper function, adjust code for this
11553 (pixmap): remove function.
11555 * Painter.h: remove private display variable.
11557 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11559 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11561 * WorkArea.[Ch]: remove figinset_canvas cruft.
11563 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * lyxtextclass.C (operator): add one item cache optimization.
11567 * bufferlist.h: doxy changes
11569 * bufferlist.C: ws changes
11571 * DepTable.[Ch] (ext_exist): place const in the right spot.
11573 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11575 (workAreaExpose): call resizeInsets when the with BufferView changes.
11576 (Dispatch): adjust for protectedBlank removal
11577 (specialChar): call updateInset if the insert went ok.
11579 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11580 specialChar instead.
11582 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11584 * BufferView.h: doxy change
11586 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11588 * lyxtextclass.C (operator[]): remove non-const version
11589 (defaultLayout): remove non-const version
11591 2002-03-12 Juergen Vigna <jug@sad.it>
11593 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11594 did resize the LyXText too.
11596 * buffer.C (readLyXformat2): set layout information on newly allocated
11599 * tabular.C (OldFormatRead): set layout information on the paragraph.
11601 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11603 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11605 2002-03-11 Juergen Vigna <jug@sad.it>
11607 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11609 (resizeCurrentBuffer): force also the insets to resize themselfes.
11610 (moveCursorUpdate): fixed up for InsetText.
11612 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11615 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11616 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11617 value of Dialogs::tooltipsEnabled().
11618 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11620 2002-03-08 Juergen Vigna <jug@sad.it>
11622 * BufferView_pimpl.C (updateInset): update inset inside inset also
11623 if it isn't inside theLockingInset().
11625 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11627 * buffer.C (asciiParagraph): redo some of the word and line length
11629 (getLists): look for Caption instead of caption.
11631 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * buffer.C (Buffer): initialize niceFile to true
11635 (makeLinuxDocFile):
11636 (makeDocBookFile): make sure niceFile is true on exit
11638 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11642 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11644 * LyXSendto.C: remove.
11645 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11646 * lyx_gui.C: remove now-redundant comment.
11647 * ColorHandler.h: remove forward declaration of class WorkArea.
11648 * lyxfunc.C: remove #include "WorkArea.h".
11650 2002-03-07 Juergen Vigna <jug@sad.it>
11652 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11653 got moved away with the DEPM and also set the inset_owner always
11654 right which before could have been omitted.
11656 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11658 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11659 wanted layout is not found.
11661 2002-03-07 Juergen Vigna <jug@sad.it>
11663 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11665 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * paragraph.C (breakParagraph): use default layout not layout of
11669 (Paragraph): clear ParagraphParameters.
11671 2002-03-06 Juergen Vigna <jug@sad.it>
11673 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11674 otherwise it would not be a valid lenght. Fixed a special case in
11675 the minipage compatibility read where we end the document with a
11678 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11679 was set as it could be 0 for InsetTexts first entry.
11681 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * paragraph.C (writeFile): if layout is empty write out
11684 defaultLayoutName().
11686 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11687 file without named layout we set layout to defaultLayoutName().
11689 2002-03-06 Juergen Vigna <jug@sad.it>
11691 * CutAndPaste.C (copySelection): set layout for new paragraph.
11693 * text.C (prepareToPrint): leave ERT inset left aligned
11694 (leftMargin): don't indent paragraphs inside ERT insets
11696 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * paragraph.C (breakParagraph): dont call clear do the work manually
11700 * paragraph.[Ch] (clear): remove function
11702 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * paragraph.C (Paragraph): dont call clear, the work has already
11707 * lyxtextclass.C (operator): assert if n is empty
11709 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11710 work manually instead.
11712 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.C: protect selectionLost against text == 0
11716 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11718 * text.C (breakParagraph): fix a setting layout to '0' problem.
11720 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11722 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11723 final location of file, for the included files, and graphics.
11725 2002-03-05 Juergen Vigna <jug@sad.it>
11727 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11729 2002-03-04 Juergen Vigna <jug@sad.it>
11731 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11733 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11734 last column of multicolumn cells.
11735 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11737 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11739 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11740 file if it doesn't go to a temporary file.
11742 * buffer.C (sgmlOpenTag):
11743 (sgmlCloseTag): remove extra newline insertion.
11745 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * text.C (getRowNearY): comment out debug msg
11749 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * text2.C: first -> first_y
11753 * text.C (getRowNearY): add some attemts at a possible
11754 optimization, not working.
11756 * tabular.[Ch]: add BufferParams to several function so that newly
11757 created paragraph can be initialized to he default layotu for the
11760 * tabular-old.C (ReadOld): add buf->params to call of Init
11762 * screen.C: rename text->first to text->first_y
11764 * paragraph.C (breakParagraph): always set layout in the broken
11767 * lyxtextclass.C (Read): remove lowercase
11770 (delete_layout): ditto
11772 * lyxtext.h: rename first -> first_y
11774 * lyxlayout.C (Read): remove lowercase
11777 (obsoleted_by): ditto
11779 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11781 * buffer.C (insertErtContents): add params are to InsetERT
11782 (parseSingleLyXformat2Token): add code to check if a paragraphs
11783 layout really exist.
11784 (parseSingleLyXformat2Token): add params to several inset
11786 (asciiParagraph): remove lowercase, do the layout comparisons with
11789 * BufferView_pimpl.C (cursorNext): first -> first_y
11790 (resizeCurrentBuffer): first -> first_y
11791 (updateScrollbar): first -> first_y
11792 (scrollCB): first -> first_y
11793 (workAreaMotionNotify): first -> first_y
11794 (workAreaButtonPress): first -> first_y
11795 (checkInsetHit): first -> first_y
11796 (cursorPrevious): first -> first_y
11797 (cursorNext): first -> first_y
11798 (Dispatch): add buffer_->params to severl inset contructors
11800 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11802 * lyxlayout.C (Read): remove some debug info that I forgot.
11804 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11805 clean up the code slightly.
11806 (makeLinuxDocFile): ditto
11807 (makeDocBookFile): ditto
11809 * text2.C: layout as string
11811 * text.C: layout as string
11813 * paragraph_pimpl.C: layout as string
11815 * paragraph.[Ch]: layout as string
11817 * lyxtextclasslist.[Ch]: layout as string
11819 * lyxtextclass.[Ch]: layout as string
11821 * lyxtext.h: layout as string
11823 * lyxlayout.[Ch]: layout as string
11825 * lyx_cb.C: layout as string
11827 * bufferview_funcs.C: layout as string
11829 * bufferparams.C: layout as string
11831 * buffer.C: layout as string
11833 * LyXView.[Ch]: layout as string
11835 * LaTeXFeatures.[Ch]: layout as string
11837 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11839 * BufferView_pimpl.C: change current_layout to string, remove
11844 (workAreaButtonRelease): layout as string
11846 * BufferView2.C (unlockInset): adjust
11848 * vspace.C (asLatexCommand): use an explict temp variable.
11850 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11852 * Makefile.am: use FRONTEND_*
11854 2002-03-01 Juergen Vigna <jug@sad.it>
11856 * tabular.C (SetWidthOfMulticolCell): changed to something better
11857 I hope but still work in progress.
11858 (recalculateMulticolumnsOfColumn): renamed function from
11859 recalculateMulticolCells as it is more appropriate now.
11860 (SetWidthOfCell): calculate multicols better.
11862 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11866 * lyxfunc.C (processKeySym): print sequence also if it is
11867 `deleted' (complete)
11869 * kbsequence.C (print): print sequence even if it is deleted
11870 (complete would be a better word, actually).
11872 * lyxfunc.C (dispatch): print complete options after a prefix key
11874 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11876 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11878 * text2.C (setCharFont): eliminate setCharFont code duplication.
11880 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11882 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11883 LFUN_TABULAR_FEATURE (bug #177)
11885 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11887 * Makefile.am: remove figure.h
11889 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11891 * Bufferview_pimpl.C:
11903 * text2.C: remove #include "lyx_gui_misc.h".
11905 * LaTeX.C: added #include <cstdio>
11907 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11910 that the paragraph following this one can have.
11912 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11914 * vspace.C (asLatexCommand): fix bogus gcc warning
11916 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11918 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11920 * text2.C (setLayout): get rid of redundant code
11922 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11924 * text2.C (incDepth): make sure depth cannot be increased beyond
11927 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11929 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11930 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11932 * PainterBase.h (image):
11933 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11934 a LyXImage const *.
11936 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11940 * BufferView_pimpl.C:
11941 * BufferView_pimpl.h:
11961 * sp_spell.C: remove fig inset, and the crap house of
11962 cards that follows it
11964 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11969 * os2_errortable.h:
11970 * nt_defines.h: move .h into support/
11972 * vms_defines.h: remove
11974 * WorkArea.C: add space in debug output
11978 * buffer.C: add WITH_WARNINGS
11982 * bufferlist.C: s/retrive/retrieve/, add docs
11991 * chset.C: add docs
11993 * lyxgui.C: add ID to X error handler
11995 * lyxtestclass.c: fix typo
11997 2002-02-26 Juergen Vigna <jug@sad.it>
11999 * tabular_funcs.C (write_attribute): changed so that some default
12000 attributes are not written at all.
12001 (getTokenValue): set default values before trying to read the
12002 value so we have the return value always set as default if we don't
12003 find the token we search for.
12005 * tabular.C (Write): write bools as bools not as strings!
12007 2002-02-22 Juergen Vigna <jug@sad.it>
12009 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12010 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12012 * text.C (leftMargin): don't add an indent for paragraphs inside
12013 tabular cells (fix #208).
12015 2002-02-21 José Matos <jamatos@fep.up.pt>
12017 * tabular.C (docBook): fixed support for long tables.
12019 2002-02-20 Juergen Vigna <jug@sad.it>
12021 * text2.C (getFont): get the drawing font of the Inset if this
12022 paragraph is inside an inset (only important for InsetERT for now).
12024 * buffer.C (insertErtContents): use new lanugage params in ERT
12027 * CutAndPaste.C: commenting out seemingly uneeded code.
12029 2002-02-19 Allan Rae <rae@lyx.org>
12031 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12032 Iterators might be simple to use but they also get invalidated.
12033 (removeAutoInsets): renamed saved cursor tracking variables and added
12034 some comments to clarify what everything does.
12036 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12043 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12044 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12047 * vc-backend.h: remove #include "support/syscall.h"
12051 * converter.C: rearrange #includes in Lars' approved fashion.
12053 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12054 forward declare class Timeout in the header file.
12056 * XFormsView.C: changes due to the above.
12058 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12059 similar to LyXView.
12061 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12062 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12064 2002-02-18 José Matos <jamatos@fep.up.pt>
12066 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12069 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12071 * a lot of small ws changes
12072 * add a lot of using std::XXX
12073 * use std construcs some places where approp.
12074 * use some exisint stuff from lyxfunctional where approp.
12075 * Make file changes to use partial linking (lets test this now...)
12077 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12081 remove #include "support/syscontr.h" as it's redundant. Always has been.
12089 change Systemcalls::System to Systemcalls::Wait and
12090 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12091 No change of functionality, just reflects the stripped down Systemcalls
12094 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12096 * debug.[Ch]: add a GRAPHICS type to the enum.
12098 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12102 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12105 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12107 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12108 match the changes below.
12110 * text2.C (toggleInset): if there is not editable inset at cursor
12111 position, try to see if cursor is _inside_ a collapsable inset
12114 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12117 document menu has a nice checkbox
12119 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * lyxlength.C (asLatexString): change PW to output as percent of
12124 * lengthcommon.C: change '%' to 't%'
12126 * lyxfunc.C (dispatch): a few comments from Martin
12128 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12132 * BufferView_pimpl.h:
12133 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12136 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * vspace.C (inPixels): fix compiler warning
12140 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12142 * lyxfunc.C (getStatus): fix status message for disabled commands.
12144 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12146 * BufferView_pimpl.C: fix crash on close buffer
12147 during selection (#227)
12149 2002-01-27 Herbert Voss <voss@lyx.org>
12151 * buffer.C: link old Figure to new graphic inset
12153 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12155 * FontLoader.C (getFontinfo): Change the latex font names in order
12156 to match the names of type1inst.
12158 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12162 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12163 (extchanged): ditto
12165 (remove_files_with_extension): ditto
12166 (remove_file): ditto
12169 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12170 document is smaller than the work area height. Do not initialize
12171 static variables to 0.
12173 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12175 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12177 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12178 LFUN_LAYOUT_PARAGRAPHS.
12180 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12181 tabular. It is possible to provide a possible cell, which will
12182 typically be the actcell from the corresponding insettabular
12184 * lyxfunc.C (getStatus): small cleanup; disable
12185 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12188 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12192 * paragraph.C (startTeXParParams):
12193 (endTeXParParams): new methods. The LaTeX code to
12194 start/end paragraph formatting
12195 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12196 empty (fixes bug #200)
12198 * vspace.C (inPixels): adapt to the change below
12199 (inPixels): [later] more cleanups (remove unused variables)
12201 * lyxlength.C (inPixels): change to use a width and a height as
12204 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12206 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12207 Replaced with \paperwidth
12209 * DepTable.C (insert): add std:: qualifier
12211 2002-01-18 Allan Rae <rae@lyx.org>
12213 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12216 * text.C (drawInset): Turned out I didn't know enough about how
12217 rebreaking worked. This fixes most of the redraw problems. I see
12218 an occasional cursor trail when a line is broken now and the cursor
12219 placement can seem out by a few pixels also after a rebreak.
12221 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12223 * buffer.C (parseSingleLyXformat2Token): update because minipage
12224 width is now a LyXLength
12226 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12228 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12231 2002-01-17 Juergen Vigna <jug@sad.it>
12233 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12235 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12236 is set correctly and the inset is updated correctly.
12238 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12240 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12241 the beginning of the loop.
12243 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxrc.C: improve help for use_scalable_fonts
12247 2002-01-17 Allan Rae <rae@lyx.org>
12249 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12251 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12253 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12254 make sure to set their inset_owner to the right value (bug #171)
12256 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12259 * DepTable.C: Implement mtime checking to reduce time spent doing
12262 2002-01-16 Juergen Vigna <jug@sad.it>
12264 * tabular.C (GetAdditionalHeight): one of error fixed.
12266 * lyxrc.C (output): small fix in writing use_pspell.
12268 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12270 * sp_base.h: #include LString.h
12272 2002-01-16 Allan Rae <rae@lyx.org>
12274 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12275 Can someone check this please?
12277 * text.C (drawInset): It was possible that p.row would be removed by
12278 breakAgainOneRow upsetting a few other settings. There may be another
12279 small tweak possible by setting need_break_row = 0 when p.row has been
12280 removed but I don't know enough about the logic here.
12282 2002-01-15 Allan Rae <rae@lyx.org>
12284 * text.C (insertChar): removed conditional truism.
12286 * BufferView2.C (removeAutoInsets): More tweaks.
12287 cur_par_prev could be a stray pointer. Check for trailing empty line
12288 in case last line was cur_par and only had an error inset on it.
12290 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12292 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12295 * vc-backend.C (most methods):
12296 * exporter.C (Export):
12297 * converter.C (convert):
12299 * LyXSendto.C (SendtoApplyCB):
12300 * lyxfunc.C (dispatch):
12304 * lyx_cb.C (AutoSave):
12306 * BufferView_pimpl.C (MenuInsertLyXFile):
12307 * buffer.C (runChktex): use Buffer::filePath().
12309 * buffer.h: rename filename to filename_; rename filepath to
12310 filepath_ and make it private
12311 (filePath): new method
12313 * buffer.C (writeFile): use fileName()
12316 * lyx_main.C (init): fix starting of LyX when the binary is a
12317 link from so,ewhere else.
12319 * minibuffer.C: include <cctype> for isprint
12321 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12323 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12324 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12325 name clash with InsetCollapsable's width function.
12327 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * lastfiles.C: include <iterator>
12331 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12333 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12336 * buffer.C (makeLaTeXFile): ditto.
12337 Also make loop operation more transparent.
12339 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12341 * ToolbarDefaults.C: remove trailing comma closing namespace.
12343 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12345 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12348 * trans.C (Load): comment out unused variable, allowed.
12350 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12352 * minibuffer.[Ch] (append_char): new method to recieve input from the
12353 drop-down completion browser. If a key was pressed, then recieve this
12354 char and append it to the existing string.
12355 (peek_event): modify the positioning data passed to the completion
12356 browser so that it can be placed above the minibuffer rather than below.
12357 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * LyXAction.C (init): alloe error-next for readonly documents.
12361 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12364 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * bufferlist.C (readFile): create the buffer _after_ checking that
12369 * lyxfunc.C (verboseDispatch): fix handling of arguments
12371 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12373 * lyxrc.C: use string::erase() instead of initializing to "".
12376 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12378 * BufferView_pimpl.h:
12379 * BufferView_pimpl.C:
12382 * text2.C: tell X when we have made a selection for copying
12384 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * BufferView_pimpl.C (MenuInsertLyXFile):
12387 * lyxfunc.C (menuNew):
12389 (doImport): add shortcuts to directory buttons
12391 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12394 * lyxfunc.C (setStatusMessage):
12395 (getStatusMessage): new methods
12396 (getStatus):use setStatusMessage instead of setErrorMessage
12397 (dispatch): when function is disabled, set error message here
12398 [instead of in getStatus previously]
12400 * BufferView_pimpl.C (workAreaButtonRelease): update
12401 toolbar/menubar here too.
12403 2002-01-13 Allan Rae <rae@lyx.org>
12405 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12406 Now seems indestructible. Remaining task is to audit all other
12407 code affected by deleteEmptyParagraphMechanism. One small quirk
12408 left is that an empty document with an error in the preamble can
12409 be made to report an error but no error box appears. I don't know
12411 (removeAutoInsets): Improved comments.
12413 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12416 * Thesaurus.C: update for Aiksaurus 0.14
12418 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12420 * text2.C (firstParagraph): removed member function, all uses
12421 replaces with ownerParagraph
12422 (redoParagraphs): here
12423 (updateInset): here
12424 (toggleAppendix): here
12425 * BufferView2.C (insertErrors): here
12426 (setCursorFromRow): here
12428 2002-01-13 Allan Rae <rae@lyx.org>
12430 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12431 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12432 There is still a way to segfault this although you may have to do this
12433 multiple times: Have an InsetERT with an unknown command in it.
12434 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12435 <down-arrow>, <Enter> again, View->DVI, BANG!
12437 * text2.C (setCursor):
12438 (deleteEmptyParagraphMechanism):
12439 * lyxtext.h (setCursor):
12440 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12441 Making use of the return value may help fix other bugs.
12443 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12445 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12447 * LyXView.C (updateMenubar): call MenuBar::update here
12448 (updateToolbar): but not here
12449 (showState): do not update toolbar/menubar
12451 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12452 should need to care about that.
12454 * lyxfunc.C (verboseDispatch): simplify a bit
12455 (getStatus): have a version which takes a pseudoaction, and
12456 another which requires a (kb_action,string).
12458 * LyXAction.C (retrieveActionArg): make it work also when action
12459 is not a pseudo-action.
12460 (getActionName): simplify a bit
12463 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * lyxfunc.C (verboseDispatch): new families of methods with
12466 several ways to specify a command and a bool to indicate whether
12467 the command name and shortcut should be displayed in minibuffer
12468 (eventually, we could extend that to a finer bitmask like
12469 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12470 (dispatch): the pristine dispatch command which just, well,
12471 dispatchs! Note it still sets its result to minibuffer; I'm not
12474 * lyxfunc.h: remove setHintMessage
12476 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12478 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * BufferView_pimpl.C (specialChar): delete new inset if we have
12481 not been able to insert it.
12483 * kbmap.C: revert to using int instead of kb_action, since all we
12484 are dealing with is pseudo-actions.
12486 * LyXAction.C (searchActionArg): change to return int instead of
12487 kb_action, since the result is a pseudoaction.
12489 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12491 * buffer.C (insertErtContents): Fix (partially) the font bug.
12493 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12495 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12496 as the other one is broken on my machine!
12498 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12501 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12503 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12505 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12506 reflect their actual use. Provide compatibility code for older lyxrc
12509 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12511 change names of popup font variables in line with the changes to lyxrc.C
12513 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * buffer.C (asciiParagraph): avoid outputing a word twice after
12518 * lyxrc.C (getDescription): document that document_path and
12519 template_path can be empty.
12521 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * LaTeXFeatures.C (getMacros):
12524 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12526 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12528 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12530 (getPackages): rename feature "floats" to "float". Use an array to
12531 iterate over 'simple' features (i.e. just a \usepackage). Add
12532 handling of "amsmath" (renamed from "amsstyle").
12534 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12536 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12539 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12541 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12542 FuncStaus::FuncStatus & FuncStaus::some_method().
12544 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12546 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12547 of the func_satus stuff. Edited and massaged in various ways by
12550 * lyxfunc.C (getStatus): use FuncStatus
12552 2002-01-08 Juergen Vigna <jug@sad.it>
12554 * text.C (nextBreakPoint): use function Inset::isChar().
12556 * paragraph.C (TeXOnePar): use function
12557 Inset::forceDefaultParagraphs.
12559 * buffer.C (latexParagraphs): use function
12560 Inset::forceDefaultParagraphs.
12562 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12564 * lyx_gui.C (init): set the style of the menu popups to
12565 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12567 2002-01-07 Juergen Vigna <jug@sad.it>
12569 * text.C (setHeightOfRow): small fix
12570 (prepareToPrint): don't look at alignment if we don't have the place
12573 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12575 * box.C: New file. Move the Box methods and functions out of box.h,
12576 following Lars' suggestion.
12578 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12580 * box.h: #include "support/LOstream.h", needed for inlined function.
12583 * lyxtextclasslist.C: added some using std declarations.
12585 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12587 * box.h: make signed dimensions to allow insets wider than
12588 the screen (bug #162)
12590 * BufferView_pimpl.C: add some insetHit debug
12592 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12594 * vc-backend.C: add FIXME
12596 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * lyxfunc.C (getStatus): enable code for showing math font status
12601 2002-01-07 Juergen Vigna <jug@sad.it>
12603 * text.C (nextBreakPoint): removed debug output not needed anymore.
12605 2002-01-06 Juergen Vigna <jug@sad.it>
12607 * text.C (nextBreakPoint): fixed up this function we had this bug
12608 since ever but now hopefully we break row better.
12609 (insertChar): we have to check if an inset is the next char as it
12610 could now happen that a large inset is causing a break.
12612 2002-01-05 Juergen Vigna <jug@sad.it>
12614 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12615 if it doesn't like to be drawed.
12617 2002-01-04 Juergen Vigna <jug@sad.it>
12619 * BufferView2.C (lockInset): forgot to set a cursor.
12621 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12623 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12625 * FormMathsPanel.C:
12628 * form_maths_panel.C:
12629 * form_maths_panel.h:
12630 * form_maths_panel.fd: implemented sub- and super- buttons in math
12633 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12634 (or ^ space) to be used as in TeX (req'd by André).
12636 * lyxfunc.C: Allow ^ and _ again to be used both as
12637 super/subscript (mathed) and as themselves (in text).
12639 2002-01-03 Allan Rae <rae@lyx.org>
12641 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12642 "LyX" or the filename of the current buffer if it has one. This is a
12643 modified form of John Levon's patch.
12645 * XFormsView.C (setWindowTitle): also set icon title.
12647 * LyXView.h (setWindowTitle): signature changed.
12648 * XFormsView.h (setWindowTitle): ditto.
12650 2002-01-02 Juergen Vigna <jug@sad.it>
12652 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12654 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * screen.C (topCursorVisible): introduce a temp var for
12657 text->cursor.row(), handle the case where this row is null. (kindo
12660 * text2.C (setCursor): add a couple of asserts.
12662 * paragraph.h (inset_iterator): add -> operator
12664 * paragraph.[Ch] (autoDeleteInsets): remove member function
12666 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12667 cursor pos correctly and handle inset deletion by itself.
12668 (insertErrors): move iterator declaration out of for expression
12670 * lyxtextclass.C: add <algorithm>
12672 * Makefile.am: added the new files to sources, removed layout.C
12674 * layout.C: removed file
12676 * layout.h: remove LYX_DUMMY_LAYOUT
12678 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12682 * lyxtextclass.[Ch]:
12683 * lyxtextclasslist.[Ch]: new files
12685 * include order changes to a lot of files, also changes because of
12688 2001-12-27 Juergen Vigna <jug@sad.it>
12690 * buffer.C (asciiParagraph): more fixes.
12692 * tabular.C (ascii): make ascii export support export of only the
12693 data separated by a column-delimiter.
12694 (ascii): better support for ascii export.
12696 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12698 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * tabular_funcs.C: use a "using std::getline" instead of the
12701 previous fix from Angus (necessary for cxx + lyxstring)
12703 2001-12-24 Juergen Vigna <jug@sad.it>
12705 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12707 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12708 problems. First check a minipage also if we have some ert-contents
12709 (not only on par->size(), second set the right depth of the paragraph
12710 on the relink to the root-paragraph-list!
12712 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12713 which then did not anymore update the main paragraphs on undo/redo!
12715 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12717 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12718 code. Support all font-changing funcs (even those which are not in
12719 menu currently). Support for reporting font settings in
12720 mathed (disabled until Andre provides a function on mathed's side).
12722 * func_status.h (toggle): small helper function to set toggle
12725 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12727 * tabular_funcs.C: getline -> std::getline
12729 2001-12-21 Juergen Vigna <jug@sad.it>
12731 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12732 accessed and could be 0 (I couldn't generate this but it seems
12735 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12738 * tabular_funcs.h: here and include iosfwd
12740 2001-12-20 Juergen Vigna <jug@sad.it>
12742 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12743 inside inset but undo_par was.
12745 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12747 * Thesaurus.C: always include <config.h> in sources.
12751 * box.h: do not include <config.h> in header files
12753 * text.C (paintLastRow): remove unused variable
12755 * text.C (transformChar):
12757 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12759 * Painter.C (text):
12760 * font.C (width): rewrite to use uppercase() instead of
12763 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12765 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12767 * lyxfind.C: clean up of find failure position change
12769 2001-12-20 Juergen Vigna <jug@sad.it>
12771 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12773 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12774 (TeXRow): added to LaTeX a single tabular row.
12775 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12776 (Latex): simplified and finally good LT-h/f support.
12777 (various_functions): just small adaptions for LT-h/f support.
12779 * tabular_funcs.[hC]: added and moved here all not classfunctions
12782 2001-12-19 Juergen Vigna <jug@sad.it>
12784 * tabular.[Ch]: better support for longtabular options (not finished
12787 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12789 * text.C (paintLastRow): use the label font instead of the font of
12790 the last character to compute the size of *_BOX. This makes more
12791 sense and avoids a crash with empty paragraphs.
12792 Use Painter::rectangle to draw EMPTY_BOX.
12794 2001-12-19 Juergen Vigna <jug@sad.it>
12796 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12797 the paragraphs if the replaced paragraph is not the first one!
12798 Tried to delete not used paragraphs but does not work yet so for
12799 now it's inside #ifdef's and by default off!
12801 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12803 * MenuBackend.C: include "lyx_main.h" instead of declaring
12804 lastfiles (actually was declared as LastFiles* instead of a
12807 2001-12-17 Juergen Vigna <jug@sad.it>
12809 * tabular.C (AppendColumn): applied John's fix
12811 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12815 * BufferView_pimpl.h:
12816 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12819 * box.h: new start of class for above
12821 * lyxfunc.C: ignore space-only minibuffer dispatches.
12822 Show the command name when it doesn't exist
12824 * minibuffer.C: don't add empty lines to the history
12826 * minibuffer.C: add a space on dropdown completion
12828 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12830 * text.C: fix line above/below drawing in insets
12832 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * lyxlength.C (LyXLength): Initialize private variables.
12836 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12838 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12839 when inserting error insets.
12841 2001-12-13 Juergen Vigna <jug@sad.it>
12843 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12844 actually sometimes the before-paragraph.
12845 (setUndo): don't clear the redostack if we're not actually undoing!
12847 2001-12-06 Juergen Vigna <jug@sad.it>
12849 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12850 and fixed redoing of main paragraph, so we can use it now ;)
12852 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12854 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12856 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12859 2001-12-13 André Pönitz <poenitz@gmx.net>
12862 * undo_func.C: minor cleanup
12864 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12866 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12867 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12868 font in urw-fonts package which is marked as -urw-fontspecific and
12869 does not work (incidentally, changing the encoding in the
12870 fonts.dir of this package to -adobe-fontspecific fixes the
12873 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12874 is a crash when undoing first paragraph (Juergen, please take a
12875 look). THis does not mean the undo fix is wrong, just that it
12878 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12879 the (Paragraph*) version when needed instead of duplicating the
12882 * text.C (workWidth): use Inset::parOwner to find out where the
12883 inset has been inserted. This is a huge performance gain for large
12884 documents with lots of insets. If Inset::parOwner is not set, fall
12885 back on the brute force method
12887 * paragraph_pimpl.C (insertInset):
12888 * paragraph.C (Paragraph):
12889 (cutIntoMinibuffer): set parOwner of insets when
12890 inserting/removing them
12892 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12894 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12900 * mathed/formulabase.C:
12901 * mathed/math_cursor.[Ch]:
12902 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12905 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * lyxlength.[Ch] (operator!=): new function
12909 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * text.C (workWidth): use Inset::parOwner to find out where the
12912 inset has been inserted. This is a huge performance gain for large
12913 documents with lots of insets. If Inset::parOwner is not set, fall
12914 back on the brute force method
12916 * paragraph_pimpl.C (insertInset):
12917 * paragraph.C (Paragraph):
12918 (cutIntoMinibuffer): set parOwner of insets when
12919 inserting/removing them
12921 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12923 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12925 * tabular-old.C (getTokenValue):
12926 * tabular.C (getTokenValue):
12927 (write_attribute): new versions for LyXLength
12928 (everywhere): adjust the use of widths
12930 * tabular.h: change the type of widths from string to LyXLength
12932 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12934 * paragraph.C: fixed missing line number count when exporting
12935 Environments to LaTeX file
12937 * buffer.C: added informational message for checking line numbers.
12939 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12941 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12942 paragraph, do the 'double space' part, but not the 'empty
12945 * text.C (workWidth): small optimization
12946 (getLengthMarkerHeight): use minimal size for negative lengths.
12948 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12950 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12952 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12954 2001-12-11 André Pönitz <poenitz@gmx.net>
12957 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12959 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12961 * text2.C: keep selection on a setFont()
12963 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12965 * lyx_cb.C: another bv->text misuse, from insert label
12967 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12970 * kbsequence.C: re-instate nmodifier mask
12972 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12974 * lyx_main.h: make lyxGUI private.
12976 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12978 * lyxfind.C: place the cursor correctly on failed search
12980 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * text.C (getLengthMarkerHeight): for small heights, the arrows
12983 are not always on top/bottom of the text
12984 (drawLengthMarker): smaller arrows; take the left margin in
12985 account; draw also vfills.
12987 (paintLastRow): remove special code for vfill and standard spaces,
12988 since everything is handled in drawLengthMarker now.
12990 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * buffer.C (insertErtContents): try to handle font and language
12993 interaction a bit better.g
12995 * ColorHandler.C (updateColor): change the hash to cover the whole
12996 LColor enum, ws cleanup
12997 (getGCLinepars): ditto
12998 (getGCLinepars): only lookup in the linecache once.
13000 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13002 * iterators.C (operator++): Make the iterator more robust
13004 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13006 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13008 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13011 * text.C: better added space drawing
13013 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13016 * BufferView2.C: fix layout combo update on inset unlock
13018 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13020 * Makefile.am: don't compile unused files
13022 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13026 * LyXAction.C: remove old LFUN_LAYOUTNO
13028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13030 * paragraph_pimpl.h:
13031 * paragraph_pimpl.C: isTextAt() doesn't need font param
13033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13036 * lyxlex.C: little cleanup
13038 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13040 * BufferView_pimpl.C: fix insertAscii for insets
13042 2001-12-05 Juergen Vigna <jug@sad.it>
13044 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13045 set the right font on the "multi" paragraph paste!
13047 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13053 * lyxlength.C: remove out-commented code.
13055 * BufferView_pimpl:
13069 * vc-backend.C: change "while(" to "while ("
13071 * lyxlength.[Ch]: add zero function to check if length is zero or
13073 * lyxgluelength.C: use it
13075 2001-12-05 Allan Rae <rae@lyx.org>
13077 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13078 Works for 2.95.3, from what I understand of Garst's reports this should
13079 work for other g++ versions. We're screwed if the abs(int) definition
13080 changed between bugfix releases of gcc.
13082 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13084 * text.C: fix chapter label offset !
13086 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13089 * text.C: fix hfill at end of line, clean up
13091 2001-12-04 Juergen Vigna <jug@sad.it>
13093 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13094 that we force an update of the inset and it's owners if neccessary.
13096 2001-12-03 Juergen Vigna <jug@sad.it>
13098 * text.C (rowLast): simplified code
13100 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13102 * lyxfunc.C: fix show options on timeout
13104 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * screen.C (topCursorVisible): scroll half a page when the cursor
13107 reached top of bottom of screen
13109 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13111 * minibuffer.C: deactivate on loss of focus
13113 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * vspace.[Ch] (operator!=): add operator.
13117 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13119 * BufferView_pimpl.C: refuse to open an inset when
13120 there's a selection.
13122 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13124 * BufferView_pimpl.C: allow to click on RHS of full row insets
13126 2001-11-30 Juergen Vigna <jug@sad.it>
13128 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13129 insets for undo reasons.
13131 2001-11-28 André Pönitz <poenitz@gmx.net>
13133 * vspace.[Ch]: cosmetical changes
13135 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13145 * kbsequence.C: part re-write of old kb code
13148 * WorkArea.C: remove Lgb_bug_find_hack
13150 2001-11-30 José Matos <jamatos@fep.up.pt>
13152 * buffer.C (makeDocBookFile): add a comment to point a hack.
13153 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13154 Fixed a double write of labels.
13156 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13159 * LaTeX.h Fixed bug in LaTeX class where it would not
13160 re-run latex if no depfiles were changed, but the .dvi was removed.
13162 2001-11-28 André Pönitz <poenitz@gmx.net>
13164 * all the files from the change on 2001/11/26:
13165 use lyx::layout_type instead of LyXTextClass::size_type
13166 use lyx::textclass_type instead of LyXTextClassList::size_type
13168 2001-11-29 Juergen Vigna <jug@sad.it>
13170 * text.C: added support for paragraph::isFreeSpacing()
13172 * buffer.C: same as above
13174 * paragraph.h: inserted isFreeSpacing() function to enable
13175 FreeSpacing inside InsetERT.
13177 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13178 of the paragraph's in the cut/copy buffer to 0!
13180 * text2.C (removeRow): remove the assert as it can!
13182 * lyxtext.h: added helper function firstRow returning firstrow and
13183 made firstrow private again.
13185 * BufferView2.C (lockInset): don't relock if we're already locked!
13187 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13188 the only paragraph.
13189 (removeRow): added Assert::(firstrow)
13191 * debug.C: forgot to add INSETTEXT here.
13193 2001-11-28 Juergen Vigna <jug@sad.it>
13195 * sp_spell.C (initialize): changed error text to more general
13196 spellchecker command use (not only ispell!)
13198 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13200 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13202 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13204 * vspace.C: initialise lyxgluelength on failure
13206 2001-11-28 Allan Rae <rae@lyx.org>
13208 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13209 declaration & definition that looks like a function declaration.
13211 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13213 * BufferView2.C (copy):
13214 (copyEnvironment): do not clear the selection when doing a copy.
13216 * text.C (paintFirstRow): compilation fix
13218 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13220 * tabular.C (Latex): correct line count when writing latex.
13222 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13224 * paragraph_pimpl.h:
13225 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13228 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13232 * LColor.C: change vfillline->added_space
13234 * text.C: add markers and text for added space
13236 * vspace.C: fix comment
13238 2001-11-28 André Pönitz <poenitz@gmx.net>
13240 * paragraph.C: whitespace changes
13241 * all the other files from the change on 2001/11/26:
13242 change *::pos_type into lyx::pos_type
13244 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13246 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13247 language of the document when inserting error insets.
13249 2001-11-26 André Pönitz <poenitz@gmx.net>
13251 * BufferView_pimpl.[Ch]:
13259 * paragraph_pimpl.[Ch]:
13262 * text2.C: reduce header dependencies, introduce type for positions
13264 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13266 * <various>: change to use Alert.h
13268 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13270 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13271 when encountering an unknown token.
13272 (readLyXformat2): Show an error message if there were unknown tokens.
13274 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13277 * BufferView_pimpl.C:
13281 * text2.C: use par->isInset()
13283 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13285 * paragraph_pimpl.h:
13286 * paragraph_pimpl.C: cleanup
13288 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * text2.C (removeRow):
13291 * text.C (setHeightOfRow): remove useless (and costly) call to
13294 2001-11-20 Allan Rae <rae@lyx.org>
13296 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13297 Now need Inset*::checkInsertChar() to return true for appropriate
13298 cases so that the characters in the minibuffer will actually be
13301 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * text.C: change the order of the includes.
13304 (workWidth): initialize it at once.
13305 (workWidth): make maxw unsigned
13306 (setHeightOfRow): remove unused variable (inset)
13307 (selectSelectedWord): remove unused variable (inset)
13308 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13310 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13312 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13313 server is not running.
13315 (closeConnection): add debug info when server is disabled.
13317 * ColorHandler.C (getGCForeground): send debug message to GUI
13320 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13322 * kbmap.C (bind): modify because return conventions of
13323 kb_sequence::parse have changed.
13325 * kbsequence.C (parse): only ignore spaces and not any stupid
13326 control character. This avoids tests like s[i] <= ' ', which are
13327 guaranteed to fail with 8bit characters and signed chars.
13328 Change return code to string::npos when there have been no error
13329 (0 was a bad idea when error is at first character)
13331 2001-11-14 José Matos <jamatos@fep.up.pt>
13334 * buffer.C (simpleDocBookOnePar): removed unused argument.
13336 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13339 insets which are part of a word. Paragraph::isLetter takes care of
13340 that now. Use Paragraph::isInset to identify insets.
13341 (selectSelectedWord): do not test for hyphenation break.
13343 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13344 that protected spaces are considered as spaces.
13346 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13349 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13352 * lyxserver.C: fix it. and small cleanup.
13354 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13356 * BufferView_pimpl.C: use inline helpers
13359 * LaTeXFeatures.C: fix typos
13362 * Spacing.C: move spacing_string into class
13364 * ToolbarDefaults.C: move stuff into namespace anon
13366 * layout.h: update enum
13368 * lyxfunc.C: use better debug
13370 * minibuffer.h: fix typo
13374 * WorkArea.C: add and use Debug::WORKAREA
13378 * text2.C: code re-organisation, inline helpers
13380 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13382 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13383 std::vector.empty().
13385 2001-11-09 Allan Rae <rae@lyx.org>
13387 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13388 '\n's after tables. Tabular and ERT inset work now makes this no
13391 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13394 * minibuffer.C: fix crash, improve drop-down completion
13396 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13399 * lyxserver.C: invalidate fd's when doing endPipe()
13401 2001-11-08 José Matos <jamatos@fep.up.pt>
13403 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13404 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13407 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13409 2001-11-07 José Matos <jamatos@fep.up.pt>
13412 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13415 * buffer.C (sgmlOpenTag):
13416 * buffer.C (sgmlCloseTag): removed debug info.
13418 * buffer.h (sgmlOpenTag):
13419 * buffer.h (sgmlCloseTag): made public.
13421 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * buffer.C (saveParamsAsDefaults):
13424 * lyx_cb.C (MenuLayoutSave): remove
13426 * LyXAction.C (init):
13428 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13430 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13432 * buffer.C (setPaperStuff): removed from here...
13434 * bufferparams.C (setPaperStuff): ... and moved there.
13436 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13440 * XFormsView.C: add support for drop-down completion
13442 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13444 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13447 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13452 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13454 * lyx_main.C: change ref to known bugs
13456 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13458 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13459 to work around older babel problems.
13461 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13463 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13465 2001-10-24 Juergen Vigna <jug@sad.it>
13467 * tabular-old.C (ReadOld): below variable changes reflected.
13469 * tabular.[Ch]: added ltType struct for longtable header/footer
13470 defines and changed all instances where they are used. Added
13471 future support for double top/bottom rows.
13473 2001-10-24 José Matos <jamatos@fep.up.pt>
13475 * buffer.h (docbookHandleCaption):
13476 * buffer.C (docbookHandleCaption): removed unused function.
13477 (makeDocBookFile): moved docbook supported version to v4.1.
13479 2001-10-24 José Matos <jamatos@fep.up.pt>
13482 * tabular.C (docbookRow): new function to export docbook code of a row.
13483 (DocBook): now honors the longtable flags.
13485 2001-10-23 José Matos <jamatos@fep.up.pt>
13488 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13489 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13491 * buffer.C (makeLinuxDocFile):
13492 (makeDocBookFile): reworked the preamble, more clean, and with
13493 support for lyx defined entities. Changed the document declaration
13494 to be more XML friendly.
13496 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13497 if we need to output XML that should be done with a filter.
13499 2001-10-22 Juergen Vigna <jug@sad.it>
13501 * sp_pspell.h (class PSpell): add alive function needed in the
13502 controller to see if the spellchecker could be started.
13504 2001-10-22 Juergen Vigna <jug@sad.it>
13506 * buffer.C (insertStringAsLines): modify the font for inserting
13507 chars in certain conditions by calling checkInsertChar(font).
13509 2001-10-19 Juergen Vigna <jug@sad.it>
13511 * text.C (workWidth): use getRow instead of wrong algorithm.
13512 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13514 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13519 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13521 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13523 * text.C (workWidth): do not search for the exact row when
13524 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13525 optimization for big documents.
13527 2001-10-18 Juergen Vigna <jug@sad.it>
13529 * text.C (workWidth): new function with added Inset * parameter.
13531 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13535 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13536 change return type of getColumnNearX.
13539 * text.C (changeRegionCase): use uppercase/lowercase instead of
13542 (rightMargin): simplify code by factoring out the uses of
13547 (appendParagraph): use Paragraph::size_type
13549 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13551 * vspace.C (asLatexString): add a missing break
13553 2001-10-15 Herbert Voss <voss@perce.de>
13555 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13557 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13559 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13562 2001-10-10 André Pönitz <poenitz@gmx.net>
13564 * lyxfunc.C: removed greek_kb_flag.
13566 2001-10-10 Herbert Voss <voss@perce.de>
13568 * lyx_main.C: delete global string help_lyxdir.
13570 2001-10-09 Herbert Voss <voss@perce.de>
13572 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13574 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13576 * lyx_main.C: added global string help_lyxdir.
13578 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13580 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13582 * lyxrc.C (set_font_norm_type): support iso8859-4
13584 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13586 * LaTeX.C (deplog): add another regex for MikTeX
13588 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13590 * lyxrc.C (set_font_norm_type): support iso8859-3
13592 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13596 * LaTeXFeatures.C: remove special case of french and index
13598 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13599 before \begin{document}). This solves several incompatibilities.
13601 2001-10-03 Garst Reese <reese@isn.net>
13603 * lyx_cb.C: change CheckTex error msg.
13605 2001-10-03 José Matos <jamatos@fep.up.pt>
13607 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13609 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * .cvsignore: update
13613 * lyx_main.C (commandLineVersionInfo): use new style version info.
13615 * buffer.C (writeFile):
13617 (makeLinuxDocFile):
13618 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13620 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13622 * version.h: update to use stuff in version.C
13624 * version.C.in: new file. Contains version information determined
13625 at compile time. This is a merging of version.h and
13628 2001-10-03 Juergen Vigna <jug@sad.it>
13630 * BufferView_pimpl.C (update): don't change "dirty" status in
13633 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13635 * WorkArea.C (c-tor): re-position version string slightly.
13637 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13639 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13640 revert to previous code.
13642 WorkArea.[Ch]: (show, destroySplash): methods removed.
13644 WorkArea.C: rework code so that it's an amalgam of the codes before and
13645 after the splash screen was moved to WorkArea.
13647 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * vspace.C (inPixels):
13653 * buffer.C (insertStringAsLines):
13654 (asciiParagraph): fix types to be large enough
13656 * lyxlex_pimpl.h: change member status from short to int
13658 * layout.h: fix type of endlabeltype
13661 * kbsequence.C (parse): change return type to string::size_type
13663 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13666 * Bullet.C (bulletSize):
13667 (bulletEntry): do not use short ints as parameters
13669 * BufferView2.C (insertLyXFile): change a char to an int.
13671 * WorkArea.C (WorkArea): remove unneeded floats in computation
13673 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13675 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13677 * paragraph.C (asString): Do not ignore newline/hfill chars when
13678 copying to the clipboard.
13680 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13682 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13683 after a multi-line inset.
13685 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13687 * paragraph.C (validate): Set NeedLyXFootnoteCode
13689 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13691 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13692 and decrease-error to decrease.
13694 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13696 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13697 it more readable (should be equivalent)
13699 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13701 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13703 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13705 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13706 of a cursor (row, etc.) after a character has been deleted
13707 (deleteEmptyParagraphMechanism): call the method above on _all_
13708 cursors held by the LyXText when a double space has been
13711 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13713 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13715 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13717 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13718 background. Use greyOut() and the new show() methods to toggle between
13719 the foreground and background. Add code to remove the splash after
13720 its initial showing.
13722 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13723 (create_forms): no longer call Dialogs::showSplash.
13725 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * .cvsignore: add version_info.h
13729 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * version_info.h.in: new file
13733 * Makefile.am: add version_info.h.in
13735 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13736 version_info.h instead of VERSION_INFO
13738 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13740 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13741 The ERT inset now returns string().
13743 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13745 * lyxtext.h, text.C (selectNextWord): renamed as
13746 selectNextWordToSpellcheck.
13748 * text.C (selectNextWordToSpellcheck): Modified to not select
13749 words inside an ERT inset.
13751 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * lyx_cb.C (MenuLayoutSave): change a bit the question
13755 * sp_base.h: include <sys/types.h>
13757 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13759 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13761 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13763 * several files: fix typos in user-visible strings
13765 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * text2.C (pasteSelection): do not set the selection, since it
13768 will be cleared later. Actually, the intent was to fix the way the
13769 selection was set, but I figured rmoving the code was just as good.
13771 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13773 * FontLoader.C (available): Check if font is available without
13776 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13778 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13780 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13782 * lyxrc.[Ch]: added display_graphics variable and associated code.
13784 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13786 * bufferparams.C (hasClassDefaults): new method. Returns true if
13787 the buffer parameters correspond to known class defaults
13789 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13791 * XFormsView.C (show): set minimum size to the main window.
13793 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * text2.C (copySelection):
13797 * lyxfind.C (LyXReplace):
13798 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13799 LyXText::selectionAsString.
13801 * paragraph.C (asString): add "label" argument to the second form
13803 * text2.C (selectionAsString): add "label" argument and pass it to
13804 Paragraph::asString.
13806 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * lyx_main.C (commandLineHelp): remove version information
13810 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13812 * lyx_main.C: add -version commandline option
13814 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * paragraph.h: make the optional constructor arg required instead.
13817 some modifications to other files because of this.
13819 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13821 * lyxserver.C (C_LyXComm_callback): make it static
13823 * lyx_main.C (error_handler): make it static
13825 * lyx_gui.C (LyX_XErrHandler): make it static
13827 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13829 * WorkArea.C: make the extern "C" methods static.
13831 * Makefile.am (lyx_LDADD): simplify
13833 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13835 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13836 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13838 * LyXAction.C (init):
13839 * lyxfunc.C (dispatch): associated code removal.
13841 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * lyxfont.h (isSymbolFont): shut off warning
13845 * text.C (setHeightOfRow):
13846 (getVisibleRow): fix crash with empty paragraphs which have a
13849 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13851 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13854 2001-09-04 José Matos <jamatos@fep.up.pt>
13857 * tabular.C (docbook): rename docBook method to docbook.
13859 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13861 * Makefile.am: add dependencies to main.o.
13863 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13865 * FontLoader.C (available): Return false if !lyxrc.use_gui
13867 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13869 * FontInfo.C (query):
13870 * converter.C (view):
13871 * importer.C (Import):
13872 * exporter.C (Export): Can not -> cannot.
13874 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13876 * BufferView_pimpl.C: allow to create index inset even if
13879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13881 * buffer.C (getLists): replace boost::tie code with an explicit pair
13882 as boost::tie can break some compilers.
13884 * iterators.h: Added a std:: declaration to the return type of
13887 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13889 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13892 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13894 * iterators.[Ch]: New files. Provide paragraph iterators.
13896 * buffer.C (changeLanguage): Use paragraph iterators.
13897 (isMultiLingual): ditto
13899 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13901 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13903 * FontLoader.C: Support for cmr font.
13905 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13907 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13908 (available): New method.
13910 * FontInfo.C (getFontname): Use scalable fonts even when
13911 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13914 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13916 * converter.C (Formats::view): reverted! Incorrect fix.
13918 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13920 * converter.C (Formats::view): only output the -paper option
13921 if the dvi viewer is xdvi, thereby fixing bug #233429.
13923 2001-08-23 Herbert Voss <voss@perce>
13925 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13927 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13929 * Spacing.h (Spacing): Set space to Default on in the default
13932 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * vc-backend.h (RCS::versionString): add RCS to version
13935 (CVS::versionString): add CVS to version
13937 * vc-backend.C (scanMaster): do not add CVS to version.
13938 (scanMaster): do not add RCS to version
13940 * lyxvc.C (versionString): new method
13942 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13944 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13946 * Spacing.C (set): initialize fval
13948 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13950 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13953 2001-08-16 Juergen Vigna <jug@sad.it>
13955 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13957 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13959 * BufferView_pimpl.C:
13962 * text2.C: setParagraph takes linespacing now
13964 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13966 * LyxAction.C: add internal LFUN_CITATION_INSERT
13968 * LyXView.C: actually apply fix
13970 * bufferlist.C: fix open non-existent file
13972 * lyxfind.C: fix indentation
13974 * lyxfunc.C: remove unneeded assert, fix typo
13976 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13978 * MenuBackend.C: use "Floatname List"
13980 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13982 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13983 when converting LaTeX layout to insetERT.
13984 Generate a non-collapsed float when reading old float
13986 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13988 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13991 2001-08-13 Juergen Vigna <jug@sad.it>
13993 * text.C (fill): return 0 instead of 20 as this seems to be the more
13996 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13998 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14001 2001-08-13 Juergen Vigna <jug@sad.it>
14003 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14005 (SearchBackward): comment out the unlocking of the inset_owner this
14006 should not be needed!
14008 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14010 * Many files: Remove inherit_language, and add latex_language
14012 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14013 collapsible insets.
14015 2001-08-10 Juergen Vigna <jug@sad.it>
14017 * text.C (prepareToPrint): fixed hfill-width in draw!
14019 * BufferView2.C (selectLastWord): save the selection cursor as this
14020 now is cleared in the function LyXText::clearSelection!
14022 2001-08-08 Juergen Vigna <jug@sad.it>
14024 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14025 BACKSPACE type functions.
14027 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14028 is only cutted from the document but not put in the cut-buffer, where
14029 still the old stuff should be.
14031 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14033 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14035 * tabular.C (SetWidthOfCell): fixed special case where the width
14037 (LeftLine): handle '|' in align_special.
14039 (LeftAlreadyDrawed): ditto
14040 (SetWidthOfCell): ditto
14042 2001-08-07 Juergen Vigna <jug@sad.it>
14044 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14046 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14049 * lyxlex.[hC]: ditto
14051 2001-08-06 Juergen Vigna <jug@sad.it>
14053 * text.C (getVisibleRow): fix up row clearing a bit.
14055 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * minibuffer.C: make sure the X server sees the changes in the input.
14059 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14061 * paragraph.C (getFont): split into...
14062 (getLabelFont): this
14063 (getLayoutFont): and this
14064 * paragraph_pimpl.C (realizeFont): calling this
14066 * text2.C (getFont): split into...
14067 (getLayoutFont): this
14068 (getLabelFont): and this
14069 (realizeFont): all three calling this
14071 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14074 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14078 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14080 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14081 layouts from the Quote inset insertion.
14083 2001-08-03 Juergen Vigna <jug@sad.it>
14085 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14087 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14088 only if status not is already CHANGED_IN_DRAW (second level).
14090 * text.C (draw): don't set the need_break_row when inside an
14093 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * buffer.C (parseSingleLyXformat2Token): handle more latex
14098 * bufferview_funcs.[hC]: change function names to
14099 begin with small char, adjust other files.
14101 2001-08-02 André Pönitz <poenitz@gmx.net>
14104 BufferView_pimpl.C: remove broken special code for math-greek
14106 2001-08-02 Juergen Vigna <jug@sad.it>
14108 * BufferView_pimpl.C (update): redone this function so that we
14109 update the text again if there was a CHANGE_IN_DRAW.
14111 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14112 (drawFromTo): added a new internal bool which is used by draw() and
14114 (general): some cursor drawing problems fixed.
14116 2001-08-01 Juergen Vigna <jug@sad.it>
14118 * lyxfind.C (LyXFind): fixed
14119 (SearchForward): ditto
14120 (SearchBackward): ditto
14122 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14123 spurius drawing of the cursor in the main area.
14125 * text2.C (status): small fix which could lead to a segfault!
14126 (clearSelection): remove unneeded BufferView param.
14128 2001-08-01 André Pönitz <poenitz@gmx.net>
14130 * lyxfunc.C: small change due to changed mathed interface
14132 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14134 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14136 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14138 * lyxfunc.c: fail gracefully if file doesn't exist
14143 * BufferView_pimpl.C: IsDirWriteable() proto changed
14145 * LyXView.C: fix updateWindowTitle() to store the last title
14147 2001-07-31 Juergen Vigna <jug@sad.it>
14149 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14150 the font (wrong since using of Paragraph::highestFontInRange).
14152 * paragraph.C (highestFontInRange): added a default_size parameter.
14154 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14155 (setHeightOfRow): reformat
14157 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * converter.[hC] + affected files: move to (inital-char)lowercase
14162 * ParagraphParameters.C (ParagraphParameters): remove commented code
14164 * PainterBase.[Ch]: remove commented code
14166 * LaTeXFeatures.h: add "bool floats" for float.sty
14168 * LaTeXFeatures.C (LaTeXFeatures): init floats
14169 (require): handle float
14170 (getPackages): do it with floats
14172 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * BufferView_pimpl.C (Dispatch): improve handling of
14175 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14177 * commandtags.h: #include lyxfont.h here temporarily to avoid
14180 * bufferlist.h: include LString.h here.
14182 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * text2.C (getStringToIndex): new method.
14186 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14188 * *: Reduced header file dependencies all over.
14190 2001-07-30 Baruch Even <baruch@lyx.org>
14192 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14194 2001-07-29 Baruch Even <baruch@lyx.org>
14196 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14198 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14200 * ParameterStruct.h (endif): add a default constructor to make
14201 sure that all variables is initialized.
14203 * ParagraphParameters.C (ParagraphParameters): adjust
14205 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14208 index; also, check that there is something to index, and that it
14209 does not span over several paragraphs.
14210 (doubleClick): use WHOLE_WORD_STRICT for double click.
14212 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14214 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14217 2001-07-26 Baruch Even <baruch@lyx.org>
14219 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14220 an InsetFig figure, backwards compatible reading of old figure code.
14222 2001-07-27 Juergen Vigna <jug@sad.it>
14224 * text2.C: font.realize function adaption.
14226 * text.C (draw): add a warnings lyxerr text if needed.
14228 * layout.C: font.realize function adaption.
14230 * language.C: add inherit_language and implement it's handlings
14232 * bufferview_funcs.C (StyleReset): remove language parameter from
14233 font creation (should be language_inherit now).
14235 * bufferparams.C (writeFile): handle ignore_language.
14237 * paragraph.C (getFontSettings): the language has to be resolved
14238 otherwise we have problems in LyXFont!
14240 * lyxfont.C (lyxWriteChanges): added document_language parameter
14241 (update): removed unneeded language parameter
14243 * paragraph.C (validate): fixed wrong output of color-package when
14244 using interface colors for certain fonts in certain environments,
14245 which should not seen as that on the final output.
14247 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14249 * BufferView_pimpl.C:
14254 * LyXAction.C: add thesaurus support
14257 * lyxfind.C: add "once" parameter, for thesaurus, to not
14258 move to the next match
14260 2001-07-26 Juergen Vigna <jug@sad.it>
14262 * lyxfont.C (realize): honor ignore_language too!
14265 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14267 * text.C (draw): one place more for ignore_language to not draw
14270 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14272 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14274 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14276 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14277 the minipage conversion problem.
14279 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14284 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * BufferView.h: don't forward declare WorkArea
14288 * BufferView.C: don't include WorkArea.h
14290 2001-07-25 André Pönitz <poenitz@gmx.net>
14294 * lyxfunc.C: new LFUN 'math-space'
14296 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14298 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14300 * text2.C (toggleInset): call open/close
14302 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14304 * lyxfunc.C (dispatch): add debug for the disabled case
14306 * font.C (buttonText): make similar to rectText
14308 * buffer.C (readInset): comment out parsing of insetlist and
14311 * PainterBase.C (rectText): small correction
14313 * BufferView_pimpl.C: comment out insettheorem and insetlist
14314 * LyXAction.C: ditto
14315 * commandtags.h: ditto
14317 2001-07-24 Juergen Vigna <jug@sad.it>
14319 * text.C (draw): honor the ignore_language.
14321 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14323 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14328 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14330 * lyxtext.h: remove unused (and unimplemented) methods
14332 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14334 * text.C (getVisibleRow): honor background color
14337 * Painter.h: remove default color argument for fillRectangle
14339 * text.C (backgroundColor): new method
14341 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * text.C (getVisibleRow): adjust
14345 * font.[Ch] (rectText): new method, metrics
14346 (buttonText): new method, metrics
14348 * PainterBase.[hC]: make rectText and buttonText always draw and take
14351 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14353 * ToolbarDefaults.C (read):
14354 * MenuBackend.C (read): allow escaping in all strings
14356 * BufferView_pimpl.C (insertAndEditInset): new method.
14357 (Dispatch): use insertAndEditInset whenever appropriate.
14359 * BufferView_pimpl.C (insertNote): removed
14361 * BufferView_pimpl.C (smartQuote): new method, moved from
14362 BufferView; if an insetquote cannot be inserted, insert a '"'
14365 * BufferView2.C: remove insertCorrectQuote();
14367 * lyxfunc.C (getStatus): Add support for all remaingin
14368 inset-insert lfuns.
14370 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14372 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14373 command (necessary to pass " as parameter of self-insert.
14375 * text.C (selectWordWhenUnderCursor):
14376 (selectWord): add word_location parameter
14377 (selectWordWhenUnderCursor): same + remove special code for word
14379 (selectNextWord): use kind() to guess type of insetspecialchar,
14382 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14383 (insertErtContents): create ert insets as collapsed.
14384 (readInset): better compatibility code for Info inset.
14386 2001-07-20 Juergen Vigna <jug@sad.it>
14388 * lyxfunc.C (dispatch): use always LyXFind now!
14390 * text2.C (init): add a reinit flag so that the LyXText can be
14391 reinited instead of deleted and reallocated (used in InsetText).
14393 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14399 2001-07-18 Juergen Vigna <jug@sad.it>
14401 * text.C (selectNextWord): handle insets inside inset by calling
14402 always the bv->text functions so that we can go up the_locking_inset!
14404 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14405 in strange locations when inside an inset!
14407 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14408 handling to include insets.
14410 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14412 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14414 * LyXAction.C (init):
14416 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14417 LIGATURE_BREAK, since the name is so stupid.
14419 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14421 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14424 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14426 * sp_form.[Ch]: remove.
14428 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14430 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14433 * src/buffer.C (readInset): ditto.
14435 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14437 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14438 menuSeparator(), endOfSentenceDot(), ldots() and
14439 hyphenationPoint(), which are therefore removed.
14440 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14442 * LyXAction.C (init):
14443 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14445 * paragraph.C (getWord): removed.
14447 * BufferView_pimpl.C (Dispatch): use last word or selection for
14448 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14450 * lyx_main.C (queryUserLyXDir): do not ask before creating
14451 user_dir, except if it has been named explicitely.
14453 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14455 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14456 a document of zero size.
14458 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14460 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14461 approriately in the c-tor and in require().
14462 (getPackages): output the appropriate LaTeX for natbib support.
14464 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14465 variables "use_natbib" and "use_numerical_citations" when reading the
14467 (readInset): read the various natbib cite commands.
14468 (validate): white-space change.
14470 * bufferparams.[Ch]: new variables "bool use_natbib" and
14471 "bool use_numerical_citations".
14472 (writeFile): output them in the LyX file.
14474 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14476 * lyxfunc.C (getStatus): add support for all the inset insertion
14479 * text2.C (insertInset):
14480 * paragraph.C (insetAllowed):
14481 * BufferView_pimpl.C (insertInset): update to take in account the
14482 renaming of insertInsetAllowed
14484 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14486 * text2.C (getInset): new method. returns inset at cursor position.
14488 * BufferView_pimpl.C (Dispatch): changes because of this.
14490 * LyXAction.C (init): rename open-stuff to inset-toggle.
14492 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14494 * text2.C (toggleInset): renamed from openStuff; use
14497 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14499 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14501 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14503 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14505 * buffer.C (readLyXformat2): Add filename to the error dialog
14507 2001-07-18 Juergen Vigna <jug@sad.it>
14509 * tabular.C (GetCellNumber): put an assert here instead of the check!
14511 2001-07-17 Juergen Vigna <jug@sad.it>
14513 * BufferView_pimpl.C (toggleSelection): adapted too.
14515 * text.C (selectNextWord): adapted for use with insets.
14516 (selectSelectedWord): ditto
14518 2001-07-17 Juergen Vigna <jug@sad.it>
14520 * sp_spell.C (PSpell): fix initialitation order.
14522 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14524 * paragraph.C: spacing
14526 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14528 * sp_spell.C: repair language selection for pspell
14530 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * lyxfunc.h: change more methods to begin with lower char.
14534 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14536 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14537 for unknown layouts.
14539 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14541 * buffer.C (readLyXformat2): Generate an error dialog if there are
14544 2001-07-16 Juergen Vigna <jug@sad.it>
14546 * sp_spell.C: always compile ISpell part.
14548 * lyxrc.C: added use_pspell entry and it's handling.
14550 2001-07-13 Juergen Vigna <jug@sad.it>
14552 * sp_spell.C: removed double includes.
14554 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14556 Consistent use of Lsstream.h:
14557 * Lsstream.h: added using std::stringstream for consistencies sake.
14559 * buffer.C: removed using std::stringstream
14561 * lyxfont.C (stateText):
14562 * paragraph.C (asString):
14563 * text.C (selectNextWord, selectSelectedWord):
14564 * text2.C (setCounter):
14565 * vspace.C (asString, asLatexString):
14566 std::ostringstream -> ostringstream.
14568 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14570 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14571 * commandtags.h: add LFUN_HELP_ABOUTLYX
14572 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14574 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14576 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14578 * lyx_gui_misc.C: remove spellchecker
14579 * lyxfunc.C: showSpellchecker
14581 * sp_ispell.h: added
14582 * sp_pspell.h: added
14583 * sp_spell.C: added
14584 * sp_form.[Ch]: removed
14585 * spellchecker.[Ch]: removed
14587 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14589 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14591 (simpleTeXSpecialChars): Simply print the input character without
14592 any special translation if pass_thru is set.
14594 * layout.h: Added bool pass_thru to layout class for being able to
14595 implement pass through of a paragraph for Literate Programming.
14597 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14598 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14599 * layout.C (Read): add "passthru" to list of layout tags and add
14600 code to set the pass_thru boolean when it is read.
14602 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * trans_decl.h: remove allowed from KmodInfo
14606 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14607 remove allowed code
14610 * paragraph_pimpl.C (erase): use boost::prior
14612 * Painter.C (text): use data() instead of c_str() when length is
14614 * WorkArea.C (putClipboard): ditto
14615 * font.h (width): ditto
14617 * BufferView2.C: use it-> instead of (*it). for iterators
14619 * paragraph_pimpl.C: ditto
14620 * paragraph.C: ditto
14621 * minibuffer.C: ditto
14622 * language.C: ditto
14624 * encoding.C: ditto
14625 * counters.C: ditto
14626 * converter.C: ditto
14628 * Variables.C: ditto
14629 * TextCache.C: ditto
14630 * MenuBackend.C: ditto
14631 * LyXAction.C: ditto
14633 * FloatList.C: ditto
14634 * DepTable.C: ditto
14635 * ColorHandler.C (LyXColorHandler): ditto
14637 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14641 * text2.C (openStuff): reintroduce this method (which had been
14642 nuked in NEW_INSETS frenzy).
14644 * lyxfunc.C (Dispatch): when an action has not been handled, use
14645 its name in the error message, not its number.
14647 * paragraph.C (inInset): change method name to begin with lowercase.
14650 * text2.C: updates because of this.
14652 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14654 * ToolbarDefaults.C (add): add spaces in error message
14656 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14658 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14659 (readLyXformat2): rename return_par to first_par, use lyxlex's
14660 pushToken and remove the manual push handling.
14661 (parseSingleLyXformat2Token): add another ert comp. variable:
14662 in_tabular, rename return_par to first_par. handle newlines better
14664 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14668 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14670 * text2.C (getParFromID): removed
14672 * buffer.C (getParFromID): new method moved form lyxtext.
14673 * BufferView2.C (insertErrors): adjust
14674 (setCursorFromRow): adjust
14675 * BufferView_pimpl.C (restorePosition): adjust
14676 * lyxfunc.C (Dispatch): adjust
14677 * undo_funcs.C (textUndo): adjust
14679 (textHandleUndo): adjust
14680 (textHandleUndo): adjust
14682 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * buffer.C: up' the LYX_FORMAT
14686 * lyxfont.h: turn NO_LATEX on as default
14688 * buffer.C (insertErtContents): new methods of tex style compability.
14689 (parseSingleLyXformat2Token): use it several places.
14690 * tabular.C (OldFormatRead): and here
14692 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14694 * text2.C: remove some commented code.
14697 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14698 * trans.C: changes because of the above.
14700 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14702 * text2.C (setCounter): Fix counters bug with bibliography layout.
14704 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14706 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14707 own member functions
14708 (simpleTeXSpecialChars): ditto
14710 2001-07-06 Juergen Vigna <jug@sad.it>
14712 * a lot of files: changed the access to LyXText::status and the
14713 call of undo-functions.
14715 * undo.[Ch]: added a inset_id to the undo informations.
14717 * undo_funcs.[Ch]: added and moved here all undo functions.
14719 * lyxtext.h: give the status enum a weight, made status_ a private
14720 variable and made accessor functions for it, removed the whole bunch
14721 of undo-functions as they are now in their own file, make some
14722 functions publically available. Added function ownerParagraph with
14725 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14726 made InInset() a const function, added getParFromID() function.
14728 * buffer.[Ch]: added const version for inset_iterator functions,
14729 added getInsetFromID() function.
14731 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14732 changed undo functions for new version.
14734 2001-07-05 Juergen Vigna <jug@sad.it>
14736 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14737 unknow mechanism does not call the proper constructor but only this
14738 one also if I request the other!?
14740 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14742 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14744 * text2.C (LyXText): use initialization lists.
14746 * lyxtext.h (Selection): initialize set_ and mark_
14747 (init): remove method
14749 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14751 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14753 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14755 * screen.[Ch]: change method names to begin with lowercase
14757 * BufferView_pimpl.C (updateScrollbar): simplify further and
14758 hopefully make it a bit faster.
14760 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14763 calling directly xforms functions.
14765 * Painter.C (Painter):
14766 * lyx_cb.C (MenuWrite):
14767 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14770 * lyx_gui.C: remove bogus guiruntime extern declaration.
14772 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14776 (redoDrawingOfParagraph): ditto
14777 (redoParagraphs): ditto
14778 (cutSelection): don't create a object for CutAndPaste use the
14779 static method directly
14780 (pasteSelection): ditto
14782 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14785 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * modifications to some other files because of this.
14789 * Makefile.am (lyx_SOURCES): add XFormsView
14791 * XFormsView.[Ch]: new files
14793 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14794 the main window. Move the gui dependent stuff to XFormsView
14796 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * tabular.C (GetCellInset): update cur_cell also in the row/col
14799 version of this function.
14801 * lyxfunc.C: no need to include figure_form.h here.
14807 * lyxvc.C: no need to include forms.h here.
14809 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14811 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14813 * lyxfunc.C (Dispatch):
14815 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14816 constructor argument.
14818 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * paragraph.C (Paragraph): dont't clear, and just set layout.
14821 (makeSameLayout): use params's copy contructor.
14823 * ParagraphParameters.[Ch] (makeSame): delete method
14825 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14827 * Variables.[Ch]: fix indentation, rename set to isSet
14829 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * lyxfunc.C (Dispatch): fix typo
14833 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14835 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14838 * bufferlist.C: include assert.h for emergencyWrite().
14840 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14842 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14843 give up at last (bug #425202) !
14845 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14851 * spellchecker.C: strip spellchecker options and bring up
14852 preferences tab instead
14854 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14857 the istringstream constructor
14859 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * paragraph.C (getLayout): fix return value
14863 * paragraph.h: do not declare getLayout as inline.
14865 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14867 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14869 * lyxcursor.h (operator<): new func
14870 (operator>): new func
14871 (operator>=): new func
14872 (operator<=): new func
14874 * text.C (changeCase): use selection.start and selection.end
14875 (changeRegionCase): require from to be <= to. Require par to be a
14878 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14880 2001-06-27 Juergen Vigna <jug@sad.it>
14882 * text.C (cursorLeftOneWord): changed to return the cursor and added
14883 overlay with BufferView * parameter which calls this one.
14885 (selectWord): use new getWord function.
14886 (changeCase): renamed from changeWordCase as and extended to work
14887 also on selections.
14889 * lyxtext.h: added enum word_location
14891 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14892 changeCase as this operates now also on selections.
14894 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14896 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14898 * many files: send debug output to Debug::INFO instead of
14901 * converter.C (View):
14903 (Move): send debug output to Debug::FILES instead of console.
14905 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14907 * lyxfunc.C (getStatus): use func_status
14909 * func_status.h: new header, describing the results of
14910 LyXFunc::getStatus;
14912 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14915 2001-06-25 The LyX Project <jug@sad.it>
14917 * buffer.C (sgmlOpenTag):
14919 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14921 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * text2.C: remove some dead code
14925 * tabular.C (GetCellInset): store the last cell checked (gotten)
14927 * tabular.h: add the helper for the speedup
14929 * lyxtext.h: remove some dead code
14931 2001-06-26 The LyX Project <Asger>
14933 * paragraph.C: Change export to LaTeX of alignment to
14934 \begin{center} and family for better roundtrip work with reLyX.
14936 * Tune the math drawing a bit.
14938 2001-06-25 The LyX Project <Asger>
14940 * LColor.C (LColor): New color for math background. New color
14943 2001-06-25 The LyX Project <jug@sad.it>
14945 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14947 * lyxfunc.C (Open):
14948 * bufferlist.C (newFile): do not restrict to files ending with
14951 * BufferView_pimpl.C (MenuInsertLyXFile):
14953 2001-06-24 The LyX Project <jug@sad.it>
14955 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14958 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * lyxtext.h: rename most methods to begin with a small char.
14961 Lots of changes because of this.
14963 * paragraph.C (Paragraph): do not call fitToSize
14964 (erase): call Pimpl::erase
14965 (insertChar): call Pimpl::insertChar
14966 (insertInset): call Pipl::insertInset
14967 (breakParagraph): do not call fitToSize
14968 (breakParagraphConservative): do not call fitToSize
14969 (fitToSize): remove method
14971 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14973 2001-06-24 The LyX Project <Asger>
14975 * Fix Qt compilation^2
14977 2001-06-24 The LyX Project <jug@sad.it>
14979 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14980 depthHook(getDepth()-1).
14983 * ParagraphParameters.h:
14984 * ParameterStruct.h: change type of depth to unsigned int ==
14985 depth_type. Many adaptations to other files before of that.
14987 2001-06-24 The LyX Project <Asger>
14989 * Fix Qt compilation.
14991 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14993 * paragraph.h: renamed several methods to begin with small letter.
14994 several changes to many parts of the code because of this.
14996 2001-06-23 The LyX Project <jug@sad.it>
14998 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14999 rewritten to discard all double spaces when KeepEmpty is off
15000 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15001 to only handle newlines but not fiddle with spaces and friends.
15003 * lyxfunc.C (MenuNew): when doing 'new from template', use
15004 template_path as default directory
15006 2001-06-23 The LyX Project <Asger>
15008 * Clean-up of header file includes all over
15009 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15011 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15013 * paragraph.h: renamed from lyxparagraph.h
15015 2001-06-23 Asger <lyx@violet.home.sad.it>
15017 * Buffer.h: Removed Buffer::resize
15018 * BufferList.h: Removed BufferList::resize
15019 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15020 the document lazily when we change the width, or the font settings.
15022 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15024 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15026 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15028 * buffer.h: remove out of date comment
15030 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15033 * screen.C: fix "theoretical" GC leak
15035 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15037 * LaTeX.C (scanAuxFile):
15038 (deplog): remove trailing \r when reading stream (useful under
15041 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15043 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15044 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15045 and BufferView::theLockingInset(Inset*), so should use them and not
15046 access bv_->text->the_locking_inset directly.
15048 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15050 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15053 * tex-defs.h: remove old unused file
15055 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15057 * BufferView_pimpl.C: fix typo, remove minibuffer message
15058 when buffer has loaded
15060 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15062 * lyxfunc.C (Dispatch): use stringstream
15063 (MenuNew): use stringstream
15064 (Open): use stringstream
15066 * importer.C (Import): use stringstream
15068 * bufferview_funcs.C (CurrentState): use stringstream
15070 * LaTeX.C (run): use stringstream
15072 * BufferView_pimpl.C (savePosition): use stringstream
15073 (restorePosition): use stringstream
15074 (MenuInsertLyXFile): use stringstream
15076 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15089 * vspace.C: removed // -*- C++ -*- as first line.
15092 * version.h: added // -*- C++ -*- as first line.
15094 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15098 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15101 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15106 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15108 * gettext.C: include LString.h even when --disable-nls is on.
15110 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15112 * converter.h (Get): changed argument type from int to
15113 FormatList::size_type to avoid unnecessary conversion.
15115 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15118 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15120 * gettext.h: include LString.h even when --disable-nls is on.
15122 2001-06-07 Juergen Vigna <jug@sad.it>
15124 * text.C (BreakAgain): subst spaces with tabs.
15126 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15127 (resizeInsetsLyXText): set force on resizeLyXText.
15129 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * gettext.h (gettext_init):
15132 (locale_init): use a real definition instead of a macro
15134 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15136 * Bufferview_pimpl.C:
15138 * LColor.C: further lcolor tidies
15140 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * BufferView_pimpl.C (updateScrollbar): simplify.
15144 * BufferView2.C: don't include insets/insetinfo.h, change
15145 prototype for insertInset and call the Pimpl version. let
15146 updateInset call Pimpl version.
15148 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15149 gotoInset to BufferView::Pimpl
15151 2001-06-01 Juergen Vigna <jug@sad.it>
15153 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15154 inside a LockingInset (is the update needed at all?).
15156 2001-05-31 Juergen Vigna <jug@sad.it>
15158 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15159 here not the old one otherwise how should we compare it afterwards
15162 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * FontInfo.C: bring C functions into global namespace when
15170 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * LString.h: make sure config.h has been loaded before LString.h.
15174 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15175 (one for each char read by EatLine!).
15177 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15180 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15183 to the same as the par we break from
15185 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15187 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15189 * MenuBackend.C (expand): also create menu entries for wide
15190 versions of the floats.
15192 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15194 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15196 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15197 frontends/Makefile.am
15203 * tabular.C (getTokenValue): add std::
15205 * tabular-old.C (getTokenValue): add std::
15206 (getTokenValue): ditto
15207 (getTokenValue): ditto
15209 * screen.C (ToggleSelection): adjust
15211 * lyxtext.h: put selection cursors inside a Selection struct.
15213 * lyxfunc.C (moveCursorUpdate): adjust
15215 * lyxfont.C (latexWriteStartChanges): add std::
15217 * lyxfind.C: adjust
15219 * font.h: delete with(char const *, LyXFont const &)
15221 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15223 * FontInfo.C (getFontname): add std::
15225 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15226 (workAreaButtonPress): adjust
15227 (tripleClick): adjust
15229 (moveCursorUpdate): adjust
15232 * BufferView2.C (gotoInset): adjust
15234 2001-05-30 Juergen Vigna <jug@sad.it>
15236 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15237 to check pspell I add this as default as I now have new pspell
15238 libraries and they seem to use this.
15240 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15242 * text2.C (CutSelection): make the cursor valid before the call to
15245 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15248 relied on 0 terminated strings and other horrors. Bug found due to
15249 the new assert in lyxstring!
15251 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15254 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15256 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15259 * lyxfunc.C (processKeySym): change method of getting to the
15262 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15263 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15264 * BufferView_pimpl.[Ch]: here as private methods.
15266 2001-05-28 Juergen Vigna <jug@sad.it>
15268 * text.C (SetHeightOfRow): added the update() call again as it is
15269 needed to initialize inset dimensions!
15271 2001-05-16 Juergen Vigna <jug@sad.it>
15273 * text2.C (SetCharFont): Add new function with BufferView * and
15274 bool toggleall parameters for setting insets internal fonts.
15275 (SetFont): Freeze the undo as we may change fonts in Insets and
15276 all this change should be inside only one Undo!
15278 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15279 setting font's in insets as for them we have the SetFont function!
15281 2001-05-15 Juergen Vigna <jug@sad.it>
15283 * text2.C (ClearSelection): to be sure we REALLY don't have any
15286 * tabular.C (TeXCellPreamble): fixed the left border problem for
15289 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15291 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15294 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15297 LFUN_BREAKPARAGRAPH.
15299 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15300 help test to "internal only", similar for LFUN_INSERT_URL
15302 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15303 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15304 auto_region_delete and deadkeys.
15306 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15309 * LColor.C: remove some dead entries, tidy a little
15311 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15315 (Dispatch): implement LFUN_ESCAPE
15317 * commandtags.h: add LFUN_ESCAPE
15319 * LyXAction.C (init): add entry for LFUN_ESCAPE
15321 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15322 Remove commented code.
15323 (insertNote): moved here
15324 (open_new_inset): moved here
15326 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15329 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * kbmap.C (findbinding): clean it up and make it work correctly.
15333 * lyx_main.C (init): do not pass argc and argv as parameters
15335 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15337 * buffer.C: fix path for OS/2 & Win32
15341 * lyx_main.C: Added os:: class.
15343 * os2_defines.h: update
15345 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15347 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15348 better by trying again with reduced state.
15350 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * lyxrc.C (read): print error about invalid key sequence only when
15353 debugging (because not all latinX keysyms are known to some X
15356 * kbsequence.C (getiso): add a few std:: qualifiers
15357 (getiso): comment out extra return statement.
15359 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15363 (Dispatch): enhance the accent inset a bit. (not perfect)
15365 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15369 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15371 * bufferlist.C (emergencyWrite): fix assert() call
15373 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15375 * text.C (InsertChar): Added trivial patch to only send the "you
15376 can not do multiple spaces this way" message once during a
15379 2001-05-08 Baruch Even <baruch@lyx.org>
15381 * Makefile.am: Changed order of libraries to get LyX to link properly
15382 with the gnome frontend.
15384 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15386 * LaTeXFeatures.h: add a std:: qualifier
15388 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * paragraph.C (String): use stringstream
15392 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * paragraph.C (writeFile): remove footflag arg
15396 * buffer.C (makeLaTeXFile): use stringstream
15397 (latexParagraphs): remove footnot gurba
15399 * LaTeXFeatures.C (getPackages): use stringstream
15400 (getMacros): likewise
15401 (getTClassPreamble): likewise
15402 (getFloatDefinitions): new method
15404 * paragraph.C (writeFile): reindent
15407 * WorkArea.h: revert the xpos + etc changes.
15409 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15411 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15413 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15414 (pasteSelection): likewise
15415 * text2.C (CreateUndo): likewise
15417 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15419 * minibuffer.C (peek_event): temporarily reduce the functionality
15420 of the minibuffer (to allow args on lfuns)
15422 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15423 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15425 * buffer.C (readInset): add compability reading of old float
15426 lists, add reading of new style float list.
15427 (readInset): avoid reevaluation of inscmd.getCmdName()
15428 (getLists): reindent
15430 * MenuBackend.C (MenuItem): implement parsing of
15431 md_floatlistinsert and md_floatinsert.
15432 (expand::LastFiles): move initalizaton of iterators out of loop,
15433 avoid reevaluation.
15434 (expand::Documents): introduce typdedef vector<string> Strings,
15436 (expand::ExportFormats): introduce typedef vector<Format const *>
15437 Formats, and use it.
15438 (expand): implement FloatListInsert and FloatInsert.
15440 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15441 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15442 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15444 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15446 (Dispatch::LFUN_FLOAT_LIST): implement
15448 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15450 * LaTeX.C (run): Fix problem with --export code.
15452 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15454 * BufferView.[Ch] (workarea): removed.
15455 (getClipboard) new method; wrapper for workarea()->getClipboard()
15457 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15460 * WorkArea.h (width, height, xpos, ypos): These methods all
15461 returned the dimensions of the work_area sub-area of WorkArea,
15462 resulting in a position error if the WorkArea were resized. Now
15463 return the dimensions of the entire WorkArea.
15465 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15467 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * LaTeX.C (deplog): correct the syntax of regex reg1
15471 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15473 * undo.C: remove !NEW_INSETS cruft
15475 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15477 * text2.C: remove !NEW_INSETS cruft
15479 * text.C: remove !NEW_INSETS cruft
15481 * tabular.C: remove !NEW_INSETS cruft
15483 * spellchecker.C: remove !NEW_INSETS cruft
15485 * lyxtext.h: remove !NEW_INSETS cruft
15487 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15489 * lyxfunc.C: remove !NEW_INSETS cruft
15491 * lyxfind.C: remove !NEW_INSETS cruft
15493 * lyx_cb.C: remove !NEW_INSETS cruft
15495 * figureForm.C: remove !NEW_INSETS cruft
15497 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15499 * buffer.[Ch]: remove !NEW_INSETS cruft
15501 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15503 * CutAndPaste.C: remove !NEW_INSETS cruft
15505 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15507 * BufferView2.C: remove !NEW_INSETS cruft
15509 * BufferView.h: remove !NEW_INSETS cruft
15511 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15513 * Lsstream.h: include LString.h before the sstream headers to
15514 fix problem with gcc 2.95.3 and lyxstring
15516 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15518 * lyx_main.C: add using directives when needed for C functions
15519 declared in std:: namespace.
15521 2001-04-27 Juergen Vigna <jug@sad.it>
15523 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15524 (SetHeightOfRow): comment out the update call should not be needed!
15526 2001-04-13 Juergen Vigna <jug@sad.it>
15528 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15529 (LyXTabular): tried to minimize operator= operations (and realized
15530 hopfully Lars wish).
15532 2001-04-27 Juergen Vigna <jug@sad.it>
15534 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15536 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15540 * buffer.C (readInset): hack to make listof algorithm work
15542 * BufferView_pimpl.C: hack to make listof algorithm work
15544 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * LyXAction.C: removed all !NEW_INSETS cruft
15547 (init): moved lfun_item in method
15549 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15551 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15553 * BufferView2.C (theLockingInset): white space.
15555 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * minibuffer.C: include <iostream>
15559 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15561 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15563 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15565 * text.[Ch] (TransposeChars): new method
15567 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15569 * call message directly through LyXView instead of through LyXFunc
15570 * BufferView2.C: adjust
15571 * BufferView_pimpl.C: adjust
15572 * FontLoader.C: adjust
15574 * bufferview_funcs.C: adjust
15575 * converter.C: adjust
15576 * figureForm.C: adjust
15577 * importer.C: adjust
15579 * lyx_gui_misc.C: adjust
15580 * lyxfunc.C: adjust
15583 + more files in subdirs
15585 * lyxparagraph.h (size): move up int file
15588 * adjust all uses of Assert to lyx::Assert.
15590 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15591 lyxfunctional in namespace lyx
15592 * layout.C (hasLayout): ditto
15595 (delete_layout): ditto
15596 (NumberOfClass): ditto
15597 * converter.C (GetFormat): ditto
15602 * bufferlist.C (getFileNames): ditto
15603 (emergencyWriteAll): ditto
15606 * MenuBackend.C (hasSubmenu): ditto
15609 * BufferView_pimpl.C (getInsetByCode): ditto
15611 2001-04-18 Juergen Vigna <jug@sad.it>
15613 * vspace.C (asLatexString): fixed the 100% problem.
15615 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * lyxfunc.C (Dispatch):
15619 * minibuffer.h: add a few std:: qualifiers
15621 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15623 * minibuffer.[Ch]: reimplement so that commands is initiated and
15624 run from lyxfunc, simplified som handling, and made the completion
15625 and history code for complete. wip.
15627 * lyxfunc.C (processKeySym): call message
15628 (miniDispatch): new temporary method
15629 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15630 (LFUN_MESSAGE): implement
15631 (LFUN_MESSAGE_PUSH): implement
15632 (LFUN_MESSAGE_POP): implement
15633 (initMiniBuffer): the initial/defualt minibuffer message.
15635 * lyxfont.[Ch]: inline some more getters
15637 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15639 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15641 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15642 (AutoSave): use LFUN_MESSAGE
15643 (Reconfigure): ditto
15645 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15647 * figureForm.C: use LFUN_MESSAGE
15649 * converter.C (runLaTeX): use LFUN_MESSAGE
15651 * bufferview_funcs.C: use LFUN_MESSAGE
15653 (changeDepth): ditto
15655 * bufferparams.h: use boost::
15657 * bufferlist.h: inherit privately from noncopyable
15659 * bufferlist.C (loadLyXFile): remove some commented code.
15661 * buffer.C (runChktex): use LFUN_MESSAGE
15663 * ShareContainer.h: inherit privately from noncopyable
15665 * ParagraphParameters.[hC] (depth): inline it.
15667 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15669 (message): new method
15670 (messagePush): ditto
15671 (messagePop): ditto
15672 (show): init minibuffer
15673 (showState): direct call
15675 * LaTeX.[Ch]: inherit privately from noncopyable
15676 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15677 instead of WriteStatus.
15679 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15681 * BufferView_pimpl.C (buffer): don't init minibuffer
15682 (workAreaButtonPress): use LFUN_MESSAGE
15683 (workAreaButtonRelease): ditto
15684 (savePosition): ditto
15685 (restorePosition): ditto
15686 (MenuInsertLyXFile): ditto
15687 (workAreaExpose): don't init minibuffer
15688 (update): remove commented code, simplify
15690 * BufferView2.C (openStuff): use LFUN_MESSAGE
15691 (toggleFloat): ditto
15694 (copyEnvironment): ditto
15695 (pasteEnvironment): ditto
15700 (updateInset): remove some commented code
15702 * lastfiles.h: inherit privately from noncopyable
15705 * lyx_main.h: ditto
15707 * lyxlex_pimpl.h: ditto
15709 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15710 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15711 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15713 * LyXAction.h: inherit privately from noncopyable, add methods
15714 func_begin, func_end, returning iterators to the func map.
15716 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15717 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15718 (func_begin): new method
15719 (func_end): new method
15721 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15723 (copySelection): ditto
15724 (pasteSelection): ditto
15726 * BufferView.C: whitespace change
15727 * BufferView.h: inherit privately from noncopyable
15729 2001-04-16 Allan Rae <rae@lyx.org>
15731 * tabular-old.C (l_getline):
15732 * spellchecker.C (sc_check_word):
15733 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15734 an unrecognised preprocessor directive. So ensure they're wrapped.
15736 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15738 * src/exporter.C (Export): Give an error message when path to file
15741 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15743 * LaTeX.C (deplog): Always check that foundfile exists.
15745 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15748 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15750 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * tabular.[Ch] (getLabelList): implement new method
15754 * minibuffer.h: comment ouf setTiimer
15756 * minibuffer.C (ExecutingCB): constify res
15757 (peek_event): constify s
15758 (Set): constify ntext
15759 (Init): constify nicename
15761 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15763 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15764 (savePosition): use two params to Minibuffer::Set
15765 (restorePosition): ditto
15767 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15769 * lyx_main.C: include language.h
15771 * Makefile.am (lyx_main.o): add language.h
15773 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * CutAndPaste.C: include gettext.h
15781 * lyxfont.h: remove old hack with ON and OFF.
15784 * lyxfont.h: do not include language.h...
15789 * bufferview_funcs.C:
15795 * paragraph.C: ... but do it here instead
15797 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15801 * tabular.C: small reformat
15803 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15806 (BreakParagraph): ditto
15807 (SetOnlyLayout): ditto
15810 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15813 * lastfiles.C: removed most using decl, add std:: where needed
15815 * buffer.C: ws changes
15817 * MenuBackend.C (class compare_format): put into anon namespace
15818 (expand): constify label, names, action, action2
15821 * text.C (SingleWidth): constify font
15822 (IsBoundary): constify rtl2
15823 (GetVisibleRow): constify ww
15825 * LaTeX.C (deplog): constify logfile
15827 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15829 (workAreaExpose): constify widthChange, heightChange
15831 * lyxrow.C (par): moved
15834 * lyxrow.h: as inlines here
15836 * lyxfont.h (shape): moved from lyxfont.C
15837 (emph): moved from lyxfont.C
15839 * lyxfont.C (LyXFont): use initialization list for all
15841 (shape): move to lyxfont.h as inline
15842 (emph): move to lyxfont.h as inline
15845 2001-04-04 Juergen Vigna <jug@sad.it>
15847 * vspace.C: had to include stdio.h for use of sscanf
15849 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15852 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15853 independent of xforms.
15855 2001-04-02 Juergen Vigna <jug@sad.it>
15857 * spellchecker.C: fixed namespace placing!
15859 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15861 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15862 the LyXParagraph * is 0.
15864 2001-03-29 Juergen Vigna <jug@sad.it>
15866 * vspace.C: added support for %, c%, p%, l%.
15867 (stringFromUnit): added helper function.
15868 (asLatexString): changed to give right results for the %-values.
15870 * buffer.C: convert the widthp in a width%.
15872 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15874 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15877 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15878 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15880 * lyx_cb.[Ch]: see above.
15882 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15886 * lyx.[Ch]: replaced by figure_form.[Ch].
15890 * lyxfunc.C: changed headers associated with above changes.
15892 2001-03-27 Juergen Vigna <jug@sad.it>
15894 * BufferView_pimpl.C: set the temporary cursor right!
15896 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15898 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15900 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15902 * LString.h: removed "using std::getline"!
15904 * BufferView_pimpl.C (Dispatch): changes due to changes in
15905 InsetInclude::Params.
15907 * buffer.C (tag_name): removed redundant break statements as they were
15908 producing lots of warnings with my compiler.
15910 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * LString.h: add "using std::getline" when using the real <string>.
15914 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15916 * buffer.C: removed bitset usage.
15917 PAR_TAG moved to an anonymous name space.
15918 (tag_name): new funtion, also in the anonymous namespace.
15919 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15920 (makeDocBookFile): clean code. Completed transition from string arrays
15922 (SimpleDocBookOnePar): code clean.
15924 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15926 * tabular.C: add some comments.
15928 2001-03-22 Juergen Vigna <jug@sad.it>
15930 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15931 compatibility read a bit and fixed bug with minipage in different
15934 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15936 * buffer.C (pop_tag): removed.
15937 (push_tag): removed.
15938 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15939 array replaced with vector. Added support for CDATA sections.
15940 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15942 (makeDocBookFile): XML conformant declaration of CDATA section,
15943 fixed bug related to <emphasis> in the first paragraph char.
15944 (sgmlOpenTag): exclude empty tags.
15945 (sgmlCloseTag): ditto.
15947 * buffer.h (pop_tag): removed.
15948 (push_tag): removed.
15950 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15952 * language.h (Languages): added size_type and size().
15954 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15956 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15957 response on compability reading of minipages. One probliem is that
15958 the old usage of minipages was «flertydig»
15960 * several files here and in subdirs: don't use static at file
15961 scope use anon namespaces instead.
15963 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15965 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15966 LaTeX output. This is necessary for Literate document
15969 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15971 * buffer.C: insert hfill when needed.
15973 * tabular.C (l_getline): use string::erase, small whitespace change.
15975 * BufferView_pimpl.C: try the anon namespace.
15976 * WorkArea.C: ditto
15978 2001-03-16 Juergen Vigna <jug@sad.it>
15980 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15981 otherwise it won't open options-dialogs.
15983 * buffer.C: honor pextraWidth(p) on converting minipages.
15985 * tabular.C (l_getline): changed the functions to strip trailing \r.
15987 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15989 * BufferView_pimpl.C:
15990 * minibuffer..C: added "using SigC::slot" declaration.
15992 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15994 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16000 * paragraph.C: ditto
16002 * lyxtext.h: NO_PEXTRA
16004 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16006 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16007 * ParameterStruct.h: ditto
16008 * ParagraphParameters.h: ditto
16009 * lyxparagraph.h: ditto
16011 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16013 * buffer.C: add compability for minipage alignment.
16014 (latexParagraphs): remove unwanted pextra check.
16016 * several files: remove CXX_WORKING_NAMESPACES
16018 * buffer.C (pop_tag): tie is in namespace boost
16020 * BufferView.h: noncopyable is in namespace boost
16022 * lyx_main.h: ditto
16025 * lastfiles.h: ditto
16026 * bufferlist.h: ditto
16027 * ShareContainer.h: ditto
16029 * LyXAction.h: ditto
16032 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16034 * Merging changes from BRANCH_MVC back into HEAD.
16036 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16038 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16040 * BufferView_pimpl.C: change from intl.C
16044 * Makefile.am: move combox.*
16050 * intl.C: remove dialog (covered by prefs)
16052 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16054 * lyxfunc.C (Dispatch): removed redundant break statement.
16056 2001-03-14 Juergen Vigna <jug@sad.it>
16058 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16060 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16062 * buffer.C: add hack to fix compability reading of minipages.
16064 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16066 * buffer.C (getLists): Cleanup.
16068 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * lyxfont.C (update): don't honor toggleall on font size.
16072 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16076 * Makefile.am: moved to frontends/xforms/
16080 * BufferView_pimpl.C: changes for moved mathpanel
16082 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16084 * gettext.h: fix gettext_init() in --disable-nls
16086 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16088 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16090 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16093 * lyx.h: strip external form
16095 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16097 * BufferView_pimpl.C: add comment, destroySplash()
16099 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16101 * BufferView_pimpl.C:
16105 * lyxfunc.C: use re-worked insetinclude
16107 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16109 * buffer.C: add using std::stringstream.
16111 * lyx_cb.C: readd using std::ios.
16113 * buffer.C: add using std::map.
16115 * BufferView_pimpl.C: add using std::vector.
16117 * ShareContainer.h: add std:: to swap.
16119 * buffer.h: add some typedefs
16120 * buffer.C (getLists): use them
16121 (getLists): renamed from getTocList.
16122 add a counter for the different float types and use it in the
16124 (getLists): use the same counter for the NEW_INSETS and the "non"
16127 * lyx_cb.h: remove unused items, includes, using etc.
16129 * ShareContainer.h: remove some commented code, add more comments
16130 and "documentation".
16132 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16134 * buffer.C (getTocList): make the list also when NEW_INSETS is
16137 * buffer.h: remove TocType
16139 * buffer.C (getTocList): change to return a map<string,
16140 vector<TocItem> >, implement for dynamic number of list.
16142 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16143 * text2.C (PasteSelection): adjust
16144 * CutAndPaste.C (pasteSelection): adjust
16146 * FloatList.C (FloatList): update from the new_insets branch.
16147 * Floating.[Ch]: ditto
16148 * LaTeXFeatures.C: ditto
16150 * lyxlex_pimpl.C: ditto
16152 * paragraph.C (Last): remove when NEW_INSETS is defined.
16154 * other file: changes because of the above.
16156 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16158 * lyxparagraph.h: rename next to next_, previous to previous_,
16159 make them private for NEW_INSETS. Rename Next() to next(),
16160 Previous() to previous().
16162 * other files: changes because of the above.
16164 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16167 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16170 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16172 * main.C (main): pass lyx_localedir to gettext_init().
16174 * gettext.h: remove locale_init and gettext_init macros
16176 * gettext.C (locale_init): new function
16177 (gettext_init): new function
16179 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16182 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16184 * Moved credits to frontends:
16185 * credits.[Ch]: removed
16186 * credits_form.[Ch]: removed
16187 * lyx_gui_misc.C: remove credits stuff
16190 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16192 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16194 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16195 unneeded destructor.
16197 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16198 a standalone pointer again.
16200 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16202 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16208 * ToolbarDefaults.C:
16217 * BufferView_pimpl.C: use new file dialog in GUII
16220 * lyx_cb.C: remove LayoutsCB to Toolbar
16222 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * ShareContainer.h (get): add std:: qualifier
16226 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * ShareContainer.h: define a proper ShareContainer::value_type
16229 type (and use typename to please compaq cxx)
16231 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16233 * lyxparagraph.h: move serveral local vars to
16234 ParameterStruct/ParagraphParameters., use ShareContainer in
16235 FontTable., make vars in FontTable private and add getter and
16238 * paragraph.C: changes because of the above.
16240 * lyxfont.h: remove copy constructor and copy assignment. (the
16241 default ones is ok), move number inside FontBits. move inlines to
16244 * lyxfont.C: add number to initializaton of statics, move several
16245 inlines here. constify several local vars. some whitespace
16246 cleanup. Dont hide outerscope variables.
16248 * Spacing.h: add two new constructors to match the set methods.
16250 * ShareContainer.h: new file, will perhaps be moved to support
16252 * ParameterStruct.h: new file
16254 * ParagraphParameters.h: new file
16256 * ParagraphParameters.C: new file
16258 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16259 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16261 * BufferView_pimpl.C: ParagraphParameter changes.
16262 * buffer.C: Likewise.
16263 * bufferview_funcs.C: Likewise.
16264 * text.C: Likewise.
16265 * text2.C: Likewise.
16267 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16269 * lyxfind.C (LyXReplace): do not redefine default argument in
16271 (IsStringInText): ditto
16272 (SearchForward): ditto
16273 (SearchBackward): ditto
16275 2001-03-06 Juergen Vigna <jug@sad.it>
16277 * lyxfind.C (IsStringInText): put parentes around expressions.
16279 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16281 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16283 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16285 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16287 * stl_string_fwd.h: add comment
16289 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16292 * tabular.C: remove unused DocBook methods
16298 killed DO_USE_DEFAULT_LANGUAGE
16300 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * lyx_gui.C: do not include language.h.
16304 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16305 arguments in function implementation.
16307 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16309 * BufferView_pimpl.C: add <ctime>
16311 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16313 * BufferView_pimpl.C: add using std::find_if
16315 2001-02-27 José Matos <jamatos@fep.up.pt>
16317 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16320 2001-02-11 José Matos <jamatos@fep.up.pt>
16322 * buffer.C (makeDocBookFile): command styles now have a parameter as
16323 "title" by default.
16325 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16327 * layout_forms.[Ch]: removed
16328 * lyx_cb.[Ch]: out character
16329 * lyx_gui.C: out character
16330 * lyx_gui_misc.C: out character
16331 * bufferview_funcs.C: : out character,
16332 added toggleall as parameter in ToggleAndShow
16334 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16336 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16338 * text2.C (SetCurrentFont): Disable number property at boundary.
16340 2001-02-26 Juergen Vigna <jug@sad.it>
16342 * lyxfunc.C (getStatus): added a string argument override function so
16343 that this is correctly called from LyXFunc::Dispatch if it contains a
16344 do_not_use_argument which is used!
16345 (Dispatch): added check for "custom" export and call appropriate func.
16347 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16349 * lyxrc.C: Add language_command_local, language_use_babel and
16350 language_global_options.
16352 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16354 * buffer.C (makeLaTeXFile): Use language_use_babel and
16355 language_global_options.
16357 2001-02-23 Juergen Vigna <jug@sad.it>
16359 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16360 which works with LyXText and putted it inside BufferView. Here now we
16361 only call for that part the BufferView::Dispatch() function.
16363 * BufferView.C (Dispatch): added.
16365 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16366 functions which needs to use a LyXText over from LyXFunc.
16367 (MenuInsertLyXFile): added
16368 (getInsetByCode): added
16369 (moveCursorUpdate): added
16370 (static TEXT): added
16372 2001-02-22 Juergen Vigna <jug@sad.it>
16374 * BufferView_pimpl.C (update): call a status update to see if LyXText
16377 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16379 * vc-backend.C (revert): implement for CVS
16380 (getLog): implement for CVS
16382 2001-02-20 Juergen Vigna <jug@sad.it>
16384 * text2.C (ClearSelection): added BufferView param for inset_owner call
16386 * lyxfunc.C (TEXT): added this function and use it instead of
16387 directly owner->view()-text of getLyXText().
16389 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16391 * src/layout_forms.C: out preamble
16392 * src/layout_forms.h: out preamble
16393 * src/lyx_cb.C: out preamble
16394 * src/lyx_cb.h: out preamble
16395 * src/lyx_gui.C: out preamble
16396 * src/lyx_gui_misc.C: out preamble
16397 * src/lyxfunc.C: connect with guii preamble
16399 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16401 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16403 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16405 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16406 whether to run bibtex.
16408 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16410 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16412 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16414 * Makefile.am (lyx_SOURCES): removed bibforms.h
16416 * vspace.h: doxygen
16418 * text.C (GetVisibleRow): make several local vars const
16420 * tabular.C: small cleanup.
16422 * lyxserver.C (callback): use compare instead of strncmp
16424 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16425 inlines to after class or to paragraph.C
16427 * lyxfont.h: remove friend operator!=
16429 * converter.h: move friend bool operator< to non friend and after
16432 * combox.h: small cleanup
16434 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16435 to inlines after class def.
16437 * buffer.C (pop_tag): use string operations instead of strcmp
16439 * bmtable.c: doxygen, small cleanup
16441 * LaTeX.h: remove friend operator==
16443 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16455 * BufferView_pimpl.C:
16456 * BufferView.[Ch]: remove cruft
16458 2001-02-14 Juergen Vigna <jug@sad.it>
16460 * lyxfunc.C: removed #if 0 unused code
16462 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16464 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16466 * text2.C (SetSelection): added a BufferView * parameter
16468 2001-02-13 Juergen Vigna <jug@sad.it>
16470 * lyxfunc.C (Dispatch): fixed protected blank problem.
16471 * BufferView2.C (protectedBlank): added LyxText * parameter.
16473 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16474 (AppendColumn): same as above for column_info.
16476 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16477 (moveCursorUpdate): use a LyXText param for support of InsetText.
16479 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16480 (tripleClick): ditto
16482 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16484 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16486 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16488 * text2.C (SetSelection): set correct update status if inset_owner
16489 (ToggleFree): ditto
16491 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16493 * tabular.C: remove some commented code.
16495 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16497 * BufferView_pimpl.C: call hideSplash()
16499 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16502 * bibforms.h: remove
16505 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16506 add LFUN_CHILD_CREATE
16508 * counters.h: fix tiny typo
16513 * lyx.C: move splash to frontends/xforms/
16515 * lyx_gui_misc.C: move Include and Bibform to frontends
16517 * lyxvc.h: clarify comment
16519 * vspace.C: tiny housekeeping
16521 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16523 * text.C (PrepareToPrint): RTL Fix.
16525 * paragraph.C (GetUChar): New method.
16526 (String): Use GetUChar.
16528 * buffer.C (asciiParagraph): Use GetUChar.
16530 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16532 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16534 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16537 * buffer.C: rename to getLogName(), handle
16538 build log / latex log nicely
16540 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16543 * MenuBackend.h: remove support for reference menuitem type.
16545 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16547 * BufferView_pimpl.C: housekeeping
16548 * BufferView_pimpl.h:
16553 * minibuffer.h: move Timeout GUI-I
16555 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16557 * lyxrc.C (read): Update converters data-structures.
16559 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16561 * LaTeX.h (operator!=): add operator != for Aux_Info
16563 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16565 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16567 * LaTeXLog.C: deleted, useful code moved to Buffer
16570 * buffer.C: new function getLatexLogName()
16576 * lyxfunc.C: use frontends for LaTeX and VC logs
16578 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16580 * LaTeX.h: yet another std:: that Allan forgot.
16582 * Variables.C (set): renamed from isset(), because this clashes
16583 with some HP-UX macros (grr).
16585 2001-02-06 Allan Rae <rae@lyx.org>
16587 * LaTeX.h: Another bug fix. Missing std:: this time.
16589 2001-02-04 Allan Rae <rae@lyx.org>
16591 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16592 floats problem. I've left it commented out because it's not quite
16593 correct. It should also test that the current object is a table or
16594 figure inset. But I haven't gotten around to figuring out how to do
16595 that. I *think* it'll be something like: "table" == inset.type()
16597 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16600 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16602 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16603 all the citation/databases/styles in the auxilary file.
16604 (run): Rerun latex if there was a babel language error.
16606 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16608 * text.C (Backspace): Preserve the font when changing newline char
16610 (BreakParagraph): If the cursor is before a space, delete the space.
16612 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16614 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16616 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16617 new argument (code).
16618 (ChangeCitationsIfUnique): New method.
16620 * paragraph.C (GetPositionOfInset): Handle bibkey.
16622 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16624 * BufferView_pimpl.h: change type of Position::par_pos to
16625 LyXParagraph::size_type.
16627 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16629 * BufferView_pimpl.C (savePosition, restorePosition): Write
16630 messages to minibuffer.
16632 2001-01-28 José Matos <jamatos@fep.up.pt>
16634 * buffer.C (makeDocBookFile): adds support for document language.
16635 A silly restriction on the name of LatexCommand types where removed.
16636 Added support for CDATA sections, allows to chars unescaped, used
16637 among others in code, to avoid escape < and >.
16639 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16641 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16642 saved positions instrad of a stack. Furthermore, a position is
16643 stored using paragraph id/paragraph position.
16645 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16646 Remove LFUN_REF_BACK.
16648 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16650 * converter.C (dvipdfm_options): New method.
16652 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16654 * vspace.C (isValidLength): Fix for empty input string.
16656 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * LyXAction.C (init): change description of LFUN_FIGURE to
16661 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16663 * LaTeX.C: add using directive
16665 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16667 * MenuBackend.C (expand): Fix the sorting of the formats.
16669 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16671 * lyx_main.C: tiny error message fix
16673 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16676 calling fl_initialize(). This fixes the problem with ',' as
16677 decimal separator in text files.
16679 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16681 * trans.C (process): Fix the keymap bug.
16683 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16685 * LaTeX.C (scanAuxFiles): New method. Provides support for
16686 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16687 (scanLogFile) Scan for "run BibTeX" messages.
16689 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16690 OT1 font encoding. Also, load the aecompl package if the ae
16693 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16695 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16697 * texrow.C (increasePos): turn two error messages into debug
16700 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16702 * LaTeX.C (scanAux): Handle the \@input macro.
16703 (runBibTeX): Use scanAux().
16705 * language.C (latex_options_): New field.
16707 * LaTeXFeatures.C (getMacros): Add language macros.
16709 * buffer.C (makeLaTeXFile): Small fix.
16711 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16715 * text2.C: add a using directive.
16717 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16722 * lyxfunc.C: kill LyXBell.
16724 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16726 * text.C (IsBoundary): Remove the error message
16728 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16730 * lyxrc.C (setDefaults): Correct initialization value for
16733 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16735 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16738 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16739 and GotoNextNote().
16741 * src/LyXAction.C: Added reference-next.
16743 * text.C (InsertChar): Use contains instead of strchr.
16745 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16747 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16749 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16750 alignment commands (when needed).
16752 * text.C (InsertChar): Add ':' to number separator chars.