1 2005-01-04 Angus Leeming <leeming@lyx.org>
3 * lyx_cb.C (Reconfigure):
4 * lyx_main.C (queryUserLyXDir):
5 to run the <system_lyxdir>/configure correctly on Windows, prefix
6 the path to the script with "sh " when generating the string that
9 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
13 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * lyxlength.C (asLatexString): get rid of setprecision
17 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * text2.C (setLayout): remove unused variable endpit.
20 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
22 * paragraph.C (onlyText): remove unused variable style.
24 * cursor.C (bruteFind): remove unused variables beg and end.
26 * Makefile.am (dist_noinset_DATA): not needed anymore
30 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * text3.C: fix LFUN_MATH_MODE.
34 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * buffer_funcs.C (countWords): new function. Counts words between
39 * BufferView_pimpl.C (getStatus, dispatch): handle
43 * lfuns.h: add LFUN_WORDS_COUNT.
45 2004-12-19 Angus Leeming <leeming@lyx.org>
47 * buffer.C (save): s/slashify_path/internal_path/.
49 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * lyxfind.C (findChange): do not search for end of pars, because
52 the change tracker cannot handle this (fixes bug 1719).
54 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
56 * paragraph.[Ch] (autoBreakRows): remove
58 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
60 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
61 avoid using the paragraph one
63 * text2.C (LyXText, insertStringAsLines): adjust
65 2004-12-16 Angus Leeming <leeming@lyx.org>
69 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
71 2004-12-14 Angus Leeming <leeming@lyx.org>
73 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
75 * bufferlist.C (emergencyWrite):
76 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
79 2004-12-14 Angus Leeming <leeming@lyx.org>
81 * main.C: (main): no longer pass pointers to os::init.
83 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
85 * undo.C (textUndoOrRedo): simplify logic, fix a crash
86 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
88 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
91 * text3.C: remove selection_possible global flag
93 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
95 * text2.C (getSelectionSpan): remove
96 (changeDepth, changeDepthAllowed): adjust
98 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
100 * Makefile.am (BOOST_LIBS): use boost variables
102 2004-12-03 José Matos <jamatos@lyx.org>
104 * buffer.C: format up to 238.
106 2004-12-03 José Matos <jamatos@lyx.org>
108 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
110 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
112 * cursor.C (goUpDown): remove call to idxUpDown2
114 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * tabular.[Ch]: use size_t-like types for cell, row and column
119 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * lyxfunc.C (getStatus): do not lose previous information when
122 calling BufferView::getStatus; do not set a default "Command
123 disabled" message at the beginning, but just before returning.
125 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * cursor.h (getStatus): add better comment from src/cursor.C
129 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * text3.C (getStatus): return false when the lfun is not handled
133 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * broken_headers.h: remove
137 * Makefile.am (lyx_SOURCES): remove broken_headers.h
139 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
141 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
144 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
145 top_y_, merge fitcursor with update
146 (updateScrollbar, scrollDocView, fitCursor, center, update): new
149 (workAreaDispatch): adapt to new coord scheme
150 (redoCurrentBuffer): remove
152 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
154 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
157 * coordcache.[Ch]: add paragraph cache and helpers
159 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
162 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
163 (targetX, setTargetX): introduce
165 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
166 baseline -> ascent, as the rest of lyx
168 * lyxtext.h: remove redoParagraphs, updateParPositions,
169 fullRebreak, redoParagraphInternal. move dist to anon namespace in
170 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
171 have ascent/descent (ascent is ascent of first par)
173 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
176 * paragraph.[Ch]: unify dimension handling with the rest of lyx
178 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
180 * pariterator.C: fix infinite loop introduced in par->pit renaming
182 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
183 in insets and LyXText, draw two off-screen paragraphs using
184 NullPainter, and adapt to new coord scheme
188 * text3.C: adapt lfun handlers to the new coord scheme, which
189 means: there's only guaranteed coord information for onscreen pars
190 plus one above and one below. This implies that one can do search
191 from y coordinates in the range [-1,workHeight]
193 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
195 * rename a lot of InsetOld to InsetBase
197 2004-11-25 Angus Leeming <leeming@lyx.org>
199 * BufferView_pimpl.C:
201 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
203 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
206 call BufferView::getStatus if LCursor::getStatus did nothing
207 (setStatusMessage, getStatusMessage): removed.
209 * FuncStatus.C (message): new methods. Used to provide an error
210 message indicating why a command is disabled.
211 (clear, |=, FuncStatus): update for message.
213 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * lyxfunc.C (dispatch): always call sendDispatchMessage
217 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
220 * BufferView_pimpl.C:
234 * undo.C: par->pit renaming
236 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * tabular.C (cellstruct): use initialization, store a shared_ptr
239 to insettext instead of the insettext directly, adjust to fit.
240 (operator=): new function
242 (rowstruct): use initialization
243 (columnstruct): use initialization
244 (ltType): use initialization
247 * lyxlength.h (swap): new function
249 * LColor.[Ch] (operator=): use the common semantics
251 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * lyxfind.C (findNextChange): update the bufferview after setting
256 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
259 number of InsetOptArgs has already been inserted.
261 * output_latex.C (latexOptArgInsets): new method. This outputs all
262 the optarg insets, up to the limit defined in the layout file.
263 (optArgInset): removed
264 (TeXOnePar): call latexOptArgInsets; correctly update texrow
266 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * paragraph.C (isLetter): remove special spellchecker-related
269 code; return true also for digits
270 (isWord, isKomma): remove
272 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
273 * lyxfind.C (MatchString()): use isLetter instead of isWord
275 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * pariterator.h (operatir=): comment out un-implemented member
280 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
283 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
285 * lyxfont.h: include LColor.h to satisfy concept checks.
287 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
289 * pariterator.h: add typdefs for value_type, difference_type,
290 pointer and reference to satisfy concept checks. Also add default
291 constructor for same reason.
293 * pariterator.C (operator++): add post-increment operator to
294 satisfy concept checks.
296 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
299 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
301 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
302 checks. Also rename base_type to BaseType to follow naming
305 * FloatList.h: include Floating.h to satisfy concept checks.
307 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * lyxfunc.C (getStatus): when the origin of the request is menu or
310 toolbar, and the LyXView does not have focus, do as if there was
313 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
314 FuncRequest to individual entries of LFUN_SEQUENCE
316 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * output_latex.C (TeXOnePar): override runparams.moving_arg
319 according to the needprotect value of the current paragraph (bug
322 * paragraph.C (simpleTeXOnePar): no need to override
323 runparams.moving_args here
325 2004-11-14 John Spray <spray_john@users.sourceforge.net>
327 * vspace.C: fix off-by-one-error, related to fix #1682
329 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
331 * lengthcommon.C: a more general fix for bug 1682
333 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
335 * text.C (backspace): fix crash
337 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * format.[Ch] (getFormatFromFile): new method
340 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
342 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
346 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * lyxfunc.C (dispatch): remove the verbose argument
349 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
352 * kbmap.C (defkey): set the origin of func to KEYBOARD
354 * MenuBackend.C (MenuItem):
355 * ToolbarBackend.C (add): set the origin of func to UI
357 * funcrequest.[Ch]: add origin member, which indicates which part
358 of LyX requests an action
360 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
362 * converter.C (move): don't lie in the error message
363 * converter.h (isReachable, move): document
365 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
367 * buffer.C: remove unused using lyx::support::atoi
368 * paragraph_funcs.C: ditto
370 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * bufferlist.C (exists): use bind and equal_to instead of
375 * lyxtextclasslist.C (NumberOfClass): ditto
377 * cursor.C (insert): use for_each instead of explicit for loop
379 * bufferlist.C (getFileNames): use std::transform and
380 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
382 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
385 * buffer.C (changeLanguage): use for_each instead of explicit for
387 (hasParWithID): implement using getParFromID
389 * LaTeXFeatures.C: ws change only
391 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
394 * BufferView_pimpl.C (trackChanges): use for_each instead of
397 2004-11-04 André Pönitz <poenitz@gmx.net>
400 * undo.C (textUndoOrRedo): fix crash when creating undo information.
402 * dociterator.C (asDocIterator): use hard assert again.
404 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * lyxlength.C (asLatexString): rewrite so that it does not use
409 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * text3.C (specialChar, dispatch): make sure cursor moves to the
412 right after inserting an inset
414 2004-11-02 José Matos <jamatos@lyx.org>
416 * output_docbook.C (docbook):
417 * paragraph.C (getID):
418 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
419 garantee that the output is always legal.
421 * tabular.C (docbook):
422 * outputprams.[Ch]: remove mixed contents.
424 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * text2.C (setCounter): prevent endless loop
428 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * exporter.C (copyFile): use the mover instead of support::copy()
431 * exporter.C (Export): pass format and latex name to copyFile()
432 * exporter.h (addExternalFile): document
433 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
435 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
439 2004-10-30 José Matos <jamatos@lyx.org>
441 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
442 text and no inset or font change. This allows to use CDATA
443 sections just for the whole paragraph.
445 2004-10-30 José Matos <jamatos@lyx.org>
447 * paragraph.C (getFirstWord): remove unused variable.
449 2004-10-30 José Matos <jamatos@lyx.org>
451 * paragraph.C (getFirstWord): the content should always be escaped
453 (simpleDocBookOnePar):
454 * output_docbook.C (makeEnvironment): replace reference to CDATA
457 2004-10-30 José Matos <jamatos@lyx.org>
459 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
461 2004-10-30 José Matos <jamatos@lyx.org>
463 * output_docbook.C (makeParagraphs):
464 * paragraph.[Ch] (emptyTag): for docbook and company, if the
465 standard paragraph has only a given type of content drop the wrapper.
467 2004-10-29 José Matos <jamatos@lyx.org>
469 * output_docbook.C (makeEnvironment):
471 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
473 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
475 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
476 (cleanID): sanitize any id.
478 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
480 * buffer.C, lyxlex_pimpl.C:
481 * lyxlex_pimpl.C (setFile):
482 s/getExtFromContents/getFormatFromContents/
484 2004-10-28 José Matos <jamatos@lyx.org>
486 * output_docbook.C (makeEnvironment): move id to broadest possible
489 * sgml.C (openTag): apply substitution of <> for all attributes.
491 2004-10-28 José Matos <jamatos@lyx.org>
493 * buffer.C (makeLinuxDocFile, makeDocBookFile):
494 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
495 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
497 * sgml.[Ch]: new version for open and closeTag for paragraph and
498 for strings. Now they handle the ids of paragraphs.
500 2004-10-26 Angus Leeming <leeming@lyx.org>
502 * Makefile.am: add mover.[Ch].
504 * converter.C (convert, move): use the new Movers to move external
505 files to the temp directory.
507 * lyx_main.C (init): ensure that the global system_movers data
510 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
513 * mover.[Ch]: new files, defining a Mover as a utility to move an
514 external file between directories and, if necessary, manipulate this
515 file using a helper script.
517 2004-10-25 José Matos <jamatos@lyx.org>
519 * output_docbook.C (makeCommand): merge two if's that tested the
522 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * sgml.C (escapeString): fix warning in a better way
526 2004-10-25 José Matos <jamatos@lyx.org>
528 * sgml.C (escapeString): import the require boosts header file for
529 tie, and avoid a signed unsigned comparison.
531 2004-10-25 José Matos <jamatos@lyx.org>
533 * sgml.h: add #include <string>
535 2004-10-25 José Matos <jamatos@lyx.org>
537 * sgml.[Ch] (escapeString): new function to escape all the string.
539 2004-10-24 José Matos <jamatos@lyx.org>
541 * paragraph.[Ch] (getFirstWord): new function to get the first
542 word. Useful for description.
543 (simpleDocBookOnePar): remove depth argument, add another that
544 says where to start the paragraph.
546 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
547 use the new functions to fix cleanly the support for descriptions.
549 2004-10-24 José Matos <jamatos@lyx.org>
551 * buffer.C (makeLinuxDocFile, makeDocBookFile):
552 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
553 * output_linuxdoc.C (linuxdocParagraphs):
554 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
555 add buffer as argument.
557 2004-10-24 José Matos <jamatos@lyx.org>
559 * output_docbook.C (makeEnvironment, searchEnvironment): place
560 CDATA inside paragraphs and fix scope for listitems.
562 2004-10-24 José Matos <jamatos@lyx.org>
564 * output_docbook.C: remove using statement for stack.
566 2004-10-23 José Matos <jamatos@lyx.org>
568 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
569 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
570 docbook. The new scheme is recursive and makes use of iterators, the
571 same as latex export works.
572 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
573 directly with the paragraph contents. This code was moved up to
574 output_docbook.C (docbookParagraphs).
575 * sgml.C (openTag, closeTag): removed unneeded newlines.
576 (closeEnvTags) removed.
578 2004-10-23 André Pönitz <poenitz@gmx.net>
580 * undo.C (textUndoOrRedo):
581 * dociterator.C (asDocIterator): work around crash
583 * cursor.C (getStatus): replace ASSERT by more verbose error message
584 and manual correction of the problem. Should increase stability
585 while providing more sensible information.
587 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
591 * bufferlist.C (previous, next): new methods
594 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
596 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
598 * buffer.C (makeDocBookFile): add dsssl stylesheet control
599 entities to preamble.
601 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * messages.C (Pimpl): strip off translation context information
605 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
608 the cursor is correct (bug 1694)
610 2004-10-13 José Matos <jamatos@lyx.org>
612 * output_docbook.C (docbookParagraphs): fix closing tags in the
615 2004-10-09 José Matos <jamatos@lyx.org>
617 * buffer.C: format up to 237.
618 * bufferparams.C (write): use tostr to convert booleans to strings.
620 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
622 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
624 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
626 * LaTeX.C: implement use of babel language in xindy.
628 2004-10-05 José Matos <jamatos@lyx.org>
630 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
631 Add new translators to help reading and writing the lyx file.
633 2004-10-05 José Matos <jamatos@lyx.org>
635 * ParagraphParameters.C (read):
636 * text.C (readParToken): replace nexToken by more appropriate lex
639 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
641 * LaTeX.C (runMakeIndex):
642 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
643 (usually 'makeindex') configurable.
645 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
646 with a variable rather than with a number.
648 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * output_latex.C (TeXOnePar): make sure font setting is the first
651 thing that gets output (and the last at the end). Should fix bug
654 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * pch.h: use proper signal include
658 * LaTeX.h: Use preferred calling of Boost.Signal
661 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * pch.h: dont include <boost/function/function0.hpp>
665 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
667 * paragraph_pimpl.h: remove usage of ShareContainer
669 * paragraph_pimpl.C: remove initialization of ShareContainer.
671 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * BufferView.C (putSelectionAt): change the semantics when
676 backwards == true: now, this just swaps cursor and anchor wrt the
679 * BufferView.h (putSelectionAt): add some documentation
681 * lyxfind.C (findBackwards): rewrite using while(). In particular,
682 make sure backwardChar is done at least once (to avoid getting
684 (findNextChange): use putSelectionAt in the forward direction
685 (operator()): use Paragraph::isWord
687 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * Spacing.C (set): c_str fix
691 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * lyx_cb.C (Reconfigure): quote the name of configure script in
694 case it contains spaces
696 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
700 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
701 (BOOST_LIBS): use top_buildir when looking for the file
703 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * pch.h: do not use include boost/format.hpp, multiple symbols
706 will result (gcc bug)
709 2004-08-23 José Matos <jamatos@lyx.org>
711 * bufferparams.C (readToken): fix reading of the author field.
713 2004-08-20 José Matos <jamatos@lyx.org>
715 * lyxrc.C: remove support/translator.h inclusion since it is not used.
717 2004-08-20 José Matos <jamatos@lyx.org>
719 * lyxlex.[Ch] (findToken): remove function.
721 * ParagraphParameters.C (findToken):
722 * bufferparams.C (findToken): replace call for previous function
723 with local copy. This local function has one more argument, the
724 read string argument.
726 2004-08-16 José Matos <jamatos@lyx.org>
728 * ParagraphParameters.C (write):
729 * Spacing.C (writeFile):
730 * bufferparams.C (writeLaTeX):
731 * lyx_cb.C (Reconfigure):
732 * paragraph.C (write):
733 * tabular.C (write): remove unnecessary space at end of line.
736 2004-08-16 José Matos <jamatos@lyx.org>
738 * text.C (readParagraph): remove debug message.
740 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
745 * output_plaintext.C (asciiParagraph): set depth correctly
747 * outputparams.h: add member depth
749 * paragraph_funcs.C (ownerPar): remove.
751 * text2.C (setCounter): remove first_pit; comment out some
752 non-working code that uses ownerPar
754 * BufferView.C (getParentLanguage): remove. Not used anymore, and
757 2004-08-16 José Matos <jamatos@lyx.org>
759 * text.C (readParToken, readParagraph, read): report all unknown tokens.
760 For the same level of importance use the same chanel to report problems.
761 (read): add code to deal with \begin_body and \end_body.
764 2004-08-15 José Matos <jamatos@lyx.org>
766 * lyxlex.C (getString): fix comment, buffer::readBody is now
769 * tex-strings.C (string_papersize): Default -> default,
770 Custom -> custom, for consistency with other options.
772 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * Makefile.am: support pch
778 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
780 * text.C (readParToken): remove the static LyXFont variable and
781 pass it as a parameter instead. This fixes a nasty bug where an
782 inset will be inserted with a bad font in some situations
783 (readParagraph): adapt
785 * text2.C (setCounter): reduce number of calls to pars_[pit]
787 * text.C (singleWidth): add an assert, fix a test
789 * rowpainter.C (paintText): reduce number of calls to singleWidth
791 * paragraph.C (isHfill):
794 2004-08-14 André Pönitz <poenitz@gmx.net>
799 * lyxtext.h (several functions): use a Paragraph & argument
802 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * metricsinfo.h: add a new field ltr_pos to PainterInfo
806 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
808 * text.C (singleWidth): remove useless test
810 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * tabular.h: remove bogus comments
814 * tabular.C (getDescentOfRow):
815 (isPartOfMultiColumn): add assertions
817 * lyxlength.C (inPixels): remove #warning
819 2004-08-14 André Pönitz <poenitz@gmx.net>
821 * paragraph.h: inline getChar()
823 * BufferView.h: remove unused declarations
825 2004-08-14 José Matos <jamatos@lyx.org>
827 * Buffer.[Ch] (readDocument): new name for old readBody.
828 * Buffer.C: new file format, new keywords: \begin_document,
829 \begin_header, \begin_body, \end_body.
831 * bufferparams.C (readToken): replace all calls to lex.nextToken
832 by lex.next(). Do the same to eatLine except where really needed.
834 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
835 line when writing to the lyx file.
837 * output_plaintext.C (asciiParagraph): fix Bibliography style
840 * text.C (read): fix end of file handling.
842 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * MenuBackend.C (Menu::operator[]): new method to access
845 individual menu items
846 (Menu::hasFunc): new method. search for an item that corresponds
848 (MenuBackend::specialMenu): new method
849 (MenuBackend::expand): if a special menu has been set, skip
850 entries whose func() appears in this menu
852 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
854 * text3.C: use Debug::DEBUG a bit more
856 * text.C (leftMargin): try to simplify a tiny bit change var x to
857 l_margin. Dont output the wide margins always.
858 (rightMargin): no margin in inner texts
860 * rowpainter.h (nestMargin): new func
861 (changebarMargin): new func
862 (rightMargin): new func
864 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
868 * factory.C (createInset): modify setDrawFrame
870 * cursor.C: use Debug::DEBUG a bit more
872 2004-08-14 André Pönitz <poenitz@gmx.net>
875 * Makefile.am: new files to accomodate an 'external' (x,y)-position
876 cache for all insets in (at least partially) visible (top-level)
879 * BufferView_pimpl.C: reset external coord cache before every update.
880 This means the coord cache only contains valid entries.
882 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
885 * BufferView_pimpl.C (getInsetByCode): move function out of class
886 and change in to a template in anon namespace. Also fix to do what
889 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
892 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
894 (breakParagraph): rename par to par_offset and use a local
895 reference. Add code to keep the language over a rebreak.
896 (breakParagraphConservative): rename par to par_offset, use a
898 (mergeParagraph): ditto
900 (isFirstInSequence): ditto
901 (outerFont): rename pit to par_offset
903 * paragraph.C: ws change
908 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
913 * paragraph.C (simpleTeXOnePar): when we have a \item with
914 optional argument, enclose the argument with curly brackets (in
915 case it contains a closing square bracket)
919 * text3.C (checkInsetHit): constify
921 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
926 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 Fix toggling of collapsable insets with the mouse (bug 1558)
930 * lyxfunc.C (dispatch): adapt to LCursor changes
932 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
933 make sure that dispatch is not invoked twice
935 * cursor.C (needsUpdate): new method
936 (dispatch): return void
937 (result): new method, to access the DispatchResult of the cursor.
939 2004-08-13 José Matos <jamatos@lyx.org>
941 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
943 2004-08-13 André Pönitz <poenitz@gmx.net>
945 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
947 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
950 2004-08-12 André Pönitz <poenitz@gmx.net>
952 * text3.C: take out the 'cursor right' form insertInset and only
953 do it in those places when it is really needed. Fixes crash on
956 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
960 * BufferView_pimpl.C (setBuffer): initialize the current font of
961 the underlying LyXText
963 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * kbsequence.C (print): use UI native formatting for menu
968 * text.C (insertChar): call Paragraph::insertChar with a font
971 * paragraph.C (insertInset, insertChar): the version that takes a
972 LyXFont argument is now a wrapper around the other one (the
973 opposite used to be true).
975 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
976 argument. Font setting is done in Paragraph now.
978 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
980 * outputparams.h: add new members intitle and lang.
982 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
983 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
985 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
987 * text3.C (dispatch): remove special handling of button 4 and 5,
988 it is now taken care of in the frontend code.
990 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
992 * Spacing.h: add <string> (STLPort compile fix)
994 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
996 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
998 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1000 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1003 * converter.C (showMessage): inherit from unary_function, make
1006 * buffer.C (writeFile): initialize retval
1008 * InsetList.h: rename private variable list to list_
1009 * InsetList.[Ch]: adjust accordingly.
1011 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1013 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1014 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1015 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1016 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1017 * ParagraphParameters.C, LaTeXFeatures.C: replace
1018 "support/std_sstream.h" with <sstream>
1020 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1022 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1023 * lyxsocket.C (LyXServerSocket): ditto
1024 (serverCallback): ditto
1026 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1028 * LaTeXFeatures.C: check release date when loading jurabib.
1030 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1032 * lyxserver.C (startPipe): call register_socket_callback
1033 (endPipe): call unregister_socket_callback
1035 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1037 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1038 (LyXServerSocket): register the callback
1039 (LyXServerSocket): unregister the callback
1040 (fd): delete function
1041 (serverCallback): improve error checking and setup the callbacks.
1042 (dataCallback): change arg to fd.
1043 (writeln): new func (copied fro the client socket) used for server
1045 (LyXDataSocket): simplify
1046 (~LyXDataSocket): close ann unregiser callback
1047 (server): delete function
1048 (fd): delete function
1049 (readln): small changes, improve some std::string usage
1050 (writeln): constify a bit
1052 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1057 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1060 after it has been populated
1062 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * text2.C (insertInset): move cursor when inserting inset.
1066 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * kbmap.C (findbindings): a couple of new methods. returns a
1069 container of kb_sequence objects. The real work is done by the
1070 private recursive version
1071 (printbindings): uses findbindings to print out a bracketed list
1072 of bindings (renamed from findbinding).
1074 * MenuBackend.C (binding): use kb_keymap::findbindings
1076 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1078 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1080 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1082 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1084 * paragraph.C (isWord): return true on insets that report
1087 * text.C (getWord): use Paragraph::isWord to decide what is in a
1088 word and what is not; fix bug 1609.
1090 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1092 * tex-strings.C: add "none" to string_paperpackages[], fixes
1093 off-by-one-error in the paperpackage selection.
1096 * tex-strings.[Ch]: char const * string[n]
1097 -> char const * const string[]
1099 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1102 command, return early.
1104 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1106 * debug.h: add DEBUG to enum and fix size of ANY.
1108 * debug.C: add support for Debug::DEBUG
1109 (showTags): cast errorTags.level to unsigned int
1111 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1112 (redoCurrentBuffer): ditto
1113 (updateScrollbar): ditto
1114 * cursor.C (dispatch): ditto
1115 * text2.C (setLayout): ditto
1117 (updateCounters): ditto
1119 (deleteEmptyParagraphMechanism): ditto
1121 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1123 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1124 annotations to cleanup the Makefile slightly.
1126 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * lyxrc.C: do not set user_email to a default value but use empty
1129 instead. The entry used to be translated, which does not work
1130 since at the point where lyxrc is constructed there is no
1131 translation service available
1133 * messages.C (getLocaleDir): remove and use directly
1134 lyx_localedir() instead
1136 2004-06-02 Angus Leeming <leeming@lyx.org>
1138 Fix crash caused by dereferencing null pointer 'exportdata' in
1139 OutputParams by creating a new ExportData variable on the heap,
1140 storing it in a boost::shared_ptr.
1141 The crash was triggered when generating an Instant Preview
1142 of an external inset.
1144 * Makefile.am: add outputparams.C
1146 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1147 (c-tor): allocate memory to it.
1149 * exporter.C (c-tor): associated changes.
1151 2004-06-01 Angus Leeming <leeming@lyx.org>
1153 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1154 contains data before calling isInset(0). (Bug 1513.)
1156 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1158 * exporter.C (checkOverwrite): new method
1159 * exporter.C (copyFile): new method
1160 * exporter.C (Export): copy referenced files to the document dir
1161 * exporter.[Ch]: new class ExportedFile
1162 * exporter.[Ch]: new class ExportData. Contains currently the
1163 names of referenced external files
1164 * outputparams.h: add exportdata member.
1166 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1168 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1171 2004-05-19 Angus Leeming <leeming@lyx.org>
1176 * lyxfunc.C: small changes due to the introduction of namespace
1177 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1179 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1181 * text3.C (dispatch): supress update when only moving the cursor
1182 * cursor.C (selHandle): remove commented code
1184 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1186 * paragraph.C (startTeXParParams): correct column count
1187 * CutAndPaste.C (pasteSelection): remove const_cast
1188 * output_docbook.C (docbookParagraphs): remove const_cast
1189 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1190 const_cast and return ParagraphList::const_iterator
1191 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1192 * output_plaintext.C (writeFileAscii): remove const_cast
1193 * paragraph.[Ch] (simpleTeXOnePar): make const
1194 * paragraph_funcs.C (outerPar): use const iterators
1195 * paragraph_pimpl.C (validate): use const iterators
1196 * text.C (setHeightOfRow): use const iterators
1198 2004-05-17 Angus Leeming <leeming@lyx.org>
1201 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1203 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1204 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1205 if the citation engine has changed.
1207 2004-05-14 José Matos <jamatos@lyx.org>
1209 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1210 if the textclass does not provide it. Have it different for sgml and
1212 support the language of document.
1213 * output_docbook.C (docbookParagraphs):
1214 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1215 first anchor as the id of the paragraph, remove special case code.
1216 * sgml.C (escapeChar): escape only < & >.
1218 2004-05-14 Angus Leeming <leeming@lyx.org>
1220 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1221 dependencies on src/frontends/controllers/biblio.h. Define a
1222 CiteEngine_enum wrapper class to enable the enum to be forward
1225 2004-05-12 Angus Leeming <leeming@lyx.org>
1227 * buffer.C: up LYX_FORMAT to 234.
1228 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1229 use_numerical_citations with a single biblio::CiteEngine cite_engine
1231 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1233 2004-05-13 José Matos <jamatos@lyx.org>
1236 * converter.C (Converter, readFlags): add xml member.
1237 * outputparams.h: add XML flavor.
1238 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1240 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1242 * lyxfunc.C (dispatch):
1243 (getStatus): fix handling of LFUN_SEQUENCE
1245 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1247 * debug.C (showLevel): do not forget the end-of-line marker
1249 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * kbmap.C (read): do not stop parsing a bind file when an error
1254 2004-04-29 Angus Leeming <leeming@lyx.org>
1259 * text2.C: wrap a bunch of #warning statements
1260 inside #ifdef WITH_WARNINGS blocks.
1262 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1264 * buffer.C: increment format to 233.
1266 2004-04-28 Angus Leeming <leeming@lyx.org>
1268 * BufferView_pimpl.C:
1271 s/updateToolbar()/updateToolbars()/
1272 s/Toolbar.h/Toolbars.h/
1274 2004-04-28 Angus Leeming <leeming@lyx.org>
1276 * BufferView.[Ch] (c-tor):
1277 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1278 No longer passes these data to the WorkArea generator.
1280 2004-04-28 Angus Leeming <leeming@lyx.org>
1282 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1284 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1288 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * output_latex.C (TeXEnvironment): make sure that there is a line
1291 break before \end{foo} for the last paragraph of a document
1292 (TeXOnePar): if the paragraph is at the end of the document (or
1293 inset) and the language has to be reset, then make sure that the
1294 line break is _before_ the language command, not after (fixes bug
1295 1225); also make sure that the language reset command is the first
1296 thing after the paragraph (to ensure proper nesting of
1297 environments and thus fix bug 1404)
1299 2004-04-21 John Levon <levon@movementarian.org>
1302 * ToolbarBackend.C: make "name" be a programmatic name
1303 and a gui_name field.
1305 * lyxfunc.C: display the minibuffer on M-x
1307 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1312 2004-04-19 Angus Leeming <leeming@lyx.org>
1314 * BufferView_pimpl.C (setBuffer): changed preview interface.
1316 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1319 2004-04-19 John Levon <levon@movementarian.org>
1321 * BufferView_pimpl.C:
1322 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1324 2004-04-05 Angus Leeming <leeming@lyx.org>
1326 * text.C (redoParagraphs): add call to updateCounters(), thereby
1327 fixing the missing "Figure #:" label from the caption of a
1330 2004-04-13 Angus Leeming <leeming@lyx.org>
1332 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1333 cursor is clicked out of an inset.
1335 2004-04-13 Angus Leeming <leeming@lyx.org>
1337 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1338 than an InsetOld one.
1340 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1342 * format.[Ch]: add editor to Format
1343 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1344 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1346 2004-04-08 André Pönitz <poenitz@gmx.net>
1348 * metricsinfo.h: remove PainterInfo::width member
1350 2004-04-08 Angus Leeming <leeming@lyx.org>
1352 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1353 "\providecommand" rather than "\newcommand", thereby preventing
1354 clashes with packages that define "\boldsymbol" themselves.
1357 2004-04-08 Angus Leeming <leeming@lyx.org>
1359 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1360 thereby squashing an unnecessary warning.
1362 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1364 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1367 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1369 * BufferView.C (setCursor): call redoParagraph (some insets could
1371 (putSelectionAt): remove the 'double update' trick
1373 * BufferView_pimpl.C (fitCursor): call refreshPar
1374 (workAreaDispatch): remove an uneeded update call
1375 (dispatch): remove some manual update calls
1377 * cursor.[Ch]: remove cached_y_, updatePos
1378 (selHandle): set noUpdate when appropriate
1380 * lyxfunc.C (dispatch): track if we need an update
1382 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1384 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1385 (paintSelection): cheap optimization, do not call cursorX when not
1387 (paintPars): change signature
1390 (paintTextInset): adjust
1394 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * lengthcommon.C: compilation fix: remove explicit array size from
1397 unit_name[] and friends
1399 2004-04-05 Angus Leeming <leeming@lyx.org>
1401 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1403 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1404 present only for the preferences dialog.
1405 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1407 2004-04-05 Angus Leeming <leeming@lyx.org>
1409 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1410 to enable the frontends to export changes to lyxrc correctly.
1412 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1414 2004-04-07 André Pönitz <poenitz@gmx.net>
1416 * cursor.[Ch] (selClear, adjust): remove math
1418 * cursor_slice.C: more agressive assert
1421 * BufferView_pimpl.C: rework mouse event dispatch
1428 2004-04-05 André Pönitz <poenitz@gmx.net>
1430 * cursor.[Ch] (valign, halign...): remove unneeded functions
1432 2004-04-05 Angus Leeming <leeming@lyx.org>
1434 * lyxlength.[Ch] (unit_name et al.): const-correct.
1436 2004-04-05 Angus Leeming <leeming@lyx.org>
1438 * BufferView_pimpl.C:
1447 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1449 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1451 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1453 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1455 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1456 * BufferView_pimpl.[Ch] (getStatus)
1457 * BufferView.[Ch] (getStatus): add
1458 * lyxfunc.C (getStatus): move lfuns handled in
1459 BufferView::dispatch to te function above
1460 * Cursor.C (setSelection): set selection() = true
1462 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1464 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1466 2004-03-31 Angus Leeming <leeming@lyx.org>
1468 * lyxfunc.C (dispatch): Fall through to the generic
1469 Dialogs::show("preamble").
1471 2004-03-31 Angus Leeming <leeming@lyx.org>
1473 * lyxfunc.C (dispatch): Fall through to the generic
1474 Dialogs::show("spellchecker").
1476 2004-03-31 Angus Leeming <leeming@lyx.org>
1478 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1481 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1486 * insetiterator.[Ch]:
1491 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1493 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1495 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1496 insets where we are putting the cursor.
1498 2004-03-31 Angus Leeming <leeming@lyx.org>
1501 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1503 * lyxrc.[Ch] (read, write): overloaded member functions taking
1504 a std::[io]stream arguments.
1506 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1508 2004-03-31 Angus Leeming <leeming@lyx.org>
1510 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1511 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1513 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1514 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1516 2004-03-31 Angus Leeming <leeming@lyx.org>
1518 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1519 the LFUN_ALL_INSETS_TOGGLE code.
1521 2004-03-30 Angus Leeming <leeming@lyx.org>
1523 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1524 has died. Fall through to the generic Dialogs::show("document").
1526 2004-03-30 Angus Leeming <leeming@lyx.org>
1529 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1530 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1532 * lyxfunc.C (getStatus, dispatch): define the actions for these
1533 lfuns. Little more than a cut and pste job from ControlDocument.C
1535 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1537 2004-03-30 Angus Leeming <leeming@lyx.org>
1540 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1541 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1543 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1544 open/closed state of ollapsable insets. Usage:
1546 all-inset-toggle <state> <name>, where
1547 <state> == "open" || "closed" || "toggle" and
1548 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1550 * lyxtext.h, text2.C (toggleInset): removed.
1552 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1553 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1554 now passes LFUN_INSET_TOGGLE to the found inset.
1556 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1557 is now invoked as "all-insets-toggle toggle branch".
1559 2004-03-30 Angus Leeming <leeming@lyx.org>
1563 * pariterator.[Ch]: added/corrected header blurb.
1565 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1567 * dociterator.[Ch]: add an inset_ member
1568 (backwardPos): implemented
1569 (backwardPos, forwardPos): use inset_ when the stack is empty.
1570 (doc_iterator_begin, doc_iterator_end): implemented
1571 * pariterator.[Ch]: adjust, add begin, end
1572 * insetiterator.[Ch]: adjust, add begin, end
1576 * BufferView_pimpl.C:
1577 * CutAndPaste.C: adjust
1579 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1581 * buffer.C: increment file format to 232.
1582 * LaTeXFeatures.C: add bibtopic package.
1583 * bufferparams.[Ch]: param \use_bibtopic.
1585 * lyxrc.[Ch]: add lyxrc bibtex_command
1586 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1588 * buffer.C: increment file format to 231.
1590 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1592 * dociterator.C: implement forwardPar
1593 * iterators.[Ch]: remove, replaced by
1594 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1596 * BufferView_pimpl.C:
1599 * bufferview_funcs.C:
1605 * Makefile.am: adjust
1607 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1609 * CutAndPaste.C (pasteSelection): fix 2 crashes
1610 (eraseSelection): fix a crash
1611 * paragraph_funcs.C: remove a warning
1613 2004-03-28 Angus Leeming <leeming@lyx.org>
1616 * LyXAction.C (init): new LFUN_PRINT.
1618 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1620 2004-03-27 Angus Leeming <leeming@lyx.org>
1623 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1625 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1627 2004-03-27 Angus Leeming <leeming@lyx.org>
1629 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1630 insetlist always contains non-null pointers to insets.
1632 2004-03-26 Angus Leeming <leeming@lyx.org>
1634 * src/BufferView_pimpl.C:
1635 * src/CutAndPaste.C:
1638 * src/output_plaintext.C:
1639 * src/outputparams.h:
1640 * src/paragraph_funcs.C:
1644 * src/frontends/controllers/ControlErrorList.C:
1645 * src/frontends/gtk/FileDialogPrivate.C:
1646 * src/frontends/gtk/GPainter.C:
1647 * src/frontends/gtk/GToolbar.C:
1648 * src/frontends/qt2/QRef.C:
1649 * src/mathed/math_scriptinset.C: squash compiler warnings.
1651 2004-03-26 Angus Leeming <leeming@lyx.org>
1653 * ispell.C (LaunchIspell::start):
1654 * lyx_cb.C (AutoSaveBuffer::start):
1655 invoke run(DontWait) rather than runNonBlocking().
1657 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1659 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1661 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * kbsequence.C (print): adjust
1665 * kbmap.C (printKeySym): rename and change signature
1666 (printKey): use LyXKeySym::print()
1668 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1670 * undo.C: add using std::advance to compile for stlport
1672 2004-03-24 Angus Leeming <leeming@lyx.org>
1674 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1675 it leads to a crash when no buffer is present.
1677 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 Martin Vermeer <martin.vermeer@hut.fi>
1680 * lyxfunc.C (dispatch):
1681 * bufferparams.C (readToken): use the new LColor::setColor
1683 * LColor.[Ch] (setColor): new version that takes two strings as
1684 argument and creates a new color entry if necessary
1686 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1688 * buffer.C (makeLaTeXFile): if the main latex file that is
1689 processed is usually a subdocument of some master, then pretend
1690 for a while that it is actually the master
1692 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1694 * buffer.C (getLabelList):
1695 (getBibkeyList): use getMasterBuffer()
1696 (getMasterBuffer): new method. Returns the main document in the
1697 case where one is using included documents.
1699 2004-03-25 André Pönitz <poenitz@gmx.net>
1703 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1705 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1707 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1708 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1710 * ParameterStruct.h: merge with ParagraphParameters
1712 * lyxtext.h: remove LyXText::parOffset() and getPar()
1714 * text3.C: Remove all 'manual' update calls. We do now one per user
1715 interaction which is completely sufficient.
1719 * BufferView_pimpl.C:
1720 * FontIterator.[Ch]:
1722 * ParagraphParameters.[Ch]:
1727 * cursor_slice.[Ch]:
1734 * output_docbook.[Ch]:
1735 * output_latex.[Ch]:
1736 * output_linuxdoc.[Ch]:
1737 * output_plaintext.[Ch]:
1739 * paragraph_funcs.[Ch]:
1740 * paragraph_pimpl.[Ch]:
1748 * frontends/controllers/ControlDocument.C:
1749 * frontends/controllers/ControlErrorList.C:
1750 * frontends/controllers/ControlSpellchecker.C:
1753 * insets/insetbase.h:
1754 * insets/insetbibitem.C:
1755 * insets/insetbox.C:
1756 * insets/insetbranch.C:
1757 * insets/insetcaption.C:
1758 * insets/insetcharstyle.C:
1759 * insets/insetcharstyle.h:
1760 * insets/insetcollapsable.C:
1761 * insets/insetcollapsable.h:
1762 * insets/insetert.C:
1763 * insets/insetfloat.C:
1764 * insets/insetfoot.C:
1765 * insets/insetmarginal.C:
1766 * insets/insetnote.C:
1767 * insets/insetoptarg.C:
1768 * insets/insettabular.C:
1769 * insets/insettext.C:
1770 * insets/insettext.h:
1771 * insets/insetwrap.C:
1772 * mathed/math_mboxinset.C:
1773 * mathed/math_nestinset.C:
1774 * mathed/math_scriptinset.C:
1775 * mathed/math_scriptinset.h:
1778 2004-03-24 Angus Leeming <leeming@lyx.org>
1780 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1781 deal with any child processes that have finished but are waiting to
1782 communicate this fact to the rest of LyX.
1784 2004-03-24 Angus Leeming <leeming@lyx.org>
1786 64-bit compile fixes.
1788 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1789 (c-tor): pass lyx::pos_types rather than ints.
1791 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1794 * text.C (Delete): compile fix.
1795 (getPar): ensure that function declaration is the same as that in
1798 2004-03-23 Angus Leeming <leeming@lyx.org>
1800 * ispell.C (LaunchIspell):
1801 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1802 a boost::shred_ptr rather than a std::auto_ptr.
1804 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1807 handle LFUN_FILE_INSERT_*
1809 * lyxrc.C (setDefaults, getDescription, output, read):
1810 * lyxrc.h: remove ps_command
1812 2004-03-22 Angus Leeming <leeming@lyx.org>
1814 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1815 Ensure that error_handler is processed once only and that all data
1816 is saved before attempting to output any warning messages.
1818 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1820 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1822 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1824 2004-03-19 André Pönitz <poenitz@gmx.net>
1826 * cursor.[Ch] (reset): take main text inset as argument
1828 * BufferView: adjust
1829 * BufferView_pimpl.C: adjust
1831 * paragraph.[Ch]: fix completely broken operator=()
1833 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1835 * LColor.C (getFromLyXName): make sure that the color name is used
1838 2004-03-17 Angus Leeming <leeming@lyx.org>
1841 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1843 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1844 dialog and to kill a forked process.
1846 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1848 * text2.C (setCursorFromCoordinates): fix font problem
1850 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1852 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1853 bogus "rebuild cursor" code
1855 2004-03-11 André Pönitz <poenitz@gmx.net>
1857 * buffer.[Ch]: use InsetText instead of LyXText as container for
1860 * dociterator.[Ch]: drop the BufferView * member which is not needed
1861 anymore after the change to buffer.C
1863 * paragraph_funcs.C:
1867 * BufferView_pimpl.[Ch]:
1869 * cursor_slice.[Ch]: adjust
1871 * text3.C: fix bug in mathDispatch
1873 2004-03-08 André Pönitz <poenitz@gmx.net>
1875 * undo.[Ch]: use 'StableDocumentIterator' as base for
1878 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1881 * bufferparams.[Ch]: add jurabib support and param.
1883 * LaTeX.C: add FIXME/comment.
1885 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1887 * buffer.C: increment file format to 230.
1889 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1891 * cursor.C (dispatch): avoid infinite loops
1893 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1895 * rowpainter.C (paintSelection): fix x coordinates
1897 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1899 * text.C (rowBreakPoint): fix breaking before displayed insets
1901 2004-03-01 André Pönitz <poenitz@gmx.net>
1903 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1905 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1909 * BufferView_pimpl.C:
1917 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1923 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1924 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1926 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1928 * Bidi.[Ch] (computeTables): const correctness
1929 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1930 fill_hfill, fill_label_hfill and x from Row
1931 * lyxtext.h: prepareToPrint returns a RowMetrics
1932 * rowPainter.C: adjust
1933 * text.C (prepareToPrint): use width, not textWidth. adjust
1934 (redoParagraphInternal, cursorX): adjust
1935 * text2.C (getColumnNearX): adjust
1936 (init): put a default value to the top LyXText::width
1938 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1940 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1942 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1944 * lyxtext.h: add FontIterator class
1946 * text.C (FontIterator, operator*, operator->, operator++): add
1947 (rowBreakPoint, setRowWidth): adjust (fixing a
1950 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * BufferView_pimpl.C (workAreaDispatch): allow also
1953 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1955 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1957 * text.C (rowBreakPoint): fix a bug showing with very large insets
1959 2004-02-25 André Pönitz <poenitz@gmx.net>
1962 * cursor.[Ch]: move some mathed specific code to mathed
1964 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1966 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1967 use_tempdir in preferences
1968 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1970 * lyx_main.C: ensure that tempdir is valid
1971 * lyxlex.h: correct typo
1972 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1973 * paragraph.[Ch] (isMultiLingual): make const
1974 * cursor.[Ch] (openable): make const
1976 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1978 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1980 2004-02-20 André Pönitz <poenitz@gmx.net>
1982 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1984 * cursor.[Ch]: prepare for localized getStatus()
1990 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1992 2004-02-20 André Pönitz <poenitz@gmx.net>
1994 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1996 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1998 * text2.C (setCursorFromCoordinates): switch to absolute coords
2000 (cursorDown): adjust
2001 * text3.C (dispatch): adjust
2003 2004-02-16 André Pönitz <poenitz@gmx.net>
2005 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2008 * cursor_slice.[Ch]: remove unneeded acessor function
2010 * lyxtext.h: rename rtl() to isRTL()
2018 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2020 * rowpainter.C (paintSelection): coord fix
2022 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2024 * Spacing.C: compile fix
2026 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2028 * cursor.C (dispatch): restore current_ before returning
2030 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2032 * text2.C (cursorUp, cursorDown): fix coords
2035 2004-02-12 André Pönitz <poenitz@gmx.net>
2040 * text3.C: add LCursor & parameter to most cursor movement functions
2041 remove usage of LyXText::cursorRow() and cursorPar()
2043 * cursor.[Ch]: add textRow() needed members
2046 * BufferView_pimpl.C:
2049 * BufferView_pimpl.C: adjust
2051 2004-02-11 André Pönitz <poenitz@gmx.net>
2055 * BufferView_pimpl.C: shift undo/redo handling
2057 * cursor.[Ch]: fix mathed crash
2060 * lyxtext.h: move selectionAsText to LCursor
2068 * rowpainter.C: fix excessive drawing
2070 2004-02-06 André Pönitz <poenitz@gmx.net>
2073 * BufferView_pimpl.[Ch]:
2074 * text3.C: move some text specific LFUN handling
2076 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2078 * text3.C (checkInsetHit): adjust coords
2079 * text2.C (getColumnNearX): adjust coords
2080 (edit): adjust coords
2081 * text.C (getRowNearY): add two asserts
2083 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2086 * format.C: add using std::distance to compile on gcc 2.95/stlport
2088 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2090 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2092 2004-02-04 André Pönitz <poenitz@gmx.net>
2094 * BufferView.[Ch] (insertInset):
2095 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2100 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2102 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2103 on the default clause of the switch
2104 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2105 wasn't catched by LCursor::dispatch
2107 2004-02-03 André Pönitz <poenitz@gmx.net>
2110 * cursor.[Ch]: some additional asserts
2112 * undo.[Ch]: remove LyXText dependency in interface
2116 * lyxtext.h (firstPar, lastPar): remove dead functions
2121 * paragraph.[Ch]: adjust
2123 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2125 * lyxfind.C (find): fix argument order in call to ::find
2127 2004-02-02 André Pönitz <poenitz@gmx.net>
2129 * cursor.[Ch]: remove direct access to anchor
2131 * text.C: remove findText() hack
2133 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2135 * iterators.[Ch] (lockPath): remove in favour of...
2136 * BufferView.[Ch] (setCursor): this addition
2137 * BufferView.C (putSelectionAt): adjust
2138 * undo.C (performUndoOrRedo): adjust
2139 * lyxfunc.C (dispatch): adjust
2141 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2143 * iterators.C (lockPath): add a missing slice
2144 * undo.C (performUndoOrRedo): remove redundant positioning code
2146 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2148 * vc-backend.C (scanMaster): ";" -> ';'
2150 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2152 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2153 std::binary_function
2155 * lyxtextclass.C (compare_name): rename to...
2156 (LayoutNamesEqual): ...this
2158 * lyxlex_pimpl.C (compare_tags): inherit from
2159 std::binary_function, put back into anon namespace
2161 * lyxfind.C (MatchString): inherig from std::binary_function
2162 (findChange): use empty() istead of !size()
2164 * format.C (FormatNamesEqual): new functor
2171 * converter.C (compare_Converter): rename to...
2172 (ConverterEqual): ...this, and fixup a bit.
2173 (getConverter): use it, and make function const
2174 (getNumber): use it, and make function const
2178 * bufferlist.C: add using boost::bind
2180 * MenuBackend.C (MenuNamesEqual): new functor
2181 (hasMenu): use it, and make function const
2182 (hasSubmenu): use nested bind to get rid of compare_memfun.
2184 2004-01-30 André Pönitz <poenitz@gmx.net>
2186 * BufferView_pimpl.C:
2189 * cursor_slice.[Ch]:
2192 * paragraph_funcs.C:
2193 * paragraph_funcs.h:
2197 * text3.C: move some of the edit(x,y) handling to the insets
2198 some coordinate changes.
2200 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2202 * text.C: add using statements for std::advance and std::distance
2204 * paragraph.C: add using statement for std::distance
2206 * lyxfind.C: add using statement for std::advance
2208 * cursor.C (region): remove std:: from swap
2209 (openable): use nucleus in stead of operator->
2211 * BufferView.C: add using statements for std::distance and std::swap
2213 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2215 * iterators.C: Remove the pimple, move the needed structures to
2216 the header file. Create accessor for the positions stack.
2217 (asPosIterator): remove function
2219 * PosIterator.C (PosIterator): move constructors to top of file
2220 (PosIterator): reimplement the constructor taking a ParIterator in
2222 (setFrom): new function
2223 (operator!=): inline it
2225 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2227 * lyxfind.C (replaceAll): use std::advance
2229 * iterators.h: inherit from std::iterator.
2231 * PosIterator.C (advance, distance): remove
2232 * PosIterator.h: interit from std::iterator.
2234 2004-01-26 André Pönitz <poenitz@gmx.net>
2237 * BufferView_pimpl.[Ch]:
2241 * bufferview_funcs.C:
2251 * output_linuxdoc.C:
2252 * output_plaintext.C:
2254 * paragraph_funcs.[Ch]:
2255 * paragraph_pimpl.[Ch]:
2261 * text3.C: more IU: dumps most of the rest of the mathcursor
2262 implementation into cursor.[Ch]; "globalize" a bit of it.
2264 2004-01-25 Angus Leeming <leeming@lyx.org>
2266 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2268 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2270 * LaTeXFeatures.h: add nice_ and nice() const
2271 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2273 2004-01-20 André Pönitz <poenitz@gmx.net>
2276 * BufferView_pimpl.C:
2278 * bufferview_funcs.C:
2280 * cursor_slice.[Ch]:
2291 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2292 LCursor and mathcursor parts to LCursor and InsetBase.
2294 2004-01-15 André Pönitz <poenitz@gmx.net>
2296 * cursor_slice.[Ch]: add a few covienience functions
2298 * funcrequest.[Ch]: remove BufferView * member
2300 * BufferView_pimpl.C:
2307 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2309 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2311 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2312 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2314 2004-01-13 André Pönitz <poenitz@gmx.net>
2317 * lyxtext.h: hide cursor and selection anchor behind accessor function
2320 * BufferView_pimpl.[Ch]:
2322 * bufferview_funcs.C:
2332 * cursor_slice.[Ch]: some integer type changes for inset unification
2334 * lyxcursor.[hC]: remove, it's CursorSlice now.
2337 * BufferView_pimpl.[Ch]:
2338 * bufferview_funcs.C:
2344 * textcursor.[Ch]: adjust
2346 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2348 * text2.C (undoSpan): add and use
2349 * text.C (breakParagraph): use undoSpan (fix bug 578)
2352 2004-01-08 Angus Leeming <leeming@lyx.org>
2354 * BufferView_pimpl.C (MenuInsertLyXFile):
2355 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2356 * lyxfunc.C (menuNew, open, doImport):
2357 FileFilterList change to the FileDialog open and save functions.
2359 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2361 * ShareContainer.h: make isEqual and isUnique adaptable
2363 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2365 2004-01-07 Angus Leeming <leeming@lyx.org>
2368 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2370 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2372 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2373 functions replacing find, replace and replaceAll.
2375 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2376 LFUN_WORDFIND(FORWARD|BACKWARD).
2378 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2380 * text.C (breakParagraph): remove an outdated #warning
2382 2004-01-07 André Pönitz <poenitz@gmx.net>
2384 * lyxfind.C: somewhat clearer logic
2386 * text.C: prevent crash in cursorX on unitialized row cache
2388 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2390 * lyxcursor.[Ch] (operator>): add
2391 * textcursor.C (selStart, selEnd): use std::min and std::max
2393 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2395 * Chktex.C: include boost/format.hpp
2397 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2399 * InsetList.C: replace functor MathcIt with adaptable functor
2401 (insetIterator): modify accordingly
2403 * BranchList.h: move the BranchNamesEqual functor here from...
2404 * BranchList.C: ... to here
2406 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2408 (add): replace a finding loop with std::find_if.
2410 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2412 * output_docbook.C: moving LatexParam functionality into
2415 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2417 * buffer.C: increment format to 229.
2419 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2422 * lyx_sty.[Ch]: remove minipageindent_def
2428 * text3.C: remove LFUN_INSET_MINIPAGE
2430 2003-12-28 Angus Leeming <leeming@lyx.org>
2432 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2434 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2436 * text2.C (setParagraph): fix off-by-one crash
2438 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2440 * output_docbook.C: header stuff for AGU
2442 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2444 * text2.C (redoCursor): remove
2447 * BufferView_pimpl.C: remove calls to redoCursor and
2448 setCursor(cursor.par(), cursor.pos()) all around
2450 2003-12-15 Angus Leeming <leeming@lyx.org>
2452 * buffer.C: up the format to 228.
2454 2003-12-15 André Pönitz <poenitz@gmx.net>
2456 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2461 * BufferView_pimpl.C:
2470 2003-12-15 Angus Leeming <leeming@lyx.org>
2472 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2473 than getFromGUIName to manipulate the color.
2475 2003-12-14 Angus Leeming <leeming@lyx.org>
2477 * BranchList.[Ch]: minimize the API.
2478 (Branch::getBranch, getColor): now return a 'const &'.
2479 (Branch::setSelected) now returns a bool set to true if the
2480 selection status changes.
2481 (BranchList::clear, size, getColor, setColor, setSelected,
2482 allBranches, allSelected, separator): removed.
2483 (BranchList::find): new functions, returning the Branch with
2485 (BranchList::add, remove): return a bool indicating that
2486 the operation was successful.
2488 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2489 new InsetBranch::isBranchSlected member function.
2491 * LColor.[Ch]: mimimize the API.
2492 (fill): renamed as addColor and made private.
2493 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2494 versions of these functions taking a string arg have been removed.
2496 * bufferparams.C (readToken):
2497 * lyxfunc.C (dispatch):
2498 * lyxrc.C (read): changes due to the altered BranchList and
2501 * factory.C (createInset, readInset): changes due to altered
2504 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2507 * lyxfunc.C: remove insetminipage. "minipage-insert"
2508 now produces a frameless minipage box inset.
2510 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2512 * textcursor.[Ch] (selStart,selEnd): add new methods
2513 remove selection::start, end, use LyXCursor::operator<
2514 * lyxcursor.[Ch] (operator<): add
2515 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2516 * BufferView.[Ch] (unsetXSel): add
2517 * text2.C (clearSelection): use unsetXSel,adjust
2520 * rowpainter.C: adjust
2521 * bufferview_funcs.C (put_selection_at): adjust
2523 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2525 * BufferView_pimpl.C: small coord. correction
2527 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2529 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2530 dragging over the splash screen.
2532 2003-12-11 Angus Leeming <leeming@lyx.org>
2534 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2535 as it is now handled in LyXText::dispatch.
2537 * text3.C (doInsertInset): remove a level of nesting.
2539 2003-12-11 Angus Leeming <leeming@lyx.org>
2541 * factory.C (createInset): changes due to the changed interface to
2542 InsetCommandMailer::string2params.
2544 2003-12-10 Angus Leeming <leeming@lyx.org>
2546 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2547 'dialog-show-new-inset <inset name>'
2549 2003-12-10 Angus Leeming <leeming@lyx.org>
2551 * buffer.C: up the format to 227.
2553 * factory.C: the box inset is now identified simply by 'Box'.
2555 2003-12-10 Angus Leeming <leeming@lyx.org>
2557 * buffer.C: up the format to 226.
2559 * factory.C: the note inset is now identified simply by 'Note'.
2561 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2563 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2564 when a pit is enough. Standarize a couple of loops.
2566 2003-12-05 Angus Leeming <leeming@lyx.org>
2568 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2569 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2570 data to the re-worked "log" dialog.
2572 2003-12-03 André Pönitz <poenitz@gmx.net>
2578 * paragraph_funcs.C:
2580 * text2.C: use Inset::getText instead of Inset::getParagraph
2582 2003-12-03 André Pönitz <poenitz@gmx.net>
2586 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2587 InsetText::read() as LyXText::read()
2589 2003-12-02 Angus Leeming <leeming@lyx.org>
2591 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2592 type. Add a comment in the implementation that the function uses
2593 the stream's bad() function rather than fail() as the std::streams
2596 2003-12-02 André Pönitz <poenitz@gmx.net>
2598 * lyxlex.[Ch]: make interface more similar to std::stream
2600 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2602 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2604 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2606 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2608 * vspace.[Ch]: remove VSpace::NONE
2610 2003-12-01 André Pönitz <poenitz@gmx.net>
2613 * lyxtext.h: move ParagraphList member to LyXText
2614 rename LyXText::ownerParagraphs to LyXText::paragraph
2617 * bufferview_funcs.C:
2627 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2629 * undo.C: fix cursor positioning
2631 2003-12-01 John Levon <levon@movementarian.org>
2633 * BufferView_pimpl.C: fix a crash on exit with
2636 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2638 * BranchList.C: fix setSelected() method.
2640 2003-11-28 André Pönitz <poenitz@gmx.net>
2642 * ParagraphParameters.[Ch]:
2643 * ParameterStruct.h: remove space above/below from Paragraph to
2646 * BufferView_pimpl.C:
2652 * paragraph_funcs.C:
2658 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2660 * factory.C: Syntax change for CharStyles
2662 2003-11-28 André Pönitz <poenitz@gmx.net>
2667 * buffer.[Ch]: move LyXText member
2669 2003-11-28 André Pönitz <poenitz@gmx.net>
2671 * BufferView.[Ch]: make LyXText * text a private member
2673 * BufferView_pimpl.C:
2684 * output_plaintext.C: cleanup
2686 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2689 * lyxtextclass.[Ch]: parametrize SGML document header
2691 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2694 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2697 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2699 * text2.C (setFont): rework using PosIterator (no more recursive)
2700 (setCharFont): no more needed
2701 (setLayout): no more selection cursors fiddling (done by redoCursor)
2702 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2703 destroy remaining ones)
2705 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2707 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2709 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2712 * text3.C: adjust + re-allow multi par depth changes
2713 * textcursor.C: simplify a bit
2715 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2721 * src/output_docbook.C:
2722 * src/output_latex.C:
2727 * src/text2.C: Introducing a number of tags parametrizing various
2728 XML formats that we may want to support
2730 2003-11-25 André Pönitz <poenitz@gmx.net>
2732 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2734 * lyxtext.h (leftMargin/rightMargin): simplify interface
2741 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2743 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2744 master file to any child files. Fixes bug 546.
2746 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2748 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2750 2003-11-24 André Pönitz <poenitz@gmx.net>
2752 * rowpainter.C: simplification
2754 * text2.C (updateCounters): remove call to redoParagraph on
2755 changed labels as this is far too expensive.
2757 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2759 * converter.C (convert): fix a crash: this function gets
2760 called with buffer == 0 from importer code.
2762 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2764 * text3.C (cursorPrevious): make sure that we do not compare
2765 iterators form different containers.
2768 * rowpainter.C (paintSelection): make sure that we do not compare
2769 iterators from different containers.
2771 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2772 iterators from different ParagraphList containers.
2775 * text2.C (LyXText): change order of initialization slightly
2776 (operator=): new function. copy all variables except cache_par_
2777 (moveUp): make sure that we do not compare iterators from
2778 different ParagraphList constainers.
2781 * text.C (firstPar): new function
2782 (lastPar): new function
2783 (endPar): new function
2785 * lyxtext.h: move things around and group public functions, public
2786 variables, private functions, private variables
2788 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2790 * factory.C: change call to InsetERT constructor to avoid
2791 additional invocation of method status
2792 * text2.C (toggleInset): remove redundant update() call
2793 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2794 instead of a Bufferview pointer
2796 2003-11-21 André Pönitz <poenitz@gmx.net>
2798 * rowpainter.C: simplification
2800 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2802 * text3.C (dispatch): make possible to extend a word/row selection
2805 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2807 * lyxtext.h: x0_,y0_ -> xo_,yo_
2808 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2809 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2810 * rowpainter.C (paintRows): paint full paragraphs
2812 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2814 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2817 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2819 * lyxtext.h: add x0_, y0_
2820 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2821 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2823 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2825 * text2.C (setCursorIntern): move the x_target update here *
2826 * text3.C: change some bv() to true/false in calls to
2827 cursorUp/Down/Right/Left
2828 * cursor.C: use helper function.
2830 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2832 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2833 * paragraph_funcs.[Ch]: correct comment
2834 * rowpainter.C: do not paint selections away from bv->cursor()
2835 Fix a long standing selection painting bug.
2836 * text3.C: generalize mouse-selection code to LyXTexts other that
2838 * textcursor.C: do not use y coords if we can use par offsets
2840 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2842 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2843 cursor position after e.g. inset insert)
2845 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2847 * lyxfind.C (replace): adjust to locking removal + some
2850 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2852 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2855 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2858 * output_docbook.C: XML sanitation: new layout
2859 parameters InnerTag and CommandDepth
2861 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2863 * BufferView_pimpl.C:
2865 * text3.C: Fix the insertion and modification of button-style
2868 2003-11-13 André Pönitz <poenitz@gmx.net>
2870 * InsetList.[Ch]: remove deleteLyXText
2872 * paragraph.[Ch]: cache beginOfBody position
2877 * text3.C: remove superfluous update() calls
2881 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2883 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2884 * BufferView.C (fitLockedInsetCursor): remove
2885 * cursor.[Ch] (getDim): add
2886 * text.C (getRowNearY): add faster version
2887 * text3.C: remove some update calls
2889 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2901 * text3.C: The Character Style /XML short element patch.
2903 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2906 * factory.C: Small step to solving 'unable to insert some insets'
2909 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2911 * cursor.[Ch] (updatePos): new function for updating the y
2912 position of the tip inset
2913 * bufferview_funcs.C (put_selection_at):
2914 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2916 2003-11-11 André Pönitz <poenitz@gmx.net>
2918 * text.C: remove big comment on invalid Paragraph pointers as it is
2921 2003-11-11 André Pönitz <poenitz@gmx.net>
2923 * text_funcs.[Ch]: merge with ...
2931 * Makefile.am: remove text_funcs.[Ch]
2933 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2935 * cursor.C (getPos): return absolute cached y coord
2937 * BufferView_pimpl.C (fitCursor): new simplistic code
2938 (workAreaDispatch): add a fitCursor call
2940 2003-11-10 André Pönitz <poenitz@gmx.net>
2943 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2945 2003-11-10 André Pönitz <poenitz@gmx.net>
2947 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2948 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2949 indicate that the cursor needs to leave an inset
2951 * lyxtext.h: remove inset locking
2953 * cursor.[Ch]: re-implement functionality provided by inset locking
2956 * BufferView_pimpl.[Ch]:
2958 * bufferview_funcs.[Ch]:
2970 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2972 * PosIterator.[Ch]: replace the stack with a vector, add inset
2974 * iterators.[C]: adjust
2976 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2978 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2980 * paragraph_funcs.C (readParToken): put the correct id in the
2981 error item, not the id of the top paragraph
2983 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2985 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2986 * bufferview_funcs.C (put_selection_at): use the above
2988 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2990 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2992 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * output_linuxdoc.h:
2995 * output_plaintext.h:
2997 * output_docbook.h: add #include statements
2999 2003-11-05 José Matos <jamatos@lyx.org>
3001 * output_docbook.[Ch]:
3002 * output_latex.[Ch]:
3003 * output_linuxdoc.[Ch]:
3004 * output_plaintext.[Ch]: New files for output formats.
3005 * output.[Ch]: New file for helper functions.
3008 * paragraph_funcs.[Ch]: output functions moved to new files.
3010 * outputparams.h: rename of latexrunparams.h
3018 * paragraph_funcs.[Ch]:
3019 * paragraph_pimpl.[Ch]:
3020 * tabular.[Ch]: rename ascii to plaintext
3021 and LatexRunParams to OutputParams.
3023 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3025 * iterators.[Ch] (text): require bv argument
3026 * undo.C (recordUndo):
3027 * lyxfunc.C (dispatch):
3028 * bufferview_funcs.C (put_selection_at): adjust
3030 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3032 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3034 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3036 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3039 2003-11-04 André Pönitz <poenitz@gmx.net>
3041 * cursor.[Ch]: restructure
3044 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3046 * iterators.[Ch] (asCursor): remove
3048 * lfuns.h: remove LFUN_INSET_EDIT
3054 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3056 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3058 * lyxfind.[Ch]: complete overhaul
3059 * BufferView_pimpl.C:
3061 * paragraph.[Ch] (insert): add
3063 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3067 * text.C: remove dead spellcheck code
3069 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * dispatchresult.h: add a val setter
3073 * cursor.C (dispatch): use a tempvar for data_[i]
3075 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3077 * PosIterator.[Ch]: compile fix
3079 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3081 * text.C (cursorPar): deactivate the cursor cache
3083 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3085 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3087 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * text3.C (dispatch): adjust for new DisptchResult semantics.
3091 * lyxfunc.C (dispatch): handle update when return from
3092 Cursor::dispatch, adjust for new DispatchResult semantics.
3094 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3095 DispatchResult(true) mean to not update. Add class functions for
3096 setting dispatched and update, as well as reading.
3098 * cursor.C (dispatch): don't handle update here
3100 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3103 * trans_mgr.C: adjust
3105 * paragraph_funcs.C (readParToken): exception safety
3107 * lyxvc.h: store the vcs pointer in a scoped_ptr
3110 * lyxsocket.C (serverCallback): exception safety
3112 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3114 * ispell.C (clone): make it return a auto_ptr
3116 * factory.C (createInset): exception safety
3117 (readInset): exception safety
3119 * bufferlist.C (newBuffer): exception safety
3121 * Thesaurus.C (Thesaurus): use initialization for aik_
3123 * MenuBackend.C (expandToc): exception safety.
3125 2003-11-03 André Pönitz <poenitz@gmx.net>
3129 * bufferview_funcs.C: remove getInsetFromId()
3132 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3138 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3140 * PosIterator.C (distance, advance): new
3141 * bufferview_funcs.[Ch] (put_selection_at): new
3142 * iterators.[Ch] (lockPath): new
3144 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3146 * iterators.[Ch] (asPosIterator): added
3147 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3148 * PosIterator.[Ch]: added
3150 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * cursor.C (dispatch):
3155 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3157 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3158 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3159 contructor, add a class function dispatched. Remove operator>=
3161 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3163 * debug.C: only use the default constructor for debugstream
3166 * main.C (main): include debug.h and setup the lyxerr streambuf
3169 2003-10-31 José Matos <jamatos@lyx.org>
3171 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3173 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3174 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3175 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3176 * paragraph_pimpl.C (simpleTeXSpecialC):
3177 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3178 add LatexRunParams argument.
3180 * exporter.C (Export): change call accordingly.
3182 * latexrunparams.h: add new member to take care of the other backends.
3183 2003-10-30 José Matos <jamatos@lyx.org>
3185 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3186 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3187 factorise code for paragraph output.
3189 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3192 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * text3.C (dispatch):
3195 * lyxfunc.C (dispatch):
3196 * cursor.C (dispatch):
3197 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3199 * dispatchresult.h: make the dispatch_result_t ctor explicit
3201 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3204 * buffer.C: small refactoring of docbook stuff
3206 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3211 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3214 operator dispatch_result_t, and operators for == != and >=
3216 * cursor.C (dispatch): adjust for operator dispatch_result_t
3217 removal. comment out call to update
3219 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3221 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3232 * dispatchresult.h: new file, DispatchResult broken out of
3235 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3237 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3239 * text.C (rowBreakPoint): put a hack inside #if 0
3241 2003-10-28 André Pönitz <poenitz@gmx.net>
3245 * paragraph_funcs.C:
3248 * text2.C: general cleanup (lots of small stuff)
3250 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3252 * text2.C (cursorEnd): simple fix to the "end key goes to one
3253 before the end on last row" bug
3255 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3257 * text.C (backspace): fix the "zombie characters"
3259 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3261 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3263 2003-10-27 André Pönitz <poenitz@gmx.net>
3265 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3267 * factory.C: handle new InsetPagebreak, InsetLine
3269 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3270 and move handling into new InsetPagebreak, InsetLine
3272 * BufferView_pimpl.C:
3274 * ParagraphParameters.C:
3275 * ParameterStruct.h:
3280 * paragraph_funcs.C:
3281 * paragraph_pimpl.C:
3287 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3290 * lyxrow_funcs.[Ch]:
3296 * text3.C: remove lastPos uses in favour of Row::endpos
3298 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3300 * undo.C (performUndoOrRedo): fix two crashes by setting a
3301 cursor by hand and reordering some calls. Use bv->lockInset instead
3302 of inset->edit because the latter loses cursor information
3304 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3306 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3308 (rowBreakPoint): fix width. change point to point + 1.
3309 Add a missing check.
3311 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3314 * lyxfunc.C: fix (at least partly) the problems
3315 with the Nav menu and headers inside branch insets
3318 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3320 * paragraph.C (getChar): add strong asserts
3322 * lyxrow_funcs.C (lastPos): remove hideous hack
3324 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3325 (fill): adjust to that (avoid an infinite loop)
3327 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3329 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3331 2003-10-23 André Pönitz <poenitz@gmx.net>
3333 * RowList_fwd.h: change list<> to vector<> to gain speed
3334 after suggestion from Alfredo
3336 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3338 * lyxtext.h: move the bidi stuff from here...
3341 * Bidi.[Ch]: ... to here
3343 2003-10-23 André Pönitz <poenitz@gmx.net>
3346 * text.C (isLastRow, isFirstRow): new functions
3348 * paragraph.h: new width cache member
3350 * rowpainter.C: replace RowList::iterator with Row & where possible
3352 * lyxfunc.C: replace several view()->text with a single call
3354 * toc.C: fix 'unused' warning
3356 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3359 when woring with stream::pos_type
3360 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3362 2003-10-22 André Pönitz <poenitz@gmx.net>
3365 * text.C: use Row & instead of RowList::iterator
3367 * lyxrow.h: rename end() to endpos()
3373 2003-10-22 Angus Leeming <leeming@lyx.org>
3375 * buffer.[Ch] (fully_loaded): new member function, returning true
3376 only when the file has been loaded fully.
3377 Used to prevent the premature generation of previews and by the
3378 citation inset to prevent computation of the natbib-style label.
3380 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3381 templates are all set up.
3383 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3385 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3387 * text.C: fixed an "oops" in the "is a bit silly"
3390 2003-10-21 André Pönitz <poenitz@gmx.net>
3392 * FuncStatus.[Ch]: small stuff, whitespace
3394 * lyxfont.[Ch]: operator<<() for debug reasons
3398 * lyxtext.h: whitespace, spelling
3400 * paragraph.C: naming of variables
3403 * text2.C: small stuff
3406 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3408 * text.C: (1) finish off the inset display() work;
3409 (2) fix the "is a bit silly" bug (accessing char
3412 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3414 * text.C: re-introduce display() for insets, fixing the
3415 various bugs (stretch of line above, math inset
3418 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3420 * text.C (rightMargin): remove spurious semicolon
3422 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3425 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3427 * text3.C: fix one crash due to wrong cursor def
3429 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * vc-backend.C (scanMaster): make the regex static
3433 * LaTeX.C (scanAuxFile): make the regexs static
3435 * text3.C (doInsertInset, dispatch, dispatch):
3436 * text2.C (cursorUp, cursorDown):
3437 * text.C (selectNextWordToSpellcheck):
3438 * BufferView_pimpl.C (dispatch):
3439 * lyxfunc.C (dispatch): localDispatch -> dispatch
3441 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3443 * lyxsocket.C: include <cerrno>
3445 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * lyxfunc.C (dispatch): remove textcache stuff
3449 * bufferlist.C (release): remove textcache stuff
3452 * TextCache.C: delete file
3453 * TextCache.h: delete file
3455 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3457 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3458 delete of the bv_->text.
3459 (resizeCurrentBuffer): remove texcache stuff
3460 (workAreaResize): ditto
3462 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3467 2003-10-16 André Pönitz <poenitz@gmx.net>
3474 * text3.C: speed up by storing y positions per paragraph plus per-row
3475 offset instead of having a 'full' y position in the row.
3477 2003-10-15 André Pönitz <poenitz@gmx.net>
3481 * undo.[Ch]: make undo aware of inner insets
3483 2003-10-14 Angus Leeming <leeming@lyx.org>
3485 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3486 static member functions LyX::ref() and LyX::cref.
3487 (lastfiles): new accessor functions for the new lastfiles_ member var.
3488 (addLyXView, views_): add a new LyXView to the list of views_.
3489 (updateInset): loop over all LyXViews to call their own updateInset
3490 member function, returning a pointer to the Buffer owning the inset.
3492 * BufferView_pimpl.C (loadLyXFile):
3493 * MenuBackend.C (expandLastfiles):
3494 * bufferlist.C (MenuWrite, QuitLyX):
3495 lastfiles is no longer a global variable.
3496 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3498 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3499 static function. Access through LyX::cref().emergencyCleanup().
3501 2003-10-14 André Pönitz <poenitz@gmx.net>
3503 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3505 * undo.[Ch]: restoring part of 'undo in insets'
3508 * undo_funcs.[Ch]: merge with undo.[Ch]
3510 * tabular.C: small cleansing stuff
3512 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3514 * paragraph_funcs.C (readParToken): report unknown insets as error
3515 boxes. Use the outer paragraph as location (also for unknown
3518 * factory.C (readInset): do not abort on reading an unknown inset.
3519 Eat it and return 0.
3521 2003-10-13 Angus Leeming <leeming@lyx.org>
3523 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3525 * lyxrc.C: displayTranslator is now a function,
3526 declared in GraphicsTypes.h.
3528 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3530 * format.C: new placeholder $$a to pass the socket address.
3532 * bufferlist.[Ch]: new function getBufferFromTmp.
3534 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3535 files in the temporary dir.
3537 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3539 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3541 * Makefile.am: add lyxsocket.[Ch].
3543 * lyx_main.C (error_handler): handle SIGPIPE.
3545 2003-10-13 André Pönitz <poenitz@gmx.net>
3547 * BufferView_pimpl.C:
3552 * undo_funcs.[Ch]: use paroffset_type instead of
3553 ParagraphList::iterators to prevent multiple conversion
3554 (and get a more robust interface)
3556 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3560 * text3.C (dispatch): ditto
3562 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3565 move the onlyfile, use onlyfile instead of foundfile in a couple
3568 * DepTable.C (update): flush the error stream a bit more
3570 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * lyxserver.C (callback): adjust
3574 * lyxfunc.C (getStatus): add a missing brace in commented code
3575 (ensureBufferClean): reindent
3576 (dispatch): delete version taking a string
3578 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * LaTeX.C (deplog): move found file handlig from here...
3581 (handleFoundFile): .. to new function here.
3582 (deplog): make sure to discover several files mentioned on the
3585 2003-10-10 André Pönitz <poenitz@gmx.net>
3592 * text3.C: fix some of the tabular crashes
3594 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3596 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3598 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3600 2003-10-09 André Pönitz <poenitz@gmx.net>
3602 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3605 * BufferView_pimpl.C:
3606 * bufferview_funcs.C:
3617 * undo_funcs.C: adjust
3619 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * text2.C (incrementItemDepth): new function, use a backtracking
3622 algorithm to discover the correct item depth.
3623 (resetEnumCounterIfNeeded): new function, use a backtracking
3624 algorithm to discover if counter reset is needed.
3625 (setCounter): use them. Simplify a bit. Add different labels for
3626 different item depths for itemize.
3628 * paragraph.C (Paragraph): remove initialization of enumdepth
3631 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3632 enumerate and itemize. Change the type of itemdepth to signed char.
3634 2003-10-08 André Pönitz <poenitz@gmx.net>
3636 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3641 * tabular.[Ch]: fix crash after 'row-insert'
3643 2003-10-08 Angus Leeming <leeming@lyx.org>
3645 Fix doxygen warnings.
3647 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3648 Remove CutAndPaste:: prefix from header file declaration.
3650 * LColor.h (fill): remove LColor:: prefix from declaration.
3652 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3653 use lyx::depth_type rather than Paragraph::depth_type so that
3654 header file and .C file match.
3656 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3658 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3659 * aspell.C: \file aspell_local.C -> \file aspell.C
3660 * gettext.C: \file gettext.C -> \file src/gettext.C
3661 * gettext.h: \file gettext.h -> \file src/gettext.h
3662 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3663 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3664 * text.C: \file text.C -> \file src/text.C
3666 * toc.C: move comment so that doxygen is not confused.
3668 2003-10-07 Angus Leeming <leeming@lyx.org>
3670 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3672 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3675 * aspell_local.h: add forgotten std::string's.
3677 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3684 * text3.C: The Box patch. Fancybox support, minipage, parbox
3686 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3692 * ParagraphParameters.h:
3702 * lyxtextclasslist.h:
3705 * paragraph_pimpl.C:
3706 * textcursor.h: add <string> and other small fixes to make Lars'
3707 std::string patch compile with STLport.
3709 2003-10-06 Angus Leeming <leeming@lyx.org>
3711 * LColor.h: Add missing #include <string>.
3713 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * All most all file in all subdirs: Make <string> be the prefered
3716 way of getting to std::string, add using declarations.
3718 2003-10-06 André Pönitz <poenitz@gmx.net>
3720 * metricsinfo.C: initialize LyXFont before changing attribute.
3721 (fixes the 'math in \emph is upright' bug)
3723 2003-10-06 André Pönitz <poenitz@gmx.net>
3725 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3727 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3730 * paragraph_pimpl.C: Small fixes to build using STLport
3732 2003-10-02 André Pönitz <poenitz@gmx.net>
3735 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3737 2003-10-01 André Pönitz <poenitz@gmx.net>
3739 * factory.C: assert early
3741 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * lyx_main.C: remove the global debug object
3745 * debug.h: adjust for new debugstream
3747 * debug.C: adjust for new debugstream and keep the global debug
3750 2003-09-22 Angus Leeming <leeming@lyx.org>
3752 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3753 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3754 an incomplete class LyXFont.
3756 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3758 * factory.C: bug fix in branches
3760 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * lyxfunc.C (processKeySym): adjust
3764 (dispatch): change arg name from ev to func, adjust
3765 (sendDispatchMessage): ditto
3767 * lyx_main.C (defaultKeyBindings): adjust keybindings
3768 (deadKeyBindings): ditto
3770 * kbsequence.C (addkey): return a FuncRequest
3772 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3774 * kbmap.C (bind): take a FuncRequest as arg, adjust
3777 (defkey): change to take a FuncRequest as arg, adjust
3778 (findbinding): take a FuncRequest as arg, adjust.
3780 * funcrequest.h (operator=): added
3782 * funcrequest.C (FuncRequest): default kb_action changed from
3783 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3785 * buffer.C (dispatch): simplify
3786 (dispatch): adjust to take a FuncRequest as arg, adjust
3788 * boost.C (assertion_failed): change assertion message slightly
3790 * ToolbarBackend.C (read): simplify
3792 * MenuBackend.C (binding): adjust call to findbinding, add a
3793 message if no binding is found.
3795 (expandToc): correct by adding a empty FuncRequest
3797 * LyXAction.C: include <boost/assert.hpp>
3798 (isPseudoAction): delete function
3799 (LookupFunc): change name to...
3800 (lookupFunc): this. change return type to FuncRequest.
3801 (getActionName): take kb_action as arg, simplify
3802 (funcHasFlag): add an assert, simplify.
3804 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * toc.C (action): return a FuncRequest, simplify
3808 * lyxfunc.C (processKeySym): adjust
3809 (getStatus): delete version that takes an int.
3811 (dispatch): delete version that takes action as int
3813 (sendDispatchMessage): simplify and adjust
3815 * funcrequest.C (getArg): take unsigned int as arg
3817 * ToolbarBackend.C (read): adjust
3818 (add): delete version that takes func as a string.
3819 (getIton): take a FuncRequest as arg
3821 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3824 * MenuBackend.C (MenuItem): add a new construct that only takes a
3825 Kind, simplify the constructor use for submenus.
3827 (expandLastfiles): adjust
3828 (expandDocuments): adjust
3829 (expandFormats): adjust
3830 (expandFloatListInsert): adjust
3831 (expandFloatInsert): adjust
3832 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3834 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3835 Remove class variables lyx_pseudo_map and lyx_arg_map
3837 * LyXAction.C (searchActionArg): delete function
3838 (getPseudoAction): delete function
3839 (retrieveActionArg): delete function
3840 (LookupFunc): make it return kb_action, simplify.
3841 (getActionName): simplify
3843 * factory.C (createInset): fix new bug
3845 2003-09-19 Angus Leeming <leeming@lyx.org>
3847 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3848 masterFilename_ parameter in the include inset.
3850 * factory.C (createInset): changes due to the changes to InsetInclude.
3852 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3854 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3856 2003-09-18 Angus Leeming <leeming@lyx.org>
3859 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3860 Inset::fillWithBibKeys.
3861 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3863 2003-09-18 Angus Leeming <leeming@lyx.org>
3865 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3867 (ctor): pass and store a 'Buffer const &'
3868 (buffer): new member function.
3870 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3871 '*this' to the LaTeXFeatures ctor.
3873 2003-09-18 Angus Leeming <leeming@lyx.org>
3879 * text.C: rename EnumLColor as LColor_color.
3881 2003-09-18 Angus Leeming <leeming@lyx.org>
3883 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3884 remove #include "insets/insetbase.h" from cursor.h.
3886 2003-09-18 Angus Leeming <leeming@lyx.org>
3888 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3889 InsetOld_code to remove #include "inset.h".
3891 * iterators.C: add #include "insets/inset.h"
3893 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3895 * BufferView.C: remove more locking stuff that apparently doesn't
3896 do anything sensible.
3898 2003-09-16 André Pönitz <poenitz@gmx.net>
3901 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3904 2003-09-16 Angus Leeming <leeming@lyx.org>
3906 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3908 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3911 * paragraph.h: remove #include "lyxfont.h". Forward declare
3914 2003-09-16 Angus Leeming <leeming@lyx.org>
3916 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3917 of support/textutils.h.
3918 (isWord): move the contents of support/textutils.h's IsWordChar here.
3924 * text2.C: add #include "paragraph.h".
3927 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3929 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * LaTeX.C: use namespace alias for lyx::support::os
3937 2003-09-16 Angus Leeming <leeming@lyx.org>
3940 * bufferview_funcs.C:
3943 * paragraph_pimpl.C:
3945 * text.C: add #include "LColor.h".
3947 2003-09-16 Angus Leeming <leeming@lyx.org>
3949 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3950 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3952 Store the FontBits::color variable as an int rather than as an
3953 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3956 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3957 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3958 string calls together.
3960 * lyxrc.C: add #include "LColor.h".
3962 2003-09-15 Angus Leeming <leeming@lyx.org>
3964 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3967 2003-09-15 Angus Leeming <leeming@lyx.org>
3969 * LColor.h: add an EnumLColor wrapper for LColor::color.
3971 * lyxfont.[Ch] (color, setColor, realColor):
3972 * lyxtext.h, text.C (backgroundColor):
3973 pass EnumLColor args to/from the functions, rather than LColor::color
3977 * lyxtext.h: forward declare EnumLColor.
3979 * lyx_main.C: add #include "LColor.h".
3981 2003-09-15 Angus Leeming <leeming@lyx.org>
3983 * .cvsignore: add lyx-gtk.
3985 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * ParagraphParameters.C
3994 * bufferview_funcs.C
4004 * vc-backend.C: remove usage of STRCONV
4006 2003-09-15 Angus Leeming <leeming@lyx.org>
4008 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4009 explicitly define the color passed to the painter.
4011 2003-09-15 Angus Leeming <leeming@lyx.org>
4013 * bufferparams.C (BufferParams): reorder member initializers to avoid
4016 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4018 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4019 * text.C (updateRowPositions): remove an unusual nop
4021 2003-09-12 André Pönitz <poenitz@gmx.net>
4023 * BufferView_pimpl.C:
4032 * Counters.[Ch]: finish the 'automatic counters' job
4034 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4036 * aspell.C: include <boost/assert.cpp> (compile fix)
4038 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4040 * boost.C (assertion_failed): use lyx::support::abort instead of
4043 2003-09-10 Angus Leeming <leeming@lyx.org>
4045 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4046 with their _fwd progeny.
4048 2003-09-09 Angus Leeming <leeming@lyx.org>
4050 134 files throughtout the source tree: replace 'using namespace abc;'
4051 directives with the appropriate 'using abc::xyz;' declarations.
4053 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4055 * boost.C (emergencyCleanup): moved here from LAssert.c
4056 (assertion_failed): new function, called by BOOST_ASSERT
4058 * several files: change Assert to BOOST_ASSERT
4060 2003-09-09 Angus Leeming <leeming@lyx.org>
4062 * buffer.[Ch]: Add an Impl class and move Buffer's member
4063 variables into it. As a result move several header files out of
4066 Add header files to lots of .C files all over the tree as a result.
4068 2003-09-09 Angus Leeming <leeming@lyx.org>
4070 * buffer.[Ch]: make Buffer's member variables private. Add
4073 Lots of changes all over the tree as a result.
4075 2003-09-08 Angus Leeming <leeming@lyx.org>
4077 * graph.C: #include <config.h>.
4079 2003-09-08 Angus Leeming <leeming@lyx.org>
4083 * BufferView_pimpl.C:
4112 * toc.C: remove redundant using directives.
4114 2003-09-07 Angus Leeming <leeming@lyx.org>
4116 * LaTeXFeatures.h: remove #include "support/types.h".
4117 * ToolbarBackend.h: remove #include <algorithm>.
4118 * changes.h: remove #include <ctime>.
4119 * debug.h: remove #include <iosfwd>.
4120 * graph.h: remove #include "support/std_string.h".
4121 * lyx_main.h: remove #include <csignal>.
4122 * lyxlex_pimpl.h: remove #include <fstream>.
4123 * sgml.h: remove #include <algorithm>, <utility>.
4124 * toc.h: remove #include "support/std_ostream.h".
4125 Add #include <iosfwd>.
4127 2003-09-07 Angus Leeming <leeming@lyx.org>
4129 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4131 * converter.h: forward declare LatexRunParams.
4132 * encoding.h: remove #include "lyxrc.h".
4133 * lyxtext.h: remove #include "LColor.h".
4134 * lyxtextclass.h: remove #include "support/types.h".
4135 * trans.h: remove #include "tex-accent.h".
4136 * trans_mgr.h: remove #include "tex-accent.h".
4137 * insets/inset.h: remove #include "support/types.h", <vector>.
4138 * insets/insetcollapsable.h: remove #include "LColor.h".
4139 * insets/insetinclude.h: remove #include "dimension.h".
4140 * insets/insetlatexaccent.h: remove #include "dimension.h".
4141 * insets/insetoptarg.h:: remove #include "insettext.h".
4142 * insets/insettext.h: remove #include "dimension.h",
4143 <boost/shared_ptr.hpp>
4145 * insets/renderers.h: add #include "dimension.h".
4146 * insets/updatableinset.h: add #include "support/types.h".
4148 * many .C files: Associated changes.
4150 2003-09-06 Angus Leeming <leeming@lyx.org>
4152 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4153 one, inside testInvariant.
4155 * PrinterParams.C: new file.
4156 * PrinterParams.[Ch]: move the function bodies out of line.
4158 2003-09-06 Angus Leeming <leeming@lyx.org>
4160 * ParagraphParameters.h: forward declare ParameterStruct rather than
4161 including its header file.
4162 (depth): moved out-of-line.
4164 2003-09-06 Angus Leeming <leeming@lyx.org>
4166 * BufferView_pimpl.h:
4169 * lyxfunc.h: forward declare LyXKeySym rather than
4170 #include "frontends/LyXKeySym.h".
4172 * BufferView_pimpl.C:
4175 * lyxfunc.C: associated changes.
4177 2003-09-06 Angus Leeming <leeming@lyx.org>
4179 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4180 As a result, can remove the #include "insets/inset.h" from BufferView.h
4182 2003-09-06 Angus Leeming <leeming@lyx.org>
4184 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4185 As a result, can remove the #include "insets/inset.h" from BufferView.h
4187 2003-09-06 Angus Leeming <leeming@lyx.org>
4193 * bufferview_funcs.C:
4194 * BufferView_pimpl.C:
4199 * ParagraphParameters.C:
4204 * frontends/controllers/ControlDocument.C:
4205 * insets/insetcaption.C: rearrange the #includes into some sort of
4208 * buffer.h: remove #includes ErrorList.h, undo.h
4210 2003-09-06 Angus Leeming <leeming@lyx.org>
4212 * support/types.h: add a 'depth_type' typedef, used to store the
4213 nesting depth of a paragraph.
4216 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4217 defining explicitly.
4220 * paragraph_funcs.h:
4221 * ParagraphParameters.h:
4222 * sgml.h: use lyx::depth_type rather than Paragraph or
4223 ParameterStruct's depth_type.
4226 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4229 * BufferView_pimpl.C:
4231 * ParagraphParameters.C:
4234 * bufferview_funcs.C:
4241 * frontends/LyXView.C:
4242 * frontends/controllers/ControlDocument.C:
4243 * frontends/controllers/ControlErrorList.C:
4244 * insets/insetbibitem.C:
4245 * insets/insetbranch.C:
4246 * insets/insetcaption.C:
4247 * insets/insetcollapsable.C:
4248 * insets/insetenv.C:
4249 * insets/insetert.C:
4250 * insets/insetfloat.C:
4251 * insets/insetfoot.C:
4252 * insets/insetfootlike.C:
4253 * insets/insetnewline.C:
4254 * insets/insetquotes.C:
4255 * insets/insettabular.C:
4256 * insets/insettext.C:
4257 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4259 * frontends/controllers/ControlChanges.C: #include "changes.h".
4261 2003-09-06 Angus Leeming <leeming@lyx.org>
4263 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4264 than #including paragraph.h.
4267 * RowList.h: deleted. Superfluous.
4277 * insets/insettext.h: use ParagraphList_fwd.h rather than
4280 * paragraph.h: don't forward declare ParagraphList.
4283 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4284 rather than ParagraphList.h. paragraph.h is still needed for the
4285 Paragraph::depth_type parameters.
4287 * textcursor.h: enable it to compile stand-alone in light of the
4290 * bufferview_funcs.C:
4302 * frontends/controllers/ControlParagraph.C:
4303 * frontends/controllers/ControlTabular.C:
4304 * insets/insetmarginal.C:
4305 * insets/insetminipage.C:
4306 * insets/insetnote.C:
4307 * insets/insetoptarg.C: add header files needed to compile again.
4309 2003-09-06 Angus Leeming <leeming@lyx.org>
4311 * RowList_fwd.h: new file, forward-declaring Row rather than
4312 #including lyxrow.h.
4317 * insets/insettext.h: use it instead of RowList.h
4319 * bufferview_funcs.C:
4326 * text3.C: #include "RowList.h".
4328 2003-09-05 Angus Leeming <leeming@lyx.org>
4330 * factory.C (createInset):
4331 * vspace.C (c-tor): replace sscanf call with an istringstream.
4332 * ispell.C: re-add missing HP/UX headers.
4333 * lyxserver.C: re-add missing os2 headers.
4335 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4344 * text3.C: re-add missing system headers, needed for 2.95.2.
4346 2003-09-05 Angus Leeming <leeming@lyx.org>
4348 Changes most place everywhere due to the removal of using directives
4349 from support/std_sstream.h.
4351 2003-09-05 Angus Leeming <leeming@lyx.org>
4353 Replace LString.h with support/std_string.h,
4354 Lsstream.h with support/std_sstream.h,
4355 support/LIstream.h with support/std_istream.h,
4356 support/LOstream.h with support/std_ostream.h.
4358 Changes resulting throughout the tree.
4360 2003-09-05 Angus Leeming <leeming@lyx.org>
4362 * sgml.h: ensure that the header file can be compiled stand-alone.
4363 * *.C: strip out redundant #includes. (320 in total.)
4365 2003-09-04 Angus Leeming <leeming@lyx.org>
4367 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4368 here (from getPackages).
4370 * debug.[Ch]: add a new EXTERNAL tag.
4372 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4374 * text2.C (cursorEnd): simplify
4376 (getColumnNearX): adjust
4378 * text.C (computeBidiTables): adjust
4381 * rowpainter.C (paintChars): adjust
4382 (paintSelection): adjust
4383 (paintChangeBar): adjust
4386 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4388 (numberOfSeparators): adjust
4390 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4396 * text3.C: Restricts the mouse click functionality
4397 of insets like bibtex, include, toc and floatlist to the visible
4398 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4399 up the dialogs. Cursor has to be in front of the inset (i.e.
4400 start of row) for this to function.
4402 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4404 * bufferview_funcs.C (currentState): output row information
4406 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4408 * bufferview_funcs.C (currentState): output paragraph position
4410 2003-09-04 Angus Leeming <leeming@lyx.org>
4412 * FloatList.h: move out #include "Floating.h".
4413 * LaTeX.h: move out #include "DepTable.h".
4414 * LyXAction.h: move out #include "funcrequest.h".
4415 * buffer.h: move out #include "author.h", "iterators.h".
4416 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4417 * lyx_main.h: move out #include "errorlist.h".
4418 * lyxfunc.h: move out #include "FuncStatus.h".
4419 * lyxtext: move out #include "lyxcursor.h".
4420 * paragraph_pimpl.h: move out #include "counters.h".
4422 2003-09-03 Angus Leeming <leeming@lyx.org>
4424 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4425 preamble_snippets list, enabling us to add snippets to the preamble
4426 only if the snippet was not there already.
4428 2003-09-04 Angus Leeming <leeming@lyx.org>
4430 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4432 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4437 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4439 * BranchList.C: point fix, earlier forgotten
4441 2003-09-02 Angus Leeming <leeming@lyx.org>
4443 * box.C (contains): renamed from 'contained' after a fantastic
4446 2003-09-02 John Levon <levon@movementarian.org>
4452 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4454 2003-09-02 John Levon <levon@movementarian.org>
4456 * text2.C: simplification of cursorEnd(), including partial
4459 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * buffer.C (readFile): add a space
4463 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4465 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4467 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * buffer.C (readFile): new function, take a filename and a
4470 ParagraphList::iterator
4472 (readFile): adjust, make it private. don't use setStream, make
4473 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4474 always contain the filename.
4476 * BufferView.C (insertLyXFile): simplify and make it work for
4479 2003-08-30 John Levon <levon@movementarian.org>
4481 * Makefile.am: fix dist (from Kayvan)
4483 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4485 * most files: change to use const Buffer refs
4487 2003-08-27 André Pönitz <poenitz@gmx.net>
4489 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4490 on top of ownerPar().
4492 2003-08-27 John Levon <levon@movementarian.org>
4494 * funcrequest.C: properly initialise POD members
4496 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4498 * lyxtext.h (top_y): move top_y from here
4503 * BufferView_pimpl.[Ch]: to here
4504 * frontends/screen.C:
4505 * insets/insettabular.C:
4506 * insets/insettext.C: adjust
4507 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4509 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4512 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4514 2003-08-26 André Pönitz <poenitz@gmx.net>
4516 * paragraph_func.[Ch] (outerPar): new function
4519 * paragraph_funcs.C:
4520 * paragraph_funcs.h:
4521 * paragraph_pimpl.C:
4522 * text2.C: remove Inset::par_owner
4524 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4529 * text2.C: eliminates the needFullRow/display() stuff
4530 altogether, putting the logic in metrics/draw in the insets.
4532 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4534 * text2.C (redoParagraphInternal, redoParagraphs):
4535 * text.C (redoParagraph): add a call to updateRowPositions at the
4536 end of each 'metrics-like' call. Remove all others.
4537 (getRow): remove the 'y-computing' version.
4538 (getRowNearY): do not compute nor return the real y. Solve the
4539 'y < 0' problem and simplify.
4541 2003-08-22 Angus Leeming <leeming@lyx.org>
4543 * *.[Ch]: clean-up of licence and author blurbs.
4544 Also move config.h out of a few .h files and into a few .C files.
4546 2003-08-22 André Pönitz <poenitz@gmx.net>
4548 * lyxrow.[Ch]: add x_ and *fill_ members
4553 * text2.C: adjust/remove prepareToPrint() calls
4555 2003-08-22 André Pönitz <poenitz@gmx.net>
4557 * lyxrow.[Ch]: add end_ member
4559 * lyxrow_funcs.C: use LyXRow::end_
4561 * lyxtext.h (singleWidth): add LyXFont parameter
4564 * text2.C: adjust LyXText::singleWidth() calls
4566 * text.C (redoParagraph): simplify row breaking logic
4569 2003-08-19 André Pönitz <poenitz@gmx.net>
4571 * funcrequest.C: initialize button_ member
4574 * rowpainter.[Ch]: interface consolidation
4576 2003-08-18 André Pönitz <poenitz@gmx.net>
4579 * BufferView_pimpl.C:
4581 * paragraph_funcs.C:
4583 * text3.C: remove LyXScreen::draw() and fitCursor calls
4585 * BranchList.h: remove spurious semicolons
4587 * MenuBackend.C: fix branchlist related crash
4589 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4597 * bufferparams.[Ch]:
4601 * text3.C: implements the 'branch inset'
4602 idea. This allows the output of various versions of a document
4603 from a single source version, selectively outputing or suppressing
4604 output of parts of the text.
4605 This implementation contains a 'branch list editor' in a separate
4606 tab of the document settings dialog. Branches are user definable
4607 and have a "display colour" to distinguish them on-screen.
4609 ColorHandler was somewhat cleaned up.
4610 (1) make possible a dynamically growing LColor list by allowing
4611 the graphic context cache to grow along (vector);
4612 (2) eliminate an IMHO unnecessary step in colour allocation.
4614 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4616 * BufferView_pimpl.C: compile fix
4618 2003-08-15 André Pönitz <poenitz@gmx.net>
4620 * rowpainter.C: remove extra metrics calls
4622 * lyxtext.h: merge the two constructors into a single one,
4623 pass reference to owner's par list
4625 * BufferView_pimpl.C:
4629 2003-08-15 André Pönitz <poenitz@gmx.net>
4631 * lyxrow_funcs.[Ch]:
4634 * paragraph_funcs.C:
4639 * text_funcs.C: split LyXText::rowlist_ into individual
4640 Paragraph::rows_ chunks
4643 * BufferView_pimpl.[Ch]:
4646 * text3.C: remove toggleSelection()
4648 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4650 * bufferlist.C: beautify two alerts (shorter text of buttons)
4651 * buffer.C: Remove redundant ' ' from message
4653 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4654 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4655 rename VALIGN_CENTER to VALIGN_MIDDLE
4657 2003-08-11 André Pönitz <poenitz@gmx.net>
4659 * lyxtext.h (getPar):
4660 * text.C: new function
4662 2003-08-11 André Pönitz <poenitz@gmx.net>
4665 * tracer.[Ch]: remove unneeded files
4667 * InsetList.[Ch]: remove resizeInsetsLyXText()
4672 * text3.C: merge insertParagraphs() and appendParagraph()
4673 remove breakAgain(), update()
4675 * BufferView_pimpl.[Ch]:
4676 * bufferview_funcs.[Ch]:
4680 * tabular.C: adjust after text & InsetList changes.
4682 2003-08-08 André Pönitz <poenitz@gmx.net>
4684 * text.C (insertChar, backspace): replace rowlist fiddling
4685 with rebreak of full par
4688 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4689 checkParagraph, updateInset): removed
4691 2003-08-07 André Pönitz <poenitz@gmx.net>
4694 * text3.C: merge some LFUN handlers, remove dead code
4696 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4698 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4700 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4702 * text2.C (DEPM): fix part of bug 1255 and 1256
4704 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4706 * BufferView_pimpl.C (workAreaDispatch): change to use
4707 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4708 that are no mouse related.
4710 2003-08-05 André Pönitz <poenitz@gmx.net>
4713 * BufferView_pimpl.[Ch]:
4714 * bufferview_funcs.C:
4716 * text3.C: rip out "deep update"
4718 * textcursor.[Ch] (last_sel_cursor): remove unused member
4720 2003-08-04 André Pönitz <poenitz@gmx.net>
4723 * BufferView_pimpl.[Ch]:
4724 * ParagraphParameters.C:
4725 * bufferview_funcs.C:
4731 * text3.C: replace "complicated" BufferView::update(...) calls with
4734 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4736 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4738 * Makefile.am (lyx_SOURCES): add paper.h
4740 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4742 * Makefile.am: move things around so that both lyx-qt and
4743 lyx-xforms can be built (according to --with-frontend). Then lyx
4744 is a symbolic link to lyx-[firstfrontend]
4746 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4748 * Always use std::endl with lyxerr
4750 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4752 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4754 2003-08-01 André Pönitz <poenitz@gmx.net>
4757 * BufferView_pimpl.[Ch]:
4759 * text3.C: merge BufferView::repaint() and BufferView::update()
4761 2003-08-01 José Matos <jamatos@lyx.org>
4763 * buffer.[Ch]: file_format is no longer a buffer data element.
4765 2003-08-01 André Pönitz <poenitz@gmx.net>
4770 * text2.C: make redoParagraph more independent of current cursor
4772 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4774 * text2.C: remove unneeded members
4776 2003-07-30 André Pönitz <poenitz@gmx.net>
4778 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4780 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4781 create a single function...
4783 * paragraph_funcs.C (moveItem): ... here.
4786 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4788 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4790 * LColor.[Ch]: Add comment and greyedout logical colors.
4792 2003-07-30 André Pönitz <poenitz@gmx.net>
4794 * tabular.C: don't use Assert too heavily. This crashes where it
4797 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4799 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4800 is disabled (bug 1232)
4802 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4804 * factory.C: limited 'arg' scope
4806 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4808 * factory.C: fixed Note submenu issues
4810 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4812 * factory.C: submenu for Note/Comment/Greyedout
4814 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4817 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4819 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4822 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4823 greyedout. Patch provided by Jürgen Spitzmüller.
4825 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4827 * kbmap.C (read): fix error message when reading bind files
4829 2003-07-29 Angus Leeming <leeming@lyx.org>
4831 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4832 certainly does not do what it purports to do. I am doing it, and
4833 us, a favour by killing it.
4835 2003-07-28 José Matos <jamatos@lyx.org>
4837 * buffer.C (readBody, do_writeFile):
4838 * paragraph.C(readParagraph): \end_document replaces \the_end.
4840 2003-07-29 André Pönitz <poenitz@gmx.net>
4843 * BufferView_pimpl.[Ch]:
4847 * textcursor.[Ch]: remove toggleToggle & Co
4849 2003-07-28 José Matos <jamatos@fep.up.pt>
4851 * buffer.C (readParagraph):
4852 * params_func (readParToken, readParagraph):
4853 * paragraph.C (write): \layout -> \begin_layout.
4855 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * lyxlex_pimpl.C (setFile): clean up slightly.
4859 * bufferparams.h: add compressed var
4861 * buffer_funcs.C (readFile): adjust for LyXLex change
4862 (newFile): ditto + simplify
4864 * buffer.C (writeFile): handle writing of compressed files
4866 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4867 Check if the file is compressed and set a bufferparm if so.
4869 * Makefile.am (lyx_LDADD): remove explicit -lz
4871 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4873 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4874 makeDocBookFile): put the real LyX version in the first line of
4878 * version.C.in: remove lyx_docversion
4880 * tabular.C (write_attribute): add a template-based version to
4881 write enums properly
4883 2003-07-28 André Pönitz <poenitz@gmx.net>
4888 * text3.C: use doubles again for x-coordinates. They are needed.
4890 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * messages.C (getLocaleDir): use lyx_localedir()
4894 * lyxlex_pimpl.C (setFile): compress stuff
4896 * buffer.C (writeFile): add some compression stuff
4897 (do_writeFile): new func, dont call expliti close... will this
4900 * Makefile.am (lyx_LDADD): add -lz
4902 2003-07-28 José Matos <jamatos@fep.up.pt>
4904 * buffer.C: increment file format.
4905 * paragraph_funcs (readParagraph, readParToken):
4906 * paragraph.C (readParagraph): add \end_layout.
4908 2003-07-27 Angus Leeming <leeming@lyx.org>
4910 * Makefile.am: remove special casing for configure-time setting of
4911 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4913 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4914 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4916 2003-07-26 André Pönitz <poenitz@gmx.net>
4918 * paragraph_func.[Ch]:
4919 * paragraph.C (realizeFont): inline it whereever it is used
4924 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4927 2003-07-26 André Pönitz <poenitz@gmx.net>
4931 * text2.C: get rid of LyXText::need_break_row
4933 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * toc.[Ch]: put namespace toc inside namespace lyx
4937 * MenuBackend.C (expandToc2): adjust for lyx::toc
4940 * lyxfunc.C (dispatch): adjust for lyx::find
4942 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4943 lyx::find instead. Reorganize a bit.
4944 (LyXReplace): rename to replace
4945 (LyXFind): rename to find
4947 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4950 2003-07-26 André Pönitz <poenitz@gmx.net>
4952 * text.C (setHeightOfRow): restrict scope of temporary variable
4954 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4955 code (never has been used?)
4957 2003-07-27 Asger Alstrup <alstrup@local>
4959 * text.C (fill): Optimise algorithm to exploit that we can reuse
4960 the LyXFont for many characters.
4961 (setHeightOfRow): Same thing.
4962 (rowBreakPoint): Same thing.
4964 2003-07-26 Asger Alstrup <alstrup@local>
4966 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4968 * text.C (singleWidth): Spurious font copying in hot-spot
4969 singleWidth avoided. Reorder tests for arabic for efficiency.
4971 * text.C (fill): handle empty paragraphs better.
4973 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4976 * encoding.h: add includes
4978 * lyxrc.C: remove reading of bind files
4980 * lyx_main.C (init): setup bindings and menus only if we have a
4983 * kbmap.C (read): new method. Do the actual reading of bind
4986 * converter.C (dvipdfm_options):
4989 (output): adapt PAPER_* enums.
4991 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4993 * bufferparams.h: remove paper-related enums from there
4995 * paper.h: New file. A trivial header file to hold paper-related
4996 enums. It should later expand to contain many paper-related
4999 * lyxrc.C: declare extern displayTranslator
5001 2003-07-27 José Matos <jamatos@fep.up.pt>
5003 * tabular.[Ch] (linuxdoc): add support for tables and figures
5006 2003-07-27 José Matos <jamatos@fep.up.pt>
5008 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5009 consistency in both functions.
5010 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5012 2003-07-26 Asger Alstrup <alstrup@local>
5014 * rowpainter.C (paintRows): Change algorithm to work directly on
5015 the insets rather than asking every character in the document
5016 whether its an inset.
5018 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5020 * buffer.C (openFileWrite): factorize some code
5022 2003-07-26 Angus Leeming <leeming@lyx.org>
5025 * lyx_main.[Ch]: replace occurances of system_tempdir with
5028 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * rename Inset to InsetOld
5032 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5034 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5035 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5036 which I think is a bit clearer. EDIT is gone, since it was
5037 premature optimisation, and broken for mathed anyway.
5038 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5039 with cursor positioning in insets as well (math insets still do not
5040 work, but that's a different story anyway.) It mysteriously
5041 crashes sometimes with undo in the first paragraph, but I'm fairly
5042 confident that this is a compiler bug.
5044 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * paragraph.C (Paragraph): adjust for new clone return type
5048 (copyIntoMinibuffer): ditto
5050 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5052 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5053 by not having a special case, and always doing a full rebreak of
5054 the document after undo.
5056 2003-07-23 Angus Leeming <leeming@lyx.org>
5058 * factory.C (createInset): InsetExternal::setParams now takes a
5061 2003-07-23 Angus Leeming <leeming@lyx.org>
5063 * factory.C (createInset): changed interface to the external and
5064 graphics mailers' string2params functions.
5066 2003-07-23 Angus Leeming <leeming@lyx.org>
5068 * factory.C (createInset): pass a
5069 Buffer const * parameter to InsetExternalMailer's string2params.
5071 2003-07-22 John Levon <levon@movementarian.org>
5073 * Thesaurus.h: include the right aiksaurus header
5075 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5077 * MenuBackend.C (expand): check menu shortcuts unconditionally
5079 2003-07-21 Angus Leeming <leeming@lyx.org>
5081 * factory.C (createInset): pass a
5082 buffer_path parameter to InsetGraphicsMailer's string2params.
5084 2003-07-21 Angus Leeming <leeming@lyx.org>
5086 * BufferView_pimpl.C (buffer):
5089 * lyxfunc.C (dispatch):
5090 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5091 rather than the grfx shortcut.
5093 2003-07-21 André Pönitz <poenitz@gmx.net>
5095 * rowpainter.C: remove unused variables
5098 * tabular_funcs.h: move to tabular.C
5099 * Makefile.am: adjust
5101 * tabular.[Ch]: basic optical cleaning
5103 * author.h: pass references, not values
5105 2003-07-18 André Pönitz <poenitz@gmx.net>
5113 * text3.C: two-phase drawing for InsetText and InsetTabular
5114 some float -> int changes.
5116 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5118 * lyx_main.C: fix the fix
5120 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5122 * lyx_main.C: fix a crash in batch mode if no files specified
5125 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5127 * format.[Ch] (papersize): moved to BufferParams
5128 * converter.[Ch] (dvips_options): moved to BufferParams
5129 (dvipdfm_options): moved to anon namespace
5130 * bufferparams.[Ch]: added above functions.
5132 2003-07-17 André Pönitz <poenitz@gmx.net>
5136 * text2.C: don't call inset->update() anymore
5138 * metricsinfo.[Ch]: add convenience constructor
5140 2003-07-16 André Pönitz <poenitz@gmx.net>
5145 * text2.C: replace the LyXCursor::irow_ member with
5146 on-demand computation of the value
5148 2003-07-16 John Levon <levon@movementarian.org>
5150 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5152 2003-07-15 André Pönitz <poenitz@gmx.net>
5155 * text2.C: remove no more needed refresh_row
5157 2003-07-15 André Pönitz <poenitz@gmx.net>
5162 * text3.C: refresh_status tristate -> need_update bool
5164 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5166 * lyxtext.h (init): remove reinit argument (act as if always true)
5167 * text2.C: adjust to that
5169 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5171 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5172 * text3.C: use it to delete selections in some cases
5173 (bugs 441, 673, 702, 954).
5175 2003-07-14 André Pönitz <poenitz@gmx.net>
5177 * rowpainter.[Ch]: reduce interface
5179 2003-07-14 André Pönitz <poenitz@gmx.net>
5181 * BufferView_pimpl.C:
5182 * text2.C: adjust after removing unused BufferView * argument
5184 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5186 * text2.C (init): fix a crash fired on resize
5188 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5190 * buffer.[Ch]: added new closing signal
5191 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5192 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5193 BufferView::Pimpl via the closing the signal
5195 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5197 * buffer.[Ch]: take out all bv-related from buffer
5199 * BufferView_pimpl.[Ch]: connect to new signals
5200 * CutAndPaste.C: removed useless asserts
5201 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5204 * lyxfunc.C: moved view-related funciontality from vc here
5205 * paragraph.C: removed outdated comments
5208 2003-07-10 André Pönitz <poenitz@gmx.net>
5210 * BufferView_pimpl.C:
5214 * text2.C: remove InsetText::InnerCache, clean up consequences
5216 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5218 * ispell.C: fix two typos in error messages
5220 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5222 * Extend Note inset to other forms of annotation like Comment
5223 and Greyedout. Right button click gives dialog.
5225 Files modified or added (+):
5229 * ControlNote.[Ch] +
5231 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5232 frontends/controllers
5236 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5238 * aspell.C: add missing namespace lyx::support
5240 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5242 * BufferView.[Ch] (newFile): Add
5243 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5244 * LaTeX.[Ch] (message): added this signal and use it
5245 * buffer.[Ch] (busy, message): added these signals and use them
5246 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5250 * importer.C: use buffer signals instead of direct bv calling
5251 * lyx_cb.[Ch] (ShowMessage): removed
5254 * paragraph_funcs.C:
5255 * text2.C: use buffer signals
5257 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * introduce namespace lyx::graphics
5261 2003-07-02 André Pönitz <poenitz@gmx.net>
5263 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5265 2003-07-01 André Pönitz <poenitz@gmx.net>
5272 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5273 text*.C to text_func.C
5275 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * introduce namespace lyx::support
5279 2003-06-30 André Pönitz <poenitz@gmx.net>
5284 * text.C: re-enable --with-included-string
5286 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * textcursor.C: add <config.h>
5290 * text.C (getWord): remove const from word_location arg
5292 * lyxvc.C (getLogFile): fix const type order
5294 * lyxtext.h: remove const from word_location arg, add arg name
5296 * lyxlayout.h: currect type on labeltype.
5298 * importer.C: correct \file
5300 * converter.C (intToFormat): use std:: on ret val, ws changes
5302 * bufferlist.h: correct \file
5304 * buffer.C (makeLinuxDocFile): fix const type order
5305 (makeDocBookFile): ditto
5306 (fillWithBibKeys): use std:: on stdlib args.
5308 * CutAndPaste.C: fix authors.
5309 (availableSelections): use std:: on return vector
5311 2003-06-27 André Pönitz <poenitz@gmx.net>
5313 * BufferView_pimpl.C:
5314 * bufferview_funcs.C:
5322 * text3.C: remove LyXCursor::row_ member
5325 * text.C: rename fullRebreak() to partialRebreak() and implement
5326 a fullRebreak() that really bereks fully
5328 * textcursor.h: new struct for cursor-related data
5330 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5332 * lyx_main.C (LyX): get full path of document loaded on the
5335 2003-06-26 André Pönitz <poenitz@gmx.net>
5337 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5338 remove unused/broken operator>,<,>=.
5340 * text.C: remove only use of broken operator<= in an Assert().
5342 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5344 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5345 moved errorlist_.clear to showErrorList
5347 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5349 * converter.C (scanLog, runLaTeX):
5350 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5351 move the bv->showErrorList call to the callers
5352 * lyxfunc.C: i.e. here...
5354 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5355 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5356 namespace, the second to...
5357 * buffer_funcs (BufferFormat, parseErrors): added
5358 * errorlist.C (ErrorList(TeXErrors const &)): removed
5360 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5362 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5364 2003-06-24 "Garst R. Reese" <reese@isn.net>
5368 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5370 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5372 * version.C.in: change docversion to 1.4
5374 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5376 * buffer.C: fix a bug just introduced
5378 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5380 * buffer.[Ch]: added the parseError signal and use it, removed
5382 * BufferView.[Ch] (addError): moved to ...
5383 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5384 to the Buffer::parseError signal to catch (guess what) parse errors
5385 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5387 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5389 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5390 ability to create a buffer and to return an existing one from
5391 the list. Moved these functions to...
5392 * buffer_funcs.[Ch]: added
5393 * BufferView.[Ch] (loadLyXFile): added
5394 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5395 job removed from bufferlist::loadLyXFile.
5396 * buffer.C (setReadOnly): make it work without view
5397 (i.e added an if (users))
5399 2003-06-19 Angus Leeming <leeming@lyx.org>
5402 * LyXAction.C (init):
5403 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5404 with LFUN_DIALOG_SHOW <name> <data>.
5406 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5408 * CutAndPaste.C (availableSelections): small compilation fix for
5409 ancient (gcc 2.9x) compilers
5411 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * text3.C (cursorNext): add tmp var
5415 * text2.C (updateCounters): for function calling out of for clause
5416 (replaceSelectionWithString): ditto
5417 (insertStringAsParagraphs): ditto
5418 (getColumnNearX): add tmp var
5419 (setCursorFromCoordinates): add tmp var
5420 (cursorDownParagraph): add tmp var
5421 (deleteEmptyParagraphMechanism): add tmp var
5423 * text.C (insertChar): add tmp var
5425 * rowpainter.C (paintDepthBar): add tmp var
5427 * CutAndPaste.C (availableSelections): potentially check all
5428 paragraphs in a cut to fill the shown strings.
5430 2003-06-18 André Pönitz <poenitz@gmx.net>
5432 * kbmap.[Ch]: use vector<> instead of list<>
5434 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5436 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5437 pasteSelection with index
5439 * text2.C (pasteSelection): modify, call pasteSelection with index
5441 * paragraph.C (asString): reimplement version with no interval to
5442 call the one with interval.
5444 * lyxtext.h: add index arg to pasteSelection
5446 * MenuBackend.C (MenuItem): handle PasteRecent
5447 (Menu::read::Menutags): add md_pasterecent
5449 (expandPasteRecent): new function
5452 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5454 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5456 (availableSelections): new function
5458 2003-06-17 Angus Leeming <leeming@lyx.org>
5460 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5462 2003-06-17 Angus Leeming <leeming@lyx.org>
5465 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5467 * lyxfunc.C (dispatch): invoke it.
5469 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5471 * iterators.C (operator++, ParPosition): reintroduce some
5472 const_cast for the benefit of older compilers.
5474 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5476 * text3.C (dispatch): do not modify clipboard when doing
5477 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5478 LFUN_DELETE_SKIP on a selection selection
5480 2003-06-16 André Pönitz <poenitz@gmx.net>
5486 * tabular.[Ch]: IU of clone() and getLabelList();
5488 2003-06-13 André Pönitz <poenitz@gmx.net>
5490 * tabular.h: compactification
5492 2003-06-12 André Pönitz <poenitz@gmx.net>
5496 * tabular_funcs.h: some renaming plus whitespace
5498 2003-06-12 André Pönitz <poenitz@gmx.net>
5501 * BufferView_pimpl.C:
5507 * toc.C: Return a Paragraph & for ParIterator::operator*()
5509 2003-06-11 John Levon <levon@movementarian.org>
5513 * ToolbarBackend.C: add "Toolbars" section and
5516 2003-06-10 Angus Leeming <leeming@lyx.org>
5519 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5521 * lyxfunc.C (dispatch): invoke it.
5523 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * main.C: protect <ios> with HAVE_IOS
5526 (main): protect sync_with_stdio with HAVE_IOS
5528 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5530 * text2.C (cutSelection): adjust
5531 (pasteSelection): adjust
5533 * messages.C: handle get of empty string
5535 * main.C (main): use sync_with_stdio(false)
5537 * lyxfunc.C (dispatch): adjust
5539 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5540 (WriteAs): remove unneeded BufferView arg.
5542 * bufferparams.h: use correct types on papersize, papersize2 and
5545 * bufferparams.C (readToken): adjust for type
5546 (writeLaTeX): add missing cases to switch.
5548 * bufferlist.C (quitWriteBuffer): adjust
5551 * buffer.C (asciiParagraph): remove some commented code.
5553 * CutAndPaste.C: remove current_view extern variable.
5554 (cutSelection): add BufferParams arg.
5555 (eraseSelection): add BufferParams arg.
5556 (pasteSelection): add Buffer const & arg
5558 2003-06-07 John Levon <levon@movementarian.org>
5561 * paragraph_funcs.C:
5562 * paragraph_pimpl.C:
5566 * paragraph.C: allow InsetERT to freely space lines,
5567 and some consolidation of code
5569 2003-06-06 José Matos <jamatos@fep.up.pt>
5571 * buffer.C (makeDocBookFile): fix bug #821
5573 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5575 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5577 2003-06-04 Angus Leeming <leeming@lyx.org>
5579 * buffer.C: bump format to 224.
5581 2003-06-05 André Pönitz <poenitz@gmx.net>
5583 * text2.C (redoParagraphs): remove two const_cast<>
5585 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5587 * ParagraphList.h: remove last remnants of NO_STD_LIST
5589 2003-06-03 Angus Leeming <leeming@lyx.org>
5591 * factory.C (createInset): small change to the way InsetExternal's params
5594 2003-06-04 André Pönitz <poenitz@gmx.net>
5596 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5598 * paragraph_pimpl.h:
5599 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5601 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5603 * undo_funcs.C: make some simple cases of undo work again
5605 2003-06-03 John Levon <levon@movementarian.org>
5607 * ispell.C: HPUX doesn't have sys/select.h
5610 2003-06-03 John Levon <levon@movementarian.org>
5612 * CutAndPaste.C: update tabular and include inset
5617 * paragraph.C: remove owningBuffer(), don't pass Buffer
5620 * factory.C: insetGraphicsParams changed
5622 2003-06-02 John Levon <levon@movementarian.org>
5628 * text3.C: remove insetparent
5630 2003-06-02 John Levon <levon@movementarian.org>
5633 * buffer.C: fix inset_iterator.end(), move out of line
5636 2003-06-01 John Levon <levon@movementarian.org>
5638 * text3.C: use a proper cut/paste when doing inset
5639 insert (from Jürgen Spitzmüller)
5641 2003-06-01 John Levon <levon@movementarian.org>
5643 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5645 2003-05-30 André Pönitz <poenitz@gmx.net>
5647 * rowpainter.C: unify second drawing phase
5649 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * trans_mgr.C: remove one case of current_view
5653 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5655 * paragraph_funcs.h: remove paragraph.h include
5657 * paragraph.h: delete NO_STD_LIST stuff
5659 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5661 * buffer.h: remove paragraph.h include
5663 * ParagraphList.C: delete file
5665 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5667 * toc.C (getTocList): adjust
5669 * paragraph_pimpl.C (validate): adjust
5671 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5673 * paragraph.C (Paragraph): adjust
5674 (getPositionOfInset): use const_iterator, adjust
5675 (bibitem): use const_iterator, adjust
5676 (setInsetOwner): adjust
5678 * iterators.C (operator++): adjust
5680 * InsetList.[Ch]: Replace selfmade iterator with standard
5681 vector::iterator also introduce const_iterator. Remove getPos,
5682 getInset and setInset from InsetTable. Adjust accordingly.
5684 * BufferView.C (lockInset): adjust
5685 (ChangeInsets): adjust
5687 * tabular.[Ch]: delete commented same_id functions
5689 2003-05-28 John Levon <levon@movementarian.org>
5691 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5693 2003-05-28 André Pönitz <poenitz@gmx.net>
5695 * metricsinfo.[Ch]: remove 'fullredraw' member
5697 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5699 * lyxtextclass.C (operator): remove caching.
5701 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * text2.C (cursorBottom): adjust
5706 (setCounter): use ParagraphList::find, adjust
5708 * text.C (workWidth): use ParagraphList::find, adjust
5710 * lyxcursor.C (LyXCursor): adjust
5712 * buffer.C (inset_iterator): adjust
5714 * ParagraphList.h: make iterator(value_type) private, make
5715 ParagraphList a friend of iterator.
5717 * ParagraphList.C (find): new function
5719 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5721 2003-05-27 André Pönitz <poenitz@gmx.net>
5723 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5725 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5727 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5729 2003-05-26 John Levon <levon@movementarian.org>
5731 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5733 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * remove same_id from function signatures, adjust.
5737 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5741 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5743 * paragraph.C (Paragraph): get rid of same_ids parameter
5745 * ParagraphList.C (insert): adjust
5748 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * paragraph_funcs.C (breakParagraph): adjust
5751 (breakParagraphConservative): adjust
5753 * buffer.C (readParagraph): adjust
5755 * ParagraphList.C (insert): take a reference instead of a pointer
5758 * paragraph.[Ch] (id): new function
5760 * bufferlist.C (newFile): adjust
5762 * ParagraphList.C (ParagraphList): adjust
5764 (push_back): take a reference instead of a pointer.
5766 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5768 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5771 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5772 set else use old code.
5774 * ParagraphList.C: remove all NO_NEXT code and only compile this
5775 code of NO_STD_LIST is set.
5777 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5779 * BufferView_pimpl.C:
5789 * graphics/GraphicsConverter.C:
5790 * graphics/PreviewLoader.C: header adjustment
5792 2003-05-23 Angus Leeming <leeming@lyx.org>
5794 * LaTeXFeatures.[Ch] (useBabel): new method.
5795 * bufferparams.C (writeLaTeX): use it.
5797 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * ParagraphList.h (set): remove unused function.
5801 2003-05-23 André Pönitz <poenitz@gmx.net>
5804 * BufferView_pimpl.C:
5808 * undo_funcs.C: setUndo reworked
5810 * iterators.[Ch]: add access to topmost ParagraphList
5812 * lyxtext.[Ch] (workWidth): add a const
5814 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5816 * texrow.[Ch] (increasePos): remove function
5817 * exporter.C (export): removed unused var and outdated comment
5819 2003-05-23 Angus Leeming <leeming@lyx.org>
5821 * latexrunparams.h: rename fragile as moving_arg.
5822 * paragraph.C (simpleTeXOnePar): ditto.
5823 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5825 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5829 (textUndoOrRedo): comment out a currently unused var.
5831 * paragraph.h (NO_NEXT): enable NO_NEXT
5833 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5835 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5837 * exporter.C (Export): adjust for removeAutoInsets removal.
5839 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5841 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5843 * BufferView.[Ch] (removeAutoInsets): delete function
5845 2003-05-22 Angus Leeming <leeming@lyx.org>
5847 * latexrunparams.h: add a free_spacing variable.
5849 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5850 to pass moving_arg, as the data is stored in runparams.fragile.
5852 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5853 to Inset::latexOptional or to simpleTeXOnePar.
5855 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5856 free_spacing arg to Inset::latexOptional.
5858 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5861 2003-05-22 Angus Leeming <leeming@lyx.org>
5863 * latexrunparams.h: add fragile and use_babel variables.
5865 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5866 * buffer.C (makeLaTeXFile): store this returned value in
5867 runparams.use_babel, thus passing it to the inset::latex methods.
5869 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5870 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5872 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5873 longer has a fragile arg, as it is stored in runparams.fragile.
5875 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5876 moving_arg parameter as the data is stored in runparams.fragile.
5878 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5879 a fragile parameter as the data is stored in runparams.fragile.
5881 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5885 2003-05-22 Angus Leeming <leeming@lyx.org>
5887 * latexrunparams.h: add a 'bool nice' which defaults to false.
5889 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5890 now encapsulated within runparams.
5892 * bufferlist.C (updateIncludedTeXfiles):
5893 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5895 2003-05-22 Angus Leeming <leeming@lyx.org>
5897 * latexrunparams.h: new file containing struct LatexRunParams.
5898 * Makefile.am: add new file.
5900 * LaTeX.[Ch] (c-tor, run):
5901 * buffer.[Ch] (makeLaTeXFile):
5902 * bufferlist.[Ch] (updateIncludedTeXfiles):
5903 * converter.C (convert, scanLog):
5904 * converter.[Ch] (runLaTeX):
5905 * exporter.C (Export):
5906 * paragraph.[Ch] (simpleTeXOnePar):
5907 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5908 * paragraph_funcs.[Ch] (latexParagraphs):
5909 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5910 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5911 pass around a LatexRunParams parameter.
5913 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * paragraph.[Ch]: remove unused constructor
5917 * ParagraphList.C (erase): new function, taking two iterators
5919 2003-05-22 André Pönitz <poenitz@gmx.net>
5921 * undo_funcs.C: remove duplicated code
5923 * iterator.[Ch]: operator=
5925 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5927 * tabular.C (SetMultiColumn): ws changes
5929 * rowpainter.C (paintFirst): get rid of a ->previous
5931 * lyx_cb.C (getPossibleLabel): parlist simplification
5933 * BufferView.C (ChangeInsets): simplify slightly.
5935 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5937 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5938 * lfuns.h: new LFUN_SPACE
5939 * lyxfunc.C: protected space has a new lfun
5940 * paragraph_funcs.C: read new space insets
5942 * factory.C: handle new space insets
5944 2003-05-22 André Pönitz <poenitz@gmx.net>
5947 * BufferView_pimpl.C:
5950 * undo_funcs.C: return a ParIterator from getParFromID.
5952 * iterators.[Ch]: add two const's
5954 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * toc.C (getTocList): adjust
5958 * iterators.[Ch]: rework for parlist
5960 * buffer.C (par_iterator_begin): adjust
5961 (par_iterator_end): adjust
5963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5965 * BufferView.C (removeAutoInsets): adjust
5966 (ChangeInsets): adjust
5968 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5970 * text.C (top_y): fix bug 1110
5972 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5974 * errorlist.[Ch]: added
5977 * BufferView_pimpl.C:
5978 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5981 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * Makefile.am: ensure that lyx is relinked upon changes to the
5984 various "convenience" libs.
5986 2003-05-20 Angus Leeming <leeming@lyx.org>
5988 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5989 files are compiled in alphabetical order again.
5991 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5993 2003-05-19 Angus Leeming <leeming@lyx.org>
5995 * gettext.[Ch]: remove "char const * _(char const *)".
5997 2003-05-19 André Pönitz <poenitz@gmx.net>
5999 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6008 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6010 2003-05-19 André Pönitz <poenitz@gmx.net>
6014 * lyxtextclass.[Ch]:
6016 * paragraph_funcs.[Ch]:
6018 * text3.C: more insetenv work
6020 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6022 * ParagraphParameters.C (params2string): small bug fixed
6024 2003-05-16 André Pönitz <poenitz@gmx.net>
6027 * bufferview_funcs.C: patch from Kornel Benko to prevent
6028 crash when _(...) is called twice in a statement
6030 2003-05-16 André Pönitz <poenitz@gmx.net>
6037 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6039 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6041 * lyx_main.C (init): remove spurious static_cast
6043 2003-05-14 André Pönitz <poenitz@gmx.net>
6045 * BufferView.C: fix format string
6047 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6049 * BufferView.[Ch] (insertErrors): removed
6050 * BufferView.[Ch] (showErrorList): added
6051 * buffer.C (runChkTeX):
6052 * converter.C (scanLog): call showErrorList instead of inserterrors
6054 2003-05-13 André Pönitz <poenitz@gmx.net>
6056 * BufferView_pimpl.C:
6058 * bufferview_func.C:
6065 * tabular_funcs.h: tostr() from its own header
6067 * ParagraphParameters.C:
6072 * text3.C: STRCONV()
6074 2003-05-12 André Pönitz <poenitz@gmx.net>
6077 * BufferView_pimpl.C:
6081 * ParagraphParameters.C:
6085 * bufferview_funcs.C:
6098 * paragraph_funcs.C:
6102 * text3.C: boost::format -> bformat all over the place
6105 2003-05-09 André Pönitz <poenitz@gmx.net>
6107 * LColor.[Ch]: Pimpl the #include <map> away
6109 2003-05-09 John Levon <levon@movementarian.org>
6111 * bufferlist.C: never remove emergency saves
6113 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * Makefile.am: better lib building
6117 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6121 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6122 (simpleTeXSpecialChars): adjust
6123 (simpleTeXSpecialChars): adjust
6124 * paragraph.C (simpleTeXOnePar): adjust
6125 * buffer.C (makeLaTeXFile): adjust
6127 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6129 * text2.C (changeDepth): parlist cleanup
6130 (getColumnNearX): ditto
6132 * rowpainter.C (getLabelFont): parlist cleanup
6134 * bufferlist.C (newFile): parlist cleanup
6136 * CutAndPaste.C (eraseSelection): parlist cleanup
6138 * BufferView_pimpl.C (trackChanges): parlist cleanup
6141 * BufferView.C (lockInset): parlist cleanup.
6142 (ChangeInsets): ditto
6144 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * CutAndPaste.h: Update file header.
6148 * CutAndPaste.C: Update file header.
6149 Store the parts cut out of the Document in a limited_stack.
6150 (copySelection): adjust
6151 (pasteSelection): new function, takes the index in the limited stack.
6152 (nrOfParagraphs): adjust
6153 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6154 simplify error inset insertion.
6155 (checkPastePossible): adjust
6157 2003-05-06 John Levon <levon@movementarian.org>
6159 * text2.C: don't cast wrap inset to float
6161 2003-05-05 André Pönitz <poenitz@gmx.net>
6164 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6166 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6167 few naked Paragraph *.
6169 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6171 * bufferparams.C: Output warning if a document with missing
6172 TeX document class is loaded
6173 * exporter.C: Disable TeX exports if the document class is missing
6176 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6177 isTeXClassAvailable()
6179 2003-05-03 John Levon <levon@movementarian.org>
6182 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6183 explicit cursor show/hide
6185 * BufferView_pimpl.h:
6186 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6187 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6189 * lyxfunc.C: hide cursor before dispatching.
6194 * text3.C: remove explicit cursor hides
6196 2003-05-02 André Pönitz <poenitz@gmx.net>
6198 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6201 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6204 * text2.C: tiny whitespace
6206 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * undo_funcs.C: almost only ws changes.
6210 * ParagraphList.C (splice): just return if pl is empty.
6212 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * ParagraphList.C (splice): new function.
6216 * CutAndPaste.C (pasteSelection): use it
6218 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * CutAndPaste.C (pasteSelection): remove the last next and
6221 previous from this file.
6223 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * CutAndPaste.C (pasteSelection): more clean up, user proper
6226 ParagraphList functions for pasteing.
6228 * ParagraphList.C (insert): new function, three arg insert
6230 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * ParagraphList.C (insert): new function, three arg insert
6234 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6237 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6241 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6245 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6248 (copySelection): clean up a bit.
6249 (pasteSelection): use make_pair
6251 * ParagraphList.C (ParagraphList): implement copy constructor
6252 (operator=): implement, base on copy constructor.
6255 * paragraph.C (erase): return a bool
6257 * paragraph_pimpl.C (erasePos): remove function, move contents...
6258 (erase): ... here. Return a bool.
6259 (erase): call erase instead of erasePos.
6261 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6263 * ParagraphList.h: define PitPosPair
6264 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6265 ParagraphList, fix a bug on pasting multiple pars
6266 * text2.C: change interface to C&P
6268 2003-04-30 André Pönitz <poenitz@gmx.net>
6270 * undo_func.C: revert part of yesterday's patch 2
6272 2003-04-30 John Levon <levon@movementarian.org>
6274 * LColor.C: s/tabular/table/
6276 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * text3.C (dispatch): do not convert iterator -> pointer
6279 * undo_funcs.C (setCursorParUndo): ditto
6280 * text_funcs.C (transposeChars): ditto
6282 * text2.C (setLayout): ws changes only
6284 * text.C (breakParagraph): do not convert iterator -> pointer
6286 (acceptChange): ditto
6287 (rejectChange): ditto
6292 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6295 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6297 * text3.C (gotoInset): YABG (yet another bad getChar)
6299 2003-04-29 André Pönitz <poenitz@gmx.net>
6301 * paragraph.h: make operator= private unimplemented as long as
6304 * ParagraphList.C: whitespace
6307 * paragraph_pimpl.[Ch]:
6308 * paragraph_funcs.C:
6310 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6313 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6315 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6317 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6318 * paragraph.[Ch] (erase):
6319 * paragraph_pimpl.[Ch] (erase): change return type and value
6320 * text2.C (cutSelection): some rework
6322 2003-04-28 John Levon <levon@movementarian.org>
6324 * bufferlist.C: changes for unsaved changes dialog
6326 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * bufferlist.C (newFile): set language (messages_) for new
6331 * buffer.C (readFile): ws changes only.
6333 2003-04-28 André Pönitz <poenitz@gmx.net>
6338 * BufferView_pimpl.C:
6339 * BufferView.C: getParFromID related ParagraphList::iterator changes
6341 2003-04-28 André Pönitz <poenitz@gmx.net>
6343 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6346 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * messages.C: remove one more localedir class variable.
6350 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * messages.C (getLocaleDir): singleton generation function
6354 (Messages): add a default constructor.
6356 * main.C (main): do not setup localedir here, do not call
6359 * gettext.C (_): use it.
6360 (gettext_init): delete funciton
6362 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6364 * gettext.C (getLyXMessages): new singleton generating function.
6366 * buffer.C (updateDocLang): adjust
6368 * Makefile.am (messages.o): add target
6369 (main.o): remove target
6371 2003-04-27 John Levon <levon@movementarian.org>
6376 * lyxvc.C: specify cancel button in Alert::prompt
6378 2003-04-26 John Levon <levon@movementarian.org>
6383 * LyXAction.C: add LFUN_INSET_SETTINGS
6385 * lyxfunc.C: don't enable tabular-feature when there's
6386 just any locking inset
6388 2003-04-26 John Levon <levon@movementarian.org>
6390 * bufferlist.C: re-add Cancel to buffer close question
6392 * lyxfunc.C: fix import UI a bit
6394 2003-04-25 John Levon <levon@movementarian.org>
6396 * gettext.C: remove the broken asserts for now
6398 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * messages.C: make case where setlocale cannot comply work better.
6402 * buffer.C (updateDocLang): new function
6403 (changeLanguage): use it
6406 * text2.C (setCounter): use B_ a bit.
6408 * lyxlayout.C (Read): be sure to trim the label strings.
6410 * messages.C (Messages): fix typo in comment
6412 * buffer.C (readFile): set message_ after file is loaded.
6413 (makeDocBookFile): remove double return
6414 (changeLanguage): reset message_ upon language change.
6415 (B_): new func, use this to get translated buffer strings.
6417 * main.C: add myself and Jean Marc as authors.
6419 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6421 * messages.[hC]: pimplify Messages, and three different pimpls to be
6422 used in different circumstances.
6424 * gettext.[Ch]: change for use with new message code.
6426 2003-04-24 André Pönitz <poenitz@gmx.net>
6428 * factory.C: support for eqref
6430 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * messages.[Ch]: add missing char
6434 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6436 * messages.[Ch]: New files
6438 2003-04-18 John Levon <levon@movementarian.org>
6442 * BufferView_pimpl.C:
6446 * text2.C: remove layout-copy/paste (bug 778)
6448 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6450 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6452 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6454 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6455 if they succeed. Act accordingly.
6457 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * text2.C (setCharFont): adjust
6460 (setCounter): adjust
6461 (insertStringAsLines): adjust
6463 * text.C (leftMargin): adjust
6464 (setHeightOfRow): adjust
6466 * rowpainter.C (paintFirst): adjust
6469 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6471 (isFirstInSequence): ditto
6472 (getEndLabel): ditto
6475 * paragraph.C (getParLanguage): comment out some hard stuff.
6477 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6479 (simpleDocBookOnePar): ditto
6480 (makeDocBookFile): use ParagraphList::iterator
6482 * CutAndPaste.C (pasteSelection): adjust
6484 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * text2.C (getFont): adjust
6487 (getLayoutFont): adjust
6488 (getLabelFont): adjust
6490 * paragraph_funcs.C (TeXOnePar): adjust
6492 * buffer.C (simpleLinuxDocOnePar): adjust
6493 (simpleDocBookOnePar): adjust
6495 * CutAndPaste.C (pasteSelection): adjust
6497 * BufferView.C (getEncoding): adjust
6499 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6501 2003-04-16 John Levon <levon@movementarian.org>
6503 * lyxfind.C: use parlist stuff for search/changes
6505 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6509 * text2.C (deleteEmptyParagraphMechanism): adjust
6511 * text2.[Ch] (ownerParagraph): delete func (both of them
6513 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6517 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * ParagraphList.C: prepare for NO_NEXT
6521 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * text2.C (getFont): adjust
6524 (getLayoutFont): adjust
6525 (getLabelFont): adjust
6527 * paragraph.C (getFont): adjust
6528 (getLabelFont): adjust
6529 (getLayoutFont): adjust
6531 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6533 2003-04-15 John Levon <levon@movementarian.org>
6537 * lyx_main.C: handle Include in .ui files
6539 2003-04-15 John Levon <levon@movementarian.org>
6541 * MenuBackend.C: make the doc files length shorter
6544 * ToolbarBackend.C: handle toolbar placement flags,
6547 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6552 * paragraph_funcs.C (TeXOnePar): adjust
6554 * paragraph.C (getLabelFont): add outerfont arg, adjust
6555 (getLayoutFont): ditto
6556 (simpleTeXOnePar): adjust
6558 * paragraph_pimpl.C (realizeFont): delete func
6560 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6562 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6563 row argument, constify cur argument.
6565 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * text2.C (getFont): adjust
6568 (getLayoutFont): adjust
6569 (getLabelFont): adjust
6571 * paragraph_funcs.C (TeXOnePar): adjust
6572 (outerFont): new func...
6573 (realizeFont): ...moved out from here, changed this to facilitate
6576 * paragraph.C (getFont): take outerfont as arg, adjust
6577 (simpleTeXOnePar): add outerfont arg, adjust
6579 * buffer.C (simpleLinuxDocOnePar): adjust
6580 (simpleDocBookOnePar): adjust
6582 * CutAndPaste.C (pasteSelection): adjust
6584 * BufferView.C (getEncoding): adjust
6586 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * text2.C (setCharFont): adjust
6589 (setCounter): adjust
6591 * text.C (leftMargin): adjust
6592 (setHeightOfRow): adjust
6594 * rowpainter.C (paintFirst): adjust
6597 * paragraph_pimpl.C (realizeFont): adjust
6599 * paragraph.C (isFirstInSequence): move from here...
6600 * paragraph_funcs.C (isFirstInSequence): ...to here
6602 * paragraph.C (outerHook): move from here...
6603 * paragraph_funcs.C (outerHook): ...to here
6605 * paragraph.C (depthHook): move from here...
6606 * paragraph_funcs.C (depthHook): ...to here
6608 * paragraph.C (getEndLabel): move from here...
6609 * paragraph_funcs.C (getEndLabel): ...to here
6611 * text2.C (realizeFont): move from here...
6612 * paragraph_funcs.C (realizeFont): ...to here
6614 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6618 2003-04-14 Angus Leeming <leeming@lyx.org>
6620 * LColor.[Ch]: scrap LColor mathcursor.
6622 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * lyxlex.[Ch] (text): delete function
6625 * trans.C (Load): adjust
6626 * paragraph_funcs.C (readParToken): adjust
6628 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6631 vector<char> instead of a char[].
6633 * lyxlex_pimpl.C (getString): adjust
6635 (lex): use getString
6639 * lyxlex.C (text): use pimpl_->getString()
6643 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6646 (makeFontEntriesLayoutSpecific): temp var for par.size()
6647 (setLayout): temp var for ownerParagraphs().end()
6648 (fullRebreak): temp var for rows().end()
6649 (selectionAsString): temp var for boost::next(startpit), realize
6650 that the while really is a regular for loop.
6651 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6652 setCursor in one place.
6653 (setParagraph): temp vr for ownerParagraphs().end()
6654 (updateCounters): make the while loop a for loop
6655 (cutSelection): temp var for ownerParagraphs().end()
6656 (updateInset): make the do {} while() a regular for loop
6657 (getCursorX): use temp vars
6658 (setCurrentFont): use temp vars
6659 (getColumnNearX): use temp vars
6661 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * text.C (transformChar): use temp var for getChar
6664 (computeBidiTables): use temp var for row->par()
6665 (fill): move temp vars for row->par() and pit->layout() earlier in
6667 (labelFill): use temp var for row->par()
6668 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6669 asc and desc, realize that pit never changes and that firstpit is
6670 just a duplicate and not needed. Exchange rit->par() with pit in a
6672 (breakAgain): use a temp var for boost::next(rit)
6673 (breakAgainOneRow): ditto
6674 (breakParagraph): use a temp var for rows().begin()
6675 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6676 (cursorRightOneWord): use temp var for cursor.par() and
6677 cursor.pos(), remove usage of tmpcursor.
6678 (cursorLeftOneWord): use temp var for cursor.par() and
6679 cursor.pos() only set cur at end of function.
6681 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6683 * text.C, text2.C: exchange all usage of Paragraph::next with
6684 boost::next(ParagraphList::iterator)
6686 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6688 * text2.C (cursorTop): simplify implementation
6689 (cursorBottom): ditto
6690 (setParagraph): use ParagraphList::iterator
6691 (setCurrentFont): adjust
6692 (getColumnNearX): adjust
6693 (cursorRight): adjust
6694 (cursorLeft): remove usage of Paragraph::previous
6695 (cursorUpParagraph): ditto
6696 (deleteEmptyParagraphMechanism): slight cleanup
6698 * text.C (isBoundary): take a Paragraph const & instead of a
6700 (addressBreakPoint): ditto
6701 (leftMargin): remove usage of Paragraph::previous.
6702 (setHeightOfRow): ditto
6703 (cursorLeftOneWord): ditto
6704 (selectNextWordToSpellcheck): ditto
6707 (breakParagraph): remove one usage of Paragraph::next
6708 (redoParagraph): ditto
6709 (acceptChange): ditto
6710 (insertChar): adjust
6711 (rowBreakPoint): adjust
6713 * bufferview_funcs.C (toggleAndShow): adjust
6715 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6717 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6718 methods to access it.
6720 * text.C: Added updateRowPositions to compute all row positions.
6721 Make top_y and getRowNearY() to use the cached y position
6723 2003-04-11 John Levon <levon@movementarian.org>
6725 * text.C (rowBreakPoint): reintroduce the labelEnd
6726 checks, code copied from the row fill stuff. Deep voodoo.
6728 * text.C (fill): add a comment and debugging for the
6731 2003-04-11 John Levon <levon@movementarian.org>
6733 * text.C: make sure fullrow insets get wrapped to the next line,
6734 even when they're in a manual label
6736 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text2.C (insertParagraph): make it take ParagraphList::iterator
6740 (setLayout): make it return ParagraphList::iterator
6741 (redoParagraphs): ditto
6743 (checkParagraph): ditto
6745 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6747 * text2.C: adjust several funcs.
6748 (realizeFont): take a ParagraphList::iterator as arg.
6749 (getLayoutFont): ditto
6750 (getLabelFont): ditto
6751 (setCharFont): ditto
6753 * text.C: adjust several funcs.
6755 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6757 * text.C (selectNextWordToSpellcheck): don't accidentally
6760 2003-04-10 John Levon <levon@movementarian.org>
6762 * ToolbarBackend.C (getIcon): special handling for
6765 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6767 * text2.C (cursorRight): a getChar assert fixed
6769 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * text2.C (getFont): change to take a ParagraphList::iterator
6772 instead of Paragraph*
6773 Adjust several functions.
6775 * text.C (transformChar): change to take a ParagraphList::iterator
6776 instead of Paragraph*
6777 (singleWidth): ditto
6778 Adjust several functions.
6780 * rowpainter.C: adjust several functions
6781 * rowpainter.h:store a ParagraphList::iterator and not a
6785 2003-04-09 John Levon <levon@movementarian.org>
6790 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6791 and the "help" bits as well
6793 2003-04-09 John Levon <levon@movementarian.org>
6796 * ToolbarBackend.C: allow multiple toolbars
6798 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6800 * undo_funcs.C (setCursorParUndo): adjust
6802 * text_funcs.C (transposeChars): adjust
6804 * text3.C (gotoNextInset): adjust
6807 * text2.C (setLayout): adjust
6808 (changeDepth): adjust
6810 (redoParagraphs): adjust
6811 (selectionAsString): adjust
6812 (setParagraph): adjust
6813 (insertInset): adjust
6814 (cutSelection): adjust
6815 (copySelection): adjust
6816 (pasteSelection): adjust
6817 (insertStringAsLines): adjust
6818 (updateInset): adjust
6819 (setCursor): change to take a ParagraphList::iterator parameter
6820 (setCursorIntern): change to take a ParagraphList::iterator parameter
6821 (setCurrentFont): adjust
6822 (cursorLeft): adjust
6823 (cursorRight): adjust
6824 (deleteEmptyParagraphMechanism): adjust
6826 * text.C (breakParagraph): adjust
6827 (insertChar): adjust
6828 (acceptChange): adjust
6829 (rejectChange): adjust
6830 (selectNextWordToSpellcheck): adjust
6831 (changeCase): adjust
6835 * lyxfind.C (SearchForward): adjust
6836 (SearchBackward): adjust
6837 (nextChange): adjust
6839 * lyxcursor.C (par): adjust
6841 * lyxcursor.h: store a ParagraphList::iterator instead of a
6844 * lyx_cb.C (getPossibleLabel): adjust
6846 * bufferview_funcs.C (toggleAndShow): adjust
6848 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6851 * BufferView.C (removeAutoInsets): adjust
6852 (lockedInsetStoreUndo): adjust
6854 2003-04-09 John Levon <levon@movementarian.org>
6856 * ToolbarBackend.C: try icon without argument
6857 if with argument fails
6859 2003-04-08 John Levon <levon@movementarian.org>
6862 * ToolbarBackend.C: add getIcon(), handle tooltip,
6863 and change from "Icon" to "Item".
6865 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6867 * BufferView.C (lockInset): another bad getchar crunched
6869 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6871 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6874 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6876 * lyxfind.C (searchForward, searchBackwards): bug 782
6878 2003-04-07 John Levon <levon@movementarian.org>
6880 * paragraph.C: remove dead comment
6882 * text.C: remove troublesome depth-fiddling code
6883 in leftMargin() and rightMargin() (bug 1017)
6885 * text.C: fix breaking of rows in nested lists
6888 * text2.C (updateCounters): fix up depth values
6891 2003-04-07 John Levon <levon@movementarian.org>
6893 * BufferView_pimpl.C: clear message when doc finishes resizing,
6894 and after a mouse event
6896 * lyxfunc.C: clear message after exiting inset
6898 2003-04-07 John Levon <levon@movementarian.org>
6900 * bufferview_funcs.C: show math status not outside
6901 status in the statusbar
6903 2003-04-07 John Levon <levon@movementarian.org>
6905 * lyxfunc.C: note status changed after a depth change
6907 2003-04-04 Angus Leeming <leeming@lyx.org>
6909 * LaTeX.h: move AuxInfo operator==, != out of line.
6910 Remove LaTeX virtual destructor; nothing derives from it.
6911 Move operator()() out of public area and rename it startscript().
6912 Change protected for private.
6914 2003-04-04 Angus Leeming <leeming@lyx.org>
6917 * text2.C: remove unneeded #includes.
6919 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6921 * text2.C (dEPM): fix the heigth of the next row
6923 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6925 * text.C: squashed an invalid getChar requester + some ws changes
6927 2003-04-03 John Levon <levon@movementarian.org>
6929 * bufferview_funcs.h:
6930 * bufferview_funcs.C:
6933 * text2.C: make getStatus work for the env depth lfuns
6935 2003-04-03 John Levon <levon@movementarian.org>
6937 * bufferview_funcs.h:
6938 * bufferview_funcs.C:
6941 * text2.C: parlistize decDepth(), by merging it with incDepth()
6943 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * lyxrow.h: store a ParagraphList::iterator instead of a
6946 Paragraph* and adjust other class functions to suit.
6948 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6951 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6953 * text2.C (setCursor): do not anchor to cursor row for the time being
6955 2003-04-02 John Levon <levon@movementarian.org>
6962 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6964 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * paragraph.h: make ParagraphList and ParagraphList::iterator
6967 friends of Paragraph.
6969 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6971 * ParagraphList.C: Use the private next_ and previous_ from
6974 2003-04-01 John Levon <levon@movementarian.org>
6978 * Makefile.am: rename, remove defaults gunk
6981 * MenuBackend.C: remove defaults gunk
6984 * Languages.C: remove defaults gunk
6987 * lyx_main.C: error out if files couldn't be found.
6989 2003-04-02 John Levon <levon@movementarian.org>
6991 * text2.C: make incDepth() use parlist
6993 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * undo_funcs.C (firstUndoParagraph): adjust
6997 * text3.C (gotoInset): adjust
6998 (dispatch): adjust, and rewrite loop.
7000 * text2.C (init): adjust, and rewrite loop.
7001 (redoParagraphs): adjust
7002 (updateInset): adjust, and rewrite loop.
7003 (deleteEmptyParagraphMechanism): adjust
7005 * tabular.C (LyXTabular): adjust
7006 (SetMultiColumn): adjust
7009 * lyxtext.[Ch] (ownerParagraph): delete function
7010 (ownerParagraphs): new function returns a ParagraphList.
7012 * BufferView.C (removeAutoInsets): adjust
7013 (insertErrors): adjust
7014 (setCursorFromRow): adjust
7016 2003-04-01 Angus Leeming <leeming@lyx.org>
7018 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7021 2003-04-02 John Levon <levon@movementarian.org>
7027 * text_funcs.C: make transposeChars a free function
7029 * lyxrow_funcs.C: remove wrong comment
7031 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * rowpainter.C: adjust
7039 * lyxrow_funcs. [Ch]: new files
7041 * lyxrow.[Ch]: remove next and previous pointers
7042 (next,previous): remove accessor functions
7043 (isParEnd): move to lyxrow_funcs
7044 (lastPos): move to lyxrow_funcs
7045 (nextRowIsAllInset): move to lyxrow_funcs
7046 (lastPrintablePos): move to lyxrow_funcs
7047 (numberOfSeparators): move to lyxrow_funcs
7048 (numberOfHfills): move to lyxrow_funcs
7049 (numberOfLabelHfills): move to lyxrow_funcs
7050 (hfillExpansion): move to lyxrow_funcs
7054 * bufferview_funcs.C (toggleAndShow): adjust
7056 * RowList.h: Remove class RowList from file leave just a
7059 * RowList.C: delete file
7061 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7064 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * text3.C (cursorPrevious): adjust
7067 (cursorNext): adjust
7070 * text2.C (redoHeightOfParagraph): adjust
7071 (redoDrawingOfParagraph): adjust
7074 * text.C (breakParagraph): adjust
7075 (insertChar): adjust
7078 * rowpainter.C (RowPainter): adjust
7079 (leftMargin): simplify and adjust
7080 (most rowpainter functions): adjust.
7082 * rowpainter.h: store the row as RowList::iterator not as Row*
7084 * lyxcursor.C (row): taka RowList::iterator as arg
7087 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7090 2003-04-01 Angus Leeming <leeming@lyx.org>
7092 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7093 stuff like bool Bool.
7095 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7097 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7100 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7105 * lyxtext.h (rows): drop one version and leve a const variant that
7106 returns a RowList::iterator.
7108 2003-03-31 Angus Leeming <leeming@lyx.org>
7110 * text.C (fill): ensure that the signature is the same as that in the
7113 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * text2.C (redoParagraphs): adjust
7116 (updateCounters): adjust
7117 (checkParagraph): adjust
7118 (getColumnNearX): adjust and reformat a bit.
7120 * text.C (top_y): adjust
7122 (leftMargin): adjust
7123 (prepareToPrint): adjust
7125 (getRowNearY): adjust
7127 * lyxtext.h: make rowlist_ mutable.
7129 * RowList.h: add const_iterator
7130 * RowList.C: adjust for RowList::const_iterator.
7132 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7135 2003-03-31 John Levon <levon@movementarian.org>
7138 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7140 * lyx_main.C: set default fonts from using lyx_gui funcs
7142 * exporter.C: pdf_mode moved from lyxrc
7145 * lyxfunc.C: changes from above
7147 2003-03-31 John Levon <levon@movementarian.org>
7149 * lyx_main.C: fix to the last fix
7151 2003-03-31 John Levon <levon@movementarian.org>
7153 * bufferlist.C: "Load original" -> "Load Original"
7159 * format.C: more Alert cleanups
7161 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * text2.C (removeParagraph): make it take a RowList::iterator as
7165 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7166 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7168 * text.C (anchor_row): make it take a RowList::iterator as arg,
7170 (computeBidiTables): make it take a const reference to Row instead
7171 of Row pointer, adjust.
7172 (leftMargin): make it take a RowList::iterator as arg, adjust.
7173 (rowBreakPoint): adjust
7174 (breakAgainOneRow): make it take a RowList::iterator as arg,
7176 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7178 * bufferview_funcs.C (toggleAndShow): adjust
7180 2003-03-30 John Levon <levon@movementarian.org>
7184 * boost-inst.C: moved to support
7186 * several files: changes as a result
7188 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7190 * text2.C (LyXText): adjust.
7192 (removeRow): make it take a RowList::iterator as arg, adjust.
7193 (fullRebreak): adjust
7194 (deleteEmptyParagraphMechanism): adjust
7195 (clearPaint): adjust
7198 * text.C (top_y): adjust
7199 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7200 (breakAgain): make it take a RowList::iterator as arg, adjust.
7201 (breakParagraph): adjust
7202 (insertChar): adjust
7205 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7206 need_break_row, and refresh_row.
7208 * text3.C (dispatch): adjust
7210 * text2.C (checkParagraph): adjust
7212 (setCursorFromCoordinates): adjust
7214 * text.C (top_y): adjust
7216 (getRow): make it return a RowList::iterator, adjust
7217 (getRowNearY): make it return a RowList::iterator, adjust
7219 * text2.C (init): adjust
7220 (insertRow): remove function
7221 (insertParagraph): adjust
7222 (redoParagraphs): adjust
7223 (fullRebreak): adjust
7224 (updateCounters): adjust
7226 * text.C (top_y): rewrite to use RowList iterators.
7228 (setHeightOfRow): rewrite to sue RowList iterators.
7229 (appendParagraph): adjust
7230 (breakAgain): adjust
7231 (breakAgainOneRow): adjust
7232 (breakParagraph): adjust
7234 (getRowNearY): adjust, and remove commented code.
7236 * lyxtext.h (firstRow): delete function
7237 (lastRow): delete function
7238 (rows): new function (const and non-const versions.)
7239 (insertRow): delete function
7241 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7243 2003-03-29 John Levon <levon@movementarian.org>
7245 * BufferView_pimpl.C: always update scrollbar top
7246 because pasting text when we're anchored could mean we
7247 miss an update altogether
7249 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * text2.C (init): use rowlist_.end() and not 0.
7252 (insertRow): change to take a RowList::iterator as arg, adjust
7254 (insertParagraph): change to take a RowList::iterator as arg,
7256 (redoParagraphs): remove some debug msgs.
7258 * text.C (appendParagraph): change to take a RowList::iterator
7259 arg, adjust for this.
7260 (breakAgain): add an assert
7261 (breakAgainOneRow): ditto
7263 2003-03-29 John Levon <levon@movementarian.org>
7265 * text2.C: do not clear selection after inc/decDepth
7268 2003-03-29 John Levon <levon@movementarian.org>
7271 * buffer.C: fix broken strerrors according to Lars
7273 2003-03-29 John Levon <levon@movementarian.org>
7275 * converters.C: more Alert cleanups
7277 2003-03-29 John Levon <levon@movementarian.org>
7279 * bufferview_funcs.C: remove pointless Alert
7281 * buffer.C: fix confusing error message when
7282 a template is chmoded 000
7284 2003-03-29 John Levon <levon@movementarian.org>
7288 * BufferView_pimpl.C: Alert fixes
7292 * tabular-old.C: remove unused table compat reading
7294 2003-03-29 John Levon <levon@movementarian.org>
7299 * lyx_cb.C: more Alert cleanups
7301 * lyxfunc.C: don't allow chktex if not latex document
7303 2003-03-29 John Levon <levon@movementarian.org>
7307 * buffer.C: warnings pushed down from support/,
7310 2003-03-29 John Levon <levon@movementarian.org>
7312 * lyxfunc.C: safety check for C-r (revert)
7314 2003-03-29 John Levon <levon@movementarian.org>
7317 * bufferlist.C: several UI fixes using Alert::prompt.
7318 Fix the pointless looping quit code. Fix stupid revert
7323 * lyx_cb.C: use Alert::prompt
7325 * lyx_main.C: remove a silly question
7327 * lyxfunc.C: remove a couple of silly questions,
7330 2003-03-28 John Levon <levon@movementarian.org>
7332 * text2.C: fix bug 974 (End on empty par)
7334 2003-03-28 John Levon <levon@movementarian.org>
7336 * BufferView_pimpl.C:
7338 * lfuns.h: remove do-nothing math greek lfuns
7340 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * lyxgluelength.h (isValidGlueLength): add default arg on
7343 parameter 2. Remove default arg from friend in class.
7345 * lyxlength.h (isValidLength): add default arg on parameter 2.
7346 Remove default arg from friend in class.
7348 * text2.C (LyXText): adjust, initialize refresh_row.
7352 (insertParagraph): adjst
7353 (redoParagraphs): adjust
7354 (fullRebreak): adjust
7355 (updateCounters): adjust
7356 (deleteEmptyParagraphMechanism): first attempt at fixing a
7359 * text.C (top_y): adjust
7360 (setHeightOfRow): adjust
7362 (getRowNearY): adjust
7364 * lyxtext.h: include RowList.h
7365 (~LyXText): not needed anymore, deleted.
7366 (firstRow): modify for RowList
7367 (lastRow): new function
7368 Delete firstrow and lastrow class variables, add a Rowlist
7369 rowlist_ class variable.
7371 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7374 * RowList.C (insert): fix case where it == begin().
7376 2003-03-26 Angus Leeming <leeming@lyx.org>
7378 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7379 the thesaurus dialog.
7381 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7385 * RowList.[Ch]: new files
7387 * ParagraphList.C (erase): handle the case where it == begin
7390 2003-03-25 John Levon <levon@movementarian.org>
7394 * aspell.C: add new aspell support
7397 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7400 2003-03-25 Angus Leeming <leeming@lyx.org>
7403 * LyXAction.C (init): new LFUN_INSET_INSERT.
7405 * BufferView_pimpl.C (dispatch): split out part of the
7406 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7408 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7411 2003-03-25 Angus Leeming <leeming@lyx.org>
7413 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7415 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7418 * text3.C: remove useless row->height(0)
7420 2003-03-25 John Levon <levon@movementarian.org>
7424 * text3.C: rename the refreshing stuff to better names
7426 2003-03-24 John Levon <levon@movementarian.org>
7428 * BufferView_pimpl.h:
7429 * BufferView_pimpl.C: update layout choice on a mouse
7432 2003-03-23 John Levon <levon@movementarian.org>
7434 * Makefile.am: fix commandtags.h reference
7436 2003-03-22 John Levon <levon@movementarian.org>
7438 * BufferView_pimpl.C:
7443 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7445 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7448 * text.C: take the rtl methods out of line
7450 2003-03-21 André Pönitz <poenitz@gmx.net>
7452 * metricsinfo.[Ch]: new files containing structures to be passed around
7453 during the two-phase-drawing...
7455 2003-03-21 André Pönitz <poenitz@gmx.net>
7457 * lyxtextclass.C: read 'environment' tag.
7459 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7461 * text2.C (removeRow): fix bug 964
7463 2003-03-20 John Levon <levon@movementarian.org>
7467 * text2.C: paint cleanups. Inset::update() dropped font
7470 2003-03-19 John Levon <levon@movementarian.org>
7472 * lyxfunc.C: only fitcursor/markDirty if available()
7474 2003-03-19 John Levon <levon@movementarian.org>
7476 * commandtags.h: rename to ...
7478 * lfuns.h: ... this, and renumber / cleanup
7480 2003-03-19 John Levon <levon@movementarian.org>
7482 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7483 fit the cursor after an lfun
7487 * BufferView_pimpl.h:
7488 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7490 * LyXAction.C: layout-character should have ReadOnly
7492 * ParagraphParameters.C:
7494 * bufferview_funcs.C:
7501 * undo_funcs.C: changes from above
7503 2003-03-18 John Levon <levon@movementarian.org>
7505 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7506 remove it from update()
7508 * lyxfunc.C: update layout choice after an lfun
7510 * text3.C: remove extra updateLayoutChoice()s
7512 2003-03-18 John Levon <levon@movementarian.org>
7514 * text.C: top_y change means full repaint, fix
7515 a drawing bug with cursor movement
7517 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7521 * text2.C: anchor row on setCursor
7523 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7525 * lyxtext.h: remove almost all mutable keywords
7528 * text3.C: remove const keywords accordingly
7530 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7534 (TeXEnvironment): ditto
7537 2003-03-17 John Levon <levon@movementarian.org>
7539 * text.C (rowBreakPoint): remove attempt to fix displayed
7540 math insets inside a manual label
7542 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * lyxtext.h: remove BufferView* as first arg from almost all class
7546 * other files: adjust.
7548 2003-03-17 John Levon <levon@movementarian.org>
7552 * text2.C: more paint cleanups
7554 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7557 * rowpainter.C: remove "smart" background painting code
7559 2003-03-16 John Levon <levon@movementarian.org>
7564 * text3.C: add helper functions for setting refresh_row/y
7566 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7568 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7569 newline inset which *can* get inserted in the pass_thru layouts.
7570 This is primarily for literate documents.
7572 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7574 * buffer.C: increment LYX_FORMAT to 223
7576 2003-03-14 André Pönitz <poenitz@gmx.net>
7578 * textclass.h: prepare for environment handling, ws changes
7579 * lyxlayout.C: read latexheader and latexfooter tags
7581 2003-03-14 John Levon <levon@movementarian.org>
7583 * text2.C: rewrite ::status() a bit
7585 2003-03-13 John Levon <levon@movementarian.org>
7587 * lyxtext.h: add some docs
7589 2003-03-13 John Levon <levon@movementarian.org>
7594 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7596 2003-03-13 John Levon <levon@movementarian.org>
7598 * text3.C: fix appendix redrawing
7600 2003-03-13 John Levon <levon@movementarian.org>
7602 * text.C (setHeightOfRow):
7604 * rowpainter.C: make appendix mark have the text
7605 "Appendix" so the user knows what it is
7608 * LColor.C: s/appendixline/appendix/ from above
7610 2003-03-13 John Levon <levon@movementarian.org>
7612 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7614 * text.C: fix a getChar(pos) bug properly
7616 2003-03-13 Angus Leeming <leeming@lyx.org>
7619 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7620 Probably only temporary. Let's see how things pan out.
7622 * BufferView.C (unlockInset):
7623 * BufferView_pimpl.C (fitCursor):
7624 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7626 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7627 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7629 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7630 new functions that convert ParagraphParameters to and from a string.
7632 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7633 BufferView::Pimpl's dispatch.
7634 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7636 2003-03-13 André Pönitz <poenitz@gmx.net>
7640 * factory.C: make it aware of InsetEnv
7642 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * text2.C (setCursor): never ask for one past last
7645 (setCursor): add some debugging messages.
7647 * text.C (singleWidth): never ask for one past last
7648 (singleWidth): ditto
7650 (rightMargin): ditto
7651 (rowBreakPoint): ditto
7652 (setHeightOfRow): ditto
7653 (prepareToPrint): ditto
7655 * rowpainter.C (paintBackground): never ask for one past last
7656 (paintText): never ask for one past last
7658 * paragraph_pimpl.C (getChar): make the assert stricter, never
7659 allow the one past last pos to be taken
7661 * paragraph.C (getChar): ws changes only
7663 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7664 (numberOfSeparators): ditto
7665 (numberOfHfills): ditto
7667 2003-03-12 John Levon <levon@movementarian.org>
7673 * paragraph_funcs.C: fix per-buffer authorlists
7675 2003-03-12 John Levon <levon@movementarian.org>
7677 * text.C: fix newline in right address
7679 2003-03-12 Angus Leeming <leeming@lyx.org>
7681 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7682 duplicate those in LyXFunc::dispatch.
7686 * ToolbarDefaults.C:
7687 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7688 Add LFUN_FONTFREE_UPDATE.
7690 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7691 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7693 * bufferview_func.[Ch]: several new functions to facilliate
7694 transfer of data to and from the character dialog.
7696 2003-03-12 John Levon <levon@movementarian.org>
7701 * paragraph_funcs.C:
7702 * paragraph_pimpl.C:
7706 * text3.C: remove META_NEWLINE in favour of an inset
7709 * rowpainter.C: remove paintNewline (done by inset)
7711 2003-03-12 John Levon <levon@movementarian.org>
7713 * paragraph_pimpl.C: complain about bad getChar()s
7714 for a while at least
7716 2003-03-12 John Levon <levon@movementarian.org>
7719 * buffer.C: move paragraph read into a separate function,
7720 a little renaming to reflect that.
7723 * bufferparams.C: remove the author_ids map, not necessary now
7726 * factory.C: moved Buffer::readInset to here
7728 * paragraph_funcs.h:
7729 * paragraph_funcs.C: readParagraph free function moved from
7732 * tabular.C: name change
7734 2003-03-12 John Levon <levon@movementarian.org>
7737 * ParagraphParameters.C: move par params input to
7740 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7741 behave like a normal read from the stream wrt reading
7742 a line vs. a \\token
7744 2003-03-12 John Levon <levon@movementarian.org>
7747 * ParagraphParameters.h:
7748 * ParagraphParameters.C: move output code to a
7751 2003-03-12 John Levon <levon@movementarian.org>
7753 * BufferView.C (insertLyXFile):
7756 * tabular.C: use a parlist iterator for creating the
7759 2003-03-12 John Levon <levon@movementarian.org>
7761 * buffer.C: make current_change static local not
7764 2003-03-12 John Levon <levon@movementarian.org>
7766 * buffer.C: fix insertStringAsLines for change tracking
7768 2003-03-12 John Levon <levon@movementarian.org>
7775 * bufferparams.C: move author list into params. Rename some
7776 functions. Move the header reading into a separate token
7777 loop. Move the header token reading into BufferParams.
7779 2003-03-12 John Levon <levon@movementarian.org>
7781 * changes.C: put debug inside lyxerr.debugging() checks
7783 2003-03-11 André Pönitz <poenitz@gmx.net>
7785 * factory.C: make it aware of InsetHFill
7787 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * buffer.C (latexParagraphs): move function from here...
7790 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7793 2003-03-10 Angus Leeming <leeming@lyx.org>
7795 * LyXAction.C (init): fix bug in poplating array with multiple entries
7796 with the same LFUN (spotted by JMarc).
7798 2003-03-10 John Levon <levon@movementarian.org>
7801 * text2.C: move getColumnNearX() near its
7804 2003-03-10 John Levon <levon@movementarian.org>
7806 * text.C: fix break before a minipage
7808 2003-03-10 John Levon <levon@movementarian.org>
7810 * text.C: fix the last commit
7812 2003-03-09 John Levon <levon@movementarian.org>
7816 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7817 bug 365 (don't break before insets unless needed). Don't
7818 return a value > last under any circumstances.
7820 2003-03-09 Angus Leeming <leeming@lyx.org>
7822 * BufferView_pimpl.C (trackChanges, dispatch): call
7823 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7825 2003-03-09 Angus Leeming <leeming@lyx.org>
7827 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7828 than Dialogs::showAboutlyx().
7830 2003-03-09 Angus Leeming <leeming@lyx.org>
7832 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7833 than Dialogs::showTabularCreate().
7835 2003-03-09 John Levon <levon@movementarian.org>
7839 * text2.C: 3rd arg to nextBreakPoint was always the same.
7842 2003-03-08 John Levon <levon@movementarian.org>
7849 * text2.C: Remove the "main" bit from the "main body"
7852 2003-03-08 John Levon <levon@movementarian.org>
7854 * text.C (leftMargin): The left margin of an empty
7855 manual label paragraph should not include the label width
7858 * text.C (prepareToPrint): don't attempt to measure hfills
7859 for empty manual label paragraphs - the answer should be 0
7861 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * CutAndPaste.C: remove commented code and reindent.
7865 2003-03-08 John Levon <levon@movementarian.org>
7868 * lyxfunc.C: move reloadBuffer()
7871 * BufferView.C: to here
7873 * lyxvc.C: add comment
7876 * vc-backend.C: call bv->reload() to avoid
7877 getStatus() check on MENURELOAD
7879 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7881 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7882 to an old format .dep file.
7884 2003-03-07 Angus Leeming <leeming@lyx.org>
7886 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7887 when the LFUN_MOUSE_RELEASE should have been handled by
7888 inset->localDispatch.
7890 2003-03-07 Angus Leeming <leeming@lyx.org>
7892 * BufferView_pimpl.C (dispatch):
7893 * LyXAction.C (init):
7894 * ToolbarDefaults.C (init):
7896 * lyxfunc.C (getStatus):
7897 remove LFUN_INSET_GRAPHICS.
7899 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7901 2003-03-07 Angus Leeming <leeming@lyx.org>
7904 * LyXAction.C (init):
7905 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7907 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7910 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7912 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7913 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7915 2003-03-07 Angus Leeming <leeming@lyx.org>
7917 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7920 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7922 * ParagraphList.C (front): new function
7925 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7927 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7928 and top_row_offset_. removed var first_y.
7930 * text2.C (LyXText, removeRow):
7932 * BufferView_pimpl.C:
7933 use these methods instead of using first_y
7935 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7937 * text2.C (pasteSelection): adjust for checkPastePossible
7939 * CutAndPaste.C: remove Paragraph * buf and replace with
7940 ParagraphList paragraphs.
7941 (DeleteBuffer): delete
7942 (cutSelection): change the tc type to textclass_type
7943 (copySelection): change the tc type to textclass_type
7944 (copySelection): adjust for ParagraphList
7945 (pasteSelection): change the tc type to textclass_type
7946 (pasteSelection): adjust for Paragraphlist
7947 (nrOfParagraphs): simplify for ParagraphList
7948 (checkPastePossible): simplify for ParagraphList
7949 (checkPastePossible): remove unused arg
7951 * ParagraphList.C (insert): handle the case where there are no
7954 * CutAndPaste.h: make CutAndPaste a namespace.
7956 * text3.C (dispatch): adjust
7958 * text.C (breakParagraph): add a ParagraphList as arg
7960 * paragraph_funcs.C (breakParagraph): change to take a
7961 BufferParams and a ParagraphList as args.
7962 (breakParagraphConservative): ditto
7963 (mergeParagraph): ditto
7964 (TeXDeeper): add a ParagraphList arg
7965 (TeXEnvironment): ditto
7968 * buffer.C (readLyXformat2): adjust
7969 (insertStringAsLines): adjust
7970 (latexParagraphs): adjust
7972 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7973 (cutSelection): adjust
7974 (pasteSelection): adjust
7976 * BufferView_pimpl.C (insertInset): adjust
7978 2003-03-05 Angus Leeming <leeming@lyx.org>
7981 * LyXAction.C (init):
7982 * BufferView_pimpl.C (dispatch):
7983 * lyxfunc.C (getStatus):
7984 remove LFUN_CHILD_INSERT.
7986 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7988 2003-03-05 Angus Leeming <leeming@lyx.org>
7991 * LyXAction.C (init):
7992 * src/factory.C (createInset):
7993 * lyxfunc.C (getStatus):
7994 * text3.C (dispatch):
7995 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7997 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7999 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8001 * ParagraphList.C (insert): handle insert right before end()
8002 (erase): fix cases where it can be first or last paragraph.
8004 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8006 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8007 Paragraph::next and Paragraph::previous
8010 * text.C (breakParagraph): adjust
8012 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8013 BufferParams& as arg.
8014 (breakParagraph): use ParagraphList::insert
8015 (breakParagraphConservative): take a Buffer* instead of a
8016 BufferParams& as arg.
8017 (breakParagraphConservative): use ParagraphList::insert.
8019 * buffer.C (insertStringAsLines): un-const it
8020 (insertStringAsLines): adjust
8022 * ParagraphList.C (insert): new function
8024 * CutAndPaste.C (pasteSelection): adjust
8026 * text.C (backspace): adjust
8028 * tabular.C (SetMultiColumn): adjust
8030 * CutAndPaste.C (cutSelection): adjust
8031 (pasteSelection): adjust
8033 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8034 Buffer const * as arg
8036 * ParagraphList.C (erase): new function
8037 * paragraph_funcs.C (mergeParagraph): use it
8038 (mergeParagraph): make it take a Buffer* instead of a
8039 BufferParams* as arg
8041 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8043 (breakParagraphConservative): ditto
8045 * paragraph.h: remove the breakParagraph friend
8047 * paragraph.C (eraseIntern): new function
8048 (setChange): new function
8050 * paragraph_funcs.C (mergeParagraph): make it take a
8051 ParagraphList::iterator instead of a Paragraph *, adjust
8054 * paragraph.h: move an #endif so that the change tracking stuff
8055 also works in the NO_NEXT case.
8057 2003-03-04 Angus Leeming <leeming@lyx.org>
8060 * LyXAction.C: new LFUN_INSET_MODIFY.
8062 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8063 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8065 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * several files: ws changes only
8069 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8070 (TeXEnvironment): ditto
8073 * buffer.C (makeLaTeXFile): adjust
8074 (latexParagraphs): make it take ParagraphList::iterator as args
8076 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * buffer.C (latexParagraphs): adjust
8080 * paragraph.C (TeXOnePar): move function...
8081 (optArgInset): move function...
8082 (TeXEnvironment): move function...
8083 * paragraph_pimpl.C (TeXDeeper): move function...
8084 * paragraph_funcs.C: ...here
8086 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8088 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * buffer.C (readInset): remove compability code for old Figure and
8093 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * buffer.C: ws changes
8098 * BufferView_pimpl.C: ditto
8101 * bufferlist.h: ditto
8105 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8107 * converter.[Ch]: split into itself +
8110 * Makefile.am: += graph.[Ch] + format.[Ch]
8117 * lyxrc.C: added #include "format.h"
8119 2003-02-27 Angus Leeming <leeming@lyx.org>
8121 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8124 * factory.C (createInset): add "label" to the factory.
8126 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8127 string and do no more.
8129 2003-02-27 Angus Leeming <leeming@lyx.org>
8132 * LyXAction.C (init):
8133 * factory.C (createInset):
8134 * BufferView_pimpl.C (dispatch):
8135 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8137 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8139 * lyxfunc.C (dispatch):
8140 * text3.C (dispatch): pass name to params2string.
8142 2003-02-26 Angus Leeming <leeming@lyx.org>
8144 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8146 Rearrange the ~includes. Strip out the unnecessary ones.
8148 * factory.C (createInset): reformat.
8149 create new insets for the various LFUN_XYZ_APPLY lfuns.
8151 2003-02-26 John Levon <levon@movementarian.org>
8154 * lyxrow.C: add isParStart,isParEnd helpers
8156 * paragraph.h: make isInserted/DeletedText take refs
8158 * paragraph_funcs.h:
8159 * paragraph_funcs.C: remove #if 0'd code
8164 * text.C: use lyxrow helpers above.
8165 Move draw and paint routines to RowPainter.
8166 Make several methods use refs not pointers.
8167 Make backgroundColor() const.
8168 Add markChangeInDraw(), isInInset().
8169 Merge changeRegionCase into changeCase.
8170 Make workWidth() shouldn't-happen code into an Assert.
8173 * rowpainter.C: new class for painting a row.
8176 * vspace.C: make inPixels take a ref
8178 2003-02-26 Angus Leeming <leeming@lyx.org>
8180 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8183 2003-02-25 John Levon <levon@movementarian.org>
8185 * ispell.C: give the forked command a more accurate name
8187 2003-02-22 John Levon <levon@movementarian.org>
8190 * toc.C: make TocItem store an id not a Paragraph *
8193 2003-02-21 Angus Leeming <leeming@lyx.org>
8195 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8196 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8197 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8198 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8199 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8200 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8202 * BufferView_pimpl.C (dispatch):
8203 * LyXAction.C (init):
8204 * factory.C (createInset):
8205 * lyxfunc.C (getStatus, dispatch):
8206 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8208 2003-02-21 Angus Leeming <leeming@lyx.org>
8210 * BufferView_pimpl.C (MenuInsertLyXFile):
8211 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8212 * lyxfunc.C (menuNew, open, doImport):
8213 no longer pass a LyXView & to fileDlg.
8215 2003-02-21 Angus Leeming <leeming@lyx.org>
8217 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8218 * LyXAction.C: change, BIBKEY to BIBITEM.
8219 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8220 Change InsetBibKey to InsetBibitem.
8221 Change BIBKEY_CODE to BIBITEM_CODE.
8222 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8223 * factory.C: replace insetbib.h with insetbibitem.h.
8224 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8225 * paragraph.C: replace insetbib.h with insetbibitem.h.
8226 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8227 Change bibkey() to bibitem().
8228 * text.C: remove insetbib.h.
8229 * text2.C: replace insetbib.h with insetbibitem.h.
8230 change bibkey() to bibitem().
8231 * text3.C: remove insetbib.h.
8232 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8234 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * lyxrc.C (output): enclose user email in quotes (in case there are
8239 2003-02-18 John Levon <levon@movementarian.org>
8241 * buffer.h: add std::
8243 2003-02-17 John Levon <levon@movementarian.org>
8249 * pspell.C: reworking. Especially in ispell, a large
8250 number of clean ups and bug fixes.
8252 * lyxfunc.C: fix revert to behave sensibly
8254 2003-02-17 André Pönitz <poenitz@gmx.net>
8257 * commandtags.h: new LFUN_INSERT_BIBKEY
8267 * paragraph_func.C: remove special bibkey handling
8269 2003-02-17 John Levon <levon@movementarian.org>
8271 * text.C (Delete): fix case where delete at the end of
8272 the very first paragraph would not merge the pars
8274 2003-02-17 John Levon <levon@movementarian.org>
8276 * lyxrow.C: fix lastPrintablePos()
8278 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8280 * bufferparams.C (writeLaTeX): add a std:here
8282 * buffer.C: and remove a using directive there
8284 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8286 * buffer.C (makeLaTeXFile): move the code that generates the
8289 * bufferparams.C (writeLaTeX): ... in this new method
8291 * LaTeXFeatures.C (getEncodingSet): make const
8292 (getLanguages): make const
8294 * MenuBackend.C (binding): returns the binding associated to this
8296 (add): sets the status of each item by calling getStatus. Adds
8298 (read): add support for OptSubMenu
8299 (expand): remove extra separator at the end of expanded menu
8301 2003-02-15 John Levon <levon@movementarian.org>
8304 * BufferView_pimpl.C:
8306 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8307 inset code that had no actual effect. Remove unneeded status
8310 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8312 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8315 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8317 * text.C (drawLengthMarker): also draw an arrow marker for
8318 symbolic lengths (medskip...)
8320 2003-02-14 John Levon <levon@movementarian.org>
8323 * tabular.C: better method names
8325 2003-02-14 John Levon <levon@movementarian.org>
8327 * BufferView_pimpl.C:
8332 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8333 it's a more accurate name. Remove some pointless uses.
8335 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8337 * text2.C (LyXText): change order of initilizers to shut off
8340 2003-02-14 John Levon <levon@movementarian.org>
8342 * buffer.C: use ParIterator for getParFromID()
8346 * paragraph_pimpl.h:
8347 * paragraph_pimpl.C: remove unused getParFromID()
8349 2003-02-14 John Levon <levon@movementarian.org>
8351 * buffer.C: remove some very old #if 0'd parse code
8353 2003-02-13 John Levon <levon@movementarian.org>
8357 * text2.C: move hfillExpansion(), numberOfSeparators(),
8358 rowLast(), rowLastPrintable(), numberofHfills(),
8359 numberOfLabelHfills() ...
8362 * lyxrow.C: ... to member functions here.
8367 * text.C: remove LyXText::beginningOfMainBody(), and call
8368 p->beginningOfMainBody() directly. Move the check for
8369 LABEL_MANUAL into the latter.
8376 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8382 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8383 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8385 2003-02-13 John Levon <levon@movementarian.org>
8387 * CutAndPaste.C: remove debug
8389 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * paragraph.C (asString): remove two unused variables
8393 * lyxtextclass.C (readTitleType):
8395 (LyXTextClass): handle new members titletype_ and titlename_
8397 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8399 2003-02-09 John Levon <levon@movementarian.org>
8402 * buffer.C: replace hand-coded list with a map for the dep clean
8404 2003-02-08 John Levon <levon@movementarian.org>
8406 * LaTeX.C: consolidate code into showRunMessage() helper
8408 2003-02-08 John Levon <levon@movementarian.org>
8413 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8414 and pass the size in explicitly
8416 * BufferView_pimpl.h:
8417 * BufferView_pimpl.C:
8419 * BufferView.C: add getCurrentChange()
8421 * BufferView_pimpl.h:
8422 * BufferView_pimpl.C: handle change lfuns
8424 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8425 for changes. Mark pasted paragraphs as new.
8427 * support/lyxtime.h:
8428 * support/lyxtime.C:
8429 * DepTable.C: abstract time_t as lyx::time_type
8432 * LColor.C: add colours for new text, deleted text, changebars
8434 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8435 package use "usenames" option.
8439 * LyXAction.C: add change lfuns
8443 * author.C: author handling
8446 * buffer.C: add a per-buffer author list, with first entry as
8447 current author. Handle new .lyx tokens for change tracking. Output
8448 author list to .lyx file. Output dvipost stuff to .tex preamble.
8449 Bump lyx format to 222.
8452 * bufferlist.C: add setCurrentAuthor() to reset current author details
8456 * bufferparams.C: add param for tracking
8458 * bufferview_funcs.C: output change info in minibuffer
8462 * changes.C: add change-tracking structure
8465 * debug.C: add CHANGES debug flag
8468 * lyxfind.C: add code for finding the next change piece
8471 * lyxrc.C: add user_name and user_email
8474 * lyxrow.C: add a metric for the top of the text line
8477 * text.C: implement accept/rejectChange()
8480 * text.C: paint changebars. Paint new/deleted text in the chosen
8481 colours. Strike through deleted text.
8485 * paragraph_pimpl.h:
8486 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8487 in the current change to the insert functions. Rework erase to
8488 mark text as deleted, adding an eraseIntern() and a range-based
8489 erase(). Implement per-paragraph change lookup and
8492 * paragraph_funcs.C: Fixup paste for change tracking.
8494 * tabular.C: mark added row/columns as new.
8496 * text.C: fix rowLast() to never return -1. Don't allow
8497 spellchecking of deleted text. Track transpose changes. Don't
8498 allow paragraph break or merge where appropriate.
8500 * text2.C: leave cursor at end of selection after a cut.
8502 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8504 * text.C (getLengthMarkerHeight):
8505 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8506 visible on screen too.
8508 2003-02-07 John Levon <levon@movementarian.org>
8510 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8512 2003-02-05 Angus Leeming <leeming@lyx.org>
8514 * lyxserver.C (read_ready): revert my patch of 11 September last year
8515 as it sends PC cpu through the roof. Presumably this means that
8516 the lyxserver will no longer run on an Alpha...
8518 2003-01-30 Angus Leeming <leeming@lyx.org>
8520 * factory.C (createInset): create an InsetCommandParam of type "index"
8521 and use it to 'do the right thing'.
8523 * text2.C (getStringToIndex): ensure that cursor position is always
8524 reset to the reset_cursor position.
8526 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8531 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8535 * lyxfunc.C: Output messages with identical spelling, punctuation,
8538 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8540 * MenuBackend.C (expandFormats): List only viewable export formats
8543 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8546 * lyxfunc.C (getStatus): Make sure that formats other than
8547 "fax" can also be disabled
8549 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * text3.C (dispatch): put the lfuns that insert insets in 3
8552 groups, and call doInsertInset with appropriate arguments.
8553 (doInsertInset): new function, that creates an inset and inserts
8554 it according to some boolean parameters.
8556 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * buffer.C (readFile): remember to pass on 'par' when calling
8559 readFile recursively.
8561 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8563 * MenuBackend.C (expandFormats): add "..." to import formats.
8565 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8567 * paragraph.C (asString): Remove XForms RTL hacks.
8569 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8570 * buffer.C: fix typo
8572 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * Makefile.am (LIBS): delete var
8575 (lyx_LDADD): add @LIBS@ here instead.
8577 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8579 * Clarify the meaning of "wheel mouse jump"
8581 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8583 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8586 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8588 * importer.C (Loaders): do not preallocate 3 elements in the
8589 vector, since one ends up with 6 elements otherwise
8591 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8593 * DepTable.C (write): write the file name as last element of the
8594 .dep file (because it may contain spaces)
8595 (read): read info in the right order
8597 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8599 * paragraph_pimpl.C (simpleTeXBlanks):
8600 (simpleTeXSpecialChars):
8601 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8603 * tabular.C (latex): add some missing case statements. Reindent.
8605 * MenuBackend.C (expandToc): remove unused variable.
8607 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8616 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8619 2003-01-05 John Levon <levon@movementarian.org>
8622 * BufferView.C: add getEncoding()
8625 * kbsequence.C: do not store last keypress
8628 * lyxfunc.C: store last keypress here instead. Pass encoding
8631 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8633 * lyx_main.C (init): remove annoying error message when following
8634 symbolic links (bug #780)
8636 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * text.C (insertChar):
8639 * lyxrc.C (getDescription): remove extra spaces
8641 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * lyxrc.C (getDescription): remove extra spaces
8645 2002-12-20 John Levon <levon@movementarian.org>
8647 * text3.C: hack fix for page up/down across tall rows
8649 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8651 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8654 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8656 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8657 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8658 thesaurus is not compiled in
8660 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8662 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8664 2002-12-16 Angus Leeming <leeming@lyx.org>
8667 * lyx_main.C (init): remove override_x_deadkeys stuff.
8669 2002-12-12 John Levon <levon@movementarian.org>
8671 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8672 insert. Only remove shift modifier under strict
8675 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * MenuBackend.C (expandToc): fix crash.
8679 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8681 * MenuBackend.C (expandToc): gettext on float names.
8683 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8685 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8686 implement bool empty() [bug 490]
8688 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8692 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8694 * several files: ws changes
8696 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8698 * text2.C (setCounter): clean up a bit, use boost.format.
8699 (updateCounters): initialize par upon declaration.
8701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8702 if the layout exists. We do not just store the layout any more.
8703 (SwitchLayoutsBetweenClasses): use boost.format
8705 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8707 * converter.C (convert): if from and to files are the same, use a
8708 temporary files as intermediary
8710 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8713 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8715 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8717 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8719 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8721 * tabular.C (asciiPrintCell): use string(size, char) instead of
8724 * sgml.C (openTag): fix order of arguments to string constructor
8727 * lyxfunc.C (dispatch): use boost.format
8729 * lots of files: change "c" -> 'c'
8731 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8733 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8735 2002-11-25 Angus Leeming <leeming@lyx.org>
8737 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8739 * lyx_main.C (init): compile fix.
8741 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * lyx_cb.C (start): boost.formatify
8744 do not include <iostream>
8746 * lengthcommon.C: ws only
8748 * boost-inst.C,BoostFormat.h: add more explict instantations
8750 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * lots of files: handle USE_BOOST_FORMAT
8754 2002-11-21 John Levon <levon@movementarian.org>
8756 * pspell.C: fix compile
8758 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8760 * lyxfunc.C (dispatch): use boost::format
8764 * lyxfont.C (stateText): use boost::format
8766 * lyx_main.C (LyX): use boost::format
8768 (queryUserLyXDir): ditto
8771 (typedef boost::function): use the recommened syntax.
8773 * importer.C (Import): use boost::format
8775 * debug.C (showLevel): use boost::format
8777 * converter.C (view): use boost::format
8782 * bufferview_funcs.C (currentState): use boost::format
8784 * bufferlist.C (emergencyWrite): use boost::format
8786 * buffer.C (readLyXformat2): use boost::format
8787 (parseSingleLyXformat2Token): ditto
8789 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8791 * LaTeX.C (run): use boost::format
8793 * Chktex.C (scanLogFile): use boost::format
8795 * BufferView_pimpl.C (savePosition): use boost::format
8796 (restorePosition): ditto
8797 (MenuInsertLyXFile): ditto
8799 * BoostFormat.h: help file for explicit instation.
8801 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8803 * tabular.C (latex): Support for block alignment in fixed width
8806 2002-11-17 John Levon <levon@movementarian.org>
8808 * BufferView_pimpl.C:
8810 * lyxfunc.C: split filedialog into open/save
8812 2002-11-08 Juergen Vigna <jug@sad.it>
8814 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8815 by my last patch (hopefully).
8817 2002-11-08 John Levon <levon@movementarian.org>
8826 * toc.C: ParConstIterator, and use it (from Lars)
8828 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8830 * lyxtextclass.[Ch]: revise and add doxygen comments
8832 2002-11-07 John Levon <levon@movementarian.org>
8834 * text.C: fix progress value for spellchecker
8836 * toc.C: fix navigate menu for insetwrap inside minipage
8838 * paragraph_funcs.C: added FIXME for suspect code
8840 2002-11-07 John Levon <levon@movementarian.org>
8842 * BufferView_pimpl.C: fix redrawing of insets
8845 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8847 * text2.C (updateCounters): fix bug 668
8849 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8851 * text3.C (dispatch): Do not make the buffer dirty when moving the
8854 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8856 * vc-backend.C: STRCONV
8859 * text2.C (setCounter): STRCONV
8861 * paragraph.C (asString): STRCONV
8863 * lyxlength.C (asString): STRCONV
8864 (asLatexString): ditto
8866 * lyxgluelength.C (asString): STRCONV
8867 (asLatexString): ditto
8869 * lyxfunc.C (dispatch): STRCONV
8872 * lyxfont.C (stateText): STRCONV
8874 * importer.C (Import): STRCONV
8876 * counters.C (labelItem): STRCONV
8877 (numberLabel): ditto
8878 (numberLabel): remove unused ostringstream o
8883 * bufferview_funcs.C (currentState): STRCONV
8885 * buffer.C (readFile): STRCONV
8886 (asciiParagraph): ditto
8887 (makeLaTeXFile): ditto
8889 * Spacing.C (writeEnvirBegin): STRCONV
8891 * LaTeXFeatures.C (getLanguages): STRCONV
8892 (getPackages): ditto
8894 (getBabelOptions): ditto
8895 (getTClassPreamble): ditto
8896 (getLyXSGMLEntities): ditto
8897 (getIncludedFiles): ditto
8901 (scanAuxFile): ditto
8904 * LString.h: add the STRCONV macros
8906 * BufferView_pimpl.C (savePosition): STRCONV
8907 (restorePosition): ditto
8908 (MenuInsertLyXFile): ditto
8910 * vc-backend.C (scanMaster): change from submatch[...] to
8913 * funcrequest.C: include config.h
8915 * factory.C: include config.h
8917 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8919 * box.C: include config.h
8921 * LaTeX.C (scanAuxFile): change from submatch[...] to
8925 2002-10-25 Angus Leeming <leeming@lyx.org>
8927 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8929 * ispell.[Ch] (setError): new method.
8930 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8931 Use setError() insetead of goto END.
8933 * lyx_cb.C (AutoSave): move out child process into new class
8936 2002-10-30 John Levon <levon@movementarian.org>
8938 * text3.C: make start appendix undoable
8940 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8942 * lyxlength.C (inPixels): Fix returned value.
8944 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8947 2002-10-24 Angus Leeming <leeming@lyx.org>
8949 * lyxgluelength.h: no need to forward declare BufferParams
8950 or BufferView, so don't.
8952 2002-10-21 John Levon <levon@movementarian.org>
8954 * BufferView.C: menuUndo ->undo, redo
8956 * BufferView.h: document, remove dead, make some methods private
8958 * paragraph_funcs.h:
8959 * paragraph_funcs.C:
8960 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8965 * sgml.C: move sgml open/close tag into sgml.C
8967 * bufferview_funcs.h: unused prototype
8970 * lyxfunc.C: remove unused
8973 * text.C: remove unused
8975 2002-10-21 John Levon <levon@movementarian.org>
8979 * BufferView_pimpl.h:
8980 * BufferView_pimpl.C: fix mouse wheel handling based on
8981 patch from Darren Freeman
8983 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8985 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8987 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8989 * lyxlength.C (inPixels): Fix hanfling of negative length.
8990 Fix LyXLength::MU case.
8992 2002-10-16 John Levon <levon@movementarian.org>
8994 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8996 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8998 * converter.C (view): add support for $$i (file name) and $$p
8999 (file path) for the viewer command. If $$i is not specified, then
9000 it is appended to the command (for compatibility with old syntax)
9002 2002-10-14 Juergen Vigna <jug@sad.it>
9004 * undo_funcs.C (textHandleUndo): alter the order in which the
9005 new undopar is added to the LyXText, as we have to set first
9006 the right prev/next and then add it as otherwise the rebuild of
9007 LyXText is not correct. Also reset the cursor to the right paragraph,
9008 with this IMO we could remove the hack in "redoParagraphs()".
9010 2002-10-09 Angus Leeming <leeming@lyx.org>
9012 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9013 to turn off an optimisation if a new inset is to be inserted.
9015 2002-10-11 André Pönitz <poenitz@gmx.net>
9017 * lyxtext.h: make some functions public to allow access
9018 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9020 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9022 * text3.C (dispatch): when changing layout, avoid an infinite loop
9025 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9027 * lyxrc.C (read): treat a viewer or converter command of "none" as
9030 * MenuBackend.C (expandFormats): for an update, also allow the
9031 formats that are not viewable
9033 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9034 script if it is newer than the lyxrc.defaults in user directory
9036 2002-10-07 André Pönitz <poenitz@gmx.net>
9038 * text.C: Vitaly Lipatov's small i18n fix
9040 2002-09-25 Angus Leeming <leeming@lyx.org>
9042 * ispell.h: doxygen fix.
9044 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9046 * buffer.h (readFile): Add a new argument to the method, to allow
9047 reading of old-format templates.
9049 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9051 * toc.C (getTocList): Get TOC from InsetWrap.
9053 2002-09-16 John Levon <levon@movementarian.org>
9055 * lyxfunc.C: check tabular for cut/copy too
9057 2002-09-12 John Levon <levon@movementarian.org>
9062 * factory.C: add header
9064 * paragraph_funcs.h:
9065 * paragraph_funcs.C: cleanup
9067 2002-09-11 John Levon <levon@movementarian.org>
9069 * PrinterParams.h: odd/even default to true
9071 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9073 * PrinterParams.h: update printer parameters for new xforms dialog
9075 2002-09-11 Angus Leeming <leeming@lyx.org>
9077 * lyxserver.C (read_ready): re-write to make it more transparent
9078 and to make it work in coherent fashion under Tru64 Unix.
9080 2002-09-11 André Pönitz <poenitz@gmx.net>
9084 * text3.C: implement LFUN_WORDSEL
9086 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9088 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9089 make floatlist_ a boost::shared_ptr<FloatList>
9091 * lyxtextclass.C: include FloatList.h
9092 (LyXTextClass): initialize floatlist_
9093 (TextClassTags): add TC_NOFLOAT
9094 (Read): match "nofloat" to TC_NOFLOAT and use it.
9095 (readFloat): modify call to floatlist_
9099 * FloatList.[Ch] (FloatList): remove commented out float
9101 (erase): new function
9103 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9105 * MenuBackend.C (expandToc): fix crash when there is no document
9108 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9110 * many files: Add insetwrap.
9112 2002-09-09 John Levon <levon@movementarian.org>
9114 * text2.C: remove confusing and awkward depth wraparound
9116 2002-09-09 John Levon <levon@movementarian.org>
9118 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9121 * buffer.C: remove getIncludeonlyList()
9124 * lyxfunc.C: remove headers
9126 2002-09-09 Juergen Vigna <jug@sad.it>
9128 * text.C (getColumnNearX): fix form Michael this is most
9129 probably a cut&paste bug.
9131 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9133 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9135 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9136 references, ws changes.
9138 * text2.C (init): update counters after init
9139 (insertParagraph): no need to set counter on idividual paragraphs.
9140 (setCounter): access the counters object in the textclass object
9141 on in the buffer object.
9142 (updateCounters): ditto
9144 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9145 shared_ptr<Counters> to avoid loading counters.h in all
9147 (LyXTextClass): initialize ctrs_
9148 (TextClassTags): add TC_COUNTER, and ...
9149 (Read): use it here.
9150 (CounterTags): new tags
9151 (readCounter): new function
9152 (counters): new funtion
9153 (defaultLayoutName): return a const reference
9155 * counters.C (Counters): remove contructor
9156 (newCounter): remove a couple of unneeded statements.
9157 (newCounter): simplify a bit.
9158 (numberLabel): some small formatting changes.
9160 * buffer.[Ch]: remove all traces of counters, move the Counters
9161 object to the LyXTextClass.
9163 2002-09-06 Alain Castera <castera@in2p3.fr>
9165 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9166 package to set the horizontal alignment on fixed width columns.
9169 * lyx_sty.h: added tabularnewline macro def.
9171 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9173 2002-09-06 John Levon <levon@movementarian.org>
9175 * LyXAction.C: tooltips for sub/superscript
9177 * MenuBackend.C: a bit more verbose
9179 * lyxfunc.C: tiny clean
9181 * undo_funcs.C: document undo_frozen
9183 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * counters.C (Counters): add missing algorithm counter.
9187 * text2.C (setCounter): lookup the counter with layouts latexname
9188 instead of by section number.
9189 (setCounter): use a hackish way to lookup the correct enum
9191 a float name->type change
9192 reset enum couners with counter name directly instead of depth value.
9194 * counters.C (Counters): remove the push_backs, change to use the
9195 float type not the float name.
9196 (labelItem): remove unused string, float name->type change
9198 * counters.h: don't include vector, loose the enums and sects vectors
9200 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9203 (Read): add float->TC_FLOAT to textclassTags
9204 (Read): and handle it in the switch
9205 (readFloat): new function
9207 * FloatList.C (FloatList): comment out the hardcoded float
9210 * lyxlayout.h: ws change.
9212 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9214 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9216 2002-09-03 Angus Leeming <leeming@lyx.org>
9218 * BufferView_pimpl.h: qualified name is not allowed in member
9219 declaration: WorkArea & Pimpl::workarea() const;
9221 * factory.C: added using std::endl directive.
9223 * text3.C: added using std::find and std::vector directives.
9225 2002-08-29 André Pönitz <poenitz@gmx.net>
9228 * text2.C: remove unused member number_of_rows
9231 * BufferView2.C: remove file, move contents to...
9232 * BufferView.C: ... here
9234 * BufferView_pimpl.C:
9235 * factory.C: move more inset creation to factory
9237 * vspace.C: avoid direct usage of LyXText, ws changes
9240 don't provide direct access to WorkArea, use two simple
9241 acessors haveSelction() and workHeight() instead
9244 2002-08-29 John Levon <levon@movementarian.org>
9246 * BufferView_pimpl.C (dispatch): do not continue when
9249 2002-08-28 André Pönitz <poenitz@gmx.net>
9251 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9254 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9256 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9258 * buffer.C: increment LYX_FORMAT to 221
9260 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9261 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9263 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9265 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9267 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * factory.C (createInset): use LyXTextClass::floats
9271 * MenuBackend.C (expandFloatListInsert):
9272 (expandFloatInsert):
9275 * text2.C (setCounter):
9277 * LaTeXFeatures.C (useFloat):
9278 (getFloatDefinitions):
9280 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9282 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9283 floatlist_, with accessor floats().
9285 * FloatList.h: remove global FloatList
9287 2002-08-26 André Pönitz <poenitz@gmx.net>
9289 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9293 * BufferView_pimpl.C:
9294 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9296 2002-08-25 John Levon <levon@movementarian.org>
9298 * LyXAction.C: fix margin note description
9300 2002-08-24 John Levon <levon@movementarian.org>
9304 * bufferview_funcs.C:
9306 * undo_funcs.C: cleanups
9308 * lyxfunc.C: disable CUT/COPY when no selection
9310 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9312 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9313 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9315 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9316 Add backward compatibility to "mono", "gray" and "no".
9318 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9320 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9321 (and file_format >= 200).
9323 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9325 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9327 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9329 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9331 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9333 * BufferView_pimpl.C:
9340 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9341 inset and code to make it work with the paragraph code. The inset
9342 can be anywhere in the paragraph, but will only do the expected
9343 thing in LaTeX if the layout file contains the parameter line
9345 (or more generally, a nonzero value) for that layout.
9347 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9349 * paragraph.h: remove the declaration of undefined counters class
9352 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9354 * text2.C (setCounter): fixed enumeration mis-count as reported by
9355 Dr. Richard Hawkins.
9357 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * paragraph_funcs.h: remove some unneeded includes
9361 * text.C (backspace): pasteParagraph now in global scipe
9363 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9364 (pasteSelection): ditto
9366 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9367 * paragraph_funcs.C (pasteParagraph): ... here
9369 2002-08-20 André Pönitz <poenitz@gmx.net>
9371 * commandtags.h: new LFUNs for swapping/copying table row/colums
9374 * lyxfunc.C: support for new lfuns
9376 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9379 * buffer.[Ch]: remove NO_COMPABILITY stuff
9381 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9383 * boost.C (throw_exception): new file, with helper function for
9384 boost compiled without exceptions.
9389 * ParameterStruct.h:
9390 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9392 * bufferlist.C (emergencyWriteAll): use boost bind
9394 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9396 * text.C: include paragraph_funcs.h
9397 (breakParagraph): breakParagraph is now in global scope
9399 * paragraph_funcs.[Ch]: new files
9401 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9404 * buffer.C: include paragraph_funcs.h
9405 (insertStringAsLines): breakParagraph is now in global scope
9407 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9410 * CutAndPaste.C: include paragraph_funcs.h
9411 (cutSelection): breakParagraphConservative is now in global scope
9412 (pasteSelection): ditto
9414 * buffer.h: declare oprator== and operator!= for
9415 Buffer::inset_iterator
9417 * bufferlist.C (emergencyWrite): don't use fmt(...)
9419 * text3.C: add using std::endl
9421 * BufferView.C (moveCursorUpdate): remove default arg
9423 2002-08-20 André Pönitz <poenitz@gmx.net>
9425 * buffer.[Ch]: move inline functions to .C
9428 * BufferView_pimpl.C:
9430 * buffer.[Ch]: use improved inset_iterator
9433 * paragraph.[Ch]: write one paragraph at a time
9435 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9437 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9438 style if style is not specified.
9440 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * text2.C (setCounter): when searching for right label for a
9443 caption, make sure to recurse to parent insets (so that a caption
9444 in a minipage in a figure float works) (bug #568)
9446 2002-08-20 André Pönitz <poenitz@gmx.net>
9448 * text3.C: new file for LyXText::dispatch() and helpers
9450 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9452 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9454 2002-08-19 André Pönitz <poenitz@gmx.net>
9457 * text.C: new LyXText::dispatch()
9459 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9461 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9463 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9465 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9468 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9470 * Makefile.am: use $(variables) instead of @substitutions@
9472 2002-08-15 André Pönitz <poenitz@gmx.net>
9475 * BufferView_pimpl.C: streamlining mathed <-> outer world
9479 * LyXAction.C: remove unused LFUN_MATH
9481 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9483 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9485 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9487 * paragraph.C (Paragraph): reformat a bit
9488 (cutIntoMinibuffer): use builtin InsetList function instad of
9492 * buffer.C: include boost/bind.hpp, add using std::for_each
9493 (writeFileAscii): use ParagraphList iterators
9494 (validate): use for_each for validate traversal of paragraphs
9495 (getBibkeyList): use ParagraphList iterators
9496 (resizeInsets): use for_each to resizeInsetsLyXText for all
9498 (getParFromID): use ParagraphList iterators
9500 * BufferView2.C (lockInset): use paragraph list and iterators
9502 2002-08-14 John Levon <levon@movementarian.org>
9504 * lyxserver.C: remove spurious xforms include
9506 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9510 2002-08-13 André Pönitz <poenitz@gmx.net>
9513 * lyxfunc.C: further cleaning
9515 2002-08-13 André Pönitz <poenitz@gmx.net>
9517 * funcrequest.h: new constructor
9519 * funcrequest.C: move stuff here from .h
9522 * BufferView_pimpl.C:
9525 * lyxfunc.C: subsequent changes
9527 * lyxfunc.h: new view() member function
9529 * lyxfunc.C: subsequent changes
9531 2002-08-13 Angus Leeming <leeming@lyx.org>
9534 * BufferView_pimpl.C:
9542 changes due to the changed LyXView interface that now returns references
9543 to member variables not pointers.
9545 2002-08-13 Angus Leeming <leeming@lyx.org>
9547 * WordLangTuple (word, lang_code): return references to strings,
9552 * lyxtext.h: forward-declare WordLangTuple.
9557 * text.C: #include "WordLangTuple.h".
9560 * text.C: (selectNextWordToSpellcheck): constify return type.
9562 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9568 * paragraph_pimpl.h:
9571 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9573 Made updateCounter always count from start of buffer, and removed
9574 second argument (par).
9575 Reverted floats number display to '#'. Perhaps I'll try again when the
9576 code base is sanitized a bit.
9578 2002-08-12 Angus Leeming <leeming@lyx.org>
9580 * buffer.[Ch] (getLabelList): constify.
9582 2002-08-07 André Pönitz <poenitz@gmx.net>
9584 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9586 * funcrequest.h: extension to keep mouse (x,y) position
9588 2002-08-12 Juergen Vigna <jug@sad.it>
9590 * BufferView2.C (insertErrors): forbid undo when inserting error
9593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9595 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9597 * ParagraphList.[Ch]: new files
9599 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9601 * BufferView2.C (lockInset): ParagraphList changes
9604 * bufferlist.C: ditto
9608 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9610 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9611 unused class variable counter_,
9613 * paragraph.[Ch] (getFirstCounter): delete unused function
9615 * counters.C: include LAssert.h
9616 (reset): add a new function with no arg, change other version to
9617 not have def. arg and to not allow empty arg.
9619 * text2.C (setCounter): remove empty arg from call to Counters::reset
9621 2002-08-11 John Levon <levon@movementarian.org>
9623 * Makefile.am: add WordLangTuple.h
9625 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9627 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9628 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9630 * insets/insettext.C: InsetList changes
9632 * graphics/GraphicsSupport.C (operator()): InsetList changes
9634 * toc.C (getTocList): InsetList changes
9636 * paragraph_pimpl.[Ch]: InsetList changes
9638 * paragraph.[Ch]: InsetList changes
9640 * buffer.C (inset_iterator): InsetList changes
9641 (setParagraph): ditto
9642 * buffer.h (inset_iterator): ditto
9643 * iterators.C (operator++): ditto
9644 * iterators.h: ditto
9646 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9648 * InsetList.[Ch]: new files, most InsetList handling moved out of
9651 * BufferView2.C (removeAutoInsets): InsetList changes
9653 (ChangeInsets): ditto
9655 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9657 * paragraph_pimpl.h (empty): new function
9659 * paragraph.[Ch] (empty): new function
9661 * other files: use the new Paragraph::empty function
9663 2002-08-09 John Levon <levon@movementarian.org>
9665 * lyxtext.h: remove unused refresh_height
9667 2002-08-09 John Levon <levon@movementarian.org>
9674 * paragraph.C: move sgml char escaping out of paragraph
9677 * paragraph.C: remove id setter
9681 * paragraph_pimpl.C: remove dead tex_code_break_column
9683 * bufferview_funcs.C: small cleanup
9685 * lyxfunc.C: remove dead proto
9687 * lyxtext.h: make some stuff private. Remove some dead stuff.
9689 * lyxgluelength.C: make as[LyX]String() readable
9691 2002-08-08 John Levon <levon@movementarian.org>
9696 * ToolbarDefaults.C:
9699 * toc.C: lyxaction cleanup
9701 2002-08-08 John Levon <levon@movementarian.org>
9703 * BufferView2.C: small cleanup
9706 * lyxfind.C: move unnecessary header into the .C
9708 2002-08-08 John Levon <levon@movementarian.org>
9710 * funcrequest.h: just tedious nonsense
9713 * lyx_main.C: cleanups
9716 * vspace.C: remove dead header lyx_main.h
9718 2002-08-07 Angus Leeming <leeming@lyx.org>
9721 * paragraph_pimpl.h:
9722 Forward declare class Counters in paragraph.h by moving the ctrs member
9723 variable into Paragraph::Pimpl.
9724 (counters): new method, returning a reference to pimpl_->ctrs.
9726 * text2.C: ensuing changes.
9728 2002-08-07 John Levon <levon@movementarian.org>
9730 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9732 * BufferView_pimpl.C: announce X selection on double/triple
9735 * lyx_main.C: use correct bool in batch dispatch
9737 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9739 2002-08-07 André Pönitz <poenitz@gmx.net>
9741 * funcrequest.h: new class to wrap a kb_action and its argument
9744 * BufferView_pimpl[Ch]:
9748 * lyxrc.C: subsequent changes
9751 2002-08-07 John Levon <levon@movementarian.org>
9753 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9754 document options change.
9756 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9761 * makefile.am: move counters functionality over from
9762 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9764 2002-08-06 John Levon <levon@movementarian.org>
9766 * WordLangTuple.h: new file for word + language code tuple
9777 * BufferView2.C: use WordLangTuple
9780 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9782 2002-08-06 John Levon <levon@movementarian.org>
9784 * lyx_main.C: fix cmdline batch handling
9786 2002-08-06 André Pönitz <poenitz@gmx.net>
9788 * lyxrc.C: set default for show_banner to true
9790 2002-08-06 John Levon <levon@movementarian.org>
9792 * pspell.C: fix a crash, and allow new aspell to work
9794 2002-08-06 John Levon <levon@movementarian.org>
9797 * kbmap.C: small cleanup
9800 * vspace.C: add const
9802 2002-08-05 John Levon <levon@movementarian.org>
9804 * LyXAction.C: back to tabular-insert
9806 2002-08-04 John Levon <levon@movementarian.org>
9809 * BufferView.C: cosmetic change
9811 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9821 * BufferView2.C: purge all "Lyx" not "LyX" strings
9824 * lyxcursor.C: attempt to add some documentation
9829 * ToolbarDefaults.C:
9830 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9831 merge with LFUN_TABULAR_INSERT
9838 * pspell.C: split up i/pspell implementations into separate
9839 files, many cleanups
9841 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9843 * text2.C: some cleanup
9845 * lyxfunc.C: don't check for isp_command == "none" any more, it
9846 didn't make any sense
9848 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9853 * makefile.am: move counters functionality over
9854 from text2.C/paragraph.[Ch] to counters.[Ch], and
9856 2002-08-02 John Levon <levon@movementarian.org>
9858 * buffer.C: s/lyxconvert/lyx2lyx/
9860 2002-08-02 Angus Leeming <leeming@lyx.org>
9862 * lyxlex.C: revert John's change as it breaks reading of the user
9865 2002-08-02 Angus Leeming <leeming@lyx.org>
9867 * importer.C (Import):
9868 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9869 changes due to LyXView::view() now returning a boost::shared_ptr.
9871 2002-08-02 John Levon <levon@movementarian.org>
9873 * lyxlex.C: small cleanup
9875 2002-08-02 John Levon <levon@movementarian.org>
9877 * text2.C (status): small cleanup, no logic change
9879 2002-08-01 John Levon <levon@movementarian.org>
9882 * buffer.C (writeFile): don't output alerts, caller
9886 * lyx_cb.C: from above
9888 * lyxfunc.C: allow to open non-existent files
9890 2002-07-31 John Levon <levon@movementarian.org>
9892 * lyxserver.C: don't let incidental errors get
9895 2002-07-30 John Levon <levon@movementarian.org>
9897 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9899 2002-07-30 John Levon <levon@movementarian.org>
9902 * lyxserver.C: remove I/O callback too
9904 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9906 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9909 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9911 * many files: strip,frontStrip -> trim,ltrim,rtrim
9913 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9915 * PrinterParams.h: remove extern containsOnly, and include
9916 support/lstrings.h instead.
9918 * LaTeX.C (scanAuxFile): modify because of strip changes
9920 * buffer.C (makeLaTeXFile): ditto
9921 * bufferparams.C (writeFile): ditt
9922 * lyxfont.C (stateText): ditto
9923 * lyxserver.C (read_ready): ditto
9924 * vc-backend.C (scanMaster): ditto
9926 * BufferView_pimpl.h: ws changes
9928 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9930 2002-07-26 André Pönitz <poenitz@gmx.net>
9932 * kb_sequence.C: remove unnedred usings
9934 2002-07-26 Juergen Vigna <jug@sad.it>
9936 * lyxfind.C (LyXReplace): we have to check better if the returned
9937 text is not of theLockingInset()->getLockingInset().
9939 2002-07-25 Juergen Vigna <jug@sad.it>
9941 * lyxfind.C (LyXReplace): don't replace if we don't get the
9944 * undo_funcs.C (createUndo): remove debugging code.
9946 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9948 * buffer.C (parseSingleLyXformat2Token): Use default placement
9949 when reading old floats.
9951 * FloatList.C (FloatList): Change the default placement of figure
9952 and tables to "tbp".
9954 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9956 * MenuBackend.C: using std::max
9958 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * MenuBackend.C (expandToc):
9961 (expandToc2): code moved from xforms menu frontend. It is now
9962 generic and TOCs are transparent to menu frontends.
9964 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * toc.C (getTocList): protect against buf=0
9968 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9969 Menu as first parameter. Now, this calls itself recursively to
9970 expand a whole tree (this will be useful for TOC handling)
9971 (expandFloatInsert): remove 'wide' version of floats
9973 * MenuBackend.h (submenuname): returns the name of the submenu.
9974 (submenu): returns the submenu itself, provided it has been
9975 created by MenuBackend::expand
9977 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9979 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9980 insets which have noFontChange == true. (bug #172)
9982 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * BufferView_pimpl.C: add connection objects and use them...
9987 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * MenuBackend.C (expandLastfiles):
9992 (expandFloatListInsert):
9993 (expandFloatInsert):
9994 (expand): split expand in parts
9996 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9998 * lyx_gui.C: use lyx_gui::exit()
10000 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10002 * LyXAction.C: show the failing pseudo action
10004 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10006 * buffer.C (readFile): Run the lyxconvert script in order to read
10009 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10013 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10015 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10019 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10021 2002-07-22 Herbert Voss <voss@lyx.org>
10024 * lyxlength.[Ch]: add support for the vertical lengths
10026 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10028 * toc.[Ch]: std:: fixes
10030 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10032 * lyxrc.C: do not include lyx_main.h
10034 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10040 * BufferView2.C: include "lyxlex.h"
10043 * bufferparams.h: do not #include "lyxlex.h"
10045 * lyxtextclasslist.C (Add): remove method
10046 (classlist): renamed to classlist_
10048 * paragraph_pimpl.C:
10052 * bufferview_funcs.C:
10057 * toc.C (getTocList): use BufferParams::getLyXTextClass
10059 * toc.C (getTocList): use InsetFloat::addToToc
10061 * toc.[Ch]: new files, containing helper functions to handle table
10064 * lyxfunc.C (dispatch): no need to remove spaces around command
10066 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10067 first command of the sequence; it is not very clever, but I do not
10068 have a better idea, actually
10070 * LyXAction.C (LookupFunc): make sure to remove space at the
10071 beginning and end of the command
10073 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * MenuBackend.C (getMenubar): new method: return the menubar of
10077 (read): treat differently reading of menu and menubar (in
10078 particular, the menubar has no name now)
10079 (Menu::menubar): remove
10081 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10084 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10086 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10087 a bibitem inset in a RTL paragraph.
10089 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10091 * paragraph_pimpl.C: constify
10093 * BufferView_pimpl.C:
10095 * lyxfunc.C: fix dispatch in a nicer way
10097 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * lyxfunc.C (dispatch):
10100 * BufferView_pimpl.C:
10101 * BufferView_pimpl.h:
10103 * BufferView.h: rename Dispatch() to dispatch()
10105 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10107 * lyxlayout.C (Read): honor DependsOn tag
10109 * lyxlayout.[Ch] (depends_on): new method
10111 * version.C.in: update lyx_docversion
10113 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10115 * paragraph.C (validate): remove from here...
10116 * paragraph_pimpl.C (validate): ... and move here
10117 (isTextAt): make it const
10119 * buffer.C (getLists): ws cleanup
10121 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10123 * language.C (read): Use iso8859-1 encoding in latex_lang
10124 (this prevents LyX from crashing when using iso10646-1 encoding).
10126 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * text2.C (toggleInset): if cursor is inside an inset, close the
10129 inset and leave cursor _after_ it
10131 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10133 * lyxfunc.C: move minibuffer completion handling out of here
10135 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10137 * BufferView_pimpl.C:
10138 * LaTeX.C: fix dispatch calls
10140 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10142 * text.C (drawChars): Fix Arabic text rendering.
10144 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10148 * lyxfunc.C: remove message-push/pop
10152 * lyxfunc.C: rationalise some code by removing verboseDispatch
10153 in favour of a bool argument to dispatch()
10155 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10157 * lyx_main.C (init): make sure to read symlinks as absolute paths
10159 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10162 * lyxfunc.C: no need for commandshortcut to be a member
10164 2002-07-15 André Pönitz <poenitz@gmx.net>
10166 * converter.C: add support for $$s (scripts from lib/scripts dir)
10167 * lyx_main.C: white space
10169 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10173 * lyxrc.C: remove second exit confirmation
10175 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10180 * BufferView_pimpl.h:
10181 * BufferView_pimpl.C:
10182 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10184 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * MenuBackend.C (expand): add numeric shortcuts to document menu
10188 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10190 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * lyxfont.C (setLyXFamily):
10199 * buffer.C (asciiParagraph): use ascii_lowercase
10201 2002-07-15 Mike Fabian <mfabian@suse.de>
10203 * lyxlex_pimpl.C (search_kw):
10204 * lyxlex.C (getLongString):
10205 * converter.h (operator<):
10206 * converter.C (operator<):
10207 * buffer.C (parseSingleLyXformat2Token):
10209 * ToolbarDefaults.C (read):
10210 * MenuBackend.C (checkShortcuts):
10212 * LColor.C (getFromGUIName):
10213 (getFromLyXName): use the compare_ascii_no_case instead of
10214 compare_no_case, because in turkish, 'i' is not the lowercase
10215 version of 'I', and thus turkish locale breaks parsing of tags.
10217 2002-07-16 Angus Leeming <leeming@lyx.org>
10219 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10220 now takes a Buffer const & argument.
10222 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10224 * BufferView.C (resize): check there's a buffer to resize
10226 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10228 * lyxfunc.C: remove dead code
10231 * lyxserver.C: use lyx_guii::set_read_callback
10233 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10235 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10236 an inset in a RTL paragraph.
10238 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxfunc.C: repaint after a font size update
10242 2002-07-15 André Pönitz <poenitz@gmx.net>
10244 * lyxlength.C: inBP should be able to return negative values
10246 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10248 * lyxfunc.C: use lyx_gui::update_fonts()
10250 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10252 * lyxfunc.C: use lyx_gui::update_color()
10254 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10260 * lyxrc.C: remove file->new asks for name option, and let
10261 buffer-new take an argument
10263 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10265 * BufferView_pimpl.C: remove unneeded extra repaint()
10267 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10269 * LyXAction.C: allow command-sequence with NoBuffer
10271 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10273 2002-07-10 Angus Leeming <leeming@lyx.org>
10275 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10277 2002-07-09 Angus Leeming <leeming@lyx.org>
10279 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10281 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10283 * lengthcommon.h: whitespace
10285 * lyxfunc.C: update scrollbar after goto paragraph
10287 * lyxtext.h: factor out page break drawing, and fix it so
10288 page break/added space paints as selected nicely
10290 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.C: add FIXMEs, clean up a little
10294 2002-07-09 André Pönitz <poenitz@gmx.net>
10296 * lyxfont.[Ch]: support for wasy symbols
10298 2002-07-08 André Pönitz <poenitz@gmx.net>
10300 * BufferView_pimpl.C: apply John's patch for #93.
10302 2002-07-05 Angus Leeming <leeming@lyx.org>
10304 * BufferView_pimpl.C (buffer): generate previews if desired.
10306 * LColor.h: add "preview" to the color enum.
10308 * LColor.C (LColor): add a corresponding entry to the items array.
10310 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10313 2002-07-05 Angus Leeming <leeming@lyx.org>
10315 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10316 The body of the code is now in the method that is passed an ostream &
10317 rather than a file name.
10318 Pass an additional only_preamble parameter, useful for the forthcoming
10321 2002-07-03 André Pönitz <poenitz@gmx.net>
10323 * lyxfunc.C: simplify getStatus() a bit for math stuff
10325 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10329 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * text.C (changeRegionCase): do not change case of all the
10332 document when region ends at paragraph end (bug #461)
10334 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * paragraph.C (startTeXParParams):
10337 (endTeXParParams): add \protect when necessary
10339 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * BufferView_pimpl.C (workAreaExpose): remove warning
10343 2002-06-27 Angus Leeming <leeming@lyx.org>
10345 * Makefile.am: add lyxlayout_ptr_fwd.h.
10347 2002-06-26 André Pönitz <poenitz@gmx.net>
10349 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10351 2002-06-25 Angus Leeming <leeming@lyx.org>
10353 * lyxfunc.C (dispatch): Comment out the call to
10354 grfx::GCache::changeDisplay. The method no longer exists now that the
10355 pixmap generation part of the graphics loader has been moved into
10358 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * text2.C: layout as layout
10362 * text.C: layout as layout
10364 * tabular.C (OldFormatRead): layout as layout
10366 * paragraph_pimpl.C (TeXDeeper): layout as layout
10367 (realizeFont): layout as layout
10369 * paragraph.C (writeFile): layout as layout
10370 (validate): layout as layout
10371 (getFont): layout as layout
10372 (getLabelFont): layout as layout
10373 (getLayoutFont): layout as layout
10374 (breakParagraph): layout as layout
10375 (stripLeadingSpaces): layout as layout
10376 (getEndLabel): layout as layout
10377 (getMaxDepthAfter): layout as layout
10378 (applyLayout): layout as layout
10379 (TeXOnePar): layout as layout
10380 (simpleTeXOnePar): layout as layout
10381 (TeXEnvironment): layout as layout
10382 (layout): layout as layout
10383 (layout): layout as layout
10385 * lyxtextclass.C (compare_name): new functor to work with
10386 shared_ptr, layout as layout
10387 (Read): layout as layout
10388 (hasLayout): layout as layout
10389 (operator): layout as layout
10390 (delete_layout): layout as layout
10391 (defaultLayout): layout as layout
10393 * lyxlayout_ptr_fwd.h: new file
10395 * lyxlayout.C (Read): layout as layout
10397 * lyx_cb.C (MenuInsertLabel): layout as layout
10399 * bufferlist.C (newFile): layout as layout
10401 * buffer.C (readLyXformat2): layout as layout
10402 (parseSingleLyXformat2Token): layout as layout
10403 (insertStringAsLines): layout as layout
10404 (asciiParagraph): layout as layout
10405 (latexParagraphs): layout as layout
10406 (makeLinuxDocFile): layout as layout
10407 (simpleLinuxDocOnePar): layout as layout
10408 (makeDocBookFile): layout as layout
10409 (simpleDocBookOnePar): layout as layout
10410 (getLists): layout as layout
10412 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10414 * CutAndPaste.C (cutSelection): layout as layout
10415 (pasteSelection): layout as layout
10416 (SwitchLayoutsBetweenClasses): layout as layout
10418 * BufferView_pimpl.C (Dispatch): layout as layout
10419 (smartQuote): layout as layout
10421 * BufferView2.C (unlockInset): layout as layout
10423 2002-06-24 André Pönitz <poenitz@gmx.net>
10425 * lyxfunc.C: fix #487
10427 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10431 * lyxfunc.C: remove display_shortcuts, show_banner
10433 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10435 * Buffer_pimpl.C: oops, update on resize
10437 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView.C: use repaint()
10446 * BufferView_pimpl.h:
10447 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10448 as it's a clearer description. Remove superfluous
10451 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10453 * text.C: fix bug 488. Not ideal, but getting
10454 getWord() to work properly for the insets that
10455 matter is more difficult ...
10457 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10459 * BufferView_pimpl.C:
10462 * lyxfunc.C: remove the six million index lyxfuncs to just
10463 one, and DTRT (bug 458)
10465 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10469 * BufferView_pimpl.h:
10470 * BufferView_pimpl.C: clean up resize() stuff,
10471 and unnecessary updateScreen()s
10473 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.h:
10478 * BufferView_pimpl.C:
10481 * minibuffer.C: remove focus management of workarea,
10482 not needed. Use screen's greyOut()
10484 2002-06-17 Herbert Voss <voss@lyx.org>
10486 * converter.C: (convert) do not post a message, when converting
10487 fails, let the calling function decide what to do in this case
10489 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10491 * lyxfunc.C: tidy up a little
10493 2002-06-16 <alstrup@diku.dk>
10495 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10496 Got rid of FORMS_H_LOCATION include. Now we are
10499 2002-06-15 LyX Development team <lyx@rilke>
10501 * buffer.[Ch] (sgmlOpenTag):
10502 (sgmlCloseTag): Added support for avoiding pernicious mixed
10503 content. Return number of lines written.
10505 (makeLinuxDocFile):
10506 (makeDocBookFile): Fixed calls to sgml*Tag.
10507 Simple white space clean.
10509 (simpleDocBookOnePar): Simple white space clean.
10511 * tabular.[Ch] (docBook): Renamed to docbook and got another
10512 argument to related with the pernicious mixed content.
10514 (docbookRow): Fixed calls for docbook inset method.
10516 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10518 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10519 so it's X11 independent.
10523 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10525 2002-06-15 Lyx Development team <lyx@electronia>
10527 * intl.h: Renamed getTrans to getTransManager.
10529 2002-06-14 Angus Leeming <leeming@lyx.org>
10531 * Makefile.am: nuke forgotten stl_string_fwd.h.
10533 2002-06-12 Angus Leeming <leeming@lyx.org>
10535 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10537 2002-06-13 Angus Leeming <leeming@lyx.org>
10540 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10542 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10544 * kbmap.C (getiso): add support for cyrillic and greek
10546 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10550 * BufferView_pimpl.h:
10551 * BufferView_pimpl.C: move bogus scrolling logic
10554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10557 * BufferView_pimpl.C: view->resize() change
10559 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10561 * BufferView_pimpl.C: topCursorVisible
10564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10568 * lyx_gui.C: move to frontends/
10572 * lyx_main.C: changes from above
10574 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10581 * lyx_main.C: minor tidy
10583 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10585 * BufferView_pimpl.h:
10586 * BufferView_pimpl.C:
10588 * BufferView.C: make painter() const,
10591 * BufferView2.C: use screen() accessor
10594 * lyx_main.C: some minor cleanup
10596 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView_pimpl.h:
10599 * BufferView_pimpl.C: remove enter/leaveView,
10602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.h:
10608 * BufferView_pimpl.C: only construct screen once,
10611 * lyxrc.C: remove pointless comment
10613 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView.C: remove active() and belowMouse()
10618 * BufferView_pimpl.h:
10619 * BufferView_pimpl.C: use workarea() not workarea_,
10620 and make it use a scoped_ptr instead
10622 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10624 * lyx_gui.C: add debug message on BadWindow
10626 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10628 * sp_spell.C: fdopen is not part of the C++ standard.
10630 * paragraph.C (InsetIterator): use >= instead of ==
10632 2002-06-07 Angus Leeming <leeming@lyx.org>
10634 Fixes needed to compile with Compaq cxx 6.5.
10635 * BufferView_pimpl.C:
10642 * lyxtextclasslist.C:
10647 all c-library variables have been moved into namespace std. Wrap
10648 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10653 Add a using std::abs declaration.
10655 * kbmap.h (modifier_pair):
10656 * paragraph.h (InsetTable, InsetList):
10657 * lyxfont.h (FontBits):
10658 type definition made public.
10660 * bufferlist.C (emergencyWriteAll): the compiler complains that
10661 there is more than one possible lyx::class_fun template to choose from.
10662 I re-named the void specialisation as lyx::void_class_fun.
10664 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10666 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10667 the compiler is is unable to find tostr in write_attribute.
10669 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10671 * buffer.C (sgmlError): hide #warning
10673 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * xtl/*: get rid of xtl, which is not in use anyway
10677 * LyXAction.C (init):
10678 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10679 were unimplemented xtl experimentation
10681 2002-06-04 André Pönitz <poenitz@gmx.net>
10683 * lyxfunc.C: disable array operation on simple formulae
10685 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10687 * converter.C: constify a bit
10689 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10691 * lyx_gui.C: check xforms version correctly
10693 2002-04-30 Herbert Voss <voss@lyx.org>
10695 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10698 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10700 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10701 attempt to register it with a VCS)
10703 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * lyx_main.C (init): honor variables LYX_DIR_13x and
10708 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10712 * lyx_main.C: fix a crash on bad command line,
10713 and give a useful exit status on error
10715 * lyxfunc.C (doImport): allow -i lyx to work
10717 2002-03-30 André Pönitz <poenitz@gmx.net>
10719 * lyxfunc.C: mathed font changes
10721 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10736 * trans_mgr.h: srcdocs, and some minor cleanups
10738 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10741 call getFont all the time)
10743 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * switch from SigC signals to boost::signals
10747 2002-05-29 André Pönitz <poenitz@gmx.net>
10749 * paragraph_pimpl.C (getChar): don't call size() too often...
10751 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * paragraph_pimpl.C (insertChar): do not try to update tables when
10754 appending (pos == size())
10756 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10757 in order to reduce drastically the number of comparisons needed to
10758 parse a large document
10760 2002-05-29 André Pönitz <poenitz@gmx.net>
10766 * textclasslist.[Ch]:
10767 * sp_ispell.h: whitespace change
10769 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10772 lyxaction directly now.
10774 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10778 * lyxvc.C: remove unused headers
10780 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10787 * undo_funcs.C: some cleanups. Use shared_ptr
10788 and a template for the undo stacks.
10790 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10792 * BufferView_pimpl.h:
10793 * BufferView_pimpl.C:
10800 * text2.C: use key_state/mouse_state
10802 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10807 * chset.C: change include order
10808 (loadFile): use boost regex and get rid of LRegex and LSubstring
10810 * Makefile.am (BOOST_LIBS): new variable
10811 (lyx_LDADD): use it
10813 * LaTeX.C: change include order.
10814 (scanAuxFile): use boost regex and get rid of LRegex and
10818 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10823 * FontInfo.C: moved to frontends/xforms/
10826 * FontLoader.C: moved into frontends for GUIIzation
10831 * lyxfunc.C: changes from above
10833 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10835 * LColor.C: remove spurious X include
10837 * BufferView_pimpl.C:
10842 * text2.C: move font metrics to frontends/
10844 2002-05-24 Juergen Vigna <jug@sad.it>
10846 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10847 setting the undo_cursor.
10849 * ParagraphParameters.h: include local includes first.
10851 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10853 * BufferView_pimpl.C:
10854 * BufferView_pimpl.h:
10858 * screen.C: move WorkArea into frontends/
10864 * BufferView2.C: move LyXScreen into frontends/
10868 * lyx_gui.C: move lyxlookup into frontends/xforms/
10870 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10873 * BufferView_pimpl.C:
10883 * bufferview_funcs.C:
10896 * vc-backend.C: move LyX/XFormsView into frontends/
10898 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10910 * text2.C: move Painter to frontends/
10912 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10914 * buffer.C: comment out some some code that depend upon lyx_format
10917 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10918 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10920 * buffer.h (NO_COMPABILITY): turn off compability
10922 * ColorHandler.C: include scoped_array.hpp
10924 * font.C: Use more specific smart_ptr header.
10927 * ShareContainer.h: ditto
10928 * lyx_main.h: ditto
10930 * FontInfo.h: ditto
10931 * BufferView_pimpl.h: ditto
10932 * ColorHandler.h: ditto
10934 * kbmap.C (defkey): change call to shared_ptr::reset
10936 2002-05-21 Juergen Vigna <jug@sad.it>
10938 * buffer.C (insertErtContents): fix to insert ert asis if it is
10939 non empty. Skip it completely if it contains only whitespaces.
10941 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10943 * BufferView_pimpl.C:
10944 * BufferView2.C: clear selection on paste (bug 393)
10946 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * DepTable.C: include ctime
10950 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10952 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10954 2002-05-14 Juergen Vigna <jug@sad.it>
10956 * text.C (breakParagraph): fixed function to honor the keepempty
10957 layout in the right maner and also to permit the right breaking
10958 algorithm on empty or non empyt keepempty paragraphs.
10960 * paragraph.C (breakParagraph): we have to check also if the par
10961 is really empty (!size()) for isempty otherwise we do the wrong
10964 2002-05-10 Juergen Vigna <jug@sad.it>
10966 * buffer.[Ch] : The following are only changes to the ert
10967 compatibility read reading old LaTeX layout and font stuff and
10968 convert it to ERTInsets.
10970 * buffer.h: added isErtInset().
10972 * buffer.C (struct ErtComp): add a fromlayout bool to check
10973 if we're inside a LaTeX layout.
10974 (isErtInset): new helper function.
10975 (insertErtContents): look for other ert insets before this one
10976 and insert the contents there, so that we don't have subsequent
10977 ERT insets with nothing between them. This way we create only one
10978 inset with multiple paragraphs. Also check if we don't insert only
10979 spaces ' ' as they are ignored anyway afterwards in the .tex file
10980 so if we have only spaces we will ignore this latex part in the
10982 (parseSingleLyXformat2Token \\layout): better compatibility when
10983 reading layout-latex stuff.
10984 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10986 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10987 stuff after reading the inset only get the information back from
10990 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10992 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10994 * LaTeXFeatures.C (getBabelOptions): New method.
10996 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * BufferView_pimpl.C (Dispatch): work around missing argument for
11001 2002-05-08 Juergen Vigna <jug@sad.it>
11003 * text.C (leftMargin): handle paragraph leftindent.
11005 * paragraph.C (writeFile): write the new \\leftindent tag.
11006 (validate): handle leftindent code.
11007 (TeXEnvironment): handle paragraphleftindent code again.
11009 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11011 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11012 for paragrap_extra indent code and new token \\leftindent.
11013 (latexParagraphs): handle the leftindent as environment.
11015 * ParameterStruct.h: added leftindent support.
11017 * ParagraphParameters.C (leftIndent): added support functions for
11018 the paragraph left indent.
11020 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11023 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11025 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11028 * text.C (computeBidiTables): No bidi in insetERT.
11030 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11033 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * version.C.in: pre 5
11037 2002-05-02 José Matos <jamatos@fep.up.pt>
11038 * buffer.C (makeDocBookFile): white space changes, add newline to
11040 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11042 * tabular.C (docBook): fix typo.
11044 2002-05-03 Juergen Vigna <jug@sad.it>
11046 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11047 change in LyXText as we can not be sure it was not freed.
11048 (drawOneRow): remove unused code.
11050 * text.C (drawInset): redo the calculation of the need_break_row as
11051 it could have a row which was already freed.
11052 (draw): look at the return value of drawInset and return false if
11053 it also returned false.
11054 (paintRowText): look at the return value of draw and return false if
11055 it also returned false.
11057 * lyxtext.h: added bool return type to drawInset() and draw() so that
11058 if we have a change in the row so that the rowbreak has to be redone
11059 we abort drawing as it will be called again.
11061 2002-05-02 Juergen Vigna <jug@sad.it>
11063 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11064 a change in the maintext also if we're inside an inset.
11065 (Dispatch): set the cursor again after a break line and after the
11066 screen has been updated as it could be we're in a different row.
11068 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11069 to set the cursor behind the pargraph with > size().
11070 (setCursor): check also for the same paragraph when checking where
11071 to put the cursor if we have a NFR inset.
11073 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11074 parts of layout read further up as it still was in the wrong
11077 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11079 * screen.C (drawFromTo): change sine fullRebreak always return
11082 * buffer.C (parseSingleLyXformat2Token): reindent some
11084 * BufferView_pimpl.C (update): change since fullRebreak always
11086 (Dispatch): git rid of the last hardcoded "Standard"s.
11088 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11090 * text2.[Ch] (fullRebreak): make it return void now that we always
11093 2002-04-30 Juergen Vigna <jug@sad.it>
11095 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11096 ert compatibility check for "latex" layout.
11098 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11100 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11101 minipages: use col% instead of p%, and also use the current font.
11102 (makeLaTeXFile): Fix use babel condition.
11103 (parseSingleLyXformat2Token): Correct font when reading old floats.
11105 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11107 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11108 inserting list of floats.
11110 2002-04-25 Herbert Voss <voss@lyx.org>
11112 * MenuBackend.C (expand): don't add the graphics extensions to the
11115 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11118 non-existing layout, do not complain if it was the default layout
11119 of the original class (bug #342)
11121 2002-04-24 Juergen Vigna <jug@sad.it>
11123 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11124 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11126 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11128 * buffer.C (getBibkeyList): If using \bibliography, return the
11129 option field with the reference itself. Enables us to provide natbib
11130 support when using \bibliography.
11132 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11134 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11136 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11137 natbib is provided by the LaTeX class.
11139 2002-04-23 Juergen Vigna <jug@sad.it>
11141 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11144 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11146 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11150 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11151 ensuremath around textordmasculine, textordfeminine and
11154 2002-04-19 Juergen Vigna <jug@sad.it>
11156 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11157 reinitializing the buffer otherwise row-dimensions may be wrong.
11158 (update): reset also the selection cursors if they do exits otherwise
11159 their x/y positions may be wrong.
11161 * text2.C (cursorDown): don't enter the inset if we came from a row
11162 above and are one row over the inset.
11164 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11165 really leaving an inset.
11167 2002-04-18 Juergen Vigna <jug@sad.it>
11169 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11170 of the selected paragraph does not have the selected layout also if
11173 * text2.C (setLayout): fixed bug which did not change last selected
11176 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11177 changed the read and substituted \\end_float with \\end_inset!
11179 * BufferView_pimpl.C (cursorPrevious):
11180 (cursorNext): fixed to make it work with rows heigher than the work
11181 area without moving the cursor only the draw of the row.
11182 (workAreaMotionNotify): fix jumping over high rows.
11184 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11189 2002-04-16 Juergen Vigna <jug@sad.it>
11191 * text2.C (setCursor): set also the irow().
11192 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11194 (cursorDown): support for locking an inset if the x_fix value goes
11195 inside it. That way I can transverse insets too with cursor up/down.
11197 * lyxrow.h: added irow helper function same as other (i) functions.
11199 * BufferView_pimpl.C (cursorPrevious):
11200 (cursorNext): fixed for insets!
11202 2002-04-15 Juergen Vigna <jug@sad.it>
11204 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11205 position otherwise it is wrong in some cases.
11207 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11208 inside the inset before the call.
11210 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11212 * buffer.[Ch] (getBibkeyList): make it const.
11214 2002-04-12 Juergen Vigna <jug@sad.it>
11216 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11218 * text2.C (getCursorX): new helper function
11219 (setCursor): compute also ix_
11220 (setCursorFromCoordinates): set also ix.
11222 * lyxcursor.h: added ix_ and helper functions.
11224 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11226 * buffer.C (insertStringAsLines): dont break paragraph if the this
11227 paragraph is inside an inset which does not permit it!
11229 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11230 also with no chars on this paragraph.
11231 (paintRowText): only paint stuff if it's inside the workarea!
11233 * paragraph.C (breakParagraph): honor keepempty flag and break the
11234 paragraph always below not above.
11236 * BufferView2.C (unlockInset): update the paragraph layout on inset
11237 unlock as we changed paragraph in such a case.
11239 * lyxfind.C (LyXFind): clear the former selection if not found!
11241 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11242 again called in insertChar().
11244 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11245 an inset which uses the whole row!
11246 (rightMargin): ditto.
11247 (insertChar): force a rebreak if we inserted an inset!
11249 2002-03-28 Herbert Voss <voss@lyx.org>
11251 * lyxlength.[Ch]: add inBP() to get the right PS-point
11252 units (BigPoint). With inPixels we have rounding errors
11254 2002-04-11 Juergen Vigna <jug@sad.it>
11256 * text2.C (setCursorFromCoordinates): set iy to the right value.
11257 (setCursor): add check if row->previous exists!
11259 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11260 an old float_type as this was the case in the old code!
11262 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11264 * BufferView2.C (showLockedInsetCursor): use iy
11265 (fitLockedInsetCursor): ditto
11267 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11268 locked insets as there we have the right value now.
11270 * lyxcursor.C: added iy_ variable and iy functions to set to the
11271 baseline of cursor-y of the locked inset.
11273 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11274 (setCursor): fixed for insets which need a full row.
11276 * text.C (rowLastPrintable): don't ignore the last space when before
11277 an inset which needs a full row.
11278 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11279 as last character of a row when before a inset which needs a full row.
11281 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11283 * version.C.in: update date
11285 * text2.C (fullRebreak): try to always return true and see what
11288 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * MenuBackend.C (expand): use Floating::listName
11292 * FloatList.C (FloatList): add listName argument to the built-in
11295 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11296 text associated with the float.
11298 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11302 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * ShareContainer.h: add a couple of missing typenames.
11306 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11308 * lyxrc.C (getDescription): use _() correctly rather than N_().
11310 2002-03-28 Herbert Voss <voss@lyx.org>
11312 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11313 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11315 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11318 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11320 2002-03-29 Juergen Vigna <jug@sad.it>
11322 * lyxfunc.C (dispatch): add a missing fitCursor call.
11324 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11325 it was scrolled by a cursor move, so return the bool status.
11327 * BufferView.C (fitCursor): return the bool flag also to the outside
11328 world as this is needed.
11330 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11332 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11333 call the edit() as it is not needed (and wrong) IMO.
11334 (workAreaButtonPress): set the screen_first variable before evt.
11335 unlock the inset as this may change screen_first and then we have
11336 a wrong y position for the click!
11338 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * MenuBackend.C (expand): another translation that I missed
11342 2002-03-28 Juergen Vigna <jug@sad.it>
11344 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11346 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11348 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11352 * MenuBackend.C (expand): fix export/view/update when there is no
11355 2002-03-27 Herbert Voss <voss@lyx.org>
11357 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11360 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * bufferview_funcs.C (currentState): only show paragraph number
11363 for is DEVEL_VERSION is set.
11365 * lyxfunc.C (dispatch): put warning in INFO channel
11367 * MenuBackend.C (expand): translate the name of floats
11369 * FloatList.C (FloatList): mark the float names for translation
11371 * converter.C (convert): use LibScriptSearch
11373 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * MenuBackend.C (defaults): fix default menu (we might as well get
11378 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11380 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11383 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * lyxvc.C: reorder includes.
11387 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11389 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11392 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11394 * CutAndPaste.C: change layouts earlier on paste
11395 to avoid crashing when calling getFont()
11397 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11399 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11402 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11404 * WorkArea.C: remove 'Pending' debug message.
11406 * most files: ws cleanup
11408 * buffer.[Ch]: ws changes
11410 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11412 2002-03-21 Juergen Vigna <jug@sad.it>
11414 * tabular.C (SetMultiColumn): collapse also the contents of the
11415 cells and set the last border right. Added a Buffer const * param.
11417 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11422 2002-03-19 Juergen Vigna <jug@sad.it>
11424 * text2.C (clearSelection): reset also xsel_cache.
11426 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11427 where it needs to be called (John tells us to do so too :)
11428 (selectionLost): reset sel_cache.
11430 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11432 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11434 * text2.C (setCursorIntern): put debuging code in INSETS channel
11436 2002-03-19 André Pönitz <poenitz@gmx.net>
11438 * lyxfunc.C: tiny whitespace change
11440 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * ToolbarDefaults.C (init):
11443 * LyXAction.C (init):
11445 * BufferView_pimpl.C (Dispatch):
11446 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11448 2002-03-19 Allan Rae <rae@lyx.org>
11450 * exporter.C (Export): removeAutoInsets before doing anything else.
11451 While I've just introduced a dependency on BufferView this really is
11452 the best place to clean the buffer otherwise you need to cleanup in
11453 a dozen places before calling export or cleanup in a dozen functions
11456 * converter.C (runLaTeX):
11457 (scanLog): Better handling of removeAutoInsets and screen updates.
11459 * lyxfunc.C (dispatch): small whitespace changes
11461 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * WorkArea.C (C_WorkAreaEvent): return a value.
11464 (event_cb): return 1 if we handled the event, 0 otherwise.
11466 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11468 2002-03-18 Juergen Vigna <jug@sad.it>
11470 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11471 (GetAdditionalWidth): ditto.
11472 (RightLine): ditto.
11475 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11476 inset if we're there actually (probably not used right now but this
11477 is the direction to go for unifying code).
11478 (paste): disable code to clear the selection.
11480 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11481 inside an InsetText and move the check further up as it is in the
11484 * text2.C (pasteSelection): set a selection over the pasted text.
11486 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11488 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11489 and libgraphics to build on Cygwin.
11491 2002-03-15 Juergen Vigna <jug@sad.it>
11493 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11494 inserting an Inset into the paragraph. I know this is not the best
11495 fix but we already use current_view in CutAndPaste so we will remove
11496 all of it's using at the same time.
11498 * buffer.C (sgmlError): deactivated function till it is rewritten in
11499 the right mode, now it can create problems.
11501 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11502 before accessing it.
11504 2002-03-14 Juergen Vigna <jug@sad.it>
11506 * undo_funcs.C (textHandleUndo): do the right thing when updating
11507 the inset after the undo/redo.
11509 * text2.C (setCursor): just some testcode for #44 not ready yet.
11511 * undo_funcs.C (textHandleUndo): set the next() and previous()
11512 pointers of the paragraph to 0 before deleting otherwise we have
11513 problems with the Paragraph::[destructor].
11515 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11516 on a paragraph insertion.
11518 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11520 * buffer.C (asciiParagraph): use += operator for char append to
11523 * paragraph.C (getFontSettings): compare >= not just >
11524 (highestFontInRange): ditto
11527 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * paragraph.C: change several algorithm to be more appripriate for
11530 the problem domain. This is lookip in FontList and in the InsetList.
11532 2002-03-13 André Pönitz <poenitz@gmx.net>
11535 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11537 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11542 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11544 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * Painter.C (display): anon helper function, adjust code for this
11548 (pixmap): remove function.
11550 * Painter.h: remove private display variable.
11552 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11554 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11556 * WorkArea.[Ch]: remove figinset_canvas cruft.
11558 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * lyxtextclass.C (operator): add one item cache optimization.
11562 * bufferlist.h: doxy changes
11564 * bufferlist.C: ws changes
11566 * DepTable.[Ch] (ext_exist): place const in the right spot.
11568 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11570 (workAreaExpose): call resizeInsets when the with BufferView changes.
11571 (Dispatch): adjust for protectedBlank removal
11572 (specialChar): call updateInset if the insert went ok.
11574 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11575 specialChar instead.
11577 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11579 * BufferView.h: doxy change
11581 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11583 * lyxtextclass.C (operator[]): remove non-const version
11584 (defaultLayout): remove non-const version
11586 2002-03-12 Juergen Vigna <jug@sad.it>
11588 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11589 did resize the LyXText too.
11591 * buffer.C (readLyXformat2): set layout information on newly allocated
11594 * tabular.C (OldFormatRead): set layout information on the paragraph.
11596 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11598 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11600 2002-03-11 Juergen Vigna <jug@sad.it>
11602 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11604 (resizeCurrentBuffer): force also the insets to resize themselfes.
11605 (moveCursorUpdate): fixed up for InsetText.
11607 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11610 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11611 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11612 value of Dialogs::tooltipsEnabled().
11613 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11615 2002-03-08 Juergen Vigna <jug@sad.it>
11617 * BufferView_pimpl.C (updateInset): update inset inside inset also
11618 if it isn't inside theLockingInset().
11620 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11622 * buffer.C (asciiParagraph): redo some of the word and line length
11624 (getLists): look for Caption instead of caption.
11626 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * buffer.C (Buffer): initialize niceFile to true
11630 (makeLinuxDocFile):
11631 (makeDocBookFile): make sure niceFile is true on exit
11633 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11635 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11637 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11639 * LyXSendto.C: remove.
11640 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11641 * lyx_gui.C: remove now-redundant comment.
11642 * ColorHandler.h: remove forward declaration of class WorkArea.
11643 * lyxfunc.C: remove #include "WorkArea.h".
11645 2002-03-07 Juergen Vigna <jug@sad.it>
11647 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11648 got moved away with the DEPM and also set the inset_owner always
11649 right which before could have been omitted.
11651 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11654 wanted layout is not found.
11656 2002-03-07 Juergen Vigna <jug@sad.it>
11658 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11660 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * paragraph.C (breakParagraph): use default layout not layout of
11664 (Paragraph): clear ParagraphParameters.
11666 2002-03-06 Juergen Vigna <jug@sad.it>
11668 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11669 otherwise it would not be a valid lenght. Fixed a special case in
11670 the minipage compatibility read where we end the document with a
11673 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11674 was set as it could be 0 for InsetTexts first entry.
11676 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * paragraph.C (writeFile): if layout is empty write out
11679 defaultLayoutName().
11681 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11682 file without named layout we set layout to defaultLayoutName().
11684 2002-03-06 Juergen Vigna <jug@sad.it>
11686 * CutAndPaste.C (copySelection): set layout for new paragraph.
11688 * text.C (prepareToPrint): leave ERT inset left aligned
11689 (leftMargin): don't indent paragraphs inside ERT insets
11691 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * paragraph.C (breakParagraph): dont call clear do the work manually
11695 * paragraph.[Ch] (clear): remove function
11697 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11699 * paragraph.C (Paragraph): dont call clear, the work has already
11702 * lyxtextclass.C (operator): assert if n is empty
11704 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11705 work manually instead.
11707 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11709 * BufferView_pimpl.C: protect selectionLost against text == 0
11711 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * text.C (breakParagraph): fix a setting layout to '0' problem.
11715 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11717 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11718 final location of file, for the included files, and graphics.
11720 2002-03-05 Juergen Vigna <jug@sad.it>
11722 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11724 2002-03-04 Juergen Vigna <jug@sad.it>
11726 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11728 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11729 last column of multicolumn cells.
11730 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11732 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11734 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11735 file if it doesn't go to a temporary file.
11737 * buffer.C (sgmlOpenTag):
11738 (sgmlCloseTag): remove extra newline insertion.
11740 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11742 * text.C (getRowNearY): comment out debug msg
11744 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11746 * text2.C: first -> first_y
11748 * text.C (getRowNearY): add some attemts at a possible
11749 optimization, not working.
11751 * tabular.[Ch]: add BufferParams to several function so that newly
11752 created paragraph can be initialized to he default layotu for the
11755 * tabular-old.C (ReadOld): add buf->params to call of Init
11757 * screen.C: rename text->first to text->first_y
11759 * paragraph.C (breakParagraph): always set layout in the broken
11762 * lyxtextclass.C (Read): remove lowercase
11765 (delete_layout): ditto
11767 * lyxtext.h: rename first -> first_y
11769 * lyxlayout.C (Read): remove lowercase
11772 (obsoleted_by): ditto
11774 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11776 * buffer.C (insertErtContents): add params are to InsetERT
11777 (parseSingleLyXformat2Token): add code to check if a paragraphs
11778 layout really exist.
11779 (parseSingleLyXformat2Token): add params to several inset
11781 (asciiParagraph): remove lowercase, do the layout comparisons with
11784 * BufferView_pimpl.C (cursorNext): first -> first_y
11785 (resizeCurrentBuffer): first -> first_y
11786 (updateScrollbar): first -> first_y
11787 (scrollCB): first -> first_y
11788 (workAreaMotionNotify): first -> first_y
11789 (workAreaButtonPress): first -> first_y
11790 (checkInsetHit): first -> first_y
11791 (cursorPrevious): first -> first_y
11792 (cursorNext): first -> first_y
11793 (Dispatch): add buffer_->params to severl inset contructors
11795 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11797 * lyxlayout.C (Read): remove some debug info that I forgot.
11799 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11800 clean up the code slightly.
11801 (makeLinuxDocFile): ditto
11802 (makeDocBookFile): ditto
11804 * text2.C: layout as string
11806 * text.C: layout as string
11808 * paragraph_pimpl.C: layout as string
11810 * paragraph.[Ch]: layout as string
11812 * lyxtextclasslist.[Ch]: layout as string
11814 * lyxtextclass.[Ch]: layout as string
11816 * lyxtext.h: layout as string
11818 * lyxlayout.[Ch]: layout as string
11820 * lyx_cb.C: layout as string
11822 * bufferview_funcs.C: layout as string
11824 * bufferparams.C: layout as string
11826 * buffer.C: layout as string
11828 * LyXView.[Ch]: layout as string
11830 * LaTeXFeatures.[Ch]: layout as string
11832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11834 * BufferView_pimpl.C: change current_layout to string, remove
11839 (workAreaButtonRelease): layout as string
11841 * BufferView2.C (unlockInset): adjust
11843 * vspace.C (asLatexCommand): use an explict temp variable.
11845 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11847 * Makefile.am: use FRONTEND_*
11849 2002-03-01 Juergen Vigna <jug@sad.it>
11851 * tabular.C (SetWidthOfMulticolCell): changed to something better
11852 I hope but still work in progress.
11853 (recalculateMulticolumnsOfColumn): renamed function from
11854 recalculateMulticolCells as it is more appropriate now.
11855 (SetWidthOfCell): calculate multicols better.
11857 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11861 * lyxfunc.C (processKeySym): print sequence also if it is
11862 `deleted' (complete)
11864 * kbsequence.C (print): print sequence even if it is deleted
11865 (complete would be a better word, actually).
11867 * lyxfunc.C (dispatch): print complete options after a prefix key
11869 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11871 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11873 * text2.C (setCharFont): eliminate setCharFont code duplication.
11875 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11877 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11878 LFUN_TABULAR_FEATURE (bug #177)
11880 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11882 * Makefile.am: remove figure.h
11884 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11886 * Bufferview_pimpl.C:
11898 * text2.C: remove #include "lyx_gui_misc.h".
11900 * LaTeX.C: added #include <cstdio>
11902 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11905 that the paragraph following this one can have.
11907 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11909 * vspace.C (asLatexCommand): fix bogus gcc warning
11911 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11913 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11915 * text2.C (setLayout): get rid of redundant code
11917 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11919 * text2.C (incDepth): make sure depth cannot be increased beyond
11922 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11924 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11925 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11927 * PainterBase.h (image):
11928 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11929 a LyXImage const *.
11931 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11935 * BufferView_pimpl.C:
11936 * BufferView_pimpl.h:
11956 * sp_spell.C: remove fig inset, and the crap house of
11957 cards that follows it
11959 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11964 * os2_errortable.h:
11965 * nt_defines.h: move .h into support/
11967 * vms_defines.h: remove
11969 * WorkArea.C: add space in debug output
11973 * buffer.C: add WITH_WARNINGS
11977 * bufferlist.C: s/retrive/retrieve/, add docs
11986 * chset.C: add docs
11988 * lyxgui.C: add ID to X error handler
11990 * lyxtestclass.c: fix typo
11992 2002-02-26 Juergen Vigna <jug@sad.it>
11994 * tabular_funcs.C (write_attribute): changed so that some default
11995 attributes are not written at all.
11996 (getTokenValue): set default values before trying to read the
11997 value so we have the return value always set as default if we don't
11998 find the token we search for.
12000 * tabular.C (Write): write bools as bools not as strings!
12002 2002-02-22 Juergen Vigna <jug@sad.it>
12004 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12005 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12007 * text.C (leftMargin): don't add an indent for paragraphs inside
12008 tabular cells (fix #208).
12010 2002-02-21 José Matos <jamatos@fep.up.pt>
12012 * tabular.C (docBook): fixed support for long tables.
12014 2002-02-20 Juergen Vigna <jug@sad.it>
12016 * text2.C (getFont): get the drawing font of the Inset if this
12017 paragraph is inside an inset (only important for InsetERT for now).
12019 * buffer.C (insertErtContents): use new lanugage params in ERT
12022 * CutAndPaste.C: commenting out seemingly uneeded code.
12024 2002-02-19 Allan Rae <rae@lyx.org>
12026 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12027 Iterators might be simple to use but they also get invalidated.
12028 (removeAutoInsets): renamed saved cursor tracking variables and added
12029 some comments to clarify what everything does.
12031 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12038 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12039 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12042 * vc-backend.h: remove #include "support/syscall.h"
12046 * converter.C: rearrange #includes in Lars' approved fashion.
12048 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12049 forward declare class Timeout in the header file.
12051 * XFormsView.C: changes due to the above.
12053 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12054 similar to LyXView.
12056 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12057 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12059 2002-02-18 José Matos <jamatos@fep.up.pt>
12061 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12064 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12066 * a lot of small ws changes
12067 * add a lot of using std::XXX
12068 * use std construcs some places where approp.
12069 * use some exisint stuff from lyxfunctional where approp.
12070 * Make file changes to use partial linking (lets test this now...)
12072 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12076 remove #include "support/syscontr.h" as it's redundant. Always has been.
12084 change Systemcalls::System to Systemcalls::Wait and
12085 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12086 No change of functionality, just reflects the stripped down Systemcalls
12089 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12091 * debug.[Ch]: add a GRAPHICS type to the enum.
12093 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12097 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12100 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12102 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12103 match the changes below.
12105 * text2.C (toggleInset): if there is not editable inset at cursor
12106 position, try to see if cursor is _inside_ a collapsable inset
12109 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12112 document menu has a nice checkbox
12114 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * lyxlength.C (asLatexString): change PW to output as percent of
12119 * lengthcommon.C: change '%' to 't%'
12121 * lyxfunc.C (dispatch): a few comments from Martin
12123 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12127 * BufferView_pimpl.h:
12128 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12131 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12133 * vspace.C (inPixels): fix compiler warning
12135 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12137 * lyxfunc.C (getStatus): fix status message for disabled commands.
12139 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12141 * BufferView_pimpl.C: fix crash on close buffer
12142 during selection (#227)
12144 2002-01-27 Herbert Voss <voss@lyx.org>
12146 * buffer.C: link old Figure to new graphic inset
12148 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12150 * FontLoader.C (getFontinfo): Change the latex font names in order
12151 to match the names of type1inst.
12153 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12157 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12158 (extchanged): ditto
12160 (remove_files_with_extension): ditto
12161 (remove_file): ditto
12164 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12165 document is smaller than the work area height. Do not initialize
12166 static variables to 0.
12168 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12170 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12172 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12173 LFUN_LAYOUT_PARAGRAPHS.
12175 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12176 tabular. It is possible to provide a possible cell, which will
12177 typically be the actcell from the corresponding insettabular
12179 * lyxfunc.C (getStatus): small cleanup; disable
12180 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12183 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12187 * paragraph.C (startTeXParParams):
12188 (endTeXParParams): new methods. The LaTeX code to
12189 start/end paragraph formatting
12190 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12191 empty (fixes bug #200)
12193 * vspace.C (inPixels): adapt to the change below
12194 (inPixels): [later] more cleanups (remove unused variables)
12196 * lyxlength.C (inPixels): change to use a width and a height as
12199 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12201 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12202 Replaced with \paperwidth
12204 * DepTable.C (insert): add std:: qualifier
12206 2002-01-18 Allan Rae <rae@lyx.org>
12208 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12211 * text.C (drawInset): Turned out I didn't know enough about how
12212 rebreaking worked. This fixes most of the redraw problems. I see
12213 an occasional cursor trail when a line is broken now and the cursor
12214 placement can seem out by a few pixels also after a rebreak.
12216 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * buffer.C (parseSingleLyXformat2Token): update because minipage
12219 width is now a LyXLength
12221 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12223 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12226 2002-01-17 Juergen Vigna <jug@sad.it>
12228 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12230 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12231 is set correctly and the inset is updated correctly.
12233 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12235 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12236 the beginning of the loop.
12238 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12240 * lyxrc.C: improve help for use_scalable_fonts
12242 2002-01-17 Allan Rae <rae@lyx.org>
12244 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12246 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12248 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12249 make sure to set their inset_owner to the right value (bug #171)
12251 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12254 * DepTable.C: Implement mtime checking to reduce time spent doing
12257 2002-01-16 Juergen Vigna <jug@sad.it>
12259 * tabular.C (GetAdditionalHeight): one of error fixed.
12261 * lyxrc.C (output): small fix in writing use_pspell.
12263 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12265 * sp_base.h: #include LString.h
12267 2002-01-16 Allan Rae <rae@lyx.org>
12269 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12270 Can someone check this please?
12272 * text.C (drawInset): It was possible that p.row would be removed by
12273 breakAgainOneRow upsetting a few other settings. There may be another
12274 small tweak possible by setting need_break_row = 0 when p.row has been
12275 removed but I don't know enough about the logic here.
12277 2002-01-15 Allan Rae <rae@lyx.org>
12279 * text.C (insertChar): removed conditional truism.
12281 * BufferView2.C (removeAutoInsets): More tweaks.
12282 cur_par_prev could be a stray pointer. Check for trailing empty line
12283 in case last line was cur_par and only had an error inset on it.
12285 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12290 * vc-backend.C (most methods):
12291 * exporter.C (Export):
12292 * converter.C (convert):
12294 * LyXSendto.C (SendtoApplyCB):
12295 * lyxfunc.C (dispatch):
12299 * lyx_cb.C (AutoSave):
12301 * BufferView_pimpl.C (MenuInsertLyXFile):
12302 * buffer.C (runChktex): use Buffer::filePath().
12304 * buffer.h: rename filename to filename_; rename filepath to
12305 filepath_ and make it private
12306 (filePath): new method
12308 * buffer.C (writeFile): use fileName()
12311 * lyx_main.C (init): fix starting of LyX when the binary is a
12312 link from so,ewhere else.
12314 * minibuffer.C: include <cctype> for isprint
12316 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12318 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12319 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12320 name clash with InsetCollapsable's width function.
12322 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * lastfiles.C: include <iterator>
12326 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12328 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12331 * buffer.C (makeLaTeXFile): ditto.
12332 Also make loop operation more transparent.
12334 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12336 * ToolbarDefaults.C: remove trailing comma closing namespace.
12338 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12340 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12343 * trans.C (Load): comment out unused variable, allowed.
12345 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12347 * minibuffer.[Ch] (append_char): new method to recieve input from the
12348 drop-down completion browser. If a key was pressed, then recieve this
12349 char and append it to the existing string.
12350 (peek_event): modify the positioning data passed to the completion
12351 browser so that it can be placed above the minibuffer rather than below.
12352 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12354 * LyXAction.C (init): alloe error-next for readonly documents.
12356 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12359 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * bufferlist.C (readFile): create the buffer _after_ checking that
12364 * lyxfunc.C (verboseDispatch): fix handling of arguments
12366 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12368 * lyxrc.C: use string::erase() instead of initializing to "".
12371 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12373 * BufferView_pimpl.h:
12374 * BufferView_pimpl.C:
12377 * text2.C: tell X when we have made a selection for copying
12379 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * BufferView_pimpl.C (MenuInsertLyXFile):
12382 * lyxfunc.C (menuNew):
12384 (doImport): add shortcuts to directory buttons
12386 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12389 * lyxfunc.C (setStatusMessage):
12390 (getStatusMessage): new methods
12391 (getStatus):use setStatusMessage instead of setErrorMessage
12392 (dispatch): when function is disabled, set error message here
12393 [instead of in getStatus previously]
12395 * BufferView_pimpl.C (workAreaButtonRelease): update
12396 toolbar/menubar here too.
12398 2002-01-13 Allan Rae <rae@lyx.org>
12400 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12401 Now seems indestructible. Remaining task is to audit all other
12402 code affected by deleteEmptyParagraphMechanism. One small quirk
12403 left is that an empty document with an error in the preamble can
12404 be made to report an error but no error box appears. I don't know
12406 (removeAutoInsets): Improved comments.
12408 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12411 * Thesaurus.C: update for Aiksaurus 0.14
12413 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * text2.C (firstParagraph): removed member function, all uses
12416 replaces with ownerParagraph
12417 (redoParagraphs): here
12418 (updateInset): here
12419 (toggleAppendix): here
12420 * BufferView2.C (insertErrors): here
12421 (setCursorFromRow): here
12423 2002-01-13 Allan Rae <rae@lyx.org>
12425 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12426 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12427 There is still a way to segfault this although you may have to do this
12428 multiple times: Have an InsetERT with an unknown command in it.
12429 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12430 <down-arrow>, <Enter> again, View->DVI, BANG!
12432 * text2.C (setCursor):
12433 (deleteEmptyParagraphMechanism):
12434 * lyxtext.h (setCursor):
12435 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12436 Making use of the return value may help fix other bugs.
12438 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12440 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12442 * LyXView.C (updateMenubar): call MenuBar::update here
12443 (updateToolbar): but not here
12444 (showState): do not update toolbar/menubar
12446 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12447 should need to care about that.
12449 * lyxfunc.C (verboseDispatch): simplify a bit
12450 (getStatus): have a version which takes a pseudoaction, and
12451 another which requires a (kb_action,string).
12453 * LyXAction.C (retrieveActionArg): make it work also when action
12454 is not a pseudo-action.
12455 (getActionName): simplify a bit
12458 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * lyxfunc.C (verboseDispatch): new families of methods with
12461 several ways to specify a command and a bool to indicate whether
12462 the command name and shortcut should be displayed in minibuffer
12463 (eventually, we could extend that to a finer bitmask like
12464 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12465 (dispatch): the pristine dispatch command which just, well,
12466 dispatchs! Note it still sets its result to minibuffer; I'm not
12469 * lyxfunc.h: remove setHintMessage
12471 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12473 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * BufferView_pimpl.C (specialChar): delete new inset if we have
12476 not been able to insert it.
12478 * kbmap.C: revert to using int instead of kb_action, since all we
12479 are dealing with is pseudo-actions.
12481 * LyXAction.C (searchActionArg): change to return int instead of
12482 kb_action, since the result is a pseudoaction.
12484 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12486 * buffer.C (insertErtContents): Fix (partially) the font bug.
12488 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12490 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12491 as the other one is broken on my machine!
12493 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12496 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12498 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12500 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12501 reflect their actual use. Provide compatibility code for older lyxrc
12504 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12506 change names of popup font variables in line with the changes to lyxrc.C
12508 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * buffer.C (asciiParagraph): avoid outputing a word twice after
12513 * lyxrc.C (getDescription): document that document_path and
12514 template_path can be empty.
12516 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12518 * LaTeXFeatures.C (getMacros):
12519 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12521 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12523 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12525 (getPackages): rename feature "floats" to "float". Use an array to
12526 iterate over 'simple' features (i.e. just a \usepackage). Add
12527 handling of "amsmath" (renamed from "amsstyle").
12529 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12531 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12534 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12536 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12537 FuncStaus::FuncStatus & FuncStaus::some_method().
12539 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12541 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12542 of the func_satus stuff. Edited and massaged in various ways by
12545 * lyxfunc.C (getStatus): use FuncStatus
12547 2002-01-08 Juergen Vigna <jug@sad.it>
12549 * text.C (nextBreakPoint): use function Inset::isChar().
12551 * paragraph.C (TeXOnePar): use function
12552 Inset::forceDefaultParagraphs.
12554 * buffer.C (latexParagraphs): use function
12555 Inset::forceDefaultParagraphs.
12557 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12559 * lyx_gui.C (init): set the style of the menu popups to
12560 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12562 2002-01-07 Juergen Vigna <jug@sad.it>
12564 * text.C (setHeightOfRow): small fix
12565 (prepareToPrint): don't look at alignment if we don't have the place
12568 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12570 * box.C: New file. Move the Box methods and functions out of box.h,
12571 following Lars' suggestion.
12573 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12575 * box.h: #include "support/LOstream.h", needed for inlined function.
12578 * lyxtextclasslist.C: added some using std declarations.
12580 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12582 * box.h: make signed dimensions to allow insets wider than
12583 the screen (bug #162)
12585 * BufferView_pimpl.C: add some insetHit debug
12587 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12589 * vc-backend.C: add FIXME
12591 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * lyxfunc.C (getStatus): enable code for showing math font status
12596 2002-01-07 Juergen Vigna <jug@sad.it>
12598 * text.C (nextBreakPoint): removed debug output not needed anymore.
12600 2002-01-06 Juergen Vigna <jug@sad.it>
12602 * text.C (nextBreakPoint): fixed up this function we had this bug
12603 since ever but now hopefully we break row better.
12604 (insertChar): we have to check if an inset is the next char as it
12605 could now happen that a large inset is causing a break.
12607 2002-01-05 Juergen Vigna <jug@sad.it>
12609 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12610 if it doesn't like to be drawed.
12612 2002-01-04 Juergen Vigna <jug@sad.it>
12614 * BufferView2.C (lockInset): forgot to set a cursor.
12616 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12618 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12620 * FormMathsPanel.C:
12623 * form_maths_panel.C:
12624 * form_maths_panel.h:
12625 * form_maths_panel.fd: implemented sub- and super- buttons in math
12628 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12629 (or ^ space) to be used as in TeX (req'd by André).
12631 * lyxfunc.C: Allow ^ and _ again to be used both as
12632 super/subscript (mathed) and as themselves (in text).
12634 2002-01-03 Allan Rae <rae@lyx.org>
12636 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12637 "LyX" or the filename of the current buffer if it has one. This is a
12638 modified form of John Levon's patch.
12640 * XFormsView.C (setWindowTitle): also set icon title.
12642 * LyXView.h (setWindowTitle): signature changed.
12643 * XFormsView.h (setWindowTitle): ditto.
12645 2002-01-02 Juergen Vigna <jug@sad.it>
12647 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12649 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * screen.C (topCursorVisible): introduce a temp var for
12652 text->cursor.row(), handle the case where this row is null. (kindo
12655 * text2.C (setCursor): add a couple of asserts.
12657 * paragraph.h (inset_iterator): add -> operator
12659 * paragraph.[Ch] (autoDeleteInsets): remove member function
12661 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12662 cursor pos correctly and handle inset deletion by itself.
12663 (insertErrors): move iterator declaration out of for expression
12665 * lyxtextclass.C: add <algorithm>
12667 * Makefile.am: added the new files to sources, removed layout.C
12669 * layout.C: removed file
12671 * layout.h: remove LYX_DUMMY_LAYOUT
12673 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12677 * lyxtextclass.[Ch]:
12678 * lyxtextclasslist.[Ch]: new files
12680 * include order changes to a lot of files, also changes because of
12683 2001-12-27 Juergen Vigna <jug@sad.it>
12685 * buffer.C (asciiParagraph): more fixes.
12687 * tabular.C (ascii): make ascii export support export of only the
12688 data separated by a column-delimiter.
12689 (ascii): better support for ascii export.
12691 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12693 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * tabular_funcs.C: use a "using std::getline" instead of the
12696 previous fix from Angus (necessary for cxx + lyxstring)
12698 2001-12-24 Juergen Vigna <jug@sad.it>
12700 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12702 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12703 problems. First check a minipage also if we have some ert-contents
12704 (not only on par->size(), second set the right depth of the paragraph
12705 on the relink to the root-paragraph-list!
12707 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12708 which then did not anymore update the main paragraphs on undo/redo!
12710 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12713 code. Support all font-changing funcs (even those which are not in
12714 menu currently). Support for reporting font settings in
12715 mathed (disabled until Andre provides a function on mathed's side).
12717 * func_status.h (toggle): small helper function to set toggle
12720 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12722 * tabular_funcs.C: getline -> std::getline
12724 2001-12-21 Juergen Vigna <jug@sad.it>
12726 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12727 accessed and could be 0 (I couldn't generate this but it seems
12730 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12733 * tabular_funcs.h: here and include iosfwd
12735 2001-12-20 Juergen Vigna <jug@sad.it>
12737 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12738 inside inset but undo_par was.
12740 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * Thesaurus.C: always include <config.h> in sources.
12746 * box.h: do not include <config.h> in header files
12748 * text.C (paintLastRow): remove unused variable
12750 * text.C (transformChar):
12752 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12754 * Painter.C (text):
12755 * font.C (width): rewrite to use uppercase() instead of
12758 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12760 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12762 * lyxfind.C: clean up of find failure position change
12764 2001-12-20 Juergen Vigna <jug@sad.it>
12766 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12768 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12769 (TeXRow): added to LaTeX a single tabular row.
12770 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12771 (Latex): simplified and finally good LT-h/f support.
12772 (various_functions): just small adaptions for LT-h/f support.
12774 * tabular_funcs.[hC]: added and moved here all not classfunctions
12777 2001-12-19 Juergen Vigna <jug@sad.it>
12779 * tabular.[Ch]: better support for longtabular options (not finished
12782 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * text.C (paintLastRow): use the label font instead of the font of
12785 the last character to compute the size of *_BOX. This makes more
12786 sense and avoids a crash with empty paragraphs.
12787 Use Painter::rectangle to draw EMPTY_BOX.
12789 2001-12-19 Juergen Vigna <jug@sad.it>
12791 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12792 the paragraphs if the replaced paragraph is not the first one!
12793 Tried to delete not used paragraphs but does not work yet so for
12794 now it's inside #ifdef's and by default off!
12796 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12798 * MenuBackend.C: include "lyx_main.h" instead of declaring
12799 lastfiles (actually was declared as LastFiles* instead of a
12802 2001-12-17 Juergen Vigna <jug@sad.it>
12804 * tabular.C (AppendColumn): applied John's fix
12806 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView_pimpl.h:
12811 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12814 * box.h: new start of class for above
12816 * lyxfunc.C: ignore space-only minibuffer dispatches.
12817 Show the command name when it doesn't exist
12819 * minibuffer.C: don't add empty lines to the history
12821 * minibuffer.C: add a space on dropdown completion
12823 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12825 * text.C: fix line above/below drawing in insets
12827 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * lyxlength.C (LyXLength): Initialize private variables.
12831 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12833 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12834 when inserting error insets.
12836 2001-12-13 Juergen Vigna <jug@sad.it>
12838 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12839 actually sometimes the before-paragraph.
12840 (setUndo): don't clear the redostack if we're not actually undoing!
12842 2001-12-06 Juergen Vigna <jug@sad.it>
12844 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12845 and fixed redoing of main paragraph, so we can use it now ;)
12847 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12849 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12854 2001-12-13 André Pönitz <poenitz@gmx.net>
12857 * undo_func.C: minor cleanup
12859 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12861 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12862 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12863 font in urw-fonts package which is marked as -urw-fontspecific and
12864 does not work (incidentally, changing the encoding in the
12865 fonts.dir of this package to -adobe-fontspecific fixes the
12868 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12869 is a crash when undoing first paragraph (Juergen, please take a
12870 look). THis does not mean the undo fix is wrong, just that it
12873 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12874 the (Paragraph*) version when needed instead of duplicating the
12877 * text.C (workWidth): use Inset::parOwner to find out where the
12878 inset has been inserted. This is a huge performance gain for large
12879 documents with lots of insets. If Inset::parOwner is not set, fall
12880 back on the brute force method
12882 * paragraph_pimpl.C (insertInset):
12883 * paragraph.C (Paragraph):
12884 (cutIntoMinibuffer): set parOwner of insets when
12885 inserting/removing them
12887 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12889 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12895 * mathed/formulabase.C:
12896 * mathed/math_cursor.[Ch]:
12897 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12900 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * lyxlength.[Ch] (operator!=): new function
12904 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12906 * text.C (workWidth): use Inset::parOwner to find out where the
12907 inset has been inserted. This is a huge performance gain for large
12908 documents with lots of insets. If Inset::parOwner is not set, fall
12909 back on the brute force method
12911 * paragraph_pimpl.C (insertInset):
12912 * paragraph.C (Paragraph):
12913 (cutIntoMinibuffer): set parOwner of insets when
12914 inserting/removing them
12916 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12918 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12920 * tabular-old.C (getTokenValue):
12921 * tabular.C (getTokenValue):
12922 (write_attribute): new versions for LyXLength
12923 (everywhere): adjust the use of widths
12925 * tabular.h: change the type of widths from string to LyXLength
12927 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12929 * paragraph.C: fixed missing line number count when exporting
12930 Environments to LaTeX file
12932 * buffer.C: added informational message for checking line numbers.
12934 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12936 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12937 paragraph, do the 'double space' part, but not the 'empty
12940 * text.C (workWidth): small optimization
12941 (getLengthMarkerHeight): use minimal size for negative lengths.
12943 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12945 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12947 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12949 2001-12-11 André Pönitz <poenitz@gmx.net>
12952 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12954 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12956 * text2.C: keep selection on a setFont()
12958 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12960 * lyx_cb.C: another bv->text misuse, from insert label
12962 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12965 * kbsequence.C: re-instate nmodifier mask
12967 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12969 * lyx_main.h: make lyxGUI private.
12971 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12973 * lyxfind.C: place the cursor correctly on failed search
12975 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12977 * text.C (getLengthMarkerHeight): for small heights, the arrows
12978 are not always on top/bottom of the text
12979 (drawLengthMarker): smaller arrows; take the left margin in
12980 account; draw also vfills.
12982 (paintLastRow): remove special code for vfill and standard spaces,
12983 since everything is handled in drawLengthMarker now.
12985 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * buffer.C (insertErtContents): try to handle font and language
12988 interaction a bit better.g
12990 * ColorHandler.C (updateColor): change the hash to cover the whole
12991 LColor enum, ws cleanup
12992 (getGCLinepars): ditto
12993 (getGCLinepars): only lookup in the linecache once.
12995 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12997 * iterators.C (operator++): Make the iterator more robust
12999 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13003 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13006 * text.C: better added space drawing
13008 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13011 * BufferView2.C: fix layout combo update on inset unlock
13013 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13015 * Makefile.am: don't compile unused files
13017 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13021 * LyXAction.C: remove old LFUN_LAYOUTNO
13023 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13025 * paragraph_pimpl.h:
13026 * paragraph_pimpl.C: isTextAt() doesn't need font param
13028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13031 * lyxlex.C: little cleanup
13033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13035 * BufferView_pimpl.C: fix insertAscii for insets
13037 2001-12-05 Juergen Vigna <jug@sad.it>
13039 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13040 set the right font on the "multi" paragraph paste!
13042 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * lyxlength.C: remove out-commented code.
13050 * BufferView_pimpl:
13064 * vc-backend.C: change "while(" to "while ("
13066 * lyxlength.[Ch]: add zero function to check if length is zero or
13068 * lyxgluelength.C: use it
13070 2001-12-05 Allan Rae <rae@lyx.org>
13072 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13073 Works for 2.95.3, from what I understand of Garst's reports this should
13074 work for other g++ versions. We're screwed if the abs(int) definition
13075 changed between bugfix releases of gcc.
13077 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13079 * text.C: fix chapter label offset !
13081 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13084 * text.C: fix hfill at end of line, clean up
13086 2001-12-04 Juergen Vigna <jug@sad.it>
13088 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13089 that we force an update of the inset and it's owners if neccessary.
13091 2001-12-03 Juergen Vigna <jug@sad.it>
13093 * text.C (rowLast): simplified code
13095 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13097 * lyxfunc.C: fix show options on timeout
13099 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * screen.C (topCursorVisible): scroll half a page when the cursor
13102 reached top of bottom of screen
13104 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13106 * minibuffer.C: deactivate on loss of focus
13108 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * vspace.[Ch] (operator!=): add operator.
13112 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13114 * BufferView_pimpl.C: refuse to open an inset when
13115 there's a selection.
13117 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13119 * BufferView_pimpl.C: allow to click on RHS of full row insets
13121 2001-11-30 Juergen Vigna <jug@sad.it>
13123 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13124 insets for undo reasons.
13126 2001-11-28 André Pönitz <poenitz@gmx.net>
13128 * vspace.[Ch]: cosmetical changes
13130 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13140 * kbsequence.C: part re-write of old kb code
13143 * WorkArea.C: remove Lgb_bug_find_hack
13145 2001-11-30 José Matos <jamatos@fep.up.pt>
13147 * buffer.C (makeDocBookFile): add a comment to point a hack.
13148 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13149 Fixed a double write of labels.
13151 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13154 * LaTeX.h Fixed bug in LaTeX class where it would not
13155 re-run latex if no depfiles were changed, but the .dvi was removed.
13157 2001-11-28 André Pönitz <poenitz@gmx.net>
13159 * all the files from the change on 2001/11/26:
13160 use lyx::layout_type instead of LyXTextClass::size_type
13161 use lyx::textclass_type instead of LyXTextClassList::size_type
13163 2001-11-29 Juergen Vigna <jug@sad.it>
13165 * text.C: added support for paragraph::isFreeSpacing()
13167 * buffer.C: same as above
13169 * paragraph.h: inserted isFreeSpacing() function to enable
13170 FreeSpacing inside InsetERT.
13172 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13173 of the paragraph's in the cut/copy buffer to 0!
13175 * text2.C (removeRow): remove the assert as it can!
13177 * lyxtext.h: added helper function firstRow returning firstrow and
13178 made firstrow private again.
13180 * BufferView2.C (lockInset): don't relock if we're already locked!
13182 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13183 the only paragraph.
13184 (removeRow): added Assert::(firstrow)
13186 * debug.C: forgot to add INSETTEXT here.
13188 2001-11-28 Juergen Vigna <jug@sad.it>
13190 * sp_spell.C (initialize): changed error text to more general
13191 spellchecker command use (not only ispell!)
13193 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13195 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13197 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13199 * vspace.C: initialise lyxgluelength on failure
13201 2001-11-28 Allan Rae <rae@lyx.org>
13203 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13204 declaration & definition that looks like a function declaration.
13206 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13208 * BufferView2.C (copy):
13209 (copyEnvironment): do not clear the selection when doing a copy.
13211 * text.C (paintFirstRow): compilation fix
13213 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13215 * tabular.C (Latex): correct line count when writing latex.
13217 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13219 * paragraph_pimpl.h:
13220 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13223 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13227 * LColor.C: change vfillline->added_space
13229 * text.C: add markers and text for added space
13231 * vspace.C: fix comment
13233 2001-11-28 André Pönitz <poenitz@gmx.net>
13235 * paragraph.C: whitespace changes
13236 * all the other files from the change on 2001/11/26:
13237 change *::pos_type into lyx::pos_type
13239 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13241 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13242 language of the document when inserting error insets.
13244 2001-11-26 André Pönitz <poenitz@gmx.net>
13246 * BufferView_pimpl.[Ch]:
13254 * paragraph_pimpl.[Ch]:
13257 * text2.C: reduce header dependencies, introduce type for positions
13259 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13261 * <various>: change to use Alert.h
13263 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13265 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13266 when encountering an unknown token.
13267 (readLyXformat2): Show an error message if there were unknown tokens.
13269 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13272 * BufferView_pimpl.C:
13276 * text2.C: use par->isInset()
13278 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13280 * paragraph_pimpl.h:
13281 * paragraph_pimpl.C: cleanup
13283 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * text2.C (removeRow):
13286 * text.C (setHeightOfRow): remove useless (and costly) call to
13289 2001-11-20 Allan Rae <rae@lyx.org>
13291 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13292 Now need Inset*::checkInsertChar() to return true for appropriate
13293 cases so that the characters in the minibuffer will actually be
13296 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13298 * text.C: change the order of the includes.
13299 (workWidth): initialize it at once.
13300 (workWidth): make maxw unsigned
13301 (setHeightOfRow): remove unused variable (inset)
13302 (selectSelectedWord): remove unused variable (inset)
13303 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13305 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13307 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13308 server is not running.
13310 (closeConnection): add debug info when server is disabled.
13312 * ColorHandler.C (getGCForeground): send debug message to GUI
13315 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13317 * kbmap.C (bind): modify because return conventions of
13318 kb_sequence::parse have changed.
13320 * kbsequence.C (parse): only ignore spaces and not any stupid
13321 control character. This avoids tests like s[i] <= ' ', which are
13322 guaranteed to fail with 8bit characters and signed chars.
13323 Change return code to string::npos when there have been no error
13324 (0 was a bad idea when error is at first character)
13326 2001-11-14 José Matos <jamatos@fep.up.pt>
13329 * buffer.C (simpleDocBookOnePar): removed unused argument.
13331 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13333 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13334 insets which are part of a word. Paragraph::isLetter takes care of
13335 that now. Use Paragraph::isInset to identify insets.
13336 (selectSelectedWord): do not test for hyphenation break.
13338 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13339 that protected spaces are considered as spaces.
13341 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13344 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13347 * lyxserver.C: fix it. and small cleanup.
13349 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13351 * BufferView_pimpl.C: use inline helpers
13354 * LaTeXFeatures.C: fix typos
13357 * Spacing.C: move spacing_string into class
13359 * ToolbarDefaults.C: move stuff into namespace anon
13361 * layout.h: update enum
13363 * lyxfunc.C: use better debug
13365 * minibuffer.h: fix typo
13369 * WorkArea.C: add and use Debug::WORKAREA
13373 * text2.C: code re-organisation, inline helpers
13375 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13377 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13378 std::vector.empty().
13380 2001-11-09 Allan Rae <rae@lyx.org>
13382 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13383 '\n's after tables. Tabular and ERT inset work now makes this no
13386 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13389 * minibuffer.C: fix crash, improve drop-down completion
13391 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13394 * lyxserver.C: invalidate fd's when doing endPipe()
13396 2001-11-08 José Matos <jamatos@fep.up.pt>
13398 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13399 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13402 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13404 2001-11-07 José Matos <jamatos@fep.up.pt>
13407 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13410 * buffer.C (sgmlOpenTag):
13411 * buffer.C (sgmlCloseTag): removed debug info.
13413 * buffer.h (sgmlOpenTag):
13414 * buffer.h (sgmlCloseTag): made public.
13416 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * buffer.C (saveParamsAsDefaults):
13419 * lyx_cb.C (MenuLayoutSave): remove
13421 * LyXAction.C (init):
13423 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13425 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * buffer.C (setPaperStuff): removed from here...
13429 * bufferparams.C (setPaperStuff): ... and moved there.
13431 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13435 * XFormsView.C: add support for drop-down completion
13437 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13439 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13442 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13447 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13449 * lyx_main.C: change ref to known bugs
13451 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13453 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13454 to work around older babel problems.
13456 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13458 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13460 2001-10-24 Juergen Vigna <jug@sad.it>
13462 * tabular-old.C (ReadOld): below variable changes reflected.
13464 * tabular.[Ch]: added ltType struct for longtable header/footer
13465 defines and changed all instances where they are used. Added
13466 future support for double top/bottom rows.
13468 2001-10-24 José Matos <jamatos@fep.up.pt>
13470 * buffer.h (docbookHandleCaption):
13471 * buffer.C (docbookHandleCaption): removed unused function.
13472 (makeDocBookFile): moved docbook supported version to v4.1.
13474 2001-10-24 José Matos <jamatos@fep.up.pt>
13477 * tabular.C (docbookRow): new function to export docbook code of a row.
13478 (DocBook): now honors the longtable flags.
13480 2001-10-23 José Matos <jamatos@fep.up.pt>
13483 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13484 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13486 * buffer.C (makeLinuxDocFile):
13487 (makeDocBookFile): reworked the preamble, more clean, and with
13488 support for lyx defined entities. Changed the document declaration
13489 to be more XML friendly.
13491 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13492 if we need to output XML that should be done with a filter.
13494 2001-10-22 Juergen Vigna <jug@sad.it>
13496 * sp_pspell.h (class PSpell): add alive function needed in the
13497 controller to see if the spellchecker could be started.
13499 2001-10-22 Juergen Vigna <jug@sad.it>
13501 * buffer.C (insertStringAsLines): modify the font for inserting
13502 chars in certain conditions by calling checkInsertChar(font).
13504 2001-10-19 Juergen Vigna <jug@sad.it>
13506 * text.C (workWidth): use getRow instead of wrong algorithm.
13507 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13509 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13514 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13516 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13518 * text.C (workWidth): do not search for the exact row when
13519 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13520 optimization for big documents.
13522 2001-10-18 Juergen Vigna <jug@sad.it>
13524 * text.C (workWidth): new function with added Inset * parameter.
13526 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13528 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13530 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13531 change return type of getColumnNearX.
13534 * text.C (changeRegionCase): use uppercase/lowercase instead of
13537 (rightMargin): simplify code by factoring out the uses of
13542 (appendParagraph): use Paragraph::size_type
13544 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * vspace.C (asLatexString): add a missing break
13548 2001-10-15 Herbert Voss <voss@perce.de>
13550 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13552 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13554 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13557 2001-10-10 André Pönitz <poenitz@gmx.net>
13559 * lyxfunc.C: removed greek_kb_flag.
13561 2001-10-10 Herbert Voss <voss@perce.de>
13563 * lyx_main.C: delete global string help_lyxdir.
13565 2001-10-09 Herbert Voss <voss@perce.de>
13567 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13569 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13571 * lyx_main.C: added global string help_lyxdir.
13573 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13575 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13577 * lyxrc.C (set_font_norm_type): support iso8859-4
13579 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13581 * LaTeX.C (deplog): add another regex for MikTeX
13583 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13585 * lyxrc.C (set_font_norm_type): support iso8859-3
13587 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13589 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13591 * LaTeXFeatures.C: remove special case of french and index
13593 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13594 before \begin{document}). This solves several incompatibilities.
13596 2001-10-03 Garst Reese <reese@isn.net>
13598 * lyx_cb.C: change CheckTex error msg.
13600 2001-10-03 José Matos <jamatos@fep.up.pt>
13602 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13604 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13606 * .cvsignore: update
13608 * lyx_main.C (commandLineVersionInfo): use new style version info.
13610 * buffer.C (writeFile):
13612 (makeLinuxDocFile):
13613 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13615 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13617 * version.h: update to use stuff in version.C
13619 * version.C.in: new file. Contains version information determined
13620 at compile time. This is a merging of version.h and
13623 2001-10-03 Juergen Vigna <jug@sad.it>
13625 * BufferView_pimpl.C (update): don't change "dirty" status in
13628 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13630 * WorkArea.C (c-tor): re-position version string slightly.
13632 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13634 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13635 revert to previous code.
13637 WorkArea.[Ch]: (show, destroySplash): methods removed.
13639 WorkArea.C: rework code so that it's an amalgam of the codes before and
13640 after the splash screen was moved to WorkArea.
13642 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13645 * vspace.C (inPixels):
13648 * buffer.C (insertStringAsLines):
13649 (asciiParagraph): fix types to be large enough
13651 * lyxlex_pimpl.h: change member status from short to int
13653 * layout.h: fix type of endlabeltype
13656 * kbsequence.C (parse): change return type to string::size_type
13658 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13661 * Bullet.C (bulletSize):
13662 (bulletEntry): do not use short ints as parameters
13664 * BufferView2.C (insertLyXFile): change a char to an int.
13666 * WorkArea.C (WorkArea): remove unneeded floats in computation
13668 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13670 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13672 * paragraph.C (asString): Do not ignore newline/hfill chars when
13673 copying to the clipboard.
13675 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13677 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13678 after a multi-line inset.
13680 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13682 * paragraph.C (validate): Set NeedLyXFootnoteCode
13684 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13686 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13687 and decrease-error to decrease.
13689 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13692 it more readable (should be equivalent)
13694 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13696 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13698 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13701 of a cursor (row, etc.) after a character has been deleted
13702 (deleteEmptyParagraphMechanism): call the method above on _all_
13703 cursors held by the LyXText when a double space has been
13706 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13708 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13710 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13712 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13713 background. Use greyOut() and the new show() methods to toggle between
13714 the foreground and background. Add code to remove the splash after
13715 its initial showing.
13717 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13718 (create_forms): no longer call Dialogs::showSplash.
13720 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13722 * .cvsignore: add version_info.h
13724 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13726 * version_info.h.in: new file
13728 * Makefile.am: add version_info.h.in
13730 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13731 version_info.h instead of VERSION_INFO
13733 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13735 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13736 The ERT inset now returns string().
13738 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13740 * lyxtext.h, text.C (selectNextWord): renamed as
13741 selectNextWordToSpellcheck.
13743 * text.C (selectNextWordToSpellcheck): Modified to not select
13744 words inside an ERT inset.
13746 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * lyx_cb.C (MenuLayoutSave): change a bit the question
13750 * sp_base.h: include <sys/types.h>
13752 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13754 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13756 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13758 * several files: fix typos in user-visible strings
13760 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * text2.C (pasteSelection): do not set the selection, since it
13763 will be cleared later. Actually, the intent was to fix the way the
13764 selection was set, but I figured rmoving the code was just as good.
13766 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13768 * FontLoader.C (available): Check if font is available without
13771 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13773 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13775 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13777 * lyxrc.[Ch]: added display_graphics variable and associated code.
13779 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13781 * bufferparams.C (hasClassDefaults): new method. Returns true if
13782 the buffer parameters correspond to known class defaults
13784 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13786 * XFormsView.C (show): set minimum size to the main window.
13788 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * text2.C (copySelection):
13792 * lyxfind.C (LyXReplace):
13793 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13794 LyXText::selectionAsString.
13796 * paragraph.C (asString): add "label" argument to the second form
13798 * text2.C (selectionAsString): add "label" argument and pass it to
13799 Paragraph::asString.
13801 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * lyx_main.C (commandLineHelp): remove version information
13805 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13807 * lyx_main.C: add -version commandline option
13809 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13811 * paragraph.h: make the optional constructor arg required instead.
13812 some modifications to other files because of this.
13814 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13816 * lyxserver.C (C_LyXComm_callback): make it static
13818 * lyx_main.C (error_handler): make it static
13820 * lyx_gui.C (LyX_XErrHandler): make it static
13822 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13824 * WorkArea.C: make the extern "C" methods static.
13826 * Makefile.am (lyx_LDADD): simplify
13828 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13830 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13831 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13833 * LyXAction.C (init):
13834 * lyxfunc.C (dispatch): associated code removal.
13836 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * lyxfont.h (isSymbolFont): shut off warning
13840 * text.C (setHeightOfRow):
13841 (getVisibleRow): fix crash with empty paragraphs which have a
13844 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13846 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13849 2001-09-04 José Matos <jamatos@fep.up.pt>
13852 * tabular.C (docbook): rename docBook method to docbook.
13854 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13856 * Makefile.am: add dependencies to main.o.
13858 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13860 * FontLoader.C (available): Return false if !lyxrc.use_gui
13862 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13864 * FontInfo.C (query):
13865 * converter.C (view):
13866 * importer.C (Import):
13867 * exporter.C (Export): Can not -> cannot.
13869 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13871 * BufferView_pimpl.C: allow to create index inset even if
13874 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13876 * buffer.C (getLists): replace boost::tie code with an explicit pair
13877 as boost::tie can break some compilers.
13879 * iterators.h: Added a std:: declaration to the return type of
13882 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13884 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13887 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13889 * iterators.[Ch]: New files. Provide paragraph iterators.
13891 * buffer.C (changeLanguage): Use paragraph iterators.
13892 (isMultiLingual): ditto
13894 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13896 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13898 * FontLoader.C: Support for cmr font.
13900 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13902 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13903 (available): New method.
13905 * FontInfo.C (getFontname): Use scalable fonts even when
13906 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13909 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13911 * converter.C (Formats::view): reverted! Incorrect fix.
13913 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13915 * converter.C (Formats::view): only output the -paper option
13916 if the dvi viewer is xdvi, thereby fixing bug #233429.
13918 2001-08-23 Herbert Voss <voss@perce>
13920 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13922 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13924 * Spacing.h (Spacing): Set space to Default on in the default
13927 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * vc-backend.h (RCS::versionString): add RCS to version
13930 (CVS::versionString): add CVS to version
13932 * vc-backend.C (scanMaster): do not add CVS to version.
13933 (scanMaster): do not add RCS to version
13935 * lyxvc.C (versionString): new method
13937 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13939 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * Spacing.C (set): initialize fval
13943 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13945 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13948 2001-08-16 Juergen Vigna <jug@sad.it>
13950 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13952 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13954 * BufferView_pimpl.C:
13957 * text2.C: setParagraph takes linespacing now
13959 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13961 * LyxAction.C: add internal LFUN_CITATION_INSERT
13963 * LyXView.C: actually apply fix
13965 * bufferlist.C: fix open non-existent file
13967 * lyxfind.C: fix indentation
13969 * lyxfunc.C: remove unneeded assert, fix typo
13971 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13973 * MenuBackend.C: use "Floatname List"
13975 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13977 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13978 when converting LaTeX layout to insetERT.
13979 Generate a non-collapsed float when reading old float
13981 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13983 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13986 2001-08-13 Juergen Vigna <jug@sad.it>
13988 * text.C (fill): return 0 instead of 20 as this seems to be the more
13991 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13993 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13996 2001-08-13 Juergen Vigna <jug@sad.it>
13998 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14000 (SearchBackward): comment out the unlocking of the inset_owner this
14001 should not be needed!
14003 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14005 * Many files: Remove inherit_language, and add latex_language
14007 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14008 collapsible insets.
14010 2001-08-10 Juergen Vigna <jug@sad.it>
14012 * text.C (prepareToPrint): fixed hfill-width in draw!
14014 * BufferView2.C (selectLastWord): save the selection cursor as this
14015 now is cleared in the function LyXText::clearSelection!
14017 2001-08-08 Juergen Vigna <jug@sad.it>
14019 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14020 BACKSPACE type functions.
14022 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14023 is only cutted from the document but not put in the cut-buffer, where
14024 still the old stuff should be.
14026 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14028 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14030 * tabular.C (SetWidthOfCell): fixed special case where the width
14032 (LeftLine): handle '|' in align_special.
14034 (LeftAlreadyDrawed): ditto
14035 (SetWidthOfCell): ditto
14037 2001-08-07 Juergen Vigna <jug@sad.it>
14039 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14041 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14043 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14044 * lyxlex.[hC]: ditto
14046 2001-08-06 Juergen Vigna <jug@sad.it>
14048 * text.C (getVisibleRow): fix up row clearing a bit.
14050 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * minibuffer.C: make sure the X server sees the changes in the input.
14054 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14056 * paragraph.C (getFont): split into...
14057 (getLabelFont): this
14058 (getLayoutFont): and this
14059 * paragraph_pimpl.C (realizeFont): calling this
14061 * text2.C (getFont): split into...
14062 (getLayoutFont): this
14063 (getLabelFont): and this
14064 (realizeFont): all three calling this
14066 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14069 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14073 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14075 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14076 layouts from the Quote inset insertion.
14078 2001-08-03 Juergen Vigna <jug@sad.it>
14080 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14082 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14083 only if status not is already CHANGED_IN_DRAW (second level).
14085 * text.C (draw): don't set the need_break_row when inside an
14088 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * buffer.C (parseSingleLyXformat2Token): handle more latex
14093 * bufferview_funcs.[hC]: change function names to
14094 begin with small char, adjust other files.
14096 2001-08-02 André Pönitz <poenitz@gmx.net>
14099 BufferView_pimpl.C: remove broken special code for math-greek
14101 2001-08-02 Juergen Vigna <jug@sad.it>
14103 * BufferView_pimpl.C (update): redone this function so that we
14104 update the text again if there was a CHANGE_IN_DRAW.
14106 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14107 (drawFromTo): added a new internal bool which is used by draw() and
14109 (general): some cursor drawing problems fixed.
14111 2001-08-01 Juergen Vigna <jug@sad.it>
14113 * lyxfind.C (LyXFind): fixed
14114 (SearchForward): ditto
14115 (SearchBackward): ditto
14117 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14118 spurius drawing of the cursor in the main area.
14120 * text2.C (status): small fix which could lead to a segfault!
14121 (clearSelection): remove unneeded BufferView param.
14123 2001-08-01 André Pönitz <poenitz@gmx.net>
14125 * lyxfunc.C: small change due to changed mathed interface
14127 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14131 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14133 * lyxfunc.c: fail gracefully if file doesn't exist
14138 * BufferView_pimpl.C: IsDirWriteable() proto changed
14140 * LyXView.C: fix updateWindowTitle() to store the last title
14142 2001-07-31 Juergen Vigna <jug@sad.it>
14144 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14145 the font (wrong since using of Paragraph::highestFontInRange).
14147 * paragraph.C (highestFontInRange): added a default_size parameter.
14149 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14150 (setHeightOfRow): reformat
14152 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14154 * converter.[hC] + affected files: move to (inital-char)lowercase
14157 * ParagraphParameters.C (ParagraphParameters): remove commented code
14159 * PainterBase.[Ch]: remove commented code
14161 * LaTeXFeatures.h: add "bool floats" for float.sty
14163 * LaTeXFeatures.C (LaTeXFeatures): init floats
14164 (require): handle float
14165 (getPackages): do it with floats
14167 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14169 * BufferView_pimpl.C (Dispatch): improve handling of
14170 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14172 * commandtags.h: #include lyxfont.h here temporarily to avoid
14175 * bufferlist.h: include LString.h here.
14177 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * text2.C (getStringToIndex): new method.
14181 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14183 * *: Reduced header file dependencies all over.
14185 2001-07-30 Baruch Even <baruch@lyx.org>
14187 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14189 2001-07-29 Baruch Even <baruch@lyx.org>
14191 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14193 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * ParameterStruct.h (endif): add a default constructor to make
14196 sure that all variables is initialized.
14198 * ParagraphParameters.C (ParagraphParameters): adjust
14200 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14203 index; also, check that there is something to index, and that it
14204 does not span over several paragraphs.
14205 (doubleClick): use WHOLE_WORD_STRICT for double click.
14207 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14209 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14212 2001-07-26 Baruch Even <baruch@lyx.org>
14214 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14215 an InsetFig figure, backwards compatible reading of old figure code.
14217 2001-07-27 Juergen Vigna <jug@sad.it>
14219 * text2.C: font.realize function adaption.
14221 * text.C (draw): add a warnings lyxerr text if needed.
14223 * layout.C: font.realize function adaption.
14225 * language.C: add inherit_language and implement it's handlings
14227 * bufferview_funcs.C (StyleReset): remove language parameter from
14228 font creation (should be language_inherit now).
14230 * bufferparams.C (writeFile): handle ignore_language.
14232 * paragraph.C (getFontSettings): the language has to be resolved
14233 otherwise we have problems in LyXFont!
14235 * lyxfont.C (lyxWriteChanges): added document_language parameter
14236 (update): removed unneeded language parameter
14238 * paragraph.C (validate): fixed wrong output of color-package when
14239 using interface colors for certain fonts in certain environments,
14240 which should not seen as that on the final output.
14242 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14244 * BufferView_pimpl.C:
14249 * LyXAction.C: add thesaurus support
14252 * lyxfind.C: add "once" parameter, for thesaurus, to not
14253 move to the next match
14255 2001-07-26 Juergen Vigna <jug@sad.it>
14257 * lyxfont.C (realize): honor ignore_language too!
14260 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14262 * text.C (draw): one place more for ignore_language to not draw
14265 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14267 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14269 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14272 the minipage conversion problem.
14274 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14276 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14279 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * BufferView.h: don't forward declare WorkArea
14283 * BufferView.C: don't include WorkArea.h
14285 2001-07-25 André Pönitz <poenitz@gmx.net>
14289 * lyxfunc.C: new LFUN 'math-space'
14291 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14293 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * text2.C (toggleInset): call open/close
14297 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * lyxfunc.C (dispatch): add debug for the disabled case
14301 * font.C (buttonText): make similar to rectText
14303 * buffer.C (readInset): comment out parsing of insetlist and
14306 * PainterBase.C (rectText): small correction
14308 * BufferView_pimpl.C: comment out insettheorem and insetlist
14309 * LyXAction.C: ditto
14310 * commandtags.h: ditto
14312 2001-07-24 Juergen Vigna <jug@sad.it>
14314 * text.C (draw): honor the ignore_language.
14316 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14318 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14323 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14325 * lyxtext.h: remove unused (and unimplemented) methods
14327 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14329 * text.C (getVisibleRow): honor background color
14332 * Painter.h: remove default color argument for fillRectangle
14334 * text.C (backgroundColor): new method
14336 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14338 * text.C (getVisibleRow): adjust
14340 * font.[Ch] (rectText): new method, metrics
14341 (buttonText): new method, metrics
14343 * PainterBase.[hC]: make rectText and buttonText always draw and take
14346 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14348 * ToolbarDefaults.C (read):
14349 * MenuBackend.C (read): allow escaping in all strings
14351 * BufferView_pimpl.C (insertAndEditInset): new method.
14352 (Dispatch): use insertAndEditInset whenever appropriate.
14354 * BufferView_pimpl.C (insertNote): removed
14356 * BufferView_pimpl.C (smartQuote): new method, moved from
14357 BufferView; if an insetquote cannot be inserted, insert a '"'
14360 * BufferView2.C: remove insertCorrectQuote();
14362 * lyxfunc.C (getStatus): Add support for all remaingin
14363 inset-insert lfuns.
14365 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14367 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14368 command (necessary to pass " as parameter of self-insert.
14370 * text.C (selectWordWhenUnderCursor):
14371 (selectWord): add word_location parameter
14372 (selectWordWhenUnderCursor): same + remove special code for word
14374 (selectNextWord): use kind() to guess type of insetspecialchar,
14377 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14378 (insertErtContents): create ert insets as collapsed.
14379 (readInset): better compatibility code for Info inset.
14381 2001-07-20 Juergen Vigna <jug@sad.it>
14383 * lyxfunc.C (dispatch): use always LyXFind now!
14385 * text2.C (init): add a reinit flag so that the LyXText can be
14386 reinited instead of deleted and reallocated (used in InsetText).
14388 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14394 2001-07-18 Juergen Vigna <jug@sad.it>
14396 * text.C (selectNextWord): handle insets inside inset by calling
14397 always the bv->text functions so that we can go up the_locking_inset!
14399 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14400 in strange locations when inside an inset!
14402 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14403 handling to include insets.
14405 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14407 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14409 * LyXAction.C (init):
14411 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14412 LIGATURE_BREAK, since the name is so stupid.
14414 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14416 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14419 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14421 * sp_form.[Ch]: remove.
14423 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14425 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14428 * src/buffer.C (readInset): ditto.
14430 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14432 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14433 menuSeparator(), endOfSentenceDot(), ldots() and
14434 hyphenationPoint(), which are therefore removed.
14435 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14437 * LyXAction.C (init):
14438 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14440 * paragraph.C (getWord): removed.
14442 * BufferView_pimpl.C (Dispatch): use last word or selection for
14443 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14445 * lyx_main.C (queryUserLyXDir): do not ask before creating
14446 user_dir, except if it has been named explicitely.
14448 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14450 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14451 a document of zero size.
14453 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14455 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14456 approriately in the c-tor and in require().
14457 (getPackages): output the appropriate LaTeX for natbib support.
14459 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14460 variables "use_natbib" and "use_numerical_citations" when reading the
14462 (readInset): read the various natbib cite commands.
14463 (validate): white-space change.
14465 * bufferparams.[Ch]: new variables "bool use_natbib" and
14466 "bool use_numerical_citations".
14467 (writeFile): output them in the LyX file.
14469 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14471 * lyxfunc.C (getStatus): add support for all the inset insertion
14474 * text2.C (insertInset):
14475 * paragraph.C (insetAllowed):
14476 * BufferView_pimpl.C (insertInset): update to take in account the
14477 renaming of insertInsetAllowed
14479 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14481 * text2.C (getInset): new method. returns inset at cursor position.
14483 * BufferView_pimpl.C (Dispatch): changes because of this.
14485 * LyXAction.C (init): rename open-stuff to inset-toggle.
14487 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14489 * text2.C (toggleInset): renamed from openStuff; use
14492 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14494 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14496 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14498 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14500 * buffer.C (readLyXformat2): Add filename to the error dialog
14502 2001-07-18 Juergen Vigna <jug@sad.it>
14504 * tabular.C (GetCellNumber): put an assert here instead of the check!
14506 2001-07-17 Juergen Vigna <jug@sad.it>
14508 * BufferView_pimpl.C (toggleSelection): adapted too.
14510 * text.C (selectNextWord): adapted for use with insets.
14511 (selectSelectedWord): ditto
14513 2001-07-17 Juergen Vigna <jug@sad.it>
14515 * sp_spell.C (PSpell): fix initialitation order.
14517 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * paragraph.C: spacing
14521 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14523 * sp_spell.C: repair language selection for pspell
14525 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14527 * lyxfunc.h: change more methods to begin with lower char.
14529 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14531 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14532 for unknown layouts.
14534 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14536 * buffer.C (readLyXformat2): Generate an error dialog if there are
14539 2001-07-16 Juergen Vigna <jug@sad.it>
14541 * sp_spell.C: always compile ISpell part.
14543 * lyxrc.C: added use_pspell entry and it's handling.
14545 2001-07-13 Juergen Vigna <jug@sad.it>
14547 * sp_spell.C: removed double includes.
14549 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14551 Consistent use of Lsstream.h:
14552 * Lsstream.h: added using std::stringstream for consistencies sake.
14554 * buffer.C: removed using std::stringstream
14556 * lyxfont.C (stateText):
14557 * paragraph.C (asString):
14558 * text.C (selectNextWord, selectSelectedWord):
14559 * text2.C (setCounter):
14560 * vspace.C (asString, asLatexString):
14561 std::ostringstream -> ostringstream.
14563 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14565 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14566 * commandtags.h: add LFUN_HELP_ABOUTLYX
14567 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14569 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14571 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14573 * lyx_gui_misc.C: remove spellchecker
14574 * lyxfunc.C: showSpellchecker
14576 * sp_ispell.h: added
14577 * sp_pspell.h: added
14578 * sp_spell.C: added
14579 * sp_form.[Ch]: removed
14580 * spellchecker.[Ch]: removed
14582 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14584 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14586 (simpleTeXSpecialChars): Simply print the input character without
14587 any special translation if pass_thru is set.
14589 * layout.h: Added bool pass_thru to layout class for being able to
14590 implement pass through of a paragraph for Literate Programming.
14592 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14593 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14594 * layout.C (Read): add "passthru" to list of layout tags and add
14595 code to set the pass_thru boolean when it is read.
14597 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * trans_decl.h: remove allowed from KmodInfo
14601 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14602 remove allowed code
14605 * paragraph_pimpl.C (erase): use boost::prior
14607 * Painter.C (text): use data() instead of c_str() when length is
14609 * WorkArea.C (putClipboard): ditto
14610 * font.h (width): ditto
14612 * BufferView2.C: use it-> instead of (*it). for iterators
14614 * paragraph_pimpl.C: ditto
14615 * paragraph.C: ditto
14616 * minibuffer.C: ditto
14617 * language.C: ditto
14619 * encoding.C: ditto
14620 * counters.C: ditto
14621 * converter.C: ditto
14623 * Variables.C: ditto
14624 * TextCache.C: ditto
14625 * MenuBackend.C: ditto
14626 * LyXAction.C: ditto
14628 * FloatList.C: ditto
14629 * DepTable.C: ditto
14630 * ColorHandler.C (LyXColorHandler): ditto
14632 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14634 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14636 * text2.C (openStuff): reintroduce this method (which had been
14637 nuked in NEW_INSETS frenzy).
14639 * lyxfunc.C (Dispatch): when an action has not been handled, use
14640 its name in the error message, not its number.
14642 * paragraph.C (inInset): change method name to begin with lowercase.
14645 * text2.C: updates because of this.
14647 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * ToolbarDefaults.C (add): add spaces in error message
14651 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14654 (readLyXformat2): rename return_par to first_par, use lyxlex's
14655 pushToken and remove the manual push handling.
14656 (parseSingleLyXformat2Token): add another ert comp. variable:
14657 in_tabular, rename return_par to first_par. handle newlines better
14659 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14663 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14665 * text2.C (getParFromID): removed
14667 * buffer.C (getParFromID): new method moved form lyxtext.
14668 * BufferView2.C (insertErrors): adjust
14669 (setCursorFromRow): adjust
14670 * BufferView_pimpl.C (restorePosition): adjust
14671 * lyxfunc.C (Dispatch): adjust
14672 * undo_funcs.C (textUndo): adjust
14674 (textHandleUndo): adjust
14675 (textHandleUndo): adjust
14677 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * buffer.C: up' the LYX_FORMAT
14681 * lyxfont.h: turn NO_LATEX on as default
14683 * buffer.C (insertErtContents): new methods of tex style compability.
14684 (parseSingleLyXformat2Token): use it several places.
14685 * tabular.C (OldFormatRead): and here
14687 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14689 * text2.C: remove some commented code.
14692 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14693 * trans.C: changes because of the above.
14695 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14697 * text2.C (setCounter): Fix counters bug with bibliography layout.
14699 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14701 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14702 own member functions
14703 (simpleTeXSpecialChars): ditto
14705 2001-07-06 Juergen Vigna <jug@sad.it>
14707 * a lot of files: changed the access to LyXText::status and the
14708 call of undo-functions.
14710 * undo.[Ch]: added a inset_id to the undo informations.
14712 * undo_funcs.[Ch]: added and moved here all undo functions.
14714 * lyxtext.h: give the status enum a weight, made status_ a private
14715 variable and made accessor functions for it, removed the whole bunch
14716 of undo-functions as they are now in their own file, make some
14717 functions publically available. Added function ownerParagraph with
14720 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14721 made InInset() a const function, added getParFromID() function.
14723 * buffer.[Ch]: added const version for inset_iterator functions,
14724 added getInsetFromID() function.
14726 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14727 changed undo functions for new version.
14729 2001-07-05 Juergen Vigna <jug@sad.it>
14731 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14732 unknow mechanism does not call the proper constructor but only this
14733 one also if I request the other!?
14735 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14739 * text2.C (LyXText): use initialization lists.
14741 * lyxtext.h (Selection): initialize set_ and mark_
14742 (init): remove method
14744 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14746 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14748 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14750 * screen.[Ch]: change method names to begin with lowercase
14752 * BufferView_pimpl.C (updateScrollbar): simplify further and
14753 hopefully make it a bit faster.
14755 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14758 calling directly xforms functions.
14760 * Painter.C (Painter):
14761 * lyx_cb.C (MenuWrite):
14762 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14765 * lyx_gui.C: remove bogus guiruntime extern declaration.
14767 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14771 (redoDrawingOfParagraph): ditto
14772 (redoParagraphs): ditto
14773 (cutSelection): don't create a object for CutAndPaste use the
14774 static method directly
14775 (pasteSelection): ditto
14777 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14780 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14782 * modifications to some other files because of this.
14784 * Makefile.am (lyx_SOURCES): add XFormsView
14786 * XFormsView.[Ch]: new files
14788 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14789 the main window. Move the gui dependent stuff to XFormsView
14791 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * tabular.C (GetCellInset): update cur_cell also in the row/col
14794 version of this function.
14796 * lyxfunc.C: no need to include figure_form.h here.
14802 * lyxvc.C: no need to include forms.h here.
14804 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14806 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14808 * lyxfunc.C (Dispatch):
14810 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14811 constructor argument.
14813 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14815 * paragraph.C (Paragraph): dont't clear, and just set layout.
14816 (makeSameLayout): use params's copy contructor.
14818 * ParagraphParameters.[Ch] (makeSame): delete method
14820 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14822 * Variables.[Ch]: fix indentation, rename set to isSet
14824 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14826 * lyxfunc.C (Dispatch): fix typo
14828 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14830 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14833 * bufferlist.C: include assert.h for emergencyWrite().
14835 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14837 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14838 give up at last (bug #425202) !
14840 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14846 * spellchecker.C: strip spellchecker options and bring up
14847 preferences tab instead
14849 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14852 the istringstream constructor
14854 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * paragraph.C (getLayout): fix return value
14858 * paragraph.h: do not declare getLayout as inline.
14860 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14862 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * lyxcursor.h (operator<): new func
14865 (operator>): new func
14866 (operator>=): new func
14867 (operator<=): new func
14869 * text.C (changeCase): use selection.start and selection.end
14870 (changeRegionCase): require from to be <= to. Require par to be a
14873 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14875 2001-06-27 Juergen Vigna <jug@sad.it>
14877 * text.C (cursorLeftOneWord): changed to return the cursor and added
14878 overlay with BufferView * parameter which calls this one.
14880 (selectWord): use new getWord function.
14881 (changeCase): renamed from changeWordCase as and extended to work
14882 also on selections.
14884 * lyxtext.h: added enum word_location
14886 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14887 changeCase as this operates now also on selections.
14889 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14891 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14893 * many files: send debug output to Debug::INFO instead of
14896 * converter.C (View):
14898 (Move): send debug output to Debug::FILES instead of console.
14900 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14902 * lyxfunc.C (getStatus): use func_status
14904 * func_status.h: new header, describing the results of
14905 LyXFunc::getStatus;
14907 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14910 2001-06-25 The LyX Project <jug@sad.it>
14912 * buffer.C (sgmlOpenTag):
14914 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14916 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14918 * text2.C: remove some dead code
14920 * tabular.C (GetCellInset): store the last cell checked (gotten)
14922 * tabular.h: add the helper for the speedup
14924 * lyxtext.h: remove some dead code
14926 2001-06-26 The LyX Project <Asger>
14928 * paragraph.C: Change export to LaTeX of alignment to
14929 \begin{center} and family for better roundtrip work with reLyX.
14931 * Tune the math drawing a bit.
14933 2001-06-25 The LyX Project <Asger>
14935 * LColor.C (LColor): New color for math background. New color
14938 2001-06-25 The LyX Project <jug@sad.it>
14940 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14942 * lyxfunc.C (Open):
14943 * bufferlist.C (newFile): do not restrict to files ending with
14946 * BufferView_pimpl.C (MenuInsertLyXFile):
14948 2001-06-24 The LyX Project <jug@sad.it>
14950 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14953 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * lyxtext.h: rename most methods to begin with a small char.
14956 Lots of changes because of this.
14958 * paragraph.C (Paragraph): do not call fitToSize
14959 (erase): call Pimpl::erase
14960 (insertChar): call Pimpl::insertChar
14961 (insertInset): call Pipl::insertInset
14962 (breakParagraph): do not call fitToSize
14963 (breakParagraphConservative): do not call fitToSize
14964 (fitToSize): remove method
14966 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14968 2001-06-24 The LyX Project <Asger>
14970 * Fix Qt compilation^2
14972 2001-06-24 The LyX Project <jug@sad.it>
14974 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14975 depthHook(getDepth()-1).
14978 * ParagraphParameters.h:
14979 * ParameterStruct.h: change type of depth to unsigned int ==
14980 depth_type. Many adaptations to other files before of that.
14982 2001-06-24 The LyX Project <Asger>
14984 * Fix Qt compilation.
14986 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * paragraph.h: renamed several methods to begin with small letter.
14989 several changes to many parts of the code because of this.
14991 2001-06-23 The LyX Project <jug@sad.it>
14993 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14994 rewritten to discard all double spaces when KeepEmpty is off
14995 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14996 to only handle newlines but not fiddle with spaces and friends.
14998 * lyxfunc.C (MenuNew): when doing 'new from template', use
14999 template_path as default directory
15001 2001-06-23 The LyX Project <Asger>
15003 * Clean-up of header file includes all over
15004 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15006 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * paragraph.h: renamed from lyxparagraph.h
15010 2001-06-23 Asger <lyx@violet.home.sad.it>
15012 * Buffer.h: Removed Buffer::resize
15013 * BufferList.h: Removed BufferList::resize
15014 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15015 the document lazily when we change the width, or the font settings.
15017 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15019 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15021 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15023 * buffer.h: remove out of date comment
15025 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15028 * screen.C: fix "theoretical" GC leak
15030 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * LaTeX.C (scanAuxFile):
15033 (deplog): remove trailing \r when reading stream (useful under
15036 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15038 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15039 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15040 and BufferView::theLockingInset(Inset*), so should use them and not
15041 access bv_->text->the_locking_inset directly.
15043 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15045 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15048 * tex-defs.h: remove old unused file
15050 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15052 * BufferView_pimpl.C: fix typo, remove minibuffer message
15053 when buffer has loaded
15055 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15057 * lyxfunc.C (Dispatch): use stringstream
15058 (MenuNew): use stringstream
15059 (Open): use stringstream
15061 * importer.C (Import): use stringstream
15063 * bufferview_funcs.C (CurrentState): use stringstream
15065 * LaTeX.C (run): use stringstream
15067 * BufferView_pimpl.C (savePosition): use stringstream
15068 (restorePosition): use stringstream
15069 (MenuInsertLyXFile): use stringstream
15071 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15084 * vspace.C: removed // -*- C++ -*- as first line.
15087 * version.h: added // -*- C++ -*- as first line.
15089 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15093 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15096 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15101 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * gettext.C: include LString.h even when --disable-nls is on.
15105 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15107 * converter.h (Get): changed argument type from int to
15108 FormatList::size_type to avoid unnecessary conversion.
15110 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15113 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * gettext.h: include LString.h even when --disable-nls is on.
15117 2001-06-07 Juergen Vigna <jug@sad.it>
15119 * text.C (BreakAgain): subst spaces with tabs.
15121 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15122 (resizeInsetsLyXText): set force on resizeLyXText.
15124 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15126 * gettext.h (gettext_init):
15127 (locale_init): use a real definition instead of a macro
15129 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15131 * Bufferview_pimpl.C:
15133 * LColor.C: further lcolor tidies
15135 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * BufferView_pimpl.C (updateScrollbar): simplify.
15139 * BufferView2.C: don't include insets/insetinfo.h, change
15140 prototype for insertInset and call the Pimpl version. let
15141 updateInset call Pimpl version.
15143 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15144 gotoInset to BufferView::Pimpl
15146 2001-06-01 Juergen Vigna <jug@sad.it>
15148 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15149 inside a LockingInset (is the update needed at all?).
15151 2001-05-31 Juergen Vigna <jug@sad.it>
15153 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15154 here not the old one otherwise how should we compare it afterwards
15157 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15162 * FontInfo.C: bring C functions into global namespace when
15165 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * LString.h: make sure config.h has been loaded before LString.h.
15169 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15170 (one for each char read by EatLine!).
15172 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15175 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15178 to the same as the par we break from
15180 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15184 * MenuBackend.C (expand): also create menu entries for wide
15185 versions of the floats.
15187 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15189 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15191 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15192 frontends/Makefile.am
15198 * tabular.C (getTokenValue): add std::
15200 * tabular-old.C (getTokenValue): add std::
15201 (getTokenValue): ditto
15202 (getTokenValue): ditto
15204 * screen.C (ToggleSelection): adjust
15206 * lyxtext.h: put selection cursors inside a Selection struct.
15208 * lyxfunc.C (moveCursorUpdate): adjust
15210 * lyxfont.C (latexWriteStartChanges): add std::
15212 * lyxfind.C: adjust
15214 * font.h: delete with(char const *, LyXFont const &)
15216 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15218 * FontInfo.C (getFontname): add std::
15220 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15221 (workAreaButtonPress): adjust
15222 (tripleClick): adjust
15224 (moveCursorUpdate): adjust
15227 * BufferView2.C (gotoInset): adjust
15229 2001-05-30 Juergen Vigna <jug@sad.it>
15231 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15232 to check pspell I add this as default as I now have new pspell
15233 libraries and they seem to use this.
15235 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * text2.C (CutSelection): make the cursor valid before the call to
15240 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15243 relied on 0 terminated strings and other horrors. Bug found due to
15244 the new assert in lyxstring!
15246 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15249 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15254 * lyxfunc.C (processKeySym): change method of getting to the
15257 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15258 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15259 * BufferView_pimpl.[Ch]: here as private methods.
15261 2001-05-28 Juergen Vigna <jug@sad.it>
15263 * text.C (SetHeightOfRow): added the update() call again as it is
15264 needed to initialize inset dimensions!
15266 2001-05-16 Juergen Vigna <jug@sad.it>
15268 * text2.C (SetCharFont): Add new function with BufferView * and
15269 bool toggleall parameters for setting insets internal fonts.
15270 (SetFont): Freeze the undo as we may change fonts in Insets and
15271 all this change should be inside only one Undo!
15273 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15274 setting font's in insets as for them we have the SetFont function!
15276 2001-05-15 Juergen Vigna <jug@sad.it>
15278 * text2.C (ClearSelection): to be sure we REALLY don't have any
15281 * tabular.C (TeXCellPreamble): fixed the left border problem for
15284 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15286 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15289 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15291 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15292 LFUN_BREAKPARAGRAPH.
15294 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15295 help test to "internal only", similar for LFUN_INSERT_URL
15297 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15298 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15299 auto_region_delete and deadkeys.
15301 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15304 * LColor.C: remove some dead entries, tidy a little
15306 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15310 (Dispatch): implement LFUN_ESCAPE
15312 * commandtags.h: add LFUN_ESCAPE
15314 * LyXAction.C (init): add entry for LFUN_ESCAPE
15316 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15317 Remove commented code.
15318 (insertNote): moved here
15319 (open_new_inset): moved here
15321 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15324 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * kbmap.C (findbinding): clean it up and make it work correctly.
15328 * lyx_main.C (init): do not pass argc and argv as parameters
15330 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15332 * buffer.C: fix path for OS/2 & Win32
15336 * lyx_main.C: Added os:: class.
15338 * os2_defines.h: update
15340 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15342 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15343 better by trying again with reduced state.
15345 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * lyxrc.C (read): print error about invalid key sequence only when
15348 debugging (because not all latinX keysyms are known to some X
15351 * kbsequence.C (getiso): add a few std:: qualifiers
15352 (getiso): comment out extra return statement.
15354 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15358 (Dispatch): enhance the accent inset a bit. (not perfect)
15360 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15364 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15366 * bufferlist.C (emergencyWrite): fix assert() call
15368 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15370 * text.C (InsertChar): Added trivial patch to only send the "you
15371 can not do multiple spaces this way" message once during a
15374 2001-05-08 Baruch Even <baruch@lyx.org>
15376 * Makefile.am: Changed order of libraries to get LyX to link properly
15377 with the gnome frontend.
15379 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * LaTeXFeatures.h: add a std:: qualifier
15383 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * paragraph.C (String): use stringstream
15387 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * paragraph.C (writeFile): remove footflag arg
15391 * buffer.C (makeLaTeXFile): use stringstream
15392 (latexParagraphs): remove footnot gurba
15394 * LaTeXFeatures.C (getPackages): use stringstream
15395 (getMacros): likewise
15396 (getTClassPreamble): likewise
15397 (getFloatDefinitions): new method
15399 * paragraph.C (writeFile): reindent
15402 * WorkArea.h: revert the xpos + etc changes.
15404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15406 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15408 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15409 (pasteSelection): likewise
15410 * text2.C (CreateUndo): likewise
15412 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15414 * minibuffer.C (peek_event): temporarily reduce the functionality
15415 of the minibuffer (to allow args on lfuns)
15417 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15418 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15420 * buffer.C (readInset): add compability reading of old float
15421 lists, add reading of new style float list.
15422 (readInset): avoid reevaluation of inscmd.getCmdName()
15423 (getLists): reindent
15425 * MenuBackend.C (MenuItem): implement parsing of
15426 md_floatlistinsert and md_floatinsert.
15427 (expand::LastFiles): move initalizaton of iterators out of loop,
15428 avoid reevaluation.
15429 (expand::Documents): introduce typdedef vector<string> Strings,
15431 (expand::ExportFormats): introduce typedef vector<Format const *>
15432 Formats, and use it.
15433 (expand): implement FloatListInsert and FloatInsert.
15435 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15436 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15437 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15439 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15441 (Dispatch::LFUN_FLOAT_LIST): implement
15443 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15445 * LaTeX.C (run): Fix problem with --export code.
15447 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15449 * BufferView.[Ch] (workarea): removed.
15450 (getClipboard) new method; wrapper for workarea()->getClipboard()
15452 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15455 * WorkArea.h (width, height, xpos, ypos): These methods all
15456 returned the dimensions of the work_area sub-area of WorkArea,
15457 resulting in a position error if the WorkArea were resized. Now
15458 return the dimensions of the entire WorkArea.
15460 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15462 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * LaTeX.C (deplog): correct the syntax of regex reg1
15466 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * undo.C: remove !NEW_INSETS cruft
15470 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15472 * text2.C: remove !NEW_INSETS cruft
15474 * text.C: remove !NEW_INSETS cruft
15476 * tabular.C: remove !NEW_INSETS cruft
15478 * spellchecker.C: remove !NEW_INSETS cruft
15480 * lyxtext.h: remove !NEW_INSETS cruft
15482 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15484 * lyxfunc.C: remove !NEW_INSETS cruft
15486 * lyxfind.C: remove !NEW_INSETS cruft
15488 * lyx_cb.C: remove !NEW_INSETS cruft
15490 * figureForm.C: remove !NEW_INSETS cruft
15492 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15494 * buffer.[Ch]: remove !NEW_INSETS cruft
15496 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15498 * CutAndPaste.C: remove !NEW_INSETS cruft
15500 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15502 * BufferView2.C: remove !NEW_INSETS cruft
15504 * BufferView.h: remove !NEW_INSETS cruft
15506 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * Lsstream.h: include LString.h before the sstream headers to
15509 fix problem with gcc 2.95.3 and lyxstring
15511 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15513 * lyx_main.C: add using directives when needed for C functions
15514 declared in std:: namespace.
15516 2001-04-27 Juergen Vigna <jug@sad.it>
15518 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15519 (SetHeightOfRow): comment out the update call should not be needed!
15521 2001-04-13 Juergen Vigna <jug@sad.it>
15523 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15524 (LyXTabular): tried to minimize operator= operations (and realized
15525 hopfully Lars wish).
15527 2001-04-27 Juergen Vigna <jug@sad.it>
15529 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15531 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15533 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15535 * buffer.C (readInset): hack to make listof algorithm work
15537 * BufferView_pimpl.C: hack to make listof algorithm work
15539 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15541 * LyXAction.C: removed all !NEW_INSETS cruft
15542 (init): moved lfun_item in method
15544 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15546 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15548 * BufferView2.C (theLockingInset): white space.
15550 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * minibuffer.C: include <iostream>
15554 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15556 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15558 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15560 * text.[Ch] (TransposeChars): new method
15562 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * call message directly through LyXView instead of through LyXFunc
15565 * BufferView2.C: adjust
15566 * BufferView_pimpl.C: adjust
15567 * FontLoader.C: adjust
15569 * bufferview_funcs.C: adjust
15570 * converter.C: adjust
15571 * figureForm.C: adjust
15572 * importer.C: adjust
15574 * lyx_gui_misc.C: adjust
15575 * lyxfunc.C: adjust
15578 + more files in subdirs
15580 * lyxparagraph.h (size): move up int file
15583 * adjust all uses of Assert to lyx::Assert.
15585 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15586 lyxfunctional in namespace lyx
15587 * layout.C (hasLayout): ditto
15590 (delete_layout): ditto
15591 (NumberOfClass): ditto
15592 * converter.C (GetFormat): ditto
15597 * bufferlist.C (getFileNames): ditto
15598 (emergencyWriteAll): ditto
15601 * MenuBackend.C (hasSubmenu): ditto
15604 * BufferView_pimpl.C (getInsetByCode): ditto
15606 2001-04-18 Juergen Vigna <jug@sad.it>
15608 * vspace.C (asLatexString): fixed the 100% problem.
15610 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15612 * lyxfunc.C (Dispatch):
15614 * minibuffer.h: add a few std:: qualifiers
15616 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * minibuffer.[Ch]: reimplement so that commands is initiated and
15619 run from lyxfunc, simplified som handling, and made the completion
15620 and history code for complete. wip.
15622 * lyxfunc.C (processKeySym): call message
15623 (miniDispatch): new temporary method
15624 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15625 (LFUN_MESSAGE): implement
15626 (LFUN_MESSAGE_PUSH): implement
15627 (LFUN_MESSAGE_POP): implement
15628 (initMiniBuffer): the initial/defualt minibuffer message.
15630 * lyxfont.[Ch]: inline some more getters
15632 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15634 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15636 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15637 (AutoSave): use LFUN_MESSAGE
15638 (Reconfigure): ditto
15640 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15642 * figureForm.C: use LFUN_MESSAGE
15644 * converter.C (runLaTeX): use LFUN_MESSAGE
15646 * bufferview_funcs.C: use LFUN_MESSAGE
15648 (changeDepth): ditto
15650 * bufferparams.h: use boost::
15652 * bufferlist.h: inherit privately from noncopyable
15654 * bufferlist.C (loadLyXFile): remove some commented code.
15656 * buffer.C (runChktex): use LFUN_MESSAGE
15658 * ShareContainer.h: inherit privately from noncopyable
15660 * ParagraphParameters.[hC] (depth): inline it.
15662 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15664 (message): new method
15665 (messagePush): ditto
15666 (messagePop): ditto
15667 (show): init minibuffer
15668 (showState): direct call
15670 * LaTeX.[Ch]: inherit privately from noncopyable
15671 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15672 instead of WriteStatus.
15674 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15676 * BufferView_pimpl.C (buffer): don't init minibuffer
15677 (workAreaButtonPress): use LFUN_MESSAGE
15678 (workAreaButtonRelease): ditto
15679 (savePosition): ditto
15680 (restorePosition): ditto
15681 (MenuInsertLyXFile): ditto
15682 (workAreaExpose): don't init minibuffer
15683 (update): remove commented code, simplify
15685 * BufferView2.C (openStuff): use LFUN_MESSAGE
15686 (toggleFloat): ditto
15689 (copyEnvironment): ditto
15690 (pasteEnvironment): ditto
15695 (updateInset): remove some commented code
15697 * lastfiles.h: inherit privately from noncopyable
15700 * lyx_main.h: ditto
15702 * lyxlex_pimpl.h: ditto
15704 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15705 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15706 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15708 * LyXAction.h: inherit privately from noncopyable, add methods
15709 func_begin, func_end, returning iterators to the func map.
15711 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15712 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15713 (func_begin): new method
15714 (func_end): new method
15716 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15718 (copySelection): ditto
15719 (pasteSelection): ditto
15721 * BufferView.C: whitespace change
15722 * BufferView.h: inherit privately from noncopyable
15724 2001-04-16 Allan Rae <rae@lyx.org>
15726 * tabular-old.C (l_getline):
15727 * spellchecker.C (sc_check_word):
15728 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15729 an unrecognised preprocessor directive. So ensure they're wrapped.
15731 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15733 * src/exporter.C (Export): Give an error message when path to file
15736 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15738 * LaTeX.C (deplog): Always check that foundfile exists.
15740 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15745 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15747 * tabular.[Ch] (getLabelList): implement new method
15749 * minibuffer.h: comment ouf setTiimer
15751 * minibuffer.C (ExecutingCB): constify res
15752 (peek_event): constify s
15753 (Set): constify ntext
15754 (Init): constify nicename
15756 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15758 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15759 (savePosition): use two params to Minibuffer::Set
15760 (restorePosition): ditto
15762 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15764 * lyx_main.C: include language.h
15766 * Makefile.am (lyx_main.o): add language.h
15768 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * CutAndPaste.C: include gettext.h
15776 * lyxfont.h: remove old hack with ON and OFF.
15779 * lyxfont.h: do not include language.h...
15784 * bufferview_funcs.C:
15790 * paragraph.C: ... but do it here instead
15792 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15794 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15796 * tabular.C: small reformat
15798 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15801 (BreakParagraph): ditto
15802 (SetOnlyLayout): ditto
15805 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15808 * lastfiles.C: removed most using decl, add std:: where needed
15810 * buffer.C: ws changes
15812 * MenuBackend.C (class compare_format): put into anon namespace
15813 (expand): constify label, names, action, action2
15816 * text.C (SingleWidth): constify font
15817 (IsBoundary): constify rtl2
15818 (GetVisibleRow): constify ww
15820 * LaTeX.C (deplog): constify logfile
15822 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15824 (workAreaExpose): constify widthChange, heightChange
15826 * lyxrow.C (par): moved
15829 * lyxrow.h: as inlines here
15831 * lyxfont.h (shape): moved from lyxfont.C
15832 (emph): moved from lyxfont.C
15834 * lyxfont.C (LyXFont): use initialization list for all
15836 (shape): move to lyxfont.h as inline
15837 (emph): move to lyxfont.h as inline
15840 2001-04-04 Juergen Vigna <jug@sad.it>
15842 * vspace.C: had to include stdio.h for use of sscanf
15844 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15847 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15848 independent of xforms.
15850 2001-04-02 Juergen Vigna <jug@sad.it>
15852 * spellchecker.C: fixed namespace placing!
15854 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15856 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15857 the LyXParagraph * is 0.
15859 2001-03-29 Juergen Vigna <jug@sad.it>
15861 * vspace.C: added support for %, c%, p%, l%.
15862 (stringFromUnit): added helper function.
15863 (asLatexString): changed to give right results for the %-values.
15865 * buffer.C: convert the widthp in a width%.
15867 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15869 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15872 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15873 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15875 * lyx_cb.[Ch]: see above.
15877 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15881 * lyx.[Ch]: replaced by figure_form.[Ch].
15885 * lyxfunc.C: changed headers associated with above changes.
15887 2001-03-27 Juergen Vigna <jug@sad.it>
15889 * BufferView_pimpl.C: set the temporary cursor right!
15891 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15893 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15895 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15897 * LString.h: removed "using std::getline"!
15899 * BufferView_pimpl.C (Dispatch): changes due to changes in
15900 InsetInclude::Params.
15902 * buffer.C (tag_name): removed redundant break statements as they were
15903 producing lots of warnings with my compiler.
15905 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * LString.h: add "using std::getline" when using the real <string>.
15909 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15911 * buffer.C: removed bitset usage.
15912 PAR_TAG moved to an anonymous name space.
15913 (tag_name): new funtion, also in the anonymous namespace.
15914 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15915 (makeDocBookFile): clean code. Completed transition from string arrays
15917 (SimpleDocBookOnePar): code clean.
15919 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15921 * tabular.C: add some comments.
15923 2001-03-22 Juergen Vigna <jug@sad.it>
15925 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15926 compatibility read a bit and fixed bug with minipage in different
15929 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15931 * buffer.C (pop_tag): removed.
15932 (push_tag): removed.
15933 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15934 array replaced with vector. Added support for CDATA sections.
15935 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15937 (makeDocBookFile): XML conformant declaration of CDATA section,
15938 fixed bug related to <emphasis> in the first paragraph char.
15939 (sgmlOpenTag): exclude empty tags.
15940 (sgmlCloseTag): ditto.
15942 * buffer.h (pop_tag): removed.
15943 (push_tag): removed.
15945 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15947 * language.h (Languages): added size_type and size().
15949 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15951 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15952 response on compability reading of minipages. One probliem is that
15953 the old usage of minipages was «flertydig»
15955 * several files here and in subdirs: don't use static at file
15956 scope use anon namespaces instead.
15958 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15960 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15961 LaTeX output. This is necessary for Literate document
15964 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15966 * buffer.C: insert hfill when needed.
15968 * tabular.C (l_getline): use string::erase, small whitespace change.
15970 * BufferView_pimpl.C: try the anon namespace.
15971 * WorkArea.C: ditto
15973 2001-03-16 Juergen Vigna <jug@sad.it>
15975 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15976 otherwise it won't open options-dialogs.
15978 * buffer.C: honor pextraWidth(p) on converting minipages.
15980 * tabular.C (l_getline): changed the functions to strip trailing \r.
15982 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15984 * BufferView_pimpl.C:
15985 * minibuffer..C: added "using SigC::slot" declaration.
15987 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15989 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15995 * paragraph.C: ditto
15997 * lyxtext.h: NO_PEXTRA
15999 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16001 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16002 * ParameterStruct.h: ditto
16003 * ParagraphParameters.h: ditto
16004 * lyxparagraph.h: ditto
16006 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16008 * buffer.C: add compability for minipage alignment.
16009 (latexParagraphs): remove unwanted pextra check.
16011 * several files: remove CXX_WORKING_NAMESPACES
16013 * buffer.C (pop_tag): tie is in namespace boost
16015 * BufferView.h: noncopyable is in namespace boost
16017 * lyx_main.h: ditto
16020 * lastfiles.h: ditto
16021 * bufferlist.h: ditto
16022 * ShareContainer.h: ditto
16024 * LyXAction.h: ditto
16027 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16029 * Merging changes from BRANCH_MVC back into HEAD.
16031 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16033 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16035 * BufferView_pimpl.C: change from intl.C
16039 * Makefile.am: move combox.*
16045 * intl.C: remove dialog (covered by prefs)
16047 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16049 * lyxfunc.C (Dispatch): removed redundant break statement.
16051 2001-03-14 Juergen Vigna <jug@sad.it>
16053 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16055 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16057 * buffer.C: add hack to fix compability reading of minipages.
16059 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16061 * buffer.C (getLists): Cleanup.
16063 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16065 * lyxfont.C (update): don't honor toggleall on font size.
16067 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16071 * Makefile.am: moved to frontends/xforms/
16075 * BufferView_pimpl.C: changes for moved mathpanel
16077 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16079 * gettext.h: fix gettext_init() in --disable-nls
16081 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16085 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16088 * lyx.h: strip external form
16090 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16092 * BufferView_pimpl.C: add comment, destroySplash()
16094 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16096 * BufferView_pimpl.C:
16100 * lyxfunc.C: use re-worked insetinclude
16102 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16104 * buffer.C: add using std::stringstream.
16106 * lyx_cb.C: readd using std::ios.
16108 * buffer.C: add using std::map.
16110 * BufferView_pimpl.C: add using std::vector.
16112 * ShareContainer.h: add std:: to swap.
16114 * buffer.h: add some typedefs
16115 * buffer.C (getLists): use them
16116 (getLists): renamed from getTocList.
16117 add a counter for the different float types and use it in the
16119 (getLists): use the same counter for the NEW_INSETS and the "non"
16122 * lyx_cb.h: remove unused items, includes, using etc.
16124 * ShareContainer.h: remove some commented code, add more comments
16125 and "documentation".
16127 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16129 * buffer.C (getTocList): make the list also when NEW_INSETS is
16132 * buffer.h: remove TocType
16134 * buffer.C (getTocList): change to return a map<string,
16135 vector<TocItem> >, implement for dynamic number of list.
16137 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16138 * text2.C (PasteSelection): adjust
16139 * CutAndPaste.C (pasteSelection): adjust
16141 * FloatList.C (FloatList): update from the new_insets branch.
16142 * Floating.[Ch]: ditto
16143 * LaTeXFeatures.C: ditto
16145 * lyxlex_pimpl.C: ditto
16147 * paragraph.C (Last): remove when NEW_INSETS is defined.
16149 * other file: changes because of the above.
16151 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16153 * lyxparagraph.h: rename next to next_, previous to previous_,
16154 make them private for NEW_INSETS. Rename Next() to next(),
16155 Previous() to previous().
16157 * other files: changes because of the above.
16159 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16162 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16165 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * main.C (main): pass lyx_localedir to gettext_init().
16169 * gettext.h: remove locale_init and gettext_init macros
16171 * gettext.C (locale_init): new function
16172 (gettext_init): new function
16174 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16177 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16179 * Moved credits to frontends:
16180 * credits.[Ch]: removed
16181 * credits_form.[Ch]: removed
16182 * lyx_gui_misc.C: remove credits stuff
16185 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16187 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16189 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16190 unneeded destructor.
16192 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16193 a standalone pointer again.
16195 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16197 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16203 * ToolbarDefaults.C:
16212 * BufferView_pimpl.C: use new file dialog in GUII
16215 * lyx_cb.C: remove LayoutsCB to Toolbar
16217 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16219 * ShareContainer.h (get): add std:: qualifier
16221 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * ShareContainer.h: define a proper ShareContainer::value_type
16224 type (and use typename to please compaq cxx)
16226 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16228 * lyxparagraph.h: move serveral local vars to
16229 ParameterStruct/ParagraphParameters., use ShareContainer in
16230 FontTable., make vars in FontTable private and add getter and
16233 * paragraph.C: changes because of the above.
16235 * lyxfont.h: remove copy constructor and copy assignment. (the
16236 default ones is ok), move number inside FontBits. move inlines to
16239 * lyxfont.C: add number to initializaton of statics, move several
16240 inlines here. constify several local vars. some whitespace
16241 cleanup. Dont hide outerscope variables.
16243 * Spacing.h: add two new constructors to match the set methods.
16245 * ShareContainer.h: new file, will perhaps be moved to support
16247 * ParameterStruct.h: new file
16249 * ParagraphParameters.h: new file
16251 * ParagraphParameters.C: new file
16253 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16254 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16256 * BufferView_pimpl.C: ParagraphParameter changes.
16257 * buffer.C: Likewise.
16258 * bufferview_funcs.C: Likewise.
16259 * text.C: Likewise.
16260 * text2.C: Likewise.
16262 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16264 * lyxfind.C (LyXReplace): do not redefine default argument in
16266 (IsStringInText): ditto
16267 (SearchForward): ditto
16268 (SearchBackward): ditto
16270 2001-03-06 Juergen Vigna <jug@sad.it>
16272 * lyxfind.C (IsStringInText): put parentes around expressions.
16274 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16276 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16278 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16280 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16282 * stl_string_fwd.h: add comment
16284 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16287 * tabular.C: remove unused DocBook methods
16293 killed DO_USE_DEFAULT_LANGUAGE
16295 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16297 * lyx_gui.C: do not include language.h.
16299 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16300 arguments in function implementation.
16302 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16304 * BufferView_pimpl.C: add <ctime>
16306 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16308 * BufferView_pimpl.C: add using std::find_if
16310 2001-02-27 José Matos <jamatos@fep.up.pt>
16312 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16315 2001-02-11 José Matos <jamatos@fep.up.pt>
16317 * buffer.C (makeDocBookFile): command styles now have a parameter as
16318 "title" by default.
16320 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16322 * layout_forms.[Ch]: removed
16323 * lyx_cb.[Ch]: out character
16324 * lyx_gui.C: out character
16325 * lyx_gui_misc.C: out character
16326 * bufferview_funcs.C: : out character,
16327 added toggleall as parameter in ToggleAndShow
16329 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16331 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16333 * text2.C (SetCurrentFont): Disable number property at boundary.
16335 2001-02-26 Juergen Vigna <jug@sad.it>
16337 * lyxfunc.C (getStatus): added a string argument override function so
16338 that this is correctly called from LyXFunc::Dispatch if it contains a
16339 do_not_use_argument which is used!
16340 (Dispatch): added check for "custom" export and call appropriate func.
16342 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16344 * lyxrc.C: Add language_command_local, language_use_babel and
16345 language_global_options.
16347 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16349 * buffer.C (makeLaTeXFile): Use language_use_babel and
16350 language_global_options.
16352 2001-02-23 Juergen Vigna <jug@sad.it>
16354 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16355 which works with LyXText and putted it inside BufferView. Here now we
16356 only call for that part the BufferView::Dispatch() function.
16358 * BufferView.C (Dispatch): added.
16360 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16361 functions which needs to use a LyXText over from LyXFunc.
16362 (MenuInsertLyXFile): added
16363 (getInsetByCode): added
16364 (moveCursorUpdate): added
16365 (static TEXT): added
16367 2001-02-22 Juergen Vigna <jug@sad.it>
16369 * BufferView_pimpl.C (update): call a status update to see if LyXText
16372 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16374 * vc-backend.C (revert): implement for CVS
16375 (getLog): implement for CVS
16377 2001-02-20 Juergen Vigna <jug@sad.it>
16379 * text2.C (ClearSelection): added BufferView param for inset_owner call
16381 * lyxfunc.C (TEXT): added this function and use it instead of
16382 directly owner->view()-text of getLyXText().
16384 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16386 * src/layout_forms.C: out preamble
16387 * src/layout_forms.h: out preamble
16388 * src/lyx_cb.C: out preamble
16389 * src/lyx_cb.h: out preamble
16390 * src/lyx_gui.C: out preamble
16391 * src/lyx_gui_misc.C: out preamble
16392 * src/lyxfunc.C: connect with guii preamble
16394 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16396 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16398 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16400 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16401 whether to run bibtex.
16403 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16405 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16407 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16409 * Makefile.am (lyx_SOURCES): removed bibforms.h
16411 * vspace.h: doxygen
16413 * text.C (GetVisibleRow): make several local vars const
16415 * tabular.C: small cleanup.
16417 * lyxserver.C (callback): use compare instead of strncmp
16419 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16420 inlines to after class or to paragraph.C
16422 * lyxfont.h: remove friend operator!=
16424 * converter.h: move friend bool operator< to non friend and after
16427 * combox.h: small cleanup
16429 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16430 to inlines after class def.
16432 * buffer.C (pop_tag): use string operations instead of strcmp
16434 * bmtable.c: doxygen, small cleanup
16436 * LaTeX.h: remove friend operator==
16438 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16450 * BufferView_pimpl.C:
16451 * BufferView.[Ch]: remove cruft
16453 2001-02-14 Juergen Vigna <jug@sad.it>
16455 * lyxfunc.C: removed #if 0 unused code
16457 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16459 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16461 * text2.C (SetSelection): added a BufferView * parameter
16463 2001-02-13 Juergen Vigna <jug@sad.it>
16465 * lyxfunc.C (Dispatch): fixed protected blank problem.
16466 * BufferView2.C (protectedBlank): added LyxText * parameter.
16468 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16469 (AppendColumn): same as above for column_info.
16471 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16472 (moveCursorUpdate): use a LyXText param for support of InsetText.
16474 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16475 (tripleClick): ditto
16477 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16479 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16481 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16483 * text2.C (SetSelection): set correct update status if inset_owner
16484 (ToggleFree): ditto
16486 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16488 * tabular.C: remove some commented code.
16490 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16492 * BufferView_pimpl.C: call hideSplash()
16494 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16497 * bibforms.h: remove
16500 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16501 add LFUN_CHILD_CREATE
16503 * counters.h: fix tiny typo
16508 * lyx.C: move splash to frontends/xforms/
16510 * lyx_gui_misc.C: move Include and Bibform to frontends
16512 * lyxvc.h: clarify comment
16514 * vspace.C: tiny housekeeping
16516 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16518 * text.C (PrepareToPrint): RTL Fix.
16520 * paragraph.C (GetUChar): New method.
16521 (String): Use GetUChar.
16523 * buffer.C (asciiParagraph): Use GetUChar.
16525 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16527 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16529 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16532 * buffer.C: rename to getLogName(), handle
16533 build log / latex log nicely
16535 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * MenuBackend.h: remove support for reference menuitem type.
16540 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16542 * BufferView_pimpl.C: housekeeping
16543 * BufferView_pimpl.h:
16548 * minibuffer.h: move Timeout GUI-I
16550 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16552 * lyxrc.C (read): Update converters data-structures.
16554 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16556 * LaTeX.h (operator!=): add operator != for Aux_Info
16558 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16560 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16562 * LaTeXLog.C: deleted, useful code moved to Buffer
16565 * buffer.C: new function getLatexLogName()
16571 * lyxfunc.C: use frontends for LaTeX and VC logs
16573 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16575 * LaTeX.h: yet another std:: that Allan forgot.
16577 * Variables.C (set): renamed from isset(), because this clashes
16578 with some HP-UX macros (grr).
16580 2001-02-06 Allan Rae <rae@lyx.org>
16582 * LaTeX.h: Another bug fix. Missing std:: this time.
16584 2001-02-04 Allan Rae <rae@lyx.org>
16586 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16587 floats problem. I've left it commented out because it's not quite
16588 correct. It should also test that the current object is a table or
16589 figure inset. But I haven't gotten around to figuring out how to do
16590 that. I *think* it'll be something like: "table" == inset.type()
16592 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16595 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16597 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16598 all the citation/databases/styles in the auxilary file.
16599 (run): Rerun latex if there was a babel language error.
16601 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16603 * text.C (Backspace): Preserve the font when changing newline char
16605 (BreakParagraph): If the cursor is before a space, delete the space.
16607 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16609 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16611 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16612 new argument (code).
16613 (ChangeCitationsIfUnique): New method.
16615 * paragraph.C (GetPositionOfInset): Handle bibkey.
16617 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16619 * BufferView_pimpl.h: change type of Position::par_pos to
16620 LyXParagraph::size_type.
16622 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16624 * BufferView_pimpl.C (savePosition, restorePosition): Write
16625 messages to minibuffer.
16627 2001-01-28 José Matos <jamatos@fep.up.pt>
16629 * buffer.C (makeDocBookFile): adds support for document language.
16630 A silly restriction on the name of LatexCommand types where removed.
16631 Added support for CDATA sections, allows to chars unescaped, used
16632 among others in code, to avoid escape < and >.
16634 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16636 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16637 saved positions instrad of a stack. Furthermore, a position is
16638 stored using paragraph id/paragraph position.
16640 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16641 Remove LFUN_REF_BACK.
16643 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16645 * converter.C (dvipdfm_options): New method.
16647 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16649 * vspace.C (isValidLength): Fix for empty input string.
16651 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16653 * LyXAction.C (init): change description of LFUN_FIGURE to
16656 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * LaTeX.C: add using directive
16660 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16662 * MenuBackend.C (expand): Fix the sorting of the formats.
16664 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16666 * lyx_main.C: tiny error message fix
16668 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16670 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16671 calling fl_initialize(). This fixes the problem with ',' as
16672 decimal separator in text files.
16674 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16676 * trans.C (process): Fix the keymap bug.
16678 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16680 * LaTeX.C (scanAuxFiles): New method. Provides support for
16681 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16682 (scanLogFile) Scan for "run BibTeX" messages.
16684 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16685 OT1 font encoding. Also, load the aecompl package if the ae
16688 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16690 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * texrow.C (increasePos): turn two error messages into debug
16695 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16697 * LaTeX.C (scanAux): Handle the \@input macro.
16698 (runBibTeX): Use scanAux().
16700 * language.C (latex_options_): New field.
16702 * LaTeXFeatures.C (getMacros): Add language macros.
16704 * buffer.C (makeLaTeXFile): Small fix.
16706 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16708 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16710 * text2.C: add a using directive.
16712 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16717 * lyxfunc.C: kill LyXBell.
16719 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16721 * text.C (IsBoundary): Remove the error message
16723 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16725 * lyxrc.C (setDefaults): Correct initialization value for
16728 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16730 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16733 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16734 and GotoNextNote().
16736 * src/LyXAction.C: Added reference-next.
16738 * text.C (InsertChar): Use contains instead of strchr.
16740 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16742 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16744 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16745 alignment commands (when needed).
16747 * text.C (InsertChar): Add ':' to number separator chars.