1 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
5 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * lyxlength.C (asLatexString): get rid of setprecision
9 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * text2.C (setLayout): remove unused variable endpit.
12 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
14 * paragraph.C (onlyText): remove unused variable style.
16 * cursor.C (bruteFind): remove unused variables beg and end.
18 * Makefile.am (dist_noinset_DATA): not needed anymore
22 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * text3.C: fix LFUN_MATH_MODE.
26 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * buffer_funcs.C (countWords): new function. Counts words between
31 * BufferView_pimpl.C (getStatus, dispatch): handle
35 * lfuns.h: add LFUN_WORDS_COUNT.
37 2004-12-19 Angus Leeming <leeming@lyx.org>
39 * buffer.C (save): s/slashify_path/internal_path/.
41 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 * lyxfind.C (findChange): do not search for end of pars, because
44 the change tracker cannot handle this (fixes bug 1719).
46 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
48 * paragraph.[Ch] (autoBreakRows): remove
50 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
52 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
53 avoid using the paragraph one
55 * text2.C (LyXText, insertStringAsLines): adjust
57 2004-12-16 Angus Leeming <leeming@lyx.org>
61 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
63 2004-12-14 Angus Leeming <leeming@lyx.org>
65 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
67 * bufferlist.C (emergencyWrite):
68 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
71 2004-12-14 Angus Leeming <leeming@lyx.org>
73 * main.C: (main): no longer pass pointers to os::init.
75 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
77 * undo.C (textUndoOrRedo): simplify logic, fix a crash
78 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
80 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
83 * text3.C: remove selection_possible global flag
85 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
87 * text2.C (getSelectionSpan): remove
88 (changeDepth, changeDepthAllowed): adjust
90 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
92 * Makefile.am (BOOST_LIBS): use boost variables
94 2004-12-03 José Matos <jamatos@lyx.org>
96 * buffer.C: format up to 238.
98 2004-12-03 José Matos <jamatos@lyx.org>
100 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
102 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
104 * cursor.C (goUpDown): remove call to idxUpDown2
106 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * tabular.[Ch]: use size_t-like types for cell, row and column
111 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * lyxfunc.C (getStatus): do not lose previous information when
114 calling BufferView::getStatus; do not set a default "Command
115 disabled" message at the beginning, but just before returning.
117 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * cursor.h (getStatus): add better comment from src/cursor.C
121 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * text3.C (getStatus): return false when the lfun is not handled
125 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * broken_headers.h: remove
129 * Makefile.am (lyx_SOURCES): remove broken_headers.h
131 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
133 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
136 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
137 top_y_, merge fitcursor with update
138 (updateScrollbar, scrollDocView, fitCursor, center, update): new
141 (workAreaDispatch): adapt to new coord scheme
142 (redoCurrentBuffer): remove
144 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
146 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
149 * coordcache.[Ch]: add paragraph cache and helpers
151 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
154 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
155 (targetX, setTargetX): introduce
157 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
158 baseline -> ascent, as the rest of lyx
160 * lyxtext.h: remove redoParagraphs, updateParPositions,
161 fullRebreak, redoParagraphInternal. move dist to anon namespace in
162 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
163 have ascent/descent (ascent is ascent of first par)
165 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
168 * paragraph.[Ch]: unify dimension handling with the rest of lyx
170 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
172 * pariterator.C: fix infinite loop introduced in par->pit renaming
174 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
175 in insets and LyXText, draw two off-screen paragraphs using
176 NullPainter, and adapt to new coord scheme
180 * text3.C: adapt lfun handlers to the new coord scheme, which
181 means: there's only guaranteed coord information for onscreen pars
182 plus one above and one below. This implies that one can do search
183 from y coordinates in the range [-1,workHeight]
185 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
187 * rename a lot of InsetOld to InsetBase
189 2004-11-25 Angus Leeming <leeming@lyx.org>
191 * BufferView_pimpl.C:
193 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
195 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
198 call BufferView::getStatus if LCursor::getStatus did nothing
199 (setStatusMessage, getStatusMessage): removed.
201 * FuncStatus.C (message): new methods. Used to provide an error
202 message indicating why a command is disabled.
203 (clear, |=, FuncStatus): update for message.
205 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * lyxfunc.C (dispatch): always call sendDispatchMessage
209 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
212 * BufferView_pimpl.C:
226 * undo.C: par->pit renaming
228 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
230 * tabular.C (cellstruct): use initialization, store a shared_ptr
231 to insettext instead of the insettext directly, adjust to fit.
232 (operator=): new function
234 (rowstruct): use initialization
235 (columnstruct): use initialization
236 (ltType): use initialization
239 * lyxlength.h (swap): new function
241 * LColor.[Ch] (operator=): use the common semantics
243 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * lyxfind.C (findNextChange): update the bufferview after setting
248 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
251 number of InsetOptArgs has already been inserted.
253 * output_latex.C (latexOptArgInsets): new method. This outputs all
254 the optarg insets, up to the limit defined in the layout file.
255 (optArgInset): removed
256 (TeXOnePar): call latexOptArgInsets; correctly update texrow
258 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * paragraph.C (isLetter): remove special spellchecker-related
261 code; return true also for digits
262 (isWord, isKomma): remove
264 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
265 * lyxfind.C (MatchString()): use isLetter instead of isWord
267 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
269 * pariterator.h (operatir=): comment out un-implemented member
272 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
275 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * lyxfont.h: include LColor.h to satisfy concept checks.
279 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
281 * pariterator.h: add typdefs for value_type, difference_type,
282 pointer and reference to satisfy concept checks. Also add default
283 constructor for same reason.
285 * pariterator.C (operator++): add post-increment operator to
286 satisfy concept checks.
288 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
291 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
293 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
294 checks. Also rename base_type to BaseType to follow naming
297 * FloatList.h: include Floating.h to satisfy concept checks.
299 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * lyxfunc.C (getStatus): when the origin of the request is menu or
302 toolbar, and the LyXView does not have focus, do as if there was
305 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
306 FuncRequest to individual entries of LFUN_SEQUENCE
308 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * output_latex.C (TeXOnePar): override runparams.moving_arg
311 according to the needprotect value of the current paragraph (bug
314 * paragraph.C (simpleTeXOnePar): no need to override
315 runparams.moving_args here
317 2004-11-14 John Spray <spray_john@users.sourceforge.net>
319 * vspace.C: fix off-by-one-error, related to fix #1682
321 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * lengthcommon.C: a more general fix for bug 1682
325 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
327 * text.C (backspace): fix crash
329 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * format.[Ch] (getFormatFromFile): new method
332 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
334 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
338 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * lyxfunc.C (dispatch): remove the verbose argument
341 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
344 * kbmap.C (defkey): set the origin of func to KEYBOARD
346 * MenuBackend.C (MenuItem):
347 * ToolbarBackend.C (add): set the origin of func to UI
349 * funcrequest.[Ch]: add origin member, which indicates which part
350 of LyX requests an action
352 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * converter.C (move): don't lie in the error message
355 * converter.h (isReachable, move): document
357 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
359 * buffer.C: remove unused using lyx::support::atoi
360 * paragraph_funcs.C: ditto
362 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * bufferlist.C (exists): use bind and equal_to instead of
367 * lyxtextclasslist.C (NumberOfClass): ditto
369 * cursor.C (insert): use for_each instead of explicit for loop
371 * bufferlist.C (getFileNames): use std::transform and
372 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
374 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
377 * buffer.C (changeLanguage): use for_each instead of explicit for
379 (hasParWithID): implement using getParFromID
381 * LaTeXFeatures.C: ws change only
383 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
386 * BufferView_pimpl.C (trackChanges): use for_each instead of
389 2004-11-04 André Pönitz <poenitz@gmx.net>
392 * undo.C (textUndoOrRedo): fix crash when creating undo information.
394 * dociterator.C (asDocIterator): use hard assert again.
396 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyxlength.C (asLatexString): rewrite so that it does not use
401 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * text3.C (specialChar, dispatch): make sure cursor moves to the
404 right after inserting an inset
406 2004-11-02 José Matos <jamatos@lyx.org>
408 * output_docbook.C (docbook):
409 * paragraph.C (getID):
410 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
411 garantee that the output is always legal.
413 * tabular.C (docbook):
414 * outputprams.[Ch]: remove mixed contents.
416 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
418 * text2.C (setCounter): prevent endless loop
420 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * exporter.C (copyFile): use the mover instead of support::copy()
423 * exporter.C (Export): pass format and latex name to copyFile()
424 * exporter.h (addExternalFile): document
425 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
427 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
429 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
431 2004-10-30 José Matos <jamatos@lyx.org>
433 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
434 text and no inset or font change. This allows to use CDATA
435 sections just for the whole paragraph.
437 2004-10-30 José Matos <jamatos@lyx.org>
439 * paragraph.C (getFirstWord): remove unused variable.
441 2004-10-30 José Matos <jamatos@lyx.org>
443 * paragraph.C (getFirstWord): the content should always be escaped
445 (simpleDocBookOnePar):
446 * output_docbook.C (makeEnvironment): replace reference to CDATA
449 2004-10-30 José Matos <jamatos@lyx.org>
451 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
453 2004-10-30 José Matos <jamatos@lyx.org>
455 * output_docbook.C (makeParagraphs):
456 * paragraph.[Ch] (emptyTag): for docbook and company, if the
457 standard paragraph has only a given type of content drop the wrapper.
459 2004-10-29 José Matos <jamatos@lyx.org>
461 * output_docbook.C (makeEnvironment):
463 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
465 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
467 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
468 (cleanID): sanitize any id.
470 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
472 * buffer.C, lyxlex_pimpl.C:
473 * lyxlex_pimpl.C (setFile):
474 s/getExtFromContents/getFormatFromContents/
476 2004-10-28 José Matos <jamatos@lyx.org>
478 * output_docbook.C (makeEnvironment): move id to broadest possible
481 * sgml.C (openTag): apply substitution of <> for all attributes.
483 2004-10-28 José Matos <jamatos@lyx.org>
485 * buffer.C (makeLinuxDocFile, makeDocBookFile):
486 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
487 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
489 * sgml.[Ch]: new version for open and closeTag for paragraph and
490 for strings. Now they handle the ids of paragraphs.
492 2004-10-26 Angus Leeming <leeming@lyx.org>
494 * Makefile.am: add mover.[Ch].
496 * converter.C (convert, move): use the new Movers to move external
497 files to the temp directory.
499 * lyx_main.C (init): ensure that the global system_movers data
502 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
505 * mover.[Ch]: new files, defining a Mover as a utility to move an
506 external file between directories and, if necessary, manipulate this
507 file using a helper script.
509 2004-10-25 José Matos <jamatos@lyx.org>
511 * output_docbook.C (makeCommand): merge two if's that tested the
514 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * sgml.C (escapeString): fix warning in a better way
518 2004-10-25 José Matos <jamatos@lyx.org>
520 * sgml.C (escapeString): import the require boosts header file for
521 tie, and avoid a signed unsigned comparison.
523 2004-10-25 José Matos <jamatos@lyx.org>
525 * sgml.h: add #include <string>
527 2004-10-25 José Matos <jamatos@lyx.org>
529 * sgml.[Ch] (escapeString): new function to escape all the string.
531 2004-10-24 José Matos <jamatos@lyx.org>
533 * paragraph.[Ch] (getFirstWord): new function to get the first
534 word. Useful for description.
535 (simpleDocBookOnePar): remove depth argument, add another that
536 says where to start the paragraph.
538 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
539 use the new functions to fix cleanly the support for descriptions.
541 2004-10-24 José Matos <jamatos@lyx.org>
543 * buffer.C (makeLinuxDocFile, makeDocBookFile):
544 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
545 * output_linuxdoc.C (linuxdocParagraphs):
546 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
547 add buffer as argument.
549 2004-10-24 José Matos <jamatos@lyx.org>
551 * output_docbook.C (makeEnvironment, searchEnvironment): place
552 CDATA inside paragraphs and fix scope for listitems.
554 2004-10-24 José Matos <jamatos@lyx.org>
556 * output_docbook.C: remove using statement for stack.
558 2004-10-23 José Matos <jamatos@lyx.org>
560 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
561 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
562 docbook. The new scheme is recursive and makes use of iterators, the
563 same as latex export works.
564 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
565 directly with the paragraph contents. This code was moved up to
566 output_docbook.C (docbookParagraphs).
567 * sgml.C (openTag, closeTag): removed unneeded newlines.
568 (closeEnvTags) removed.
570 2004-10-23 André Pönitz <poenitz@gmx.net>
572 * undo.C (textUndoOrRedo):
573 * dociterator.C (asDocIterator): work around crash
575 * cursor.C (getStatus): replace ASSERT by more verbose error message
576 and manual correction of the problem. Should increase stability
577 while providing more sensible information.
579 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
583 * bufferlist.C (previous, next): new methods
586 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
588 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
590 * buffer.C (makeDocBookFile): add dsssl stylesheet control
591 entities to preamble.
593 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
595 * messages.C (Pimpl): strip off translation context information
597 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
600 the cursor is correct (bug 1694)
602 2004-10-13 José Matos <jamatos@lyx.org>
604 * output_docbook.C (docbookParagraphs): fix closing tags in the
607 2004-10-09 José Matos <jamatos@lyx.org>
609 * buffer.C: format up to 237.
610 * bufferparams.C (write): use tostr to convert booleans to strings.
612 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
614 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
616 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
618 * LaTeX.C: implement use of babel language in xindy.
620 2004-10-05 José Matos <jamatos@lyx.org>
622 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
623 Add new translators to help reading and writing the lyx file.
625 2004-10-05 José Matos <jamatos@lyx.org>
627 * ParagraphParameters.C (read):
628 * text.C (readParToken): replace nexToken by more appropriate lex
631 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
633 * LaTeX.C (runMakeIndex):
634 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
635 (usually 'makeindex') configurable.
637 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
638 with a variable rather than with a number.
640 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * output_latex.C (TeXOnePar): make sure font setting is the first
643 thing that gets output (and the last at the end). Should fix bug
646 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
648 * pch.h: use proper signal include
650 * LaTeX.h: Use preferred calling of Boost.Signal
653 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
655 * pch.h: dont include <boost/function/function0.hpp>
657 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
659 * paragraph_pimpl.h: remove usage of ShareContainer
661 * paragraph_pimpl.C: remove initialization of ShareContainer.
663 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * BufferView.C (putSelectionAt): change the semantics when
668 backwards == true: now, this just swaps cursor and anchor wrt the
671 * BufferView.h (putSelectionAt): add some documentation
673 * lyxfind.C (findBackwards): rewrite using while(). In particular,
674 make sure backwardChar is done at least once (to avoid getting
676 (findNextChange): use putSelectionAt in the forward direction
677 (operator()): use Paragraph::isWord
679 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
681 * Spacing.C (set): c_str fix
683 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * lyx_cb.C (Reconfigure): quote the name of configure script in
686 case it contains spaces
688 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
692 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
693 (BOOST_LIBS): use top_buildir when looking for the file
695 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * pch.h: do not use include boost/format.hpp, multiple symbols
698 will result (gcc bug)
701 2004-08-23 José Matos <jamatos@lyx.org>
703 * bufferparams.C (readToken): fix reading of the author field.
705 2004-08-20 José Matos <jamatos@lyx.org>
707 * lyxrc.C: remove support/translator.h inclusion since it is not used.
709 2004-08-20 José Matos <jamatos@lyx.org>
711 * lyxlex.[Ch] (findToken): remove function.
713 * ParagraphParameters.C (findToken):
714 * bufferparams.C (findToken): replace call for previous function
715 with local copy. This local function has one more argument, the
716 read string argument.
718 2004-08-16 José Matos <jamatos@lyx.org>
720 * ParagraphParameters.C (write):
721 * Spacing.C (writeFile):
722 * bufferparams.C (writeLaTeX):
723 * lyx_cb.C (Reconfigure):
724 * paragraph.C (write):
725 * tabular.C (write): remove unnecessary space at end of line.
728 2004-08-16 José Matos <jamatos@lyx.org>
730 * text.C (readParagraph): remove debug message.
732 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
734 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
737 * output_plaintext.C (asciiParagraph): set depth correctly
739 * outputparams.h: add member depth
741 * paragraph_funcs.C (ownerPar): remove.
743 * text2.C (setCounter): remove first_pit; comment out some
744 non-working code that uses ownerPar
746 * BufferView.C (getParentLanguage): remove. Not used anymore, and
749 2004-08-16 José Matos <jamatos@lyx.org>
751 * text.C (readParToken, readParagraph, read): report all unknown tokens.
752 For the same level of importance use the same chanel to report problems.
753 (read): add code to deal with \begin_body and \end_body.
756 2004-08-15 José Matos <jamatos@lyx.org>
758 * lyxlex.C (getString): fix comment, buffer::readBody is now
761 * tex-strings.C (string_papersize): Default -> default,
762 Custom -> custom, for consistency with other options.
764 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
768 * Makefile.am: support pch
770 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * text.C (readParToken): remove the static LyXFont variable and
773 pass it as a parameter instead. This fixes a nasty bug where an
774 inset will be inserted with a bad font in some situations
775 (readParagraph): adapt
777 * text2.C (setCounter): reduce number of calls to pars_[pit]
779 * text.C (singleWidth): add an assert, fix a test
781 * rowpainter.C (paintText): reduce number of calls to singleWidth
783 * paragraph.C (isHfill):
786 2004-08-14 André Pönitz <poenitz@gmx.net>
791 * lyxtext.h (several functions): use a Paragraph & argument
794 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * metricsinfo.h: add a new field ltr_pos to PainterInfo
798 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
800 * text.C (singleWidth): remove useless test
802 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * tabular.h: remove bogus comments
806 * tabular.C (getDescentOfRow):
807 (isPartOfMultiColumn): add assertions
809 * lyxlength.C (inPixels): remove #warning
811 2004-08-14 André Pönitz <poenitz@gmx.net>
813 * paragraph.h: inline getChar()
815 * BufferView.h: remove unused declarations
817 2004-08-14 José Matos <jamatos@lyx.org>
819 * Buffer.[Ch] (readDocument): new name for old readBody.
820 * Buffer.C: new file format, new keywords: \begin_document,
821 \begin_header, \begin_body, \end_body.
823 * bufferparams.C (readToken): replace all calls to lex.nextToken
824 by lex.next(). Do the same to eatLine except where really needed.
826 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
827 line when writing to the lyx file.
829 * output_plaintext.C (asciiParagraph): fix Bibliography style
832 * text.C (read): fix end of file handling.
834 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
836 * MenuBackend.C (Menu::operator[]): new method to access
837 individual menu items
838 (Menu::hasFunc): new method. search for an item that corresponds
840 (MenuBackend::specialMenu): new method
841 (MenuBackend::expand): if a special menu has been set, skip
842 entries whose func() appears in this menu
844 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
846 * text3.C: use Debug::DEBUG a bit more
848 * text.C (leftMargin): try to simplify a tiny bit change var x to
849 l_margin. Dont output the wide margins always.
850 (rightMargin): no margin in inner texts
852 * rowpainter.h (nestMargin): new func
853 (changebarMargin): new func
854 (rightMargin): new func
856 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
860 * factory.C (createInset): modify setDrawFrame
862 * cursor.C: use Debug::DEBUG a bit more
864 2004-08-14 André Pönitz <poenitz@gmx.net>
867 * Makefile.am: new files to accomodate an 'external' (x,y)-position
868 cache for all insets in (at least partially) visible (top-level)
871 * BufferView_pimpl.C: reset external coord cache before every update.
872 This means the coord cache only contains valid entries.
874 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
877 * BufferView_pimpl.C (getInsetByCode): move function out of class
878 and change in to a template in anon namespace. Also fix to do what
881 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
884 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
886 (breakParagraph): rename par to par_offset and use a local
887 reference. Add code to keep the language over a rebreak.
888 (breakParagraphConservative): rename par to par_offset, use a
890 (mergeParagraph): ditto
892 (isFirstInSequence): ditto
893 (outerFont): rename pit to par_offset
895 * paragraph.C: ws change
900 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
905 * paragraph.C (simpleTeXOnePar): when we have a \item with
906 optional argument, enclose the argument with curly brackets (in
907 case it contains a closing square bracket)
911 * text3.C (checkInsetHit): constify
913 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
918 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 Fix toggling of collapsable insets with the mouse (bug 1558)
922 * lyxfunc.C (dispatch): adapt to LCursor changes
924 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
925 make sure that dispatch is not invoked twice
927 * cursor.C (needsUpdate): new method
928 (dispatch): return void
929 (result): new method, to access the DispatchResult of the cursor.
931 2004-08-13 José Matos <jamatos@lyx.org>
933 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
935 2004-08-13 André Pönitz <poenitz@gmx.net>
937 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
939 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
942 2004-08-12 André Pönitz <poenitz@gmx.net>
944 * text3.C: take out the 'cursor right' form insertInset and only
945 do it in those places when it is really needed. Fixes crash on
948 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
950 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
952 * BufferView_pimpl.C (setBuffer): initialize the current font of
953 the underlying LyXText
955 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * kbsequence.C (print): use UI native formatting for menu
960 * text.C (insertChar): call Paragraph::insertChar with a font
963 * paragraph.C (insertInset, insertChar): the version that takes a
964 LyXFont argument is now a wrapper around the other one (the
965 opposite used to be true).
967 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
968 argument. Font setting is done in Paragraph now.
970 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * outputparams.h: add new members intitle and lang.
974 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
975 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
977 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
979 * text3.C (dispatch): remove special handling of button 4 and 5,
980 it is now taken care of in the frontend code.
982 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
984 * Spacing.h: add <string> (STLPort compile fix)
986 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
988 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
990 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
992 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
995 * converter.C (showMessage): inherit from unary_function, make
998 * buffer.C (writeFile): initialize retval
1000 * InsetList.h: rename private variable list to list_
1001 * InsetList.[Ch]: adjust accordingly.
1003 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1005 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1006 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1007 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1008 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1009 * ParagraphParameters.C, LaTeXFeatures.C: replace
1010 "support/std_sstream.h" with <sstream>
1012 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1014 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1015 * lyxsocket.C (LyXServerSocket): ditto
1016 (serverCallback): ditto
1018 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1020 * LaTeXFeatures.C: check release date when loading jurabib.
1022 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1024 * lyxserver.C (startPipe): call register_socket_callback
1025 (endPipe): call unregister_socket_callback
1027 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1029 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1030 (LyXServerSocket): register the callback
1031 (LyXServerSocket): unregister the callback
1032 (fd): delete function
1033 (serverCallback): improve error checking and setup the callbacks.
1034 (dataCallback): change arg to fd.
1035 (writeln): new func (copied fro the client socket) used for server
1037 (LyXDataSocket): simplify
1038 (~LyXDataSocket): close ann unregiser callback
1039 (server): delete function
1040 (fd): delete function
1041 (readln): small changes, improve some std::string usage
1042 (writeln): constify a bit
1044 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1046 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1049 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1052 after it has been populated
1054 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * text2.C (insertInset): move cursor when inserting inset.
1058 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1060 * kbmap.C (findbindings): a couple of new methods. returns a
1061 container of kb_sequence objects. The real work is done by the
1062 private recursive version
1063 (printbindings): uses findbindings to print out a bracketed list
1064 of bindings (renamed from findbinding).
1066 * MenuBackend.C (binding): use kb_keymap::findbindings
1068 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1070 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1072 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1074 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1076 * paragraph.C (isWord): return true on insets that report
1079 * text.C (getWord): use Paragraph::isWord to decide what is in a
1080 word and what is not; fix bug 1609.
1082 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1084 * tex-strings.C: add "none" to string_paperpackages[], fixes
1085 off-by-one-error in the paperpackage selection.
1088 * tex-strings.[Ch]: char const * string[n]
1089 -> char const * const string[]
1091 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1094 command, return early.
1096 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1098 * debug.h: add DEBUG to enum and fix size of ANY.
1100 * debug.C: add support for Debug::DEBUG
1101 (showTags): cast errorTags.level to unsigned int
1103 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1104 (redoCurrentBuffer): ditto
1105 (updateScrollbar): ditto
1106 * cursor.C (dispatch): ditto
1107 * text2.C (setLayout): ditto
1109 (updateCounters): ditto
1111 (deleteEmptyParagraphMechanism): ditto
1113 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1115 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1116 annotations to cleanup the Makefile slightly.
1118 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * lyxrc.C: do not set user_email to a default value but use empty
1121 instead. The entry used to be translated, which does not work
1122 since at the point where lyxrc is constructed there is no
1123 translation service available
1125 * messages.C (getLocaleDir): remove and use directly
1126 lyx_localedir() instead
1128 2004-06-02 Angus Leeming <leeming@lyx.org>
1130 Fix crash caused by dereferencing null pointer 'exportdata' in
1131 OutputParams by creating a new ExportData variable on the heap,
1132 storing it in a boost::shared_ptr.
1133 The crash was triggered when generating an Instant Preview
1134 of an external inset.
1136 * Makefile.am: add outputparams.C
1138 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1139 (c-tor): allocate memory to it.
1141 * exporter.C (c-tor): associated changes.
1143 2004-06-01 Angus Leeming <leeming@lyx.org>
1145 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1146 contains data before calling isInset(0). (Bug 1513.)
1148 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * exporter.C (checkOverwrite): new method
1151 * exporter.C (copyFile): new method
1152 * exporter.C (Export): copy referenced files to the document dir
1153 * exporter.[Ch]: new class ExportedFile
1154 * exporter.[Ch]: new class ExportData. Contains currently the
1155 names of referenced external files
1156 * outputparams.h: add exportdata member.
1158 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1163 2004-05-19 Angus Leeming <leeming@lyx.org>
1168 * lyxfunc.C: small changes due to the introduction of namespace
1169 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1171 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1173 * text3.C (dispatch): supress update when only moving the cursor
1174 * cursor.C (selHandle): remove commented code
1176 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1178 * paragraph.C (startTeXParParams): correct column count
1179 * CutAndPaste.C (pasteSelection): remove const_cast
1180 * output_docbook.C (docbookParagraphs): remove const_cast
1181 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1182 const_cast and return ParagraphList::const_iterator
1183 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1184 * output_plaintext.C (writeFileAscii): remove const_cast
1185 * paragraph.[Ch] (simpleTeXOnePar): make const
1186 * paragraph_funcs.C (outerPar): use const iterators
1187 * paragraph_pimpl.C (validate): use const iterators
1188 * text.C (setHeightOfRow): use const iterators
1190 2004-05-17 Angus Leeming <leeming@lyx.org>
1193 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1195 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1196 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1197 if the citation engine has changed.
1199 2004-05-14 José Matos <jamatos@lyx.org>
1201 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1202 if the textclass does not provide it. Have it different for sgml and
1204 support the language of document.
1205 * output_docbook.C (docbookParagraphs):
1206 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1207 first anchor as the id of the paragraph, remove special case code.
1208 * sgml.C (escapeChar): escape only < & >.
1210 2004-05-14 Angus Leeming <leeming@lyx.org>
1212 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1213 dependencies on src/frontends/controllers/biblio.h. Define a
1214 CiteEngine_enum wrapper class to enable the enum to be forward
1217 2004-05-12 Angus Leeming <leeming@lyx.org>
1219 * buffer.C: up LYX_FORMAT to 234.
1220 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1221 use_numerical_citations with a single biblio::CiteEngine cite_engine
1223 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1225 2004-05-13 José Matos <jamatos@lyx.org>
1228 * converter.C (Converter, readFlags): add xml member.
1229 * outputparams.h: add XML flavor.
1230 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1232 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * lyxfunc.C (dispatch):
1235 (getStatus): fix handling of LFUN_SEQUENCE
1237 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * debug.C (showLevel): do not forget the end-of-line marker
1241 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1243 * kbmap.C (read): do not stop parsing a bind file when an error
1246 2004-04-29 Angus Leeming <leeming@lyx.org>
1251 * text2.C: wrap a bunch of #warning statements
1252 inside #ifdef WITH_WARNINGS blocks.
1254 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1256 * buffer.C: increment format to 233.
1258 2004-04-28 Angus Leeming <leeming@lyx.org>
1260 * BufferView_pimpl.C:
1263 s/updateToolbar()/updateToolbars()/
1264 s/Toolbar.h/Toolbars.h/
1266 2004-04-28 Angus Leeming <leeming@lyx.org>
1268 * BufferView.[Ch] (c-tor):
1269 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1270 No longer passes these data to the WorkArea generator.
1272 2004-04-28 Angus Leeming <leeming@lyx.org>
1274 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1276 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1278 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1280 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1282 * output_latex.C (TeXEnvironment): make sure that there is a line
1283 break before \end{foo} for the last paragraph of a document
1284 (TeXOnePar): if the paragraph is at the end of the document (or
1285 inset) and the language has to be reset, then make sure that the
1286 line break is _before_ the language command, not after (fixes bug
1287 1225); also make sure that the language reset command is the first
1288 thing after the paragraph (to ensure proper nesting of
1289 environments and thus fix bug 1404)
1291 2004-04-21 John Levon <levon@movementarian.org>
1294 * ToolbarBackend.C: make "name" be a programmatic name
1295 and a gui_name field.
1297 * lyxfunc.C: display the minibuffer on M-x
1299 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1304 2004-04-19 Angus Leeming <leeming@lyx.org>
1306 * BufferView_pimpl.C (setBuffer): changed preview interface.
1308 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1311 2004-04-19 John Levon <levon@movementarian.org>
1313 * BufferView_pimpl.C:
1314 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1316 2004-04-05 Angus Leeming <leeming@lyx.org>
1318 * text.C (redoParagraphs): add call to updateCounters(), thereby
1319 fixing the missing "Figure #:" label from the caption of a
1322 2004-04-13 Angus Leeming <leeming@lyx.org>
1324 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1325 cursor is clicked out of an inset.
1327 2004-04-13 Angus Leeming <leeming@lyx.org>
1329 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1330 than an InsetOld one.
1332 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1334 * format.[Ch]: add editor to Format
1335 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1336 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1338 2004-04-08 André Pönitz <poenitz@gmx.net>
1340 * metricsinfo.h: remove PainterInfo::width member
1342 2004-04-08 Angus Leeming <leeming@lyx.org>
1344 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1345 "\providecommand" rather than "\newcommand", thereby preventing
1346 clashes with packages that define "\boldsymbol" themselves.
1349 2004-04-08 Angus Leeming <leeming@lyx.org>
1351 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1352 thereby squashing an unnecessary warning.
1354 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1356 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1359 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1361 * BufferView.C (setCursor): call redoParagraph (some insets could
1363 (putSelectionAt): remove the 'double update' trick
1365 * BufferView_pimpl.C (fitCursor): call refreshPar
1366 (workAreaDispatch): remove an uneeded update call
1367 (dispatch): remove some manual update calls
1369 * cursor.[Ch]: remove cached_y_, updatePos
1370 (selHandle): set noUpdate when appropriate
1372 * lyxfunc.C (dispatch): track if we need an update
1374 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1376 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1377 (paintSelection): cheap optimization, do not call cursorX when not
1379 (paintPars): change signature
1382 (paintTextInset): adjust
1386 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * lengthcommon.C: compilation fix: remove explicit array size from
1389 unit_name[] and friends
1391 2004-04-05 Angus Leeming <leeming@lyx.org>
1393 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1395 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1396 present only for the preferences dialog.
1397 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1399 2004-04-05 Angus Leeming <leeming@lyx.org>
1401 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1402 to enable the frontends to export changes to lyxrc correctly.
1404 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1406 2004-04-07 André Pönitz <poenitz@gmx.net>
1408 * cursor.[Ch] (selClear, adjust): remove math
1410 * cursor_slice.C: more agressive assert
1413 * BufferView_pimpl.C: rework mouse event dispatch
1420 2004-04-05 André Pönitz <poenitz@gmx.net>
1422 * cursor.[Ch] (valign, halign...): remove unneeded functions
1424 2004-04-05 Angus Leeming <leeming@lyx.org>
1426 * lyxlength.[Ch] (unit_name et al.): const-correct.
1428 2004-04-05 Angus Leeming <leeming@lyx.org>
1430 * BufferView_pimpl.C:
1439 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1441 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1443 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1445 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1447 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1448 * BufferView_pimpl.[Ch] (getStatus)
1449 * BufferView.[Ch] (getStatus): add
1450 * lyxfunc.C (getStatus): move lfuns handled in
1451 BufferView::dispatch to te function above
1452 * Cursor.C (setSelection): set selection() = true
1454 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1456 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1458 2004-03-31 Angus Leeming <leeming@lyx.org>
1460 * lyxfunc.C (dispatch): Fall through to the generic
1461 Dialogs::show("preamble").
1463 2004-03-31 Angus Leeming <leeming@lyx.org>
1465 * lyxfunc.C (dispatch): Fall through to the generic
1466 Dialogs::show("spellchecker").
1468 2004-03-31 Angus Leeming <leeming@lyx.org>
1470 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1473 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1478 * insetiterator.[Ch]:
1483 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1485 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1487 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1488 insets where we are putting the cursor.
1490 2004-03-31 Angus Leeming <leeming@lyx.org>
1493 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1495 * lyxrc.[Ch] (read, write): overloaded member functions taking
1496 a std::[io]stream arguments.
1498 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1500 2004-03-31 Angus Leeming <leeming@lyx.org>
1502 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1503 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1505 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1506 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1508 2004-03-31 Angus Leeming <leeming@lyx.org>
1510 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1511 the LFUN_ALL_INSETS_TOGGLE code.
1513 2004-03-30 Angus Leeming <leeming@lyx.org>
1515 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1516 has died. Fall through to the generic Dialogs::show("document").
1518 2004-03-30 Angus Leeming <leeming@lyx.org>
1521 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1522 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1524 * lyxfunc.C (getStatus, dispatch): define the actions for these
1525 lfuns. Little more than a cut and pste job from ControlDocument.C
1527 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1529 2004-03-30 Angus Leeming <leeming@lyx.org>
1532 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1533 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1535 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1536 open/closed state of ollapsable insets. Usage:
1538 all-inset-toggle <state> <name>, where
1539 <state> == "open" || "closed" || "toggle" and
1540 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1542 * lyxtext.h, text2.C (toggleInset): removed.
1544 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1545 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1546 now passes LFUN_INSET_TOGGLE to the found inset.
1548 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1549 is now invoked as "all-insets-toggle toggle branch".
1551 2004-03-30 Angus Leeming <leeming@lyx.org>
1555 * pariterator.[Ch]: added/corrected header blurb.
1557 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1559 * dociterator.[Ch]: add an inset_ member
1560 (backwardPos): implemented
1561 (backwardPos, forwardPos): use inset_ when the stack is empty.
1562 (doc_iterator_begin, doc_iterator_end): implemented
1563 * pariterator.[Ch]: adjust, add begin, end
1564 * insetiterator.[Ch]: adjust, add begin, end
1568 * BufferView_pimpl.C:
1569 * CutAndPaste.C: adjust
1571 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1573 * buffer.C: increment file format to 232.
1574 * LaTeXFeatures.C: add bibtopic package.
1575 * bufferparams.[Ch]: param \use_bibtopic.
1577 * lyxrc.[Ch]: add lyxrc bibtex_command
1578 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1580 * buffer.C: increment file format to 231.
1582 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1584 * dociterator.C: implement forwardPar
1585 * iterators.[Ch]: remove, replaced by
1586 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1588 * BufferView_pimpl.C:
1591 * bufferview_funcs.C:
1597 * Makefile.am: adjust
1599 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1601 * CutAndPaste.C (pasteSelection): fix 2 crashes
1602 (eraseSelection): fix a crash
1603 * paragraph_funcs.C: remove a warning
1605 2004-03-28 Angus Leeming <leeming@lyx.org>
1608 * LyXAction.C (init): new LFUN_PRINT.
1610 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1612 2004-03-27 Angus Leeming <leeming@lyx.org>
1615 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1617 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1619 2004-03-27 Angus Leeming <leeming@lyx.org>
1621 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1622 insetlist always contains non-null pointers to insets.
1624 2004-03-26 Angus Leeming <leeming@lyx.org>
1626 * src/BufferView_pimpl.C:
1627 * src/CutAndPaste.C:
1630 * src/output_plaintext.C:
1631 * src/outputparams.h:
1632 * src/paragraph_funcs.C:
1636 * src/frontends/controllers/ControlErrorList.C:
1637 * src/frontends/gtk/FileDialogPrivate.C:
1638 * src/frontends/gtk/GPainter.C:
1639 * src/frontends/gtk/GToolbar.C:
1640 * src/frontends/qt2/QRef.C:
1641 * src/mathed/math_scriptinset.C: squash compiler warnings.
1643 2004-03-26 Angus Leeming <leeming@lyx.org>
1645 * ispell.C (LaunchIspell::start):
1646 * lyx_cb.C (AutoSaveBuffer::start):
1647 invoke run(DontWait) rather than runNonBlocking().
1649 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1651 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1653 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1655 * kbsequence.C (print): adjust
1657 * kbmap.C (printKeySym): rename and change signature
1658 (printKey): use LyXKeySym::print()
1660 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1662 * undo.C: add using std::advance to compile for stlport
1664 2004-03-24 Angus Leeming <leeming@lyx.org>
1666 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1667 it leads to a crash when no buffer is present.
1669 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1670 Martin Vermeer <martin.vermeer@hut.fi>
1672 * lyxfunc.C (dispatch):
1673 * bufferparams.C (readToken): use the new LColor::setColor
1675 * LColor.[Ch] (setColor): new version that takes two strings as
1676 argument and creates a new color entry if necessary
1678 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1680 * buffer.C (makeLaTeXFile): if the main latex file that is
1681 processed is usually a subdocument of some master, then pretend
1682 for a while that it is actually the master
1684 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1686 * buffer.C (getLabelList):
1687 (getBibkeyList): use getMasterBuffer()
1688 (getMasterBuffer): new method. Returns the main document in the
1689 case where one is using included documents.
1691 2004-03-25 André Pönitz <poenitz@gmx.net>
1695 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1697 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1699 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1700 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1702 * ParameterStruct.h: merge with ParagraphParameters
1704 * lyxtext.h: remove LyXText::parOffset() and getPar()
1706 * text3.C: Remove all 'manual' update calls. We do now one per user
1707 interaction which is completely sufficient.
1711 * BufferView_pimpl.C:
1712 * FontIterator.[Ch]:
1714 * ParagraphParameters.[Ch]:
1719 * cursor_slice.[Ch]:
1726 * output_docbook.[Ch]:
1727 * output_latex.[Ch]:
1728 * output_linuxdoc.[Ch]:
1729 * output_plaintext.[Ch]:
1731 * paragraph_funcs.[Ch]:
1732 * paragraph_pimpl.[Ch]:
1740 * frontends/controllers/ControlDocument.C:
1741 * frontends/controllers/ControlErrorList.C:
1742 * frontends/controllers/ControlSpellchecker.C:
1745 * insets/insetbase.h:
1746 * insets/insetbibitem.C:
1747 * insets/insetbox.C:
1748 * insets/insetbranch.C:
1749 * insets/insetcaption.C:
1750 * insets/insetcharstyle.C:
1751 * insets/insetcharstyle.h:
1752 * insets/insetcollapsable.C:
1753 * insets/insetcollapsable.h:
1754 * insets/insetert.C:
1755 * insets/insetfloat.C:
1756 * insets/insetfoot.C:
1757 * insets/insetmarginal.C:
1758 * insets/insetnote.C:
1759 * insets/insetoptarg.C:
1760 * insets/insettabular.C:
1761 * insets/insettext.C:
1762 * insets/insettext.h:
1763 * insets/insetwrap.C:
1764 * mathed/math_mboxinset.C:
1765 * mathed/math_nestinset.C:
1766 * mathed/math_scriptinset.C:
1767 * mathed/math_scriptinset.h:
1770 2004-03-24 Angus Leeming <leeming@lyx.org>
1772 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1773 deal with any child processes that have finished but are waiting to
1774 communicate this fact to the rest of LyX.
1776 2004-03-24 Angus Leeming <leeming@lyx.org>
1778 64-bit compile fixes.
1780 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1781 (c-tor): pass lyx::pos_types rather than ints.
1783 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1786 * text.C (Delete): compile fix.
1787 (getPar): ensure that function declaration is the same as that in
1790 2004-03-23 Angus Leeming <leeming@lyx.org>
1792 * ispell.C (LaunchIspell):
1793 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1794 a boost::shred_ptr rather than a std::auto_ptr.
1796 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1799 handle LFUN_FILE_INSERT_*
1801 * lyxrc.C (setDefaults, getDescription, output, read):
1802 * lyxrc.h: remove ps_command
1804 2004-03-22 Angus Leeming <leeming@lyx.org>
1806 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1807 Ensure that error_handler is processed once only and that all data
1808 is saved before attempting to output any warning messages.
1810 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1812 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1814 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1816 2004-03-19 André Pönitz <poenitz@gmx.net>
1818 * cursor.[Ch] (reset): take main text inset as argument
1820 * BufferView: adjust
1821 * BufferView_pimpl.C: adjust
1823 * paragraph.[Ch]: fix completely broken operator=()
1825 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * LColor.C (getFromLyXName): make sure that the color name is used
1830 2004-03-17 Angus Leeming <leeming@lyx.org>
1833 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1835 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1836 dialog and to kill a forked process.
1838 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1840 * text2.C (setCursorFromCoordinates): fix font problem
1842 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1844 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1845 bogus "rebuild cursor" code
1847 2004-03-11 André Pönitz <poenitz@gmx.net>
1849 * buffer.[Ch]: use InsetText instead of LyXText as container for
1852 * dociterator.[Ch]: drop the BufferView * member which is not needed
1853 anymore after the change to buffer.C
1855 * paragraph_funcs.C:
1859 * BufferView_pimpl.[Ch]:
1861 * cursor_slice.[Ch]: adjust
1863 * text3.C: fix bug in mathDispatch
1865 2004-03-08 André Pönitz <poenitz@gmx.net>
1867 * undo.[Ch]: use 'StableDocumentIterator' as base for
1870 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1873 * bufferparams.[Ch]: add jurabib support and param.
1875 * LaTeX.C: add FIXME/comment.
1877 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1879 * buffer.C: increment file format to 230.
1881 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1883 * cursor.C (dispatch): avoid infinite loops
1885 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1887 * rowpainter.C (paintSelection): fix x coordinates
1889 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1891 * text.C (rowBreakPoint): fix breaking before displayed insets
1893 2004-03-01 André Pönitz <poenitz@gmx.net>
1895 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1897 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1901 * BufferView_pimpl.C:
1909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1915 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1916 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1918 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1920 * Bidi.[Ch] (computeTables): const correctness
1921 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1922 fill_hfill, fill_label_hfill and x from Row
1923 * lyxtext.h: prepareToPrint returns a RowMetrics
1924 * rowPainter.C: adjust
1925 * text.C (prepareToPrint): use width, not textWidth. adjust
1926 (redoParagraphInternal, cursorX): adjust
1927 * text2.C (getColumnNearX): adjust
1928 (init): put a default value to the top LyXText::width
1930 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1932 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1934 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1936 * lyxtext.h: add FontIterator class
1938 * text.C (FontIterator, operator*, operator->, operator++): add
1939 (rowBreakPoint, setRowWidth): adjust (fixing a
1942 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 * BufferView_pimpl.C (workAreaDispatch): allow also
1945 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1947 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1949 * text.C (rowBreakPoint): fix a bug showing with very large insets
1951 2004-02-25 André Pönitz <poenitz@gmx.net>
1954 * cursor.[Ch]: move some mathed specific code to mathed
1956 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1958 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1959 use_tempdir in preferences
1960 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1962 * lyx_main.C: ensure that tempdir is valid
1963 * lyxlex.h: correct typo
1964 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1965 * paragraph.[Ch] (isMultiLingual): make const
1966 * cursor.[Ch] (openable): make const
1968 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1970 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1972 2004-02-20 André Pönitz <poenitz@gmx.net>
1974 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1976 * cursor.[Ch]: prepare for localized getStatus()
1982 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1984 2004-02-20 André Pönitz <poenitz@gmx.net>
1986 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1988 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1990 * text2.C (setCursorFromCoordinates): switch to absolute coords
1992 (cursorDown): adjust
1993 * text3.C (dispatch): adjust
1995 2004-02-16 André Pönitz <poenitz@gmx.net>
1997 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2000 * cursor_slice.[Ch]: remove unneeded acessor function
2002 * lyxtext.h: rename rtl() to isRTL()
2010 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2012 * rowpainter.C (paintSelection): coord fix
2014 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2016 * Spacing.C: compile fix
2018 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2020 * cursor.C (dispatch): restore current_ before returning
2022 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2024 * text2.C (cursorUp, cursorDown): fix coords
2027 2004-02-12 André Pönitz <poenitz@gmx.net>
2032 * text3.C: add LCursor & parameter to most cursor movement functions
2033 remove usage of LyXText::cursorRow() and cursorPar()
2035 * cursor.[Ch]: add textRow() needed members
2038 * BufferView_pimpl.C:
2041 * BufferView_pimpl.C: adjust
2043 2004-02-11 André Pönitz <poenitz@gmx.net>
2047 * BufferView_pimpl.C: shift undo/redo handling
2049 * cursor.[Ch]: fix mathed crash
2052 * lyxtext.h: move selectionAsText to LCursor
2060 * rowpainter.C: fix excessive drawing
2062 2004-02-06 André Pönitz <poenitz@gmx.net>
2065 * BufferView_pimpl.[Ch]:
2066 * text3.C: move some text specific LFUN handling
2068 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2070 * text3.C (checkInsetHit): adjust coords
2071 * text2.C (getColumnNearX): adjust coords
2072 (edit): adjust coords
2073 * text.C (getRowNearY): add two asserts
2075 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2078 * format.C: add using std::distance to compile on gcc 2.95/stlport
2080 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2082 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2084 2004-02-04 André Pönitz <poenitz@gmx.net>
2086 * BufferView.[Ch] (insertInset):
2087 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2092 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2094 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2095 on the default clause of the switch
2096 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2097 wasn't catched by LCursor::dispatch
2099 2004-02-03 André Pönitz <poenitz@gmx.net>
2102 * cursor.[Ch]: some additional asserts
2104 * undo.[Ch]: remove LyXText dependency in interface
2108 * lyxtext.h (firstPar, lastPar): remove dead functions
2113 * paragraph.[Ch]: adjust
2115 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2117 * lyxfind.C (find): fix argument order in call to ::find
2119 2004-02-02 André Pönitz <poenitz@gmx.net>
2121 * cursor.[Ch]: remove direct access to anchor
2123 * text.C: remove findText() hack
2125 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2127 * iterators.[Ch] (lockPath): remove in favour of...
2128 * BufferView.[Ch] (setCursor): this addition
2129 * BufferView.C (putSelectionAt): adjust
2130 * undo.C (performUndoOrRedo): adjust
2131 * lyxfunc.C (dispatch): adjust
2133 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2135 * iterators.C (lockPath): add a missing slice
2136 * undo.C (performUndoOrRedo): remove redundant positioning code
2138 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * vc-backend.C (scanMaster): ";" -> ';'
2142 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2144 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2145 std::binary_function
2147 * lyxtextclass.C (compare_name): rename to...
2148 (LayoutNamesEqual): ...this
2150 * lyxlex_pimpl.C (compare_tags): inherit from
2151 std::binary_function, put back into anon namespace
2153 * lyxfind.C (MatchString): inherig from std::binary_function
2154 (findChange): use empty() istead of !size()
2156 * format.C (FormatNamesEqual): new functor
2163 * converter.C (compare_Converter): rename to...
2164 (ConverterEqual): ...this, and fixup a bit.
2165 (getConverter): use it, and make function const
2166 (getNumber): use it, and make function const
2170 * bufferlist.C: add using boost::bind
2172 * MenuBackend.C (MenuNamesEqual): new functor
2173 (hasMenu): use it, and make function const
2174 (hasSubmenu): use nested bind to get rid of compare_memfun.
2176 2004-01-30 André Pönitz <poenitz@gmx.net>
2178 * BufferView_pimpl.C:
2181 * cursor_slice.[Ch]:
2184 * paragraph_funcs.C:
2185 * paragraph_funcs.h:
2189 * text3.C: move some of the edit(x,y) handling to the insets
2190 some coordinate changes.
2192 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2194 * text.C: add using statements for std::advance and std::distance
2196 * paragraph.C: add using statement for std::distance
2198 * lyxfind.C: add using statement for std::advance
2200 * cursor.C (region): remove std:: from swap
2201 (openable): use nucleus in stead of operator->
2203 * BufferView.C: add using statements for std::distance and std::swap
2205 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2207 * iterators.C: Remove the pimple, move the needed structures to
2208 the header file. Create accessor for the positions stack.
2209 (asPosIterator): remove function
2211 * PosIterator.C (PosIterator): move constructors to top of file
2212 (PosIterator): reimplement the constructor taking a ParIterator in
2214 (setFrom): new function
2215 (operator!=): inline it
2217 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2219 * lyxfind.C (replaceAll): use std::advance
2221 * iterators.h: inherit from std::iterator.
2223 * PosIterator.C (advance, distance): remove
2224 * PosIterator.h: interit from std::iterator.
2226 2004-01-26 André Pönitz <poenitz@gmx.net>
2229 * BufferView_pimpl.[Ch]:
2233 * bufferview_funcs.C:
2243 * output_linuxdoc.C:
2244 * output_plaintext.C:
2246 * paragraph_funcs.[Ch]:
2247 * paragraph_pimpl.[Ch]:
2253 * text3.C: more IU: dumps most of the rest of the mathcursor
2254 implementation into cursor.[Ch]; "globalize" a bit of it.
2256 2004-01-25 Angus Leeming <leeming@lyx.org>
2258 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2260 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2262 * LaTeXFeatures.h: add nice_ and nice() const
2263 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2265 2004-01-20 André Pönitz <poenitz@gmx.net>
2268 * BufferView_pimpl.C:
2270 * bufferview_funcs.C:
2272 * cursor_slice.[Ch]:
2283 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2284 LCursor and mathcursor parts to LCursor and InsetBase.
2286 2004-01-15 André Pönitz <poenitz@gmx.net>
2288 * cursor_slice.[Ch]: add a few covienience functions
2290 * funcrequest.[Ch]: remove BufferView * member
2292 * BufferView_pimpl.C:
2299 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2301 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2303 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2304 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2306 2004-01-13 André Pönitz <poenitz@gmx.net>
2309 * lyxtext.h: hide cursor and selection anchor behind accessor function
2312 * BufferView_pimpl.[Ch]:
2314 * bufferview_funcs.C:
2324 * cursor_slice.[Ch]: some integer type changes for inset unification
2326 * lyxcursor.[hC]: remove, it's CursorSlice now.
2329 * BufferView_pimpl.[Ch]:
2330 * bufferview_funcs.C:
2336 * textcursor.[Ch]: adjust
2338 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2340 * text2.C (undoSpan): add and use
2341 * text.C (breakParagraph): use undoSpan (fix bug 578)
2344 2004-01-08 Angus Leeming <leeming@lyx.org>
2346 * BufferView_pimpl.C (MenuInsertLyXFile):
2347 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2348 * lyxfunc.C (menuNew, open, doImport):
2349 FileFilterList change to the FileDialog open and save functions.
2351 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2353 * ShareContainer.h: make isEqual and isUnique adaptable
2355 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2357 2004-01-07 Angus Leeming <leeming@lyx.org>
2360 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2362 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2364 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2365 functions replacing find, replace and replaceAll.
2367 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2368 LFUN_WORDFIND(FORWARD|BACKWARD).
2370 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2372 * text.C (breakParagraph): remove an outdated #warning
2374 2004-01-07 André Pönitz <poenitz@gmx.net>
2376 * lyxfind.C: somewhat clearer logic
2378 * text.C: prevent crash in cursorX on unitialized row cache
2380 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2382 * lyxcursor.[Ch] (operator>): add
2383 * textcursor.C (selStart, selEnd): use std::min and std::max
2385 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2387 * Chktex.C: include boost/format.hpp
2389 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2391 * InsetList.C: replace functor MathcIt with adaptable functor
2393 (insetIterator): modify accordingly
2395 * BranchList.h: move the BranchNamesEqual functor here from...
2396 * BranchList.C: ... to here
2398 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2400 (add): replace a finding loop with std::find_if.
2402 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2404 * output_docbook.C: moving LatexParam functionality into
2407 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2409 * buffer.C: increment format to 229.
2411 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2414 * lyx_sty.[Ch]: remove minipageindent_def
2420 * text3.C: remove LFUN_INSET_MINIPAGE
2422 2003-12-28 Angus Leeming <leeming@lyx.org>
2424 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2426 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2428 * text2.C (setParagraph): fix off-by-one crash
2430 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2432 * output_docbook.C: header stuff for AGU
2434 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2436 * text2.C (redoCursor): remove
2439 * BufferView_pimpl.C: remove calls to redoCursor and
2440 setCursor(cursor.par(), cursor.pos()) all around
2442 2003-12-15 Angus Leeming <leeming@lyx.org>
2444 * buffer.C: up the format to 228.
2446 2003-12-15 André Pönitz <poenitz@gmx.net>
2448 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2453 * BufferView_pimpl.C:
2462 2003-12-15 Angus Leeming <leeming@lyx.org>
2464 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2465 than getFromGUIName to manipulate the color.
2467 2003-12-14 Angus Leeming <leeming@lyx.org>
2469 * BranchList.[Ch]: minimize the API.
2470 (Branch::getBranch, getColor): now return a 'const &'.
2471 (Branch::setSelected) now returns a bool set to true if the
2472 selection status changes.
2473 (BranchList::clear, size, getColor, setColor, setSelected,
2474 allBranches, allSelected, separator): removed.
2475 (BranchList::find): new functions, returning the Branch with
2477 (BranchList::add, remove): return a bool indicating that
2478 the operation was successful.
2480 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2481 new InsetBranch::isBranchSlected member function.
2483 * LColor.[Ch]: mimimize the API.
2484 (fill): renamed as addColor and made private.
2485 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2486 versions of these functions taking a string arg have been removed.
2488 * bufferparams.C (readToken):
2489 * lyxfunc.C (dispatch):
2490 * lyxrc.C (read): changes due to the altered BranchList and
2493 * factory.C (createInset, readInset): changes due to altered
2496 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2499 * lyxfunc.C: remove insetminipage. "minipage-insert"
2500 now produces a frameless minipage box inset.
2502 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2504 * textcursor.[Ch] (selStart,selEnd): add new methods
2505 remove selection::start, end, use LyXCursor::operator<
2506 * lyxcursor.[Ch] (operator<): add
2507 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2508 * BufferView.[Ch] (unsetXSel): add
2509 * text2.C (clearSelection): use unsetXSel,adjust
2512 * rowpainter.C: adjust
2513 * bufferview_funcs.C (put_selection_at): adjust
2515 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2517 * BufferView_pimpl.C: small coord. correction
2519 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2521 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2522 dragging over the splash screen.
2524 2003-12-11 Angus Leeming <leeming@lyx.org>
2526 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2527 as it is now handled in LyXText::dispatch.
2529 * text3.C (doInsertInset): remove a level of nesting.
2531 2003-12-11 Angus Leeming <leeming@lyx.org>
2533 * factory.C (createInset): changes due to the changed interface to
2534 InsetCommandMailer::string2params.
2536 2003-12-10 Angus Leeming <leeming@lyx.org>
2538 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2539 'dialog-show-new-inset <inset name>'
2541 2003-12-10 Angus Leeming <leeming@lyx.org>
2543 * buffer.C: up the format to 227.
2545 * factory.C: the box inset is now identified simply by 'Box'.
2547 2003-12-10 Angus Leeming <leeming@lyx.org>
2549 * buffer.C: up the format to 226.
2551 * factory.C: the note inset is now identified simply by 'Note'.
2553 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2555 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2556 when a pit is enough. Standarize a couple of loops.
2558 2003-12-05 Angus Leeming <leeming@lyx.org>
2560 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2561 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2562 data to the re-worked "log" dialog.
2564 2003-12-03 André Pönitz <poenitz@gmx.net>
2570 * paragraph_funcs.C:
2572 * text2.C: use Inset::getText instead of Inset::getParagraph
2574 2003-12-03 André Pönitz <poenitz@gmx.net>
2578 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2579 InsetText::read() as LyXText::read()
2581 2003-12-02 Angus Leeming <leeming@lyx.org>
2583 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2584 type. Add a comment in the implementation that the function uses
2585 the stream's bad() function rather than fail() as the std::streams
2588 2003-12-02 André Pönitz <poenitz@gmx.net>
2590 * lyxlex.[Ch]: make interface more similar to std::stream
2592 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2594 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2596 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2598 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2600 * vspace.[Ch]: remove VSpace::NONE
2602 2003-12-01 André Pönitz <poenitz@gmx.net>
2605 * lyxtext.h: move ParagraphList member to LyXText
2606 rename LyXText::ownerParagraphs to LyXText::paragraph
2609 * bufferview_funcs.C:
2619 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2621 * undo.C: fix cursor positioning
2623 2003-12-01 John Levon <levon@movementarian.org>
2625 * BufferView_pimpl.C: fix a crash on exit with
2628 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2630 * BranchList.C: fix setSelected() method.
2632 2003-11-28 André Pönitz <poenitz@gmx.net>
2634 * ParagraphParameters.[Ch]:
2635 * ParameterStruct.h: remove space above/below from Paragraph to
2638 * BufferView_pimpl.C:
2644 * paragraph_funcs.C:
2650 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2652 * factory.C: Syntax change for CharStyles
2654 2003-11-28 André Pönitz <poenitz@gmx.net>
2659 * buffer.[Ch]: move LyXText member
2661 2003-11-28 André Pönitz <poenitz@gmx.net>
2663 * BufferView.[Ch]: make LyXText * text a private member
2665 * BufferView_pimpl.C:
2676 * output_plaintext.C: cleanup
2678 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2681 * lyxtextclass.[Ch]: parametrize SGML document header
2683 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2686 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2689 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2691 * text2.C (setFont): rework using PosIterator (no more recursive)
2692 (setCharFont): no more needed
2693 (setLayout): no more selection cursors fiddling (done by redoCursor)
2694 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2695 destroy remaining ones)
2697 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2699 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2701 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2704 * text3.C: adjust + re-allow multi par depth changes
2705 * textcursor.C: simplify a bit
2707 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2713 * src/output_docbook.C:
2714 * src/output_latex.C:
2719 * src/text2.C: Introducing a number of tags parametrizing various
2720 XML formats that we may want to support
2722 2003-11-25 André Pönitz <poenitz@gmx.net>
2724 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2726 * lyxtext.h (leftMargin/rightMargin): simplify interface
2733 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2735 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2736 master file to any child files. Fixes bug 546.
2738 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2740 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2742 2003-11-24 André Pönitz <poenitz@gmx.net>
2744 * rowpainter.C: simplification
2746 * text2.C (updateCounters): remove call to redoParagraph on
2747 changed labels as this is far too expensive.
2749 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2751 * converter.C (convert): fix a crash: this function gets
2752 called with buffer == 0 from importer code.
2754 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2756 * text3.C (cursorPrevious): make sure that we do not compare
2757 iterators form different containers.
2760 * rowpainter.C (paintSelection): make sure that we do not compare
2761 iterators from different containers.
2763 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2764 iterators from different ParagraphList containers.
2767 * text2.C (LyXText): change order of initialization slightly
2768 (operator=): new function. copy all variables except cache_par_
2769 (moveUp): make sure that we do not compare iterators from
2770 different ParagraphList constainers.
2773 * text.C (firstPar): new function
2774 (lastPar): new function
2775 (endPar): new function
2777 * lyxtext.h: move things around and group public functions, public
2778 variables, private functions, private variables
2780 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2782 * factory.C: change call to InsetERT constructor to avoid
2783 additional invocation of method status
2784 * text2.C (toggleInset): remove redundant update() call
2785 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2786 instead of a Bufferview pointer
2788 2003-11-21 André Pönitz <poenitz@gmx.net>
2790 * rowpainter.C: simplification
2792 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2794 * text3.C (dispatch): make possible to extend a word/row selection
2797 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2799 * lyxtext.h: x0_,y0_ -> xo_,yo_
2800 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2801 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2802 * rowpainter.C (paintRows): paint full paragraphs
2804 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2806 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2809 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2811 * lyxtext.h: add x0_, y0_
2812 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2813 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2815 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2817 * text2.C (setCursorIntern): move the x_target update here *
2818 * text3.C: change some bv() to true/false in calls to
2819 cursorUp/Down/Right/Left
2820 * cursor.C: use helper function.
2822 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2824 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2825 * paragraph_funcs.[Ch]: correct comment
2826 * rowpainter.C: do not paint selections away from bv->cursor()
2827 Fix a long standing selection painting bug.
2828 * text3.C: generalize mouse-selection code to LyXTexts other that
2830 * textcursor.C: do not use y coords if we can use par offsets
2832 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2834 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2835 cursor position after e.g. inset insert)
2837 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2839 * lyxfind.C (replace): adjust to locking removal + some
2842 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2844 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2847 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2850 * output_docbook.C: XML sanitation: new layout
2851 parameters InnerTag and CommandDepth
2853 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2855 * BufferView_pimpl.C:
2857 * text3.C: Fix the insertion and modification of button-style
2860 2003-11-13 André Pönitz <poenitz@gmx.net>
2862 * InsetList.[Ch]: remove deleteLyXText
2864 * paragraph.[Ch]: cache beginOfBody position
2869 * text3.C: remove superfluous update() calls
2873 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2875 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2876 * BufferView.C (fitLockedInsetCursor): remove
2877 * cursor.[Ch] (getDim): add
2878 * text.C (getRowNearY): add faster version
2879 * text3.C: remove some update calls
2881 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2893 * text3.C: The Character Style /XML short element patch.
2895 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2898 * factory.C: Small step to solving 'unable to insert some insets'
2901 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2903 * cursor.[Ch] (updatePos): new function for updating the y
2904 position of the tip inset
2905 * bufferview_funcs.C (put_selection_at):
2906 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2908 2003-11-11 André Pönitz <poenitz@gmx.net>
2910 * text.C: remove big comment on invalid Paragraph pointers as it is
2913 2003-11-11 André Pönitz <poenitz@gmx.net>
2915 * text_funcs.[Ch]: merge with ...
2923 * Makefile.am: remove text_funcs.[Ch]
2925 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2927 * cursor.C (getPos): return absolute cached y coord
2929 * BufferView_pimpl.C (fitCursor): new simplistic code
2930 (workAreaDispatch): add a fitCursor call
2932 2003-11-10 André Pönitz <poenitz@gmx.net>
2935 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2937 2003-11-10 André Pönitz <poenitz@gmx.net>
2939 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2940 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2941 indicate that the cursor needs to leave an inset
2943 * lyxtext.h: remove inset locking
2945 * cursor.[Ch]: re-implement functionality provided by inset locking
2948 * BufferView_pimpl.[Ch]:
2950 * bufferview_funcs.[Ch]:
2962 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2964 * PosIterator.[Ch]: replace the stack with a vector, add inset
2966 * iterators.[C]: adjust
2968 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2970 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2972 * paragraph_funcs.C (readParToken): put the correct id in the
2973 error item, not the id of the top paragraph
2975 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2977 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2978 * bufferview_funcs.C (put_selection_at): use the above
2980 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2982 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2984 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2986 * output_linuxdoc.h:
2987 * output_plaintext.h:
2989 * output_docbook.h: add #include statements
2991 2003-11-05 José Matos <jamatos@lyx.org>
2993 * output_docbook.[Ch]:
2994 * output_latex.[Ch]:
2995 * output_linuxdoc.[Ch]:
2996 * output_plaintext.[Ch]: New files for output formats.
2997 * output.[Ch]: New file for helper functions.
3000 * paragraph_funcs.[Ch]: output functions moved to new files.
3002 * outputparams.h: rename of latexrunparams.h
3010 * paragraph_funcs.[Ch]:
3011 * paragraph_pimpl.[Ch]:
3012 * tabular.[Ch]: rename ascii to plaintext
3013 and LatexRunParams to OutputParams.
3015 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3017 * iterators.[Ch] (text): require bv argument
3018 * undo.C (recordUndo):
3019 * lyxfunc.C (dispatch):
3020 * bufferview_funcs.C (put_selection_at): adjust
3022 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3024 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3026 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3028 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3031 2003-11-04 André Pönitz <poenitz@gmx.net>
3033 * cursor.[Ch]: restructure
3036 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3038 * iterators.[Ch] (asCursor): remove
3040 * lfuns.h: remove LFUN_INSET_EDIT
3046 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3048 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3050 * lyxfind.[Ch]: complete overhaul
3051 * BufferView_pimpl.C:
3053 * paragraph.[Ch] (insert): add
3055 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3059 * text.C: remove dead spellcheck code
3061 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * dispatchresult.h: add a val setter
3065 * cursor.C (dispatch): use a tempvar for data_[i]
3067 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3069 * PosIterator.[Ch]: compile fix
3071 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3073 * text.C (cursorPar): deactivate the cursor cache
3075 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3077 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3079 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * text3.C (dispatch): adjust for new DisptchResult semantics.
3083 * lyxfunc.C (dispatch): handle update when return from
3084 Cursor::dispatch, adjust for new DispatchResult semantics.
3086 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3087 DispatchResult(true) mean to not update. Add class functions for
3088 setting dispatched and update, as well as reading.
3090 * cursor.C (dispatch): don't handle update here
3092 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3095 * trans_mgr.C: adjust
3097 * paragraph_funcs.C (readParToken): exception safety
3099 * lyxvc.h: store the vcs pointer in a scoped_ptr
3102 * lyxsocket.C (serverCallback): exception safety
3104 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3106 * ispell.C (clone): make it return a auto_ptr
3108 * factory.C (createInset): exception safety
3109 (readInset): exception safety
3111 * bufferlist.C (newBuffer): exception safety
3113 * Thesaurus.C (Thesaurus): use initialization for aik_
3115 * MenuBackend.C (expandToc): exception safety.
3117 2003-11-03 André Pönitz <poenitz@gmx.net>
3121 * bufferview_funcs.C: remove getInsetFromId()
3124 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3130 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3132 * PosIterator.C (distance, advance): new
3133 * bufferview_funcs.[Ch] (put_selection_at): new
3134 * iterators.[Ch] (lockPath): new
3136 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3138 * iterators.[Ch] (asPosIterator): added
3139 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3140 * PosIterator.[Ch]: added
3142 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * cursor.C (dispatch):
3147 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3149 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3150 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3151 contructor, add a class function dispatched. Remove operator>=
3153 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * debug.C: only use the default constructor for debugstream
3158 * main.C (main): include debug.h and setup the lyxerr streambuf
3161 2003-10-31 José Matos <jamatos@lyx.org>
3163 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3165 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3166 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3167 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3168 * paragraph_pimpl.C (simpleTeXSpecialC):
3169 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3170 add LatexRunParams argument.
3172 * exporter.C (Export): change call accordingly.
3174 * latexrunparams.h: add new member to take care of the other backends.
3175 2003-10-30 José Matos <jamatos@lyx.org>
3177 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3178 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3179 factorise code for paragraph output.
3181 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3184 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * text3.C (dispatch):
3187 * lyxfunc.C (dispatch):
3188 * cursor.C (dispatch):
3189 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3191 * dispatchresult.h: make the dispatch_result_t ctor explicit
3193 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3196 * buffer.C: small refactoring of docbook stuff
3198 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3203 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3206 operator dispatch_result_t, and operators for == != and >=
3208 * cursor.C (dispatch): adjust for operator dispatch_result_t
3209 removal. comment out call to update
3211 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3213 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3224 * dispatchresult.h: new file, DispatchResult broken out of
3227 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3229 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3231 * text.C (rowBreakPoint): put a hack inside #if 0
3233 2003-10-28 André Pönitz <poenitz@gmx.net>
3237 * paragraph_funcs.C:
3240 * text2.C: general cleanup (lots of small stuff)
3242 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3244 * text2.C (cursorEnd): simple fix to the "end key goes to one
3245 before the end on last row" bug
3247 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3249 * text.C (backspace): fix the "zombie characters"
3251 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3253 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3255 2003-10-27 André Pönitz <poenitz@gmx.net>
3257 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3259 * factory.C: handle new InsetPagebreak, InsetLine
3261 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3262 and move handling into new InsetPagebreak, InsetLine
3264 * BufferView_pimpl.C:
3266 * ParagraphParameters.C:
3267 * ParameterStruct.h:
3272 * paragraph_funcs.C:
3273 * paragraph_pimpl.C:
3279 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3282 * lyxrow_funcs.[Ch]:
3288 * text3.C: remove lastPos uses in favour of Row::endpos
3290 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3292 * undo.C (performUndoOrRedo): fix two crashes by setting a
3293 cursor by hand and reordering some calls. Use bv->lockInset instead
3294 of inset->edit because the latter loses cursor information
3296 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3298 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3300 (rowBreakPoint): fix width. change point to point + 1.
3301 Add a missing check.
3303 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3306 * lyxfunc.C: fix (at least partly) the problems
3307 with the Nav menu and headers inside branch insets
3310 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3312 * paragraph.C (getChar): add strong asserts
3314 * lyxrow_funcs.C (lastPos): remove hideous hack
3316 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3317 (fill): adjust to that (avoid an infinite loop)
3319 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3321 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3323 2003-10-23 André Pönitz <poenitz@gmx.net>
3325 * RowList_fwd.h: change list<> to vector<> to gain speed
3326 after suggestion from Alfredo
3328 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3330 * lyxtext.h: move the bidi stuff from here...
3333 * Bidi.[Ch]: ... to here
3335 2003-10-23 André Pönitz <poenitz@gmx.net>
3338 * text.C (isLastRow, isFirstRow): new functions
3340 * paragraph.h: new width cache member
3342 * rowpainter.C: replace RowList::iterator with Row & where possible
3344 * lyxfunc.C: replace several view()->text with a single call
3346 * toc.C: fix 'unused' warning
3348 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3351 when woring with stream::pos_type
3352 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3354 2003-10-22 André Pönitz <poenitz@gmx.net>
3357 * text.C: use Row & instead of RowList::iterator
3359 * lyxrow.h: rename end() to endpos()
3365 2003-10-22 Angus Leeming <leeming@lyx.org>
3367 * buffer.[Ch] (fully_loaded): new member function, returning true
3368 only when the file has been loaded fully.
3369 Used to prevent the premature generation of previews and by the
3370 citation inset to prevent computation of the natbib-style label.
3372 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3373 templates are all set up.
3375 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3377 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3379 * text.C: fixed an "oops" in the "is a bit silly"
3382 2003-10-21 André Pönitz <poenitz@gmx.net>
3384 * FuncStatus.[Ch]: small stuff, whitespace
3386 * lyxfont.[Ch]: operator<<() for debug reasons
3390 * lyxtext.h: whitespace, spelling
3392 * paragraph.C: naming of variables
3395 * text2.C: small stuff
3398 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3400 * text.C: (1) finish off the inset display() work;
3401 (2) fix the "is a bit silly" bug (accessing char
3404 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3406 * text.C: re-introduce display() for insets, fixing the
3407 various bugs (stretch of line above, math inset
3410 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3412 * text.C (rightMargin): remove spurious semicolon
3414 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3417 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3419 * text3.C: fix one crash due to wrong cursor def
3421 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * vc-backend.C (scanMaster): make the regex static
3425 * LaTeX.C (scanAuxFile): make the regexs static
3427 * text3.C (doInsertInset, dispatch, dispatch):
3428 * text2.C (cursorUp, cursorDown):
3429 * text.C (selectNextWordToSpellcheck):
3430 * BufferView_pimpl.C (dispatch):
3431 * lyxfunc.C (dispatch): localDispatch -> dispatch
3433 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3435 * lyxsocket.C: include <cerrno>
3437 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * lyxfunc.C (dispatch): remove textcache stuff
3441 * bufferlist.C (release): remove textcache stuff
3444 * TextCache.C: delete file
3445 * TextCache.h: delete file
3447 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3449 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3450 delete of the bv_->text.
3451 (resizeCurrentBuffer): remove texcache stuff
3452 (workAreaResize): ditto
3454 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3459 2003-10-16 André Pönitz <poenitz@gmx.net>
3466 * text3.C: speed up by storing y positions per paragraph plus per-row
3467 offset instead of having a 'full' y position in the row.
3469 2003-10-15 André Pönitz <poenitz@gmx.net>
3473 * undo.[Ch]: make undo aware of inner insets
3475 2003-10-14 Angus Leeming <leeming@lyx.org>
3477 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3478 static member functions LyX::ref() and LyX::cref.
3479 (lastfiles): new accessor functions for the new lastfiles_ member var.
3480 (addLyXView, views_): add a new LyXView to the list of views_.
3481 (updateInset): loop over all LyXViews to call their own updateInset
3482 member function, returning a pointer to the Buffer owning the inset.
3484 * BufferView_pimpl.C (loadLyXFile):
3485 * MenuBackend.C (expandLastfiles):
3486 * bufferlist.C (MenuWrite, QuitLyX):
3487 lastfiles is no longer a global variable.
3488 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3490 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3491 static function. Access through LyX::cref().emergencyCleanup().
3493 2003-10-14 André Pönitz <poenitz@gmx.net>
3495 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3497 * undo.[Ch]: restoring part of 'undo in insets'
3500 * undo_funcs.[Ch]: merge with undo.[Ch]
3502 * tabular.C: small cleansing stuff
3504 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3506 * paragraph_funcs.C (readParToken): report unknown insets as error
3507 boxes. Use the outer paragraph as location (also for unknown
3510 * factory.C (readInset): do not abort on reading an unknown inset.
3511 Eat it and return 0.
3513 2003-10-13 Angus Leeming <leeming@lyx.org>
3515 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3517 * lyxrc.C: displayTranslator is now a function,
3518 declared in GraphicsTypes.h.
3520 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3522 * format.C: new placeholder $$a to pass the socket address.
3524 * bufferlist.[Ch]: new function getBufferFromTmp.
3526 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3527 files in the temporary dir.
3529 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3531 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3533 * Makefile.am: add lyxsocket.[Ch].
3535 * lyx_main.C (error_handler): handle SIGPIPE.
3537 2003-10-13 André Pönitz <poenitz@gmx.net>
3539 * BufferView_pimpl.C:
3544 * undo_funcs.[Ch]: use paroffset_type instead of
3545 ParagraphList::iterators to prevent multiple conversion
3546 (and get a more robust interface)
3548 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3552 * text3.C (dispatch): ditto
3554 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3557 move the onlyfile, use onlyfile instead of foundfile in a couple
3560 * DepTable.C (update): flush the error stream a bit more
3562 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * lyxserver.C (callback): adjust
3566 * lyxfunc.C (getStatus): add a missing brace in commented code
3567 (ensureBufferClean): reindent
3568 (dispatch): delete version taking a string
3570 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * LaTeX.C (deplog): move found file handlig from here...
3573 (handleFoundFile): .. to new function here.
3574 (deplog): make sure to discover several files mentioned on the
3577 2003-10-10 André Pönitz <poenitz@gmx.net>
3584 * text3.C: fix some of the tabular crashes
3586 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3588 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3590 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3592 2003-10-09 André Pönitz <poenitz@gmx.net>
3594 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3597 * BufferView_pimpl.C:
3598 * bufferview_funcs.C:
3609 * undo_funcs.C: adjust
3611 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * text2.C (incrementItemDepth): new function, use a backtracking
3614 algorithm to discover the correct item depth.
3615 (resetEnumCounterIfNeeded): new function, use a backtracking
3616 algorithm to discover if counter reset is needed.
3617 (setCounter): use them. Simplify a bit. Add different labels for
3618 different item depths for itemize.
3620 * paragraph.C (Paragraph): remove initialization of enumdepth
3623 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3624 enumerate and itemize. Change the type of itemdepth to signed char.
3626 2003-10-08 André Pönitz <poenitz@gmx.net>
3628 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3633 * tabular.[Ch]: fix crash after 'row-insert'
3635 2003-10-08 Angus Leeming <leeming@lyx.org>
3637 Fix doxygen warnings.
3639 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3640 Remove CutAndPaste:: prefix from header file declaration.
3642 * LColor.h (fill): remove LColor:: prefix from declaration.
3644 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3645 use lyx::depth_type rather than Paragraph::depth_type so that
3646 header file and .C file match.
3648 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3650 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3651 * aspell.C: \file aspell_local.C -> \file aspell.C
3652 * gettext.C: \file gettext.C -> \file src/gettext.C
3653 * gettext.h: \file gettext.h -> \file src/gettext.h
3654 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3655 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3656 * text.C: \file text.C -> \file src/text.C
3658 * toc.C: move comment so that doxygen is not confused.
3660 2003-10-07 Angus Leeming <leeming@lyx.org>
3662 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3664 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3667 * aspell_local.h: add forgotten std::string's.
3669 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3676 * text3.C: The Box patch. Fancybox support, minipage, parbox
3678 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3684 * ParagraphParameters.h:
3694 * lyxtextclasslist.h:
3697 * paragraph_pimpl.C:
3698 * textcursor.h: add <string> and other small fixes to make Lars'
3699 std::string patch compile with STLport.
3701 2003-10-06 Angus Leeming <leeming@lyx.org>
3703 * LColor.h: Add missing #include <string>.
3705 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3707 * All most all file in all subdirs: Make <string> be the prefered
3708 way of getting to std::string, add using declarations.
3710 2003-10-06 André Pönitz <poenitz@gmx.net>
3712 * metricsinfo.C: initialize LyXFont before changing attribute.
3713 (fixes the 'math in \emph is upright' bug)
3715 2003-10-06 André Pönitz <poenitz@gmx.net>
3717 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3719 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3722 * paragraph_pimpl.C: Small fixes to build using STLport
3724 2003-10-02 André Pönitz <poenitz@gmx.net>
3727 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3729 2003-10-01 André Pönitz <poenitz@gmx.net>
3731 * factory.C: assert early
3733 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * lyx_main.C: remove the global debug object
3737 * debug.h: adjust for new debugstream
3739 * debug.C: adjust for new debugstream and keep the global debug
3742 2003-09-22 Angus Leeming <leeming@lyx.org>
3744 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3745 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3746 an incomplete class LyXFont.
3748 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3750 * factory.C: bug fix in branches
3752 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * lyxfunc.C (processKeySym): adjust
3756 (dispatch): change arg name from ev to func, adjust
3757 (sendDispatchMessage): ditto
3759 * lyx_main.C (defaultKeyBindings): adjust keybindings
3760 (deadKeyBindings): ditto
3762 * kbsequence.C (addkey): return a FuncRequest
3764 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3766 * kbmap.C (bind): take a FuncRequest as arg, adjust
3769 (defkey): change to take a FuncRequest as arg, adjust
3770 (findbinding): take a FuncRequest as arg, adjust.
3772 * funcrequest.h (operator=): added
3774 * funcrequest.C (FuncRequest): default kb_action changed from
3775 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3777 * buffer.C (dispatch): simplify
3778 (dispatch): adjust to take a FuncRequest as arg, adjust
3780 * boost.C (assertion_failed): change assertion message slightly
3782 * ToolbarBackend.C (read): simplify
3784 * MenuBackend.C (binding): adjust call to findbinding, add a
3785 message if no binding is found.
3787 (expandToc): correct by adding a empty FuncRequest
3789 * LyXAction.C: include <boost/assert.hpp>
3790 (isPseudoAction): delete function
3791 (LookupFunc): change name to...
3792 (lookupFunc): this. change return type to FuncRequest.
3793 (getActionName): take kb_action as arg, simplify
3794 (funcHasFlag): add an assert, simplify.
3796 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * toc.C (action): return a FuncRequest, simplify
3800 * lyxfunc.C (processKeySym): adjust
3801 (getStatus): delete version that takes an int.
3803 (dispatch): delete version that takes action as int
3805 (sendDispatchMessage): simplify and adjust
3807 * funcrequest.C (getArg): take unsigned int as arg
3809 * ToolbarBackend.C (read): adjust
3810 (add): delete version that takes func as a string.
3811 (getIton): take a FuncRequest as arg
3813 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3816 * MenuBackend.C (MenuItem): add a new construct that only takes a
3817 Kind, simplify the constructor use for submenus.
3819 (expandLastfiles): adjust
3820 (expandDocuments): adjust
3821 (expandFormats): adjust
3822 (expandFloatListInsert): adjust
3823 (expandFloatInsert): adjust
3824 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3826 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3827 Remove class variables lyx_pseudo_map and lyx_arg_map
3829 * LyXAction.C (searchActionArg): delete function
3830 (getPseudoAction): delete function
3831 (retrieveActionArg): delete function
3832 (LookupFunc): make it return kb_action, simplify.
3833 (getActionName): simplify
3835 * factory.C (createInset): fix new bug
3837 2003-09-19 Angus Leeming <leeming@lyx.org>
3839 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3840 masterFilename_ parameter in the include inset.
3842 * factory.C (createInset): changes due to the changes to InsetInclude.
3844 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3846 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3848 2003-09-18 Angus Leeming <leeming@lyx.org>
3851 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3852 Inset::fillWithBibKeys.
3853 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3855 2003-09-18 Angus Leeming <leeming@lyx.org>
3857 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3859 (ctor): pass and store a 'Buffer const &'
3860 (buffer): new member function.
3862 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3863 '*this' to the LaTeXFeatures ctor.
3865 2003-09-18 Angus Leeming <leeming@lyx.org>
3871 * text.C: rename EnumLColor as LColor_color.
3873 2003-09-18 Angus Leeming <leeming@lyx.org>
3875 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3876 remove #include "insets/insetbase.h" from cursor.h.
3878 2003-09-18 Angus Leeming <leeming@lyx.org>
3880 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3881 InsetOld_code to remove #include "inset.h".
3883 * iterators.C: add #include "insets/inset.h"
3885 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3887 * BufferView.C: remove more locking stuff that apparently doesn't
3888 do anything sensible.
3890 2003-09-16 André Pönitz <poenitz@gmx.net>
3893 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3896 2003-09-16 Angus Leeming <leeming@lyx.org>
3898 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3900 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3903 * paragraph.h: remove #include "lyxfont.h". Forward declare
3906 2003-09-16 Angus Leeming <leeming@lyx.org>
3908 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3909 of support/textutils.h.
3910 (isWord): move the contents of support/textutils.h's IsWordChar here.
3916 * text2.C: add #include "paragraph.h".
3919 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3921 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * LaTeX.C: use namespace alias for lyx::support::os
3929 2003-09-16 Angus Leeming <leeming@lyx.org>
3932 * bufferview_funcs.C:
3935 * paragraph_pimpl.C:
3937 * text.C: add #include "LColor.h".
3939 2003-09-16 Angus Leeming <leeming@lyx.org>
3941 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3942 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3944 Store the FontBits::color variable as an int rather than as an
3945 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3948 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3949 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3950 string calls together.
3952 * lyxrc.C: add #include "LColor.h".
3954 2003-09-15 Angus Leeming <leeming@lyx.org>
3956 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3959 2003-09-15 Angus Leeming <leeming@lyx.org>
3961 * LColor.h: add an EnumLColor wrapper for LColor::color.
3963 * lyxfont.[Ch] (color, setColor, realColor):
3964 * lyxtext.h, text.C (backgroundColor):
3965 pass EnumLColor args to/from the functions, rather than LColor::color
3969 * lyxtext.h: forward declare EnumLColor.
3971 * lyx_main.C: add #include "LColor.h".
3973 2003-09-15 Angus Leeming <leeming@lyx.org>
3975 * .cvsignore: add lyx-gtk.
3977 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * ParagraphParameters.C
3986 * bufferview_funcs.C
3996 * vc-backend.C: remove usage of STRCONV
3998 2003-09-15 Angus Leeming <leeming@lyx.org>
4000 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4001 explicitly define the color passed to the painter.
4003 2003-09-15 Angus Leeming <leeming@lyx.org>
4005 * bufferparams.C (BufferParams): reorder member initializers to avoid
4008 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4010 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4011 * text.C (updateRowPositions): remove an unusual nop
4013 2003-09-12 André Pönitz <poenitz@gmx.net>
4015 * BufferView_pimpl.C:
4024 * Counters.[Ch]: finish the 'automatic counters' job
4026 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4028 * aspell.C: include <boost/assert.cpp> (compile fix)
4030 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4032 * boost.C (assertion_failed): use lyx::support::abort instead of
4035 2003-09-10 Angus Leeming <leeming@lyx.org>
4037 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4038 with their _fwd progeny.
4040 2003-09-09 Angus Leeming <leeming@lyx.org>
4042 134 files throughtout the source tree: replace 'using namespace abc;'
4043 directives with the appropriate 'using abc::xyz;' declarations.
4045 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4047 * boost.C (emergencyCleanup): moved here from LAssert.c
4048 (assertion_failed): new function, called by BOOST_ASSERT
4050 * several files: change Assert to BOOST_ASSERT
4052 2003-09-09 Angus Leeming <leeming@lyx.org>
4054 * buffer.[Ch]: Add an Impl class and move Buffer's member
4055 variables into it. As a result move several header files out of
4058 Add header files to lots of .C files all over the tree as a result.
4060 2003-09-09 Angus Leeming <leeming@lyx.org>
4062 * buffer.[Ch]: make Buffer's member variables private. Add
4065 Lots of changes all over the tree as a result.
4067 2003-09-08 Angus Leeming <leeming@lyx.org>
4069 * graph.C: #include <config.h>.
4071 2003-09-08 Angus Leeming <leeming@lyx.org>
4075 * BufferView_pimpl.C:
4104 * toc.C: remove redundant using directives.
4106 2003-09-07 Angus Leeming <leeming@lyx.org>
4108 * LaTeXFeatures.h: remove #include "support/types.h".
4109 * ToolbarBackend.h: remove #include <algorithm>.
4110 * changes.h: remove #include <ctime>.
4111 * debug.h: remove #include <iosfwd>.
4112 * graph.h: remove #include "support/std_string.h".
4113 * lyx_main.h: remove #include <csignal>.
4114 * lyxlex_pimpl.h: remove #include <fstream>.
4115 * sgml.h: remove #include <algorithm>, <utility>.
4116 * toc.h: remove #include "support/std_ostream.h".
4117 Add #include <iosfwd>.
4119 2003-09-07 Angus Leeming <leeming@lyx.org>
4121 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4123 * converter.h: forward declare LatexRunParams.
4124 * encoding.h: remove #include "lyxrc.h".
4125 * lyxtext.h: remove #include "LColor.h".
4126 * lyxtextclass.h: remove #include "support/types.h".
4127 * trans.h: remove #include "tex-accent.h".
4128 * trans_mgr.h: remove #include "tex-accent.h".
4129 * insets/inset.h: remove #include "support/types.h", <vector>.
4130 * insets/insetcollapsable.h: remove #include "LColor.h".
4131 * insets/insetinclude.h: remove #include "dimension.h".
4132 * insets/insetlatexaccent.h: remove #include "dimension.h".
4133 * insets/insetoptarg.h:: remove #include "insettext.h".
4134 * insets/insettext.h: remove #include "dimension.h",
4135 <boost/shared_ptr.hpp>
4137 * insets/renderers.h: add #include "dimension.h".
4138 * insets/updatableinset.h: add #include "support/types.h".
4140 * many .C files: Associated changes.
4142 2003-09-06 Angus Leeming <leeming@lyx.org>
4144 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4145 one, inside testInvariant.
4147 * PrinterParams.C: new file.
4148 * PrinterParams.[Ch]: move the function bodies out of line.
4150 2003-09-06 Angus Leeming <leeming@lyx.org>
4152 * ParagraphParameters.h: forward declare ParameterStruct rather than
4153 including its header file.
4154 (depth): moved out-of-line.
4156 2003-09-06 Angus Leeming <leeming@lyx.org>
4158 * BufferView_pimpl.h:
4161 * lyxfunc.h: forward declare LyXKeySym rather than
4162 #include "frontends/LyXKeySym.h".
4164 * BufferView_pimpl.C:
4167 * lyxfunc.C: associated changes.
4169 2003-09-06 Angus Leeming <leeming@lyx.org>
4171 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4172 As a result, can remove the #include "insets/inset.h" from BufferView.h
4174 2003-09-06 Angus Leeming <leeming@lyx.org>
4176 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4177 As a result, can remove the #include "insets/inset.h" from BufferView.h
4179 2003-09-06 Angus Leeming <leeming@lyx.org>
4185 * bufferview_funcs.C:
4186 * BufferView_pimpl.C:
4191 * ParagraphParameters.C:
4196 * frontends/controllers/ControlDocument.C:
4197 * insets/insetcaption.C: rearrange the #includes into some sort of
4200 * buffer.h: remove #includes ErrorList.h, undo.h
4202 2003-09-06 Angus Leeming <leeming@lyx.org>
4204 * support/types.h: add a 'depth_type' typedef, used to store the
4205 nesting depth of a paragraph.
4208 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4209 defining explicitly.
4212 * paragraph_funcs.h:
4213 * ParagraphParameters.h:
4214 * sgml.h: use lyx::depth_type rather than Paragraph or
4215 ParameterStruct's depth_type.
4218 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4221 * BufferView_pimpl.C:
4223 * ParagraphParameters.C:
4226 * bufferview_funcs.C:
4233 * frontends/LyXView.C:
4234 * frontends/controllers/ControlDocument.C:
4235 * frontends/controllers/ControlErrorList.C:
4236 * insets/insetbibitem.C:
4237 * insets/insetbranch.C:
4238 * insets/insetcaption.C:
4239 * insets/insetcollapsable.C:
4240 * insets/insetenv.C:
4241 * insets/insetert.C:
4242 * insets/insetfloat.C:
4243 * insets/insetfoot.C:
4244 * insets/insetfootlike.C:
4245 * insets/insetnewline.C:
4246 * insets/insetquotes.C:
4247 * insets/insettabular.C:
4248 * insets/insettext.C:
4249 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4251 * frontends/controllers/ControlChanges.C: #include "changes.h".
4253 2003-09-06 Angus Leeming <leeming@lyx.org>
4255 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4256 than #including paragraph.h.
4259 * RowList.h: deleted. Superfluous.
4269 * insets/insettext.h: use ParagraphList_fwd.h rather than
4272 * paragraph.h: don't forward declare ParagraphList.
4275 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4276 rather than ParagraphList.h. paragraph.h is still needed for the
4277 Paragraph::depth_type parameters.
4279 * textcursor.h: enable it to compile stand-alone in light of the
4282 * bufferview_funcs.C:
4294 * frontends/controllers/ControlParagraph.C:
4295 * frontends/controllers/ControlTabular.C:
4296 * insets/insetmarginal.C:
4297 * insets/insetminipage.C:
4298 * insets/insetnote.C:
4299 * insets/insetoptarg.C: add header files needed to compile again.
4301 2003-09-06 Angus Leeming <leeming@lyx.org>
4303 * RowList_fwd.h: new file, forward-declaring Row rather than
4304 #including lyxrow.h.
4309 * insets/insettext.h: use it instead of RowList.h
4311 * bufferview_funcs.C:
4318 * text3.C: #include "RowList.h".
4320 2003-09-05 Angus Leeming <leeming@lyx.org>
4322 * factory.C (createInset):
4323 * vspace.C (c-tor): replace sscanf call with an istringstream.
4324 * ispell.C: re-add missing HP/UX headers.
4325 * lyxserver.C: re-add missing os2 headers.
4327 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4336 * text3.C: re-add missing system headers, needed for 2.95.2.
4338 2003-09-05 Angus Leeming <leeming@lyx.org>
4340 Changes most place everywhere due to the removal of using directives
4341 from support/std_sstream.h.
4343 2003-09-05 Angus Leeming <leeming@lyx.org>
4345 Replace LString.h with support/std_string.h,
4346 Lsstream.h with support/std_sstream.h,
4347 support/LIstream.h with support/std_istream.h,
4348 support/LOstream.h with support/std_ostream.h.
4350 Changes resulting throughout the tree.
4352 2003-09-05 Angus Leeming <leeming@lyx.org>
4354 * sgml.h: ensure that the header file can be compiled stand-alone.
4355 * *.C: strip out redundant #includes. (320 in total.)
4357 2003-09-04 Angus Leeming <leeming@lyx.org>
4359 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4360 here (from getPackages).
4362 * debug.[Ch]: add a new EXTERNAL tag.
4364 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4366 * text2.C (cursorEnd): simplify
4368 (getColumnNearX): adjust
4370 * text.C (computeBidiTables): adjust
4373 * rowpainter.C (paintChars): adjust
4374 (paintSelection): adjust
4375 (paintChangeBar): adjust
4378 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4380 (numberOfSeparators): adjust
4382 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4388 * text3.C: Restricts the mouse click functionality
4389 of insets like bibtex, include, toc and floatlist to the visible
4390 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4391 up the dialogs. Cursor has to be in front of the inset (i.e.
4392 start of row) for this to function.
4394 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4396 * bufferview_funcs.C (currentState): output row information
4398 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4400 * bufferview_funcs.C (currentState): output paragraph position
4402 2003-09-04 Angus Leeming <leeming@lyx.org>
4404 * FloatList.h: move out #include "Floating.h".
4405 * LaTeX.h: move out #include "DepTable.h".
4406 * LyXAction.h: move out #include "funcrequest.h".
4407 * buffer.h: move out #include "author.h", "iterators.h".
4408 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4409 * lyx_main.h: move out #include "errorlist.h".
4410 * lyxfunc.h: move out #include "FuncStatus.h".
4411 * lyxtext: move out #include "lyxcursor.h".
4412 * paragraph_pimpl.h: move out #include "counters.h".
4414 2003-09-03 Angus Leeming <leeming@lyx.org>
4416 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4417 preamble_snippets list, enabling us to add snippets to the preamble
4418 only if the snippet was not there already.
4420 2003-09-04 Angus Leeming <leeming@lyx.org>
4422 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4424 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4429 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4431 * BranchList.C: point fix, earlier forgotten
4433 2003-09-02 Angus Leeming <leeming@lyx.org>
4435 * box.C (contains): renamed from 'contained' after a fantastic
4438 2003-09-02 John Levon <levon@movementarian.org>
4444 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4446 2003-09-02 John Levon <levon@movementarian.org>
4448 * text2.C: simplification of cursorEnd(), including partial
4451 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * buffer.C (readFile): add a space
4455 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4457 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4459 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * buffer.C (readFile): new function, take a filename and a
4462 ParagraphList::iterator
4464 (readFile): adjust, make it private. don't use setStream, make
4465 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4466 always contain the filename.
4468 * BufferView.C (insertLyXFile): simplify and make it work for
4471 2003-08-30 John Levon <levon@movementarian.org>
4473 * Makefile.am: fix dist (from Kayvan)
4475 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4477 * most files: change to use const Buffer refs
4479 2003-08-27 André Pönitz <poenitz@gmx.net>
4481 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4482 on top of ownerPar().
4484 2003-08-27 John Levon <levon@movementarian.org>
4486 * funcrequest.C: properly initialise POD members
4488 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4490 * lyxtext.h (top_y): move top_y from here
4495 * BufferView_pimpl.[Ch]: to here
4496 * frontends/screen.C:
4497 * insets/insettabular.C:
4498 * insets/insettext.C: adjust
4499 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4501 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4504 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4506 2003-08-26 André Pönitz <poenitz@gmx.net>
4508 * paragraph_func.[Ch] (outerPar): new function
4511 * paragraph_funcs.C:
4512 * paragraph_funcs.h:
4513 * paragraph_pimpl.C:
4514 * text2.C: remove Inset::par_owner
4516 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4521 * text2.C: eliminates the needFullRow/display() stuff
4522 altogether, putting the logic in metrics/draw in the insets.
4524 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4526 * text2.C (redoParagraphInternal, redoParagraphs):
4527 * text.C (redoParagraph): add a call to updateRowPositions at the
4528 end of each 'metrics-like' call. Remove all others.
4529 (getRow): remove the 'y-computing' version.
4530 (getRowNearY): do not compute nor return the real y. Solve the
4531 'y < 0' problem and simplify.
4533 2003-08-22 Angus Leeming <leeming@lyx.org>
4535 * *.[Ch]: clean-up of licence and author blurbs.
4536 Also move config.h out of a few .h files and into a few .C files.
4538 2003-08-22 André Pönitz <poenitz@gmx.net>
4540 * lyxrow.[Ch]: add x_ and *fill_ members
4545 * text2.C: adjust/remove prepareToPrint() calls
4547 2003-08-22 André Pönitz <poenitz@gmx.net>
4549 * lyxrow.[Ch]: add end_ member
4551 * lyxrow_funcs.C: use LyXRow::end_
4553 * lyxtext.h (singleWidth): add LyXFont parameter
4556 * text2.C: adjust LyXText::singleWidth() calls
4558 * text.C (redoParagraph): simplify row breaking logic
4561 2003-08-19 André Pönitz <poenitz@gmx.net>
4563 * funcrequest.C: initialize button_ member
4566 * rowpainter.[Ch]: interface consolidation
4568 2003-08-18 André Pönitz <poenitz@gmx.net>
4571 * BufferView_pimpl.C:
4573 * paragraph_funcs.C:
4575 * text3.C: remove LyXScreen::draw() and fitCursor calls
4577 * BranchList.h: remove spurious semicolons
4579 * MenuBackend.C: fix branchlist related crash
4581 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4589 * bufferparams.[Ch]:
4593 * text3.C: implements the 'branch inset'
4594 idea. This allows the output of various versions of a document
4595 from a single source version, selectively outputing or suppressing
4596 output of parts of the text.
4597 This implementation contains a 'branch list editor' in a separate
4598 tab of the document settings dialog. Branches are user definable
4599 and have a "display colour" to distinguish them on-screen.
4601 ColorHandler was somewhat cleaned up.
4602 (1) make possible a dynamically growing LColor list by allowing
4603 the graphic context cache to grow along (vector);
4604 (2) eliminate an IMHO unnecessary step in colour allocation.
4606 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4608 * BufferView_pimpl.C: compile fix
4610 2003-08-15 André Pönitz <poenitz@gmx.net>
4612 * rowpainter.C: remove extra metrics calls
4614 * lyxtext.h: merge the two constructors into a single one,
4615 pass reference to owner's par list
4617 * BufferView_pimpl.C:
4621 2003-08-15 André Pönitz <poenitz@gmx.net>
4623 * lyxrow_funcs.[Ch]:
4626 * paragraph_funcs.C:
4631 * text_funcs.C: split LyXText::rowlist_ into individual
4632 Paragraph::rows_ chunks
4635 * BufferView_pimpl.[Ch]:
4638 * text3.C: remove toggleSelection()
4640 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4642 * bufferlist.C: beautify two alerts (shorter text of buttons)
4643 * buffer.C: Remove redundant ' ' from message
4645 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4646 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4647 rename VALIGN_CENTER to VALIGN_MIDDLE
4649 2003-08-11 André Pönitz <poenitz@gmx.net>
4651 * lyxtext.h (getPar):
4652 * text.C: new function
4654 2003-08-11 André Pönitz <poenitz@gmx.net>
4657 * tracer.[Ch]: remove unneeded files
4659 * InsetList.[Ch]: remove resizeInsetsLyXText()
4664 * text3.C: merge insertParagraphs() and appendParagraph()
4665 remove breakAgain(), update()
4667 * BufferView_pimpl.[Ch]:
4668 * bufferview_funcs.[Ch]:
4672 * tabular.C: adjust after text & InsetList changes.
4674 2003-08-08 André Pönitz <poenitz@gmx.net>
4676 * text.C (insertChar, backspace): replace rowlist fiddling
4677 with rebreak of full par
4680 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4681 checkParagraph, updateInset): removed
4683 2003-08-07 André Pönitz <poenitz@gmx.net>
4686 * text3.C: merge some LFUN handlers, remove dead code
4688 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4690 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4692 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4694 * text2.C (DEPM): fix part of bug 1255 and 1256
4696 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4698 * BufferView_pimpl.C (workAreaDispatch): change to use
4699 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4700 that are no mouse related.
4702 2003-08-05 André Pönitz <poenitz@gmx.net>
4705 * BufferView_pimpl.[Ch]:
4706 * bufferview_funcs.C:
4708 * text3.C: rip out "deep update"
4710 * textcursor.[Ch] (last_sel_cursor): remove unused member
4712 2003-08-04 André Pönitz <poenitz@gmx.net>
4715 * BufferView_pimpl.[Ch]:
4716 * ParagraphParameters.C:
4717 * bufferview_funcs.C:
4723 * text3.C: replace "complicated" BufferView::update(...) calls with
4726 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4728 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4730 * Makefile.am (lyx_SOURCES): add paper.h
4732 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4734 * Makefile.am: move things around so that both lyx-qt and
4735 lyx-xforms can be built (according to --with-frontend). Then lyx
4736 is a symbolic link to lyx-[firstfrontend]
4738 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4740 * Always use std::endl with lyxerr
4742 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4744 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4746 2003-08-01 André Pönitz <poenitz@gmx.net>
4749 * BufferView_pimpl.[Ch]:
4751 * text3.C: merge BufferView::repaint() and BufferView::update()
4753 2003-08-01 José Matos <jamatos@lyx.org>
4755 * buffer.[Ch]: file_format is no longer a buffer data element.
4757 2003-08-01 André Pönitz <poenitz@gmx.net>
4762 * text2.C: make redoParagraph more independent of current cursor
4764 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4766 * text2.C: remove unneeded members
4768 2003-07-30 André Pönitz <poenitz@gmx.net>
4770 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4772 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4773 create a single function...
4775 * paragraph_funcs.C (moveItem): ... here.
4778 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4780 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4782 * LColor.[Ch]: Add comment and greyedout logical colors.
4784 2003-07-30 André Pönitz <poenitz@gmx.net>
4786 * tabular.C: don't use Assert too heavily. This crashes where it
4789 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4791 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4792 is disabled (bug 1232)
4794 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4796 * factory.C: limited 'arg' scope
4798 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4800 * factory.C: fixed Note submenu issues
4802 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4804 * factory.C: submenu for Note/Comment/Greyedout
4806 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4809 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4811 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4814 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4815 greyedout. Patch provided by Jürgen Spitzmüller.
4817 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4819 * kbmap.C (read): fix error message when reading bind files
4821 2003-07-29 Angus Leeming <leeming@lyx.org>
4823 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4824 certainly does not do what it purports to do. I am doing it, and
4825 us, a favour by killing it.
4827 2003-07-28 José Matos <jamatos@lyx.org>
4829 * buffer.C (readBody, do_writeFile):
4830 * paragraph.C(readParagraph): \end_document replaces \the_end.
4832 2003-07-29 André Pönitz <poenitz@gmx.net>
4835 * BufferView_pimpl.[Ch]:
4839 * textcursor.[Ch]: remove toggleToggle & Co
4841 2003-07-28 José Matos <jamatos@fep.up.pt>
4843 * buffer.C (readParagraph):
4844 * params_func (readParToken, readParagraph):
4845 * paragraph.C (write): \layout -> \begin_layout.
4847 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * lyxlex_pimpl.C (setFile): clean up slightly.
4851 * bufferparams.h: add compressed var
4853 * buffer_funcs.C (readFile): adjust for LyXLex change
4854 (newFile): ditto + simplify
4856 * buffer.C (writeFile): handle writing of compressed files
4858 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4859 Check if the file is compressed and set a bufferparm if so.
4861 * Makefile.am (lyx_LDADD): remove explicit -lz
4863 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4865 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4866 makeDocBookFile): put the real LyX version in the first line of
4870 * version.C.in: remove lyx_docversion
4872 * tabular.C (write_attribute): add a template-based version to
4873 write enums properly
4875 2003-07-28 André Pönitz <poenitz@gmx.net>
4880 * text3.C: use doubles again for x-coordinates. They are needed.
4882 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * messages.C (getLocaleDir): use lyx_localedir()
4886 * lyxlex_pimpl.C (setFile): compress stuff
4888 * buffer.C (writeFile): add some compression stuff
4889 (do_writeFile): new func, dont call expliti close... will this
4892 * Makefile.am (lyx_LDADD): add -lz
4894 2003-07-28 José Matos <jamatos@fep.up.pt>
4896 * buffer.C: increment file format.
4897 * paragraph_funcs (readParagraph, readParToken):
4898 * paragraph.C (readParagraph): add \end_layout.
4900 2003-07-27 Angus Leeming <leeming@lyx.org>
4902 * Makefile.am: remove special casing for configure-time setting of
4903 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4905 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4906 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4908 2003-07-26 André Pönitz <poenitz@gmx.net>
4910 * paragraph_func.[Ch]:
4911 * paragraph.C (realizeFont): inline it whereever it is used
4916 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4919 2003-07-26 André Pönitz <poenitz@gmx.net>
4923 * text2.C: get rid of LyXText::need_break_row
4925 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * toc.[Ch]: put namespace toc inside namespace lyx
4929 * MenuBackend.C (expandToc2): adjust for lyx::toc
4932 * lyxfunc.C (dispatch): adjust for lyx::find
4934 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4935 lyx::find instead. Reorganize a bit.
4936 (LyXReplace): rename to replace
4937 (LyXFind): rename to find
4939 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4942 2003-07-26 André Pönitz <poenitz@gmx.net>
4944 * text.C (setHeightOfRow): restrict scope of temporary variable
4946 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4947 code (never has been used?)
4949 2003-07-27 Asger Alstrup <alstrup@local>
4951 * text.C (fill): Optimise algorithm to exploit that we can reuse
4952 the LyXFont for many characters.
4953 (setHeightOfRow): Same thing.
4954 (rowBreakPoint): Same thing.
4956 2003-07-26 Asger Alstrup <alstrup@local>
4958 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4960 * text.C (singleWidth): Spurious font copying in hot-spot
4961 singleWidth avoided. Reorder tests for arabic for efficiency.
4963 * text.C (fill): handle empty paragraphs better.
4965 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4968 * encoding.h: add includes
4970 * lyxrc.C: remove reading of bind files
4972 * lyx_main.C (init): setup bindings and menus only if we have a
4975 * kbmap.C (read): new method. Do the actual reading of bind
4978 * converter.C (dvipdfm_options):
4981 (output): adapt PAPER_* enums.
4983 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4985 * bufferparams.h: remove paper-related enums from there
4987 * paper.h: New file. A trivial header file to hold paper-related
4988 enums. It should later expand to contain many paper-related
4991 * lyxrc.C: declare extern displayTranslator
4993 2003-07-27 José Matos <jamatos@fep.up.pt>
4995 * tabular.[Ch] (linuxdoc): add support for tables and figures
4998 2003-07-27 José Matos <jamatos@fep.up.pt>
5000 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5001 consistency in both functions.
5002 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5004 2003-07-26 Asger Alstrup <alstrup@local>
5006 * rowpainter.C (paintRows): Change algorithm to work directly on
5007 the insets rather than asking every character in the document
5008 whether its an inset.
5010 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5012 * buffer.C (openFileWrite): factorize some code
5014 2003-07-26 Angus Leeming <leeming@lyx.org>
5017 * lyx_main.[Ch]: replace occurances of system_tempdir with
5020 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * rename Inset to InsetOld
5024 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5026 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5027 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5028 which I think is a bit clearer. EDIT is gone, since it was
5029 premature optimisation, and broken for mathed anyway.
5030 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5031 with cursor positioning in insets as well (math insets still do not
5032 work, but that's a different story anyway.) It mysteriously
5033 crashes sometimes with undo in the first paragraph, but I'm fairly
5034 confident that this is a compiler bug.
5036 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * paragraph.C (Paragraph): adjust for new clone return type
5040 (copyIntoMinibuffer): ditto
5042 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5044 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5045 by not having a special case, and always doing a full rebreak of
5046 the document after undo.
5048 2003-07-23 Angus Leeming <leeming@lyx.org>
5050 * factory.C (createInset): InsetExternal::setParams now takes a
5053 2003-07-23 Angus Leeming <leeming@lyx.org>
5055 * factory.C (createInset): changed interface to the external and
5056 graphics mailers' string2params functions.
5058 2003-07-23 Angus Leeming <leeming@lyx.org>
5060 * factory.C (createInset): pass a
5061 Buffer const * parameter to InsetExternalMailer's string2params.
5063 2003-07-22 John Levon <levon@movementarian.org>
5065 * Thesaurus.h: include the right aiksaurus header
5067 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5069 * MenuBackend.C (expand): check menu shortcuts unconditionally
5071 2003-07-21 Angus Leeming <leeming@lyx.org>
5073 * factory.C (createInset): pass a
5074 buffer_path parameter to InsetGraphicsMailer's string2params.
5076 2003-07-21 Angus Leeming <leeming@lyx.org>
5078 * BufferView_pimpl.C (buffer):
5081 * lyxfunc.C (dispatch):
5082 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5083 rather than the grfx shortcut.
5085 2003-07-21 André Pönitz <poenitz@gmx.net>
5087 * rowpainter.C: remove unused variables
5090 * tabular_funcs.h: move to tabular.C
5091 * Makefile.am: adjust
5093 * tabular.[Ch]: basic optical cleaning
5095 * author.h: pass references, not values
5097 2003-07-18 André Pönitz <poenitz@gmx.net>
5105 * text3.C: two-phase drawing for InsetText and InsetTabular
5106 some float -> int changes.
5108 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5110 * lyx_main.C: fix the fix
5112 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5114 * lyx_main.C: fix a crash in batch mode if no files specified
5117 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5119 * format.[Ch] (papersize): moved to BufferParams
5120 * converter.[Ch] (dvips_options): moved to BufferParams
5121 (dvipdfm_options): moved to anon namespace
5122 * bufferparams.[Ch]: added above functions.
5124 2003-07-17 André Pönitz <poenitz@gmx.net>
5128 * text2.C: don't call inset->update() anymore
5130 * metricsinfo.[Ch]: add convenience constructor
5132 2003-07-16 André Pönitz <poenitz@gmx.net>
5137 * text2.C: replace the LyXCursor::irow_ member with
5138 on-demand computation of the value
5140 2003-07-16 John Levon <levon@movementarian.org>
5142 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5144 2003-07-15 André Pönitz <poenitz@gmx.net>
5147 * text2.C: remove no more needed refresh_row
5149 2003-07-15 André Pönitz <poenitz@gmx.net>
5154 * text3.C: refresh_status tristate -> need_update bool
5156 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5158 * lyxtext.h (init): remove reinit argument (act as if always true)
5159 * text2.C: adjust to that
5161 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5163 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5164 * text3.C: use it to delete selections in some cases
5165 (bugs 441, 673, 702, 954).
5167 2003-07-14 André Pönitz <poenitz@gmx.net>
5169 * rowpainter.[Ch]: reduce interface
5171 2003-07-14 André Pönitz <poenitz@gmx.net>
5173 * BufferView_pimpl.C:
5174 * text2.C: adjust after removing unused BufferView * argument
5176 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5178 * text2.C (init): fix a crash fired on resize
5180 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5182 * buffer.[Ch]: added new closing signal
5183 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5184 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5185 BufferView::Pimpl via the closing the signal
5187 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5189 * buffer.[Ch]: take out all bv-related from buffer
5191 * BufferView_pimpl.[Ch]: connect to new signals
5192 * CutAndPaste.C: removed useless asserts
5193 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5196 * lyxfunc.C: moved view-related funciontality from vc here
5197 * paragraph.C: removed outdated comments
5200 2003-07-10 André Pönitz <poenitz@gmx.net>
5202 * BufferView_pimpl.C:
5206 * text2.C: remove InsetText::InnerCache, clean up consequences
5208 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5210 * ispell.C: fix two typos in error messages
5212 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5214 * Extend Note inset to other forms of annotation like Comment
5215 and Greyedout. Right button click gives dialog.
5217 Files modified or added (+):
5221 * ControlNote.[Ch] +
5223 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5224 frontends/controllers
5228 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5230 * aspell.C: add missing namespace lyx::support
5232 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5234 * BufferView.[Ch] (newFile): Add
5235 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5236 * LaTeX.[Ch] (message): added this signal and use it
5237 * buffer.[Ch] (busy, message): added these signals and use them
5238 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5242 * importer.C: use buffer signals instead of direct bv calling
5243 * lyx_cb.[Ch] (ShowMessage): removed
5246 * paragraph_funcs.C:
5247 * text2.C: use buffer signals
5249 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * introduce namespace lyx::graphics
5253 2003-07-02 André Pönitz <poenitz@gmx.net>
5255 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5257 2003-07-01 André Pönitz <poenitz@gmx.net>
5264 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5265 text*.C to text_func.C
5267 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * introduce namespace lyx::support
5271 2003-06-30 André Pönitz <poenitz@gmx.net>
5276 * text.C: re-enable --with-included-string
5278 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * textcursor.C: add <config.h>
5282 * text.C (getWord): remove const from word_location arg
5284 * lyxvc.C (getLogFile): fix const type order
5286 * lyxtext.h: remove const from word_location arg, add arg name
5288 * lyxlayout.h: currect type on labeltype.
5290 * importer.C: correct \file
5292 * converter.C (intToFormat): use std:: on ret val, ws changes
5294 * bufferlist.h: correct \file
5296 * buffer.C (makeLinuxDocFile): fix const type order
5297 (makeDocBookFile): ditto
5298 (fillWithBibKeys): use std:: on stdlib args.
5300 * CutAndPaste.C: fix authors.
5301 (availableSelections): use std:: on return vector
5303 2003-06-27 André Pönitz <poenitz@gmx.net>
5305 * BufferView_pimpl.C:
5306 * bufferview_funcs.C:
5314 * text3.C: remove LyXCursor::row_ member
5317 * text.C: rename fullRebreak() to partialRebreak() and implement
5318 a fullRebreak() that really bereks fully
5320 * textcursor.h: new struct for cursor-related data
5322 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5324 * lyx_main.C (LyX): get full path of document loaded on the
5327 2003-06-26 André Pönitz <poenitz@gmx.net>
5329 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5330 remove unused/broken operator>,<,>=.
5332 * text.C: remove only use of broken operator<= in an Assert().
5334 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5336 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5337 moved errorlist_.clear to showErrorList
5339 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5341 * converter.C (scanLog, runLaTeX):
5342 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5343 move the bv->showErrorList call to the callers
5344 * lyxfunc.C: i.e. here...
5346 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5347 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5348 namespace, the second to...
5349 * buffer_funcs (BufferFormat, parseErrors): added
5350 * errorlist.C (ErrorList(TeXErrors const &)): removed
5352 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5354 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5356 2003-06-24 "Garst R. Reese" <reese@isn.net>
5360 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5362 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5364 * version.C.in: change docversion to 1.4
5366 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5368 * buffer.C: fix a bug just introduced
5370 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5372 * buffer.[Ch]: added the parseError signal and use it, removed
5374 * BufferView.[Ch] (addError): moved to ...
5375 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5376 to the Buffer::parseError signal to catch (guess what) parse errors
5377 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5379 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5381 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5382 ability to create a buffer and to return an existing one from
5383 the list. Moved these functions to...
5384 * buffer_funcs.[Ch]: added
5385 * BufferView.[Ch] (loadLyXFile): added
5386 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5387 job removed from bufferlist::loadLyXFile.
5388 * buffer.C (setReadOnly): make it work without view
5389 (i.e added an if (users))
5391 2003-06-19 Angus Leeming <leeming@lyx.org>
5394 * LyXAction.C (init):
5395 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5396 with LFUN_DIALOG_SHOW <name> <data>.
5398 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5400 * CutAndPaste.C (availableSelections): small compilation fix for
5401 ancient (gcc 2.9x) compilers
5403 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5405 * text3.C (cursorNext): add tmp var
5407 * text2.C (updateCounters): for function calling out of for clause
5408 (replaceSelectionWithString): ditto
5409 (insertStringAsParagraphs): ditto
5410 (getColumnNearX): add tmp var
5411 (setCursorFromCoordinates): add tmp var
5412 (cursorDownParagraph): add tmp var
5413 (deleteEmptyParagraphMechanism): add tmp var
5415 * text.C (insertChar): add tmp var
5417 * rowpainter.C (paintDepthBar): add tmp var
5419 * CutAndPaste.C (availableSelections): potentially check all
5420 paragraphs in a cut to fill the shown strings.
5422 2003-06-18 André Pönitz <poenitz@gmx.net>
5424 * kbmap.[Ch]: use vector<> instead of list<>
5426 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5428 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5429 pasteSelection with index
5431 * text2.C (pasteSelection): modify, call pasteSelection with index
5433 * paragraph.C (asString): reimplement version with no interval to
5434 call the one with interval.
5436 * lyxtext.h: add index arg to pasteSelection
5438 * MenuBackend.C (MenuItem): handle PasteRecent
5439 (Menu::read::Menutags): add md_pasterecent
5441 (expandPasteRecent): new function
5444 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5446 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5448 (availableSelections): new function
5450 2003-06-17 Angus Leeming <leeming@lyx.org>
5452 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5454 2003-06-17 Angus Leeming <leeming@lyx.org>
5457 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5459 * lyxfunc.C (dispatch): invoke it.
5461 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5463 * iterators.C (operator++, ParPosition): reintroduce some
5464 const_cast for the benefit of older compilers.
5466 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5468 * text3.C (dispatch): do not modify clipboard when doing
5469 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5470 LFUN_DELETE_SKIP on a selection selection
5472 2003-06-16 André Pönitz <poenitz@gmx.net>
5478 * tabular.[Ch]: IU of clone() and getLabelList();
5480 2003-06-13 André Pönitz <poenitz@gmx.net>
5482 * tabular.h: compactification
5484 2003-06-12 André Pönitz <poenitz@gmx.net>
5488 * tabular_funcs.h: some renaming plus whitespace
5490 2003-06-12 André Pönitz <poenitz@gmx.net>
5493 * BufferView_pimpl.C:
5499 * toc.C: Return a Paragraph & for ParIterator::operator*()
5501 2003-06-11 John Levon <levon@movementarian.org>
5505 * ToolbarBackend.C: add "Toolbars" section and
5508 2003-06-10 Angus Leeming <leeming@lyx.org>
5511 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5513 * lyxfunc.C (dispatch): invoke it.
5515 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * main.C: protect <ios> with HAVE_IOS
5518 (main): protect sync_with_stdio with HAVE_IOS
5520 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5522 * text2.C (cutSelection): adjust
5523 (pasteSelection): adjust
5525 * messages.C: handle get of empty string
5527 * main.C (main): use sync_with_stdio(false)
5529 * lyxfunc.C (dispatch): adjust
5531 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5532 (WriteAs): remove unneeded BufferView arg.
5534 * bufferparams.h: use correct types on papersize, papersize2 and
5537 * bufferparams.C (readToken): adjust for type
5538 (writeLaTeX): add missing cases to switch.
5540 * bufferlist.C (quitWriteBuffer): adjust
5543 * buffer.C (asciiParagraph): remove some commented code.
5545 * CutAndPaste.C: remove current_view extern variable.
5546 (cutSelection): add BufferParams arg.
5547 (eraseSelection): add BufferParams arg.
5548 (pasteSelection): add Buffer const & arg
5550 2003-06-07 John Levon <levon@movementarian.org>
5553 * paragraph_funcs.C:
5554 * paragraph_pimpl.C:
5558 * paragraph.C: allow InsetERT to freely space lines,
5559 and some consolidation of code
5561 2003-06-06 José Matos <jamatos@fep.up.pt>
5563 * buffer.C (makeDocBookFile): fix bug #821
5565 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5567 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5569 2003-06-04 Angus Leeming <leeming@lyx.org>
5571 * buffer.C: bump format to 224.
5573 2003-06-05 André Pönitz <poenitz@gmx.net>
5575 * text2.C (redoParagraphs): remove two const_cast<>
5577 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5579 * ParagraphList.h: remove last remnants of NO_STD_LIST
5581 2003-06-03 Angus Leeming <leeming@lyx.org>
5583 * factory.C (createInset): small change to the way InsetExternal's params
5586 2003-06-04 André Pönitz <poenitz@gmx.net>
5588 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5590 * paragraph_pimpl.h:
5591 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5593 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5595 * undo_funcs.C: make some simple cases of undo work again
5597 2003-06-03 John Levon <levon@movementarian.org>
5599 * ispell.C: HPUX doesn't have sys/select.h
5602 2003-06-03 John Levon <levon@movementarian.org>
5604 * CutAndPaste.C: update tabular and include inset
5609 * paragraph.C: remove owningBuffer(), don't pass Buffer
5612 * factory.C: insetGraphicsParams changed
5614 2003-06-02 John Levon <levon@movementarian.org>
5620 * text3.C: remove insetparent
5622 2003-06-02 John Levon <levon@movementarian.org>
5625 * buffer.C: fix inset_iterator.end(), move out of line
5628 2003-06-01 John Levon <levon@movementarian.org>
5630 * text3.C: use a proper cut/paste when doing inset
5631 insert (from Jürgen Spitzmüller)
5633 2003-06-01 John Levon <levon@movementarian.org>
5635 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5637 2003-05-30 André Pönitz <poenitz@gmx.net>
5639 * rowpainter.C: unify second drawing phase
5641 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * trans_mgr.C: remove one case of current_view
5645 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5647 * paragraph_funcs.h: remove paragraph.h include
5649 * paragraph.h: delete NO_STD_LIST stuff
5651 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5653 * buffer.h: remove paragraph.h include
5655 * ParagraphList.C: delete file
5657 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5659 * toc.C (getTocList): adjust
5661 * paragraph_pimpl.C (validate): adjust
5663 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5665 * paragraph.C (Paragraph): adjust
5666 (getPositionOfInset): use const_iterator, adjust
5667 (bibitem): use const_iterator, adjust
5668 (setInsetOwner): adjust
5670 * iterators.C (operator++): adjust
5672 * InsetList.[Ch]: Replace selfmade iterator with standard
5673 vector::iterator also introduce const_iterator. Remove getPos,
5674 getInset and setInset from InsetTable. Adjust accordingly.
5676 * BufferView.C (lockInset): adjust
5677 (ChangeInsets): adjust
5679 * tabular.[Ch]: delete commented same_id functions
5681 2003-05-28 John Levon <levon@movementarian.org>
5683 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5685 2003-05-28 André Pönitz <poenitz@gmx.net>
5687 * metricsinfo.[Ch]: remove 'fullredraw' member
5689 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5691 * lyxtextclass.C (operator): remove caching.
5693 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * text2.C (cursorBottom): adjust
5698 (setCounter): use ParagraphList::find, adjust
5700 * text.C (workWidth): use ParagraphList::find, adjust
5702 * lyxcursor.C (LyXCursor): adjust
5704 * buffer.C (inset_iterator): adjust
5706 * ParagraphList.h: make iterator(value_type) private, make
5707 ParagraphList a friend of iterator.
5709 * ParagraphList.C (find): new function
5711 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5713 2003-05-27 André Pönitz <poenitz@gmx.net>
5715 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5717 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5719 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5721 2003-05-26 John Levon <levon@movementarian.org>
5723 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5725 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * remove same_id from function signatures, adjust.
5729 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5733 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5735 * paragraph.C (Paragraph): get rid of same_ids parameter
5737 * ParagraphList.C (insert): adjust
5740 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5742 * paragraph_funcs.C (breakParagraph): adjust
5743 (breakParagraphConservative): adjust
5745 * buffer.C (readParagraph): adjust
5747 * ParagraphList.C (insert): take a reference instead of a pointer
5750 * paragraph.[Ch] (id): new function
5752 * bufferlist.C (newFile): adjust
5754 * ParagraphList.C (ParagraphList): adjust
5756 (push_back): take a reference instead of a pointer.
5758 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5760 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5763 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5764 set else use old code.
5766 * ParagraphList.C: remove all NO_NEXT code and only compile this
5767 code of NO_STD_LIST is set.
5769 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5771 * BufferView_pimpl.C:
5781 * graphics/GraphicsConverter.C:
5782 * graphics/PreviewLoader.C: header adjustment
5784 2003-05-23 Angus Leeming <leeming@lyx.org>
5786 * LaTeXFeatures.[Ch] (useBabel): new method.
5787 * bufferparams.C (writeLaTeX): use it.
5789 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * ParagraphList.h (set): remove unused function.
5793 2003-05-23 André Pönitz <poenitz@gmx.net>
5796 * BufferView_pimpl.C:
5800 * undo_funcs.C: setUndo reworked
5802 * iterators.[Ch]: add access to topmost ParagraphList
5804 * lyxtext.[Ch] (workWidth): add a const
5806 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5808 * texrow.[Ch] (increasePos): remove function
5809 * exporter.C (export): removed unused var and outdated comment
5811 2003-05-23 Angus Leeming <leeming@lyx.org>
5813 * latexrunparams.h: rename fragile as moving_arg.
5814 * paragraph.C (simpleTeXOnePar): ditto.
5815 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5817 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5819 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5821 (textUndoOrRedo): comment out a currently unused var.
5823 * paragraph.h (NO_NEXT): enable NO_NEXT
5825 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5827 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5829 * exporter.C (Export): adjust for removeAutoInsets removal.
5831 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5833 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5835 * BufferView.[Ch] (removeAutoInsets): delete function
5837 2003-05-22 Angus Leeming <leeming@lyx.org>
5839 * latexrunparams.h: add a free_spacing variable.
5841 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5842 to pass moving_arg, as the data is stored in runparams.fragile.
5844 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5845 to Inset::latexOptional or to simpleTeXOnePar.
5847 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5848 free_spacing arg to Inset::latexOptional.
5850 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5853 2003-05-22 Angus Leeming <leeming@lyx.org>
5855 * latexrunparams.h: add fragile and use_babel variables.
5857 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5858 * buffer.C (makeLaTeXFile): store this returned value in
5859 runparams.use_babel, thus passing it to the inset::latex methods.
5861 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5862 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5864 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5865 longer has a fragile arg, as it is stored in runparams.fragile.
5867 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5868 moving_arg parameter as the data is stored in runparams.fragile.
5870 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5871 a fragile parameter as the data is stored in runparams.fragile.
5873 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5877 2003-05-22 Angus Leeming <leeming@lyx.org>
5879 * latexrunparams.h: add a 'bool nice' which defaults to false.
5881 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5882 now encapsulated within runparams.
5884 * bufferlist.C (updateIncludedTeXfiles):
5885 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5887 2003-05-22 Angus Leeming <leeming@lyx.org>
5889 * latexrunparams.h: new file containing struct LatexRunParams.
5890 * Makefile.am: add new file.
5892 * LaTeX.[Ch] (c-tor, run):
5893 * buffer.[Ch] (makeLaTeXFile):
5894 * bufferlist.[Ch] (updateIncludedTeXfiles):
5895 * converter.C (convert, scanLog):
5896 * converter.[Ch] (runLaTeX):
5897 * exporter.C (Export):
5898 * paragraph.[Ch] (simpleTeXOnePar):
5899 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5900 * paragraph_funcs.[Ch] (latexParagraphs):
5901 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5902 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5903 pass around a LatexRunParams parameter.
5905 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * paragraph.[Ch]: remove unused constructor
5909 * ParagraphList.C (erase): new function, taking two iterators
5911 2003-05-22 André Pönitz <poenitz@gmx.net>
5913 * undo_funcs.C: remove duplicated code
5915 * iterator.[Ch]: operator=
5917 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * tabular.C (SetMultiColumn): ws changes
5921 * rowpainter.C (paintFirst): get rid of a ->previous
5923 * lyx_cb.C (getPossibleLabel): parlist simplification
5925 * BufferView.C (ChangeInsets): simplify slightly.
5927 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5929 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5930 * lfuns.h: new LFUN_SPACE
5931 * lyxfunc.C: protected space has a new lfun
5932 * paragraph_funcs.C: read new space insets
5934 * factory.C: handle new space insets
5936 2003-05-22 André Pönitz <poenitz@gmx.net>
5939 * BufferView_pimpl.C:
5942 * undo_funcs.C: return a ParIterator from getParFromID.
5944 * iterators.[Ch]: add two const's
5946 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * toc.C (getTocList): adjust
5950 * iterators.[Ch]: rework for parlist
5952 * buffer.C (par_iterator_begin): adjust
5953 (par_iterator_end): adjust
5955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5957 * BufferView.C (removeAutoInsets): adjust
5958 (ChangeInsets): adjust
5960 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5962 * text.C (top_y): fix bug 1110
5964 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5966 * errorlist.[Ch]: added
5969 * BufferView_pimpl.C:
5970 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5973 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * Makefile.am: ensure that lyx is relinked upon changes to the
5976 various "convenience" libs.
5978 2003-05-20 Angus Leeming <leeming@lyx.org>
5980 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5981 files are compiled in alphabetical order again.
5983 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5985 2003-05-19 Angus Leeming <leeming@lyx.org>
5987 * gettext.[Ch]: remove "char const * _(char const *)".
5989 2003-05-19 André Pönitz <poenitz@gmx.net>
5991 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6000 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6002 2003-05-19 André Pönitz <poenitz@gmx.net>
6006 * lyxtextclass.[Ch]:
6008 * paragraph_funcs.[Ch]:
6010 * text3.C: more insetenv work
6012 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6014 * ParagraphParameters.C (params2string): small bug fixed
6016 2003-05-16 André Pönitz <poenitz@gmx.net>
6019 * bufferview_funcs.C: patch from Kornel Benko to prevent
6020 crash when _(...) is called twice in a statement
6022 2003-05-16 André Pönitz <poenitz@gmx.net>
6029 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6031 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6033 * lyx_main.C (init): remove spurious static_cast
6035 2003-05-14 André Pönitz <poenitz@gmx.net>
6037 * BufferView.C: fix format string
6039 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6041 * BufferView.[Ch] (insertErrors): removed
6042 * BufferView.[Ch] (showErrorList): added
6043 * buffer.C (runChkTeX):
6044 * converter.C (scanLog): call showErrorList instead of inserterrors
6046 2003-05-13 André Pönitz <poenitz@gmx.net>
6048 * BufferView_pimpl.C:
6050 * bufferview_func.C:
6057 * tabular_funcs.h: tostr() from its own header
6059 * ParagraphParameters.C:
6064 * text3.C: STRCONV()
6066 2003-05-12 André Pönitz <poenitz@gmx.net>
6069 * BufferView_pimpl.C:
6073 * ParagraphParameters.C:
6077 * bufferview_funcs.C:
6090 * paragraph_funcs.C:
6094 * text3.C: boost::format -> bformat all over the place
6097 2003-05-09 André Pönitz <poenitz@gmx.net>
6099 * LColor.[Ch]: Pimpl the #include <map> away
6101 2003-05-09 John Levon <levon@movementarian.org>
6103 * bufferlist.C: never remove emergency saves
6105 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * Makefile.am: better lib building
6109 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6113 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6114 (simpleTeXSpecialChars): adjust
6115 (simpleTeXSpecialChars): adjust
6116 * paragraph.C (simpleTeXOnePar): adjust
6117 * buffer.C (makeLaTeXFile): adjust
6119 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6121 * text2.C (changeDepth): parlist cleanup
6122 (getColumnNearX): ditto
6124 * rowpainter.C (getLabelFont): parlist cleanup
6126 * bufferlist.C (newFile): parlist cleanup
6128 * CutAndPaste.C (eraseSelection): parlist cleanup
6130 * BufferView_pimpl.C (trackChanges): parlist cleanup
6133 * BufferView.C (lockInset): parlist cleanup.
6134 (ChangeInsets): ditto
6136 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * CutAndPaste.h: Update file header.
6140 * CutAndPaste.C: Update file header.
6141 Store the parts cut out of the Document in a limited_stack.
6142 (copySelection): adjust
6143 (pasteSelection): new function, takes the index in the limited stack.
6144 (nrOfParagraphs): adjust
6145 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6146 simplify error inset insertion.
6147 (checkPastePossible): adjust
6149 2003-05-06 John Levon <levon@movementarian.org>
6151 * text2.C: don't cast wrap inset to float
6153 2003-05-05 André Pönitz <poenitz@gmx.net>
6156 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6158 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6159 few naked Paragraph *.
6161 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6163 * bufferparams.C: Output warning if a document with missing
6164 TeX document class is loaded
6165 * exporter.C: Disable TeX exports if the document class is missing
6168 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6169 isTeXClassAvailable()
6171 2003-05-03 John Levon <levon@movementarian.org>
6174 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6175 explicit cursor show/hide
6177 * BufferView_pimpl.h:
6178 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6179 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6181 * lyxfunc.C: hide cursor before dispatching.
6186 * text3.C: remove explicit cursor hides
6188 2003-05-02 André Pönitz <poenitz@gmx.net>
6190 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6193 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6196 * text2.C: tiny whitespace
6198 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * undo_funcs.C: almost only ws changes.
6202 * ParagraphList.C (splice): just return if pl is empty.
6204 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * ParagraphList.C (splice): new function.
6208 * CutAndPaste.C (pasteSelection): use it
6210 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6212 * CutAndPaste.C (pasteSelection): remove the last next and
6213 previous from this file.
6215 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * CutAndPaste.C (pasteSelection): more clean up, user proper
6218 ParagraphList functions for pasteing.
6220 * ParagraphList.C (insert): new function, three arg insert
6222 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * ParagraphList.C (insert): new function, three arg insert
6226 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6235 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6237 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6240 (copySelection): clean up a bit.
6241 (pasteSelection): use make_pair
6243 * ParagraphList.C (ParagraphList): implement copy constructor
6244 (operator=): implement, base on copy constructor.
6247 * paragraph.C (erase): return a bool
6249 * paragraph_pimpl.C (erasePos): remove function, move contents...
6250 (erase): ... here. Return a bool.
6251 (erase): call erase instead of erasePos.
6253 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6255 * ParagraphList.h: define PitPosPair
6256 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6257 ParagraphList, fix a bug on pasting multiple pars
6258 * text2.C: change interface to C&P
6260 2003-04-30 André Pönitz <poenitz@gmx.net>
6262 * undo_func.C: revert part of yesterday's patch 2
6264 2003-04-30 John Levon <levon@movementarian.org>
6266 * LColor.C: s/tabular/table/
6268 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * text3.C (dispatch): do not convert iterator -> pointer
6271 * undo_funcs.C (setCursorParUndo): ditto
6272 * text_funcs.C (transposeChars): ditto
6274 * text2.C (setLayout): ws changes only
6276 * text.C (breakParagraph): do not convert iterator -> pointer
6278 (acceptChange): ditto
6279 (rejectChange): ditto
6284 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6287 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6289 * text3.C (gotoInset): YABG (yet another bad getChar)
6291 2003-04-29 André Pönitz <poenitz@gmx.net>
6293 * paragraph.h: make operator= private unimplemented as long as
6296 * ParagraphList.C: whitespace
6299 * paragraph_pimpl.[Ch]:
6300 * paragraph_funcs.C:
6302 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6305 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6307 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6309 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6310 * paragraph.[Ch] (erase):
6311 * paragraph_pimpl.[Ch] (erase): change return type and value
6312 * text2.C (cutSelection): some rework
6314 2003-04-28 John Levon <levon@movementarian.org>
6316 * bufferlist.C: changes for unsaved changes dialog
6318 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * bufferlist.C (newFile): set language (messages_) for new
6323 * buffer.C (readFile): ws changes only.
6325 2003-04-28 André Pönitz <poenitz@gmx.net>
6330 * BufferView_pimpl.C:
6331 * BufferView.C: getParFromID related ParagraphList::iterator changes
6333 2003-04-28 André Pönitz <poenitz@gmx.net>
6335 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * messages.C: remove one more localedir class variable.
6342 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * messages.C (getLocaleDir): singleton generation function
6346 (Messages): add a default constructor.
6348 * main.C (main): do not setup localedir here, do not call
6351 * gettext.C (_): use it.
6352 (gettext_init): delete funciton
6354 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * gettext.C (getLyXMessages): new singleton generating function.
6358 * buffer.C (updateDocLang): adjust
6360 * Makefile.am (messages.o): add target
6361 (main.o): remove target
6363 2003-04-27 John Levon <levon@movementarian.org>
6368 * lyxvc.C: specify cancel button in Alert::prompt
6370 2003-04-26 John Levon <levon@movementarian.org>
6375 * LyXAction.C: add LFUN_INSET_SETTINGS
6377 * lyxfunc.C: don't enable tabular-feature when there's
6378 just any locking inset
6380 2003-04-26 John Levon <levon@movementarian.org>
6382 * bufferlist.C: re-add Cancel to buffer close question
6384 * lyxfunc.C: fix import UI a bit
6386 2003-04-25 John Levon <levon@movementarian.org>
6388 * gettext.C: remove the broken asserts for now
6390 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6392 * messages.C: make case where setlocale cannot comply work better.
6394 * buffer.C (updateDocLang): new function
6395 (changeLanguage): use it
6398 * text2.C (setCounter): use B_ a bit.
6400 * lyxlayout.C (Read): be sure to trim the label strings.
6402 * messages.C (Messages): fix typo in comment
6404 * buffer.C (readFile): set message_ after file is loaded.
6405 (makeDocBookFile): remove double return
6406 (changeLanguage): reset message_ upon language change.
6407 (B_): new func, use this to get translated buffer strings.
6409 * main.C: add myself and Jean Marc as authors.
6411 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * messages.[hC]: pimplify Messages, and three different pimpls to be
6414 used in different circumstances.
6416 * gettext.[Ch]: change for use with new message code.
6418 2003-04-24 André Pönitz <poenitz@gmx.net>
6420 * factory.C: support for eqref
6422 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * messages.[Ch]: add missing char
6426 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6428 * messages.[Ch]: New files
6430 2003-04-18 John Levon <levon@movementarian.org>
6434 * BufferView_pimpl.C:
6438 * text2.C: remove layout-copy/paste (bug 778)
6440 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6442 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6444 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6446 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6447 if they succeed. Act accordingly.
6449 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * text2.C (setCharFont): adjust
6452 (setCounter): adjust
6453 (insertStringAsLines): adjust
6455 * text.C (leftMargin): adjust
6456 (setHeightOfRow): adjust
6458 * rowpainter.C (paintFirst): adjust
6461 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6463 (isFirstInSequence): ditto
6464 (getEndLabel): ditto
6467 * paragraph.C (getParLanguage): comment out some hard stuff.
6469 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6471 (simpleDocBookOnePar): ditto
6472 (makeDocBookFile): use ParagraphList::iterator
6474 * CutAndPaste.C (pasteSelection): adjust
6476 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * text2.C (getFont): adjust
6479 (getLayoutFont): adjust
6480 (getLabelFont): adjust
6482 * paragraph_funcs.C (TeXOnePar): adjust
6484 * buffer.C (simpleLinuxDocOnePar): adjust
6485 (simpleDocBookOnePar): adjust
6487 * CutAndPaste.C (pasteSelection): adjust
6489 * BufferView.C (getEncoding): adjust
6491 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6493 2003-04-16 John Levon <levon@movementarian.org>
6495 * lyxfind.C: use parlist stuff for search/changes
6497 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6499 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6501 * text2.C (deleteEmptyParagraphMechanism): adjust
6503 * text2.[Ch] (ownerParagraph): delete func (both of them
6505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6509 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * ParagraphList.C: prepare for NO_NEXT
6513 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * text2.C (getFont): adjust
6516 (getLayoutFont): adjust
6517 (getLabelFont): adjust
6519 * paragraph.C (getFont): adjust
6520 (getLabelFont): adjust
6521 (getLayoutFont): adjust
6523 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6525 2003-04-15 John Levon <levon@movementarian.org>
6529 * lyx_main.C: handle Include in .ui files
6531 2003-04-15 John Levon <levon@movementarian.org>
6533 * MenuBackend.C: make the doc files length shorter
6536 * ToolbarBackend.C: handle toolbar placement flags,
6539 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6544 * paragraph_funcs.C (TeXOnePar): adjust
6546 * paragraph.C (getLabelFont): add outerfont arg, adjust
6547 (getLayoutFont): ditto
6548 (simpleTeXOnePar): adjust
6550 * paragraph_pimpl.C (realizeFont): delete func
6552 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6554 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6555 row argument, constify cur argument.
6557 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * text2.C (getFont): adjust
6560 (getLayoutFont): adjust
6561 (getLabelFont): adjust
6563 * paragraph_funcs.C (TeXOnePar): adjust
6564 (outerFont): new func...
6565 (realizeFont): ...moved out from here, changed this to facilitate
6568 * paragraph.C (getFont): take outerfont as arg, adjust
6569 (simpleTeXOnePar): add outerfont arg, adjust
6571 * buffer.C (simpleLinuxDocOnePar): adjust
6572 (simpleDocBookOnePar): adjust
6574 * CutAndPaste.C (pasteSelection): adjust
6576 * BufferView.C (getEncoding): adjust
6578 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * text2.C (setCharFont): adjust
6581 (setCounter): adjust
6583 * text.C (leftMargin): adjust
6584 (setHeightOfRow): adjust
6586 * rowpainter.C (paintFirst): adjust
6589 * paragraph_pimpl.C (realizeFont): adjust
6591 * paragraph.C (isFirstInSequence): move from here...
6592 * paragraph_funcs.C (isFirstInSequence): ...to here
6594 * paragraph.C (outerHook): move from here...
6595 * paragraph_funcs.C (outerHook): ...to here
6597 * paragraph.C (depthHook): move from here...
6598 * paragraph_funcs.C (depthHook): ...to here
6600 * paragraph.C (getEndLabel): move from here...
6601 * paragraph_funcs.C (getEndLabel): ...to here
6603 * text2.C (realizeFont): move from here...
6604 * paragraph_funcs.C (realizeFont): ...to here
6606 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6610 2003-04-14 Angus Leeming <leeming@lyx.org>
6612 * LColor.[Ch]: scrap LColor mathcursor.
6614 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * lyxlex.[Ch] (text): delete function
6617 * trans.C (Load): adjust
6618 * paragraph_funcs.C (readParToken): adjust
6620 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6623 vector<char> instead of a char[].
6625 * lyxlex_pimpl.C (getString): adjust
6627 (lex): use getString
6631 * lyxlex.C (text): use pimpl_->getString()
6635 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6638 (makeFontEntriesLayoutSpecific): temp var for par.size()
6639 (setLayout): temp var for ownerParagraphs().end()
6640 (fullRebreak): temp var for rows().end()
6641 (selectionAsString): temp var for boost::next(startpit), realize
6642 that the while really is a regular for loop.
6643 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6644 setCursor in one place.
6645 (setParagraph): temp vr for ownerParagraphs().end()
6646 (updateCounters): make the while loop a for loop
6647 (cutSelection): temp var for ownerParagraphs().end()
6648 (updateInset): make the do {} while() a regular for loop
6649 (getCursorX): use temp vars
6650 (setCurrentFont): use temp vars
6651 (getColumnNearX): use temp vars
6653 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6655 * text.C (transformChar): use temp var for getChar
6656 (computeBidiTables): use temp var for row->par()
6657 (fill): move temp vars for row->par() and pit->layout() earlier in
6659 (labelFill): use temp var for row->par()
6660 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6661 asc and desc, realize that pit never changes and that firstpit is
6662 just a duplicate and not needed. Exchange rit->par() with pit in a
6664 (breakAgain): use a temp var for boost::next(rit)
6665 (breakAgainOneRow): ditto
6666 (breakParagraph): use a temp var for rows().begin()
6667 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6668 (cursorRightOneWord): use temp var for cursor.par() and
6669 cursor.pos(), remove usage of tmpcursor.
6670 (cursorLeftOneWord): use temp var for cursor.par() and
6671 cursor.pos() only set cur at end of function.
6673 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * text.C, text2.C: exchange all usage of Paragraph::next with
6676 boost::next(ParagraphList::iterator)
6678 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6680 * text2.C (cursorTop): simplify implementation
6681 (cursorBottom): ditto
6682 (setParagraph): use ParagraphList::iterator
6683 (setCurrentFont): adjust
6684 (getColumnNearX): adjust
6685 (cursorRight): adjust
6686 (cursorLeft): remove usage of Paragraph::previous
6687 (cursorUpParagraph): ditto
6688 (deleteEmptyParagraphMechanism): slight cleanup
6690 * text.C (isBoundary): take a Paragraph const & instead of a
6692 (addressBreakPoint): ditto
6693 (leftMargin): remove usage of Paragraph::previous.
6694 (setHeightOfRow): ditto
6695 (cursorLeftOneWord): ditto
6696 (selectNextWordToSpellcheck): ditto
6699 (breakParagraph): remove one usage of Paragraph::next
6700 (redoParagraph): ditto
6701 (acceptChange): ditto
6702 (insertChar): adjust
6703 (rowBreakPoint): adjust
6705 * bufferview_funcs.C (toggleAndShow): adjust
6707 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6709 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6710 methods to access it.
6712 * text.C: Added updateRowPositions to compute all row positions.
6713 Make top_y and getRowNearY() to use the cached y position
6715 2003-04-11 John Levon <levon@movementarian.org>
6717 * text.C (rowBreakPoint): reintroduce the labelEnd
6718 checks, code copied from the row fill stuff. Deep voodoo.
6720 * text.C (fill): add a comment and debugging for the
6723 2003-04-11 John Levon <levon@movementarian.org>
6725 * text.C: make sure fullrow insets get wrapped to the next line,
6726 even when they're in a manual label
6728 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * text2.C (insertParagraph): make it take ParagraphList::iterator
6732 (setLayout): make it return ParagraphList::iterator
6733 (redoParagraphs): ditto
6735 (checkParagraph): ditto
6737 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6739 * text2.C: adjust several funcs.
6740 (realizeFont): take a ParagraphList::iterator as arg.
6741 (getLayoutFont): ditto
6742 (getLabelFont): ditto
6743 (setCharFont): ditto
6745 * text.C: adjust several funcs.
6747 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6749 * text.C (selectNextWordToSpellcheck): don't accidentally
6752 2003-04-10 John Levon <levon@movementarian.org>
6754 * ToolbarBackend.C (getIcon): special handling for
6757 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6759 * text2.C (cursorRight): a getChar assert fixed
6761 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * text2.C (getFont): change to take a ParagraphList::iterator
6764 instead of Paragraph*
6765 Adjust several functions.
6767 * text.C (transformChar): change to take a ParagraphList::iterator
6768 instead of Paragraph*
6769 (singleWidth): ditto
6770 Adjust several functions.
6772 * rowpainter.C: adjust several functions
6773 * rowpainter.h:store a ParagraphList::iterator and not a
6777 2003-04-09 John Levon <levon@movementarian.org>
6782 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6783 and the "help" bits as well
6785 2003-04-09 John Levon <levon@movementarian.org>
6788 * ToolbarBackend.C: allow multiple toolbars
6790 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6792 * undo_funcs.C (setCursorParUndo): adjust
6794 * text_funcs.C (transposeChars): adjust
6796 * text3.C (gotoNextInset): adjust
6799 * text2.C (setLayout): adjust
6800 (changeDepth): adjust
6802 (redoParagraphs): adjust
6803 (selectionAsString): adjust
6804 (setParagraph): adjust
6805 (insertInset): adjust
6806 (cutSelection): adjust
6807 (copySelection): adjust
6808 (pasteSelection): adjust
6809 (insertStringAsLines): adjust
6810 (updateInset): adjust
6811 (setCursor): change to take a ParagraphList::iterator parameter
6812 (setCursorIntern): change to take a ParagraphList::iterator parameter
6813 (setCurrentFont): adjust
6814 (cursorLeft): adjust
6815 (cursorRight): adjust
6816 (deleteEmptyParagraphMechanism): adjust
6818 * text.C (breakParagraph): adjust
6819 (insertChar): adjust
6820 (acceptChange): adjust
6821 (rejectChange): adjust
6822 (selectNextWordToSpellcheck): adjust
6823 (changeCase): adjust
6827 * lyxfind.C (SearchForward): adjust
6828 (SearchBackward): adjust
6829 (nextChange): adjust
6831 * lyxcursor.C (par): adjust
6833 * lyxcursor.h: store a ParagraphList::iterator instead of a
6836 * lyx_cb.C (getPossibleLabel): adjust
6838 * bufferview_funcs.C (toggleAndShow): adjust
6840 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6843 * BufferView.C (removeAutoInsets): adjust
6844 (lockedInsetStoreUndo): adjust
6846 2003-04-09 John Levon <levon@movementarian.org>
6848 * ToolbarBackend.C: try icon without argument
6849 if with argument fails
6851 2003-04-08 John Levon <levon@movementarian.org>
6854 * ToolbarBackend.C: add getIcon(), handle tooltip,
6855 and change from "Icon" to "Item".
6857 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6859 * BufferView.C (lockInset): another bad getchar crunched
6861 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6863 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6866 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6868 * lyxfind.C (searchForward, searchBackwards): bug 782
6870 2003-04-07 John Levon <levon@movementarian.org>
6872 * paragraph.C: remove dead comment
6874 * text.C: remove troublesome depth-fiddling code
6875 in leftMargin() and rightMargin() (bug 1017)
6877 * text.C: fix breaking of rows in nested lists
6880 * text2.C (updateCounters): fix up depth values
6883 2003-04-07 John Levon <levon@movementarian.org>
6885 * BufferView_pimpl.C: clear message when doc finishes resizing,
6886 and after a mouse event
6888 * lyxfunc.C: clear message after exiting inset
6890 2003-04-07 John Levon <levon@movementarian.org>
6892 * bufferview_funcs.C: show math status not outside
6893 status in the statusbar
6895 2003-04-07 John Levon <levon@movementarian.org>
6897 * lyxfunc.C: note status changed after a depth change
6899 2003-04-04 Angus Leeming <leeming@lyx.org>
6901 * LaTeX.h: move AuxInfo operator==, != out of line.
6902 Remove LaTeX virtual destructor; nothing derives from it.
6903 Move operator()() out of public area and rename it startscript().
6904 Change protected for private.
6906 2003-04-04 Angus Leeming <leeming@lyx.org>
6909 * text2.C: remove unneeded #includes.
6911 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6913 * text2.C (dEPM): fix the heigth of the next row
6915 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6917 * text.C: squashed an invalid getChar requester + some ws changes
6919 2003-04-03 John Levon <levon@movementarian.org>
6921 * bufferview_funcs.h:
6922 * bufferview_funcs.C:
6925 * text2.C: make getStatus work for the env depth lfuns
6927 2003-04-03 John Levon <levon@movementarian.org>
6929 * bufferview_funcs.h:
6930 * bufferview_funcs.C:
6933 * text2.C: parlistize decDepth(), by merging it with incDepth()
6935 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * lyxrow.h: store a ParagraphList::iterator instead of a
6938 Paragraph* and adjust other class functions to suit.
6940 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6943 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6945 * text2.C (setCursor): do not anchor to cursor row for the time being
6947 2003-04-02 John Levon <levon@movementarian.org>
6954 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6956 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * paragraph.h: make ParagraphList and ParagraphList::iterator
6959 friends of Paragraph.
6961 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6963 * ParagraphList.C: Use the private next_ and previous_ from
6966 2003-04-01 John Levon <levon@movementarian.org>
6970 * Makefile.am: rename, remove defaults gunk
6973 * MenuBackend.C: remove defaults gunk
6976 * Languages.C: remove defaults gunk
6979 * lyx_main.C: error out if files couldn't be found.
6981 2003-04-02 John Levon <levon@movementarian.org>
6983 * text2.C: make incDepth() use parlist
6985 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * undo_funcs.C (firstUndoParagraph): adjust
6989 * text3.C (gotoInset): adjust
6990 (dispatch): adjust, and rewrite loop.
6992 * text2.C (init): adjust, and rewrite loop.
6993 (redoParagraphs): adjust
6994 (updateInset): adjust, and rewrite loop.
6995 (deleteEmptyParagraphMechanism): adjust
6997 * tabular.C (LyXTabular): adjust
6998 (SetMultiColumn): adjust
7001 * lyxtext.[Ch] (ownerParagraph): delete function
7002 (ownerParagraphs): new function returns a ParagraphList.
7004 * BufferView.C (removeAutoInsets): adjust
7005 (insertErrors): adjust
7006 (setCursorFromRow): adjust
7008 2003-04-01 Angus Leeming <leeming@lyx.org>
7010 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7013 2003-04-02 John Levon <levon@movementarian.org>
7019 * text_funcs.C: make transposeChars a free function
7021 * lyxrow_funcs.C: remove wrong comment
7023 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * rowpainter.C: adjust
7031 * lyxrow_funcs. [Ch]: new files
7033 * lyxrow.[Ch]: remove next and previous pointers
7034 (next,previous): remove accessor functions
7035 (isParEnd): move to lyxrow_funcs
7036 (lastPos): move to lyxrow_funcs
7037 (nextRowIsAllInset): move to lyxrow_funcs
7038 (lastPrintablePos): move to lyxrow_funcs
7039 (numberOfSeparators): move to lyxrow_funcs
7040 (numberOfHfills): move to lyxrow_funcs
7041 (numberOfLabelHfills): move to lyxrow_funcs
7042 (hfillExpansion): move to lyxrow_funcs
7046 * bufferview_funcs.C (toggleAndShow): adjust
7048 * RowList.h: Remove class RowList from file leave just a
7051 * RowList.C: delete file
7053 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7056 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text3.C (cursorPrevious): adjust
7059 (cursorNext): adjust
7062 * text2.C (redoHeightOfParagraph): adjust
7063 (redoDrawingOfParagraph): adjust
7066 * text.C (breakParagraph): adjust
7067 (insertChar): adjust
7070 * rowpainter.C (RowPainter): adjust
7071 (leftMargin): simplify and adjust
7072 (most rowpainter functions): adjust.
7074 * rowpainter.h: store the row as RowList::iterator not as Row*
7076 * lyxcursor.C (row): taka RowList::iterator as arg
7079 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7082 2003-04-01 Angus Leeming <leeming@lyx.org>
7084 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7085 stuff like bool Bool.
7087 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7089 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7092 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7097 * lyxtext.h (rows): drop one version and leve a const variant that
7098 returns a RowList::iterator.
7100 2003-03-31 Angus Leeming <leeming@lyx.org>
7102 * text.C (fill): ensure that the signature is the same as that in the
7105 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * text2.C (redoParagraphs): adjust
7108 (updateCounters): adjust
7109 (checkParagraph): adjust
7110 (getColumnNearX): adjust and reformat a bit.
7112 * text.C (top_y): adjust
7114 (leftMargin): adjust
7115 (prepareToPrint): adjust
7117 (getRowNearY): adjust
7119 * lyxtext.h: make rowlist_ mutable.
7121 * RowList.h: add const_iterator
7122 * RowList.C: adjust for RowList::const_iterator.
7124 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7127 2003-03-31 John Levon <levon@movementarian.org>
7130 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7132 * lyx_main.C: set default fonts from using lyx_gui funcs
7134 * exporter.C: pdf_mode moved from lyxrc
7137 * lyxfunc.C: changes from above
7139 2003-03-31 John Levon <levon@movementarian.org>
7141 * lyx_main.C: fix to the last fix
7143 2003-03-31 John Levon <levon@movementarian.org>
7145 * bufferlist.C: "Load original" -> "Load Original"
7151 * format.C: more Alert cleanups
7153 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7155 * text2.C (removeParagraph): make it take a RowList::iterator as
7157 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7158 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7160 * text.C (anchor_row): make it take a RowList::iterator as arg,
7162 (computeBidiTables): make it take a const reference to Row instead
7163 of Row pointer, adjust.
7164 (leftMargin): make it take a RowList::iterator as arg, adjust.
7165 (rowBreakPoint): adjust
7166 (breakAgainOneRow): make it take a RowList::iterator as arg,
7168 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7170 * bufferview_funcs.C (toggleAndShow): adjust
7172 2003-03-30 John Levon <levon@movementarian.org>
7176 * boost-inst.C: moved to support
7178 * several files: changes as a result
7180 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * text2.C (LyXText): adjust.
7184 (removeRow): make it take a RowList::iterator as arg, adjust.
7185 (fullRebreak): adjust
7186 (deleteEmptyParagraphMechanism): adjust
7187 (clearPaint): adjust
7190 * text.C (top_y): adjust
7191 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7192 (breakAgain): make it take a RowList::iterator as arg, adjust.
7193 (breakParagraph): adjust
7194 (insertChar): adjust
7197 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7198 need_break_row, and refresh_row.
7200 * text3.C (dispatch): adjust
7202 * text2.C (checkParagraph): adjust
7204 (setCursorFromCoordinates): adjust
7206 * text.C (top_y): adjust
7208 (getRow): make it return a RowList::iterator, adjust
7209 (getRowNearY): make it return a RowList::iterator, adjust
7211 * text2.C (init): adjust
7212 (insertRow): remove function
7213 (insertParagraph): adjust
7214 (redoParagraphs): adjust
7215 (fullRebreak): adjust
7216 (updateCounters): adjust
7218 * text.C (top_y): rewrite to use RowList iterators.
7220 (setHeightOfRow): rewrite to sue RowList iterators.
7221 (appendParagraph): adjust
7222 (breakAgain): adjust
7223 (breakAgainOneRow): adjust
7224 (breakParagraph): adjust
7226 (getRowNearY): adjust, and remove commented code.
7228 * lyxtext.h (firstRow): delete function
7229 (lastRow): delete function
7230 (rows): new function (const and non-const versions.)
7231 (insertRow): delete function
7233 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7235 2003-03-29 John Levon <levon@movementarian.org>
7237 * BufferView_pimpl.C: always update scrollbar top
7238 because pasting text when we're anchored could mean we
7239 miss an update altogether
7241 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * text2.C (init): use rowlist_.end() and not 0.
7244 (insertRow): change to take a RowList::iterator as arg, adjust
7246 (insertParagraph): change to take a RowList::iterator as arg,
7248 (redoParagraphs): remove some debug msgs.
7250 * text.C (appendParagraph): change to take a RowList::iterator
7251 arg, adjust for this.
7252 (breakAgain): add an assert
7253 (breakAgainOneRow): ditto
7255 2003-03-29 John Levon <levon@movementarian.org>
7257 * text2.C: do not clear selection after inc/decDepth
7260 2003-03-29 John Levon <levon@movementarian.org>
7263 * buffer.C: fix broken strerrors according to Lars
7265 2003-03-29 John Levon <levon@movementarian.org>
7267 * converters.C: more Alert cleanups
7269 2003-03-29 John Levon <levon@movementarian.org>
7271 * bufferview_funcs.C: remove pointless Alert
7273 * buffer.C: fix confusing error message when
7274 a template is chmoded 000
7276 2003-03-29 John Levon <levon@movementarian.org>
7280 * BufferView_pimpl.C: Alert fixes
7284 * tabular-old.C: remove unused table compat reading
7286 2003-03-29 John Levon <levon@movementarian.org>
7291 * lyx_cb.C: more Alert cleanups
7293 * lyxfunc.C: don't allow chktex if not latex document
7295 2003-03-29 John Levon <levon@movementarian.org>
7299 * buffer.C: warnings pushed down from support/,
7302 2003-03-29 John Levon <levon@movementarian.org>
7304 * lyxfunc.C: safety check for C-r (revert)
7306 2003-03-29 John Levon <levon@movementarian.org>
7309 * bufferlist.C: several UI fixes using Alert::prompt.
7310 Fix the pointless looping quit code. Fix stupid revert
7315 * lyx_cb.C: use Alert::prompt
7317 * lyx_main.C: remove a silly question
7319 * lyxfunc.C: remove a couple of silly questions,
7322 2003-03-28 John Levon <levon@movementarian.org>
7324 * text2.C: fix bug 974 (End on empty par)
7326 2003-03-28 John Levon <levon@movementarian.org>
7328 * BufferView_pimpl.C:
7330 * lfuns.h: remove do-nothing math greek lfuns
7332 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * lyxgluelength.h (isValidGlueLength): add default arg on
7335 parameter 2. Remove default arg from friend in class.
7337 * lyxlength.h (isValidLength): add default arg on parameter 2.
7338 Remove default arg from friend in class.
7340 * text2.C (LyXText): adjust, initialize refresh_row.
7344 (insertParagraph): adjst
7345 (redoParagraphs): adjust
7346 (fullRebreak): adjust
7347 (updateCounters): adjust
7348 (deleteEmptyParagraphMechanism): first attempt at fixing a
7351 * text.C (top_y): adjust
7352 (setHeightOfRow): adjust
7354 (getRowNearY): adjust
7356 * lyxtext.h: include RowList.h
7357 (~LyXText): not needed anymore, deleted.
7358 (firstRow): modify for RowList
7359 (lastRow): new function
7360 Delete firstrow and lastrow class variables, add a Rowlist
7361 rowlist_ class variable.
7363 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7366 * RowList.C (insert): fix case where it == begin().
7368 2003-03-26 Angus Leeming <leeming@lyx.org>
7370 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7371 the thesaurus dialog.
7373 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7377 * RowList.[Ch]: new files
7379 * ParagraphList.C (erase): handle the case where it == begin
7382 2003-03-25 John Levon <levon@movementarian.org>
7386 * aspell.C: add new aspell support
7389 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7392 2003-03-25 Angus Leeming <leeming@lyx.org>
7395 * LyXAction.C (init): new LFUN_INSET_INSERT.
7397 * BufferView_pimpl.C (dispatch): split out part of the
7398 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7400 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7403 2003-03-25 Angus Leeming <leeming@lyx.org>
7405 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7407 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7410 * text3.C: remove useless row->height(0)
7412 2003-03-25 John Levon <levon@movementarian.org>
7416 * text3.C: rename the refreshing stuff to better names
7418 2003-03-24 John Levon <levon@movementarian.org>
7420 * BufferView_pimpl.h:
7421 * BufferView_pimpl.C: update layout choice on a mouse
7424 2003-03-23 John Levon <levon@movementarian.org>
7426 * Makefile.am: fix commandtags.h reference
7428 2003-03-22 John Levon <levon@movementarian.org>
7430 * BufferView_pimpl.C:
7435 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7437 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7440 * text.C: take the rtl methods out of line
7442 2003-03-21 André Pönitz <poenitz@gmx.net>
7444 * metricsinfo.[Ch]: new files containing structures to be passed around
7445 during the two-phase-drawing...
7447 2003-03-21 André Pönitz <poenitz@gmx.net>
7449 * lyxtextclass.C: read 'environment' tag.
7451 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7453 * text2.C (removeRow): fix bug 964
7455 2003-03-20 John Levon <levon@movementarian.org>
7459 * text2.C: paint cleanups. Inset::update() dropped font
7462 2003-03-19 John Levon <levon@movementarian.org>
7464 * lyxfunc.C: only fitcursor/markDirty if available()
7466 2003-03-19 John Levon <levon@movementarian.org>
7468 * commandtags.h: rename to ...
7470 * lfuns.h: ... this, and renumber / cleanup
7472 2003-03-19 John Levon <levon@movementarian.org>
7474 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7475 fit the cursor after an lfun
7479 * BufferView_pimpl.h:
7480 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7482 * LyXAction.C: layout-character should have ReadOnly
7484 * ParagraphParameters.C:
7486 * bufferview_funcs.C:
7493 * undo_funcs.C: changes from above
7495 2003-03-18 John Levon <levon@movementarian.org>
7497 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7498 remove it from update()
7500 * lyxfunc.C: update layout choice after an lfun
7502 * text3.C: remove extra updateLayoutChoice()s
7504 2003-03-18 John Levon <levon@movementarian.org>
7506 * text.C: top_y change means full repaint, fix
7507 a drawing bug with cursor movement
7509 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7513 * text2.C: anchor row on setCursor
7515 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7517 * lyxtext.h: remove almost all mutable keywords
7520 * text3.C: remove const keywords accordingly
7522 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7526 (TeXEnvironment): ditto
7529 2003-03-17 John Levon <levon@movementarian.org>
7531 * text.C (rowBreakPoint): remove attempt to fix displayed
7532 math insets inside a manual label
7534 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7536 * lyxtext.h: remove BufferView* as first arg from almost all class
7538 * other files: adjust.
7540 2003-03-17 John Levon <levon@movementarian.org>
7544 * text2.C: more paint cleanups
7546 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7549 * rowpainter.C: remove "smart" background painting code
7551 2003-03-16 John Levon <levon@movementarian.org>
7556 * text3.C: add helper functions for setting refresh_row/y
7558 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7560 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7561 newline inset which *can* get inserted in the pass_thru layouts.
7562 This is primarily for literate documents.
7564 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7566 * buffer.C: increment LYX_FORMAT to 223
7568 2003-03-14 André Pönitz <poenitz@gmx.net>
7570 * textclass.h: prepare for environment handling, ws changes
7571 * lyxlayout.C: read latexheader and latexfooter tags
7573 2003-03-14 John Levon <levon@movementarian.org>
7575 * text2.C: rewrite ::status() a bit
7577 2003-03-13 John Levon <levon@movementarian.org>
7579 * lyxtext.h: add some docs
7581 2003-03-13 John Levon <levon@movementarian.org>
7586 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7588 2003-03-13 John Levon <levon@movementarian.org>
7590 * text3.C: fix appendix redrawing
7592 2003-03-13 John Levon <levon@movementarian.org>
7594 * text.C (setHeightOfRow):
7596 * rowpainter.C: make appendix mark have the text
7597 "Appendix" so the user knows what it is
7600 * LColor.C: s/appendixline/appendix/ from above
7602 2003-03-13 John Levon <levon@movementarian.org>
7604 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7606 * text.C: fix a getChar(pos) bug properly
7608 2003-03-13 Angus Leeming <leeming@lyx.org>
7611 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7612 Probably only temporary. Let's see how things pan out.
7614 * BufferView.C (unlockInset):
7615 * BufferView_pimpl.C (fitCursor):
7616 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7618 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7619 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7621 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7622 new functions that convert ParagraphParameters to and from a string.
7624 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7625 BufferView::Pimpl's dispatch.
7626 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7628 2003-03-13 André Pönitz <poenitz@gmx.net>
7632 * factory.C: make it aware of InsetEnv
7634 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * text2.C (setCursor): never ask for one past last
7637 (setCursor): add some debugging messages.
7639 * text.C (singleWidth): never ask for one past last
7640 (singleWidth): ditto
7642 (rightMargin): ditto
7643 (rowBreakPoint): ditto
7644 (setHeightOfRow): ditto
7645 (prepareToPrint): ditto
7647 * rowpainter.C (paintBackground): never ask for one past last
7648 (paintText): never ask for one past last
7650 * paragraph_pimpl.C (getChar): make the assert stricter, never
7651 allow the one past last pos to be taken
7653 * paragraph.C (getChar): ws changes only
7655 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7656 (numberOfSeparators): ditto
7657 (numberOfHfills): ditto
7659 2003-03-12 John Levon <levon@movementarian.org>
7665 * paragraph_funcs.C: fix per-buffer authorlists
7667 2003-03-12 John Levon <levon@movementarian.org>
7669 * text.C: fix newline in right address
7671 2003-03-12 Angus Leeming <leeming@lyx.org>
7673 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7674 duplicate those in LyXFunc::dispatch.
7678 * ToolbarDefaults.C:
7679 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7680 Add LFUN_FONTFREE_UPDATE.
7682 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7683 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7685 * bufferview_func.[Ch]: several new functions to facilliate
7686 transfer of data to and from the character dialog.
7688 2003-03-12 John Levon <levon@movementarian.org>
7693 * paragraph_funcs.C:
7694 * paragraph_pimpl.C:
7698 * text3.C: remove META_NEWLINE in favour of an inset
7701 * rowpainter.C: remove paintNewline (done by inset)
7703 2003-03-12 John Levon <levon@movementarian.org>
7705 * paragraph_pimpl.C: complain about bad getChar()s
7706 for a while at least
7708 2003-03-12 John Levon <levon@movementarian.org>
7711 * buffer.C: move paragraph read into a separate function,
7712 a little renaming to reflect that.
7715 * bufferparams.C: remove the author_ids map, not necessary now
7718 * factory.C: moved Buffer::readInset to here
7720 * paragraph_funcs.h:
7721 * paragraph_funcs.C: readParagraph free function moved from
7724 * tabular.C: name change
7726 2003-03-12 John Levon <levon@movementarian.org>
7729 * ParagraphParameters.C: move par params input to
7732 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7733 behave like a normal read from the stream wrt reading
7734 a line vs. a \\token
7736 2003-03-12 John Levon <levon@movementarian.org>
7739 * ParagraphParameters.h:
7740 * ParagraphParameters.C: move output code to a
7743 2003-03-12 John Levon <levon@movementarian.org>
7745 * BufferView.C (insertLyXFile):
7748 * tabular.C: use a parlist iterator for creating the
7751 2003-03-12 John Levon <levon@movementarian.org>
7753 * buffer.C: make current_change static local not
7756 2003-03-12 John Levon <levon@movementarian.org>
7758 * buffer.C: fix insertStringAsLines for change tracking
7760 2003-03-12 John Levon <levon@movementarian.org>
7767 * bufferparams.C: move author list into params. Rename some
7768 functions. Move the header reading into a separate token
7769 loop. Move the header token reading into BufferParams.
7771 2003-03-12 John Levon <levon@movementarian.org>
7773 * changes.C: put debug inside lyxerr.debugging() checks
7775 2003-03-11 André Pönitz <poenitz@gmx.net>
7777 * factory.C: make it aware of InsetHFill
7779 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7781 * buffer.C (latexParagraphs): move function from here...
7782 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7785 2003-03-10 Angus Leeming <leeming@lyx.org>
7787 * LyXAction.C (init): fix bug in poplating array with multiple entries
7788 with the same LFUN (spotted by JMarc).
7790 2003-03-10 John Levon <levon@movementarian.org>
7793 * text2.C: move getColumnNearX() near its
7796 2003-03-10 John Levon <levon@movementarian.org>
7798 * text.C: fix break before a minipage
7800 2003-03-10 John Levon <levon@movementarian.org>
7802 * text.C: fix the last commit
7804 2003-03-09 John Levon <levon@movementarian.org>
7808 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7809 bug 365 (don't break before insets unless needed). Don't
7810 return a value > last under any circumstances.
7812 2003-03-09 Angus Leeming <leeming@lyx.org>
7814 * BufferView_pimpl.C (trackChanges, dispatch): call
7815 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7817 2003-03-09 Angus Leeming <leeming@lyx.org>
7819 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7820 than Dialogs::showAboutlyx().
7822 2003-03-09 Angus Leeming <leeming@lyx.org>
7824 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7825 than Dialogs::showTabularCreate().
7827 2003-03-09 John Levon <levon@movementarian.org>
7831 * text2.C: 3rd arg to nextBreakPoint was always the same.
7834 2003-03-08 John Levon <levon@movementarian.org>
7841 * text2.C: Remove the "main" bit from the "main body"
7844 2003-03-08 John Levon <levon@movementarian.org>
7846 * text.C (leftMargin): The left margin of an empty
7847 manual label paragraph should not include the label width
7850 * text.C (prepareToPrint): don't attempt to measure hfills
7851 for empty manual label paragraphs - the answer should be 0
7853 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * CutAndPaste.C: remove commented code and reindent.
7857 2003-03-08 John Levon <levon@movementarian.org>
7860 * lyxfunc.C: move reloadBuffer()
7863 * BufferView.C: to here
7865 * lyxvc.C: add comment
7868 * vc-backend.C: call bv->reload() to avoid
7869 getStatus() check on MENURELOAD
7871 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7873 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7874 to an old format .dep file.
7876 2003-03-07 Angus Leeming <leeming@lyx.org>
7878 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7879 when the LFUN_MOUSE_RELEASE should have been handled by
7880 inset->localDispatch.
7882 2003-03-07 Angus Leeming <leeming@lyx.org>
7884 * BufferView_pimpl.C (dispatch):
7885 * LyXAction.C (init):
7886 * ToolbarDefaults.C (init):
7888 * lyxfunc.C (getStatus):
7889 remove LFUN_INSET_GRAPHICS.
7891 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7893 2003-03-07 Angus Leeming <leeming@lyx.org>
7896 * LyXAction.C (init):
7897 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7899 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7902 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7904 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7905 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7907 2003-03-07 Angus Leeming <leeming@lyx.org>
7909 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7912 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * ParagraphList.C (front): new function
7917 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7919 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7920 and top_row_offset_. removed var first_y.
7922 * text2.C (LyXText, removeRow):
7924 * BufferView_pimpl.C:
7925 use these methods instead of using first_y
7927 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * text2.C (pasteSelection): adjust for checkPastePossible
7931 * CutAndPaste.C: remove Paragraph * buf and replace with
7932 ParagraphList paragraphs.
7933 (DeleteBuffer): delete
7934 (cutSelection): change the tc type to textclass_type
7935 (copySelection): change the tc type to textclass_type
7936 (copySelection): adjust for ParagraphList
7937 (pasteSelection): change the tc type to textclass_type
7938 (pasteSelection): adjust for Paragraphlist
7939 (nrOfParagraphs): simplify for ParagraphList
7940 (checkPastePossible): simplify for ParagraphList
7941 (checkPastePossible): remove unused arg
7943 * ParagraphList.C (insert): handle the case where there are no
7946 * CutAndPaste.h: make CutAndPaste a namespace.
7948 * text3.C (dispatch): adjust
7950 * text.C (breakParagraph): add a ParagraphList as arg
7952 * paragraph_funcs.C (breakParagraph): change to take a
7953 BufferParams and a ParagraphList as args.
7954 (breakParagraphConservative): ditto
7955 (mergeParagraph): ditto
7956 (TeXDeeper): add a ParagraphList arg
7957 (TeXEnvironment): ditto
7960 * buffer.C (readLyXformat2): adjust
7961 (insertStringAsLines): adjust
7962 (latexParagraphs): adjust
7964 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7965 (cutSelection): adjust
7966 (pasteSelection): adjust
7968 * BufferView_pimpl.C (insertInset): adjust
7970 2003-03-05 Angus Leeming <leeming@lyx.org>
7973 * LyXAction.C (init):
7974 * BufferView_pimpl.C (dispatch):
7975 * lyxfunc.C (getStatus):
7976 remove LFUN_CHILD_INSERT.
7978 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7980 2003-03-05 Angus Leeming <leeming@lyx.org>
7983 * LyXAction.C (init):
7984 * src/factory.C (createInset):
7985 * lyxfunc.C (getStatus):
7986 * text3.C (dispatch):
7987 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7989 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7991 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * ParagraphList.C (insert): handle insert right before end()
7994 (erase): fix cases where it can be first or last paragraph.
7996 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7999 Paragraph::next and Paragraph::previous
8002 * text.C (breakParagraph): adjust
8004 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8005 BufferParams& as arg.
8006 (breakParagraph): use ParagraphList::insert
8007 (breakParagraphConservative): take a Buffer* instead of a
8008 BufferParams& as arg.
8009 (breakParagraphConservative): use ParagraphList::insert.
8011 * buffer.C (insertStringAsLines): un-const it
8012 (insertStringAsLines): adjust
8014 * ParagraphList.C (insert): new function
8016 * CutAndPaste.C (pasteSelection): adjust
8018 * text.C (backspace): adjust
8020 * tabular.C (SetMultiColumn): adjust
8022 * CutAndPaste.C (cutSelection): adjust
8023 (pasteSelection): adjust
8025 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8026 Buffer const * as arg
8028 * ParagraphList.C (erase): new function
8029 * paragraph_funcs.C (mergeParagraph): use it
8030 (mergeParagraph): make it take a Buffer* instead of a
8031 BufferParams* as arg
8033 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8035 (breakParagraphConservative): ditto
8037 * paragraph.h: remove the breakParagraph friend
8039 * paragraph.C (eraseIntern): new function
8040 (setChange): new function
8042 * paragraph_funcs.C (mergeParagraph): make it take a
8043 ParagraphList::iterator instead of a Paragraph *, adjust
8046 * paragraph.h: move an #endif so that the change tracking stuff
8047 also works in the NO_NEXT case.
8049 2003-03-04 Angus Leeming <leeming@lyx.org>
8052 * LyXAction.C: new LFUN_INSET_MODIFY.
8054 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8055 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8057 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * several files: ws changes only
8061 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8062 (TeXEnvironment): ditto
8065 * buffer.C (makeLaTeXFile): adjust
8066 (latexParagraphs): make it take ParagraphList::iterator as args
8068 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * buffer.C (latexParagraphs): adjust
8072 * paragraph.C (TeXOnePar): move function...
8073 (optArgInset): move function...
8074 (TeXEnvironment): move function...
8075 * paragraph_pimpl.C (TeXDeeper): move function...
8076 * paragraph_funcs.C: ...here
8078 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8080 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * buffer.C (readInset): remove compability code for old Figure and
8085 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8087 * buffer.C: ws changes
8090 * BufferView_pimpl.C: ditto
8093 * bufferlist.h: ditto
8097 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8099 * converter.[Ch]: split into itself +
8102 * Makefile.am: += graph.[Ch] + format.[Ch]
8109 * lyxrc.C: added #include "format.h"
8111 2003-02-27 Angus Leeming <leeming@lyx.org>
8113 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8116 * factory.C (createInset): add "label" to the factory.
8118 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8119 string and do no more.
8121 2003-02-27 Angus Leeming <leeming@lyx.org>
8124 * LyXAction.C (init):
8125 * factory.C (createInset):
8126 * BufferView_pimpl.C (dispatch):
8127 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8129 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8131 * lyxfunc.C (dispatch):
8132 * text3.C (dispatch): pass name to params2string.
8134 2003-02-26 Angus Leeming <leeming@lyx.org>
8136 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8138 Rearrange the ~includes. Strip out the unnecessary ones.
8140 * factory.C (createInset): reformat.
8141 create new insets for the various LFUN_XYZ_APPLY lfuns.
8143 2003-02-26 John Levon <levon@movementarian.org>
8146 * lyxrow.C: add isParStart,isParEnd helpers
8148 * paragraph.h: make isInserted/DeletedText take refs
8150 * paragraph_funcs.h:
8151 * paragraph_funcs.C: remove #if 0'd code
8156 * text.C: use lyxrow helpers above.
8157 Move draw and paint routines to RowPainter.
8158 Make several methods use refs not pointers.
8159 Make backgroundColor() const.
8160 Add markChangeInDraw(), isInInset().
8161 Merge changeRegionCase into changeCase.
8162 Make workWidth() shouldn't-happen code into an Assert.
8165 * rowpainter.C: new class for painting a row.
8168 * vspace.C: make inPixels take a ref
8170 2003-02-26 Angus Leeming <leeming@lyx.org>
8172 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8175 2003-02-25 John Levon <levon@movementarian.org>
8177 * ispell.C: give the forked command a more accurate name
8179 2003-02-22 John Levon <levon@movementarian.org>
8182 * toc.C: make TocItem store an id not a Paragraph *
8185 2003-02-21 Angus Leeming <leeming@lyx.org>
8187 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8188 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8189 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8190 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8191 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8192 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8194 * BufferView_pimpl.C (dispatch):
8195 * LyXAction.C (init):
8196 * factory.C (createInset):
8197 * lyxfunc.C (getStatus, dispatch):
8198 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8200 2003-02-21 Angus Leeming <leeming@lyx.org>
8202 * BufferView_pimpl.C (MenuInsertLyXFile):
8203 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8204 * lyxfunc.C (menuNew, open, doImport):
8205 no longer pass a LyXView & to fileDlg.
8207 2003-02-21 Angus Leeming <leeming@lyx.org>
8209 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8210 * LyXAction.C: change, BIBKEY to BIBITEM.
8211 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8212 Change InsetBibKey to InsetBibitem.
8213 Change BIBKEY_CODE to BIBITEM_CODE.
8214 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8215 * factory.C: replace insetbib.h with insetbibitem.h.
8216 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8217 * paragraph.C: replace insetbib.h with insetbibitem.h.
8218 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8219 Change bibkey() to bibitem().
8220 * text.C: remove insetbib.h.
8221 * text2.C: replace insetbib.h with insetbibitem.h.
8222 change bibkey() to bibitem().
8223 * text3.C: remove insetbib.h.
8224 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8226 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * lyxrc.C (output): enclose user email in quotes (in case there are
8231 2003-02-18 John Levon <levon@movementarian.org>
8233 * buffer.h: add std::
8235 2003-02-17 John Levon <levon@movementarian.org>
8241 * pspell.C: reworking. Especially in ispell, a large
8242 number of clean ups and bug fixes.
8244 * lyxfunc.C: fix revert to behave sensibly
8246 2003-02-17 André Pönitz <poenitz@gmx.net>
8249 * commandtags.h: new LFUN_INSERT_BIBKEY
8259 * paragraph_func.C: remove special bibkey handling
8261 2003-02-17 John Levon <levon@movementarian.org>
8263 * text.C (Delete): fix case where delete at the end of
8264 the very first paragraph would not merge the pars
8266 2003-02-17 John Levon <levon@movementarian.org>
8268 * lyxrow.C: fix lastPrintablePos()
8270 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * bufferparams.C (writeLaTeX): add a std:here
8274 * buffer.C: and remove a using directive there
8276 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8278 * buffer.C (makeLaTeXFile): move the code that generates the
8281 * bufferparams.C (writeLaTeX): ... in this new method
8283 * LaTeXFeatures.C (getEncodingSet): make const
8284 (getLanguages): make const
8286 * MenuBackend.C (binding): returns the binding associated to this
8288 (add): sets the status of each item by calling getStatus. Adds
8290 (read): add support for OptSubMenu
8291 (expand): remove extra separator at the end of expanded menu
8293 2003-02-15 John Levon <levon@movementarian.org>
8296 * BufferView_pimpl.C:
8298 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8299 inset code that had no actual effect. Remove unneeded status
8302 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8304 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8307 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8309 * text.C (drawLengthMarker): also draw an arrow marker for
8310 symbolic lengths (medskip...)
8312 2003-02-14 John Levon <levon@movementarian.org>
8315 * tabular.C: better method names
8317 2003-02-14 John Levon <levon@movementarian.org>
8319 * BufferView_pimpl.C:
8324 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8325 it's a more accurate name. Remove some pointless uses.
8327 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8329 * text2.C (LyXText): change order of initilizers to shut off
8332 2003-02-14 John Levon <levon@movementarian.org>
8334 * buffer.C: use ParIterator for getParFromID()
8338 * paragraph_pimpl.h:
8339 * paragraph_pimpl.C: remove unused getParFromID()
8341 2003-02-14 John Levon <levon@movementarian.org>
8343 * buffer.C: remove some very old #if 0'd parse code
8345 2003-02-13 John Levon <levon@movementarian.org>
8349 * text2.C: move hfillExpansion(), numberOfSeparators(),
8350 rowLast(), rowLastPrintable(), numberofHfills(),
8351 numberOfLabelHfills() ...
8354 * lyxrow.C: ... to member functions here.
8359 * text.C: remove LyXText::beginningOfMainBody(), and call
8360 p->beginningOfMainBody() directly. Move the check for
8361 LABEL_MANUAL into the latter.
8368 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8374 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8375 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8377 2003-02-13 John Levon <levon@movementarian.org>
8379 * CutAndPaste.C: remove debug
8381 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * paragraph.C (asString): remove two unused variables
8385 * lyxtextclass.C (readTitleType):
8387 (LyXTextClass): handle new members titletype_ and titlename_
8389 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8391 2003-02-09 John Levon <levon@movementarian.org>
8394 * buffer.C: replace hand-coded list with a map for the dep clean
8396 2003-02-08 John Levon <levon@movementarian.org>
8398 * LaTeX.C: consolidate code into showRunMessage() helper
8400 2003-02-08 John Levon <levon@movementarian.org>
8405 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8406 and pass the size in explicitly
8408 * BufferView_pimpl.h:
8409 * BufferView_pimpl.C:
8411 * BufferView.C: add getCurrentChange()
8413 * BufferView_pimpl.h:
8414 * BufferView_pimpl.C: handle change lfuns
8416 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8417 for changes. Mark pasted paragraphs as new.
8419 * support/lyxtime.h:
8420 * support/lyxtime.C:
8421 * DepTable.C: abstract time_t as lyx::time_type
8424 * LColor.C: add colours for new text, deleted text, changebars
8426 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8427 package use "usenames" option.
8431 * LyXAction.C: add change lfuns
8435 * author.C: author handling
8438 * buffer.C: add a per-buffer author list, with first entry as
8439 current author. Handle new .lyx tokens for change tracking. Output
8440 author list to .lyx file. Output dvipost stuff to .tex preamble.
8441 Bump lyx format to 222.
8444 * bufferlist.C: add setCurrentAuthor() to reset current author details
8448 * bufferparams.C: add param for tracking
8450 * bufferview_funcs.C: output change info in minibuffer
8454 * changes.C: add change-tracking structure
8457 * debug.C: add CHANGES debug flag
8460 * lyxfind.C: add code for finding the next change piece
8463 * lyxrc.C: add user_name and user_email
8466 * lyxrow.C: add a metric for the top of the text line
8469 * text.C: implement accept/rejectChange()
8472 * text.C: paint changebars. Paint new/deleted text in the chosen
8473 colours. Strike through deleted text.
8477 * paragraph_pimpl.h:
8478 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8479 in the current change to the insert functions. Rework erase to
8480 mark text as deleted, adding an eraseIntern() and a range-based
8481 erase(). Implement per-paragraph change lookup and
8484 * paragraph_funcs.C: Fixup paste for change tracking.
8486 * tabular.C: mark added row/columns as new.
8488 * text.C: fix rowLast() to never return -1. Don't allow
8489 spellchecking of deleted text. Track transpose changes. Don't
8490 allow paragraph break or merge where appropriate.
8492 * text2.C: leave cursor at end of selection after a cut.
8494 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8496 * text.C (getLengthMarkerHeight):
8497 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8498 visible on screen too.
8500 2003-02-07 John Levon <levon@movementarian.org>
8502 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8504 2003-02-05 Angus Leeming <leeming@lyx.org>
8506 * lyxserver.C (read_ready): revert my patch of 11 September last year
8507 as it sends PC cpu through the roof. Presumably this means that
8508 the lyxserver will no longer run on an Alpha...
8510 2003-01-30 Angus Leeming <leeming@lyx.org>
8512 * factory.C (createInset): create an InsetCommandParam of type "index"
8513 and use it to 'do the right thing'.
8515 * text2.C (getStringToIndex): ensure that cursor position is always
8516 reset to the reset_cursor position.
8518 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8520 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8523 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8527 * lyxfunc.C: Output messages with identical spelling, punctuation,
8530 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8532 * MenuBackend.C (expandFormats): List only viewable export formats
8535 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8538 * lyxfunc.C (getStatus): Make sure that formats other than
8539 "fax" can also be disabled
8541 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * text3.C (dispatch): put the lfuns that insert insets in 3
8544 groups, and call doInsertInset with appropriate arguments.
8545 (doInsertInset): new function, that creates an inset and inserts
8546 it according to some boolean parameters.
8548 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * buffer.C (readFile): remember to pass on 'par' when calling
8551 readFile recursively.
8553 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * MenuBackend.C (expandFormats): add "..." to import formats.
8557 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8559 * paragraph.C (asString): Remove XForms RTL hacks.
8561 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8562 * buffer.C: fix typo
8564 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * Makefile.am (LIBS): delete var
8567 (lyx_LDADD): add @LIBS@ here instead.
8569 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8571 * Clarify the meaning of "wheel mouse jump"
8573 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8578 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8580 * importer.C (Loaders): do not preallocate 3 elements in the
8581 vector, since one ends up with 6 elements otherwise
8583 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * DepTable.C (write): write the file name as last element of the
8586 .dep file (because it may contain spaces)
8587 (read): read info in the right order
8589 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8591 * paragraph_pimpl.C (simpleTeXBlanks):
8592 (simpleTeXSpecialChars):
8593 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8595 * tabular.C (latex): add some missing case statements. Reindent.
8597 * MenuBackend.C (expandToc): remove unused variable.
8599 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8608 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8611 2003-01-05 John Levon <levon@movementarian.org>
8614 * BufferView.C: add getEncoding()
8617 * kbsequence.C: do not store last keypress
8620 * lyxfunc.C: store last keypress here instead. Pass encoding
8623 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8625 * lyx_main.C (init): remove annoying error message when following
8626 symbolic links (bug #780)
8628 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8630 * text.C (insertChar):
8631 * lyxrc.C (getDescription): remove extra spaces
8633 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8635 * lyxrc.C (getDescription): remove extra spaces
8637 2002-12-20 John Levon <levon@movementarian.org>
8639 * text3.C: hack fix for page up/down across tall rows
8641 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8646 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8648 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8649 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8650 thesaurus is not compiled in
8652 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8654 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8656 2002-12-16 Angus Leeming <leeming@lyx.org>
8659 * lyx_main.C (init): remove override_x_deadkeys stuff.
8661 2002-12-12 John Levon <levon@movementarian.org>
8663 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8664 insert. Only remove shift modifier under strict
8667 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * MenuBackend.C (expandToc): fix crash.
8671 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8673 * MenuBackend.C (expandToc): gettext on float names.
8675 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8677 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8678 implement bool empty() [bug 490]
8680 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8684 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8686 * several files: ws changes
8688 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * text2.C (setCounter): clean up a bit, use boost.format.
8691 (updateCounters): initialize par upon declaration.
8693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8694 if the layout exists. We do not just store the layout any more.
8695 (SwitchLayoutsBetweenClasses): use boost.format
8697 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * converter.C (convert): if from and to files are the same, use a
8700 temporary files as intermediary
8702 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8705 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8707 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8709 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8711 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8713 * tabular.C (asciiPrintCell): use string(size, char) instead of
8716 * sgml.C (openTag): fix order of arguments to string constructor
8719 * lyxfunc.C (dispatch): use boost.format
8721 * lots of files: change "c" -> 'c'
8723 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8725 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8727 2002-11-25 Angus Leeming <leeming@lyx.org>
8729 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8731 * lyx_main.C (init): compile fix.
8733 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * lyx_cb.C (start): boost.formatify
8736 do not include <iostream>
8738 * lengthcommon.C: ws only
8740 * boost-inst.C,BoostFormat.h: add more explict instantations
8742 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8744 * lots of files: handle USE_BOOST_FORMAT
8746 2002-11-21 John Levon <levon@movementarian.org>
8748 * pspell.C: fix compile
8750 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * lyxfunc.C (dispatch): use boost::format
8756 * lyxfont.C (stateText): use boost::format
8758 * lyx_main.C (LyX): use boost::format
8760 (queryUserLyXDir): ditto
8763 (typedef boost::function): use the recommened syntax.
8765 * importer.C (Import): use boost::format
8767 * debug.C (showLevel): use boost::format
8769 * converter.C (view): use boost::format
8774 * bufferview_funcs.C (currentState): use boost::format
8776 * bufferlist.C (emergencyWrite): use boost::format
8778 * buffer.C (readLyXformat2): use boost::format
8779 (parseSingleLyXformat2Token): ditto
8781 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8783 * LaTeX.C (run): use boost::format
8785 * Chktex.C (scanLogFile): use boost::format
8787 * BufferView_pimpl.C (savePosition): use boost::format
8788 (restorePosition): ditto
8789 (MenuInsertLyXFile): ditto
8791 * BoostFormat.h: help file for explicit instation.
8793 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8795 * tabular.C (latex): Support for block alignment in fixed width
8798 2002-11-17 John Levon <levon@movementarian.org>
8800 * BufferView_pimpl.C:
8802 * lyxfunc.C: split filedialog into open/save
8804 2002-11-08 Juergen Vigna <jug@sad.it>
8806 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8807 by my last patch (hopefully).
8809 2002-11-08 John Levon <levon@movementarian.org>
8818 * toc.C: ParConstIterator, and use it (from Lars)
8820 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8822 * lyxtextclass.[Ch]: revise and add doxygen comments
8824 2002-11-07 John Levon <levon@movementarian.org>
8826 * text.C: fix progress value for spellchecker
8828 * toc.C: fix navigate menu for insetwrap inside minipage
8830 * paragraph_funcs.C: added FIXME for suspect code
8832 2002-11-07 John Levon <levon@movementarian.org>
8834 * BufferView_pimpl.C: fix redrawing of insets
8837 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * text2.C (updateCounters): fix bug 668
8841 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8843 * text3.C (dispatch): Do not make the buffer dirty when moving the
8846 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8848 * vc-backend.C: STRCONV
8851 * text2.C (setCounter): STRCONV
8853 * paragraph.C (asString): STRCONV
8855 * lyxlength.C (asString): STRCONV
8856 (asLatexString): ditto
8858 * lyxgluelength.C (asString): STRCONV
8859 (asLatexString): ditto
8861 * lyxfunc.C (dispatch): STRCONV
8864 * lyxfont.C (stateText): STRCONV
8866 * importer.C (Import): STRCONV
8868 * counters.C (labelItem): STRCONV
8869 (numberLabel): ditto
8870 (numberLabel): remove unused ostringstream o
8875 * bufferview_funcs.C (currentState): STRCONV
8877 * buffer.C (readFile): STRCONV
8878 (asciiParagraph): ditto
8879 (makeLaTeXFile): ditto
8881 * Spacing.C (writeEnvirBegin): STRCONV
8883 * LaTeXFeatures.C (getLanguages): STRCONV
8884 (getPackages): ditto
8886 (getBabelOptions): ditto
8887 (getTClassPreamble): ditto
8888 (getLyXSGMLEntities): ditto
8889 (getIncludedFiles): ditto
8893 (scanAuxFile): ditto
8896 * LString.h: add the STRCONV macros
8898 * BufferView_pimpl.C (savePosition): STRCONV
8899 (restorePosition): ditto
8900 (MenuInsertLyXFile): ditto
8902 * vc-backend.C (scanMaster): change from submatch[...] to
8905 * funcrequest.C: include config.h
8907 * factory.C: include config.h
8909 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8911 * box.C: include config.h
8913 * LaTeX.C (scanAuxFile): change from submatch[...] to
8917 2002-10-25 Angus Leeming <leeming@lyx.org>
8919 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8921 * ispell.[Ch] (setError): new method.
8922 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8923 Use setError() insetead of goto END.
8925 * lyx_cb.C (AutoSave): move out child process into new class
8928 2002-10-30 John Levon <levon@movementarian.org>
8930 * text3.C: make start appendix undoable
8932 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8934 * lyxlength.C (inPixels): Fix returned value.
8936 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8939 2002-10-24 Angus Leeming <leeming@lyx.org>
8941 * lyxgluelength.h: no need to forward declare BufferParams
8942 or BufferView, so don't.
8944 2002-10-21 John Levon <levon@movementarian.org>
8946 * BufferView.C: menuUndo ->undo, redo
8948 * BufferView.h: document, remove dead, make some methods private
8950 * paragraph_funcs.h:
8951 * paragraph_funcs.C:
8952 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8957 * sgml.C: move sgml open/close tag into sgml.C
8959 * bufferview_funcs.h: unused prototype
8962 * lyxfunc.C: remove unused
8965 * text.C: remove unused
8967 2002-10-21 John Levon <levon@movementarian.org>
8971 * BufferView_pimpl.h:
8972 * BufferView_pimpl.C: fix mouse wheel handling based on
8973 patch from Darren Freeman
8975 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8977 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8979 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8981 * lyxlength.C (inPixels): Fix hanfling of negative length.
8982 Fix LyXLength::MU case.
8984 2002-10-16 John Levon <levon@movementarian.org>
8986 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8988 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8990 * converter.C (view): add support for $$i (file name) and $$p
8991 (file path) for the viewer command. If $$i is not specified, then
8992 it is appended to the command (for compatibility with old syntax)
8994 2002-10-14 Juergen Vigna <jug@sad.it>
8996 * undo_funcs.C (textHandleUndo): alter the order in which the
8997 new undopar is added to the LyXText, as we have to set first
8998 the right prev/next and then add it as otherwise the rebuild of
8999 LyXText is not correct. Also reset the cursor to the right paragraph,
9000 with this IMO we could remove the hack in "redoParagraphs()".
9002 2002-10-09 Angus Leeming <leeming@lyx.org>
9004 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9005 to turn off an optimisation if a new inset is to be inserted.
9007 2002-10-11 André Pönitz <poenitz@gmx.net>
9009 * lyxtext.h: make some functions public to allow access
9010 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9012 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9014 * text3.C (dispatch): when changing layout, avoid an infinite loop
9017 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9019 * lyxrc.C (read): treat a viewer or converter command of "none" as
9022 * MenuBackend.C (expandFormats): for an update, also allow the
9023 formats that are not viewable
9025 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9026 script if it is newer than the lyxrc.defaults in user directory
9028 2002-10-07 André Pönitz <poenitz@gmx.net>
9030 * text.C: Vitaly Lipatov's small i18n fix
9032 2002-09-25 Angus Leeming <leeming@lyx.org>
9034 * ispell.h: doxygen fix.
9036 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9038 * buffer.h (readFile): Add a new argument to the method, to allow
9039 reading of old-format templates.
9041 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9043 * toc.C (getTocList): Get TOC from InsetWrap.
9045 2002-09-16 John Levon <levon@movementarian.org>
9047 * lyxfunc.C: check tabular for cut/copy too
9049 2002-09-12 John Levon <levon@movementarian.org>
9054 * factory.C: add header
9056 * paragraph_funcs.h:
9057 * paragraph_funcs.C: cleanup
9059 2002-09-11 John Levon <levon@movementarian.org>
9061 * PrinterParams.h: odd/even default to true
9063 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9065 * PrinterParams.h: update printer parameters for new xforms dialog
9067 2002-09-11 Angus Leeming <leeming@lyx.org>
9069 * lyxserver.C (read_ready): re-write to make it more transparent
9070 and to make it work in coherent fashion under Tru64 Unix.
9072 2002-09-11 André Pönitz <poenitz@gmx.net>
9076 * text3.C: implement LFUN_WORDSEL
9078 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9081 make floatlist_ a boost::shared_ptr<FloatList>
9083 * lyxtextclass.C: include FloatList.h
9084 (LyXTextClass): initialize floatlist_
9085 (TextClassTags): add TC_NOFLOAT
9086 (Read): match "nofloat" to TC_NOFLOAT and use it.
9087 (readFloat): modify call to floatlist_
9091 * FloatList.[Ch] (FloatList): remove commented out float
9093 (erase): new function
9095 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9097 * MenuBackend.C (expandToc): fix crash when there is no document
9100 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9102 * many files: Add insetwrap.
9104 2002-09-09 John Levon <levon@movementarian.org>
9106 * text2.C: remove confusing and awkward depth wraparound
9108 2002-09-09 John Levon <levon@movementarian.org>
9110 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9113 * buffer.C: remove getIncludeonlyList()
9116 * lyxfunc.C: remove headers
9118 2002-09-09 Juergen Vigna <jug@sad.it>
9120 * text.C (getColumnNearX): fix form Michael this is most
9121 probably a cut&paste bug.
9123 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9127 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9128 references, ws changes.
9130 * text2.C (init): update counters after init
9131 (insertParagraph): no need to set counter on idividual paragraphs.
9132 (setCounter): access the counters object in the textclass object
9133 on in the buffer object.
9134 (updateCounters): ditto
9136 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9137 shared_ptr<Counters> to avoid loading counters.h in all
9139 (LyXTextClass): initialize ctrs_
9140 (TextClassTags): add TC_COUNTER, and ...
9141 (Read): use it here.
9142 (CounterTags): new tags
9143 (readCounter): new function
9144 (counters): new funtion
9145 (defaultLayoutName): return a const reference
9147 * counters.C (Counters): remove contructor
9148 (newCounter): remove a couple of unneeded statements.
9149 (newCounter): simplify a bit.
9150 (numberLabel): some small formatting changes.
9152 * buffer.[Ch]: remove all traces of counters, move the Counters
9153 object to the LyXTextClass.
9155 2002-09-06 Alain Castera <castera@in2p3.fr>
9157 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9158 package to set the horizontal alignment on fixed width columns.
9161 * lyx_sty.h: added tabularnewline macro def.
9163 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9165 2002-09-06 John Levon <levon@movementarian.org>
9167 * LyXAction.C: tooltips for sub/superscript
9169 * MenuBackend.C: a bit more verbose
9171 * lyxfunc.C: tiny clean
9173 * undo_funcs.C: document undo_frozen
9175 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9177 * counters.C (Counters): add missing algorithm counter.
9179 * text2.C (setCounter): lookup the counter with layouts latexname
9180 instead of by section number.
9181 (setCounter): use a hackish way to lookup the correct enum
9183 a float name->type change
9184 reset enum couners with counter name directly instead of depth value.
9186 * counters.C (Counters): remove the push_backs, change to use the
9187 float type not the float name.
9188 (labelItem): remove unused string, float name->type change
9190 * counters.h: don't include vector, loose the enums and sects vectors
9192 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9194 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9195 (Read): add float->TC_FLOAT to textclassTags
9196 (Read): and handle it in the switch
9197 (readFloat): new function
9199 * FloatList.C (FloatList): comment out the hardcoded float
9202 * lyxlayout.h: ws change.
9204 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9206 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9208 2002-09-03 Angus Leeming <leeming@lyx.org>
9210 * BufferView_pimpl.h: qualified name is not allowed in member
9211 declaration: WorkArea & Pimpl::workarea() const;
9213 * factory.C: added using std::endl directive.
9215 * text3.C: added using std::find and std::vector directives.
9217 2002-08-29 André Pönitz <poenitz@gmx.net>
9220 * text2.C: remove unused member number_of_rows
9223 * BufferView2.C: remove file, move contents to...
9224 * BufferView.C: ... here
9226 * BufferView_pimpl.C:
9227 * factory.C: move more inset creation to factory
9229 * vspace.C: avoid direct usage of LyXText, ws changes
9232 don't provide direct access to WorkArea, use two simple
9233 acessors haveSelction() and workHeight() instead
9236 2002-08-29 John Levon <levon@movementarian.org>
9238 * BufferView_pimpl.C (dispatch): do not continue when
9241 2002-08-28 André Pönitz <poenitz@gmx.net>
9243 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9246 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9248 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9250 * buffer.C: increment LYX_FORMAT to 221
9252 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9253 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9255 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9257 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9259 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9261 * factory.C (createInset): use LyXTextClass::floats
9263 * MenuBackend.C (expandFloatListInsert):
9264 (expandFloatInsert):
9267 * text2.C (setCounter):
9269 * LaTeXFeatures.C (useFloat):
9270 (getFloatDefinitions):
9272 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9274 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9275 floatlist_, with accessor floats().
9277 * FloatList.h: remove global FloatList
9279 2002-08-26 André Pönitz <poenitz@gmx.net>
9281 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9285 * BufferView_pimpl.C:
9286 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9288 2002-08-25 John Levon <levon@movementarian.org>
9290 * LyXAction.C: fix margin note description
9292 2002-08-24 John Levon <levon@movementarian.org>
9296 * bufferview_funcs.C:
9298 * undo_funcs.C: cleanups
9300 * lyxfunc.C: disable CUT/COPY when no selection
9302 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9304 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9305 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9307 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9308 Add backward compatibility to "mono", "gray" and "no".
9310 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9312 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9313 (and file_format >= 200).
9315 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9317 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9319 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9321 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9323 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9325 * BufferView_pimpl.C:
9332 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9333 inset and code to make it work with the paragraph code. The inset
9334 can be anywhere in the paragraph, but will only do the expected
9335 thing in LaTeX if the layout file contains the parameter line
9337 (or more generally, a nonzero value) for that layout.
9339 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * paragraph.h: remove the declaration of undefined counters class
9344 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9346 * text2.C (setCounter): fixed enumeration mis-count as reported by
9347 Dr. Richard Hawkins.
9349 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * paragraph_funcs.h: remove some unneeded includes
9353 * text.C (backspace): pasteParagraph now in global scipe
9355 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9356 (pasteSelection): ditto
9358 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9359 * paragraph_funcs.C (pasteParagraph): ... here
9361 2002-08-20 André Pönitz <poenitz@gmx.net>
9363 * commandtags.h: new LFUNs for swapping/copying table row/colums
9366 * lyxfunc.C: support for new lfuns
9368 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * buffer.[Ch]: remove NO_COMPABILITY stuff
9373 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * boost.C (throw_exception): new file, with helper function for
9376 boost compiled without exceptions.
9381 * ParameterStruct.h:
9382 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9384 * bufferlist.C (emergencyWriteAll): use boost bind
9386 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9388 * text.C: include paragraph_funcs.h
9389 (breakParagraph): breakParagraph is now in global scope
9391 * paragraph_funcs.[Ch]: new files
9393 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9396 * buffer.C: include paragraph_funcs.h
9397 (insertStringAsLines): breakParagraph is now in global scope
9399 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9402 * CutAndPaste.C: include paragraph_funcs.h
9403 (cutSelection): breakParagraphConservative is now in global scope
9404 (pasteSelection): ditto
9406 * buffer.h: declare oprator== and operator!= for
9407 Buffer::inset_iterator
9409 * bufferlist.C (emergencyWrite): don't use fmt(...)
9411 * text3.C: add using std::endl
9413 * BufferView.C (moveCursorUpdate): remove default arg
9415 2002-08-20 André Pönitz <poenitz@gmx.net>
9417 * buffer.[Ch]: move inline functions to .C
9420 * BufferView_pimpl.C:
9422 * buffer.[Ch]: use improved inset_iterator
9425 * paragraph.[Ch]: write one paragraph at a time
9427 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9429 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9430 style if style is not specified.
9432 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9434 * text2.C (setCounter): when searching for right label for a
9435 caption, make sure to recurse to parent insets (so that a caption
9436 in a minipage in a figure float works) (bug #568)
9438 2002-08-20 André Pönitz <poenitz@gmx.net>
9440 * text3.C: new file for LyXText::dispatch() and helpers
9442 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9444 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9446 2002-08-19 André Pönitz <poenitz@gmx.net>
9449 * text.C: new LyXText::dispatch()
9451 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9453 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9455 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9457 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9460 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * Makefile.am: use $(variables) instead of @substitutions@
9464 2002-08-15 André Pönitz <poenitz@gmx.net>
9467 * BufferView_pimpl.C: streamlining mathed <-> outer world
9471 * LyXAction.C: remove unused LFUN_MATH
9473 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9475 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9477 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9479 * paragraph.C (Paragraph): reformat a bit
9480 (cutIntoMinibuffer): use builtin InsetList function instad of
9484 * buffer.C: include boost/bind.hpp, add using std::for_each
9485 (writeFileAscii): use ParagraphList iterators
9486 (validate): use for_each for validate traversal of paragraphs
9487 (getBibkeyList): use ParagraphList iterators
9488 (resizeInsets): use for_each to resizeInsetsLyXText for all
9490 (getParFromID): use ParagraphList iterators
9492 * BufferView2.C (lockInset): use paragraph list and iterators
9494 2002-08-14 John Levon <levon@movementarian.org>
9496 * lyxserver.C: remove spurious xforms include
9498 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9500 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9502 2002-08-13 André Pönitz <poenitz@gmx.net>
9505 * lyxfunc.C: further cleaning
9507 2002-08-13 André Pönitz <poenitz@gmx.net>
9509 * funcrequest.h: new constructor
9511 * funcrequest.C: move stuff here from .h
9514 * BufferView_pimpl.C:
9517 * lyxfunc.C: subsequent changes
9519 * lyxfunc.h: new view() member function
9521 * lyxfunc.C: subsequent changes
9523 2002-08-13 Angus Leeming <leeming@lyx.org>
9526 * BufferView_pimpl.C:
9534 changes due to the changed LyXView interface that now returns references
9535 to member variables not pointers.
9537 2002-08-13 Angus Leeming <leeming@lyx.org>
9539 * WordLangTuple (word, lang_code): return references to strings,
9544 * lyxtext.h: forward-declare WordLangTuple.
9549 * text.C: #include "WordLangTuple.h".
9552 * text.C: (selectNextWordToSpellcheck): constify return type.
9554 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9560 * paragraph_pimpl.h:
9563 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9565 Made updateCounter always count from start of buffer, and removed
9566 second argument (par).
9567 Reverted floats number display to '#'. Perhaps I'll try again when the
9568 code base is sanitized a bit.
9570 2002-08-12 Angus Leeming <leeming@lyx.org>
9572 * buffer.[Ch] (getLabelList): constify.
9574 2002-08-07 André Pönitz <poenitz@gmx.net>
9576 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9578 * funcrequest.h: extension to keep mouse (x,y) position
9580 2002-08-12 Juergen Vigna <jug@sad.it>
9582 * BufferView2.C (insertErrors): forbid undo when inserting error
9585 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9587 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9589 * ParagraphList.[Ch]: new files
9591 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9593 * BufferView2.C (lockInset): ParagraphList changes
9596 * bufferlist.C: ditto
9600 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9602 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9603 unused class variable counter_,
9605 * paragraph.[Ch] (getFirstCounter): delete unused function
9607 * counters.C: include LAssert.h
9608 (reset): add a new function with no arg, change other version to
9609 not have def. arg and to not allow empty arg.
9611 * text2.C (setCounter): remove empty arg from call to Counters::reset
9613 2002-08-11 John Levon <levon@movementarian.org>
9615 * Makefile.am: add WordLangTuple.h
9617 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9619 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9620 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9622 * insets/insettext.C: InsetList changes
9624 * graphics/GraphicsSupport.C (operator()): InsetList changes
9626 * toc.C (getTocList): InsetList changes
9628 * paragraph_pimpl.[Ch]: InsetList changes
9630 * paragraph.[Ch]: InsetList changes
9632 * buffer.C (inset_iterator): InsetList changes
9633 (setParagraph): ditto
9634 * buffer.h (inset_iterator): ditto
9635 * iterators.C (operator++): ditto
9636 * iterators.h: ditto
9638 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9640 * InsetList.[Ch]: new files, most InsetList handling moved out of
9643 * BufferView2.C (removeAutoInsets): InsetList changes
9645 (ChangeInsets): ditto
9647 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9649 * paragraph_pimpl.h (empty): new function
9651 * paragraph.[Ch] (empty): new function
9653 * other files: use the new Paragraph::empty function
9655 2002-08-09 John Levon <levon@movementarian.org>
9657 * lyxtext.h: remove unused refresh_height
9659 2002-08-09 John Levon <levon@movementarian.org>
9666 * paragraph.C: move sgml char escaping out of paragraph
9669 * paragraph.C: remove id setter
9673 * paragraph_pimpl.C: remove dead tex_code_break_column
9675 * bufferview_funcs.C: small cleanup
9677 * lyxfunc.C: remove dead proto
9679 * lyxtext.h: make some stuff private. Remove some dead stuff.
9681 * lyxgluelength.C: make as[LyX]String() readable
9683 2002-08-08 John Levon <levon@movementarian.org>
9688 * ToolbarDefaults.C:
9691 * toc.C: lyxaction cleanup
9693 2002-08-08 John Levon <levon@movementarian.org>
9695 * BufferView2.C: small cleanup
9698 * lyxfind.C: move unnecessary header into the .C
9700 2002-08-08 John Levon <levon@movementarian.org>
9702 * funcrequest.h: just tedious nonsense
9705 * lyx_main.C: cleanups
9708 * vspace.C: remove dead header lyx_main.h
9710 2002-08-07 Angus Leeming <leeming@lyx.org>
9713 * paragraph_pimpl.h:
9714 Forward declare class Counters in paragraph.h by moving the ctrs member
9715 variable into Paragraph::Pimpl.
9716 (counters): new method, returning a reference to pimpl_->ctrs.
9718 * text2.C: ensuing changes.
9720 2002-08-07 John Levon <levon@movementarian.org>
9722 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9724 * BufferView_pimpl.C: announce X selection on double/triple
9727 * lyx_main.C: use correct bool in batch dispatch
9729 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9731 2002-08-07 André Pönitz <poenitz@gmx.net>
9733 * funcrequest.h: new class to wrap a kb_action and its argument
9736 * BufferView_pimpl[Ch]:
9740 * lyxrc.C: subsequent changes
9743 2002-08-07 John Levon <levon@movementarian.org>
9745 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9746 document options change.
9748 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9753 * makefile.am: move counters functionality over from
9754 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9756 2002-08-06 John Levon <levon@movementarian.org>
9758 * WordLangTuple.h: new file for word + language code tuple
9769 * BufferView2.C: use WordLangTuple
9772 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9774 2002-08-06 John Levon <levon@movementarian.org>
9776 * lyx_main.C: fix cmdline batch handling
9778 2002-08-06 André Pönitz <poenitz@gmx.net>
9780 * lyxrc.C: set default for show_banner to true
9782 2002-08-06 John Levon <levon@movementarian.org>
9784 * pspell.C: fix a crash, and allow new aspell to work
9786 2002-08-06 John Levon <levon@movementarian.org>
9789 * kbmap.C: small cleanup
9792 * vspace.C: add const
9794 2002-08-05 John Levon <levon@movementarian.org>
9796 * LyXAction.C: back to tabular-insert
9798 2002-08-04 John Levon <levon@movementarian.org>
9801 * BufferView.C: cosmetic change
9803 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9813 * BufferView2.C: purge all "Lyx" not "LyX" strings
9816 * lyxcursor.C: attempt to add some documentation
9821 * ToolbarDefaults.C:
9822 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9823 merge with LFUN_TABULAR_INSERT
9830 * pspell.C: split up i/pspell implementations into separate
9831 files, many cleanups
9833 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9835 * text2.C: some cleanup
9837 * lyxfunc.C: don't check for isp_command == "none" any more, it
9838 didn't make any sense
9840 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9845 * makefile.am: move counters functionality over
9846 from text2.C/paragraph.[Ch] to counters.[Ch], and
9848 2002-08-02 John Levon <levon@movementarian.org>
9850 * buffer.C: s/lyxconvert/lyx2lyx/
9852 2002-08-02 Angus Leeming <leeming@lyx.org>
9854 * lyxlex.C: revert John's change as it breaks reading of the user
9857 2002-08-02 Angus Leeming <leeming@lyx.org>
9859 * importer.C (Import):
9860 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9861 changes due to LyXView::view() now returning a boost::shared_ptr.
9863 2002-08-02 John Levon <levon@movementarian.org>
9865 * lyxlex.C: small cleanup
9867 2002-08-02 John Levon <levon@movementarian.org>
9869 * text2.C (status): small cleanup, no logic change
9871 2002-08-01 John Levon <levon@movementarian.org>
9874 * buffer.C (writeFile): don't output alerts, caller
9878 * lyx_cb.C: from above
9880 * lyxfunc.C: allow to open non-existent files
9882 2002-07-31 John Levon <levon@movementarian.org>
9884 * lyxserver.C: don't let incidental errors get
9887 2002-07-30 John Levon <levon@movementarian.org>
9889 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9891 2002-07-30 John Levon <levon@movementarian.org>
9894 * lyxserver.C: remove I/O callback too
9896 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9901 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9903 * many files: strip,frontStrip -> trim,ltrim,rtrim
9905 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9907 * PrinterParams.h: remove extern containsOnly, and include
9908 support/lstrings.h instead.
9910 * LaTeX.C (scanAuxFile): modify because of strip changes
9912 * buffer.C (makeLaTeXFile): ditto
9913 * bufferparams.C (writeFile): ditt
9914 * lyxfont.C (stateText): ditto
9915 * lyxserver.C (read_ready): ditto
9916 * vc-backend.C (scanMaster): ditto
9918 * BufferView_pimpl.h: ws changes
9920 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9922 2002-07-26 André Pönitz <poenitz@gmx.net>
9924 * kb_sequence.C: remove unnedred usings
9926 2002-07-26 Juergen Vigna <jug@sad.it>
9928 * lyxfind.C (LyXReplace): we have to check better if the returned
9929 text is not of theLockingInset()->getLockingInset().
9931 2002-07-25 Juergen Vigna <jug@sad.it>
9933 * lyxfind.C (LyXReplace): don't replace if we don't get the
9936 * undo_funcs.C (createUndo): remove debugging code.
9938 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9940 * buffer.C (parseSingleLyXformat2Token): Use default placement
9941 when reading old floats.
9943 * FloatList.C (FloatList): Change the default placement of figure
9944 and tables to "tbp".
9946 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9948 * MenuBackend.C: using std::max
9950 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * MenuBackend.C (expandToc):
9953 (expandToc2): code moved from xforms menu frontend. It is now
9954 generic and TOCs are transparent to menu frontends.
9956 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * toc.C (getTocList): protect against buf=0
9960 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9961 Menu as first parameter. Now, this calls itself recursively to
9962 expand a whole tree (this will be useful for TOC handling)
9963 (expandFloatInsert): remove 'wide' version of floats
9965 * MenuBackend.h (submenuname): returns the name of the submenu.
9966 (submenu): returns the submenu itself, provided it has been
9967 created by MenuBackend::expand
9969 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9972 insets which have noFontChange == true. (bug #172)
9974 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * BufferView_pimpl.C: add connection objects and use them...
9979 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9981 * MenuBackend.C (expandLastfiles):
9984 (expandFloatListInsert):
9985 (expandFloatInsert):
9986 (expand): split expand in parts
9988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9990 * lyx_gui.C: use lyx_gui::exit()
9992 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9994 * LyXAction.C: show the failing pseudo action
9996 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9998 * buffer.C (readFile): Run the lyxconvert script in order to read
10001 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10005 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10007 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10011 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10013 2002-07-22 Herbert Voss <voss@lyx.org>
10016 * lyxlength.[Ch]: add support for the vertical lengths
10018 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10020 * toc.[Ch]: std:: fixes
10022 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10024 * lyxrc.C: do not include lyx_main.h
10026 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10032 * BufferView2.C: include "lyxlex.h"
10035 * bufferparams.h: do not #include "lyxlex.h"
10037 * lyxtextclasslist.C (Add): remove method
10038 (classlist): renamed to classlist_
10040 * paragraph_pimpl.C:
10044 * bufferview_funcs.C:
10049 * toc.C (getTocList): use BufferParams::getLyXTextClass
10051 * toc.C (getTocList): use InsetFloat::addToToc
10053 * toc.[Ch]: new files, containing helper functions to handle table
10056 * lyxfunc.C (dispatch): no need to remove spaces around command
10058 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10059 first command of the sequence; it is not very clever, but I do not
10060 have a better idea, actually
10062 * LyXAction.C (LookupFunc): make sure to remove space at the
10063 beginning and end of the command
10065 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * MenuBackend.C (getMenubar): new method: return the menubar of
10069 (read): treat differently reading of menu and menubar (in
10070 particular, the menubar has no name now)
10071 (Menu::menubar): remove
10073 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10076 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10078 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10079 a bibitem inset in a RTL paragraph.
10081 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10083 * paragraph_pimpl.C: constify
10085 * BufferView_pimpl.C:
10087 * lyxfunc.C: fix dispatch in a nicer way
10089 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * lyxfunc.C (dispatch):
10092 * BufferView_pimpl.C:
10093 * BufferView_pimpl.h:
10095 * BufferView.h: rename Dispatch() to dispatch()
10097 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10099 * lyxlayout.C (Read): honor DependsOn tag
10101 * lyxlayout.[Ch] (depends_on): new method
10103 * version.C.in: update lyx_docversion
10105 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10107 * paragraph.C (validate): remove from here...
10108 * paragraph_pimpl.C (validate): ... and move here
10109 (isTextAt): make it const
10111 * buffer.C (getLists): ws cleanup
10113 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10115 * language.C (read): Use iso8859-1 encoding in latex_lang
10116 (this prevents LyX from crashing when using iso10646-1 encoding).
10118 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * text2.C (toggleInset): if cursor is inside an inset, close the
10121 inset and leave cursor _after_ it
10123 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10125 * lyxfunc.C: move minibuffer completion handling out of here
10127 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10129 * BufferView_pimpl.C:
10130 * LaTeX.C: fix dispatch calls
10132 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10134 * text.C (drawChars): Fix Arabic text rendering.
10136 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10140 * lyxfunc.C: remove message-push/pop
10144 * lyxfunc.C: rationalise some code by removing verboseDispatch
10145 in favour of a bool argument to dispatch()
10147 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * lyx_main.C (init): make sure to read symlinks as absolute paths
10151 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10154 * lyxfunc.C: no need for commandshortcut to be a member
10156 2002-07-15 André Pönitz <poenitz@gmx.net>
10158 * converter.C: add support for $$s (scripts from lib/scripts dir)
10159 * lyx_main.C: white space
10161 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10165 * lyxrc.C: remove second exit confirmation
10167 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView_pimpl.h:
10173 * BufferView_pimpl.C:
10174 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10176 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * MenuBackend.C (expand): add numeric shortcuts to document menu
10180 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10182 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * lyxfont.C (setLyXFamily):
10191 * buffer.C (asciiParagraph): use ascii_lowercase
10193 2002-07-15 Mike Fabian <mfabian@suse.de>
10195 * lyxlex_pimpl.C (search_kw):
10196 * lyxlex.C (getLongString):
10197 * converter.h (operator<):
10198 * converter.C (operator<):
10199 * buffer.C (parseSingleLyXformat2Token):
10201 * ToolbarDefaults.C (read):
10202 * MenuBackend.C (checkShortcuts):
10204 * LColor.C (getFromGUIName):
10205 (getFromLyXName): use the compare_ascii_no_case instead of
10206 compare_no_case, because in turkish, 'i' is not the lowercase
10207 version of 'I', and thus turkish locale breaks parsing of tags.
10209 2002-07-16 Angus Leeming <leeming@lyx.org>
10211 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10212 now takes a Buffer const & argument.
10214 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10216 * BufferView.C (resize): check there's a buffer to resize
10218 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10220 * lyxfunc.C: remove dead code
10223 * lyxserver.C: use lyx_guii::set_read_callback
10225 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10227 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10228 an inset in a RTL paragraph.
10230 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10232 * lyxfunc.C: repaint after a font size update
10234 2002-07-15 André Pönitz <poenitz@gmx.net>
10236 * lyxlength.C: inBP should be able to return negative values
10238 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxfunc.C: use lyx_gui::update_fonts()
10242 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10244 * lyxfunc.C: use lyx_gui::update_color()
10246 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10252 * lyxrc.C: remove file->new asks for name option, and let
10253 buffer-new take an argument
10255 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10257 * BufferView_pimpl.C: remove unneeded extra repaint()
10259 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10261 * LyXAction.C: allow command-sequence with NoBuffer
10263 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10265 2002-07-10 Angus Leeming <leeming@lyx.org>
10267 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10269 2002-07-09 Angus Leeming <leeming@lyx.org>
10271 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10273 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10275 * lengthcommon.h: whitespace
10277 * lyxfunc.C: update scrollbar after goto paragraph
10279 * lyxtext.h: factor out page break drawing, and fix it so
10280 page break/added space paints as selected nicely
10282 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10284 * BufferView_pimpl.C: add FIXMEs, clean up a little
10286 2002-07-09 André Pönitz <poenitz@gmx.net>
10288 * lyxfont.[Ch]: support for wasy symbols
10290 2002-07-08 André Pönitz <poenitz@gmx.net>
10292 * BufferView_pimpl.C: apply John's patch for #93.
10294 2002-07-05 Angus Leeming <leeming@lyx.org>
10296 * BufferView_pimpl.C (buffer): generate previews if desired.
10298 * LColor.h: add "preview" to the color enum.
10300 * LColor.C (LColor): add a corresponding entry to the items array.
10302 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10305 2002-07-05 Angus Leeming <leeming@lyx.org>
10307 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10308 The body of the code is now in the method that is passed an ostream &
10309 rather than a file name.
10310 Pass an additional only_preamble parameter, useful for the forthcoming
10313 2002-07-03 André Pönitz <poenitz@gmx.net>
10315 * lyxfunc.C: simplify getStatus() a bit for math stuff
10317 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10321 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10323 * text.C (changeRegionCase): do not change case of all the
10324 document when region ends at paragraph end (bug #461)
10326 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * paragraph.C (startTeXParParams):
10329 (endTeXParParams): add \protect when necessary
10331 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * BufferView_pimpl.C (workAreaExpose): remove warning
10335 2002-06-27 Angus Leeming <leeming@lyx.org>
10337 * Makefile.am: add lyxlayout_ptr_fwd.h.
10339 2002-06-26 André Pönitz <poenitz@gmx.net>
10341 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10343 2002-06-25 Angus Leeming <leeming@lyx.org>
10345 * lyxfunc.C (dispatch): Comment out the call to
10346 grfx::GCache::changeDisplay. The method no longer exists now that the
10347 pixmap generation part of the graphics loader has been moved into
10350 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10352 * text2.C: layout as layout
10354 * text.C: layout as layout
10356 * tabular.C (OldFormatRead): layout as layout
10358 * paragraph_pimpl.C (TeXDeeper): layout as layout
10359 (realizeFont): layout as layout
10361 * paragraph.C (writeFile): layout as layout
10362 (validate): layout as layout
10363 (getFont): layout as layout
10364 (getLabelFont): layout as layout
10365 (getLayoutFont): layout as layout
10366 (breakParagraph): layout as layout
10367 (stripLeadingSpaces): layout as layout
10368 (getEndLabel): layout as layout
10369 (getMaxDepthAfter): layout as layout
10370 (applyLayout): layout as layout
10371 (TeXOnePar): layout as layout
10372 (simpleTeXOnePar): layout as layout
10373 (TeXEnvironment): layout as layout
10374 (layout): layout as layout
10375 (layout): layout as layout
10377 * lyxtextclass.C (compare_name): new functor to work with
10378 shared_ptr, layout as layout
10379 (Read): layout as layout
10380 (hasLayout): layout as layout
10381 (operator): layout as layout
10382 (delete_layout): layout as layout
10383 (defaultLayout): layout as layout
10385 * lyxlayout_ptr_fwd.h: new file
10387 * lyxlayout.C (Read): layout as layout
10389 * lyx_cb.C (MenuInsertLabel): layout as layout
10391 * bufferlist.C (newFile): layout as layout
10393 * buffer.C (readLyXformat2): layout as layout
10394 (parseSingleLyXformat2Token): layout as layout
10395 (insertStringAsLines): layout as layout
10396 (asciiParagraph): layout as layout
10397 (latexParagraphs): layout as layout
10398 (makeLinuxDocFile): layout as layout
10399 (simpleLinuxDocOnePar): layout as layout
10400 (makeDocBookFile): layout as layout
10401 (simpleDocBookOnePar): layout as layout
10402 (getLists): layout as layout
10404 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10406 * CutAndPaste.C (cutSelection): layout as layout
10407 (pasteSelection): layout as layout
10408 (SwitchLayoutsBetweenClasses): layout as layout
10410 * BufferView_pimpl.C (Dispatch): layout as layout
10411 (smartQuote): layout as layout
10413 * BufferView2.C (unlockInset): layout as layout
10415 2002-06-24 André Pönitz <poenitz@gmx.net>
10417 * lyxfunc.C: fix #487
10419 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10423 * lyxfunc.C: remove display_shortcuts, show_banner
10425 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10427 * Buffer_pimpl.C: oops, update on resize
10429 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10436 * BufferView.C: use repaint()
10438 * BufferView_pimpl.h:
10439 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10440 as it's a clearer description. Remove superfluous
10443 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10445 * text.C: fix bug 488. Not ideal, but getting
10446 getWord() to work properly for the insets that
10447 matter is more difficult ...
10449 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10451 * BufferView_pimpl.C:
10454 * lyxfunc.C: remove the six million index lyxfuncs to just
10455 one, and DTRT (bug 458)
10457 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10461 * BufferView_pimpl.h:
10462 * BufferView_pimpl.C: clean up resize() stuff,
10463 and unnecessary updateScreen()s
10465 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10469 * BufferView_pimpl.h:
10470 * BufferView_pimpl.C:
10473 * minibuffer.C: remove focus management of workarea,
10474 not needed. Use screen's greyOut()
10476 2002-06-17 Herbert Voss <voss@lyx.org>
10478 * converter.C: (convert) do not post a message, when converting
10479 fails, let the calling function decide what to do in this case
10481 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10483 * lyxfunc.C: tidy up a little
10485 2002-06-16 <alstrup@diku.dk>
10487 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10488 Got rid of FORMS_H_LOCATION include. Now we are
10491 2002-06-15 LyX Development team <lyx@rilke>
10493 * buffer.[Ch] (sgmlOpenTag):
10494 (sgmlCloseTag): Added support for avoiding pernicious mixed
10495 content. Return number of lines written.
10497 (makeLinuxDocFile):
10498 (makeDocBookFile): Fixed calls to sgml*Tag.
10499 Simple white space clean.
10501 (simpleDocBookOnePar): Simple white space clean.
10503 * tabular.[Ch] (docBook): Renamed to docbook and got another
10504 argument to related with the pernicious mixed content.
10506 (docbookRow): Fixed calls for docbook inset method.
10508 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10510 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10511 so it's X11 independent.
10515 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10517 2002-06-15 Lyx Development team <lyx@electronia>
10519 * intl.h: Renamed getTrans to getTransManager.
10521 2002-06-14 Angus Leeming <leeming@lyx.org>
10523 * Makefile.am: nuke forgotten stl_string_fwd.h.
10525 2002-06-12 Angus Leeming <leeming@lyx.org>
10527 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10529 2002-06-13 Angus Leeming <leeming@lyx.org>
10532 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10534 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10536 * kbmap.C (getiso): add support for cyrillic and greek
10538 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10542 * BufferView_pimpl.h:
10543 * BufferView_pimpl.C: move bogus scrolling logic
10546 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C: view->resize() change
10551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10553 * BufferView_pimpl.C: topCursorVisible
10556 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10560 * lyx_gui.C: move to frontends/
10564 * lyx_main.C: changes from above
10566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10573 * lyx_main.C: minor tidy
10575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10577 * BufferView_pimpl.h:
10578 * BufferView_pimpl.C:
10580 * BufferView.C: make painter() const,
10583 * BufferView2.C: use screen() accessor
10586 * lyx_main.C: some minor cleanup
10588 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10590 * BufferView_pimpl.h:
10591 * BufferView_pimpl.C: remove enter/leaveView,
10594 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10599 * BufferView_pimpl.h:
10600 * BufferView_pimpl.C: only construct screen once,
10603 * lyxrc.C: remove pointless comment
10605 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10608 * BufferView.C: remove active() and belowMouse()
10610 * BufferView_pimpl.h:
10611 * BufferView_pimpl.C: use workarea() not workarea_,
10612 and make it use a scoped_ptr instead
10614 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10616 * lyx_gui.C: add debug message on BadWindow
10618 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10620 * sp_spell.C: fdopen is not part of the C++ standard.
10622 * paragraph.C (InsetIterator): use >= instead of ==
10624 2002-06-07 Angus Leeming <leeming@lyx.org>
10626 Fixes needed to compile with Compaq cxx 6.5.
10627 * BufferView_pimpl.C:
10634 * lyxtextclasslist.C:
10639 all c-library variables have been moved into namespace std. Wrap
10640 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10645 Add a using std::abs declaration.
10647 * kbmap.h (modifier_pair):
10648 * paragraph.h (InsetTable, InsetList):
10649 * lyxfont.h (FontBits):
10650 type definition made public.
10652 * bufferlist.C (emergencyWriteAll): the compiler complains that
10653 there is more than one possible lyx::class_fun template to choose from.
10654 I re-named the void specialisation as lyx::void_class_fun.
10656 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10658 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10659 the compiler is is unable to find tostr in write_attribute.
10661 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * buffer.C (sgmlError): hide #warning
10665 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * xtl/*: get rid of xtl, which is not in use anyway
10669 * LyXAction.C (init):
10670 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10671 were unimplemented xtl experimentation
10673 2002-06-04 André Pönitz <poenitz@gmx.net>
10675 * lyxfunc.C: disable array operation on simple formulae
10677 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10679 * converter.C: constify a bit
10681 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10683 * lyx_gui.C: check xforms version correctly
10685 2002-04-30 Herbert Voss <voss@lyx.org>
10687 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10690 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10692 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10693 attempt to register it with a VCS)
10695 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10697 * lyx_main.C (init): honor variables LYX_DIR_13x and
10700 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10704 * lyx_main.C: fix a crash on bad command line,
10705 and give a useful exit status on error
10707 * lyxfunc.C (doImport): allow -i lyx to work
10709 2002-03-30 André Pönitz <poenitz@gmx.net>
10711 * lyxfunc.C: mathed font changes
10713 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10728 * trans_mgr.h: srcdocs, and some minor cleanups
10730 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10732 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10733 call getFont all the time)
10735 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * switch from SigC signals to boost::signals
10739 2002-05-29 André Pönitz <poenitz@gmx.net>
10741 * paragraph_pimpl.C (getChar): don't call size() too often...
10743 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10745 * paragraph_pimpl.C (insertChar): do not try to update tables when
10746 appending (pos == size())
10748 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10749 in order to reduce drastically the number of comparisons needed to
10750 parse a large document
10752 2002-05-29 André Pönitz <poenitz@gmx.net>
10758 * textclasslist.[Ch]:
10759 * sp_ispell.h: whitespace change
10761 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10763 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10764 lyxaction directly now.
10766 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10770 * lyxvc.C: remove unused headers
10772 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10779 * undo_funcs.C: some cleanups. Use shared_ptr
10780 and a template for the undo stacks.
10782 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10784 * BufferView_pimpl.h:
10785 * BufferView_pimpl.C:
10792 * text2.C: use key_state/mouse_state
10794 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10796 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10799 * chset.C: change include order
10800 (loadFile): use boost regex and get rid of LRegex and LSubstring
10802 * Makefile.am (BOOST_LIBS): new variable
10803 (lyx_LDADD): use it
10805 * LaTeX.C: change include order.
10806 (scanAuxFile): use boost regex and get rid of LRegex and
10810 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10815 * FontInfo.C: moved to frontends/xforms/
10818 * FontLoader.C: moved into frontends for GUIIzation
10823 * lyxfunc.C: changes from above
10825 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10827 * LColor.C: remove spurious X include
10829 * BufferView_pimpl.C:
10834 * text2.C: move font metrics to frontends/
10836 2002-05-24 Juergen Vigna <jug@sad.it>
10838 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10839 setting the undo_cursor.
10841 * ParagraphParameters.h: include local includes first.
10843 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10845 * BufferView_pimpl.C:
10846 * BufferView_pimpl.h:
10850 * screen.C: move WorkArea into frontends/
10856 * BufferView2.C: move LyXScreen into frontends/
10860 * lyx_gui.C: move lyxlookup into frontends/xforms/
10862 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10865 * BufferView_pimpl.C:
10875 * bufferview_funcs.C:
10888 * vc-backend.C: move LyX/XFormsView into frontends/
10890 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10902 * text2.C: move Painter to frontends/
10904 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * buffer.C: comment out some some code that depend upon lyx_format
10909 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10910 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10912 * buffer.h (NO_COMPABILITY): turn off compability
10914 * ColorHandler.C: include scoped_array.hpp
10916 * font.C: Use more specific smart_ptr header.
10919 * ShareContainer.h: ditto
10920 * lyx_main.h: ditto
10922 * FontInfo.h: ditto
10923 * BufferView_pimpl.h: ditto
10924 * ColorHandler.h: ditto
10926 * kbmap.C (defkey): change call to shared_ptr::reset
10928 2002-05-21 Juergen Vigna <jug@sad.it>
10930 * buffer.C (insertErtContents): fix to insert ert asis if it is
10931 non empty. Skip it completely if it contains only whitespaces.
10933 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10935 * BufferView_pimpl.C:
10936 * BufferView2.C: clear selection on paste (bug 393)
10938 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * DepTable.C: include ctime
10942 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10944 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10946 2002-05-14 Juergen Vigna <jug@sad.it>
10948 * text.C (breakParagraph): fixed function to honor the keepempty
10949 layout in the right maner and also to permit the right breaking
10950 algorithm on empty or non empyt keepempty paragraphs.
10952 * paragraph.C (breakParagraph): we have to check also if the par
10953 is really empty (!size()) for isempty otherwise we do the wrong
10956 2002-05-10 Juergen Vigna <jug@sad.it>
10958 * buffer.[Ch] : The following are only changes to the ert
10959 compatibility read reading old LaTeX layout and font stuff and
10960 convert it to ERTInsets.
10962 * buffer.h: added isErtInset().
10964 * buffer.C (struct ErtComp): add a fromlayout bool to check
10965 if we're inside a LaTeX layout.
10966 (isErtInset): new helper function.
10967 (insertErtContents): look for other ert insets before this one
10968 and insert the contents there, so that we don't have subsequent
10969 ERT insets with nothing between them. This way we create only one
10970 inset with multiple paragraphs. Also check if we don't insert only
10971 spaces ' ' as they are ignored anyway afterwards in the .tex file
10972 so if we have only spaces we will ignore this latex part in the
10974 (parseSingleLyXformat2Token \\layout): better compatibility when
10975 reading layout-latex stuff.
10976 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10978 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10979 stuff after reading the inset only get the information back from
10982 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10984 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10986 * LaTeXFeatures.C (getBabelOptions): New method.
10988 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * BufferView_pimpl.C (Dispatch): work around missing argument for
10993 2002-05-08 Juergen Vigna <jug@sad.it>
10995 * text.C (leftMargin): handle paragraph leftindent.
10997 * paragraph.C (writeFile): write the new \\leftindent tag.
10998 (validate): handle leftindent code.
10999 (TeXEnvironment): handle paragraphleftindent code again.
11001 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11003 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11004 for paragrap_extra indent code and new token \\leftindent.
11005 (latexParagraphs): handle the leftindent as environment.
11007 * ParameterStruct.h: added leftindent support.
11009 * ParagraphParameters.C (leftIndent): added support functions for
11010 the paragraph left indent.
11012 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11015 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11017 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11020 * text.C (computeBidiTables): No bidi in insetERT.
11022 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11025 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * version.C.in: pre 5
11029 2002-05-02 José Matos <jamatos@fep.up.pt>
11030 * buffer.C (makeDocBookFile): white space changes, add newline to
11032 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11034 * tabular.C (docBook): fix typo.
11036 2002-05-03 Juergen Vigna <jug@sad.it>
11038 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11039 change in LyXText as we can not be sure it was not freed.
11040 (drawOneRow): remove unused code.
11042 * text.C (drawInset): redo the calculation of the need_break_row as
11043 it could have a row which was already freed.
11044 (draw): look at the return value of drawInset and return false if
11045 it also returned false.
11046 (paintRowText): look at the return value of draw and return false if
11047 it also returned false.
11049 * lyxtext.h: added bool return type to drawInset() and draw() so that
11050 if we have a change in the row so that the rowbreak has to be redone
11051 we abort drawing as it will be called again.
11053 2002-05-02 Juergen Vigna <jug@sad.it>
11055 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11056 a change in the maintext also if we're inside an inset.
11057 (Dispatch): set the cursor again after a break line and after the
11058 screen has been updated as it could be we're in a different row.
11060 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11061 to set the cursor behind the pargraph with > size().
11062 (setCursor): check also for the same paragraph when checking where
11063 to put the cursor if we have a NFR inset.
11065 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11066 parts of layout read further up as it still was in the wrong
11069 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * screen.C (drawFromTo): change sine fullRebreak always return
11074 * buffer.C (parseSingleLyXformat2Token): reindent some
11076 * BufferView_pimpl.C (update): change since fullRebreak always
11078 (Dispatch): git rid of the last hardcoded "Standard"s.
11080 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11082 * text2.[Ch] (fullRebreak): make it return void now that we always
11085 2002-04-30 Juergen Vigna <jug@sad.it>
11087 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11088 ert compatibility check for "latex" layout.
11090 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11092 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11093 minipages: use col% instead of p%, and also use the current font.
11094 (makeLaTeXFile): Fix use babel condition.
11095 (parseSingleLyXformat2Token): Correct font when reading old floats.
11097 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11099 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11100 inserting list of floats.
11102 2002-04-25 Herbert Voss <voss@lyx.org>
11104 * MenuBackend.C (expand): don't add the graphics extensions to the
11107 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11110 non-existing layout, do not complain if it was the default layout
11111 of the original class (bug #342)
11113 2002-04-24 Juergen Vigna <jug@sad.it>
11115 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11116 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11118 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11120 * buffer.C (getBibkeyList): If using \bibliography, return the
11121 option field with the reference itself. Enables us to provide natbib
11122 support when using \bibliography.
11124 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11126 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11128 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11129 natbib is provided by the LaTeX class.
11131 2002-04-23 Juergen Vigna <jug@sad.it>
11133 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11136 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11138 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11142 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11143 ensuremath around textordmasculine, textordfeminine and
11146 2002-04-19 Juergen Vigna <jug@sad.it>
11148 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11149 reinitializing the buffer otherwise row-dimensions may be wrong.
11150 (update): reset also the selection cursors if they do exits otherwise
11151 their x/y positions may be wrong.
11153 * text2.C (cursorDown): don't enter the inset if we came from a row
11154 above and are one row over the inset.
11156 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11157 really leaving an inset.
11159 2002-04-18 Juergen Vigna <jug@sad.it>
11161 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11162 of the selected paragraph does not have the selected layout also if
11165 * text2.C (setLayout): fixed bug which did not change last selected
11168 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11169 changed the read and substituted \\end_float with \\end_inset!
11171 * BufferView_pimpl.C (cursorPrevious):
11172 (cursorNext): fixed to make it work with rows heigher than the work
11173 area without moving the cursor only the draw of the row.
11174 (workAreaMotionNotify): fix jumping over high rows.
11176 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11181 2002-04-16 Juergen Vigna <jug@sad.it>
11183 * text2.C (setCursor): set also the irow().
11184 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11186 (cursorDown): support for locking an inset if the x_fix value goes
11187 inside it. That way I can transverse insets too with cursor up/down.
11189 * lyxrow.h: added irow helper function same as other (i) functions.
11191 * BufferView_pimpl.C (cursorPrevious):
11192 (cursorNext): fixed for insets!
11194 2002-04-15 Juergen Vigna <jug@sad.it>
11196 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11197 position otherwise it is wrong in some cases.
11199 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11200 inside the inset before the call.
11202 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11204 * buffer.[Ch] (getBibkeyList): make it const.
11206 2002-04-12 Juergen Vigna <jug@sad.it>
11208 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11210 * text2.C (getCursorX): new helper function
11211 (setCursor): compute also ix_
11212 (setCursorFromCoordinates): set also ix.
11214 * lyxcursor.h: added ix_ and helper functions.
11216 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11218 * buffer.C (insertStringAsLines): dont break paragraph if the this
11219 paragraph is inside an inset which does not permit it!
11221 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11222 also with no chars on this paragraph.
11223 (paintRowText): only paint stuff if it's inside the workarea!
11225 * paragraph.C (breakParagraph): honor keepempty flag and break the
11226 paragraph always below not above.
11228 * BufferView2.C (unlockInset): update the paragraph layout on inset
11229 unlock as we changed paragraph in such a case.
11231 * lyxfind.C (LyXFind): clear the former selection if not found!
11233 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11234 again called in insertChar().
11236 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11237 an inset which uses the whole row!
11238 (rightMargin): ditto.
11239 (insertChar): force a rebreak if we inserted an inset!
11241 2002-03-28 Herbert Voss <voss@lyx.org>
11243 * lyxlength.[Ch]: add inBP() to get the right PS-point
11244 units (BigPoint). With inPixels we have rounding errors
11246 2002-04-11 Juergen Vigna <jug@sad.it>
11248 * text2.C (setCursorFromCoordinates): set iy to the right value.
11249 (setCursor): add check if row->previous exists!
11251 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11252 an old float_type as this was the case in the old code!
11254 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11256 * BufferView2.C (showLockedInsetCursor): use iy
11257 (fitLockedInsetCursor): ditto
11259 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11260 locked insets as there we have the right value now.
11262 * lyxcursor.C: added iy_ variable and iy functions to set to the
11263 baseline of cursor-y of the locked inset.
11265 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11266 (setCursor): fixed for insets which need a full row.
11268 * text.C (rowLastPrintable): don't ignore the last space when before
11269 an inset which needs a full row.
11270 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11271 as last character of a row when before a inset which needs a full row.
11273 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * version.C.in: update date
11277 * text2.C (fullRebreak): try to always return true and see what
11280 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * MenuBackend.C (expand): use Floating::listName
11284 * FloatList.C (FloatList): add listName argument to the built-in
11287 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11288 text associated with the float.
11290 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11294 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * ShareContainer.h: add a couple of missing typenames.
11298 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11300 * lyxrc.C (getDescription): use _() correctly rather than N_().
11302 2002-03-28 Herbert Voss <voss@lyx.org>
11304 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11305 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11307 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11310 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11312 2002-03-29 Juergen Vigna <jug@sad.it>
11314 * lyxfunc.C (dispatch): add a missing fitCursor call.
11316 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11317 it was scrolled by a cursor move, so return the bool status.
11319 * BufferView.C (fitCursor): return the bool flag also to the outside
11320 world as this is needed.
11322 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11324 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11325 call the edit() as it is not needed (and wrong) IMO.
11326 (workAreaButtonPress): set the screen_first variable before evt.
11327 unlock the inset as this may change screen_first and then we have
11328 a wrong y position for the click!
11330 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * MenuBackend.C (expand): another translation that I missed
11334 2002-03-28 Juergen Vigna <jug@sad.it>
11336 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11338 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11340 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11344 * MenuBackend.C (expand): fix export/view/update when there is no
11347 2002-03-27 Herbert Voss <voss@lyx.org>
11349 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11352 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11354 * bufferview_funcs.C (currentState): only show paragraph number
11355 for is DEVEL_VERSION is set.
11357 * lyxfunc.C (dispatch): put warning in INFO channel
11359 * MenuBackend.C (expand): translate the name of floats
11361 * FloatList.C (FloatList): mark the float names for translation
11363 * converter.C (convert): use LibScriptSearch
11365 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * MenuBackend.C (defaults): fix default menu (we might as well get
11370 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11375 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * lyxvc.C: reorder includes.
11379 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11381 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11384 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11386 * CutAndPaste.C: change layouts earlier on paste
11387 to avoid crashing when calling getFont()
11389 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11391 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11394 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * WorkArea.C: remove 'Pending' debug message.
11398 * most files: ws cleanup
11400 * buffer.[Ch]: ws changes
11402 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11404 2002-03-21 Juergen Vigna <jug@sad.it>
11406 * tabular.C (SetMultiColumn): collapse also the contents of the
11407 cells and set the last border right. Added a Buffer const * param.
11409 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11414 2002-03-19 Juergen Vigna <jug@sad.it>
11416 * text2.C (clearSelection): reset also xsel_cache.
11418 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11419 where it needs to be called (John tells us to do so too :)
11420 (selectionLost): reset sel_cache.
11422 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11424 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * text2.C (setCursorIntern): put debuging code in INSETS channel
11428 2002-03-19 André Pönitz <poenitz@gmx.net>
11430 * lyxfunc.C: tiny whitespace change
11432 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11434 * ToolbarDefaults.C (init):
11435 * LyXAction.C (init):
11437 * BufferView_pimpl.C (Dispatch):
11438 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11440 2002-03-19 Allan Rae <rae@lyx.org>
11442 * exporter.C (Export): removeAutoInsets before doing anything else.
11443 While I've just introduced a dependency on BufferView this really is
11444 the best place to clean the buffer otherwise you need to cleanup in
11445 a dozen places before calling export or cleanup in a dozen functions
11448 * converter.C (runLaTeX):
11449 (scanLog): Better handling of removeAutoInsets and screen updates.
11451 * lyxfunc.C (dispatch): small whitespace changes
11453 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * WorkArea.C (C_WorkAreaEvent): return a value.
11456 (event_cb): return 1 if we handled the event, 0 otherwise.
11458 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11460 2002-03-18 Juergen Vigna <jug@sad.it>
11462 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11463 (GetAdditionalWidth): ditto.
11464 (RightLine): ditto.
11467 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11468 inset if we're there actually (probably not used right now but this
11469 is the direction to go for unifying code).
11470 (paste): disable code to clear the selection.
11472 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11473 inside an InsetText and move the check further up as it is in the
11476 * text2.C (pasteSelection): set a selection over the pasted text.
11478 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11480 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11481 and libgraphics to build on Cygwin.
11483 2002-03-15 Juergen Vigna <jug@sad.it>
11485 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11486 inserting an Inset into the paragraph. I know this is not the best
11487 fix but we already use current_view in CutAndPaste so we will remove
11488 all of it's using at the same time.
11490 * buffer.C (sgmlError): deactivated function till it is rewritten in
11491 the right mode, now it can create problems.
11493 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11494 before accessing it.
11496 2002-03-14 Juergen Vigna <jug@sad.it>
11498 * undo_funcs.C (textHandleUndo): do the right thing when updating
11499 the inset after the undo/redo.
11501 * text2.C (setCursor): just some testcode for #44 not ready yet.
11503 * undo_funcs.C (textHandleUndo): set the next() and previous()
11504 pointers of the paragraph to 0 before deleting otherwise we have
11505 problems with the Paragraph::[destructor].
11507 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11508 on a paragraph insertion.
11510 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * buffer.C (asciiParagraph): use += operator for char append to
11515 * paragraph.C (getFontSettings): compare >= not just >
11516 (highestFontInRange): ditto
11519 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * paragraph.C: change several algorithm to be more appripriate for
11522 the problem domain. This is lookip in FontList and in the InsetList.
11524 2002-03-13 André Pönitz <poenitz@gmx.net>
11527 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11529 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11534 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11536 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11538 * Painter.C (display): anon helper function, adjust code for this
11540 (pixmap): remove function.
11542 * Painter.h: remove private display variable.
11544 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11546 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11548 * WorkArea.[Ch]: remove figinset_canvas cruft.
11550 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * lyxtextclass.C (operator): add one item cache optimization.
11554 * bufferlist.h: doxy changes
11556 * bufferlist.C: ws changes
11558 * DepTable.[Ch] (ext_exist): place const in the right spot.
11560 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11562 (workAreaExpose): call resizeInsets when the with BufferView changes.
11563 (Dispatch): adjust for protectedBlank removal
11564 (specialChar): call updateInset if the insert went ok.
11566 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11567 specialChar instead.
11569 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11571 * BufferView.h: doxy change
11573 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11575 * lyxtextclass.C (operator[]): remove non-const version
11576 (defaultLayout): remove non-const version
11578 2002-03-12 Juergen Vigna <jug@sad.it>
11580 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11581 did resize the LyXText too.
11583 * buffer.C (readLyXformat2): set layout information on newly allocated
11586 * tabular.C (OldFormatRead): set layout information on the paragraph.
11588 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11590 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11592 2002-03-11 Juergen Vigna <jug@sad.it>
11594 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11596 (resizeCurrentBuffer): force also the insets to resize themselfes.
11597 (moveCursorUpdate): fixed up for InsetText.
11599 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11602 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11603 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11604 value of Dialogs::tooltipsEnabled().
11605 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11607 2002-03-08 Juergen Vigna <jug@sad.it>
11609 * BufferView_pimpl.C (updateInset): update inset inside inset also
11610 if it isn't inside theLockingInset().
11612 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * buffer.C (asciiParagraph): redo some of the word and line length
11616 (getLists): look for Caption instead of caption.
11618 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11620 * buffer.C (Buffer): initialize niceFile to true
11622 (makeLinuxDocFile):
11623 (makeDocBookFile): make sure niceFile is true on exit
11625 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11627 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11629 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11631 * LyXSendto.C: remove.
11632 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11633 * lyx_gui.C: remove now-redundant comment.
11634 * ColorHandler.h: remove forward declaration of class WorkArea.
11635 * lyxfunc.C: remove #include "WorkArea.h".
11637 2002-03-07 Juergen Vigna <jug@sad.it>
11639 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11640 got moved away with the DEPM and also set the inset_owner always
11641 right which before could have been omitted.
11643 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11646 wanted layout is not found.
11648 2002-03-07 Juergen Vigna <jug@sad.it>
11650 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11652 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * paragraph.C (breakParagraph): use default layout not layout of
11656 (Paragraph): clear ParagraphParameters.
11658 2002-03-06 Juergen Vigna <jug@sad.it>
11660 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11661 otherwise it would not be a valid lenght. Fixed a special case in
11662 the minipage compatibility read where we end the document with a
11665 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11666 was set as it could be 0 for InsetTexts first entry.
11668 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * paragraph.C (writeFile): if layout is empty write out
11671 defaultLayoutName().
11673 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11674 file without named layout we set layout to defaultLayoutName().
11676 2002-03-06 Juergen Vigna <jug@sad.it>
11678 * CutAndPaste.C (copySelection): set layout for new paragraph.
11680 * text.C (prepareToPrint): leave ERT inset left aligned
11681 (leftMargin): don't indent paragraphs inside ERT insets
11683 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * paragraph.C (breakParagraph): dont call clear do the work manually
11687 * paragraph.[Ch] (clear): remove function
11689 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * paragraph.C (Paragraph): dont call clear, the work has already
11694 * lyxtextclass.C (operator): assert if n is empty
11696 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11697 work manually instead.
11699 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11701 * BufferView_pimpl.C: protect selectionLost against text == 0
11703 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * text.C (breakParagraph): fix a setting layout to '0' problem.
11707 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11709 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11710 final location of file, for the included files, and graphics.
11712 2002-03-05 Juergen Vigna <jug@sad.it>
11714 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11716 2002-03-04 Juergen Vigna <jug@sad.it>
11718 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11720 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11721 last column of multicolumn cells.
11722 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11724 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11726 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11727 file if it doesn't go to a temporary file.
11729 * buffer.C (sgmlOpenTag):
11730 (sgmlCloseTag): remove extra newline insertion.
11732 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11734 * text.C (getRowNearY): comment out debug msg
11736 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * text2.C: first -> first_y
11740 * text.C (getRowNearY): add some attemts at a possible
11741 optimization, not working.
11743 * tabular.[Ch]: add BufferParams to several function so that newly
11744 created paragraph can be initialized to he default layotu for the
11747 * tabular-old.C (ReadOld): add buf->params to call of Init
11749 * screen.C: rename text->first to text->first_y
11751 * paragraph.C (breakParagraph): always set layout in the broken
11754 * lyxtextclass.C (Read): remove lowercase
11757 (delete_layout): ditto
11759 * lyxtext.h: rename first -> first_y
11761 * lyxlayout.C (Read): remove lowercase
11764 (obsoleted_by): ditto
11766 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11768 * buffer.C (insertErtContents): add params are to InsetERT
11769 (parseSingleLyXformat2Token): add code to check if a paragraphs
11770 layout really exist.
11771 (parseSingleLyXformat2Token): add params to several inset
11773 (asciiParagraph): remove lowercase, do the layout comparisons with
11776 * BufferView_pimpl.C (cursorNext): first -> first_y
11777 (resizeCurrentBuffer): first -> first_y
11778 (updateScrollbar): first -> first_y
11779 (scrollCB): first -> first_y
11780 (workAreaMotionNotify): first -> first_y
11781 (workAreaButtonPress): first -> first_y
11782 (checkInsetHit): first -> first_y
11783 (cursorPrevious): first -> first_y
11784 (cursorNext): first -> first_y
11785 (Dispatch): add buffer_->params to severl inset contructors
11787 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11789 * lyxlayout.C (Read): remove some debug info that I forgot.
11791 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11792 clean up the code slightly.
11793 (makeLinuxDocFile): ditto
11794 (makeDocBookFile): ditto
11796 * text2.C: layout as string
11798 * text.C: layout as string
11800 * paragraph_pimpl.C: layout as string
11802 * paragraph.[Ch]: layout as string
11804 * lyxtextclasslist.[Ch]: layout as string
11806 * lyxtextclass.[Ch]: layout as string
11808 * lyxtext.h: layout as string
11810 * lyxlayout.[Ch]: layout as string
11812 * lyx_cb.C: layout as string
11814 * bufferview_funcs.C: layout as string
11816 * bufferparams.C: layout as string
11818 * buffer.C: layout as string
11820 * LyXView.[Ch]: layout as string
11822 * LaTeXFeatures.[Ch]: layout as string
11824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11826 * BufferView_pimpl.C: change current_layout to string, remove
11831 (workAreaButtonRelease): layout as string
11833 * BufferView2.C (unlockInset): adjust
11835 * vspace.C (asLatexCommand): use an explict temp variable.
11837 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11839 * Makefile.am: use FRONTEND_*
11841 2002-03-01 Juergen Vigna <jug@sad.it>
11843 * tabular.C (SetWidthOfMulticolCell): changed to something better
11844 I hope but still work in progress.
11845 (recalculateMulticolumnsOfColumn): renamed function from
11846 recalculateMulticolCells as it is more appropriate now.
11847 (SetWidthOfCell): calculate multicols better.
11849 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11853 * lyxfunc.C (processKeySym): print sequence also if it is
11854 `deleted' (complete)
11856 * kbsequence.C (print): print sequence even if it is deleted
11857 (complete would be a better word, actually).
11859 * lyxfunc.C (dispatch): print complete options after a prefix key
11861 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11863 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11865 * text2.C (setCharFont): eliminate setCharFont code duplication.
11867 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11869 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11870 LFUN_TABULAR_FEATURE (bug #177)
11872 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11874 * Makefile.am: remove figure.h
11876 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11878 * Bufferview_pimpl.C:
11890 * text2.C: remove #include "lyx_gui_misc.h".
11892 * LaTeX.C: added #include <cstdio>
11894 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11897 that the paragraph following this one can have.
11899 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11901 * vspace.C (asLatexCommand): fix bogus gcc warning
11903 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11905 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11907 * text2.C (setLayout): get rid of redundant code
11909 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11911 * text2.C (incDepth): make sure depth cannot be increased beyond
11914 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11916 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11917 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11919 * PainterBase.h (image):
11920 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11921 a LyXImage const *.
11923 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.C:
11928 * BufferView_pimpl.h:
11948 * sp_spell.C: remove fig inset, and the crap house of
11949 cards that follows it
11951 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11956 * os2_errortable.h:
11957 * nt_defines.h: move .h into support/
11959 * vms_defines.h: remove
11961 * WorkArea.C: add space in debug output
11965 * buffer.C: add WITH_WARNINGS
11969 * bufferlist.C: s/retrive/retrieve/, add docs
11978 * chset.C: add docs
11980 * lyxgui.C: add ID to X error handler
11982 * lyxtestclass.c: fix typo
11984 2002-02-26 Juergen Vigna <jug@sad.it>
11986 * tabular_funcs.C (write_attribute): changed so that some default
11987 attributes are not written at all.
11988 (getTokenValue): set default values before trying to read the
11989 value so we have the return value always set as default if we don't
11990 find the token we search for.
11992 * tabular.C (Write): write bools as bools not as strings!
11994 2002-02-22 Juergen Vigna <jug@sad.it>
11996 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11997 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11999 * text.C (leftMargin): don't add an indent for paragraphs inside
12000 tabular cells (fix #208).
12002 2002-02-21 José Matos <jamatos@fep.up.pt>
12004 * tabular.C (docBook): fixed support for long tables.
12006 2002-02-20 Juergen Vigna <jug@sad.it>
12008 * text2.C (getFont): get the drawing font of the Inset if this
12009 paragraph is inside an inset (only important for InsetERT for now).
12011 * buffer.C (insertErtContents): use new lanugage params in ERT
12014 * CutAndPaste.C: commenting out seemingly uneeded code.
12016 2002-02-19 Allan Rae <rae@lyx.org>
12018 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12019 Iterators might be simple to use but they also get invalidated.
12020 (removeAutoInsets): renamed saved cursor tracking variables and added
12021 some comments to clarify what everything does.
12023 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12030 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12031 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12034 * vc-backend.h: remove #include "support/syscall.h"
12038 * converter.C: rearrange #includes in Lars' approved fashion.
12040 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12041 forward declare class Timeout in the header file.
12043 * XFormsView.C: changes due to the above.
12045 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12046 similar to LyXView.
12048 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12049 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12051 2002-02-18 José Matos <jamatos@fep.up.pt>
12053 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12056 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12058 * a lot of small ws changes
12059 * add a lot of using std::XXX
12060 * use std construcs some places where approp.
12061 * use some exisint stuff from lyxfunctional where approp.
12062 * Make file changes to use partial linking (lets test this now...)
12064 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12068 remove #include "support/syscontr.h" as it's redundant. Always has been.
12076 change Systemcalls::System to Systemcalls::Wait and
12077 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12078 No change of functionality, just reflects the stripped down Systemcalls
12081 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12083 * debug.[Ch]: add a GRAPHICS type to the enum.
12085 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12089 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12092 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12094 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12095 match the changes below.
12097 * text2.C (toggleInset): if there is not editable inset at cursor
12098 position, try to see if cursor is _inside_ a collapsable inset
12101 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12104 document menu has a nice checkbox
12106 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * lyxlength.C (asLatexString): change PW to output as percent of
12111 * lengthcommon.C: change '%' to 't%'
12113 * lyxfunc.C (dispatch): a few comments from Martin
12115 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12119 * BufferView_pimpl.h:
12120 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12123 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * vspace.C (inPixels): fix compiler warning
12127 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12129 * lyxfunc.C (getStatus): fix status message for disabled commands.
12131 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12133 * BufferView_pimpl.C: fix crash on close buffer
12134 during selection (#227)
12136 2002-01-27 Herbert Voss <voss@lyx.org>
12138 * buffer.C: link old Figure to new graphic inset
12140 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12142 * FontLoader.C (getFontinfo): Change the latex font names in order
12143 to match the names of type1inst.
12145 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12149 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12150 (extchanged): ditto
12152 (remove_files_with_extension): ditto
12153 (remove_file): ditto
12156 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12157 document is smaller than the work area height. Do not initialize
12158 static variables to 0.
12160 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12162 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12164 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12165 LFUN_LAYOUT_PARAGRAPHS.
12167 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12168 tabular. It is possible to provide a possible cell, which will
12169 typically be the actcell from the corresponding insettabular
12171 * lyxfunc.C (getStatus): small cleanup; disable
12172 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12175 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12177 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12179 * paragraph.C (startTeXParParams):
12180 (endTeXParParams): new methods. The LaTeX code to
12181 start/end paragraph formatting
12182 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12183 empty (fixes bug #200)
12185 * vspace.C (inPixels): adapt to the change below
12186 (inPixels): [later] more cleanups (remove unused variables)
12188 * lyxlength.C (inPixels): change to use a width and a height as
12191 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12193 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12194 Replaced with \paperwidth
12196 * DepTable.C (insert): add std:: qualifier
12198 2002-01-18 Allan Rae <rae@lyx.org>
12200 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12203 * text.C (drawInset): Turned out I didn't know enough about how
12204 rebreaking worked. This fixes most of the redraw problems. I see
12205 an occasional cursor trail when a line is broken now and the cursor
12206 placement can seem out by a few pixels also after a rebreak.
12208 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12210 * buffer.C (parseSingleLyXformat2Token): update because minipage
12211 width is now a LyXLength
12213 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12215 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12218 2002-01-17 Juergen Vigna <jug@sad.it>
12220 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12222 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12223 is set correctly and the inset is updated correctly.
12225 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12227 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12228 the beginning of the loop.
12230 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12232 * lyxrc.C: improve help for use_scalable_fonts
12234 2002-01-17 Allan Rae <rae@lyx.org>
12236 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12238 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12240 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12241 make sure to set their inset_owner to the right value (bug #171)
12243 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12246 * DepTable.C: Implement mtime checking to reduce time spent doing
12249 2002-01-16 Juergen Vigna <jug@sad.it>
12251 * tabular.C (GetAdditionalHeight): one of error fixed.
12253 * lyxrc.C (output): small fix in writing use_pspell.
12255 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12257 * sp_base.h: #include LString.h
12259 2002-01-16 Allan Rae <rae@lyx.org>
12261 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12262 Can someone check this please?
12264 * text.C (drawInset): It was possible that p.row would be removed by
12265 breakAgainOneRow upsetting a few other settings. There may be another
12266 small tweak possible by setting need_break_row = 0 when p.row has been
12267 removed but I don't know enough about the logic here.
12269 2002-01-15 Allan Rae <rae@lyx.org>
12271 * text.C (insertChar): removed conditional truism.
12273 * BufferView2.C (removeAutoInsets): More tweaks.
12274 cur_par_prev could be a stray pointer. Check for trailing empty line
12275 in case last line was cur_par and only had an error inset on it.
12277 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12279 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12282 * vc-backend.C (most methods):
12283 * exporter.C (Export):
12284 * converter.C (convert):
12286 * LyXSendto.C (SendtoApplyCB):
12287 * lyxfunc.C (dispatch):
12291 * lyx_cb.C (AutoSave):
12293 * BufferView_pimpl.C (MenuInsertLyXFile):
12294 * buffer.C (runChktex): use Buffer::filePath().
12296 * buffer.h: rename filename to filename_; rename filepath to
12297 filepath_ and make it private
12298 (filePath): new method
12300 * buffer.C (writeFile): use fileName()
12303 * lyx_main.C (init): fix starting of LyX when the binary is a
12304 link from so,ewhere else.
12306 * minibuffer.C: include <cctype> for isprint
12308 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12310 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12311 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12312 name clash with InsetCollapsable's width function.
12314 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * lastfiles.C: include <iterator>
12318 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12320 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12323 * buffer.C (makeLaTeXFile): ditto.
12324 Also make loop operation more transparent.
12326 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12328 * ToolbarDefaults.C: remove trailing comma closing namespace.
12330 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12332 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12335 * trans.C (Load): comment out unused variable, allowed.
12337 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12339 * minibuffer.[Ch] (append_char): new method to recieve input from the
12340 drop-down completion browser. If a key was pressed, then recieve this
12341 char and append it to the existing string.
12342 (peek_event): modify the positioning data passed to the completion
12343 browser so that it can be placed above the minibuffer rather than below.
12344 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * LyXAction.C (init): alloe error-next for readonly documents.
12348 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12351 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * bufferlist.C (readFile): create the buffer _after_ checking that
12356 * lyxfunc.C (verboseDispatch): fix handling of arguments
12358 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12360 * lyxrc.C: use string::erase() instead of initializing to "".
12363 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12365 * BufferView_pimpl.h:
12366 * BufferView_pimpl.C:
12369 * text2.C: tell X when we have made a selection for copying
12371 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * BufferView_pimpl.C (MenuInsertLyXFile):
12374 * lyxfunc.C (menuNew):
12376 (doImport): add shortcuts to directory buttons
12378 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12381 * lyxfunc.C (setStatusMessage):
12382 (getStatusMessage): new methods
12383 (getStatus):use setStatusMessage instead of setErrorMessage
12384 (dispatch): when function is disabled, set error message here
12385 [instead of in getStatus previously]
12387 * BufferView_pimpl.C (workAreaButtonRelease): update
12388 toolbar/menubar here too.
12390 2002-01-13 Allan Rae <rae@lyx.org>
12392 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12393 Now seems indestructible. Remaining task is to audit all other
12394 code affected by deleteEmptyParagraphMechanism. One small quirk
12395 left is that an empty document with an error in the preamble can
12396 be made to report an error but no error box appears. I don't know
12398 (removeAutoInsets): Improved comments.
12400 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12403 * Thesaurus.C: update for Aiksaurus 0.14
12405 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * text2.C (firstParagraph): removed member function, all uses
12408 replaces with ownerParagraph
12409 (redoParagraphs): here
12410 (updateInset): here
12411 (toggleAppendix): here
12412 * BufferView2.C (insertErrors): here
12413 (setCursorFromRow): here
12415 2002-01-13 Allan Rae <rae@lyx.org>
12417 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12418 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12419 There is still a way to segfault this although you may have to do this
12420 multiple times: Have an InsetERT with an unknown command in it.
12421 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12422 <down-arrow>, <Enter> again, View->DVI, BANG!
12424 * text2.C (setCursor):
12425 (deleteEmptyParagraphMechanism):
12426 * lyxtext.h (setCursor):
12427 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12428 Making use of the return value may help fix other bugs.
12430 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12432 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12434 * LyXView.C (updateMenubar): call MenuBar::update here
12435 (updateToolbar): but not here
12436 (showState): do not update toolbar/menubar
12438 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12439 should need to care about that.
12441 * lyxfunc.C (verboseDispatch): simplify a bit
12442 (getStatus): have a version which takes a pseudoaction, and
12443 another which requires a (kb_action,string).
12445 * LyXAction.C (retrieveActionArg): make it work also when action
12446 is not a pseudo-action.
12447 (getActionName): simplify a bit
12450 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * lyxfunc.C (verboseDispatch): new families of methods with
12453 several ways to specify a command and a bool to indicate whether
12454 the command name and shortcut should be displayed in minibuffer
12455 (eventually, we could extend that to a finer bitmask like
12456 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12457 (dispatch): the pristine dispatch command which just, well,
12458 dispatchs! Note it still sets its result to minibuffer; I'm not
12461 * lyxfunc.h: remove setHintMessage
12463 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12465 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * BufferView_pimpl.C (specialChar): delete new inset if we have
12468 not been able to insert it.
12470 * kbmap.C: revert to using int instead of kb_action, since all we
12471 are dealing with is pseudo-actions.
12473 * LyXAction.C (searchActionArg): change to return int instead of
12474 kb_action, since the result is a pseudoaction.
12476 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12478 * buffer.C (insertErtContents): Fix (partially) the font bug.
12480 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12482 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12483 as the other one is broken on my machine!
12485 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12488 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12490 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12492 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12493 reflect their actual use. Provide compatibility code for older lyxrc
12496 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12498 change names of popup font variables in line with the changes to lyxrc.C
12500 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * buffer.C (asciiParagraph): avoid outputing a word twice after
12505 * lyxrc.C (getDescription): document that document_path and
12506 template_path can be empty.
12508 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * LaTeXFeatures.C (getMacros):
12511 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12513 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12515 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12517 (getPackages): rename feature "floats" to "float". Use an array to
12518 iterate over 'simple' features (i.e. just a \usepackage). Add
12519 handling of "amsmath" (renamed from "amsstyle").
12521 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12523 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12526 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12528 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12529 FuncStaus::FuncStatus & FuncStaus::some_method().
12531 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12533 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12534 of the func_satus stuff. Edited and massaged in various ways by
12537 * lyxfunc.C (getStatus): use FuncStatus
12539 2002-01-08 Juergen Vigna <jug@sad.it>
12541 * text.C (nextBreakPoint): use function Inset::isChar().
12543 * paragraph.C (TeXOnePar): use function
12544 Inset::forceDefaultParagraphs.
12546 * buffer.C (latexParagraphs): use function
12547 Inset::forceDefaultParagraphs.
12549 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12551 * lyx_gui.C (init): set the style of the menu popups to
12552 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12554 2002-01-07 Juergen Vigna <jug@sad.it>
12556 * text.C (setHeightOfRow): small fix
12557 (prepareToPrint): don't look at alignment if we don't have the place
12560 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12562 * box.C: New file. Move the Box methods and functions out of box.h,
12563 following Lars' suggestion.
12565 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12567 * box.h: #include "support/LOstream.h", needed for inlined function.
12570 * lyxtextclasslist.C: added some using std declarations.
12572 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12574 * box.h: make signed dimensions to allow insets wider than
12575 the screen (bug #162)
12577 * BufferView_pimpl.C: add some insetHit debug
12579 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12581 * vc-backend.C: add FIXME
12583 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * lyxfunc.C (getStatus): enable code for showing math font status
12588 2002-01-07 Juergen Vigna <jug@sad.it>
12590 * text.C (nextBreakPoint): removed debug output not needed anymore.
12592 2002-01-06 Juergen Vigna <jug@sad.it>
12594 * text.C (nextBreakPoint): fixed up this function we had this bug
12595 since ever but now hopefully we break row better.
12596 (insertChar): we have to check if an inset is the next char as it
12597 could now happen that a large inset is causing a break.
12599 2002-01-05 Juergen Vigna <jug@sad.it>
12601 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12602 if it doesn't like to be drawed.
12604 2002-01-04 Juergen Vigna <jug@sad.it>
12606 * BufferView2.C (lockInset): forgot to set a cursor.
12608 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12610 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12612 * FormMathsPanel.C:
12615 * form_maths_panel.C:
12616 * form_maths_panel.h:
12617 * form_maths_panel.fd: implemented sub- and super- buttons in math
12620 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12621 (or ^ space) to be used as in TeX (req'd by André).
12623 * lyxfunc.C: Allow ^ and _ again to be used both as
12624 super/subscript (mathed) and as themselves (in text).
12626 2002-01-03 Allan Rae <rae@lyx.org>
12628 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12629 "LyX" or the filename of the current buffer if it has one. This is a
12630 modified form of John Levon's patch.
12632 * XFormsView.C (setWindowTitle): also set icon title.
12634 * LyXView.h (setWindowTitle): signature changed.
12635 * XFormsView.h (setWindowTitle): ditto.
12637 2002-01-02 Juergen Vigna <jug@sad.it>
12639 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12641 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * screen.C (topCursorVisible): introduce a temp var for
12644 text->cursor.row(), handle the case where this row is null. (kindo
12647 * text2.C (setCursor): add a couple of asserts.
12649 * paragraph.h (inset_iterator): add -> operator
12651 * paragraph.[Ch] (autoDeleteInsets): remove member function
12653 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12654 cursor pos correctly and handle inset deletion by itself.
12655 (insertErrors): move iterator declaration out of for expression
12657 * lyxtextclass.C: add <algorithm>
12659 * Makefile.am: added the new files to sources, removed layout.C
12661 * layout.C: removed file
12663 * layout.h: remove LYX_DUMMY_LAYOUT
12665 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12669 * lyxtextclass.[Ch]:
12670 * lyxtextclasslist.[Ch]: new files
12672 * include order changes to a lot of files, also changes because of
12675 2001-12-27 Juergen Vigna <jug@sad.it>
12677 * buffer.C (asciiParagraph): more fixes.
12679 * tabular.C (ascii): make ascii export support export of only the
12680 data separated by a column-delimiter.
12681 (ascii): better support for ascii export.
12683 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12685 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * tabular_funcs.C: use a "using std::getline" instead of the
12688 previous fix from Angus (necessary for cxx + lyxstring)
12690 2001-12-24 Juergen Vigna <jug@sad.it>
12692 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12694 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12695 problems. First check a minipage also if we have some ert-contents
12696 (not only on par->size(), second set the right depth of the paragraph
12697 on the relink to the root-paragraph-list!
12699 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12700 which then did not anymore update the main paragraphs on undo/redo!
12702 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12704 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12705 code. Support all font-changing funcs (even those which are not in
12706 menu currently). Support for reporting font settings in
12707 mathed (disabled until Andre provides a function on mathed's side).
12709 * func_status.h (toggle): small helper function to set toggle
12712 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12714 * tabular_funcs.C: getline -> std::getline
12716 2001-12-21 Juergen Vigna <jug@sad.it>
12718 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12719 accessed and could be 0 (I couldn't generate this but it seems
12722 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12725 * tabular_funcs.h: here and include iosfwd
12727 2001-12-20 Juergen Vigna <jug@sad.it>
12729 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12730 inside inset but undo_par was.
12732 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12734 * Thesaurus.C: always include <config.h> in sources.
12738 * box.h: do not include <config.h> in header files
12740 * text.C (paintLastRow): remove unused variable
12742 * text.C (transformChar):
12744 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12746 * Painter.C (text):
12747 * font.C (width): rewrite to use uppercase() instead of
12750 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12752 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12754 * lyxfind.C: clean up of find failure position change
12756 2001-12-20 Juergen Vigna <jug@sad.it>
12758 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12760 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12761 (TeXRow): added to LaTeX a single tabular row.
12762 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12763 (Latex): simplified and finally good LT-h/f support.
12764 (various_functions): just small adaptions for LT-h/f support.
12766 * tabular_funcs.[hC]: added and moved here all not classfunctions
12769 2001-12-19 Juergen Vigna <jug@sad.it>
12771 * tabular.[Ch]: better support for longtabular options (not finished
12774 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * text.C (paintLastRow): use the label font instead of the font of
12777 the last character to compute the size of *_BOX. This makes more
12778 sense and avoids a crash with empty paragraphs.
12779 Use Painter::rectangle to draw EMPTY_BOX.
12781 2001-12-19 Juergen Vigna <jug@sad.it>
12783 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12784 the paragraphs if the replaced paragraph is not the first one!
12785 Tried to delete not used paragraphs but does not work yet so for
12786 now it's inside #ifdef's and by default off!
12788 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12790 * MenuBackend.C: include "lyx_main.h" instead of declaring
12791 lastfiles (actually was declared as LastFiles* instead of a
12794 2001-12-17 Juergen Vigna <jug@sad.it>
12796 * tabular.C (AppendColumn): applied John's fix
12798 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12802 * BufferView_pimpl.h:
12803 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12806 * box.h: new start of class for above
12808 * lyxfunc.C: ignore space-only minibuffer dispatches.
12809 Show the command name when it doesn't exist
12811 * minibuffer.C: don't add empty lines to the history
12813 * minibuffer.C: add a space on dropdown completion
12815 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12817 * text.C: fix line above/below drawing in insets
12819 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12821 * lyxlength.C (LyXLength): Initialize private variables.
12823 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12826 when inserting error insets.
12828 2001-12-13 Juergen Vigna <jug@sad.it>
12830 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12831 actually sometimes the before-paragraph.
12832 (setUndo): don't clear the redostack if we're not actually undoing!
12834 2001-12-06 Juergen Vigna <jug@sad.it>
12836 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12837 and fixed redoing of main paragraph, so we can use it now ;)
12839 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12841 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12843 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12846 2001-12-13 André Pönitz <poenitz@gmx.net>
12849 * undo_func.C: minor cleanup
12851 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12854 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12855 font in urw-fonts package which is marked as -urw-fontspecific and
12856 does not work (incidentally, changing the encoding in the
12857 fonts.dir of this package to -adobe-fontspecific fixes the
12860 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12861 is a crash when undoing first paragraph (Juergen, please take a
12862 look). THis does not mean the undo fix is wrong, just that it
12865 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12866 the (Paragraph*) version when needed instead of duplicating the
12869 * text.C (workWidth): use Inset::parOwner to find out where the
12870 inset has been inserted. This is a huge performance gain for large
12871 documents with lots of insets. If Inset::parOwner is not set, fall
12872 back on the brute force method
12874 * paragraph_pimpl.C (insertInset):
12875 * paragraph.C (Paragraph):
12876 (cutIntoMinibuffer): set parOwner of insets when
12877 inserting/removing them
12879 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12881 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12887 * mathed/formulabase.C:
12888 * mathed/math_cursor.[Ch]:
12889 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12892 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * lyxlength.[Ch] (operator!=): new function
12896 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12898 * text.C (workWidth): use Inset::parOwner to find out where the
12899 inset has been inserted. This is a huge performance gain for large
12900 documents with lots of insets. If Inset::parOwner is not set, fall
12901 back on the brute force method
12903 * paragraph_pimpl.C (insertInset):
12904 * paragraph.C (Paragraph):
12905 (cutIntoMinibuffer): set parOwner of insets when
12906 inserting/removing them
12908 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12910 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12912 * tabular-old.C (getTokenValue):
12913 * tabular.C (getTokenValue):
12914 (write_attribute): new versions for LyXLength
12915 (everywhere): adjust the use of widths
12917 * tabular.h: change the type of widths from string to LyXLength
12919 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12921 * paragraph.C: fixed missing line number count when exporting
12922 Environments to LaTeX file
12924 * buffer.C: added informational message for checking line numbers.
12926 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12928 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12929 paragraph, do the 'double space' part, but not the 'empty
12932 * text.C (workWidth): small optimization
12933 (getLengthMarkerHeight): use minimal size for negative lengths.
12935 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12937 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12939 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12941 2001-12-11 André Pönitz <poenitz@gmx.net>
12944 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12948 * text2.C: keep selection on a setFont()
12950 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12952 * lyx_cb.C: another bv->text misuse, from insert label
12954 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12957 * kbsequence.C: re-instate nmodifier mask
12959 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12961 * lyx_main.h: make lyxGUI private.
12963 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12965 * lyxfind.C: place the cursor correctly on failed search
12967 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12969 * text.C (getLengthMarkerHeight): for small heights, the arrows
12970 are not always on top/bottom of the text
12971 (drawLengthMarker): smaller arrows; take the left margin in
12972 account; draw also vfills.
12974 (paintLastRow): remove special code for vfill and standard spaces,
12975 since everything is handled in drawLengthMarker now.
12977 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * buffer.C (insertErtContents): try to handle font and language
12980 interaction a bit better.g
12982 * ColorHandler.C (updateColor): change the hash to cover the whole
12983 LColor enum, ws cleanup
12984 (getGCLinepars): ditto
12985 (getGCLinepars): only lookup in the linecache once.
12987 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12989 * iterators.C (operator++): Make the iterator more robust
12991 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12998 * text.C: better added space drawing
13000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13003 * BufferView2.C: fix layout combo update on inset unlock
13005 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13007 * Makefile.am: don't compile unused files
13009 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13013 * LyXAction.C: remove old LFUN_LAYOUTNO
13015 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13017 * paragraph_pimpl.h:
13018 * paragraph_pimpl.C: isTextAt() doesn't need font param
13020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13023 * lyxlex.C: little cleanup
13025 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13027 * BufferView_pimpl.C: fix insertAscii for insets
13029 2001-12-05 Juergen Vigna <jug@sad.it>
13031 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13032 set the right font on the "multi" paragraph paste!
13034 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * lyxlength.C: remove out-commented code.
13042 * BufferView_pimpl:
13056 * vc-backend.C: change "while(" to "while ("
13058 * lyxlength.[Ch]: add zero function to check if length is zero or
13060 * lyxgluelength.C: use it
13062 2001-12-05 Allan Rae <rae@lyx.org>
13064 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13065 Works for 2.95.3, from what I understand of Garst's reports this should
13066 work for other g++ versions. We're screwed if the abs(int) definition
13067 changed between bugfix releases of gcc.
13069 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13071 * text.C: fix chapter label offset !
13073 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13076 * text.C: fix hfill at end of line, clean up
13078 2001-12-04 Juergen Vigna <jug@sad.it>
13080 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13081 that we force an update of the inset and it's owners if neccessary.
13083 2001-12-03 Juergen Vigna <jug@sad.it>
13085 * text.C (rowLast): simplified code
13087 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13089 * lyxfunc.C: fix show options on timeout
13091 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * screen.C (topCursorVisible): scroll half a page when the cursor
13094 reached top of bottom of screen
13096 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13098 * minibuffer.C: deactivate on loss of focus
13100 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * vspace.[Ch] (operator!=): add operator.
13104 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13106 * BufferView_pimpl.C: refuse to open an inset when
13107 there's a selection.
13109 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13111 * BufferView_pimpl.C: allow to click on RHS of full row insets
13113 2001-11-30 Juergen Vigna <jug@sad.it>
13115 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13116 insets for undo reasons.
13118 2001-11-28 André Pönitz <poenitz@gmx.net>
13120 * vspace.[Ch]: cosmetical changes
13122 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13132 * kbsequence.C: part re-write of old kb code
13135 * WorkArea.C: remove Lgb_bug_find_hack
13137 2001-11-30 José Matos <jamatos@fep.up.pt>
13139 * buffer.C (makeDocBookFile): add a comment to point a hack.
13140 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13141 Fixed a double write of labels.
13143 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13146 * LaTeX.h Fixed bug in LaTeX class where it would not
13147 re-run latex if no depfiles were changed, but the .dvi was removed.
13149 2001-11-28 André Pönitz <poenitz@gmx.net>
13151 * all the files from the change on 2001/11/26:
13152 use lyx::layout_type instead of LyXTextClass::size_type
13153 use lyx::textclass_type instead of LyXTextClassList::size_type
13155 2001-11-29 Juergen Vigna <jug@sad.it>
13157 * text.C: added support for paragraph::isFreeSpacing()
13159 * buffer.C: same as above
13161 * paragraph.h: inserted isFreeSpacing() function to enable
13162 FreeSpacing inside InsetERT.
13164 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13165 of the paragraph's in the cut/copy buffer to 0!
13167 * text2.C (removeRow): remove the assert as it can!
13169 * lyxtext.h: added helper function firstRow returning firstrow and
13170 made firstrow private again.
13172 * BufferView2.C (lockInset): don't relock if we're already locked!
13174 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13175 the only paragraph.
13176 (removeRow): added Assert::(firstrow)
13178 * debug.C: forgot to add INSETTEXT here.
13180 2001-11-28 Juergen Vigna <jug@sad.it>
13182 * sp_spell.C (initialize): changed error text to more general
13183 spellchecker command use (not only ispell!)
13185 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13187 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13189 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13191 * vspace.C: initialise lyxgluelength on failure
13193 2001-11-28 Allan Rae <rae@lyx.org>
13195 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13196 declaration & definition that looks like a function declaration.
13198 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * BufferView2.C (copy):
13201 (copyEnvironment): do not clear the selection when doing a copy.
13203 * text.C (paintFirstRow): compilation fix
13205 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13207 * tabular.C (Latex): correct line count when writing latex.
13209 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13211 * paragraph_pimpl.h:
13212 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13219 * LColor.C: change vfillline->added_space
13221 * text.C: add markers and text for added space
13223 * vspace.C: fix comment
13225 2001-11-28 André Pönitz <poenitz@gmx.net>
13227 * paragraph.C: whitespace changes
13228 * all the other files from the change on 2001/11/26:
13229 change *::pos_type into lyx::pos_type
13231 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13233 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13234 language of the document when inserting error insets.
13236 2001-11-26 André Pönitz <poenitz@gmx.net>
13238 * BufferView_pimpl.[Ch]:
13246 * paragraph_pimpl.[Ch]:
13249 * text2.C: reduce header dependencies, introduce type for positions
13251 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13253 * <various>: change to use Alert.h
13255 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13257 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13258 when encountering an unknown token.
13259 (readLyXformat2): Show an error message if there were unknown tokens.
13261 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13264 * BufferView_pimpl.C:
13268 * text2.C: use par->isInset()
13270 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13272 * paragraph_pimpl.h:
13273 * paragraph_pimpl.C: cleanup
13275 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * text2.C (removeRow):
13278 * text.C (setHeightOfRow): remove useless (and costly) call to
13281 2001-11-20 Allan Rae <rae@lyx.org>
13283 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13284 Now need Inset*::checkInsertChar() to return true for appropriate
13285 cases so that the characters in the minibuffer will actually be
13288 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * text.C: change the order of the includes.
13291 (workWidth): initialize it at once.
13292 (workWidth): make maxw unsigned
13293 (setHeightOfRow): remove unused variable (inset)
13294 (selectSelectedWord): remove unused variable (inset)
13295 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13297 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13300 server is not running.
13302 (closeConnection): add debug info when server is disabled.
13304 * ColorHandler.C (getGCForeground): send debug message to GUI
13307 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13309 * kbmap.C (bind): modify because return conventions of
13310 kb_sequence::parse have changed.
13312 * kbsequence.C (parse): only ignore spaces and not any stupid
13313 control character. This avoids tests like s[i] <= ' ', which are
13314 guaranteed to fail with 8bit characters and signed chars.
13315 Change return code to string::npos when there have been no error
13316 (0 was a bad idea when error is at first character)
13318 2001-11-14 José Matos <jamatos@fep.up.pt>
13321 * buffer.C (simpleDocBookOnePar): removed unused argument.
13323 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13325 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13326 insets which are part of a word. Paragraph::isLetter takes care of
13327 that now. Use Paragraph::isInset to identify insets.
13328 (selectSelectedWord): do not test for hyphenation break.
13330 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13331 that protected spaces are considered as spaces.
13333 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13336 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13339 * lyxserver.C: fix it. and small cleanup.
13341 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13343 * BufferView_pimpl.C: use inline helpers
13346 * LaTeXFeatures.C: fix typos
13349 * Spacing.C: move spacing_string into class
13351 * ToolbarDefaults.C: move stuff into namespace anon
13353 * layout.h: update enum
13355 * lyxfunc.C: use better debug
13357 * minibuffer.h: fix typo
13361 * WorkArea.C: add and use Debug::WORKAREA
13365 * text2.C: code re-organisation, inline helpers
13367 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13369 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13370 std::vector.empty().
13372 2001-11-09 Allan Rae <rae@lyx.org>
13374 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13375 '\n's after tables. Tabular and ERT inset work now makes this no
13378 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13381 * minibuffer.C: fix crash, improve drop-down completion
13383 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13386 * lyxserver.C: invalidate fd's when doing endPipe()
13388 2001-11-08 José Matos <jamatos@fep.up.pt>
13390 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13391 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13394 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13396 2001-11-07 José Matos <jamatos@fep.up.pt>
13399 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13402 * buffer.C (sgmlOpenTag):
13403 * buffer.C (sgmlCloseTag): removed debug info.
13405 * buffer.h (sgmlOpenTag):
13406 * buffer.h (sgmlCloseTag): made public.
13408 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * buffer.C (saveParamsAsDefaults):
13411 * lyx_cb.C (MenuLayoutSave): remove
13413 * LyXAction.C (init):
13415 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13417 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * buffer.C (setPaperStuff): removed from here...
13421 * bufferparams.C (setPaperStuff): ... and moved there.
13423 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13427 * XFormsView.C: add support for drop-down completion
13429 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13431 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13434 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13439 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13441 * lyx_main.C: change ref to known bugs
13443 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13445 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13446 to work around older babel problems.
13448 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13450 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13452 2001-10-24 Juergen Vigna <jug@sad.it>
13454 * tabular-old.C (ReadOld): below variable changes reflected.
13456 * tabular.[Ch]: added ltType struct for longtable header/footer
13457 defines and changed all instances where they are used. Added
13458 future support for double top/bottom rows.
13460 2001-10-24 José Matos <jamatos@fep.up.pt>
13462 * buffer.h (docbookHandleCaption):
13463 * buffer.C (docbookHandleCaption): removed unused function.
13464 (makeDocBookFile): moved docbook supported version to v4.1.
13466 2001-10-24 José Matos <jamatos@fep.up.pt>
13469 * tabular.C (docbookRow): new function to export docbook code of a row.
13470 (DocBook): now honors the longtable flags.
13472 2001-10-23 José Matos <jamatos@fep.up.pt>
13475 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13476 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13478 * buffer.C (makeLinuxDocFile):
13479 (makeDocBookFile): reworked the preamble, more clean, and with
13480 support for lyx defined entities. Changed the document declaration
13481 to be more XML friendly.
13483 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13484 if we need to output XML that should be done with a filter.
13486 2001-10-22 Juergen Vigna <jug@sad.it>
13488 * sp_pspell.h (class PSpell): add alive function needed in the
13489 controller to see if the spellchecker could be started.
13491 2001-10-22 Juergen Vigna <jug@sad.it>
13493 * buffer.C (insertStringAsLines): modify the font for inserting
13494 chars in certain conditions by calling checkInsertChar(font).
13496 2001-10-19 Juergen Vigna <jug@sad.it>
13498 * text.C (workWidth): use getRow instead of wrong algorithm.
13499 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13501 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13506 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13508 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * text.C (workWidth): do not search for the exact row when
13511 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13512 optimization for big documents.
13514 2001-10-18 Juergen Vigna <jug@sad.it>
13516 * text.C (workWidth): new function with added Inset * parameter.
13518 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13520 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13522 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13523 change return type of getColumnNearX.
13526 * text.C (changeRegionCase): use uppercase/lowercase instead of
13529 (rightMargin): simplify code by factoring out the uses of
13534 (appendParagraph): use Paragraph::size_type
13536 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13538 * vspace.C (asLatexString): add a missing break
13540 2001-10-15 Herbert Voss <voss@perce.de>
13542 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13544 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13549 2001-10-10 André Pönitz <poenitz@gmx.net>
13551 * lyxfunc.C: removed greek_kb_flag.
13553 2001-10-10 Herbert Voss <voss@perce.de>
13555 * lyx_main.C: delete global string help_lyxdir.
13557 2001-10-09 Herbert Voss <voss@perce.de>
13559 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13561 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13563 * lyx_main.C: added global string help_lyxdir.
13565 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13567 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13569 * lyxrc.C (set_font_norm_type): support iso8859-4
13571 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13573 * LaTeX.C (deplog): add another regex for MikTeX
13575 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13577 * lyxrc.C (set_font_norm_type): support iso8859-3
13579 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13581 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13583 * LaTeXFeatures.C: remove special case of french and index
13585 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13586 before \begin{document}). This solves several incompatibilities.
13588 2001-10-03 Garst Reese <reese@isn.net>
13590 * lyx_cb.C: change CheckTex error msg.
13592 2001-10-03 José Matos <jamatos@fep.up.pt>
13594 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13596 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * .cvsignore: update
13600 * lyx_main.C (commandLineVersionInfo): use new style version info.
13602 * buffer.C (writeFile):
13604 (makeLinuxDocFile):
13605 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13607 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13609 * version.h: update to use stuff in version.C
13611 * version.C.in: new file. Contains version information determined
13612 at compile time. This is a merging of version.h and
13615 2001-10-03 Juergen Vigna <jug@sad.it>
13617 * BufferView_pimpl.C (update): don't change "dirty" status in
13620 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13622 * WorkArea.C (c-tor): re-position version string slightly.
13624 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13626 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13627 revert to previous code.
13629 WorkArea.[Ch]: (show, destroySplash): methods removed.
13631 WorkArea.C: rework code so that it's an amalgam of the codes before and
13632 after the splash screen was moved to WorkArea.
13634 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * vspace.C (inPixels):
13640 * buffer.C (insertStringAsLines):
13641 (asciiParagraph): fix types to be large enough
13643 * lyxlex_pimpl.h: change member status from short to int
13645 * layout.h: fix type of endlabeltype
13648 * kbsequence.C (parse): change return type to string::size_type
13650 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13653 * Bullet.C (bulletSize):
13654 (bulletEntry): do not use short ints as parameters
13656 * BufferView2.C (insertLyXFile): change a char to an int.
13658 * WorkArea.C (WorkArea): remove unneeded floats in computation
13660 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13662 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13664 * paragraph.C (asString): Do not ignore newline/hfill chars when
13665 copying to the clipboard.
13667 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13669 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13670 after a multi-line inset.
13672 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13674 * paragraph.C (validate): Set NeedLyXFootnoteCode
13676 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13678 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13679 and decrease-error to decrease.
13681 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13684 it more readable (should be equivalent)
13686 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13688 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13690 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13693 of a cursor (row, etc.) after a character has been deleted
13694 (deleteEmptyParagraphMechanism): call the method above on _all_
13695 cursors held by the LyXText when a double space has been
13698 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13700 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13702 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13704 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13705 background. Use greyOut() and the new show() methods to toggle between
13706 the foreground and background. Add code to remove the splash after
13707 its initial showing.
13709 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13710 (create_forms): no longer call Dialogs::showSplash.
13712 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13714 * .cvsignore: add version_info.h
13716 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13718 * version_info.h.in: new file
13720 * Makefile.am: add version_info.h.in
13722 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13723 version_info.h instead of VERSION_INFO
13725 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13727 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13728 The ERT inset now returns string().
13730 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13732 * lyxtext.h, text.C (selectNextWord): renamed as
13733 selectNextWordToSpellcheck.
13735 * text.C (selectNextWordToSpellcheck): Modified to not select
13736 words inside an ERT inset.
13738 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * lyx_cb.C (MenuLayoutSave): change a bit the question
13742 * sp_base.h: include <sys/types.h>
13744 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13746 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13748 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13750 * several files: fix typos in user-visible strings
13752 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13754 * text2.C (pasteSelection): do not set the selection, since it
13755 will be cleared later. Actually, the intent was to fix the way the
13756 selection was set, but I figured rmoving the code was just as good.
13758 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13760 * FontLoader.C (available): Check if font is available without
13763 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13765 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13767 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13769 * lyxrc.[Ch]: added display_graphics variable and associated code.
13771 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13773 * bufferparams.C (hasClassDefaults): new method. Returns true if
13774 the buffer parameters correspond to known class defaults
13776 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13778 * XFormsView.C (show): set minimum size to the main window.
13780 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * text2.C (copySelection):
13784 * lyxfind.C (LyXReplace):
13785 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13786 LyXText::selectionAsString.
13788 * paragraph.C (asString): add "label" argument to the second form
13790 * text2.C (selectionAsString): add "label" argument and pass it to
13791 Paragraph::asString.
13793 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * lyx_main.C (commandLineHelp): remove version information
13797 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13799 * lyx_main.C: add -version commandline option
13801 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * paragraph.h: make the optional constructor arg required instead.
13804 some modifications to other files because of this.
13806 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13808 * lyxserver.C (C_LyXComm_callback): make it static
13810 * lyx_main.C (error_handler): make it static
13812 * lyx_gui.C (LyX_XErrHandler): make it static
13814 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13816 * WorkArea.C: make the extern "C" methods static.
13818 * Makefile.am (lyx_LDADD): simplify
13820 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13822 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13823 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13825 * LyXAction.C (init):
13826 * lyxfunc.C (dispatch): associated code removal.
13828 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * lyxfont.h (isSymbolFont): shut off warning
13832 * text.C (setHeightOfRow):
13833 (getVisibleRow): fix crash with empty paragraphs which have a
13836 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13838 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13841 2001-09-04 José Matos <jamatos@fep.up.pt>
13844 * tabular.C (docbook): rename docBook method to docbook.
13846 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13848 * Makefile.am: add dependencies to main.o.
13850 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13852 * FontLoader.C (available): Return false if !lyxrc.use_gui
13854 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13856 * FontInfo.C (query):
13857 * converter.C (view):
13858 * importer.C (Import):
13859 * exporter.C (Export): Can not -> cannot.
13861 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13863 * BufferView_pimpl.C: allow to create index inset even if
13866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13868 * buffer.C (getLists): replace boost::tie code with an explicit pair
13869 as boost::tie can break some compilers.
13871 * iterators.h: Added a std:: declaration to the return type of
13874 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13876 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13879 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13881 * iterators.[Ch]: New files. Provide paragraph iterators.
13883 * buffer.C (changeLanguage): Use paragraph iterators.
13884 (isMultiLingual): ditto
13886 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13888 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13890 * FontLoader.C: Support for cmr font.
13892 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13894 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13895 (available): New method.
13897 * FontInfo.C (getFontname): Use scalable fonts even when
13898 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13901 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13903 * converter.C (Formats::view): reverted! Incorrect fix.
13905 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13907 * converter.C (Formats::view): only output the -paper option
13908 if the dvi viewer is xdvi, thereby fixing bug #233429.
13910 2001-08-23 Herbert Voss <voss@perce>
13912 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13914 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13916 * Spacing.h (Spacing): Set space to Default on in the default
13919 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * vc-backend.h (RCS::versionString): add RCS to version
13922 (CVS::versionString): add CVS to version
13924 * vc-backend.C (scanMaster): do not add CVS to version.
13925 (scanMaster): do not add RCS to version
13927 * lyxvc.C (versionString): new method
13929 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13931 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13933 * Spacing.C (set): initialize fval
13935 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13937 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13940 2001-08-16 Juergen Vigna <jug@sad.it>
13942 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13944 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13946 * BufferView_pimpl.C:
13949 * text2.C: setParagraph takes linespacing now
13951 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13953 * LyxAction.C: add internal LFUN_CITATION_INSERT
13955 * LyXView.C: actually apply fix
13957 * bufferlist.C: fix open non-existent file
13959 * lyxfind.C: fix indentation
13961 * lyxfunc.C: remove unneeded assert, fix typo
13963 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13965 * MenuBackend.C: use "Floatname List"
13967 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13969 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13970 when converting LaTeX layout to insetERT.
13971 Generate a non-collapsed float when reading old float
13973 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13975 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13978 2001-08-13 Juergen Vigna <jug@sad.it>
13980 * text.C (fill): return 0 instead of 20 as this seems to be the more
13983 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13985 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13988 2001-08-13 Juergen Vigna <jug@sad.it>
13990 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13992 (SearchBackward): comment out the unlocking of the inset_owner this
13993 should not be needed!
13995 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13997 * Many files: Remove inherit_language, and add latex_language
13999 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14000 collapsible insets.
14002 2001-08-10 Juergen Vigna <jug@sad.it>
14004 * text.C (prepareToPrint): fixed hfill-width in draw!
14006 * BufferView2.C (selectLastWord): save the selection cursor as this
14007 now is cleared in the function LyXText::clearSelection!
14009 2001-08-08 Juergen Vigna <jug@sad.it>
14011 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14012 BACKSPACE type functions.
14014 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14015 is only cutted from the document but not put in the cut-buffer, where
14016 still the old stuff should be.
14018 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14020 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14022 * tabular.C (SetWidthOfCell): fixed special case where the width
14024 (LeftLine): handle '|' in align_special.
14026 (LeftAlreadyDrawed): ditto
14027 (SetWidthOfCell): ditto
14029 2001-08-07 Juergen Vigna <jug@sad.it>
14031 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14033 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14035 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14036 * lyxlex.[hC]: ditto
14038 2001-08-06 Juergen Vigna <jug@sad.it>
14040 * text.C (getVisibleRow): fix up row clearing a bit.
14042 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * minibuffer.C: make sure the X server sees the changes in the input.
14046 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * paragraph.C (getFont): split into...
14049 (getLabelFont): this
14050 (getLayoutFont): and this
14051 * paragraph_pimpl.C (realizeFont): calling this
14053 * text2.C (getFont): split into...
14054 (getLayoutFont): this
14055 (getLabelFont): and this
14056 (realizeFont): all three calling this
14058 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14061 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14063 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14065 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14067 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14068 layouts from the Quote inset insertion.
14070 2001-08-03 Juergen Vigna <jug@sad.it>
14072 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14074 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14075 only if status not is already CHANGED_IN_DRAW (second level).
14077 * text.C (draw): don't set the need_break_row when inside an
14080 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * buffer.C (parseSingleLyXformat2Token): handle more latex
14085 * bufferview_funcs.[hC]: change function names to
14086 begin with small char, adjust other files.
14088 2001-08-02 André Pönitz <poenitz@gmx.net>
14091 BufferView_pimpl.C: remove broken special code for math-greek
14093 2001-08-02 Juergen Vigna <jug@sad.it>
14095 * BufferView_pimpl.C (update): redone this function so that we
14096 update the text again if there was a CHANGE_IN_DRAW.
14098 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14099 (drawFromTo): added a new internal bool which is used by draw() and
14101 (general): some cursor drawing problems fixed.
14103 2001-08-01 Juergen Vigna <jug@sad.it>
14105 * lyxfind.C (LyXFind): fixed
14106 (SearchForward): ditto
14107 (SearchBackward): ditto
14109 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14110 spurius drawing of the cursor in the main area.
14112 * text2.C (status): small fix which could lead to a segfault!
14113 (clearSelection): remove unneeded BufferView param.
14115 2001-08-01 André Pönitz <poenitz@gmx.net>
14117 * lyxfunc.C: small change due to changed mathed interface
14119 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14121 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14123 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14125 * lyxfunc.c: fail gracefully if file doesn't exist
14130 * BufferView_pimpl.C: IsDirWriteable() proto changed
14132 * LyXView.C: fix updateWindowTitle() to store the last title
14134 2001-07-31 Juergen Vigna <jug@sad.it>
14136 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14137 the font (wrong since using of Paragraph::highestFontInRange).
14139 * paragraph.C (highestFontInRange): added a default_size parameter.
14141 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14142 (setHeightOfRow): reformat
14144 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14146 * converter.[hC] + affected files: move to (inital-char)lowercase
14149 * ParagraphParameters.C (ParagraphParameters): remove commented code
14151 * PainterBase.[Ch]: remove commented code
14153 * LaTeXFeatures.h: add "bool floats" for float.sty
14155 * LaTeXFeatures.C (LaTeXFeatures): init floats
14156 (require): handle float
14157 (getPackages): do it with floats
14159 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * BufferView_pimpl.C (Dispatch): improve handling of
14162 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14164 * commandtags.h: #include lyxfont.h here temporarily to avoid
14167 * bufferlist.h: include LString.h here.
14169 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14171 * text2.C (getStringToIndex): new method.
14173 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14175 * *: Reduced header file dependencies all over.
14177 2001-07-30 Baruch Even <baruch@lyx.org>
14179 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14181 2001-07-29 Baruch Even <baruch@lyx.org>
14183 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14185 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14187 * ParameterStruct.h (endif): add a default constructor to make
14188 sure that all variables is initialized.
14190 * ParagraphParameters.C (ParagraphParameters): adjust
14192 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14194 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14195 index; also, check that there is something to index, and that it
14196 does not span over several paragraphs.
14197 (doubleClick): use WHOLE_WORD_STRICT for double click.
14199 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14201 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14204 2001-07-26 Baruch Even <baruch@lyx.org>
14206 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14207 an InsetFig figure, backwards compatible reading of old figure code.
14209 2001-07-27 Juergen Vigna <jug@sad.it>
14211 * text2.C: font.realize function adaption.
14213 * text.C (draw): add a warnings lyxerr text if needed.
14215 * layout.C: font.realize function adaption.
14217 * language.C: add inherit_language and implement it's handlings
14219 * bufferview_funcs.C (StyleReset): remove language parameter from
14220 font creation (should be language_inherit now).
14222 * bufferparams.C (writeFile): handle ignore_language.
14224 * paragraph.C (getFontSettings): the language has to be resolved
14225 otherwise we have problems in LyXFont!
14227 * lyxfont.C (lyxWriteChanges): added document_language parameter
14228 (update): removed unneeded language parameter
14230 * paragraph.C (validate): fixed wrong output of color-package when
14231 using interface colors for certain fonts in certain environments,
14232 which should not seen as that on the final output.
14234 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14236 * BufferView_pimpl.C:
14241 * LyXAction.C: add thesaurus support
14244 * lyxfind.C: add "once" parameter, for thesaurus, to not
14245 move to the next match
14247 2001-07-26 Juergen Vigna <jug@sad.it>
14249 * lyxfont.C (realize): honor ignore_language too!
14252 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14254 * text.C (draw): one place more for ignore_language to not draw
14257 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14259 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14261 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14264 the minipage conversion problem.
14266 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14268 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14271 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14273 * BufferView.h: don't forward declare WorkArea
14275 * BufferView.C: don't include WorkArea.h
14277 2001-07-25 André Pönitz <poenitz@gmx.net>
14281 * lyxfunc.C: new LFUN 'math-space'
14283 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14285 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * text2.C (toggleInset): call open/close
14289 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * lyxfunc.C (dispatch): add debug for the disabled case
14293 * font.C (buttonText): make similar to rectText
14295 * buffer.C (readInset): comment out parsing of insetlist and
14298 * PainterBase.C (rectText): small correction
14300 * BufferView_pimpl.C: comment out insettheorem and insetlist
14301 * LyXAction.C: ditto
14302 * commandtags.h: ditto
14304 2001-07-24 Juergen Vigna <jug@sad.it>
14306 * text.C (draw): honor the ignore_language.
14308 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14310 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14315 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14317 * lyxtext.h: remove unused (and unimplemented) methods
14319 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14321 * text.C (getVisibleRow): honor background color
14324 * Painter.h: remove default color argument for fillRectangle
14326 * text.C (backgroundColor): new method
14328 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14330 * text.C (getVisibleRow): adjust
14332 * font.[Ch] (rectText): new method, metrics
14333 (buttonText): new method, metrics
14335 * PainterBase.[hC]: make rectText and buttonText always draw and take
14338 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14340 * ToolbarDefaults.C (read):
14341 * MenuBackend.C (read): allow escaping in all strings
14343 * BufferView_pimpl.C (insertAndEditInset): new method.
14344 (Dispatch): use insertAndEditInset whenever appropriate.
14346 * BufferView_pimpl.C (insertNote): removed
14348 * BufferView_pimpl.C (smartQuote): new method, moved from
14349 BufferView; if an insetquote cannot be inserted, insert a '"'
14352 * BufferView2.C: remove insertCorrectQuote();
14354 * lyxfunc.C (getStatus): Add support for all remaingin
14355 inset-insert lfuns.
14357 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14359 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14360 command (necessary to pass " as parameter of self-insert.
14362 * text.C (selectWordWhenUnderCursor):
14363 (selectWord): add word_location parameter
14364 (selectWordWhenUnderCursor): same + remove special code for word
14366 (selectNextWord): use kind() to guess type of insetspecialchar,
14369 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14370 (insertErtContents): create ert insets as collapsed.
14371 (readInset): better compatibility code for Info inset.
14373 2001-07-20 Juergen Vigna <jug@sad.it>
14375 * lyxfunc.C (dispatch): use always LyXFind now!
14377 * text2.C (init): add a reinit flag so that the LyXText can be
14378 reinited instead of deleted and reallocated (used in InsetText).
14380 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14386 2001-07-18 Juergen Vigna <jug@sad.it>
14388 * text.C (selectNextWord): handle insets inside inset by calling
14389 always the bv->text functions so that we can go up the_locking_inset!
14391 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14392 in strange locations when inside an inset!
14394 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14395 handling to include insets.
14397 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14399 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * LyXAction.C (init):
14403 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14404 LIGATURE_BREAK, since the name is so stupid.
14406 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14408 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14411 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14413 * sp_form.[Ch]: remove.
14415 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14417 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14420 * src/buffer.C (readInset): ditto.
14422 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14424 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14425 menuSeparator(), endOfSentenceDot(), ldots() and
14426 hyphenationPoint(), which are therefore removed.
14427 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14429 * LyXAction.C (init):
14430 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14432 * paragraph.C (getWord): removed.
14434 * BufferView_pimpl.C (Dispatch): use last word or selection for
14435 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14437 * lyx_main.C (queryUserLyXDir): do not ask before creating
14438 user_dir, except if it has been named explicitely.
14440 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14442 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14443 a document of zero size.
14445 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14447 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14448 approriately in the c-tor and in require().
14449 (getPackages): output the appropriate LaTeX for natbib support.
14451 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14452 variables "use_natbib" and "use_numerical_citations" when reading the
14454 (readInset): read the various natbib cite commands.
14455 (validate): white-space change.
14457 * bufferparams.[Ch]: new variables "bool use_natbib" and
14458 "bool use_numerical_citations".
14459 (writeFile): output them in the LyX file.
14461 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14463 * lyxfunc.C (getStatus): add support for all the inset insertion
14466 * text2.C (insertInset):
14467 * paragraph.C (insetAllowed):
14468 * BufferView_pimpl.C (insertInset): update to take in account the
14469 renaming of insertInsetAllowed
14471 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14473 * text2.C (getInset): new method. returns inset at cursor position.
14475 * BufferView_pimpl.C (Dispatch): changes because of this.
14477 * LyXAction.C (init): rename open-stuff to inset-toggle.
14479 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14481 * text2.C (toggleInset): renamed from openStuff; use
14484 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14486 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14488 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14490 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14492 * buffer.C (readLyXformat2): Add filename to the error dialog
14494 2001-07-18 Juergen Vigna <jug@sad.it>
14496 * tabular.C (GetCellNumber): put an assert here instead of the check!
14498 2001-07-17 Juergen Vigna <jug@sad.it>
14500 * BufferView_pimpl.C (toggleSelection): adapted too.
14502 * text.C (selectNextWord): adapted for use with insets.
14503 (selectSelectedWord): ditto
14505 2001-07-17 Juergen Vigna <jug@sad.it>
14507 * sp_spell.C (PSpell): fix initialitation order.
14509 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14511 * paragraph.C: spacing
14513 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14515 * sp_spell.C: repair language selection for pspell
14517 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * lyxfunc.h: change more methods to begin with lower char.
14521 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14523 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14524 for unknown layouts.
14526 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14528 * buffer.C (readLyXformat2): Generate an error dialog if there are
14531 2001-07-16 Juergen Vigna <jug@sad.it>
14533 * sp_spell.C: always compile ISpell part.
14535 * lyxrc.C: added use_pspell entry and it's handling.
14537 2001-07-13 Juergen Vigna <jug@sad.it>
14539 * sp_spell.C: removed double includes.
14541 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14543 Consistent use of Lsstream.h:
14544 * Lsstream.h: added using std::stringstream for consistencies sake.
14546 * buffer.C: removed using std::stringstream
14548 * lyxfont.C (stateText):
14549 * paragraph.C (asString):
14550 * text.C (selectNextWord, selectSelectedWord):
14551 * text2.C (setCounter):
14552 * vspace.C (asString, asLatexString):
14553 std::ostringstream -> ostringstream.
14555 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14557 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14558 * commandtags.h: add LFUN_HELP_ABOUTLYX
14559 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14561 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14563 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14565 * lyx_gui_misc.C: remove spellchecker
14566 * lyxfunc.C: showSpellchecker
14568 * sp_ispell.h: added
14569 * sp_pspell.h: added
14570 * sp_spell.C: added
14571 * sp_form.[Ch]: removed
14572 * spellchecker.[Ch]: removed
14574 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14576 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14578 (simpleTeXSpecialChars): Simply print the input character without
14579 any special translation if pass_thru is set.
14581 * layout.h: Added bool pass_thru to layout class for being able to
14582 implement pass through of a paragraph for Literate Programming.
14584 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14585 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14586 * layout.C (Read): add "passthru" to list of layout tags and add
14587 code to set the pass_thru boolean when it is read.
14589 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * trans_decl.h: remove allowed from KmodInfo
14593 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14594 remove allowed code
14597 * paragraph_pimpl.C (erase): use boost::prior
14599 * Painter.C (text): use data() instead of c_str() when length is
14601 * WorkArea.C (putClipboard): ditto
14602 * font.h (width): ditto
14604 * BufferView2.C: use it-> instead of (*it). for iterators
14606 * paragraph_pimpl.C: ditto
14607 * paragraph.C: ditto
14608 * minibuffer.C: ditto
14609 * language.C: ditto
14611 * encoding.C: ditto
14612 * counters.C: ditto
14613 * converter.C: ditto
14615 * Variables.C: ditto
14616 * TextCache.C: ditto
14617 * MenuBackend.C: ditto
14618 * LyXAction.C: ditto
14620 * FloatList.C: ditto
14621 * DepTable.C: ditto
14622 * ColorHandler.C (LyXColorHandler): ditto
14624 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14626 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14628 * text2.C (openStuff): reintroduce this method (which had been
14629 nuked in NEW_INSETS frenzy).
14631 * lyxfunc.C (Dispatch): when an action has not been handled, use
14632 its name in the error message, not its number.
14634 * paragraph.C (inInset): change method name to begin with lowercase.
14637 * text2.C: updates because of this.
14639 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * ToolbarDefaults.C (add): add spaces in error message
14643 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14646 (readLyXformat2): rename return_par to first_par, use lyxlex's
14647 pushToken and remove the manual push handling.
14648 (parseSingleLyXformat2Token): add another ert comp. variable:
14649 in_tabular, rename return_par to first_par. handle newlines better
14651 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14655 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * text2.C (getParFromID): removed
14659 * buffer.C (getParFromID): new method moved form lyxtext.
14660 * BufferView2.C (insertErrors): adjust
14661 (setCursorFromRow): adjust
14662 * BufferView_pimpl.C (restorePosition): adjust
14663 * lyxfunc.C (Dispatch): adjust
14664 * undo_funcs.C (textUndo): adjust
14666 (textHandleUndo): adjust
14667 (textHandleUndo): adjust
14669 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14671 * buffer.C: up' the LYX_FORMAT
14673 * lyxfont.h: turn NO_LATEX on as default
14675 * buffer.C (insertErtContents): new methods of tex style compability.
14676 (parseSingleLyXformat2Token): use it several places.
14677 * tabular.C (OldFormatRead): and here
14679 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * text2.C: remove some commented code.
14684 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14685 * trans.C: changes because of the above.
14687 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14689 * text2.C (setCounter): Fix counters bug with bibliography layout.
14691 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14693 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14694 own member functions
14695 (simpleTeXSpecialChars): ditto
14697 2001-07-06 Juergen Vigna <jug@sad.it>
14699 * a lot of files: changed the access to LyXText::status and the
14700 call of undo-functions.
14702 * undo.[Ch]: added a inset_id to the undo informations.
14704 * undo_funcs.[Ch]: added and moved here all undo functions.
14706 * lyxtext.h: give the status enum a weight, made status_ a private
14707 variable and made accessor functions for it, removed the whole bunch
14708 of undo-functions as they are now in their own file, make some
14709 functions publically available. Added function ownerParagraph with
14712 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14713 made InInset() a const function, added getParFromID() function.
14715 * buffer.[Ch]: added const version for inset_iterator functions,
14716 added getInsetFromID() function.
14718 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14719 changed undo functions for new version.
14721 2001-07-05 Juergen Vigna <jug@sad.it>
14723 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14724 unknow mechanism does not call the proper constructor but only this
14725 one also if I request the other!?
14727 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14731 * text2.C (LyXText): use initialization lists.
14733 * lyxtext.h (Selection): initialize set_ and mark_
14734 (init): remove method
14736 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14738 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14740 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14742 * screen.[Ch]: change method names to begin with lowercase
14744 * BufferView_pimpl.C (updateScrollbar): simplify further and
14745 hopefully make it a bit faster.
14747 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14750 calling directly xforms functions.
14752 * Painter.C (Painter):
14753 * lyx_cb.C (MenuWrite):
14754 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14757 * lyx_gui.C: remove bogus guiruntime extern declaration.
14759 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14761 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14763 (redoDrawingOfParagraph): ditto
14764 (redoParagraphs): ditto
14765 (cutSelection): don't create a object for CutAndPaste use the
14766 static method directly
14767 (pasteSelection): ditto
14769 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14772 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * modifications to some other files because of this.
14776 * Makefile.am (lyx_SOURCES): add XFormsView
14778 * XFormsView.[Ch]: new files
14780 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14781 the main window. Move the gui dependent stuff to XFormsView
14783 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14785 * tabular.C (GetCellInset): update cur_cell also in the row/col
14786 version of this function.
14788 * lyxfunc.C: no need to include figure_form.h here.
14794 * lyxvc.C: no need to include forms.h here.
14796 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14800 * lyxfunc.C (Dispatch):
14802 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14803 constructor argument.
14805 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * paragraph.C (Paragraph): dont't clear, and just set layout.
14808 (makeSameLayout): use params's copy contructor.
14810 * ParagraphParameters.[Ch] (makeSame): delete method
14812 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14814 * Variables.[Ch]: fix indentation, rename set to isSet
14816 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * lyxfunc.C (Dispatch): fix typo
14820 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14825 * bufferlist.C: include assert.h for emergencyWrite().
14827 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14829 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14830 give up at last (bug #425202) !
14832 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14838 * spellchecker.C: strip spellchecker options and bring up
14839 preferences tab instead
14841 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14844 the istringstream constructor
14846 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * paragraph.C (getLayout): fix return value
14850 * paragraph.h: do not declare getLayout as inline.
14852 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14854 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * lyxcursor.h (operator<): new func
14857 (operator>): new func
14858 (operator>=): new func
14859 (operator<=): new func
14861 * text.C (changeCase): use selection.start and selection.end
14862 (changeRegionCase): require from to be <= to. Require par to be a
14865 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14867 2001-06-27 Juergen Vigna <jug@sad.it>
14869 * text.C (cursorLeftOneWord): changed to return the cursor and added
14870 overlay with BufferView * parameter which calls this one.
14872 (selectWord): use new getWord function.
14873 (changeCase): renamed from changeWordCase as and extended to work
14874 also on selections.
14876 * lyxtext.h: added enum word_location
14878 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14879 changeCase as this operates now also on selections.
14881 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14883 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14885 * many files: send debug output to Debug::INFO instead of
14888 * converter.C (View):
14890 (Move): send debug output to Debug::FILES instead of console.
14892 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14894 * lyxfunc.C (getStatus): use func_status
14896 * func_status.h: new header, describing the results of
14897 LyXFunc::getStatus;
14899 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14902 2001-06-25 The LyX Project <jug@sad.it>
14904 * buffer.C (sgmlOpenTag):
14906 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14908 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14910 * text2.C: remove some dead code
14912 * tabular.C (GetCellInset): store the last cell checked (gotten)
14914 * tabular.h: add the helper for the speedup
14916 * lyxtext.h: remove some dead code
14918 2001-06-26 The LyX Project <Asger>
14920 * paragraph.C: Change export to LaTeX of alignment to
14921 \begin{center} and family for better roundtrip work with reLyX.
14923 * Tune the math drawing a bit.
14925 2001-06-25 The LyX Project <Asger>
14927 * LColor.C (LColor): New color for math background. New color
14930 2001-06-25 The LyX Project <jug@sad.it>
14932 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14934 * lyxfunc.C (Open):
14935 * bufferlist.C (newFile): do not restrict to files ending with
14938 * BufferView_pimpl.C (MenuInsertLyXFile):
14940 2001-06-24 The LyX Project <jug@sad.it>
14942 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14945 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * lyxtext.h: rename most methods to begin with a small char.
14948 Lots of changes because of this.
14950 * paragraph.C (Paragraph): do not call fitToSize
14951 (erase): call Pimpl::erase
14952 (insertChar): call Pimpl::insertChar
14953 (insertInset): call Pipl::insertInset
14954 (breakParagraph): do not call fitToSize
14955 (breakParagraphConservative): do not call fitToSize
14956 (fitToSize): remove method
14958 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14960 2001-06-24 The LyX Project <Asger>
14962 * Fix Qt compilation^2
14964 2001-06-24 The LyX Project <jug@sad.it>
14966 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14967 depthHook(getDepth()-1).
14970 * ParagraphParameters.h:
14971 * ParameterStruct.h: change type of depth to unsigned int ==
14972 depth_type. Many adaptations to other files before of that.
14974 2001-06-24 The LyX Project <Asger>
14976 * Fix Qt compilation.
14978 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * paragraph.h: renamed several methods to begin with small letter.
14981 several changes to many parts of the code because of this.
14983 2001-06-23 The LyX Project <jug@sad.it>
14985 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14986 rewritten to discard all double spaces when KeepEmpty is off
14987 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14988 to only handle newlines but not fiddle with spaces and friends.
14990 * lyxfunc.C (MenuNew): when doing 'new from template', use
14991 template_path as default directory
14993 2001-06-23 The LyX Project <Asger>
14995 * Clean-up of header file includes all over
14996 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14998 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15000 * paragraph.h: renamed from lyxparagraph.h
15002 2001-06-23 Asger <lyx@violet.home.sad.it>
15004 * Buffer.h: Removed Buffer::resize
15005 * BufferList.h: Removed BufferList::resize
15006 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15007 the document lazily when we change the width, or the font settings.
15009 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15011 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15015 * buffer.h: remove out of date comment
15017 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15020 * screen.C: fix "theoretical" GC leak
15022 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15024 * LaTeX.C (scanAuxFile):
15025 (deplog): remove trailing \r when reading stream (useful under
15028 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15030 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15031 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15032 and BufferView::theLockingInset(Inset*), so should use them and not
15033 access bv_->text->the_locking_inset directly.
15035 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15037 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15040 * tex-defs.h: remove old unused file
15042 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15044 * BufferView_pimpl.C: fix typo, remove minibuffer message
15045 when buffer has loaded
15047 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15049 * lyxfunc.C (Dispatch): use stringstream
15050 (MenuNew): use stringstream
15051 (Open): use stringstream
15053 * importer.C (Import): use stringstream
15055 * bufferview_funcs.C (CurrentState): use stringstream
15057 * LaTeX.C (run): use stringstream
15059 * BufferView_pimpl.C (savePosition): use stringstream
15060 (restorePosition): use stringstream
15061 (MenuInsertLyXFile): use stringstream
15063 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15076 * vspace.C: removed // -*- C++ -*- as first line.
15079 * version.h: added // -*- C++ -*- as first line.
15081 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15083 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15085 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15088 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15093 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * gettext.C: include LString.h even when --disable-nls is on.
15097 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15099 * converter.h (Get): changed argument type from int to
15100 FormatList::size_type to avoid unnecessary conversion.
15102 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15105 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15107 * gettext.h: include LString.h even when --disable-nls is on.
15109 2001-06-07 Juergen Vigna <jug@sad.it>
15111 * text.C (BreakAgain): subst spaces with tabs.
15113 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15114 (resizeInsetsLyXText): set force on resizeLyXText.
15116 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15118 * gettext.h (gettext_init):
15119 (locale_init): use a real definition instead of a macro
15121 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15123 * Bufferview_pimpl.C:
15125 * LColor.C: further lcolor tidies
15127 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15129 * BufferView_pimpl.C (updateScrollbar): simplify.
15131 * BufferView2.C: don't include insets/insetinfo.h, change
15132 prototype for insertInset and call the Pimpl version. let
15133 updateInset call Pimpl version.
15135 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15136 gotoInset to BufferView::Pimpl
15138 2001-06-01 Juergen Vigna <jug@sad.it>
15140 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15141 inside a LockingInset (is the update needed at all?).
15143 2001-05-31 Juergen Vigna <jug@sad.it>
15145 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15146 here not the old one otherwise how should we compare it afterwards
15149 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * FontInfo.C: bring C functions into global namespace when
15157 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15159 * LString.h: make sure config.h has been loaded before LString.h.
15161 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15162 (one for each char read by EatLine!).
15164 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15167 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15169 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15170 to the same as the par we break from
15172 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15174 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15176 * MenuBackend.C (expand): also create menu entries for wide
15177 versions of the floats.
15179 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15181 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15183 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15184 frontends/Makefile.am
15190 * tabular.C (getTokenValue): add std::
15192 * tabular-old.C (getTokenValue): add std::
15193 (getTokenValue): ditto
15194 (getTokenValue): ditto
15196 * screen.C (ToggleSelection): adjust
15198 * lyxtext.h: put selection cursors inside a Selection struct.
15200 * lyxfunc.C (moveCursorUpdate): adjust
15202 * lyxfont.C (latexWriteStartChanges): add std::
15204 * lyxfind.C: adjust
15206 * font.h: delete with(char const *, LyXFont const &)
15208 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15210 * FontInfo.C (getFontname): add std::
15212 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15213 (workAreaButtonPress): adjust
15214 (tripleClick): adjust
15216 (moveCursorUpdate): adjust
15219 * BufferView2.C (gotoInset): adjust
15221 2001-05-30 Juergen Vigna <jug@sad.it>
15223 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15224 to check pspell I add this as default as I now have new pspell
15225 libraries and they seem to use this.
15227 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15229 * text2.C (CutSelection): make the cursor valid before the call to
15232 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15234 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15235 relied on 0 terminated strings and other horrors. Bug found due to
15236 the new assert in lyxstring!
15238 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15241 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15243 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15246 * lyxfunc.C (processKeySym): change method of getting to the
15249 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15250 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15251 * BufferView_pimpl.[Ch]: here as private methods.
15253 2001-05-28 Juergen Vigna <jug@sad.it>
15255 * text.C (SetHeightOfRow): added the update() call again as it is
15256 needed to initialize inset dimensions!
15258 2001-05-16 Juergen Vigna <jug@sad.it>
15260 * text2.C (SetCharFont): Add new function with BufferView * and
15261 bool toggleall parameters for setting insets internal fonts.
15262 (SetFont): Freeze the undo as we may change fonts in Insets and
15263 all this change should be inside only one Undo!
15265 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15266 setting font's in insets as for them we have the SetFont function!
15268 2001-05-15 Juergen Vigna <jug@sad.it>
15270 * text2.C (ClearSelection): to be sure we REALLY don't have any
15273 * tabular.C (TeXCellPreamble): fixed the left border problem for
15276 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15278 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15281 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15283 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15284 LFUN_BREAKPARAGRAPH.
15286 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15287 help test to "internal only", similar for LFUN_INSERT_URL
15289 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15290 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15291 auto_region_delete and deadkeys.
15293 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15296 * LColor.C: remove some dead entries, tidy a little
15298 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15300 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15302 (Dispatch): implement LFUN_ESCAPE
15304 * commandtags.h: add LFUN_ESCAPE
15306 * LyXAction.C (init): add entry for LFUN_ESCAPE
15308 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15309 Remove commented code.
15310 (insertNote): moved here
15311 (open_new_inset): moved here
15313 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15316 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * kbmap.C (findbinding): clean it up and make it work correctly.
15320 * lyx_main.C (init): do not pass argc and argv as parameters
15322 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15324 * buffer.C: fix path for OS/2 & Win32
15328 * lyx_main.C: Added os:: class.
15330 * os2_defines.h: update
15332 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15334 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15335 better by trying again with reduced state.
15337 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15339 * lyxrc.C (read): print error about invalid key sequence only when
15340 debugging (because not all latinX keysyms are known to some X
15343 * kbsequence.C (getiso): add a few std:: qualifiers
15344 (getiso): comment out extra return statement.
15346 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15348 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15350 (Dispatch): enhance the accent inset a bit. (not perfect)
15352 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15354 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15356 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * bufferlist.C (emergencyWrite): fix assert() call
15360 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15362 * text.C (InsertChar): Added trivial patch to only send the "you
15363 can not do multiple spaces this way" message once during a
15366 2001-05-08 Baruch Even <baruch@lyx.org>
15368 * Makefile.am: Changed order of libraries to get LyX to link properly
15369 with the gnome frontend.
15371 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * LaTeXFeatures.h: add a std:: qualifier
15375 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * paragraph.C (String): use stringstream
15379 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15381 * paragraph.C (writeFile): remove footflag arg
15383 * buffer.C (makeLaTeXFile): use stringstream
15384 (latexParagraphs): remove footnot gurba
15386 * LaTeXFeatures.C (getPackages): use stringstream
15387 (getMacros): likewise
15388 (getTClassPreamble): likewise
15389 (getFloatDefinitions): new method
15391 * paragraph.C (writeFile): reindent
15394 * WorkArea.h: revert the xpos + etc changes.
15396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15398 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15400 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15401 (pasteSelection): likewise
15402 * text2.C (CreateUndo): likewise
15404 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * minibuffer.C (peek_event): temporarily reduce the functionality
15407 of the minibuffer (to allow args on lfuns)
15409 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15410 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15412 * buffer.C (readInset): add compability reading of old float
15413 lists, add reading of new style float list.
15414 (readInset): avoid reevaluation of inscmd.getCmdName()
15415 (getLists): reindent
15417 * MenuBackend.C (MenuItem): implement parsing of
15418 md_floatlistinsert and md_floatinsert.
15419 (expand::LastFiles): move initalizaton of iterators out of loop,
15420 avoid reevaluation.
15421 (expand::Documents): introduce typdedef vector<string> Strings,
15423 (expand::ExportFormats): introduce typedef vector<Format const *>
15424 Formats, and use it.
15425 (expand): implement FloatListInsert and FloatInsert.
15427 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15428 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15429 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15431 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15433 (Dispatch::LFUN_FLOAT_LIST): implement
15435 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15437 * LaTeX.C (run): Fix problem with --export code.
15439 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15441 * BufferView.[Ch] (workarea): removed.
15442 (getClipboard) new method; wrapper for workarea()->getClipboard()
15444 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15447 * WorkArea.h (width, height, xpos, ypos): These methods all
15448 returned the dimensions of the work_area sub-area of WorkArea,
15449 resulting in a position error if the WorkArea were resized. Now
15450 return the dimensions of the entire WorkArea.
15452 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15454 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15456 * LaTeX.C (deplog): correct the syntax of regex reg1
15458 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15460 * undo.C: remove !NEW_INSETS cruft
15462 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15464 * text2.C: remove !NEW_INSETS cruft
15466 * text.C: remove !NEW_INSETS cruft
15468 * tabular.C: remove !NEW_INSETS cruft
15470 * spellchecker.C: remove !NEW_INSETS cruft
15472 * lyxtext.h: remove !NEW_INSETS cruft
15474 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15476 * lyxfunc.C: remove !NEW_INSETS cruft
15478 * lyxfind.C: remove !NEW_INSETS cruft
15480 * lyx_cb.C: remove !NEW_INSETS cruft
15482 * figureForm.C: remove !NEW_INSETS cruft
15484 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15486 * buffer.[Ch]: remove !NEW_INSETS cruft
15488 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15490 * CutAndPaste.C: remove !NEW_INSETS cruft
15492 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15494 * BufferView2.C: remove !NEW_INSETS cruft
15496 * BufferView.h: remove !NEW_INSETS cruft
15498 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * Lsstream.h: include LString.h before the sstream headers to
15501 fix problem with gcc 2.95.3 and lyxstring
15503 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * lyx_main.C: add using directives when needed for C functions
15506 declared in std:: namespace.
15508 2001-04-27 Juergen Vigna <jug@sad.it>
15510 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15511 (SetHeightOfRow): comment out the update call should not be needed!
15513 2001-04-13 Juergen Vigna <jug@sad.it>
15515 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15516 (LyXTabular): tried to minimize operator= operations (and realized
15517 hopfully Lars wish).
15519 2001-04-27 Juergen Vigna <jug@sad.it>
15521 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15523 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15525 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15527 * buffer.C (readInset): hack to make listof algorithm work
15529 * BufferView_pimpl.C: hack to make listof algorithm work
15531 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15533 * LyXAction.C: removed all !NEW_INSETS cruft
15534 (init): moved lfun_item in method
15536 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15538 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15540 * BufferView2.C (theLockingInset): white space.
15542 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * minibuffer.C: include <iostream>
15546 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15548 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15550 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15552 * text.[Ch] (TransposeChars): new method
15554 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15556 * call message directly through LyXView instead of through LyXFunc
15557 * BufferView2.C: adjust
15558 * BufferView_pimpl.C: adjust
15559 * FontLoader.C: adjust
15561 * bufferview_funcs.C: adjust
15562 * converter.C: adjust
15563 * figureForm.C: adjust
15564 * importer.C: adjust
15566 * lyx_gui_misc.C: adjust
15567 * lyxfunc.C: adjust
15570 + more files in subdirs
15572 * lyxparagraph.h (size): move up int file
15575 * adjust all uses of Assert to lyx::Assert.
15577 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15578 lyxfunctional in namespace lyx
15579 * layout.C (hasLayout): ditto
15582 (delete_layout): ditto
15583 (NumberOfClass): ditto
15584 * converter.C (GetFormat): ditto
15589 * bufferlist.C (getFileNames): ditto
15590 (emergencyWriteAll): ditto
15593 * MenuBackend.C (hasSubmenu): ditto
15596 * BufferView_pimpl.C (getInsetByCode): ditto
15598 2001-04-18 Juergen Vigna <jug@sad.it>
15600 * vspace.C (asLatexString): fixed the 100% problem.
15602 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * lyxfunc.C (Dispatch):
15606 * minibuffer.h: add a few std:: qualifiers
15608 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15610 * minibuffer.[Ch]: reimplement so that commands is initiated and
15611 run from lyxfunc, simplified som handling, and made the completion
15612 and history code for complete. wip.
15614 * lyxfunc.C (processKeySym): call message
15615 (miniDispatch): new temporary method
15616 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15617 (LFUN_MESSAGE): implement
15618 (LFUN_MESSAGE_PUSH): implement
15619 (LFUN_MESSAGE_POP): implement
15620 (initMiniBuffer): the initial/defualt minibuffer message.
15622 * lyxfont.[Ch]: inline some more getters
15624 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15626 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15628 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15629 (AutoSave): use LFUN_MESSAGE
15630 (Reconfigure): ditto
15632 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15634 * figureForm.C: use LFUN_MESSAGE
15636 * converter.C (runLaTeX): use LFUN_MESSAGE
15638 * bufferview_funcs.C: use LFUN_MESSAGE
15640 (changeDepth): ditto
15642 * bufferparams.h: use boost::
15644 * bufferlist.h: inherit privately from noncopyable
15646 * bufferlist.C (loadLyXFile): remove some commented code.
15648 * buffer.C (runChktex): use LFUN_MESSAGE
15650 * ShareContainer.h: inherit privately from noncopyable
15652 * ParagraphParameters.[hC] (depth): inline it.
15654 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15656 (message): new method
15657 (messagePush): ditto
15658 (messagePop): ditto
15659 (show): init minibuffer
15660 (showState): direct call
15662 * LaTeX.[Ch]: inherit privately from noncopyable
15663 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15664 instead of WriteStatus.
15666 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15668 * BufferView_pimpl.C (buffer): don't init minibuffer
15669 (workAreaButtonPress): use LFUN_MESSAGE
15670 (workAreaButtonRelease): ditto
15671 (savePosition): ditto
15672 (restorePosition): ditto
15673 (MenuInsertLyXFile): ditto
15674 (workAreaExpose): don't init minibuffer
15675 (update): remove commented code, simplify
15677 * BufferView2.C (openStuff): use LFUN_MESSAGE
15678 (toggleFloat): ditto
15681 (copyEnvironment): ditto
15682 (pasteEnvironment): ditto
15687 (updateInset): remove some commented code
15689 * lastfiles.h: inherit privately from noncopyable
15692 * lyx_main.h: ditto
15694 * lyxlex_pimpl.h: ditto
15696 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15697 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15698 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15700 * LyXAction.h: inherit privately from noncopyable, add methods
15701 func_begin, func_end, returning iterators to the func map.
15703 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15704 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15705 (func_begin): new method
15706 (func_end): new method
15708 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15710 (copySelection): ditto
15711 (pasteSelection): ditto
15713 * BufferView.C: whitespace change
15714 * BufferView.h: inherit privately from noncopyable
15716 2001-04-16 Allan Rae <rae@lyx.org>
15718 * tabular-old.C (l_getline):
15719 * spellchecker.C (sc_check_word):
15720 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15721 an unrecognised preprocessor directive. So ensure they're wrapped.
15723 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15725 * src/exporter.C (Export): Give an error message when path to file
15728 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15730 * LaTeX.C (deplog): Always check that foundfile exists.
15732 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15735 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15737 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15739 * tabular.[Ch] (getLabelList): implement new method
15741 * minibuffer.h: comment ouf setTiimer
15743 * minibuffer.C (ExecutingCB): constify res
15744 (peek_event): constify s
15745 (Set): constify ntext
15746 (Init): constify nicename
15748 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15750 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15751 (savePosition): use two params to Minibuffer::Set
15752 (restorePosition): ditto
15754 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * lyx_main.C: include language.h
15758 * Makefile.am (lyx_main.o): add language.h
15760 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * CutAndPaste.C: include gettext.h
15768 * lyxfont.h: remove old hack with ON and OFF.
15771 * lyxfont.h: do not include language.h...
15776 * bufferview_funcs.C:
15782 * paragraph.C: ... but do it here instead
15784 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15788 * tabular.C: small reformat
15790 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15793 (BreakParagraph): ditto
15794 (SetOnlyLayout): ditto
15797 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15800 * lastfiles.C: removed most using decl, add std:: where needed
15802 * buffer.C: ws changes
15804 * MenuBackend.C (class compare_format): put into anon namespace
15805 (expand): constify label, names, action, action2
15808 * text.C (SingleWidth): constify font
15809 (IsBoundary): constify rtl2
15810 (GetVisibleRow): constify ww
15812 * LaTeX.C (deplog): constify logfile
15814 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15816 (workAreaExpose): constify widthChange, heightChange
15818 * lyxrow.C (par): moved
15821 * lyxrow.h: as inlines here
15823 * lyxfont.h (shape): moved from lyxfont.C
15824 (emph): moved from lyxfont.C
15826 * lyxfont.C (LyXFont): use initialization list for all
15828 (shape): move to lyxfont.h as inline
15829 (emph): move to lyxfont.h as inline
15832 2001-04-04 Juergen Vigna <jug@sad.it>
15834 * vspace.C: had to include stdio.h for use of sscanf
15836 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15839 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15840 independent of xforms.
15842 2001-04-02 Juergen Vigna <jug@sad.it>
15844 * spellchecker.C: fixed namespace placing!
15846 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15848 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15849 the LyXParagraph * is 0.
15851 2001-03-29 Juergen Vigna <jug@sad.it>
15853 * vspace.C: added support for %, c%, p%, l%.
15854 (stringFromUnit): added helper function.
15855 (asLatexString): changed to give right results for the %-values.
15857 * buffer.C: convert the widthp in a width%.
15859 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15861 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15864 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15865 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15867 * lyx_cb.[Ch]: see above.
15869 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15873 * lyx.[Ch]: replaced by figure_form.[Ch].
15877 * lyxfunc.C: changed headers associated with above changes.
15879 2001-03-27 Juergen Vigna <jug@sad.it>
15881 * BufferView_pimpl.C: set the temporary cursor right!
15883 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15885 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15887 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15889 * LString.h: removed "using std::getline"!
15891 * BufferView_pimpl.C (Dispatch): changes due to changes in
15892 InsetInclude::Params.
15894 * buffer.C (tag_name): removed redundant break statements as they were
15895 producing lots of warnings with my compiler.
15897 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * LString.h: add "using std::getline" when using the real <string>.
15901 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15903 * buffer.C: removed bitset usage.
15904 PAR_TAG moved to an anonymous name space.
15905 (tag_name): new funtion, also in the anonymous namespace.
15906 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15907 (makeDocBookFile): clean code. Completed transition from string arrays
15909 (SimpleDocBookOnePar): code clean.
15911 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15913 * tabular.C: add some comments.
15915 2001-03-22 Juergen Vigna <jug@sad.it>
15917 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15918 compatibility read a bit and fixed bug with minipage in different
15921 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15923 * buffer.C (pop_tag): removed.
15924 (push_tag): removed.
15925 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15926 array replaced with vector. Added support for CDATA sections.
15927 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15929 (makeDocBookFile): XML conformant declaration of CDATA section,
15930 fixed bug related to <emphasis> in the first paragraph char.
15931 (sgmlOpenTag): exclude empty tags.
15932 (sgmlCloseTag): ditto.
15934 * buffer.h (pop_tag): removed.
15935 (push_tag): removed.
15937 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15939 * language.h (Languages): added size_type and size().
15941 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15943 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15944 response on compability reading of minipages. One probliem is that
15945 the old usage of minipages was «flertydig»
15947 * several files here and in subdirs: don't use static at file
15948 scope use anon namespaces instead.
15950 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15952 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15953 LaTeX output. This is necessary for Literate document
15956 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15958 * buffer.C: insert hfill when needed.
15960 * tabular.C (l_getline): use string::erase, small whitespace change.
15962 * BufferView_pimpl.C: try the anon namespace.
15963 * WorkArea.C: ditto
15965 2001-03-16 Juergen Vigna <jug@sad.it>
15967 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15968 otherwise it won't open options-dialogs.
15970 * buffer.C: honor pextraWidth(p) on converting minipages.
15972 * tabular.C (l_getline): changed the functions to strip trailing \r.
15974 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15976 * BufferView_pimpl.C:
15977 * minibuffer..C: added "using SigC::slot" declaration.
15979 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15981 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15987 * paragraph.C: ditto
15989 * lyxtext.h: NO_PEXTRA
15991 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15993 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15994 * ParameterStruct.h: ditto
15995 * ParagraphParameters.h: ditto
15996 * lyxparagraph.h: ditto
15998 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16000 * buffer.C: add compability for minipage alignment.
16001 (latexParagraphs): remove unwanted pextra check.
16003 * several files: remove CXX_WORKING_NAMESPACES
16005 * buffer.C (pop_tag): tie is in namespace boost
16007 * BufferView.h: noncopyable is in namespace boost
16009 * lyx_main.h: ditto
16012 * lastfiles.h: ditto
16013 * bufferlist.h: ditto
16014 * ShareContainer.h: ditto
16016 * LyXAction.h: ditto
16019 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16021 * Merging changes from BRANCH_MVC back into HEAD.
16023 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16025 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16027 * BufferView_pimpl.C: change from intl.C
16031 * Makefile.am: move combox.*
16037 * intl.C: remove dialog (covered by prefs)
16039 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16041 * lyxfunc.C (Dispatch): removed redundant break statement.
16043 2001-03-14 Juergen Vigna <jug@sad.it>
16045 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16047 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16049 * buffer.C: add hack to fix compability reading of minipages.
16051 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16053 * buffer.C (getLists): Cleanup.
16055 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16057 * lyxfont.C (update): don't honor toggleall on font size.
16059 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16063 * Makefile.am: moved to frontends/xforms/
16067 * BufferView_pimpl.C: changes for moved mathpanel
16069 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16071 * gettext.h: fix gettext_init() in --disable-nls
16073 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16075 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16077 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16080 * lyx.h: strip external form
16082 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16084 * BufferView_pimpl.C: add comment, destroySplash()
16086 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16088 * BufferView_pimpl.C:
16092 * lyxfunc.C: use re-worked insetinclude
16094 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16096 * buffer.C: add using std::stringstream.
16098 * lyx_cb.C: readd using std::ios.
16100 * buffer.C: add using std::map.
16102 * BufferView_pimpl.C: add using std::vector.
16104 * ShareContainer.h: add std:: to swap.
16106 * buffer.h: add some typedefs
16107 * buffer.C (getLists): use them
16108 (getLists): renamed from getTocList.
16109 add a counter for the different float types and use it in the
16111 (getLists): use the same counter for the NEW_INSETS and the "non"
16114 * lyx_cb.h: remove unused items, includes, using etc.
16116 * ShareContainer.h: remove some commented code, add more comments
16117 and "documentation".
16119 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16121 * buffer.C (getTocList): make the list also when NEW_INSETS is
16124 * buffer.h: remove TocType
16126 * buffer.C (getTocList): change to return a map<string,
16127 vector<TocItem> >, implement for dynamic number of list.
16129 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16130 * text2.C (PasteSelection): adjust
16131 * CutAndPaste.C (pasteSelection): adjust
16133 * FloatList.C (FloatList): update from the new_insets branch.
16134 * Floating.[Ch]: ditto
16135 * LaTeXFeatures.C: ditto
16137 * lyxlex_pimpl.C: ditto
16139 * paragraph.C (Last): remove when NEW_INSETS is defined.
16141 * other file: changes because of the above.
16143 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16145 * lyxparagraph.h: rename next to next_, previous to previous_,
16146 make them private for NEW_INSETS. Rename Next() to next(),
16147 Previous() to previous().
16149 * other files: changes because of the above.
16151 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16154 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16157 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16159 * main.C (main): pass lyx_localedir to gettext_init().
16161 * gettext.h: remove locale_init and gettext_init macros
16163 * gettext.C (locale_init): new function
16164 (gettext_init): new function
16166 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16169 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16171 * Moved credits to frontends:
16172 * credits.[Ch]: removed
16173 * credits_form.[Ch]: removed
16174 * lyx_gui_misc.C: remove credits stuff
16177 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16179 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16181 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16182 unneeded destructor.
16184 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16185 a standalone pointer again.
16187 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16189 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16195 * ToolbarDefaults.C:
16204 * BufferView_pimpl.C: use new file dialog in GUII
16207 * lyx_cb.C: remove LayoutsCB to Toolbar
16209 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * ShareContainer.h (get): add std:: qualifier
16213 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * ShareContainer.h: define a proper ShareContainer::value_type
16216 type (and use typename to please compaq cxx)
16218 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16220 * lyxparagraph.h: move serveral local vars to
16221 ParameterStruct/ParagraphParameters., use ShareContainer in
16222 FontTable., make vars in FontTable private and add getter and
16225 * paragraph.C: changes because of the above.
16227 * lyxfont.h: remove copy constructor and copy assignment. (the
16228 default ones is ok), move number inside FontBits. move inlines to
16231 * lyxfont.C: add number to initializaton of statics, move several
16232 inlines here. constify several local vars. some whitespace
16233 cleanup. Dont hide outerscope variables.
16235 * Spacing.h: add two new constructors to match the set methods.
16237 * ShareContainer.h: new file, will perhaps be moved to support
16239 * ParameterStruct.h: new file
16241 * ParagraphParameters.h: new file
16243 * ParagraphParameters.C: new file
16245 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16246 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16248 * BufferView_pimpl.C: ParagraphParameter changes.
16249 * buffer.C: Likewise.
16250 * bufferview_funcs.C: Likewise.
16251 * text.C: Likewise.
16252 * text2.C: Likewise.
16254 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * lyxfind.C (LyXReplace): do not redefine default argument in
16258 (IsStringInText): ditto
16259 (SearchForward): ditto
16260 (SearchBackward): ditto
16262 2001-03-06 Juergen Vigna <jug@sad.it>
16264 * lyxfind.C (IsStringInText): put parentes around expressions.
16266 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16268 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16270 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16272 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16274 * stl_string_fwd.h: add comment
16276 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16279 * tabular.C: remove unused DocBook methods
16285 killed DO_USE_DEFAULT_LANGUAGE
16287 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * lyx_gui.C: do not include language.h.
16291 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16292 arguments in function implementation.
16294 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16296 * BufferView_pimpl.C: add <ctime>
16298 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16300 * BufferView_pimpl.C: add using std::find_if
16302 2001-02-27 José Matos <jamatos@fep.up.pt>
16304 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16307 2001-02-11 José Matos <jamatos@fep.up.pt>
16309 * buffer.C (makeDocBookFile): command styles now have a parameter as
16310 "title" by default.
16312 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16314 * layout_forms.[Ch]: removed
16315 * lyx_cb.[Ch]: out character
16316 * lyx_gui.C: out character
16317 * lyx_gui_misc.C: out character
16318 * bufferview_funcs.C: : out character,
16319 added toggleall as parameter in ToggleAndShow
16321 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16323 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16325 * text2.C (SetCurrentFont): Disable number property at boundary.
16327 2001-02-26 Juergen Vigna <jug@sad.it>
16329 * lyxfunc.C (getStatus): added a string argument override function so
16330 that this is correctly called from LyXFunc::Dispatch if it contains a
16331 do_not_use_argument which is used!
16332 (Dispatch): added check for "custom" export and call appropriate func.
16334 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16336 * lyxrc.C: Add language_command_local, language_use_babel and
16337 language_global_options.
16339 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16341 * buffer.C (makeLaTeXFile): Use language_use_babel and
16342 language_global_options.
16344 2001-02-23 Juergen Vigna <jug@sad.it>
16346 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16347 which works with LyXText and putted it inside BufferView. Here now we
16348 only call for that part the BufferView::Dispatch() function.
16350 * BufferView.C (Dispatch): added.
16352 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16353 functions which needs to use a LyXText over from LyXFunc.
16354 (MenuInsertLyXFile): added
16355 (getInsetByCode): added
16356 (moveCursorUpdate): added
16357 (static TEXT): added
16359 2001-02-22 Juergen Vigna <jug@sad.it>
16361 * BufferView_pimpl.C (update): call a status update to see if LyXText
16364 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16366 * vc-backend.C (revert): implement for CVS
16367 (getLog): implement for CVS
16369 2001-02-20 Juergen Vigna <jug@sad.it>
16371 * text2.C (ClearSelection): added BufferView param for inset_owner call
16373 * lyxfunc.C (TEXT): added this function and use it instead of
16374 directly owner->view()-text of getLyXText().
16376 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16378 * src/layout_forms.C: out preamble
16379 * src/layout_forms.h: out preamble
16380 * src/lyx_cb.C: out preamble
16381 * src/lyx_cb.h: out preamble
16382 * src/lyx_gui.C: out preamble
16383 * src/lyx_gui_misc.C: out preamble
16384 * src/lyxfunc.C: connect with guii preamble
16386 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16388 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16390 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16392 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16393 whether to run bibtex.
16395 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16397 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16399 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16401 * Makefile.am (lyx_SOURCES): removed bibforms.h
16403 * vspace.h: doxygen
16405 * text.C (GetVisibleRow): make several local vars const
16407 * tabular.C: small cleanup.
16409 * lyxserver.C (callback): use compare instead of strncmp
16411 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16412 inlines to after class or to paragraph.C
16414 * lyxfont.h: remove friend operator!=
16416 * converter.h: move friend bool operator< to non friend and after
16419 * combox.h: small cleanup
16421 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16422 to inlines after class def.
16424 * buffer.C (pop_tag): use string operations instead of strcmp
16426 * bmtable.c: doxygen, small cleanup
16428 * LaTeX.h: remove friend operator==
16430 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16442 * BufferView_pimpl.C:
16443 * BufferView.[Ch]: remove cruft
16445 2001-02-14 Juergen Vigna <jug@sad.it>
16447 * lyxfunc.C: removed #if 0 unused code
16449 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16451 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16453 * text2.C (SetSelection): added a BufferView * parameter
16455 2001-02-13 Juergen Vigna <jug@sad.it>
16457 * lyxfunc.C (Dispatch): fixed protected blank problem.
16458 * BufferView2.C (protectedBlank): added LyxText * parameter.
16460 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16461 (AppendColumn): same as above for column_info.
16463 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16464 (moveCursorUpdate): use a LyXText param for support of InsetText.
16466 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16467 (tripleClick): ditto
16469 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16471 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16473 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16475 * text2.C (SetSelection): set correct update status if inset_owner
16476 (ToggleFree): ditto
16478 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16480 * tabular.C: remove some commented code.
16482 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16484 * BufferView_pimpl.C: call hideSplash()
16486 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16489 * bibforms.h: remove
16492 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16493 add LFUN_CHILD_CREATE
16495 * counters.h: fix tiny typo
16500 * lyx.C: move splash to frontends/xforms/
16502 * lyx_gui_misc.C: move Include and Bibform to frontends
16504 * lyxvc.h: clarify comment
16506 * vspace.C: tiny housekeeping
16508 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16510 * text.C (PrepareToPrint): RTL Fix.
16512 * paragraph.C (GetUChar): New method.
16513 (String): Use GetUChar.
16515 * buffer.C (asciiParagraph): Use GetUChar.
16517 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16519 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16521 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16524 * buffer.C: rename to getLogName(), handle
16525 build log / latex log nicely
16527 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16530 * MenuBackend.h: remove support for reference menuitem type.
16532 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16534 * BufferView_pimpl.C: housekeeping
16535 * BufferView_pimpl.h:
16540 * minibuffer.h: move Timeout GUI-I
16542 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16544 * lyxrc.C (read): Update converters data-structures.
16546 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16548 * LaTeX.h (operator!=): add operator != for Aux_Info
16550 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16552 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16554 * LaTeXLog.C: deleted, useful code moved to Buffer
16557 * buffer.C: new function getLatexLogName()
16563 * lyxfunc.C: use frontends for LaTeX and VC logs
16565 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16567 * LaTeX.h: yet another std:: that Allan forgot.
16569 * Variables.C (set): renamed from isset(), because this clashes
16570 with some HP-UX macros (grr).
16572 2001-02-06 Allan Rae <rae@lyx.org>
16574 * LaTeX.h: Another bug fix. Missing std:: this time.
16576 2001-02-04 Allan Rae <rae@lyx.org>
16578 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16579 floats problem. I've left it commented out because it's not quite
16580 correct. It should also test that the current object is a table or
16581 figure inset. But I haven't gotten around to figuring out how to do
16582 that. I *think* it'll be something like: "table" == inset.type()
16584 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16587 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16589 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16590 all the citation/databases/styles in the auxilary file.
16591 (run): Rerun latex if there was a babel language error.
16593 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16595 * text.C (Backspace): Preserve the font when changing newline char
16597 (BreakParagraph): If the cursor is before a space, delete the space.
16599 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16601 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16603 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16604 new argument (code).
16605 (ChangeCitationsIfUnique): New method.
16607 * paragraph.C (GetPositionOfInset): Handle bibkey.
16609 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * BufferView_pimpl.h: change type of Position::par_pos to
16612 LyXParagraph::size_type.
16614 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16616 * BufferView_pimpl.C (savePosition, restorePosition): Write
16617 messages to minibuffer.
16619 2001-01-28 José Matos <jamatos@fep.up.pt>
16621 * buffer.C (makeDocBookFile): adds support for document language.
16622 A silly restriction on the name of LatexCommand types where removed.
16623 Added support for CDATA sections, allows to chars unescaped, used
16624 among others in code, to avoid escape < and >.
16626 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16628 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16629 saved positions instrad of a stack. Furthermore, a position is
16630 stored using paragraph id/paragraph position.
16632 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16633 Remove LFUN_REF_BACK.
16635 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16637 * converter.C (dvipdfm_options): New method.
16639 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16641 * vspace.C (isValidLength): Fix for empty input string.
16643 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16645 * LyXAction.C (init): change description of LFUN_FIGURE to
16648 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16650 * LaTeX.C: add using directive
16652 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16654 * MenuBackend.C (expand): Fix the sorting of the formats.
16656 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16658 * lyx_main.C: tiny error message fix
16660 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16662 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16663 calling fl_initialize(). This fixes the problem with ',' as
16664 decimal separator in text files.
16666 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16668 * trans.C (process): Fix the keymap bug.
16670 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16672 * LaTeX.C (scanAuxFiles): New method. Provides support for
16673 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16674 (scanLogFile) Scan for "run BibTeX" messages.
16676 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16677 OT1 font encoding. Also, load the aecompl package if the ae
16680 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16682 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16684 * texrow.C (increasePos): turn two error messages into debug
16687 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16689 * LaTeX.C (scanAux): Handle the \@input macro.
16690 (runBibTeX): Use scanAux().
16692 * language.C (latex_options_): New field.
16694 * LaTeXFeatures.C (getMacros): Add language macros.
16696 * buffer.C (makeLaTeXFile): Small fix.
16698 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16700 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16702 * text2.C: add a using directive.
16704 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16709 * lyxfunc.C: kill LyXBell.
16711 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16713 * text.C (IsBoundary): Remove the error message
16715 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16717 * lyxrc.C (setDefaults): Correct initialization value for
16720 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16722 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16725 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16726 and GotoNextNote().
16728 * src/LyXAction.C: Added reference-next.
16730 * text.C (InsertChar): Use contains instead of strchr.
16732 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16734 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16736 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16737 alignment commands (when needed).
16739 * text.C (InsertChar): Add ':' to number separator chars.