1 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxlength.C (asLatexString): get rid of setprecision
5 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * text2.C (setLayout): remove unused variable endpit.
8 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
10 * paragraph.C (onlyText): remove unused variable style.
12 * cursor.C (bruteFind): remove unused variables beg and end.
14 * Makefile.am (dist_noinset_DATA): not needed anymore
18 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
20 * text3.C: fix LFUN_MATH_MODE.
22 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * buffer_funcs.C (countWords): new function. Counts words between
27 * BufferView_pimpl.C (getStatus, dispatch): handle
31 * lfuns.h: add LFUN_WORDS_COUNT.
33 2004-12-19 Angus Leeming <leeming@lyx.org>
35 * buffer.C (save): s/slashify_path/internal_path/.
37 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * lyxfind.C (findChange): do not search for end of pars, because
40 the change tracker cannot handle this (fixes bug 1719).
42 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
44 * paragraph.[Ch] (autoBreakRows): remove
46 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
48 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
49 avoid using the paragraph one
51 * text2.C (LyXText, insertStringAsLines): adjust
53 2004-12-16 Angus Leeming <leeming@lyx.org>
57 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
59 2004-12-14 Angus Leeming <leeming@lyx.org>
61 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
63 * bufferlist.C (emergencyWrite):
64 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
67 2004-12-14 Angus Leeming <leeming@lyx.org>
69 * main.C: (main): no longer pass pointers to os::init.
71 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
73 * undo.C (textUndoOrRedo): simplify logic, fix a crash
74 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
76 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
79 * text3.C: remove selection_possible global flag
81 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
83 * text2.C (getSelectionSpan): remove
84 (changeDepth, changeDepthAllowed): adjust
86 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
88 * Makefile.am (BOOST_LIBS): use boost variables
90 2004-12-03 José Matos <jamatos@lyx.org>
92 * buffer.C: format up to 238.
94 2004-12-03 José Matos <jamatos@lyx.org>
96 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
98 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
100 * cursor.C (goUpDown): remove call to idxUpDown2
102 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * tabular.[Ch]: use size_t-like types for cell, row and column
107 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * lyxfunc.C (getStatus): do not lose previous information when
110 calling BufferView::getStatus; do not set a default "Command
111 disabled" message at the beginning, but just before returning.
113 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
115 * cursor.h (getStatus): add better comment from src/cursor.C
117 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * text3.C (getStatus): return false when the lfun is not handled
121 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * broken_headers.h: remove
125 * Makefile.am (lyx_SOURCES): remove broken_headers.h
127 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
129 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
132 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
133 top_y_, merge fitcursor with update
134 (updateScrollbar, scrollDocView, fitCursor, center, update): new
137 (workAreaDispatch): adapt to new coord scheme
138 (redoCurrentBuffer): remove
140 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
142 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
145 * coordcache.[Ch]: add paragraph cache and helpers
147 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
150 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
151 (targetX, setTargetX): introduce
153 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
154 baseline -> ascent, as the rest of lyx
156 * lyxtext.h: remove redoParagraphs, updateParPositions,
157 fullRebreak, redoParagraphInternal. move dist to anon namespace in
158 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
159 have ascent/descent (ascent is ascent of first par)
161 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
164 * paragraph.[Ch]: unify dimension handling with the rest of lyx
166 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
168 * pariterator.C: fix infinite loop introduced in par->pit renaming
170 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
171 in insets and LyXText, draw two off-screen paragraphs using
172 NullPainter, and adapt to new coord scheme
176 * text3.C: adapt lfun handlers to the new coord scheme, which
177 means: there's only guaranteed coord information for onscreen pars
178 plus one above and one below. This implies that one can do search
179 from y coordinates in the range [-1,workHeight]
181 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
183 * rename a lot of InsetOld to InsetBase
185 2004-11-25 Angus Leeming <leeming@lyx.org>
187 * BufferView_pimpl.C:
189 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
191 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
194 call BufferView::getStatus if LCursor::getStatus did nothing
195 (setStatusMessage, getStatusMessage): removed.
197 * FuncStatus.C (message): new methods. Used to provide an error
198 message indicating why a command is disabled.
199 (clear, |=, FuncStatus): update for message.
201 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * lyxfunc.C (dispatch): always call sendDispatchMessage
205 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
208 * BufferView_pimpl.C:
222 * undo.C: par->pit renaming
224 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * tabular.C (cellstruct): use initialization, store a shared_ptr
227 to insettext instead of the insettext directly, adjust to fit.
228 (operator=): new function
230 (rowstruct): use initialization
231 (columnstruct): use initialization
232 (ltType): use initialization
235 * lyxlength.h (swap): new function
237 * LColor.[Ch] (operator=): use the common semantics
239 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * lyxfind.C (findNextChange): update the bufferview after setting
244 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
246 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
247 number of InsetOptArgs has already been inserted.
249 * output_latex.C (latexOptArgInsets): new method. This outputs all
250 the optarg insets, up to the limit defined in the layout file.
251 (optArgInset): removed
252 (TeXOnePar): call latexOptArgInsets; correctly update texrow
254 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * paragraph.C (isLetter): remove special spellchecker-related
257 code; return true also for digits
258 (isWord, isKomma): remove
260 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
261 * lyxfind.C (MatchString()): use isLetter instead of isWord
263 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
265 * pariterator.h (operatir=): comment out un-implemented member
268 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
271 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
273 * lyxfont.h: include LColor.h to satisfy concept checks.
275 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * pariterator.h: add typdefs for value_type, difference_type,
278 pointer and reference to satisfy concept checks. Also add default
279 constructor for same reason.
281 * pariterator.C (operator++): add post-increment operator to
282 satisfy concept checks.
284 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
287 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
289 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
290 checks. Also rename base_type to BaseType to follow naming
293 * FloatList.h: include Floating.h to satisfy concept checks.
295 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * lyxfunc.C (getStatus): when the origin of the request is menu or
298 toolbar, and the LyXView does not have focus, do as if there was
301 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
302 FuncRequest to individual entries of LFUN_SEQUENCE
304 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * output_latex.C (TeXOnePar): override runparams.moving_arg
307 according to the needprotect value of the current paragraph (bug
310 * paragraph.C (simpleTeXOnePar): no need to override
311 runparams.moving_args here
313 2004-11-14 John Spray <spray_john@users.sourceforge.net>
315 * vspace.C: fix off-by-one-error, related to fix #1682
317 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * lengthcommon.C: a more general fix for bug 1682
321 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
323 * text.C (backspace): fix crash
325 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
327 * format.[Ch] (getFormatFromFile): new method
328 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
330 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
334 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * lyxfunc.C (dispatch): remove the verbose argument
337 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
340 * kbmap.C (defkey): set the origin of func to KEYBOARD
342 * MenuBackend.C (MenuItem):
343 * ToolbarBackend.C (add): set the origin of func to UI
345 * funcrequest.[Ch]: add origin member, which indicates which part
346 of LyX requests an action
348 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
350 * converter.C (move): don't lie in the error message
351 * converter.h (isReachable, move): document
353 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
355 * buffer.C: remove unused using lyx::support::atoi
356 * paragraph_funcs.C: ditto
358 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
360 * bufferlist.C (exists): use bind and equal_to instead of
363 * lyxtextclasslist.C (NumberOfClass): ditto
365 * cursor.C (insert): use for_each instead of explicit for loop
367 * bufferlist.C (getFileNames): use std::transform and
368 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
370 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
373 * buffer.C (changeLanguage): use for_each instead of explicit for
375 (hasParWithID): implement using getParFromID
377 * LaTeXFeatures.C: ws change only
379 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
382 * BufferView_pimpl.C (trackChanges): use for_each instead of
385 2004-11-04 André Pönitz <poenitz@gmx.net>
388 * undo.C (textUndoOrRedo): fix crash when creating undo information.
390 * dociterator.C (asDocIterator): use hard assert again.
392 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * lyxlength.C (asLatexString): rewrite so that it does not use
397 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * text3.C (specialChar, dispatch): make sure cursor moves to the
400 right after inserting an inset
402 2004-11-02 José Matos <jamatos@lyx.org>
404 * output_docbook.C (docbook):
405 * paragraph.C (getID):
406 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
407 garantee that the output is always legal.
409 * tabular.C (docbook):
410 * outputprams.[Ch]: remove mixed contents.
412 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
414 * text2.C (setCounter): prevent endless loop
416 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
418 * exporter.C (copyFile): use the mover instead of support::copy()
419 * exporter.C (Export): pass format and latex name to copyFile()
420 * exporter.h (addExternalFile): document
421 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
423 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
425 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
427 2004-10-30 José Matos <jamatos@lyx.org>
429 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
430 text and no inset or font change. This allows to use CDATA
431 sections just for the whole paragraph.
433 2004-10-30 José Matos <jamatos@lyx.org>
435 * paragraph.C (getFirstWord): remove unused variable.
437 2004-10-30 José Matos <jamatos@lyx.org>
439 * paragraph.C (getFirstWord): the content should always be escaped
441 (simpleDocBookOnePar):
442 * output_docbook.C (makeEnvironment): replace reference to CDATA
445 2004-10-30 José Matos <jamatos@lyx.org>
447 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
449 2004-10-30 José Matos <jamatos@lyx.org>
451 * output_docbook.C (makeParagraphs):
452 * paragraph.[Ch] (emptyTag): for docbook and company, if the
453 standard paragraph has only a given type of content drop the wrapper.
455 2004-10-29 José Matos <jamatos@lyx.org>
457 * output_docbook.C (makeEnvironment):
459 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
461 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
463 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
464 (cleanID): sanitize any id.
466 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
468 * buffer.C, lyxlex_pimpl.C:
469 * lyxlex_pimpl.C (setFile):
470 s/getExtFromContents/getFormatFromContents/
472 2004-10-28 José Matos <jamatos@lyx.org>
474 * output_docbook.C (makeEnvironment): move id to broadest possible
477 * sgml.C (openTag): apply substitution of <> for all attributes.
479 2004-10-28 José Matos <jamatos@lyx.org>
481 * buffer.C (makeLinuxDocFile, makeDocBookFile):
482 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
483 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
485 * sgml.[Ch]: new version for open and closeTag for paragraph and
486 for strings. Now they handle the ids of paragraphs.
488 2004-10-26 Angus Leeming <leeming@lyx.org>
490 * Makefile.am: add mover.[Ch].
492 * converter.C (convert, move): use the new Movers to move external
493 files to the temp directory.
495 * lyx_main.C (init): ensure that the global system_movers data
498 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
501 * mover.[Ch]: new files, defining a Mover as a utility to move an
502 external file between directories and, if necessary, manipulate this
503 file using a helper script.
505 2004-10-25 José Matos <jamatos@lyx.org>
507 * output_docbook.C (makeCommand): merge two if's that tested the
510 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * sgml.C (escapeString): fix warning in a better way
514 2004-10-25 José Matos <jamatos@lyx.org>
516 * sgml.C (escapeString): import the require boosts header file for
517 tie, and avoid a signed unsigned comparison.
519 2004-10-25 José Matos <jamatos@lyx.org>
521 * sgml.h: add #include <string>
523 2004-10-25 José Matos <jamatos@lyx.org>
525 * sgml.[Ch] (escapeString): new function to escape all the string.
527 2004-10-24 José Matos <jamatos@lyx.org>
529 * paragraph.[Ch] (getFirstWord): new function to get the first
530 word. Useful for description.
531 (simpleDocBookOnePar): remove depth argument, add another that
532 says where to start the paragraph.
534 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
535 use the new functions to fix cleanly the support for descriptions.
537 2004-10-24 José Matos <jamatos@lyx.org>
539 * buffer.C (makeLinuxDocFile, makeDocBookFile):
540 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
541 * output_linuxdoc.C (linuxdocParagraphs):
542 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
543 add buffer as argument.
545 2004-10-24 José Matos <jamatos@lyx.org>
547 * output_docbook.C (makeEnvironment, searchEnvironment): place
548 CDATA inside paragraphs and fix scope for listitems.
550 2004-10-24 José Matos <jamatos@lyx.org>
552 * output_docbook.C: remove using statement for stack.
554 2004-10-23 José Matos <jamatos@lyx.org>
556 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
557 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
558 docbook. The new scheme is recursive and makes use of iterators, the
559 same as latex export works.
560 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
561 directly with the paragraph contents. This code was moved up to
562 output_docbook.C (docbookParagraphs).
563 * sgml.C (openTag, closeTag): removed unneeded newlines.
564 (closeEnvTags) removed.
566 2004-10-23 André Pönitz <poenitz@gmx.net>
568 * undo.C (textUndoOrRedo):
569 * dociterator.C (asDocIterator): work around crash
571 * cursor.C (getStatus): replace ASSERT by more verbose error message
572 and manual correction of the problem. Should increase stability
573 while providing more sensible information.
575 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
579 * bufferlist.C (previous, next): new methods
582 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
584 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
586 * buffer.C (makeDocBookFile): add dsssl stylesheet control
587 entities to preamble.
589 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * messages.C (Pimpl): strip off translation context information
593 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
596 the cursor is correct (bug 1694)
598 2004-10-13 José Matos <jamatos@lyx.org>
600 * output_docbook.C (docbookParagraphs): fix closing tags in the
603 2004-10-09 José Matos <jamatos@lyx.org>
605 * buffer.C: format up to 237.
606 * bufferparams.C (write): use tostr to convert booleans to strings.
608 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
610 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
612 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
614 * LaTeX.C: implement use of babel language in xindy.
616 2004-10-05 José Matos <jamatos@lyx.org>
618 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
619 Add new translators to help reading and writing the lyx file.
621 2004-10-05 José Matos <jamatos@lyx.org>
623 * ParagraphParameters.C (read):
624 * text.C (readParToken): replace nexToken by more appropriate lex
627 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
629 * LaTeX.C (runMakeIndex):
630 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
631 (usually 'makeindex') configurable.
633 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
634 with a variable rather than with a number.
636 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
638 * output_latex.C (TeXOnePar): make sure font setting is the first
639 thing that gets output (and the last at the end). Should fix bug
642 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * pch.h: use proper signal include
646 * LaTeX.h: Use preferred calling of Boost.Signal
649 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * pch.h: dont include <boost/function/function0.hpp>
653 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
655 * paragraph_pimpl.h: remove usage of ShareContainer
657 * paragraph_pimpl.C: remove initialization of ShareContainer.
659 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * BufferView.C (putSelectionAt): change the semantics when
664 backwards == true: now, this just swaps cursor and anchor wrt the
667 * BufferView.h (putSelectionAt): add some documentation
669 * lyxfind.C (findBackwards): rewrite using while(). In particular,
670 make sure backwardChar is done at least once (to avoid getting
672 (findNextChange): use putSelectionAt in the forward direction
673 (operator()): use Paragraph::isWord
675 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
677 * Spacing.C (set): c_str fix
679 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * lyx_cb.C (Reconfigure): quote the name of configure script in
682 case it contains spaces
684 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
688 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
689 (BOOST_LIBS): use top_buildir when looking for the file
691 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
693 * pch.h: do not use include boost/format.hpp, multiple symbols
694 will result (gcc bug)
697 2004-08-23 José Matos <jamatos@lyx.org>
699 * bufferparams.C (readToken): fix reading of the author field.
701 2004-08-20 José Matos <jamatos@lyx.org>
703 * lyxrc.C: remove support/translator.h inclusion since it is not used.
705 2004-08-20 José Matos <jamatos@lyx.org>
707 * lyxlex.[Ch] (findToken): remove function.
709 * ParagraphParameters.C (findToken):
710 * bufferparams.C (findToken): replace call for previous function
711 with local copy. This local function has one more argument, the
712 read string argument.
714 2004-08-16 José Matos <jamatos@lyx.org>
716 * ParagraphParameters.C (write):
717 * Spacing.C (writeFile):
718 * bufferparams.C (writeLaTeX):
719 * lyx_cb.C (Reconfigure):
720 * paragraph.C (write):
721 * tabular.C (write): remove unnecessary space at end of line.
724 2004-08-16 José Matos <jamatos@lyx.org>
726 * text.C (readParagraph): remove debug message.
728 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
733 * output_plaintext.C (asciiParagraph): set depth correctly
735 * outputparams.h: add member depth
737 * paragraph_funcs.C (ownerPar): remove.
739 * text2.C (setCounter): remove first_pit; comment out some
740 non-working code that uses ownerPar
742 * BufferView.C (getParentLanguage): remove. Not used anymore, and
745 2004-08-16 José Matos <jamatos@lyx.org>
747 * text.C (readParToken, readParagraph, read): report all unknown tokens.
748 For the same level of importance use the same chanel to report problems.
749 (read): add code to deal with \begin_body and \end_body.
752 2004-08-15 José Matos <jamatos@lyx.org>
754 * lyxlex.C (getString): fix comment, buffer::readBody is now
757 * tex-strings.C (string_papersize): Default -> default,
758 Custom -> custom, for consistency with other options.
760 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
764 * Makefile.am: support pch
766 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * text.C (readParToken): remove the static LyXFont variable and
769 pass it as a parameter instead. This fixes a nasty bug where an
770 inset will be inserted with a bad font in some situations
771 (readParagraph): adapt
773 * text2.C (setCounter): reduce number of calls to pars_[pit]
775 * text.C (singleWidth): add an assert, fix a test
777 * rowpainter.C (paintText): reduce number of calls to singleWidth
779 * paragraph.C (isHfill):
782 2004-08-14 André Pönitz <poenitz@gmx.net>
787 * lyxtext.h (several functions): use a Paragraph & argument
790 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * metricsinfo.h: add a new field ltr_pos to PainterInfo
794 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
796 * text.C (singleWidth): remove useless test
798 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
800 * tabular.h: remove bogus comments
802 * tabular.C (getDescentOfRow):
803 (isPartOfMultiColumn): add assertions
805 * lyxlength.C (inPixels): remove #warning
807 2004-08-14 André Pönitz <poenitz@gmx.net>
809 * paragraph.h: inline getChar()
811 * BufferView.h: remove unused declarations
813 2004-08-14 José Matos <jamatos@lyx.org>
815 * Buffer.[Ch] (readDocument): new name for old readBody.
816 * Buffer.C: new file format, new keywords: \begin_document,
817 \begin_header, \begin_body, \end_body.
819 * bufferparams.C (readToken): replace all calls to lex.nextToken
820 by lex.next(). Do the same to eatLine except where really needed.
822 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
823 line when writing to the lyx file.
825 * output_plaintext.C (asciiParagraph): fix Bibliography style
828 * text.C (read): fix end of file handling.
830 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * MenuBackend.C (Menu::operator[]): new method to access
833 individual menu items
834 (Menu::hasFunc): new method. search for an item that corresponds
836 (MenuBackend::specialMenu): new method
837 (MenuBackend::expand): if a special menu has been set, skip
838 entries whose func() appears in this menu
840 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
842 * text3.C: use Debug::DEBUG a bit more
844 * text.C (leftMargin): try to simplify a tiny bit change var x to
845 l_margin. Dont output the wide margins always.
846 (rightMargin): no margin in inner texts
848 * rowpainter.h (nestMargin): new func
849 (changebarMargin): new func
850 (rightMargin): new func
852 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
856 * factory.C (createInset): modify setDrawFrame
858 * cursor.C: use Debug::DEBUG a bit more
860 2004-08-14 André Pönitz <poenitz@gmx.net>
863 * Makefile.am: new files to accomodate an 'external' (x,y)-position
864 cache for all insets in (at least partially) visible (top-level)
867 * BufferView_pimpl.C: reset external coord cache before every update.
868 This means the coord cache only contains valid entries.
870 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
873 * BufferView_pimpl.C (getInsetByCode): move function out of class
874 and change in to a template in anon namespace. Also fix to do what
877 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
880 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
882 (breakParagraph): rename par to par_offset and use a local
883 reference. Add code to keep the language over a rebreak.
884 (breakParagraphConservative): rename par to par_offset, use a
886 (mergeParagraph): ditto
888 (isFirstInSequence): ditto
889 (outerFont): rename pit to par_offset
891 * paragraph.C: ws change
896 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
901 * paragraph.C (simpleTeXOnePar): when we have a \item with
902 optional argument, enclose the argument with curly brackets (in
903 case it contains a closing square bracket)
907 * text3.C (checkInsetHit): constify
909 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
914 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 Fix toggling of collapsable insets with the mouse (bug 1558)
918 * lyxfunc.C (dispatch): adapt to LCursor changes
920 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
921 make sure that dispatch is not invoked twice
923 * cursor.C (needsUpdate): new method
924 (dispatch): return void
925 (result): new method, to access the DispatchResult of the cursor.
927 2004-08-13 José Matos <jamatos@lyx.org>
929 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
931 2004-08-13 André Pönitz <poenitz@gmx.net>
933 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
935 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
938 2004-08-12 André Pönitz <poenitz@gmx.net>
940 * text3.C: take out the 'cursor right' form insertInset and only
941 do it in those places when it is really needed. Fixes crash on
944 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
948 * BufferView_pimpl.C (setBuffer): initialize the current font of
949 the underlying LyXText
951 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * kbsequence.C (print): use UI native formatting for menu
956 * text.C (insertChar): call Paragraph::insertChar with a font
959 * paragraph.C (insertInset, insertChar): the version that takes a
960 LyXFont argument is now a wrapper around the other one (the
961 opposite used to be true).
963 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
964 argument. Font setting is done in Paragraph now.
966 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * outputparams.h: add new members intitle and lang.
970 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
971 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
973 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * text3.C (dispatch): remove special handling of button 4 and 5,
976 it is now taken care of in the frontend code.
978 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * Spacing.h: add <string> (STLPort compile fix)
982 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
984 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
986 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
988 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
991 * converter.C (showMessage): inherit from unary_function, make
994 * buffer.C (writeFile): initialize retval
996 * InsetList.h: rename private variable list to list_
997 * InsetList.[Ch]: adjust accordingly.
999 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1001 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1002 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1003 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1004 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1005 * ParagraphParameters.C, LaTeXFeatures.C: replace
1006 "support/std_sstream.h" with <sstream>
1008 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1010 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1011 * lyxsocket.C (LyXServerSocket): ditto
1012 (serverCallback): ditto
1014 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1016 * LaTeXFeatures.C: check release date when loading jurabib.
1018 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1020 * lyxserver.C (startPipe): call register_socket_callback
1021 (endPipe): call unregister_socket_callback
1023 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1025 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1026 (LyXServerSocket): register the callback
1027 (LyXServerSocket): unregister the callback
1028 (fd): delete function
1029 (serverCallback): improve error checking and setup the callbacks.
1030 (dataCallback): change arg to fd.
1031 (writeln): new func (copied fro the client socket) used for server
1033 (LyXDataSocket): simplify
1034 (~LyXDataSocket): close ann unregiser callback
1035 (server): delete function
1036 (fd): delete function
1037 (readln): small changes, improve some std::string usage
1038 (writeln): constify a bit
1040 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1045 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1048 after it has been populated
1050 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * text2.C (insertInset): move cursor when inserting inset.
1054 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * kbmap.C (findbindings): a couple of new methods. returns a
1057 container of kb_sequence objects. The real work is done by the
1058 private recursive version
1059 (printbindings): uses findbindings to print out a bracketed list
1060 of bindings (renamed from findbinding).
1062 * MenuBackend.C (binding): use kb_keymap::findbindings
1064 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1066 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1068 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1070 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * paragraph.C (isWord): return true on insets that report
1075 * text.C (getWord): use Paragraph::isWord to decide what is in a
1076 word and what is not; fix bug 1609.
1078 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1080 * tex-strings.C: add "none" to string_paperpackages[], fixes
1081 off-by-one-error in the paperpackage selection.
1084 * tex-strings.[Ch]: char const * string[n]
1085 -> char const * const string[]
1087 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1090 command, return early.
1092 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1094 * debug.h: add DEBUG to enum and fix size of ANY.
1096 * debug.C: add support for Debug::DEBUG
1097 (showTags): cast errorTags.level to unsigned int
1099 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1100 (redoCurrentBuffer): ditto
1101 (updateScrollbar): ditto
1102 * cursor.C (dispatch): ditto
1103 * text2.C (setLayout): ditto
1105 (updateCounters): ditto
1107 (deleteEmptyParagraphMechanism): ditto
1109 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1111 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1112 annotations to cleanup the Makefile slightly.
1114 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * lyxrc.C: do not set user_email to a default value but use empty
1117 instead. The entry used to be translated, which does not work
1118 since at the point where lyxrc is constructed there is no
1119 translation service available
1121 * messages.C (getLocaleDir): remove and use directly
1122 lyx_localedir() instead
1124 2004-06-02 Angus Leeming <leeming@lyx.org>
1126 Fix crash caused by dereferencing null pointer 'exportdata' in
1127 OutputParams by creating a new ExportData variable on the heap,
1128 storing it in a boost::shared_ptr.
1129 The crash was triggered when generating an Instant Preview
1130 of an external inset.
1132 * Makefile.am: add outputparams.C
1134 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1135 (c-tor): allocate memory to it.
1137 * exporter.C (c-tor): associated changes.
1139 2004-06-01 Angus Leeming <leeming@lyx.org>
1141 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1142 contains data before calling isInset(0). (Bug 1513.)
1144 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * exporter.C (checkOverwrite): new method
1147 * exporter.C (copyFile): new method
1148 * exporter.C (Export): copy referenced files to the document dir
1149 * exporter.[Ch]: new class ExportedFile
1150 * exporter.[Ch]: new class ExportData. Contains currently the
1151 names of referenced external files
1152 * outputparams.h: add exportdata member.
1154 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1159 2004-05-19 Angus Leeming <leeming@lyx.org>
1164 * lyxfunc.C: small changes due to the introduction of namespace
1165 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1167 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1169 * text3.C (dispatch): supress update when only moving the cursor
1170 * cursor.C (selHandle): remove commented code
1172 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1174 * paragraph.C (startTeXParParams): correct column count
1175 * CutAndPaste.C (pasteSelection): remove const_cast
1176 * output_docbook.C (docbookParagraphs): remove const_cast
1177 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1178 const_cast and return ParagraphList::const_iterator
1179 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1180 * output_plaintext.C (writeFileAscii): remove const_cast
1181 * paragraph.[Ch] (simpleTeXOnePar): make const
1182 * paragraph_funcs.C (outerPar): use const iterators
1183 * paragraph_pimpl.C (validate): use const iterators
1184 * text.C (setHeightOfRow): use const iterators
1186 2004-05-17 Angus Leeming <leeming@lyx.org>
1189 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1191 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1192 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1193 if the citation engine has changed.
1195 2004-05-14 José Matos <jamatos@lyx.org>
1197 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1198 if the textclass does not provide it. Have it different for sgml and
1200 support the language of document.
1201 * output_docbook.C (docbookParagraphs):
1202 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1203 first anchor as the id of the paragraph, remove special case code.
1204 * sgml.C (escapeChar): escape only < & >.
1206 2004-05-14 Angus Leeming <leeming@lyx.org>
1208 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1209 dependencies on src/frontends/controllers/biblio.h. Define a
1210 CiteEngine_enum wrapper class to enable the enum to be forward
1213 2004-05-12 Angus Leeming <leeming@lyx.org>
1215 * buffer.C: up LYX_FORMAT to 234.
1216 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1217 use_numerical_citations with a single biblio::CiteEngine cite_engine
1219 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1221 2004-05-13 José Matos <jamatos@lyx.org>
1224 * converter.C (Converter, readFlags): add xml member.
1225 * outputparams.h: add XML flavor.
1226 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1228 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * lyxfunc.C (dispatch):
1231 (getStatus): fix handling of LFUN_SEQUENCE
1233 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * debug.C (showLevel): do not forget the end-of-line marker
1237 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * kbmap.C (read): do not stop parsing a bind file when an error
1242 2004-04-29 Angus Leeming <leeming@lyx.org>
1247 * text2.C: wrap a bunch of #warning statements
1248 inside #ifdef WITH_WARNINGS blocks.
1250 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1252 * buffer.C: increment format to 233.
1254 2004-04-28 Angus Leeming <leeming@lyx.org>
1256 * BufferView_pimpl.C:
1259 s/updateToolbar()/updateToolbars()/
1260 s/Toolbar.h/Toolbars.h/
1262 2004-04-28 Angus Leeming <leeming@lyx.org>
1264 * BufferView.[Ch] (c-tor):
1265 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1266 No longer passes these data to the WorkArea generator.
1268 2004-04-28 Angus Leeming <leeming@lyx.org>
1270 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1272 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1274 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1276 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * output_latex.C (TeXEnvironment): make sure that there is a line
1279 break before \end{foo} for the last paragraph of a document
1280 (TeXOnePar): if the paragraph is at the end of the document (or
1281 inset) and the language has to be reset, then make sure that the
1282 line break is _before_ the language command, not after (fixes bug
1283 1225); also make sure that the language reset command is the first
1284 thing after the paragraph (to ensure proper nesting of
1285 environments and thus fix bug 1404)
1287 2004-04-21 John Levon <levon@movementarian.org>
1290 * ToolbarBackend.C: make "name" be a programmatic name
1291 and a gui_name field.
1293 * lyxfunc.C: display the minibuffer on M-x
1295 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1300 2004-04-19 Angus Leeming <leeming@lyx.org>
1302 * BufferView_pimpl.C (setBuffer): changed preview interface.
1304 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1307 2004-04-19 John Levon <levon@movementarian.org>
1309 * BufferView_pimpl.C:
1310 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1312 2004-04-05 Angus Leeming <leeming@lyx.org>
1314 * text.C (redoParagraphs): add call to updateCounters(), thereby
1315 fixing the missing "Figure #:" label from the caption of a
1318 2004-04-13 Angus Leeming <leeming@lyx.org>
1320 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1321 cursor is clicked out of an inset.
1323 2004-04-13 Angus Leeming <leeming@lyx.org>
1325 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1326 than an InsetOld one.
1328 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1330 * format.[Ch]: add editor to Format
1331 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1332 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1334 2004-04-08 André Pönitz <poenitz@gmx.net>
1336 * metricsinfo.h: remove PainterInfo::width member
1338 2004-04-08 Angus Leeming <leeming@lyx.org>
1340 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1341 "\providecommand" rather than "\newcommand", thereby preventing
1342 clashes with packages that define "\boldsymbol" themselves.
1345 2004-04-08 Angus Leeming <leeming@lyx.org>
1347 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1348 thereby squashing an unnecessary warning.
1350 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1352 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1355 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1357 * BufferView.C (setCursor): call redoParagraph (some insets could
1359 (putSelectionAt): remove the 'double update' trick
1361 * BufferView_pimpl.C (fitCursor): call refreshPar
1362 (workAreaDispatch): remove an uneeded update call
1363 (dispatch): remove some manual update calls
1365 * cursor.[Ch]: remove cached_y_, updatePos
1366 (selHandle): set noUpdate when appropriate
1368 * lyxfunc.C (dispatch): track if we need an update
1370 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1372 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1373 (paintSelection): cheap optimization, do not call cursorX when not
1375 (paintPars): change signature
1378 (paintTextInset): adjust
1382 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * lengthcommon.C: compilation fix: remove explicit array size from
1385 unit_name[] and friends
1387 2004-04-05 Angus Leeming <leeming@lyx.org>
1389 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1391 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1392 present only for the preferences dialog.
1393 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1395 2004-04-05 Angus Leeming <leeming@lyx.org>
1397 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1398 to enable the frontends to export changes to lyxrc correctly.
1400 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1402 2004-04-07 André Pönitz <poenitz@gmx.net>
1404 * cursor.[Ch] (selClear, adjust): remove math
1406 * cursor_slice.C: more agressive assert
1409 * BufferView_pimpl.C: rework mouse event dispatch
1416 2004-04-05 André Pönitz <poenitz@gmx.net>
1418 * cursor.[Ch] (valign, halign...): remove unneeded functions
1420 2004-04-05 Angus Leeming <leeming@lyx.org>
1422 * lyxlength.[Ch] (unit_name et al.): const-correct.
1424 2004-04-05 Angus Leeming <leeming@lyx.org>
1426 * BufferView_pimpl.C:
1435 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1437 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1439 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1441 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1443 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1444 * BufferView_pimpl.[Ch] (getStatus)
1445 * BufferView.[Ch] (getStatus): add
1446 * lyxfunc.C (getStatus): move lfuns handled in
1447 BufferView::dispatch to te function above
1448 * Cursor.C (setSelection): set selection() = true
1450 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1452 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1454 2004-03-31 Angus Leeming <leeming@lyx.org>
1456 * lyxfunc.C (dispatch): Fall through to the generic
1457 Dialogs::show("preamble").
1459 2004-03-31 Angus Leeming <leeming@lyx.org>
1461 * lyxfunc.C (dispatch): Fall through to the generic
1462 Dialogs::show("spellchecker").
1464 2004-03-31 Angus Leeming <leeming@lyx.org>
1466 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1469 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1474 * insetiterator.[Ch]:
1479 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1481 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1483 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1484 insets where we are putting the cursor.
1486 2004-03-31 Angus Leeming <leeming@lyx.org>
1489 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1491 * lyxrc.[Ch] (read, write): overloaded member functions taking
1492 a std::[io]stream arguments.
1494 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1496 2004-03-31 Angus Leeming <leeming@lyx.org>
1498 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1499 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1501 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1502 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1504 2004-03-31 Angus Leeming <leeming@lyx.org>
1506 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1507 the LFUN_ALL_INSETS_TOGGLE code.
1509 2004-03-30 Angus Leeming <leeming@lyx.org>
1511 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1512 has died. Fall through to the generic Dialogs::show("document").
1514 2004-03-30 Angus Leeming <leeming@lyx.org>
1517 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1518 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1520 * lyxfunc.C (getStatus, dispatch): define the actions for these
1521 lfuns. Little more than a cut and pste job from ControlDocument.C
1523 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1525 2004-03-30 Angus Leeming <leeming@lyx.org>
1528 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1529 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1531 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1532 open/closed state of ollapsable insets. Usage:
1534 all-inset-toggle <state> <name>, where
1535 <state> == "open" || "closed" || "toggle" and
1536 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1538 * lyxtext.h, text2.C (toggleInset): removed.
1540 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1541 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1542 now passes LFUN_INSET_TOGGLE to the found inset.
1544 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1545 is now invoked as "all-insets-toggle toggle branch".
1547 2004-03-30 Angus Leeming <leeming@lyx.org>
1551 * pariterator.[Ch]: added/corrected header blurb.
1553 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1555 * dociterator.[Ch]: add an inset_ member
1556 (backwardPos): implemented
1557 (backwardPos, forwardPos): use inset_ when the stack is empty.
1558 (doc_iterator_begin, doc_iterator_end): implemented
1559 * pariterator.[Ch]: adjust, add begin, end
1560 * insetiterator.[Ch]: adjust, add begin, end
1564 * BufferView_pimpl.C:
1565 * CutAndPaste.C: adjust
1567 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1569 * buffer.C: increment file format to 232.
1570 * LaTeXFeatures.C: add bibtopic package.
1571 * bufferparams.[Ch]: param \use_bibtopic.
1573 * lyxrc.[Ch]: add lyxrc bibtex_command
1574 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1576 * buffer.C: increment file format to 231.
1578 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1580 * dociterator.C: implement forwardPar
1581 * iterators.[Ch]: remove, replaced by
1582 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1584 * BufferView_pimpl.C:
1587 * bufferview_funcs.C:
1593 * Makefile.am: adjust
1595 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1597 * CutAndPaste.C (pasteSelection): fix 2 crashes
1598 (eraseSelection): fix a crash
1599 * paragraph_funcs.C: remove a warning
1601 2004-03-28 Angus Leeming <leeming@lyx.org>
1604 * LyXAction.C (init): new LFUN_PRINT.
1606 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1608 2004-03-27 Angus Leeming <leeming@lyx.org>
1611 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1613 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1615 2004-03-27 Angus Leeming <leeming@lyx.org>
1617 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1618 insetlist always contains non-null pointers to insets.
1620 2004-03-26 Angus Leeming <leeming@lyx.org>
1622 * src/BufferView_pimpl.C:
1623 * src/CutAndPaste.C:
1626 * src/output_plaintext.C:
1627 * src/outputparams.h:
1628 * src/paragraph_funcs.C:
1632 * src/frontends/controllers/ControlErrorList.C:
1633 * src/frontends/gtk/FileDialogPrivate.C:
1634 * src/frontends/gtk/GPainter.C:
1635 * src/frontends/gtk/GToolbar.C:
1636 * src/frontends/qt2/QRef.C:
1637 * src/mathed/math_scriptinset.C: squash compiler warnings.
1639 2004-03-26 Angus Leeming <leeming@lyx.org>
1641 * ispell.C (LaunchIspell::start):
1642 * lyx_cb.C (AutoSaveBuffer::start):
1643 invoke run(DontWait) rather than runNonBlocking().
1645 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1647 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1649 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1651 * kbsequence.C (print): adjust
1653 * kbmap.C (printKeySym): rename and change signature
1654 (printKey): use LyXKeySym::print()
1656 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1658 * undo.C: add using std::advance to compile for stlport
1660 2004-03-24 Angus Leeming <leeming@lyx.org>
1662 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1663 it leads to a crash when no buffer is present.
1665 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 Martin Vermeer <martin.vermeer@hut.fi>
1668 * lyxfunc.C (dispatch):
1669 * bufferparams.C (readToken): use the new LColor::setColor
1671 * LColor.[Ch] (setColor): new version that takes two strings as
1672 argument and creates a new color entry if necessary
1674 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1676 * buffer.C (makeLaTeXFile): if the main latex file that is
1677 processed is usually a subdocument of some master, then pretend
1678 for a while that it is actually the master
1680 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1682 * buffer.C (getLabelList):
1683 (getBibkeyList): use getMasterBuffer()
1684 (getMasterBuffer): new method. Returns the main document in the
1685 case where one is using included documents.
1687 2004-03-25 André Pönitz <poenitz@gmx.net>
1691 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1693 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1695 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1696 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1698 * ParameterStruct.h: merge with ParagraphParameters
1700 * lyxtext.h: remove LyXText::parOffset() and getPar()
1702 * text3.C: Remove all 'manual' update calls. We do now one per user
1703 interaction which is completely sufficient.
1707 * BufferView_pimpl.C:
1708 * FontIterator.[Ch]:
1710 * ParagraphParameters.[Ch]:
1715 * cursor_slice.[Ch]:
1722 * output_docbook.[Ch]:
1723 * output_latex.[Ch]:
1724 * output_linuxdoc.[Ch]:
1725 * output_plaintext.[Ch]:
1727 * paragraph_funcs.[Ch]:
1728 * paragraph_pimpl.[Ch]:
1736 * frontends/controllers/ControlDocument.C:
1737 * frontends/controllers/ControlErrorList.C:
1738 * frontends/controllers/ControlSpellchecker.C:
1741 * insets/insetbase.h:
1742 * insets/insetbibitem.C:
1743 * insets/insetbox.C:
1744 * insets/insetbranch.C:
1745 * insets/insetcaption.C:
1746 * insets/insetcharstyle.C:
1747 * insets/insetcharstyle.h:
1748 * insets/insetcollapsable.C:
1749 * insets/insetcollapsable.h:
1750 * insets/insetert.C:
1751 * insets/insetfloat.C:
1752 * insets/insetfoot.C:
1753 * insets/insetmarginal.C:
1754 * insets/insetnote.C:
1755 * insets/insetoptarg.C:
1756 * insets/insettabular.C:
1757 * insets/insettext.C:
1758 * insets/insettext.h:
1759 * insets/insetwrap.C:
1760 * mathed/math_mboxinset.C:
1761 * mathed/math_nestinset.C:
1762 * mathed/math_scriptinset.C:
1763 * mathed/math_scriptinset.h:
1766 2004-03-24 Angus Leeming <leeming@lyx.org>
1768 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1769 deal with any child processes that have finished but are waiting to
1770 communicate this fact to the rest of LyX.
1772 2004-03-24 Angus Leeming <leeming@lyx.org>
1774 64-bit compile fixes.
1776 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1777 (c-tor): pass lyx::pos_types rather than ints.
1779 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1782 * text.C (Delete): compile fix.
1783 (getPar): ensure that function declaration is the same as that in
1786 2004-03-23 Angus Leeming <leeming@lyx.org>
1788 * ispell.C (LaunchIspell):
1789 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1790 a boost::shred_ptr rather than a std::auto_ptr.
1792 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1795 handle LFUN_FILE_INSERT_*
1797 * lyxrc.C (setDefaults, getDescription, output, read):
1798 * lyxrc.h: remove ps_command
1800 2004-03-22 Angus Leeming <leeming@lyx.org>
1802 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1803 Ensure that error_handler is processed once only and that all data
1804 is saved before attempting to output any warning messages.
1806 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1808 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1810 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1812 2004-03-19 André Pönitz <poenitz@gmx.net>
1814 * cursor.[Ch] (reset): take main text inset as argument
1816 * BufferView: adjust
1817 * BufferView_pimpl.C: adjust
1819 * paragraph.[Ch]: fix completely broken operator=()
1821 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * LColor.C (getFromLyXName): make sure that the color name is used
1826 2004-03-17 Angus Leeming <leeming@lyx.org>
1829 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1831 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1832 dialog and to kill a forked process.
1834 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1836 * text2.C (setCursorFromCoordinates): fix font problem
1838 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1840 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1841 bogus "rebuild cursor" code
1843 2004-03-11 André Pönitz <poenitz@gmx.net>
1845 * buffer.[Ch]: use InsetText instead of LyXText as container for
1848 * dociterator.[Ch]: drop the BufferView * member which is not needed
1849 anymore after the change to buffer.C
1851 * paragraph_funcs.C:
1855 * BufferView_pimpl.[Ch]:
1857 * cursor_slice.[Ch]: adjust
1859 * text3.C: fix bug in mathDispatch
1861 2004-03-08 André Pönitz <poenitz@gmx.net>
1863 * undo.[Ch]: use 'StableDocumentIterator' as base for
1866 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1869 * bufferparams.[Ch]: add jurabib support and param.
1871 * LaTeX.C: add FIXME/comment.
1873 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1875 * buffer.C: increment file format to 230.
1877 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1879 * cursor.C (dispatch): avoid infinite loops
1881 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1883 * rowpainter.C (paintSelection): fix x coordinates
1885 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1887 * text.C (rowBreakPoint): fix breaking before displayed insets
1889 2004-03-01 André Pönitz <poenitz@gmx.net>
1891 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1893 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1897 * BufferView_pimpl.C:
1905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1911 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1912 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1914 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1916 * Bidi.[Ch] (computeTables): const correctness
1917 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1918 fill_hfill, fill_label_hfill and x from Row
1919 * lyxtext.h: prepareToPrint returns a RowMetrics
1920 * rowPainter.C: adjust
1921 * text.C (prepareToPrint): use width, not textWidth. adjust
1922 (redoParagraphInternal, cursorX): adjust
1923 * text2.C (getColumnNearX): adjust
1924 (init): put a default value to the top LyXText::width
1926 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1928 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1930 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1932 * lyxtext.h: add FontIterator class
1934 * text.C (FontIterator, operator*, operator->, operator++): add
1935 (rowBreakPoint, setRowWidth): adjust (fixing a
1938 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1940 * BufferView_pimpl.C (workAreaDispatch): allow also
1941 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1943 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1945 * text.C (rowBreakPoint): fix a bug showing with very large insets
1947 2004-02-25 André Pönitz <poenitz@gmx.net>
1950 * cursor.[Ch]: move some mathed specific code to mathed
1952 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1954 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1955 use_tempdir in preferences
1956 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1958 * lyx_main.C: ensure that tempdir is valid
1959 * lyxlex.h: correct typo
1960 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1961 * paragraph.[Ch] (isMultiLingual): make const
1962 * cursor.[Ch] (openable): make const
1964 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1966 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1968 2004-02-20 André Pönitz <poenitz@gmx.net>
1970 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1972 * cursor.[Ch]: prepare for localized getStatus()
1978 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1980 2004-02-20 André Pönitz <poenitz@gmx.net>
1982 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1984 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1986 * text2.C (setCursorFromCoordinates): switch to absolute coords
1988 (cursorDown): adjust
1989 * text3.C (dispatch): adjust
1991 2004-02-16 André Pönitz <poenitz@gmx.net>
1993 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1996 * cursor_slice.[Ch]: remove unneeded acessor function
1998 * lyxtext.h: rename rtl() to isRTL()
2006 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2008 * rowpainter.C (paintSelection): coord fix
2010 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2012 * Spacing.C: compile fix
2014 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2016 * cursor.C (dispatch): restore current_ before returning
2018 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2020 * text2.C (cursorUp, cursorDown): fix coords
2023 2004-02-12 André Pönitz <poenitz@gmx.net>
2028 * text3.C: add LCursor & parameter to most cursor movement functions
2029 remove usage of LyXText::cursorRow() and cursorPar()
2031 * cursor.[Ch]: add textRow() needed members
2034 * BufferView_pimpl.C:
2037 * BufferView_pimpl.C: adjust
2039 2004-02-11 André Pönitz <poenitz@gmx.net>
2043 * BufferView_pimpl.C: shift undo/redo handling
2045 * cursor.[Ch]: fix mathed crash
2048 * lyxtext.h: move selectionAsText to LCursor
2056 * rowpainter.C: fix excessive drawing
2058 2004-02-06 André Pönitz <poenitz@gmx.net>
2061 * BufferView_pimpl.[Ch]:
2062 * text3.C: move some text specific LFUN handling
2064 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2066 * text3.C (checkInsetHit): adjust coords
2067 * text2.C (getColumnNearX): adjust coords
2068 (edit): adjust coords
2069 * text.C (getRowNearY): add two asserts
2071 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2074 * format.C: add using std::distance to compile on gcc 2.95/stlport
2076 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2078 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2080 2004-02-04 André Pönitz <poenitz@gmx.net>
2082 * BufferView.[Ch] (insertInset):
2083 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2088 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2090 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2091 on the default clause of the switch
2092 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2093 wasn't catched by LCursor::dispatch
2095 2004-02-03 André Pönitz <poenitz@gmx.net>
2098 * cursor.[Ch]: some additional asserts
2100 * undo.[Ch]: remove LyXText dependency in interface
2104 * lyxtext.h (firstPar, lastPar): remove dead functions
2109 * paragraph.[Ch]: adjust
2111 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2113 * lyxfind.C (find): fix argument order in call to ::find
2115 2004-02-02 André Pönitz <poenitz@gmx.net>
2117 * cursor.[Ch]: remove direct access to anchor
2119 * text.C: remove findText() hack
2121 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2123 * iterators.[Ch] (lockPath): remove in favour of...
2124 * BufferView.[Ch] (setCursor): this addition
2125 * BufferView.C (putSelectionAt): adjust
2126 * undo.C (performUndoOrRedo): adjust
2127 * lyxfunc.C (dispatch): adjust
2129 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2131 * iterators.C (lockPath): add a missing slice
2132 * undo.C (performUndoOrRedo): remove redundant positioning code
2134 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2136 * vc-backend.C (scanMaster): ";" -> ';'
2138 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2141 std::binary_function
2143 * lyxtextclass.C (compare_name): rename to...
2144 (LayoutNamesEqual): ...this
2146 * lyxlex_pimpl.C (compare_tags): inherit from
2147 std::binary_function, put back into anon namespace
2149 * lyxfind.C (MatchString): inherig from std::binary_function
2150 (findChange): use empty() istead of !size()
2152 * format.C (FormatNamesEqual): new functor
2159 * converter.C (compare_Converter): rename to...
2160 (ConverterEqual): ...this, and fixup a bit.
2161 (getConverter): use it, and make function const
2162 (getNumber): use it, and make function const
2166 * bufferlist.C: add using boost::bind
2168 * MenuBackend.C (MenuNamesEqual): new functor
2169 (hasMenu): use it, and make function const
2170 (hasSubmenu): use nested bind to get rid of compare_memfun.
2172 2004-01-30 André Pönitz <poenitz@gmx.net>
2174 * BufferView_pimpl.C:
2177 * cursor_slice.[Ch]:
2180 * paragraph_funcs.C:
2181 * paragraph_funcs.h:
2185 * text3.C: move some of the edit(x,y) handling to the insets
2186 some coordinate changes.
2188 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2190 * text.C: add using statements for std::advance and std::distance
2192 * paragraph.C: add using statement for std::distance
2194 * lyxfind.C: add using statement for std::advance
2196 * cursor.C (region): remove std:: from swap
2197 (openable): use nucleus in stead of operator->
2199 * BufferView.C: add using statements for std::distance and std::swap
2201 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2203 * iterators.C: Remove the pimple, move the needed structures to
2204 the header file. Create accessor for the positions stack.
2205 (asPosIterator): remove function
2207 * PosIterator.C (PosIterator): move constructors to top of file
2208 (PosIterator): reimplement the constructor taking a ParIterator in
2210 (setFrom): new function
2211 (operator!=): inline it
2213 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2215 * lyxfind.C (replaceAll): use std::advance
2217 * iterators.h: inherit from std::iterator.
2219 * PosIterator.C (advance, distance): remove
2220 * PosIterator.h: interit from std::iterator.
2222 2004-01-26 André Pönitz <poenitz@gmx.net>
2225 * BufferView_pimpl.[Ch]:
2229 * bufferview_funcs.C:
2239 * output_linuxdoc.C:
2240 * output_plaintext.C:
2242 * paragraph_funcs.[Ch]:
2243 * paragraph_pimpl.[Ch]:
2249 * text3.C: more IU: dumps most of the rest of the mathcursor
2250 implementation into cursor.[Ch]; "globalize" a bit of it.
2252 2004-01-25 Angus Leeming <leeming@lyx.org>
2254 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2256 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2258 * LaTeXFeatures.h: add nice_ and nice() const
2259 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2261 2004-01-20 André Pönitz <poenitz@gmx.net>
2264 * BufferView_pimpl.C:
2266 * bufferview_funcs.C:
2268 * cursor_slice.[Ch]:
2279 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2280 LCursor and mathcursor parts to LCursor and InsetBase.
2282 2004-01-15 André Pönitz <poenitz@gmx.net>
2284 * cursor_slice.[Ch]: add a few covienience functions
2286 * funcrequest.[Ch]: remove BufferView * member
2288 * BufferView_pimpl.C:
2295 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2297 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2299 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2300 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2302 2004-01-13 André Pönitz <poenitz@gmx.net>
2305 * lyxtext.h: hide cursor and selection anchor behind accessor function
2308 * BufferView_pimpl.[Ch]:
2310 * bufferview_funcs.C:
2320 * cursor_slice.[Ch]: some integer type changes for inset unification
2322 * lyxcursor.[hC]: remove, it's CursorSlice now.
2325 * BufferView_pimpl.[Ch]:
2326 * bufferview_funcs.C:
2332 * textcursor.[Ch]: adjust
2334 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2336 * text2.C (undoSpan): add and use
2337 * text.C (breakParagraph): use undoSpan (fix bug 578)
2340 2004-01-08 Angus Leeming <leeming@lyx.org>
2342 * BufferView_pimpl.C (MenuInsertLyXFile):
2343 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2344 * lyxfunc.C (menuNew, open, doImport):
2345 FileFilterList change to the FileDialog open and save functions.
2347 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2349 * ShareContainer.h: make isEqual and isUnique adaptable
2351 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2353 2004-01-07 Angus Leeming <leeming@lyx.org>
2356 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2358 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2360 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2361 functions replacing find, replace and replaceAll.
2363 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2364 LFUN_WORDFIND(FORWARD|BACKWARD).
2366 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2368 * text.C (breakParagraph): remove an outdated #warning
2370 2004-01-07 André Pönitz <poenitz@gmx.net>
2372 * lyxfind.C: somewhat clearer logic
2374 * text.C: prevent crash in cursorX on unitialized row cache
2376 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2378 * lyxcursor.[Ch] (operator>): add
2379 * textcursor.C (selStart, selEnd): use std::min and std::max
2381 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2383 * Chktex.C: include boost/format.hpp
2385 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2387 * InsetList.C: replace functor MathcIt with adaptable functor
2389 (insetIterator): modify accordingly
2391 * BranchList.h: move the BranchNamesEqual functor here from...
2392 * BranchList.C: ... to here
2394 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2396 (add): replace a finding loop with std::find_if.
2398 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2400 * output_docbook.C: moving LatexParam functionality into
2403 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2405 * buffer.C: increment format to 229.
2407 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2410 * lyx_sty.[Ch]: remove minipageindent_def
2416 * text3.C: remove LFUN_INSET_MINIPAGE
2418 2003-12-28 Angus Leeming <leeming@lyx.org>
2420 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2422 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2424 * text2.C (setParagraph): fix off-by-one crash
2426 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2428 * output_docbook.C: header stuff for AGU
2430 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2432 * text2.C (redoCursor): remove
2435 * BufferView_pimpl.C: remove calls to redoCursor and
2436 setCursor(cursor.par(), cursor.pos()) all around
2438 2003-12-15 Angus Leeming <leeming@lyx.org>
2440 * buffer.C: up the format to 228.
2442 2003-12-15 André Pönitz <poenitz@gmx.net>
2444 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2449 * BufferView_pimpl.C:
2458 2003-12-15 Angus Leeming <leeming@lyx.org>
2460 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2461 than getFromGUIName to manipulate the color.
2463 2003-12-14 Angus Leeming <leeming@lyx.org>
2465 * BranchList.[Ch]: minimize the API.
2466 (Branch::getBranch, getColor): now return a 'const &'.
2467 (Branch::setSelected) now returns a bool set to true if the
2468 selection status changes.
2469 (BranchList::clear, size, getColor, setColor, setSelected,
2470 allBranches, allSelected, separator): removed.
2471 (BranchList::find): new functions, returning the Branch with
2473 (BranchList::add, remove): return a bool indicating that
2474 the operation was successful.
2476 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2477 new InsetBranch::isBranchSlected member function.
2479 * LColor.[Ch]: mimimize the API.
2480 (fill): renamed as addColor and made private.
2481 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2482 versions of these functions taking a string arg have been removed.
2484 * bufferparams.C (readToken):
2485 * lyxfunc.C (dispatch):
2486 * lyxrc.C (read): changes due to the altered BranchList and
2489 * factory.C (createInset, readInset): changes due to altered
2492 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2495 * lyxfunc.C: remove insetminipage. "minipage-insert"
2496 now produces a frameless minipage box inset.
2498 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2500 * textcursor.[Ch] (selStart,selEnd): add new methods
2501 remove selection::start, end, use LyXCursor::operator<
2502 * lyxcursor.[Ch] (operator<): add
2503 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2504 * BufferView.[Ch] (unsetXSel): add
2505 * text2.C (clearSelection): use unsetXSel,adjust
2508 * rowpainter.C: adjust
2509 * bufferview_funcs.C (put_selection_at): adjust
2511 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2513 * BufferView_pimpl.C: small coord. correction
2515 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2517 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2518 dragging over the splash screen.
2520 2003-12-11 Angus Leeming <leeming@lyx.org>
2522 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2523 as it is now handled in LyXText::dispatch.
2525 * text3.C (doInsertInset): remove a level of nesting.
2527 2003-12-11 Angus Leeming <leeming@lyx.org>
2529 * factory.C (createInset): changes due to the changed interface to
2530 InsetCommandMailer::string2params.
2532 2003-12-10 Angus Leeming <leeming@lyx.org>
2534 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2535 'dialog-show-new-inset <inset name>'
2537 2003-12-10 Angus Leeming <leeming@lyx.org>
2539 * buffer.C: up the format to 227.
2541 * factory.C: the box inset is now identified simply by 'Box'.
2543 2003-12-10 Angus Leeming <leeming@lyx.org>
2545 * buffer.C: up the format to 226.
2547 * factory.C: the note inset is now identified simply by 'Note'.
2549 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2551 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2552 when a pit is enough. Standarize a couple of loops.
2554 2003-12-05 Angus Leeming <leeming@lyx.org>
2556 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2557 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2558 data to the re-worked "log" dialog.
2560 2003-12-03 André Pönitz <poenitz@gmx.net>
2566 * paragraph_funcs.C:
2568 * text2.C: use Inset::getText instead of Inset::getParagraph
2570 2003-12-03 André Pönitz <poenitz@gmx.net>
2574 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2575 InsetText::read() as LyXText::read()
2577 2003-12-02 Angus Leeming <leeming@lyx.org>
2579 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2580 type. Add a comment in the implementation that the function uses
2581 the stream's bad() function rather than fail() as the std::streams
2584 2003-12-02 André Pönitz <poenitz@gmx.net>
2586 * lyxlex.[Ch]: make interface more similar to std::stream
2588 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2590 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2592 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2594 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2596 * vspace.[Ch]: remove VSpace::NONE
2598 2003-12-01 André Pönitz <poenitz@gmx.net>
2601 * lyxtext.h: move ParagraphList member to LyXText
2602 rename LyXText::ownerParagraphs to LyXText::paragraph
2605 * bufferview_funcs.C:
2615 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2617 * undo.C: fix cursor positioning
2619 2003-12-01 John Levon <levon@movementarian.org>
2621 * BufferView_pimpl.C: fix a crash on exit with
2624 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2626 * BranchList.C: fix setSelected() method.
2628 2003-11-28 André Pönitz <poenitz@gmx.net>
2630 * ParagraphParameters.[Ch]:
2631 * ParameterStruct.h: remove space above/below from Paragraph to
2634 * BufferView_pimpl.C:
2640 * paragraph_funcs.C:
2646 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2648 * factory.C: Syntax change for CharStyles
2650 2003-11-28 André Pönitz <poenitz@gmx.net>
2655 * buffer.[Ch]: move LyXText member
2657 2003-11-28 André Pönitz <poenitz@gmx.net>
2659 * BufferView.[Ch]: make LyXText * text a private member
2661 * BufferView_pimpl.C:
2672 * output_plaintext.C: cleanup
2674 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2677 * lyxtextclass.[Ch]: parametrize SGML document header
2679 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2682 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2685 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2687 * text2.C (setFont): rework using PosIterator (no more recursive)
2688 (setCharFont): no more needed
2689 (setLayout): no more selection cursors fiddling (done by redoCursor)
2690 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2691 destroy remaining ones)
2693 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2695 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2697 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2700 * text3.C: adjust + re-allow multi par depth changes
2701 * textcursor.C: simplify a bit
2703 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2709 * src/output_docbook.C:
2710 * src/output_latex.C:
2715 * src/text2.C: Introducing a number of tags parametrizing various
2716 XML formats that we may want to support
2718 2003-11-25 André Pönitz <poenitz@gmx.net>
2720 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2722 * lyxtext.h (leftMargin/rightMargin): simplify interface
2729 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2731 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2732 master file to any child files. Fixes bug 546.
2734 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2736 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2738 2003-11-24 André Pönitz <poenitz@gmx.net>
2740 * rowpainter.C: simplification
2742 * text2.C (updateCounters): remove call to redoParagraph on
2743 changed labels as this is far too expensive.
2745 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2747 * converter.C (convert): fix a crash: this function gets
2748 called with buffer == 0 from importer code.
2750 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2752 * text3.C (cursorPrevious): make sure that we do not compare
2753 iterators form different containers.
2756 * rowpainter.C (paintSelection): make sure that we do not compare
2757 iterators from different containers.
2759 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2760 iterators from different ParagraphList containers.
2763 * text2.C (LyXText): change order of initialization slightly
2764 (operator=): new function. copy all variables except cache_par_
2765 (moveUp): make sure that we do not compare iterators from
2766 different ParagraphList constainers.
2769 * text.C (firstPar): new function
2770 (lastPar): new function
2771 (endPar): new function
2773 * lyxtext.h: move things around and group public functions, public
2774 variables, private functions, private variables
2776 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2778 * factory.C: change call to InsetERT constructor to avoid
2779 additional invocation of method status
2780 * text2.C (toggleInset): remove redundant update() call
2781 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2782 instead of a Bufferview pointer
2784 2003-11-21 André Pönitz <poenitz@gmx.net>
2786 * rowpainter.C: simplification
2788 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2790 * text3.C (dispatch): make possible to extend a word/row selection
2793 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2795 * lyxtext.h: x0_,y0_ -> xo_,yo_
2796 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2797 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2798 * rowpainter.C (paintRows): paint full paragraphs
2800 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2802 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2805 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2807 * lyxtext.h: add x0_, y0_
2808 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2809 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2811 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2813 * text2.C (setCursorIntern): move the x_target update here *
2814 * text3.C: change some bv() to true/false in calls to
2815 cursorUp/Down/Right/Left
2816 * cursor.C: use helper function.
2818 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2820 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2821 * paragraph_funcs.[Ch]: correct comment
2822 * rowpainter.C: do not paint selections away from bv->cursor()
2823 Fix a long standing selection painting bug.
2824 * text3.C: generalize mouse-selection code to LyXTexts other that
2826 * textcursor.C: do not use y coords if we can use par offsets
2828 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2830 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2831 cursor position after e.g. inset insert)
2833 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2835 * lyxfind.C (replace): adjust to locking removal + some
2838 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2840 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2843 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2846 * output_docbook.C: XML sanitation: new layout
2847 parameters InnerTag and CommandDepth
2849 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2851 * BufferView_pimpl.C:
2853 * text3.C: Fix the insertion and modification of button-style
2856 2003-11-13 André Pönitz <poenitz@gmx.net>
2858 * InsetList.[Ch]: remove deleteLyXText
2860 * paragraph.[Ch]: cache beginOfBody position
2865 * text3.C: remove superfluous update() calls
2869 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2871 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2872 * BufferView.C (fitLockedInsetCursor): remove
2873 * cursor.[Ch] (getDim): add
2874 * text.C (getRowNearY): add faster version
2875 * text3.C: remove some update calls
2877 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2889 * text3.C: The Character Style /XML short element patch.
2891 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2894 * factory.C: Small step to solving 'unable to insert some insets'
2897 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2899 * cursor.[Ch] (updatePos): new function for updating the y
2900 position of the tip inset
2901 * bufferview_funcs.C (put_selection_at):
2902 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2904 2003-11-11 André Pönitz <poenitz@gmx.net>
2906 * text.C: remove big comment on invalid Paragraph pointers as it is
2909 2003-11-11 André Pönitz <poenitz@gmx.net>
2911 * text_funcs.[Ch]: merge with ...
2919 * Makefile.am: remove text_funcs.[Ch]
2921 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2923 * cursor.C (getPos): return absolute cached y coord
2925 * BufferView_pimpl.C (fitCursor): new simplistic code
2926 (workAreaDispatch): add a fitCursor call
2928 2003-11-10 André Pönitz <poenitz@gmx.net>
2931 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2933 2003-11-10 André Pönitz <poenitz@gmx.net>
2935 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2936 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2937 indicate that the cursor needs to leave an inset
2939 * lyxtext.h: remove inset locking
2941 * cursor.[Ch]: re-implement functionality provided by inset locking
2944 * BufferView_pimpl.[Ch]:
2946 * bufferview_funcs.[Ch]:
2958 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2960 * PosIterator.[Ch]: replace the stack with a vector, add inset
2962 * iterators.[C]: adjust
2964 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2966 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2968 * paragraph_funcs.C (readParToken): put the correct id in the
2969 error item, not the id of the top paragraph
2971 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2973 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2974 * bufferview_funcs.C (put_selection_at): use the above
2976 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2978 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2980 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * output_linuxdoc.h:
2983 * output_plaintext.h:
2985 * output_docbook.h: add #include statements
2987 2003-11-05 José Matos <jamatos@lyx.org>
2989 * output_docbook.[Ch]:
2990 * output_latex.[Ch]:
2991 * output_linuxdoc.[Ch]:
2992 * output_plaintext.[Ch]: New files for output formats.
2993 * output.[Ch]: New file for helper functions.
2996 * paragraph_funcs.[Ch]: output functions moved to new files.
2998 * outputparams.h: rename of latexrunparams.h
3006 * paragraph_funcs.[Ch]:
3007 * paragraph_pimpl.[Ch]:
3008 * tabular.[Ch]: rename ascii to plaintext
3009 and LatexRunParams to OutputParams.
3011 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3013 * iterators.[Ch] (text): require bv argument
3014 * undo.C (recordUndo):
3015 * lyxfunc.C (dispatch):
3016 * bufferview_funcs.C (put_selection_at): adjust
3018 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3020 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3022 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3024 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3027 2003-11-04 André Pönitz <poenitz@gmx.net>
3029 * cursor.[Ch]: restructure
3032 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3034 * iterators.[Ch] (asCursor): remove
3036 * lfuns.h: remove LFUN_INSET_EDIT
3042 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3044 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3046 * lyxfind.[Ch]: complete overhaul
3047 * BufferView_pimpl.C:
3049 * paragraph.[Ch] (insert): add
3051 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3055 * text.C: remove dead spellcheck code
3057 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3059 * dispatchresult.h: add a val setter
3061 * cursor.C (dispatch): use a tempvar for data_[i]
3063 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3065 * PosIterator.[Ch]: compile fix
3067 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3069 * text.C (cursorPar): deactivate the cursor cache
3071 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3073 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3075 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3077 * text3.C (dispatch): adjust for new DisptchResult semantics.
3079 * lyxfunc.C (dispatch): handle update when return from
3080 Cursor::dispatch, adjust for new DispatchResult semantics.
3082 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3083 DispatchResult(true) mean to not update. Add class functions for
3084 setting dispatched and update, as well as reading.
3086 * cursor.C (dispatch): don't handle update here
3088 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3091 * trans_mgr.C: adjust
3093 * paragraph_funcs.C (readParToken): exception safety
3095 * lyxvc.h: store the vcs pointer in a scoped_ptr
3098 * lyxsocket.C (serverCallback): exception safety
3100 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3102 * ispell.C (clone): make it return a auto_ptr
3104 * factory.C (createInset): exception safety
3105 (readInset): exception safety
3107 * bufferlist.C (newBuffer): exception safety
3109 * Thesaurus.C (Thesaurus): use initialization for aik_
3111 * MenuBackend.C (expandToc): exception safety.
3113 2003-11-03 André Pönitz <poenitz@gmx.net>
3117 * bufferview_funcs.C: remove getInsetFromId()
3120 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3126 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3128 * PosIterator.C (distance, advance): new
3129 * bufferview_funcs.[Ch] (put_selection_at): new
3130 * iterators.[Ch] (lockPath): new
3132 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3134 * iterators.[Ch] (asPosIterator): added
3135 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3136 * PosIterator.[Ch]: added
3138 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * cursor.C (dispatch):
3143 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3145 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3146 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3147 contructor, add a class function dispatched. Remove operator>=
3149 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * debug.C: only use the default constructor for debugstream
3154 * main.C (main): include debug.h and setup the lyxerr streambuf
3157 2003-10-31 José Matos <jamatos@lyx.org>
3159 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3161 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3162 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3163 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3164 * paragraph_pimpl.C (simpleTeXSpecialC):
3165 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3166 add LatexRunParams argument.
3168 * exporter.C (Export): change call accordingly.
3170 * latexrunparams.h: add new member to take care of the other backends.
3171 2003-10-30 José Matos <jamatos@lyx.org>
3173 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3174 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3175 factorise code for paragraph output.
3177 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3180 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text3.C (dispatch):
3183 * lyxfunc.C (dispatch):
3184 * cursor.C (dispatch):
3185 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3187 * dispatchresult.h: make the dispatch_result_t ctor explicit
3189 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3192 * buffer.C: small refactoring of docbook stuff
3194 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3199 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3202 operator dispatch_result_t, and operators for == != and >=
3204 * cursor.C (dispatch): adjust for operator dispatch_result_t
3205 removal. comment out call to update
3207 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3209 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3220 * dispatchresult.h: new file, DispatchResult broken out of
3223 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3225 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3227 * text.C (rowBreakPoint): put a hack inside #if 0
3229 2003-10-28 André Pönitz <poenitz@gmx.net>
3233 * paragraph_funcs.C:
3236 * text2.C: general cleanup (lots of small stuff)
3238 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3240 * text2.C (cursorEnd): simple fix to the "end key goes to one
3241 before the end on last row" bug
3243 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3245 * text.C (backspace): fix the "zombie characters"
3247 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3249 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3251 2003-10-27 André Pönitz <poenitz@gmx.net>
3253 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3255 * factory.C: handle new InsetPagebreak, InsetLine
3257 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3258 and move handling into new InsetPagebreak, InsetLine
3260 * BufferView_pimpl.C:
3262 * ParagraphParameters.C:
3263 * ParameterStruct.h:
3268 * paragraph_funcs.C:
3269 * paragraph_pimpl.C:
3275 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3278 * lyxrow_funcs.[Ch]:
3284 * text3.C: remove lastPos uses in favour of Row::endpos
3286 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3288 * undo.C (performUndoOrRedo): fix two crashes by setting a
3289 cursor by hand and reordering some calls. Use bv->lockInset instead
3290 of inset->edit because the latter loses cursor information
3292 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3294 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3296 (rowBreakPoint): fix width. change point to point + 1.
3297 Add a missing check.
3299 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3302 * lyxfunc.C: fix (at least partly) the problems
3303 with the Nav menu and headers inside branch insets
3306 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3308 * paragraph.C (getChar): add strong asserts
3310 * lyxrow_funcs.C (lastPos): remove hideous hack
3312 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3313 (fill): adjust to that (avoid an infinite loop)
3315 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3317 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3319 2003-10-23 André Pönitz <poenitz@gmx.net>
3321 * RowList_fwd.h: change list<> to vector<> to gain speed
3322 after suggestion from Alfredo
3324 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3326 * lyxtext.h: move the bidi stuff from here...
3329 * Bidi.[Ch]: ... to here
3331 2003-10-23 André Pönitz <poenitz@gmx.net>
3334 * text.C (isLastRow, isFirstRow): new functions
3336 * paragraph.h: new width cache member
3338 * rowpainter.C: replace RowList::iterator with Row & where possible
3340 * lyxfunc.C: replace several view()->text with a single call
3342 * toc.C: fix 'unused' warning
3344 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3347 when woring with stream::pos_type
3348 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3350 2003-10-22 André Pönitz <poenitz@gmx.net>
3353 * text.C: use Row & instead of RowList::iterator
3355 * lyxrow.h: rename end() to endpos()
3361 2003-10-22 Angus Leeming <leeming@lyx.org>
3363 * buffer.[Ch] (fully_loaded): new member function, returning true
3364 only when the file has been loaded fully.
3365 Used to prevent the premature generation of previews and by the
3366 citation inset to prevent computation of the natbib-style label.
3368 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3369 templates are all set up.
3371 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3373 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3375 * text.C: fixed an "oops" in the "is a bit silly"
3378 2003-10-21 André Pönitz <poenitz@gmx.net>
3380 * FuncStatus.[Ch]: small stuff, whitespace
3382 * lyxfont.[Ch]: operator<<() for debug reasons
3386 * lyxtext.h: whitespace, spelling
3388 * paragraph.C: naming of variables
3391 * text2.C: small stuff
3394 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3396 * text.C: (1) finish off the inset display() work;
3397 (2) fix the "is a bit silly" bug (accessing char
3400 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3402 * text.C: re-introduce display() for insets, fixing the
3403 various bugs (stretch of line above, math inset
3406 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3408 * text.C (rightMargin): remove spurious semicolon
3410 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3413 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3415 * text3.C: fix one crash due to wrong cursor def
3417 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3419 * vc-backend.C (scanMaster): make the regex static
3421 * LaTeX.C (scanAuxFile): make the regexs static
3423 * text3.C (doInsertInset, dispatch, dispatch):
3424 * text2.C (cursorUp, cursorDown):
3425 * text.C (selectNextWordToSpellcheck):
3426 * BufferView_pimpl.C (dispatch):
3427 * lyxfunc.C (dispatch): localDispatch -> dispatch
3429 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3431 * lyxsocket.C: include <cerrno>
3433 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * lyxfunc.C (dispatch): remove textcache stuff
3437 * bufferlist.C (release): remove textcache stuff
3440 * TextCache.C: delete file
3441 * TextCache.h: delete file
3443 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3445 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3446 delete of the bv_->text.
3447 (resizeCurrentBuffer): remove texcache stuff
3448 (workAreaResize): ditto
3450 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3455 2003-10-16 André Pönitz <poenitz@gmx.net>
3462 * text3.C: speed up by storing y positions per paragraph plus per-row
3463 offset instead of having a 'full' y position in the row.
3465 2003-10-15 André Pönitz <poenitz@gmx.net>
3469 * undo.[Ch]: make undo aware of inner insets
3471 2003-10-14 Angus Leeming <leeming@lyx.org>
3473 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3474 static member functions LyX::ref() and LyX::cref.
3475 (lastfiles): new accessor functions for the new lastfiles_ member var.
3476 (addLyXView, views_): add a new LyXView to the list of views_.
3477 (updateInset): loop over all LyXViews to call their own updateInset
3478 member function, returning a pointer to the Buffer owning the inset.
3480 * BufferView_pimpl.C (loadLyXFile):
3481 * MenuBackend.C (expandLastfiles):
3482 * bufferlist.C (MenuWrite, QuitLyX):
3483 lastfiles is no longer a global variable.
3484 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3486 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3487 static function. Access through LyX::cref().emergencyCleanup().
3489 2003-10-14 André Pönitz <poenitz@gmx.net>
3491 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3493 * undo.[Ch]: restoring part of 'undo in insets'
3496 * undo_funcs.[Ch]: merge with undo.[Ch]
3498 * tabular.C: small cleansing stuff
3500 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3502 * paragraph_funcs.C (readParToken): report unknown insets as error
3503 boxes. Use the outer paragraph as location (also for unknown
3506 * factory.C (readInset): do not abort on reading an unknown inset.
3507 Eat it and return 0.
3509 2003-10-13 Angus Leeming <leeming@lyx.org>
3511 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3513 * lyxrc.C: displayTranslator is now a function,
3514 declared in GraphicsTypes.h.
3516 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3518 * format.C: new placeholder $$a to pass the socket address.
3520 * bufferlist.[Ch]: new function getBufferFromTmp.
3522 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3523 files in the temporary dir.
3525 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3527 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3529 * Makefile.am: add lyxsocket.[Ch].
3531 * lyx_main.C (error_handler): handle SIGPIPE.
3533 2003-10-13 André Pönitz <poenitz@gmx.net>
3535 * BufferView_pimpl.C:
3540 * undo_funcs.[Ch]: use paroffset_type instead of
3541 ParagraphList::iterators to prevent multiple conversion
3542 (and get a more robust interface)
3544 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3548 * text3.C (dispatch): ditto
3550 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3553 move the onlyfile, use onlyfile instead of foundfile in a couple
3556 * DepTable.C (update): flush the error stream a bit more
3558 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * lyxserver.C (callback): adjust
3562 * lyxfunc.C (getStatus): add a missing brace in commented code
3563 (ensureBufferClean): reindent
3564 (dispatch): delete version taking a string
3566 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * LaTeX.C (deplog): move found file handlig from here...
3569 (handleFoundFile): .. to new function here.
3570 (deplog): make sure to discover several files mentioned on the
3573 2003-10-10 André Pönitz <poenitz@gmx.net>
3580 * text3.C: fix some of the tabular crashes
3582 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3584 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3586 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3588 2003-10-09 André Pönitz <poenitz@gmx.net>
3590 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3593 * BufferView_pimpl.C:
3594 * bufferview_funcs.C:
3605 * undo_funcs.C: adjust
3607 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * text2.C (incrementItemDepth): new function, use a backtracking
3610 algorithm to discover the correct item depth.
3611 (resetEnumCounterIfNeeded): new function, use a backtracking
3612 algorithm to discover if counter reset is needed.
3613 (setCounter): use them. Simplify a bit. Add different labels for
3614 different item depths for itemize.
3616 * paragraph.C (Paragraph): remove initialization of enumdepth
3619 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3620 enumerate and itemize. Change the type of itemdepth to signed char.
3622 2003-10-08 André Pönitz <poenitz@gmx.net>
3624 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3629 * tabular.[Ch]: fix crash after 'row-insert'
3631 2003-10-08 Angus Leeming <leeming@lyx.org>
3633 Fix doxygen warnings.
3635 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3636 Remove CutAndPaste:: prefix from header file declaration.
3638 * LColor.h (fill): remove LColor:: prefix from declaration.
3640 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3641 use lyx::depth_type rather than Paragraph::depth_type so that
3642 header file and .C file match.
3644 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3646 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3647 * aspell.C: \file aspell_local.C -> \file aspell.C
3648 * gettext.C: \file gettext.C -> \file src/gettext.C
3649 * gettext.h: \file gettext.h -> \file src/gettext.h
3650 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3651 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3652 * text.C: \file text.C -> \file src/text.C
3654 * toc.C: move comment so that doxygen is not confused.
3656 2003-10-07 Angus Leeming <leeming@lyx.org>
3658 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3660 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3663 * aspell_local.h: add forgotten std::string's.
3665 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3672 * text3.C: The Box patch. Fancybox support, minipage, parbox
3674 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3680 * ParagraphParameters.h:
3690 * lyxtextclasslist.h:
3693 * paragraph_pimpl.C:
3694 * textcursor.h: add <string> and other small fixes to make Lars'
3695 std::string patch compile with STLport.
3697 2003-10-06 Angus Leeming <leeming@lyx.org>
3699 * LColor.h: Add missing #include <string>.
3701 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * All most all file in all subdirs: Make <string> be the prefered
3704 way of getting to std::string, add using declarations.
3706 2003-10-06 André Pönitz <poenitz@gmx.net>
3708 * metricsinfo.C: initialize LyXFont before changing attribute.
3709 (fixes the 'math in \emph is upright' bug)
3711 2003-10-06 André Pönitz <poenitz@gmx.net>
3713 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3715 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3718 * paragraph_pimpl.C: Small fixes to build using STLport
3720 2003-10-02 André Pönitz <poenitz@gmx.net>
3723 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3725 2003-10-01 André Pönitz <poenitz@gmx.net>
3727 * factory.C: assert early
3729 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * lyx_main.C: remove the global debug object
3733 * debug.h: adjust for new debugstream
3735 * debug.C: adjust for new debugstream and keep the global debug
3738 2003-09-22 Angus Leeming <leeming@lyx.org>
3740 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3741 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3742 an incomplete class LyXFont.
3744 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3746 * factory.C: bug fix in branches
3748 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * lyxfunc.C (processKeySym): adjust
3752 (dispatch): change arg name from ev to func, adjust
3753 (sendDispatchMessage): ditto
3755 * lyx_main.C (defaultKeyBindings): adjust keybindings
3756 (deadKeyBindings): ditto
3758 * kbsequence.C (addkey): return a FuncRequest
3760 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3762 * kbmap.C (bind): take a FuncRequest as arg, adjust
3765 (defkey): change to take a FuncRequest as arg, adjust
3766 (findbinding): take a FuncRequest as arg, adjust.
3768 * funcrequest.h (operator=): added
3770 * funcrequest.C (FuncRequest): default kb_action changed from
3771 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3773 * buffer.C (dispatch): simplify
3774 (dispatch): adjust to take a FuncRequest as arg, adjust
3776 * boost.C (assertion_failed): change assertion message slightly
3778 * ToolbarBackend.C (read): simplify
3780 * MenuBackend.C (binding): adjust call to findbinding, add a
3781 message if no binding is found.
3783 (expandToc): correct by adding a empty FuncRequest
3785 * LyXAction.C: include <boost/assert.hpp>
3786 (isPseudoAction): delete function
3787 (LookupFunc): change name to...
3788 (lookupFunc): this. change return type to FuncRequest.
3789 (getActionName): take kb_action as arg, simplify
3790 (funcHasFlag): add an assert, simplify.
3792 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * toc.C (action): return a FuncRequest, simplify
3796 * lyxfunc.C (processKeySym): adjust
3797 (getStatus): delete version that takes an int.
3799 (dispatch): delete version that takes action as int
3801 (sendDispatchMessage): simplify and adjust
3803 * funcrequest.C (getArg): take unsigned int as arg
3805 * ToolbarBackend.C (read): adjust
3806 (add): delete version that takes func as a string.
3807 (getIton): take a FuncRequest as arg
3809 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3812 * MenuBackend.C (MenuItem): add a new construct that only takes a
3813 Kind, simplify the constructor use for submenus.
3815 (expandLastfiles): adjust
3816 (expandDocuments): adjust
3817 (expandFormats): adjust
3818 (expandFloatListInsert): adjust
3819 (expandFloatInsert): adjust
3820 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3822 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3823 Remove class variables lyx_pseudo_map and lyx_arg_map
3825 * LyXAction.C (searchActionArg): delete function
3826 (getPseudoAction): delete function
3827 (retrieveActionArg): delete function
3828 (LookupFunc): make it return kb_action, simplify.
3829 (getActionName): simplify
3831 * factory.C (createInset): fix new bug
3833 2003-09-19 Angus Leeming <leeming@lyx.org>
3835 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3836 masterFilename_ parameter in the include inset.
3838 * factory.C (createInset): changes due to the changes to InsetInclude.
3840 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3842 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3844 2003-09-18 Angus Leeming <leeming@lyx.org>
3847 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3848 Inset::fillWithBibKeys.
3849 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3851 2003-09-18 Angus Leeming <leeming@lyx.org>
3853 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3855 (ctor): pass and store a 'Buffer const &'
3856 (buffer): new member function.
3858 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3859 '*this' to the LaTeXFeatures ctor.
3861 2003-09-18 Angus Leeming <leeming@lyx.org>
3867 * text.C: rename EnumLColor as LColor_color.
3869 2003-09-18 Angus Leeming <leeming@lyx.org>
3871 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3872 remove #include "insets/insetbase.h" from cursor.h.
3874 2003-09-18 Angus Leeming <leeming@lyx.org>
3876 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3877 InsetOld_code to remove #include "inset.h".
3879 * iterators.C: add #include "insets/inset.h"
3881 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3883 * BufferView.C: remove more locking stuff that apparently doesn't
3884 do anything sensible.
3886 2003-09-16 André Pönitz <poenitz@gmx.net>
3889 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3892 2003-09-16 Angus Leeming <leeming@lyx.org>
3894 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3896 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3899 * paragraph.h: remove #include "lyxfont.h". Forward declare
3902 2003-09-16 Angus Leeming <leeming@lyx.org>
3904 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3905 of support/textutils.h.
3906 (isWord): move the contents of support/textutils.h's IsWordChar here.
3912 * text2.C: add #include "paragraph.h".
3915 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3917 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * LaTeX.C: use namespace alias for lyx::support::os
3925 2003-09-16 Angus Leeming <leeming@lyx.org>
3928 * bufferview_funcs.C:
3931 * paragraph_pimpl.C:
3933 * text.C: add #include "LColor.h".
3935 2003-09-16 Angus Leeming <leeming@lyx.org>
3937 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3938 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3940 Store the FontBits::color variable as an int rather than as an
3941 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3944 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3945 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3946 string calls together.
3948 * lyxrc.C: add #include "LColor.h".
3950 2003-09-15 Angus Leeming <leeming@lyx.org>
3952 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3955 2003-09-15 Angus Leeming <leeming@lyx.org>
3957 * LColor.h: add an EnumLColor wrapper for LColor::color.
3959 * lyxfont.[Ch] (color, setColor, realColor):
3960 * lyxtext.h, text.C (backgroundColor):
3961 pass EnumLColor args to/from the functions, rather than LColor::color
3965 * lyxtext.h: forward declare EnumLColor.
3967 * lyx_main.C: add #include "LColor.h".
3969 2003-09-15 Angus Leeming <leeming@lyx.org>
3971 * .cvsignore: add lyx-gtk.
3973 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * ParagraphParameters.C
3982 * bufferview_funcs.C
3992 * vc-backend.C: remove usage of STRCONV
3994 2003-09-15 Angus Leeming <leeming@lyx.org>
3996 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3997 explicitly define the color passed to the painter.
3999 2003-09-15 Angus Leeming <leeming@lyx.org>
4001 * bufferparams.C (BufferParams): reorder member initializers to avoid
4004 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4006 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4007 * text.C (updateRowPositions): remove an unusual nop
4009 2003-09-12 André Pönitz <poenitz@gmx.net>
4011 * BufferView_pimpl.C:
4020 * Counters.[Ch]: finish the 'automatic counters' job
4022 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4024 * aspell.C: include <boost/assert.cpp> (compile fix)
4026 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4028 * boost.C (assertion_failed): use lyx::support::abort instead of
4031 2003-09-10 Angus Leeming <leeming@lyx.org>
4033 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4034 with their _fwd progeny.
4036 2003-09-09 Angus Leeming <leeming@lyx.org>
4038 134 files throughtout the source tree: replace 'using namespace abc;'
4039 directives with the appropriate 'using abc::xyz;' declarations.
4041 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4043 * boost.C (emergencyCleanup): moved here from LAssert.c
4044 (assertion_failed): new function, called by BOOST_ASSERT
4046 * several files: change Assert to BOOST_ASSERT
4048 2003-09-09 Angus Leeming <leeming@lyx.org>
4050 * buffer.[Ch]: Add an Impl class and move Buffer's member
4051 variables into it. As a result move several header files out of
4054 Add header files to lots of .C files all over the tree as a result.
4056 2003-09-09 Angus Leeming <leeming@lyx.org>
4058 * buffer.[Ch]: make Buffer's member variables private. Add
4061 Lots of changes all over the tree as a result.
4063 2003-09-08 Angus Leeming <leeming@lyx.org>
4065 * graph.C: #include <config.h>.
4067 2003-09-08 Angus Leeming <leeming@lyx.org>
4071 * BufferView_pimpl.C:
4100 * toc.C: remove redundant using directives.
4102 2003-09-07 Angus Leeming <leeming@lyx.org>
4104 * LaTeXFeatures.h: remove #include "support/types.h".
4105 * ToolbarBackend.h: remove #include <algorithm>.
4106 * changes.h: remove #include <ctime>.
4107 * debug.h: remove #include <iosfwd>.
4108 * graph.h: remove #include "support/std_string.h".
4109 * lyx_main.h: remove #include <csignal>.
4110 * lyxlex_pimpl.h: remove #include <fstream>.
4111 * sgml.h: remove #include <algorithm>, <utility>.
4112 * toc.h: remove #include "support/std_ostream.h".
4113 Add #include <iosfwd>.
4115 2003-09-07 Angus Leeming <leeming@lyx.org>
4117 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4119 * converter.h: forward declare LatexRunParams.
4120 * encoding.h: remove #include "lyxrc.h".
4121 * lyxtext.h: remove #include "LColor.h".
4122 * lyxtextclass.h: remove #include "support/types.h".
4123 * trans.h: remove #include "tex-accent.h".
4124 * trans_mgr.h: remove #include "tex-accent.h".
4125 * insets/inset.h: remove #include "support/types.h", <vector>.
4126 * insets/insetcollapsable.h: remove #include "LColor.h".
4127 * insets/insetinclude.h: remove #include "dimension.h".
4128 * insets/insetlatexaccent.h: remove #include "dimension.h".
4129 * insets/insetoptarg.h:: remove #include "insettext.h".
4130 * insets/insettext.h: remove #include "dimension.h",
4131 <boost/shared_ptr.hpp>
4133 * insets/renderers.h: add #include "dimension.h".
4134 * insets/updatableinset.h: add #include "support/types.h".
4136 * many .C files: Associated changes.
4138 2003-09-06 Angus Leeming <leeming@lyx.org>
4140 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4141 one, inside testInvariant.
4143 * PrinterParams.C: new file.
4144 * PrinterParams.[Ch]: move the function bodies out of line.
4146 2003-09-06 Angus Leeming <leeming@lyx.org>
4148 * ParagraphParameters.h: forward declare ParameterStruct rather than
4149 including its header file.
4150 (depth): moved out-of-line.
4152 2003-09-06 Angus Leeming <leeming@lyx.org>
4154 * BufferView_pimpl.h:
4157 * lyxfunc.h: forward declare LyXKeySym rather than
4158 #include "frontends/LyXKeySym.h".
4160 * BufferView_pimpl.C:
4163 * lyxfunc.C: associated changes.
4165 2003-09-06 Angus Leeming <leeming@lyx.org>
4167 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4168 As a result, can remove the #include "insets/inset.h" from BufferView.h
4170 2003-09-06 Angus Leeming <leeming@lyx.org>
4172 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4173 As a result, can remove the #include "insets/inset.h" from BufferView.h
4175 2003-09-06 Angus Leeming <leeming@lyx.org>
4181 * bufferview_funcs.C:
4182 * BufferView_pimpl.C:
4187 * ParagraphParameters.C:
4192 * frontends/controllers/ControlDocument.C:
4193 * insets/insetcaption.C: rearrange the #includes into some sort of
4196 * buffer.h: remove #includes ErrorList.h, undo.h
4198 2003-09-06 Angus Leeming <leeming@lyx.org>
4200 * support/types.h: add a 'depth_type' typedef, used to store the
4201 nesting depth of a paragraph.
4204 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4205 defining explicitly.
4208 * paragraph_funcs.h:
4209 * ParagraphParameters.h:
4210 * sgml.h: use lyx::depth_type rather than Paragraph or
4211 ParameterStruct's depth_type.
4214 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4217 * BufferView_pimpl.C:
4219 * ParagraphParameters.C:
4222 * bufferview_funcs.C:
4229 * frontends/LyXView.C:
4230 * frontends/controllers/ControlDocument.C:
4231 * frontends/controllers/ControlErrorList.C:
4232 * insets/insetbibitem.C:
4233 * insets/insetbranch.C:
4234 * insets/insetcaption.C:
4235 * insets/insetcollapsable.C:
4236 * insets/insetenv.C:
4237 * insets/insetert.C:
4238 * insets/insetfloat.C:
4239 * insets/insetfoot.C:
4240 * insets/insetfootlike.C:
4241 * insets/insetnewline.C:
4242 * insets/insetquotes.C:
4243 * insets/insettabular.C:
4244 * insets/insettext.C:
4245 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4247 * frontends/controllers/ControlChanges.C: #include "changes.h".
4249 2003-09-06 Angus Leeming <leeming@lyx.org>
4251 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4252 than #including paragraph.h.
4255 * RowList.h: deleted. Superfluous.
4265 * insets/insettext.h: use ParagraphList_fwd.h rather than
4268 * paragraph.h: don't forward declare ParagraphList.
4271 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4272 rather than ParagraphList.h. paragraph.h is still needed for the
4273 Paragraph::depth_type parameters.
4275 * textcursor.h: enable it to compile stand-alone in light of the
4278 * bufferview_funcs.C:
4290 * frontends/controllers/ControlParagraph.C:
4291 * frontends/controllers/ControlTabular.C:
4292 * insets/insetmarginal.C:
4293 * insets/insetminipage.C:
4294 * insets/insetnote.C:
4295 * insets/insetoptarg.C: add header files needed to compile again.
4297 2003-09-06 Angus Leeming <leeming@lyx.org>
4299 * RowList_fwd.h: new file, forward-declaring Row rather than
4300 #including lyxrow.h.
4305 * insets/insettext.h: use it instead of RowList.h
4307 * bufferview_funcs.C:
4314 * text3.C: #include "RowList.h".
4316 2003-09-05 Angus Leeming <leeming@lyx.org>
4318 * factory.C (createInset):
4319 * vspace.C (c-tor): replace sscanf call with an istringstream.
4320 * ispell.C: re-add missing HP/UX headers.
4321 * lyxserver.C: re-add missing os2 headers.
4323 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4332 * text3.C: re-add missing system headers, needed for 2.95.2.
4334 2003-09-05 Angus Leeming <leeming@lyx.org>
4336 Changes most place everywhere due to the removal of using directives
4337 from support/std_sstream.h.
4339 2003-09-05 Angus Leeming <leeming@lyx.org>
4341 Replace LString.h with support/std_string.h,
4342 Lsstream.h with support/std_sstream.h,
4343 support/LIstream.h with support/std_istream.h,
4344 support/LOstream.h with support/std_ostream.h.
4346 Changes resulting throughout the tree.
4348 2003-09-05 Angus Leeming <leeming@lyx.org>
4350 * sgml.h: ensure that the header file can be compiled stand-alone.
4351 * *.C: strip out redundant #includes. (320 in total.)
4353 2003-09-04 Angus Leeming <leeming@lyx.org>
4355 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4356 here (from getPackages).
4358 * debug.[Ch]: add a new EXTERNAL tag.
4360 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4362 * text2.C (cursorEnd): simplify
4364 (getColumnNearX): adjust
4366 * text.C (computeBidiTables): adjust
4369 * rowpainter.C (paintChars): adjust
4370 (paintSelection): adjust
4371 (paintChangeBar): adjust
4374 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4376 (numberOfSeparators): adjust
4378 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4384 * text3.C: Restricts the mouse click functionality
4385 of insets like bibtex, include, toc and floatlist to the visible
4386 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4387 up the dialogs. Cursor has to be in front of the inset (i.e.
4388 start of row) for this to function.
4390 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4392 * bufferview_funcs.C (currentState): output row information
4394 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4396 * bufferview_funcs.C (currentState): output paragraph position
4398 2003-09-04 Angus Leeming <leeming@lyx.org>
4400 * FloatList.h: move out #include "Floating.h".
4401 * LaTeX.h: move out #include "DepTable.h".
4402 * LyXAction.h: move out #include "funcrequest.h".
4403 * buffer.h: move out #include "author.h", "iterators.h".
4404 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4405 * lyx_main.h: move out #include "errorlist.h".
4406 * lyxfunc.h: move out #include "FuncStatus.h".
4407 * lyxtext: move out #include "lyxcursor.h".
4408 * paragraph_pimpl.h: move out #include "counters.h".
4410 2003-09-03 Angus Leeming <leeming@lyx.org>
4412 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4413 preamble_snippets list, enabling us to add snippets to the preamble
4414 only if the snippet was not there already.
4416 2003-09-04 Angus Leeming <leeming@lyx.org>
4418 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4420 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4422 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4425 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4427 * BranchList.C: point fix, earlier forgotten
4429 2003-09-02 Angus Leeming <leeming@lyx.org>
4431 * box.C (contains): renamed from 'contained' after a fantastic
4434 2003-09-02 John Levon <levon@movementarian.org>
4440 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4442 2003-09-02 John Levon <levon@movementarian.org>
4444 * text2.C: simplification of cursorEnd(), including partial
4447 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * buffer.C (readFile): add a space
4451 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4453 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4455 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4457 * buffer.C (readFile): new function, take a filename and a
4458 ParagraphList::iterator
4460 (readFile): adjust, make it private. don't use setStream, make
4461 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4462 always contain the filename.
4464 * BufferView.C (insertLyXFile): simplify and make it work for
4467 2003-08-30 John Levon <levon@movementarian.org>
4469 * Makefile.am: fix dist (from Kayvan)
4471 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * most files: change to use const Buffer refs
4475 2003-08-27 André Pönitz <poenitz@gmx.net>
4477 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4478 on top of ownerPar().
4480 2003-08-27 John Levon <levon@movementarian.org>
4482 * funcrequest.C: properly initialise POD members
4484 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4486 * lyxtext.h (top_y): move top_y from here
4491 * BufferView_pimpl.[Ch]: to here
4492 * frontends/screen.C:
4493 * insets/insettabular.C:
4494 * insets/insettext.C: adjust
4495 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4497 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4500 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4502 2003-08-26 André Pönitz <poenitz@gmx.net>
4504 * paragraph_func.[Ch] (outerPar): new function
4507 * paragraph_funcs.C:
4508 * paragraph_funcs.h:
4509 * paragraph_pimpl.C:
4510 * text2.C: remove Inset::par_owner
4512 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4517 * text2.C: eliminates the needFullRow/display() stuff
4518 altogether, putting the logic in metrics/draw in the insets.
4520 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4522 * text2.C (redoParagraphInternal, redoParagraphs):
4523 * text.C (redoParagraph): add a call to updateRowPositions at the
4524 end of each 'metrics-like' call. Remove all others.
4525 (getRow): remove the 'y-computing' version.
4526 (getRowNearY): do not compute nor return the real y. Solve the
4527 'y < 0' problem and simplify.
4529 2003-08-22 Angus Leeming <leeming@lyx.org>
4531 * *.[Ch]: clean-up of licence and author blurbs.
4532 Also move config.h out of a few .h files and into a few .C files.
4534 2003-08-22 André Pönitz <poenitz@gmx.net>
4536 * lyxrow.[Ch]: add x_ and *fill_ members
4541 * text2.C: adjust/remove prepareToPrint() calls
4543 2003-08-22 André Pönitz <poenitz@gmx.net>
4545 * lyxrow.[Ch]: add end_ member
4547 * lyxrow_funcs.C: use LyXRow::end_
4549 * lyxtext.h (singleWidth): add LyXFont parameter
4552 * text2.C: adjust LyXText::singleWidth() calls
4554 * text.C (redoParagraph): simplify row breaking logic
4557 2003-08-19 André Pönitz <poenitz@gmx.net>
4559 * funcrequest.C: initialize button_ member
4562 * rowpainter.[Ch]: interface consolidation
4564 2003-08-18 André Pönitz <poenitz@gmx.net>
4567 * BufferView_pimpl.C:
4569 * paragraph_funcs.C:
4571 * text3.C: remove LyXScreen::draw() and fitCursor calls
4573 * BranchList.h: remove spurious semicolons
4575 * MenuBackend.C: fix branchlist related crash
4577 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4585 * bufferparams.[Ch]:
4589 * text3.C: implements the 'branch inset'
4590 idea. This allows the output of various versions of a document
4591 from a single source version, selectively outputing or suppressing
4592 output of parts of the text.
4593 This implementation contains a 'branch list editor' in a separate
4594 tab of the document settings dialog. Branches are user definable
4595 and have a "display colour" to distinguish them on-screen.
4597 ColorHandler was somewhat cleaned up.
4598 (1) make possible a dynamically growing LColor list by allowing
4599 the graphic context cache to grow along (vector);
4600 (2) eliminate an IMHO unnecessary step in colour allocation.
4602 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4604 * BufferView_pimpl.C: compile fix
4606 2003-08-15 André Pönitz <poenitz@gmx.net>
4608 * rowpainter.C: remove extra metrics calls
4610 * lyxtext.h: merge the two constructors into a single one,
4611 pass reference to owner's par list
4613 * BufferView_pimpl.C:
4617 2003-08-15 André Pönitz <poenitz@gmx.net>
4619 * lyxrow_funcs.[Ch]:
4622 * paragraph_funcs.C:
4627 * text_funcs.C: split LyXText::rowlist_ into individual
4628 Paragraph::rows_ chunks
4631 * BufferView_pimpl.[Ch]:
4634 * text3.C: remove toggleSelection()
4636 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4638 * bufferlist.C: beautify two alerts (shorter text of buttons)
4639 * buffer.C: Remove redundant ' ' from message
4641 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4642 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4643 rename VALIGN_CENTER to VALIGN_MIDDLE
4645 2003-08-11 André Pönitz <poenitz@gmx.net>
4647 * lyxtext.h (getPar):
4648 * text.C: new function
4650 2003-08-11 André Pönitz <poenitz@gmx.net>
4653 * tracer.[Ch]: remove unneeded files
4655 * InsetList.[Ch]: remove resizeInsetsLyXText()
4660 * text3.C: merge insertParagraphs() and appendParagraph()
4661 remove breakAgain(), update()
4663 * BufferView_pimpl.[Ch]:
4664 * bufferview_funcs.[Ch]:
4668 * tabular.C: adjust after text & InsetList changes.
4670 2003-08-08 André Pönitz <poenitz@gmx.net>
4672 * text.C (insertChar, backspace): replace rowlist fiddling
4673 with rebreak of full par
4676 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4677 checkParagraph, updateInset): removed
4679 2003-08-07 André Pönitz <poenitz@gmx.net>
4682 * text3.C: merge some LFUN handlers, remove dead code
4684 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4686 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4688 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4690 * text2.C (DEPM): fix part of bug 1255 and 1256
4692 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4694 * BufferView_pimpl.C (workAreaDispatch): change to use
4695 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4696 that are no mouse related.
4698 2003-08-05 André Pönitz <poenitz@gmx.net>
4701 * BufferView_pimpl.[Ch]:
4702 * bufferview_funcs.C:
4704 * text3.C: rip out "deep update"
4706 * textcursor.[Ch] (last_sel_cursor): remove unused member
4708 2003-08-04 André Pönitz <poenitz@gmx.net>
4711 * BufferView_pimpl.[Ch]:
4712 * ParagraphParameters.C:
4713 * bufferview_funcs.C:
4719 * text3.C: replace "complicated" BufferView::update(...) calls with
4722 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4724 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4726 * Makefile.am (lyx_SOURCES): add paper.h
4728 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4730 * Makefile.am: move things around so that both lyx-qt and
4731 lyx-xforms can be built (according to --with-frontend). Then lyx
4732 is a symbolic link to lyx-[firstfrontend]
4734 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4736 * Always use std::endl with lyxerr
4738 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4740 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4742 2003-08-01 André Pönitz <poenitz@gmx.net>
4745 * BufferView_pimpl.[Ch]:
4747 * text3.C: merge BufferView::repaint() and BufferView::update()
4749 2003-08-01 José Matos <jamatos@lyx.org>
4751 * buffer.[Ch]: file_format is no longer a buffer data element.
4753 2003-08-01 André Pönitz <poenitz@gmx.net>
4758 * text2.C: make redoParagraph more independent of current cursor
4760 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4762 * text2.C: remove unneeded members
4764 2003-07-30 André Pönitz <poenitz@gmx.net>
4766 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4768 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4769 create a single function...
4771 * paragraph_funcs.C (moveItem): ... here.
4774 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4776 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4778 * LColor.[Ch]: Add comment and greyedout logical colors.
4780 2003-07-30 André Pönitz <poenitz@gmx.net>
4782 * tabular.C: don't use Assert too heavily. This crashes where it
4785 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4787 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4788 is disabled (bug 1232)
4790 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4792 * factory.C: limited 'arg' scope
4794 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4796 * factory.C: fixed Note submenu issues
4798 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4800 * factory.C: submenu for Note/Comment/Greyedout
4802 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4805 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4807 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4810 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4811 greyedout. Patch provided by Jürgen Spitzmüller.
4813 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4815 * kbmap.C (read): fix error message when reading bind files
4817 2003-07-29 Angus Leeming <leeming@lyx.org>
4819 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4820 certainly does not do what it purports to do. I am doing it, and
4821 us, a favour by killing it.
4823 2003-07-28 José Matos <jamatos@lyx.org>
4825 * buffer.C (readBody, do_writeFile):
4826 * paragraph.C(readParagraph): \end_document replaces \the_end.
4828 2003-07-29 André Pönitz <poenitz@gmx.net>
4831 * BufferView_pimpl.[Ch]:
4835 * textcursor.[Ch]: remove toggleToggle & Co
4837 2003-07-28 José Matos <jamatos@fep.up.pt>
4839 * buffer.C (readParagraph):
4840 * params_func (readParToken, readParagraph):
4841 * paragraph.C (write): \layout -> \begin_layout.
4843 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * lyxlex_pimpl.C (setFile): clean up slightly.
4847 * bufferparams.h: add compressed var
4849 * buffer_funcs.C (readFile): adjust for LyXLex change
4850 (newFile): ditto + simplify
4852 * buffer.C (writeFile): handle writing of compressed files
4854 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4855 Check if the file is compressed and set a bufferparm if so.
4857 * Makefile.am (lyx_LDADD): remove explicit -lz
4859 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4861 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4862 makeDocBookFile): put the real LyX version in the first line of
4866 * version.C.in: remove lyx_docversion
4868 * tabular.C (write_attribute): add a template-based version to
4869 write enums properly
4871 2003-07-28 André Pönitz <poenitz@gmx.net>
4876 * text3.C: use doubles again for x-coordinates. They are needed.
4878 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * messages.C (getLocaleDir): use lyx_localedir()
4882 * lyxlex_pimpl.C (setFile): compress stuff
4884 * buffer.C (writeFile): add some compression stuff
4885 (do_writeFile): new func, dont call expliti close... will this
4888 * Makefile.am (lyx_LDADD): add -lz
4890 2003-07-28 José Matos <jamatos@fep.up.pt>
4892 * buffer.C: increment file format.
4893 * paragraph_funcs (readParagraph, readParToken):
4894 * paragraph.C (readParagraph): add \end_layout.
4896 2003-07-27 Angus Leeming <leeming@lyx.org>
4898 * Makefile.am: remove special casing for configure-time setting of
4899 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4901 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4902 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4904 2003-07-26 André Pönitz <poenitz@gmx.net>
4906 * paragraph_func.[Ch]:
4907 * paragraph.C (realizeFont): inline it whereever it is used
4912 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4915 2003-07-26 André Pönitz <poenitz@gmx.net>
4919 * text2.C: get rid of LyXText::need_break_row
4921 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * toc.[Ch]: put namespace toc inside namespace lyx
4925 * MenuBackend.C (expandToc2): adjust for lyx::toc
4928 * lyxfunc.C (dispatch): adjust for lyx::find
4930 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4931 lyx::find instead. Reorganize a bit.
4932 (LyXReplace): rename to replace
4933 (LyXFind): rename to find
4935 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4938 2003-07-26 André Pönitz <poenitz@gmx.net>
4940 * text.C (setHeightOfRow): restrict scope of temporary variable
4942 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4943 code (never has been used?)
4945 2003-07-27 Asger Alstrup <alstrup@local>
4947 * text.C (fill): Optimise algorithm to exploit that we can reuse
4948 the LyXFont for many characters.
4949 (setHeightOfRow): Same thing.
4950 (rowBreakPoint): Same thing.
4952 2003-07-26 Asger Alstrup <alstrup@local>
4954 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4956 * text.C (singleWidth): Spurious font copying in hot-spot
4957 singleWidth avoided. Reorder tests for arabic for efficiency.
4959 * text.C (fill): handle empty paragraphs better.
4961 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * encoding.h: add includes
4966 * lyxrc.C: remove reading of bind files
4968 * lyx_main.C (init): setup bindings and menus only if we have a
4971 * kbmap.C (read): new method. Do the actual reading of bind
4974 * converter.C (dvipdfm_options):
4977 (output): adapt PAPER_* enums.
4979 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4981 * bufferparams.h: remove paper-related enums from there
4983 * paper.h: New file. A trivial header file to hold paper-related
4984 enums. It should later expand to contain many paper-related
4987 * lyxrc.C: declare extern displayTranslator
4989 2003-07-27 José Matos <jamatos@fep.up.pt>
4991 * tabular.[Ch] (linuxdoc): add support for tables and figures
4994 2003-07-27 José Matos <jamatos@fep.up.pt>
4996 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4997 consistency in both functions.
4998 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5000 2003-07-26 Asger Alstrup <alstrup@local>
5002 * rowpainter.C (paintRows): Change algorithm to work directly on
5003 the insets rather than asking every character in the document
5004 whether its an inset.
5006 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5008 * buffer.C (openFileWrite): factorize some code
5010 2003-07-26 Angus Leeming <leeming@lyx.org>
5013 * lyx_main.[Ch]: replace occurances of system_tempdir with
5016 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * rename Inset to InsetOld
5020 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5022 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5023 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5024 which I think is a bit clearer. EDIT is gone, since it was
5025 premature optimisation, and broken for mathed anyway.
5026 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5027 with cursor positioning in insets as well (math insets still do not
5028 work, but that's a different story anyway.) It mysteriously
5029 crashes sometimes with undo in the first paragraph, but I'm fairly
5030 confident that this is a compiler bug.
5032 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * paragraph.C (Paragraph): adjust for new clone return type
5036 (copyIntoMinibuffer): ditto
5038 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5040 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5041 by not having a special case, and always doing a full rebreak of
5042 the document after undo.
5044 2003-07-23 Angus Leeming <leeming@lyx.org>
5046 * factory.C (createInset): InsetExternal::setParams now takes a
5049 2003-07-23 Angus Leeming <leeming@lyx.org>
5051 * factory.C (createInset): changed interface to the external and
5052 graphics mailers' string2params functions.
5054 2003-07-23 Angus Leeming <leeming@lyx.org>
5056 * factory.C (createInset): pass a
5057 Buffer const * parameter to InsetExternalMailer's string2params.
5059 2003-07-22 John Levon <levon@movementarian.org>
5061 * Thesaurus.h: include the right aiksaurus header
5063 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5065 * MenuBackend.C (expand): check menu shortcuts unconditionally
5067 2003-07-21 Angus Leeming <leeming@lyx.org>
5069 * factory.C (createInset): pass a
5070 buffer_path parameter to InsetGraphicsMailer's string2params.
5072 2003-07-21 Angus Leeming <leeming@lyx.org>
5074 * BufferView_pimpl.C (buffer):
5077 * lyxfunc.C (dispatch):
5078 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5079 rather than the grfx shortcut.
5081 2003-07-21 André Pönitz <poenitz@gmx.net>
5083 * rowpainter.C: remove unused variables
5086 * tabular_funcs.h: move to tabular.C
5087 * Makefile.am: adjust
5089 * tabular.[Ch]: basic optical cleaning
5091 * author.h: pass references, not values
5093 2003-07-18 André Pönitz <poenitz@gmx.net>
5101 * text3.C: two-phase drawing for InsetText and InsetTabular
5102 some float -> int changes.
5104 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5106 * lyx_main.C: fix the fix
5108 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5110 * lyx_main.C: fix a crash in batch mode if no files specified
5113 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5115 * format.[Ch] (papersize): moved to BufferParams
5116 * converter.[Ch] (dvips_options): moved to BufferParams
5117 (dvipdfm_options): moved to anon namespace
5118 * bufferparams.[Ch]: added above functions.
5120 2003-07-17 André Pönitz <poenitz@gmx.net>
5124 * text2.C: don't call inset->update() anymore
5126 * metricsinfo.[Ch]: add convenience constructor
5128 2003-07-16 André Pönitz <poenitz@gmx.net>
5133 * text2.C: replace the LyXCursor::irow_ member with
5134 on-demand computation of the value
5136 2003-07-16 John Levon <levon@movementarian.org>
5138 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5140 2003-07-15 André Pönitz <poenitz@gmx.net>
5143 * text2.C: remove no more needed refresh_row
5145 2003-07-15 André Pönitz <poenitz@gmx.net>
5150 * text3.C: refresh_status tristate -> need_update bool
5152 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5154 * lyxtext.h (init): remove reinit argument (act as if always true)
5155 * text2.C: adjust to that
5157 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5159 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5160 * text3.C: use it to delete selections in some cases
5161 (bugs 441, 673, 702, 954).
5163 2003-07-14 André Pönitz <poenitz@gmx.net>
5165 * rowpainter.[Ch]: reduce interface
5167 2003-07-14 André Pönitz <poenitz@gmx.net>
5169 * BufferView_pimpl.C:
5170 * text2.C: adjust after removing unused BufferView * argument
5172 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5174 * text2.C (init): fix a crash fired on resize
5176 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5178 * buffer.[Ch]: added new closing signal
5179 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5180 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5181 BufferView::Pimpl via the closing the signal
5183 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5185 * buffer.[Ch]: take out all bv-related from buffer
5187 * BufferView_pimpl.[Ch]: connect to new signals
5188 * CutAndPaste.C: removed useless asserts
5189 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5192 * lyxfunc.C: moved view-related funciontality from vc here
5193 * paragraph.C: removed outdated comments
5196 2003-07-10 André Pönitz <poenitz@gmx.net>
5198 * BufferView_pimpl.C:
5202 * text2.C: remove InsetText::InnerCache, clean up consequences
5204 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5206 * ispell.C: fix two typos in error messages
5208 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5210 * Extend Note inset to other forms of annotation like Comment
5211 and Greyedout. Right button click gives dialog.
5213 Files modified or added (+):
5217 * ControlNote.[Ch] +
5219 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5220 frontends/controllers
5224 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5226 * aspell.C: add missing namespace lyx::support
5228 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5230 * BufferView.[Ch] (newFile): Add
5231 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5232 * LaTeX.[Ch] (message): added this signal and use it
5233 * buffer.[Ch] (busy, message): added these signals and use them
5234 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5238 * importer.C: use buffer signals instead of direct bv calling
5239 * lyx_cb.[Ch] (ShowMessage): removed
5242 * paragraph_funcs.C:
5243 * text2.C: use buffer signals
5245 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5247 * introduce namespace lyx::graphics
5249 2003-07-02 André Pönitz <poenitz@gmx.net>
5251 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5253 2003-07-01 André Pönitz <poenitz@gmx.net>
5260 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5261 text*.C to text_func.C
5263 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * introduce namespace lyx::support
5267 2003-06-30 André Pönitz <poenitz@gmx.net>
5272 * text.C: re-enable --with-included-string
5274 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * textcursor.C: add <config.h>
5278 * text.C (getWord): remove const from word_location arg
5280 * lyxvc.C (getLogFile): fix const type order
5282 * lyxtext.h: remove const from word_location arg, add arg name
5284 * lyxlayout.h: currect type on labeltype.
5286 * importer.C: correct \file
5288 * converter.C (intToFormat): use std:: on ret val, ws changes
5290 * bufferlist.h: correct \file
5292 * buffer.C (makeLinuxDocFile): fix const type order
5293 (makeDocBookFile): ditto
5294 (fillWithBibKeys): use std:: on stdlib args.
5296 * CutAndPaste.C: fix authors.
5297 (availableSelections): use std:: on return vector
5299 2003-06-27 André Pönitz <poenitz@gmx.net>
5301 * BufferView_pimpl.C:
5302 * bufferview_funcs.C:
5310 * text3.C: remove LyXCursor::row_ member
5313 * text.C: rename fullRebreak() to partialRebreak() and implement
5314 a fullRebreak() that really bereks fully
5316 * textcursor.h: new struct for cursor-related data
5318 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5320 * lyx_main.C (LyX): get full path of document loaded on the
5323 2003-06-26 André Pönitz <poenitz@gmx.net>
5325 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5326 remove unused/broken operator>,<,>=.
5328 * text.C: remove only use of broken operator<= in an Assert().
5330 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5332 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5333 moved errorlist_.clear to showErrorList
5335 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5337 * converter.C (scanLog, runLaTeX):
5338 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5339 move the bv->showErrorList call to the callers
5340 * lyxfunc.C: i.e. here...
5342 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5343 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5344 namespace, the second to...
5345 * buffer_funcs (BufferFormat, parseErrors): added
5346 * errorlist.C (ErrorList(TeXErrors const &)): removed
5348 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5350 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5352 2003-06-24 "Garst R. Reese" <reese@isn.net>
5356 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5358 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5360 * version.C.in: change docversion to 1.4
5362 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5364 * buffer.C: fix a bug just introduced
5366 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5368 * buffer.[Ch]: added the parseError signal and use it, removed
5370 * BufferView.[Ch] (addError): moved to ...
5371 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5372 to the Buffer::parseError signal to catch (guess what) parse errors
5373 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5375 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5377 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5378 ability to create a buffer and to return an existing one from
5379 the list. Moved these functions to...
5380 * buffer_funcs.[Ch]: added
5381 * BufferView.[Ch] (loadLyXFile): added
5382 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5383 job removed from bufferlist::loadLyXFile.
5384 * buffer.C (setReadOnly): make it work without view
5385 (i.e added an if (users))
5387 2003-06-19 Angus Leeming <leeming@lyx.org>
5390 * LyXAction.C (init):
5391 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5392 with LFUN_DIALOG_SHOW <name> <data>.
5394 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5396 * CutAndPaste.C (availableSelections): small compilation fix for
5397 ancient (gcc 2.9x) compilers
5399 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * text3.C (cursorNext): add tmp var
5403 * text2.C (updateCounters): for function calling out of for clause
5404 (replaceSelectionWithString): ditto
5405 (insertStringAsParagraphs): ditto
5406 (getColumnNearX): add tmp var
5407 (setCursorFromCoordinates): add tmp var
5408 (cursorDownParagraph): add tmp var
5409 (deleteEmptyParagraphMechanism): add tmp var
5411 * text.C (insertChar): add tmp var
5413 * rowpainter.C (paintDepthBar): add tmp var
5415 * CutAndPaste.C (availableSelections): potentially check all
5416 paragraphs in a cut to fill the shown strings.
5418 2003-06-18 André Pönitz <poenitz@gmx.net>
5420 * kbmap.[Ch]: use vector<> instead of list<>
5422 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5424 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5425 pasteSelection with index
5427 * text2.C (pasteSelection): modify, call pasteSelection with index
5429 * paragraph.C (asString): reimplement version with no interval to
5430 call the one with interval.
5432 * lyxtext.h: add index arg to pasteSelection
5434 * MenuBackend.C (MenuItem): handle PasteRecent
5435 (Menu::read::Menutags): add md_pasterecent
5437 (expandPasteRecent): new function
5440 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5442 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5444 (availableSelections): new function
5446 2003-06-17 Angus Leeming <leeming@lyx.org>
5448 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5450 2003-06-17 Angus Leeming <leeming@lyx.org>
5453 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5455 * lyxfunc.C (dispatch): invoke it.
5457 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5459 * iterators.C (operator++, ParPosition): reintroduce some
5460 const_cast for the benefit of older compilers.
5462 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5464 * text3.C (dispatch): do not modify clipboard when doing
5465 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5466 LFUN_DELETE_SKIP on a selection selection
5468 2003-06-16 André Pönitz <poenitz@gmx.net>
5474 * tabular.[Ch]: IU of clone() and getLabelList();
5476 2003-06-13 André Pönitz <poenitz@gmx.net>
5478 * tabular.h: compactification
5480 2003-06-12 André Pönitz <poenitz@gmx.net>
5484 * tabular_funcs.h: some renaming plus whitespace
5486 2003-06-12 André Pönitz <poenitz@gmx.net>
5489 * BufferView_pimpl.C:
5495 * toc.C: Return a Paragraph & for ParIterator::operator*()
5497 2003-06-11 John Levon <levon@movementarian.org>
5501 * ToolbarBackend.C: add "Toolbars" section and
5504 2003-06-10 Angus Leeming <leeming@lyx.org>
5507 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5509 * lyxfunc.C (dispatch): invoke it.
5511 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * main.C: protect <ios> with HAVE_IOS
5514 (main): protect sync_with_stdio with HAVE_IOS
5516 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5518 * text2.C (cutSelection): adjust
5519 (pasteSelection): adjust
5521 * messages.C: handle get of empty string
5523 * main.C (main): use sync_with_stdio(false)
5525 * lyxfunc.C (dispatch): adjust
5527 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5528 (WriteAs): remove unneeded BufferView arg.
5530 * bufferparams.h: use correct types on papersize, papersize2 and
5533 * bufferparams.C (readToken): adjust for type
5534 (writeLaTeX): add missing cases to switch.
5536 * bufferlist.C (quitWriteBuffer): adjust
5539 * buffer.C (asciiParagraph): remove some commented code.
5541 * CutAndPaste.C: remove current_view extern variable.
5542 (cutSelection): add BufferParams arg.
5543 (eraseSelection): add BufferParams arg.
5544 (pasteSelection): add Buffer const & arg
5546 2003-06-07 John Levon <levon@movementarian.org>
5549 * paragraph_funcs.C:
5550 * paragraph_pimpl.C:
5554 * paragraph.C: allow InsetERT to freely space lines,
5555 and some consolidation of code
5557 2003-06-06 José Matos <jamatos@fep.up.pt>
5559 * buffer.C (makeDocBookFile): fix bug #821
5561 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5563 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5565 2003-06-04 Angus Leeming <leeming@lyx.org>
5567 * buffer.C: bump format to 224.
5569 2003-06-05 André Pönitz <poenitz@gmx.net>
5571 * text2.C (redoParagraphs): remove two const_cast<>
5573 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5575 * ParagraphList.h: remove last remnants of NO_STD_LIST
5577 2003-06-03 Angus Leeming <leeming@lyx.org>
5579 * factory.C (createInset): small change to the way InsetExternal's params
5582 2003-06-04 André Pönitz <poenitz@gmx.net>
5584 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5586 * paragraph_pimpl.h:
5587 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5589 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5591 * undo_funcs.C: make some simple cases of undo work again
5593 2003-06-03 John Levon <levon@movementarian.org>
5595 * ispell.C: HPUX doesn't have sys/select.h
5598 2003-06-03 John Levon <levon@movementarian.org>
5600 * CutAndPaste.C: update tabular and include inset
5605 * paragraph.C: remove owningBuffer(), don't pass Buffer
5608 * factory.C: insetGraphicsParams changed
5610 2003-06-02 John Levon <levon@movementarian.org>
5616 * text3.C: remove insetparent
5618 2003-06-02 John Levon <levon@movementarian.org>
5621 * buffer.C: fix inset_iterator.end(), move out of line
5624 2003-06-01 John Levon <levon@movementarian.org>
5626 * text3.C: use a proper cut/paste when doing inset
5627 insert (from Jürgen Spitzmüller)
5629 2003-06-01 John Levon <levon@movementarian.org>
5631 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5633 2003-05-30 André Pönitz <poenitz@gmx.net>
5635 * rowpainter.C: unify second drawing phase
5637 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * trans_mgr.C: remove one case of current_view
5641 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5643 * paragraph_funcs.h: remove paragraph.h include
5645 * paragraph.h: delete NO_STD_LIST stuff
5647 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5649 * buffer.h: remove paragraph.h include
5651 * ParagraphList.C: delete file
5653 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5655 * toc.C (getTocList): adjust
5657 * paragraph_pimpl.C (validate): adjust
5659 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5661 * paragraph.C (Paragraph): adjust
5662 (getPositionOfInset): use const_iterator, adjust
5663 (bibitem): use const_iterator, adjust
5664 (setInsetOwner): adjust
5666 * iterators.C (operator++): adjust
5668 * InsetList.[Ch]: Replace selfmade iterator with standard
5669 vector::iterator also introduce const_iterator. Remove getPos,
5670 getInset and setInset from InsetTable. Adjust accordingly.
5672 * BufferView.C (lockInset): adjust
5673 (ChangeInsets): adjust
5675 * tabular.[Ch]: delete commented same_id functions
5677 2003-05-28 John Levon <levon@movementarian.org>
5679 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5681 2003-05-28 André Pönitz <poenitz@gmx.net>
5683 * metricsinfo.[Ch]: remove 'fullredraw' member
5685 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5687 * lyxtextclass.C (operator): remove caching.
5689 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * text2.C (cursorBottom): adjust
5694 (setCounter): use ParagraphList::find, adjust
5696 * text.C (workWidth): use ParagraphList::find, adjust
5698 * lyxcursor.C (LyXCursor): adjust
5700 * buffer.C (inset_iterator): adjust
5702 * ParagraphList.h: make iterator(value_type) private, make
5703 ParagraphList a friend of iterator.
5705 * ParagraphList.C (find): new function
5707 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5709 2003-05-27 André Pönitz <poenitz@gmx.net>
5711 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5713 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5715 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5717 2003-05-26 John Levon <levon@movementarian.org>
5719 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5721 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * remove same_id from function signatures, adjust.
5725 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5729 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5731 * paragraph.C (Paragraph): get rid of same_ids parameter
5733 * ParagraphList.C (insert): adjust
5736 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * paragraph_funcs.C (breakParagraph): adjust
5739 (breakParagraphConservative): adjust
5741 * buffer.C (readParagraph): adjust
5743 * ParagraphList.C (insert): take a reference instead of a pointer
5746 * paragraph.[Ch] (id): new function
5748 * bufferlist.C (newFile): adjust
5750 * ParagraphList.C (ParagraphList): adjust
5752 (push_back): take a reference instead of a pointer.
5754 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5756 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5759 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5760 set else use old code.
5762 * ParagraphList.C: remove all NO_NEXT code and only compile this
5763 code of NO_STD_LIST is set.
5765 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5767 * BufferView_pimpl.C:
5777 * graphics/GraphicsConverter.C:
5778 * graphics/PreviewLoader.C: header adjustment
5780 2003-05-23 Angus Leeming <leeming@lyx.org>
5782 * LaTeXFeatures.[Ch] (useBabel): new method.
5783 * bufferparams.C (writeLaTeX): use it.
5785 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * ParagraphList.h (set): remove unused function.
5789 2003-05-23 André Pönitz <poenitz@gmx.net>
5792 * BufferView_pimpl.C:
5796 * undo_funcs.C: setUndo reworked
5798 * iterators.[Ch]: add access to topmost ParagraphList
5800 * lyxtext.[Ch] (workWidth): add a const
5802 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5804 * texrow.[Ch] (increasePos): remove function
5805 * exporter.C (export): removed unused var and outdated comment
5807 2003-05-23 Angus Leeming <leeming@lyx.org>
5809 * latexrunparams.h: rename fragile as moving_arg.
5810 * paragraph.C (simpleTeXOnePar): ditto.
5811 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5813 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5817 (textUndoOrRedo): comment out a currently unused var.
5819 * paragraph.h (NO_NEXT): enable NO_NEXT
5821 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5823 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5825 * exporter.C (Export): adjust for removeAutoInsets removal.
5827 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5829 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5831 * BufferView.[Ch] (removeAutoInsets): delete function
5833 2003-05-22 Angus Leeming <leeming@lyx.org>
5835 * latexrunparams.h: add a free_spacing variable.
5837 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5838 to pass moving_arg, as the data is stored in runparams.fragile.
5840 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5841 to Inset::latexOptional or to simpleTeXOnePar.
5843 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5844 free_spacing arg to Inset::latexOptional.
5846 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5849 2003-05-22 Angus Leeming <leeming@lyx.org>
5851 * latexrunparams.h: add fragile and use_babel variables.
5853 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5854 * buffer.C (makeLaTeXFile): store this returned value in
5855 runparams.use_babel, thus passing it to the inset::latex methods.
5857 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5858 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5860 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5861 longer has a fragile arg, as it is stored in runparams.fragile.
5863 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5864 moving_arg parameter as the data is stored in runparams.fragile.
5866 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5867 a fragile parameter as the data is stored in runparams.fragile.
5869 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5873 2003-05-22 Angus Leeming <leeming@lyx.org>
5875 * latexrunparams.h: add a 'bool nice' which defaults to false.
5877 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5878 now encapsulated within runparams.
5880 * bufferlist.C (updateIncludedTeXfiles):
5881 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5883 2003-05-22 Angus Leeming <leeming@lyx.org>
5885 * latexrunparams.h: new file containing struct LatexRunParams.
5886 * Makefile.am: add new file.
5888 * LaTeX.[Ch] (c-tor, run):
5889 * buffer.[Ch] (makeLaTeXFile):
5890 * bufferlist.[Ch] (updateIncludedTeXfiles):
5891 * converter.C (convert, scanLog):
5892 * converter.[Ch] (runLaTeX):
5893 * exporter.C (Export):
5894 * paragraph.[Ch] (simpleTeXOnePar):
5895 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5896 * paragraph_funcs.[Ch] (latexParagraphs):
5897 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5898 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5899 pass around a LatexRunParams parameter.
5901 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * paragraph.[Ch]: remove unused constructor
5905 * ParagraphList.C (erase): new function, taking two iterators
5907 2003-05-22 André Pönitz <poenitz@gmx.net>
5909 * undo_funcs.C: remove duplicated code
5911 * iterator.[Ch]: operator=
5913 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * tabular.C (SetMultiColumn): ws changes
5917 * rowpainter.C (paintFirst): get rid of a ->previous
5919 * lyx_cb.C (getPossibleLabel): parlist simplification
5921 * BufferView.C (ChangeInsets): simplify slightly.
5923 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5925 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5926 * lfuns.h: new LFUN_SPACE
5927 * lyxfunc.C: protected space has a new lfun
5928 * paragraph_funcs.C: read new space insets
5930 * factory.C: handle new space insets
5932 2003-05-22 André Pönitz <poenitz@gmx.net>
5935 * BufferView_pimpl.C:
5938 * undo_funcs.C: return a ParIterator from getParFromID.
5940 * iterators.[Ch]: add two const's
5942 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * toc.C (getTocList): adjust
5946 * iterators.[Ch]: rework for parlist
5948 * buffer.C (par_iterator_begin): adjust
5949 (par_iterator_end): adjust
5951 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5953 * BufferView.C (removeAutoInsets): adjust
5954 (ChangeInsets): adjust
5956 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5958 * text.C (top_y): fix bug 1110
5960 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5962 * errorlist.[Ch]: added
5965 * BufferView_pimpl.C:
5966 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5969 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5971 * Makefile.am: ensure that lyx is relinked upon changes to the
5972 various "convenience" libs.
5974 2003-05-20 Angus Leeming <leeming@lyx.org>
5976 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5977 files are compiled in alphabetical order again.
5979 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5981 2003-05-19 Angus Leeming <leeming@lyx.org>
5983 * gettext.[Ch]: remove "char const * _(char const *)".
5985 2003-05-19 André Pönitz <poenitz@gmx.net>
5987 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5996 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5998 2003-05-19 André Pönitz <poenitz@gmx.net>
6002 * lyxtextclass.[Ch]:
6004 * paragraph_funcs.[Ch]:
6006 * text3.C: more insetenv work
6008 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6010 * ParagraphParameters.C (params2string): small bug fixed
6012 2003-05-16 André Pönitz <poenitz@gmx.net>
6015 * bufferview_funcs.C: patch from Kornel Benko to prevent
6016 crash when _(...) is called twice in a statement
6018 2003-05-16 André Pönitz <poenitz@gmx.net>
6025 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6027 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6029 * lyx_main.C (init): remove spurious static_cast
6031 2003-05-14 André Pönitz <poenitz@gmx.net>
6033 * BufferView.C: fix format string
6035 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6037 * BufferView.[Ch] (insertErrors): removed
6038 * BufferView.[Ch] (showErrorList): added
6039 * buffer.C (runChkTeX):
6040 * converter.C (scanLog): call showErrorList instead of inserterrors
6042 2003-05-13 André Pönitz <poenitz@gmx.net>
6044 * BufferView_pimpl.C:
6046 * bufferview_func.C:
6053 * tabular_funcs.h: tostr() from its own header
6055 * ParagraphParameters.C:
6060 * text3.C: STRCONV()
6062 2003-05-12 André Pönitz <poenitz@gmx.net>
6065 * BufferView_pimpl.C:
6069 * ParagraphParameters.C:
6073 * bufferview_funcs.C:
6086 * paragraph_funcs.C:
6090 * text3.C: boost::format -> bformat all over the place
6093 2003-05-09 André Pönitz <poenitz@gmx.net>
6095 * LColor.[Ch]: Pimpl the #include <map> away
6097 2003-05-09 John Levon <levon@movementarian.org>
6099 * bufferlist.C: never remove emergency saves
6101 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * Makefile.am: better lib building
6105 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6109 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6110 (simpleTeXSpecialChars): adjust
6111 (simpleTeXSpecialChars): adjust
6112 * paragraph.C (simpleTeXOnePar): adjust
6113 * buffer.C (makeLaTeXFile): adjust
6115 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6117 * text2.C (changeDepth): parlist cleanup
6118 (getColumnNearX): ditto
6120 * rowpainter.C (getLabelFont): parlist cleanup
6122 * bufferlist.C (newFile): parlist cleanup
6124 * CutAndPaste.C (eraseSelection): parlist cleanup
6126 * BufferView_pimpl.C (trackChanges): parlist cleanup
6129 * BufferView.C (lockInset): parlist cleanup.
6130 (ChangeInsets): ditto
6132 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * CutAndPaste.h: Update file header.
6136 * CutAndPaste.C: Update file header.
6137 Store the parts cut out of the Document in a limited_stack.
6138 (copySelection): adjust
6139 (pasteSelection): new function, takes the index in the limited stack.
6140 (nrOfParagraphs): adjust
6141 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6142 simplify error inset insertion.
6143 (checkPastePossible): adjust
6145 2003-05-06 John Levon <levon@movementarian.org>
6147 * text2.C: don't cast wrap inset to float
6149 2003-05-05 André Pönitz <poenitz@gmx.net>
6152 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6154 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6155 few naked Paragraph *.
6157 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6159 * bufferparams.C: Output warning if a document with missing
6160 TeX document class is loaded
6161 * exporter.C: Disable TeX exports if the document class is missing
6164 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6165 isTeXClassAvailable()
6167 2003-05-03 John Levon <levon@movementarian.org>
6170 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6171 explicit cursor show/hide
6173 * BufferView_pimpl.h:
6174 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6175 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6177 * lyxfunc.C: hide cursor before dispatching.
6182 * text3.C: remove explicit cursor hides
6184 2003-05-02 André Pönitz <poenitz@gmx.net>
6186 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6189 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6192 * text2.C: tiny whitespace
6194 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * undo_funcs.C: almost only ws changes.
6198 * ParagraphList.C (splice): just return if pl is empty.
6200 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * ParagraphList.C (splice): new function.
6204 * CutAndPaste.C (pasteSelection): use it
6206 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * CutAndPaste.C (pasteSelection): remove the last next and
6209 previous from this file.
6211 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * CutAndPaste.C (pasteSelection): more clean up, user proper
6214 ParagraphList functions for pasteing.
6216 * ParagraphList.C (insert): new function, three arg insert
6218 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * ParagraphList.C (insert): new function, three arg insert
6222 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6225 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6227 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6235 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6236 (copySelection): clean up a bit.
6237 (pasteSelection): use make_pair
6239 * ParagraphList.C (ParagraphList): implement copy constructor
6240 (operator=): implement, base on copy constructor.
6243 * paragraph.C (erase): return a bool
6245 * paragraph_pimpl.C (erasePos): remove function, move contents...
6246 (erase): ... here. Return a bool.
6247 (erase): call erase instead of erasePos.
6249 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6251 * ParagraphList.h: define PitPosPair
6252 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6253 ParagraphList, fix a bug on pasting multiple pars
6254 * text2.C: change interface to C&P
6256 2003-04-30 André Pönitz <poenitz@gmx.net>
6258 * undo_func.C: revert part of yesterday's patch 2
6260 2003-04-30 John Levon <levon@movementarian.org>
6262 * LColor.C: s/tabular/table/
6264 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * text3.C (dispatch): do not convert iterator -> pointer
6267 * undo_funcs.C (setCursorParUndo): ditto
6268 * text_funcs.C (transposeChars): ditto
6270 * text2.C (setLayout): ws changes only
6272 * text.C (breakParagraph): do not convert iterator -> pointer
6274 (acceptChange): ditto
6275 (rejectChange): ditto
6280 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6283 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6285 * text3.C (gotoInset): YABG (yet another bad getChar)
6287 2003-04-29 André Pönitz <poenitz@gmx.net>
6289 * paragraph.h: make operator= private unimplemented as long as
6292 * ParagraphList.C: whitespace
6295 * paragraph_pimpl.[Ch]:
6296 * paragraph_funcs.C:
6298 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6301 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6303 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6305 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6306 * paragraph.[Ch] (erase):
6307 * paragraph_pimpl.[Ch] (erase): change return type and value
6308 * text2.C (cutSelection): some rework
6310 2003-04-28 John Levon <levon@movementarian.org>
6312 * bufferlist.C: changes for unsaved changes dialog
6314 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * bufferlist.C (newFile): set language (messages_) for new
6319 * buffer.C (readFile): ws changes only.
6321 2003-04-28 André Pönitz <poenitz@gmx.net>
6326 * BufferView_pimpl.C:
6327 * BufferView.C: getParFromID related ParagraphList::iterator changes
6329 2003-04-28 André Pönitz <poenitz@gmx.net>
6331 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6334 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * messages.C: remove one more localedir class variable.
6338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * messages.C (getLocaleDir): singleton generation function
6342 (Messages): add a default constructor.
6344 * main.C (main): do not setup localedir here, do not call
6347 * gettext.C (_): use it.
6348 (gettext_init): delete funciton
6350 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * gettext.C (getLyXMessages): new singleton generating function.
6354 * buffer.C (updateDocLang): adjust
6356 * Makefile.am (messages.o): add target
6357 (main.o): remove target
6359 2003-04-27 John Levon <levon@movementarian.org>
6364 * lyxvc.C: specify cancel button in Alert::prompt
6366 2003-04-26 John Levon <levon@movementarian.org>
6371 * LyXAction.C: add LFUN_INSET_SETTINGS
6373 * lyxfunc.C: don't enable tabular-feature when there's
6374 just any locking inset
6376 2003-04-26 John Levon <levon@movementarian.org>
6378 * bufferlist.C: re-add Cancel to buffer close question
6380 * lyxfunc.C: fix import UI a bit
6382 2003-04-25 John Levon <levon@movementarian.org>
6384 * gettext.C: remove the broken asserts for now
6386 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * messages.C: make case where setlocale cannot comply work better.
6390 * buffer.C (updateDocLang): new function
6391 (changeLanguage): use it
6394 * text2.C (setCounter): use B_ a bit.
6396 * lyxlayout.C (Read): be sure to trim the label strings.
6398 * messages.C (Messages): fix typo in comment
6400 * buffer.C (readFile): set message_ after file is loaded.
6401 (makeDocBookFile): remove double return
6402 (changeLanguage): reset message_ upon language change.
6403 (B_): new func, use this to get translated buffer strings.
6405 * main.C: add myself and Jean Marc as authors.
6407 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * messages.[hC]: pimplify Messages, and three different pimpls to be
6410 used in different circumstances.
6412 * gettext.[Ch]: change for use with new message code.
6414 2003-04-24 André Pönitz <poenitz@gmx.net>
6416 * factory.C: support for eqref
6418 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * messages.[Ch]: add missing char
6422 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6424 * messages.[Ch]: New files
6426 2003-04-18 John Levon <levon@movementarian.org>
6430 * BufferView_pimpl.C:
6434 * text2.C: remove layout-copy/paste (bug 778)
6436 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6438 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6440 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6442 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6443 if they succeed. Act accordingly.
6445 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * text2.C (setCharFont): adjust
6448 (setCounter): adjust
6449 (insertStringAsLines): adjust
6451 * text.C (leftMargin): adjust
6452 (setHeightOfRow): adjust
6454 * rowpainter.C (paintFirst): adjust
6457 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6459 (isFirstInSequence): ditto
6460 (getEndLabel): ditto
6463 * paragraph.C (getParLanguage): comment out some hard stuff.
6465 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6467 (simpleDocBookOnePar): ditto
6468 (makeDocBookFile): use ParagraphList::iterator
6470 * CutAndPaste.C (pasteSelection): adjust
6472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * text2.C (getFont): adjust
6475 (getLayoutFont): adjust
6476 (getLabelFont): adjust
6478 * paragraph_funcs.C (TeXOnePar): adjust
6480 * buffer.C (simpleLinuxDocOnePar): adjust
6481 (simpleDocBookOnePar): adjust
6483 * CutAndPaste.C (pasteSelection): adjust
6485 * BufferView.C (getEncoding): adjust
6487 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6489 2003-04-16 John Levon <levon@movementarian.org>
6491 * lyxfind.C: use parlist stuff for search/changes
6493 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6497 * text2.C (deleteEmptyParagraphMechanism): adjust
6499 * text2.[Ch] (ownerParagraph): delete func (both of them
6501 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * ParagraphList.C: prepare for NO_NEXT
6509 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * text2.C (getFont): adjust
6512 (getLayoutFont): adjust
6513 (getLabelFont): adjust
6515 * paragraph.C (getFont): adjust
6516 (getLabelFont): adjust
6517 (getLayoutFont): adjust
6519 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6521 2003-04-15 John Levon <levon@movementarian.org>
6525 * lyx_main.C: handle Include in .ui files
6527 2003-04-15 John Levon <levon@movementarian.org>
6529 * MenuBackend.C: make the doc files length shorter
6532 * ToolbarBackend.C: handle toolbar placement flags,
6535 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6540 * paragraph_funcs.C (TeXOnePar): adjust
6542 * paragraph.C (getLabelFont): add outerfont arg, adjust
6543 (getLayoutFont): ditto
6544 (simpleTeXOnePar): adjust
6546 * paragraph_pimpl.C (realizeFont): delete func
6548 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6550 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6551 row argument, constify cur argument.
6553 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * text2.C (getFont): adjust
6556 (getLayoutFont): adjust
6557 (getLabelFont): adjust
6559 * paragraph_funcs.C (TeXOnePar): adjust
6560 (outerFont): new func...
6561 (realizeFont): ...moved out from here, changed this to facilitate
6564 * paragraph.C (getFont): take outerfont as arg, adjust
6565 (simpleTeXOnePar): add outerfont arg, adjust
6567 * buffer.C (simpleLinuxDocOnePar): adjust
6568 (simpleDocBookOnePar): adjust
6570 * CutAndPaste.C (pasteSelection): adjust
6572 * BufferView.C (getEncoding): adjust
6574 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6576 * text2.C (setCharFont): adjust
6577 (setCounter): adjust
6579 * text.C (leftMargin): adjust
6580 (setHeightOfRow): adjust
6582 * rowpainter.C (paintFirst): adjust
6585 * paragraph_pimpl.C (realizeFont): adjust
6587 * paragraph.C (isFirstInSequence): move from here...
6588 * paragraph_funcs.C (isFirstInSequence): ...to here
6590 * paragraph.C (outerHook): move from here...
6591 * paragraph_funcs.C (outerHook): ...to here
6593 * paragraph.C (depthHook): move from here...
6594 * paragraph_funcs.C (depthHook): ...to here
6596 * paragraph.C (getEndLabel): move from here...
6597 * paragraph_funcs.C (getEndLabel): ...to here
6599 * text2.C (realizeFont): move from here...
6600 * paragraph_funcs.C (realizeFont): ...to here
6602 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6606 2003-04-14 Angus Leeming <leeming@lyx.org>
6608 * LColor.[Ch]: scrap LColor mathcursor.
6610 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * lyxlex.[Ch] (text): delete function
6613 * trans.C (Load): adjust
6614 * paragraph_funcs.C (readParToken): adjust
6616 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6619 vector<char> instead of a char[].
6621 * lyxlex_pimpl.C (getString): adjust
6623 (lex): use getString
6627 * lyxlex.C (text): use pimpl_->getString()
6631 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6633 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6634 (makeFontEntriesLayoutSpecific): temp var for par.size()
6635 (setLayout): temp var for ownerParagraphs().end()
6636 (fullRebreak): temp var for rows().end()
6637 (selectionAsString): temp var for boost::next(startpit), realize
6638 that the while really is a regular for loop.
6639 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6640 setCursor in one place.
6641 (setParagraph): temp vr for ownerParagraphs().end()
6642 (updateCounters): make the while loop a for loop
6643 (cutSelection): temp var for ownerParagraphs().end()
6644 (updateInset): make the do {} while() a regular for loop
6645 (getCursorX): use temp vars
6646 (setCurrentFont): use temp vars
6647 (getColumnNearX): use temp vars
6649 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6651 * text.C (transformChar): use temp var for getChar
6652 (computeBidiTables): use temp var for row->par()
6653 (fill): move temp vars for row->par() and pit->layout() earlier in
6655 (labelFill): use temp var for row->par()
6656 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6657 asc and desc, realize that pit never changes and that firstpit is
6658 just a duplicate and not needed. Exchange rit->par() with pit in a
6660 (breakAgain): use a temp var for boost::next(rit)
6661 (breakAgainOneRow): ditto
6662 (breakParagraph): use a temp var for rows().begin()
6663 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6664 (cursorRightOneWord): use temp var for cursor.par() and
6665 cursor.pos(), remove usage of tmpcursor.
6666 (cursorLeftOneWord): use temp var for cursor.par() and
6667 cursor.pos() only set cur at end of function.
6669 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * text.C, text2.C: exchange all usage of Paragraph::next with
6672 boost::next(ParagraphList::iterator)
6674 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6676 * text2.C (cursorTop): simplify implementation
6677 (cursorBottom): ditto
6678 (setParagraph): use ParagraphList::iterator
6679 (setCurrentFont): adjust
6680 (getColumnNearX): adjust
6681 (cursorRight): adjust
6682 (cursorLeft): remove usage of Paragraph::previous
6683 (cursorUpParagraph): ditto
6684 (deleteEmptyParagraphMechanism): slight cleanup
6686 * text.C (isBoundary): take a Paragraph const & instead of a
6688 (addressBreakPoint): ditto
6689 (leftMargin): remove usage of Paragraph::previous.
6690 (setHeightOfRow): ditto
6691 (cursorLeftOneWord): ditto
6692 (selectNextWordToSpellcheck): ditto
6695 (breakParagraph): remove one usage of Paragraph::next
6696 (redoParagraph): ditto
6697 (acceptChange): ditto
6698 (insertChar): adjust
6699 (rowBreakPoint): adjust
6701 * bufferview_funcs.C (toggleAndShow): adjust
6703 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6705 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6706 methods to access it.
6708 * text.C: Added updateRowPositions to compute all row positions.
6709 Make top_y and getRowNearY() to use the cached y position
6711 2003-04-11 John Levon <levon@movementarian.org>
6713 * text.C (rowBreakPoint): reintroduce the labelEnd
6714 checks, code copied from the row fill stuff. Deep voodoo.
6716 * text.C (fill): add a comment and debugging for the
6719 2003-04-11 John Levon <levon@movementarian.org>
6721 * text.C: make sure fullrow insets get wrapped to the next line,
6722 even when they're in a manual label
6724 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * text2.C (insertParagraph): make it take ParagraphList::iterator
6728 (setLayout): make it return ParagraphList::iterator
6729 (redoParagraphs): ditto
6731 (checkParagraph): ditto
6733 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6735 * text2.C: adjust several funcs.
6736 (realizeFont): take a ParagraphList::iterator as arg.
6737 (getLayoutFont): ditto
6738 (getLabelFont): ditto
6739 (setCharFont): ditto
6741 * text.C: adjust several funcs.
6743 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6745 * text.C (selectNextWordToSpellcheck): don't accidentally
6748 2003-04-10 John Levon <levon@movementarian.org>
6750 * ToolbarBackend.C (getIcon): special handling for
6753 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6755 * text2.C (cursorRight): a getChar assert fixed
6757 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * text2.C (getFont): change to take a ParagraphList::iterator
6760 instead of Paragraph*
6761 Adjust several functions.
6763 * text.C (transformChar): change to take a ParagraphList::iterator
6764 instead of Paragraph*
6765 (singleWidth): ditto
6766 Adjust several functions.
6768 * rowpainter.C: adjust several functions
6769 * rowpainter.h:store a ParagraphList::iterator and not a
6773 2003-04-09 John Levon <levon@movementarian.org>
6778 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6779 and the "help" bits as well
6781 2003-04-09 John Levon <levon@movementarian.org>
6784 * ToolbarBackend.C: allow multiple toolbars
6786 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * undo_funcs.C (setCursorParUndo): adjust
6790 * text_funcs.C (transposeChars): adjust
6792 * text3.C (gotoNextInset): adjust
6795 * text2.C (setLayout): adjust
6796 (changeDepth): adjust
6798 (redoParagraphs): adjust
6799 (selectionAsString): adjust
6800 (setParagraph): adjust
6801 (insertInset): adjust
6802 (cutSelection): adjust
6803 (copySelection): adjust
6804 (pasteSelection): adjust
6805 (insertStringAsLines): adjust
6806 (updateInset): adjust
6807 (setCursor): change to take a ParagraphList::iterator parameter
6808 (setCursorIntern): change to take a ParagraphList::iterator parameter
6809 (setCurrentFont): adjust
6810 (cursorLeft): adjust
6811 (cursorRight): adjust
6812 (deleteEmptyParagraphMechanism): adjust
6814 * text.C (breakParagraph): adjust
6815 (insertChar): adjust
6816 (acceptChange): adjust
6817 (rejectChange): adjust
6818 (selectNextWordToSpellcheck): adjust
6819 (changeCase): adjust
6823 * lyxfind.C (SearchForward): adjust
6824 (SearchBackward): adjust
6825 (nextChange): adjust
6827 * lyxcursor.C (par): adjust
6829 * lyxcursor.h: store a ParagraphList::iterator instead of a
6832 * lyx_cb.C (getPossibleLabel): adjust
6834 * bufferview_funcs.C (toggleAndShow): adjust
6836 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6839 * BufferView.C (removeAutoInsets): adjust
6840 (lockedInsetStoreUndo): adjust
6842 2003-04-09 John Levon <levon@movementarian.org>
6844 * ToolbarBackend.C: try icon without argument
6845 if with argument fails
6847 2003-04-08 John Levon <levon@movementarian.org>
6850 * ToolbarBackend.C: add getIcon(), handle tooltip,
6851 and change from "Icon" to "Item".
6853 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6855 * BufferView.C (lockInset): another bad getchar crunched
6857 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6859 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6862 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6864 * lyxfind.C (searchForward, searchBackwards): bug 782
6866 2003-04-07 John Levon <levon@movementarian.org>
6868 * paragraph.C: remove dead comment
6870 * text.C: remove troublesome depth-fiddling code
6871 in leftMargin() and rightMargin() (bug 1017)
6873 * text.C: fix breaking of rows in nested lists
6876 * text2.C (updateCounters): fix up depth values
6879 2003-04-07 John Levon <levon@movementarian.org>
6881 * BufferView_pimpl.C: clear message when doc finishes resizing,
6882 and after a mouse event
6884 * lyxfunc.C: clear message after exiting inset
6886 2003-04-07 John Levon <levon@movementarian.org>
6888 * bufferview_funcs.C: show math status not outside
6889 status in the statusbar
6891 2003-04-07 John Levon <levon@movementarian.org>
6893 * lyxfunc.C: note status changed after a depth change
6895 2003-04-04 Angus Leeming <leeming@lyx.org>
6897 * LaTeX.h: move AuxInfo operator==, != out of line.
6898 Remove LaTeX virtual destructor; nothing derives from it.
6899 Move operator()() out of public area and rename it startscript().
6900 Change protected for private.
6902 2003-04-04 Angus Leeming <leeming@lyx.org>
6905 * text2.C: remove unneeded #includes.
6907 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6909 * text2.C (dEPM): fix the heigth of the next row
6911 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6913 * text.C: squashed an invalid getChar requester + some ws changes
6915 2003-04-03 John Levon <levon@movementarian.org>
6917 * bufferview_funcs.h:
6918 * bufferview_funcs.C:
6921 * text2.C: make getStatus work for the env depth lfuns
6923 2003-04-03 John Levon <levon@movementarian.org>
6925 * bufferview_funcs.h:
6926 * bufferview_funcs.C:
6929 * text2.C: parlistize decDepth(), by merging it with incDepth()
6931 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * lyxrow.h: store a ParagraphList::iterator instead of a
6934 Paragraph* and adjust other class functions to suit.
6936 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6939 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6941 * text2.C (setCursor): do not anchor to cursor row for the time being
6943 2003-04-02 John Levon <levon@movementarian.org>
6950 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6952 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * paragraph.h: make ParagraphList and ParagraphList::iterator
6955 friends of Paragraph.
6957 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6959 * ParagraphList.C: Use the private next_ and previous_ from
6962 2003-04-01 John Levon <levon@movementarian.org>
6966 * Makefile.am: rename, remove defaults gunk
6969 * MenuBackend.C: remove defaults gunk
6972 * Languages.C: remove defaults gunk
6975 * lyx_main.C: error out if files couldn't be found.
6977 2003-04-02 John Levon <levon@movementarian.org>
6979 * text2.C: make incDepth() use parlist
6981 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * undo_funcs.C (firstUndoParagraph): adjust
6985 * text3.C (gotoInset): adjust
6986 (dispatch): adjust, and rewrite loop.
6988 * text2.C (init): adjust, and rewrite loop.
6989 (redoParagraphs): adjust
6990 (updateInset): adjust, and rewrite loop.
6991 (deleteEmptyParagraphMechanism): adjust
6993 * tabular.C (LyXTabular): adjust
6994 (SetMultiColumn): adjust
6997 * lyxtext.[Ch] (ownerParagraph): delete function
6998 (ownerParagraphs): new function returns a ParagraphList.
7000 * BufferView.C (removeAutoInsets): adjust
7001 (insertErrors): adjust
7002 (setCursorFromRow): adjust
7004 2003-04-01 Angus Leeming <leeming@lyx.org>
7006 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7009 2003-04-02 John Levon <levon@movementarian.org>
7015 * text_funcs.C: make transposeChars a free function
7017 * lyxrow_funcs.C: remove wrong comment
7019 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * rowpainter.C: adjust
7027 * lyxrow_funcs. [Ch]: new files
7029 * lyxrow.[Ch]: remove next and previous pointers
7030 (next,previous): remove accessor functions
7031 (isParEnd): move to lyxrow_funcs
7032 (lastPos): move to lyxrow_funcs
7033 (nextRowIsAllInset): move to lyxrow_funcs
7034 (lastPrintablePos): move to lyxrow_funcs
7035 (numberOfSeparators): move to lyxrow_funcs
7036 (numberOfHfills): move to lyxrow_funcs
7037 (numberOfLabelHfills): move to lyxrow_funcs
7038 (hfillExpansion): move to lyxrow_funcs
7042 * bufferview_funcs.C (toggleAndShow): adjust
7044 * RowList.h: Remove class RowList from file leave just a
7047 * RowList.C: delete file
7049 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7052 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * text3.C (cursorPrevious): adjust
7055 (cursorNext): adjust
7058 * text2.C (redoHeightOfParagraph): adjust
7059 (redoDrawingOfParagraph): adjust
7062 * text.C (breakParagraph): adjust
7063 (insertChar): adjust
7066 * rowpainter.C (RowPainter): adjust
7067 (leftMargin): simplify and adjust
7068 (most rowpainter functions): adjust.
7070 * rowpainter.h: store the row as RowList::iterator not as Row*
7072 * lyxcursor.C (row): taka RowList::iterator as arg
7075 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7078 2003-04-01 Angus Leeming <leeming@lyx.org>
7080 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7081 stuff like bool Bool.
7083 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7085 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7088 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7093 * lyxtext.h (rows): drop one version and leve a const variant that
7094 returns a RowList::iterator.
7096 2003-03-31 Angus Leeming <leeming@lyx.org>
7098 * text.C (fill): ensure that the signature is the same as that in the
7101 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7103 * text2.C (redoParagraphs): adjust
7104 (updateCounters): adjust
7105 (checkParagraph): adjust
7106 (getColumnNearX): adjust and reformat a bit.
7108 * text.C (top_y): adjust
7110 (leftMargin): adjust
7111 (prepareToPrint): adjust
7113 (getRowNearY): adjust
7115 * lyxtext.h: make rowlist_ mutable.
7117 * RowList.h: add const_iterator
7118 * RowList.C: adjust for RowList::const_iterator.
7120 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7123 2003-03-31 John Levon <levon@movementarian.org>
7126 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7128 * lyx_main.C: set default fonts from using lyx_gui funcs
7130 * exporter.C: pdf_mode moved from lyxrc
7133 * lyxfunc.C: changes from above
7135 2003-03-31 John Levon <levon@movementarian.org>
7137 * lyx_main.C: fix to the last fix
7139 2003-03-31 John Levon <levon@movementarian.org>
7141 * bufferlist.C: "Load original" -> "Load Original"
7147 * format.C: more Alert cleanups
7149 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * text2.C (removeParagraph): make it take a RowList::iterator as
7153 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7154 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7156 * text.C (anchor_row): make it take a RowList::iterator as arg,
7158 (computeBidiTables): make it take a const reference to Row instead
7159 of Row pointer, adjust.
7160 (leftMargin): make it take a RowList::iterator as arg, adjust.
7161 (rowBreakPoint): adjust
7162 (breakAgainOneRow): make it take a RowList::iterator as arg,
7164 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7166 * bufferview_funcs.C (toggleAndShow): adjust
7168 2003-03-30 John Levon <levon@movementarian.org>
7172 * boost-inst.C: moved to support
7174 * several files: changes as a result
7176 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7178 * text2.C (LyXText): adjust.
7180 (removeRow): make it take a RowList::iterator as arg, adjust.
7181 (fullRebreak): adjust
7182 (deleteEmptyParagraphMechanism): adjust
7183 (clearPaint): adjust
7186 * text.C (top_y): adjust
7187 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7188 (breakAgain): make it take a RowList::iterator as arg, adjust.
7189 (breakParagraph): adjust
7190 (insertChar): adjust
7193 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7194 need_break_row, and refresh_row.
7196 * text3.C (dispatch): adjust
7198 * text2.C (checkParagraph): adjust
7200 (setCursorFromCoordinates): adjust
7202 * text.C (top_y): adjust
7204 (getRow): make it return a RowList::iterator, adjust
7205 (getRowNearY): make it return a RowList::iterator, adjust
7207 * text2.C (init): adjust
7208 (insertRow): remove function
7209 (insertParagraph): adjust
7210 (redoParagraphs): adjust
7211 (fullRebreak): adjust
7212 (updateCounters): adjust
7214 * text.C (top_y): rewrite to use RowList iterators.
7216 (setHeightOfRow): rewrite to sue RowList iterators.
7217 (appendParagraph): adjust
7218 (breakAgain): adjust
7219 (breakAgainOneRow): adjust
7220 (breakParagraph): adjust
7222 (getRowNearY): adjust, and remove commented code.
7224 * lyxtext.h (firstRow): delete function
7225 (lastRow): delete function
7226 (rows): new function (const and non-const versions.)
7227 (insertRow): delete function
7229 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7231 2003-03-29 John Levon <levon@movementarian.org>
7233 * BufferView_pimpl.C: always update scrollbar top
7234 because pasting text when we're anchored could mean we
7235 miss an update altogether
7237 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * text2.C (init): use rowlist_.end() and not 0.
7240 (insertRow): change to take a RowList::iterator as arg, adjust
7242 (insertParagraph): change to take a RowList::iterator as arg,
7244 (redoParagraphs): remove some debug msgs.
7246 * text.C (appendParagraph): change to take a RowList::iterator
7247 arg, adjust for this.
7248 (breakAgain): add an assert
7249 (breakAgainOneRow): ditto
7251 2003-03-29 John Levon <levon@movementarian.org>
7253 * text2.C: do not clear selection after inc/decDepth
7256 2003-03-29 John Levon <levon@movementarian.org>
7259 * buffer.C: fix broken strerrors according to Lars
7261 2003-03-29 John Levon <levon@movementarian.org>
7263 * converters.C: more Alert cleanups
7265 2003-03-29 John Levon <levon@movementarian.org>
7267 * bufferview_funcs.C: remove pointless Alert
7269 * buffer.C: fix confusing error message when
7270 a template is chmoded 000
7272 2003-03-29 John Levon <levon@movementarian.org>
7276 * BufferView_pimpl.C: Alert fixes
7280 * tabular-old.C: remove unused table compat reading
7282 2003-03-29 John Levon <levon@movementarian.org>
7287 * lyx_cb.C: more Alert cleanups
7289 * lyxfunc.C: don't allow chktex if not latex document
7291 2003-03-29 John Levon <levon@movementarian.org>
7295 * buffer.C: warnings pushed down from support/,
7298 2003-03-29 John Levon <levon@movementarian.org>
7300 * lyxfunc.C: safety check for C-r (revert)
7302 2003-03-29 John Levon <levon@movementarian.org>
7305 * bufferlist.C: several UI fixes using Alert::prompt.
7306 Fix the pointless looping quit code. Fix stupid revert
7311 * lyx_cb.C: use Alert::prompt
7313 * lyx_main.C: remove a silly question
7315 * lyxfunc.C: remove a couple of silly questions,
7318 2003-03-28 John Levon <levon@movementarian.org>
7320 * text2.C: fix bug 974 (End on empty par)
7322 2003-03-28 John Levon <levon@movementarian.org>
7324 * BufferView_pimpl.C:
7326 * lfuns.h: remove do-nothing math greek lfuns
7328 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * lyxgluelength.h (isValidGlueLength): add default arg on
7331 parameter 2. Remove default arg from friend in class.
7333 * lyxlength.h (isValidLength): add default arg on parameter 2.
7334 Remove default arg from friend in class.
7336 * text2.C (LyXText): adjust, initialize refresh_row.
7340 (insertParagraph): adjst
7341 (redoParagraphs): adjust
7342 (fullRebreak): adjust
7343 (updateCounters): adjust
7344 (deleteEmptyParagraphMechanism): first attempt at fixing a
7347 * text.C (top_y): adjust
7348 (setHeightOfRow): adjust
7350 (getRowNearY): adjust
7352 * lyxtext.h: include RowList.h
7353 (~LyXText): not needed anymore, deleted.
7354 (firstRow): modify for RowList
7355 (lastRow): new function
7356 Delete firstrow and lastrow class variables, add a Rowlist
7357 rowlist_ class variable.
7359 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7362 * RowList.C (insert): fix case where it == begin().
7364 2003-03-26 Angus Leeming <leeming@lyx.org>
7366 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7367 the thesaurus dialog.
7369 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7371 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7373 * RowList.[Ch]: new files
7375 * ParagraphList.C (erase): handle the case where it == begin
7378 2003-03-25 John Levon <levon@movementarian.org>
7382 * aspell.C: add new aspell support
7385 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7388 2003-03-25 Angus Leeming <leeming@lyx.org>
7391 * LyXAction.C (init): new LFUN_INSET_INSERT.
7393 * BufferView_pimpl.C (dispatch): split out part of the
7394 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7396 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7399 2003-03-25 Angus Leeming <leeming@lyx.org>
7401 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7403 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7406 * text3.C: remove useless row->height(0)
7408 2003-03-25 John Levon <levon@movementarian.org>
7412 * text3.C: rename the refreshing stuff to better names
7414 2003-03-24 John Levon <levon@movementarian.org>
7416 * BufferView_pimpl.h:
7417 * BufferView_pimpl.C: update layout choice on a mouse
7420 2003-03-23 John Levon <levon@movementarian.org>
7422 * Makefile.am: fix commandtags.h reference
7424 2003-03-22 John Levon <levon@movementarian.org>
7426 * BufferView_pimpl.C:
7431 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7433 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7436 * text.C: take the rtl methods out of line
7438 2003-03-21 André Pönitz <poenitz@gmx.net>
7440 * metricsinfo.[Ch]: new files containing structures to be passed around
7441 during the two-phase-drawing...
7443 2003-03-21 André Pönitz <poenitz@gmx.net>
7445 * lyxtextclass.C: read 'environment' tag.
7447 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7449 * text2.C (removeRow): fix bug 964
7451 2003-03-20 John Levon <levon@movementarian.org>
7455 * text2.C: paint cleanups. Inset::update() dropped font
7458 2003-03-19 John Levon <levon@movementarian.org>
7460 * lyxfunc.C: only fitcursor/markDirty if available()
7462 2003-03-19 John Levon <levon@movementarian.org>
7464 * commandtags.h: rename to ...
7466 * lfuns.h: ... this, and renumber / cleanup
7468 2003-03-19 John Levon <levon@movementarian.org>
7470 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7471 fit the cursor after an lfun
7475 * BufferView_pimpl.h:
7476 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7478 * LyXAction.C: layout-character should have ReadOnly
7480 * ParagraphParameters.C:
7482 * bufferview_funcs.C:
7489 * undo_funcs.C: changes from above
7491 2003-03-18 John Levon <levon@movementarian.org>
7493 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7494 remove it from update()
7496 * lyxfunc.C: update layout choice after an lfun
7498 * text3.C: remove extra updateLayoutChoice()s
7500 2003-03-18 John Levon <levon@movementarian.org>
7502 * text.C: top_y change means full repaint, fix
7503 a drawing bug with cursor movement
7505 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7509 * text2.C: anchor row on setCursor
7511 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7513 * lyxtext.h: remove almost all mutable keywords
7516 * text3.C: remove const keywords accordingly
7518 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7522 (TeXEnvironment): ditto
7525 2003-03-17 John Levon <levon@movementarian.org>
7527 * text.C (rowBreakPoint): remove attempt to fix displayed
7528 math insets inside a manual label
7530 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * lyxtext.h: remove BufferView* as first arg from almost all class
7534 * other files: adjust.
7536 2003-03-17 John Levon <levon@movementarian.org>
7540 * text2.C: more paint cleanups
7542 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7545 * rowpainter.C: remove "smart" background painting code
7547 2003-03-16 John Levon <levon@movementarian.org>
7552 * text3.C: add helper functions for setting refresh_row/y
7554 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7556 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7557 newline inset which *can* get inserted in the pass_thru layouts.
7558 This is primarily for literate documents.
7560 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7562 * buffer.C: increment LYX_FORMAT to 223
7564 2003-03-14 André Pönitz <poenitz@gmx.net>
7566 * textclass.h: prepare for environment handling, ws changes
7567 * lyxlayout.C: read latexheader and latexfooter tags
7569 2003-03-14 John Levon <levon@movementarian.org>
7571 * text2.C: rewrite ::status() a bit
7573 2003-03-13 John Levon <levon@movementarian.org>
7575 * lyxtext.h: add some docs
7577 2003-03-13 John Levon <levon@movementarian.org>
7582 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7584 2003-03-13 John Levon <levon@movementarian.org>
7586 * text3.C: fix appendix redrawing
7588 2003-03-13 John Levon <levon@movementarian.org>
7590 * text.C (setHeightOfRow):
7592 * rowpainter.C: make appendix mark have the text
7593 "Appendix" so the user knows what it is
7596 * LColor.C: s/appendixline/appendix/ from above
7598 2003-03-13 John Levon <levon@movementarian.org>
7600 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7602 * text.C: fix a getChar(pos) bug properly
7604 2003-03-13 Angus Leeming <leeming@lyx.org>
7607 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7608 Probably only temporary. Let's see how things pan out.
7610 * BufferView.C (unlockInset):
7611 * BufferView_pimpl.C (fitCursor):
7612 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7614 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7615 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7617 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7618 new functions that convert ParagraphParameters to and from a string.
7620 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7621 BufferView::Pimpl's dispatch.
7622 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7624 2003-03-13 André Pönitz <poenitz@gmx.net>
7628 * factory.C: make it aware of InsetEnv
7630 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * text2.C (setCursor): never ask for one past last
7633 (setCursor): add some debugging messages.
7635 * text.C (singleWidth): never ask for one past last
7636 (singleWidth): ditto
7638 (rightMargin): ditto
7639 (rowBreakPoint): ditto
7640 (setHeightOfRow): ditto
7641 (prepareToPrint): ditto
7643 * rowpainter.C (paintBackground): never ask for one past last
7644 (paintText): never ask for one past last
7646 * paragraph_pimpl.C (getChar): make the assert stricter, never
7647 allow the one past last pos to be taken
7649 * paragraph.C (getChar): ws changes only
7651 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7652 (numberOfSeparators): ditto
7653 (numberOfHfills): ditto
7655 2003-03-12 John Levon <levon@movementarian.org>
7661 * paragraph_funcs.C: fix per-buffer authorlists
7663 2003-03-12 John Levon <levon@movementarian.org>
7665 * text.C: fix newline in right address
7667 2003-03-12 Angus Leeming <leeming@lyx.org>
7669 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7670 duplicate those in LyXFunc::dispatch.
7674 * ToolbarDefaults.C:
7675 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7676 Add LFUN_FONTFREE_UPDATE.
7678 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7679 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7681 * bufferview_func.[Ch]: several new functions to facilliate
7682 transfer of data to and from the character dialog.
7684 2003-03-12 John Levon <levon@movementarian.org>
7689 * paragraph_funcs.C:
7690 * paragraph_pimpl.C:
7694 * text3.C: remove META_NEWLINE in favour of an inset
7697 * rowpainter.C: remove paintNewline (done by inset)
7699 2003-03-12 John Levon <levon@movementarian.org>
7701 * paragraph_pimpl.C: complain about bad getChar()s
7702 for a while at least
7704 2003-03-12 John Levon <levon@movementarian.org>
7707 * buffer.C: move paragraph read into a separate function,
7708 a little renaming to reflect that.
7711 * bufferparams.C: remove the author_ids map, not necessary now
7714 * factory.C: moved Buffer::readInset to here
7716 * paragraph_funcs.h:
7717 * paragraph_funcs.C: readParagraph free function moved from
7720 * tabular.C: name change
7722 2003-03-12 John Levon <levon@movementarian.org>
7725 * ParagraphParameters.C: move par params input to
7728 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7729 behave like a normal read from the stream wrt reading
7730 a line vs. a \\token
7732 2003-03-12 John Levon <levon@movementarian.org>
7735 * ParagraphParameters.h:
7736 * ParagraphParameters.C: move output code to a
7739 2003-03-12 John Levon <levon@movementarian.org>
7741 * BufferView.C (insertLyXFile):
7744 * tabular.C: use a parlist iterator for creating the
7747 2003-03-12 John Levon <levon@movementarian.org>
7749 * buffer.C: make current_change static local not
7752 2003-03-12 John Levon <levon@movementarian.org>
7754 * buffer.C: fix insertStringAsLines for change tracking
7756 2003-03-12 John Levon <levon@movementarian.org>
7763 * bufferparams.C: move author list into params. Rename some
7764 functions. Move the header reading into a separate token
7765 loop. Move the header token reading into BufferParams.
7767 2003-03-12 John Levon <levon@movementarian.org>
7769 * changes.C: put debug inside lyxerr.debugging() checks
7771 2003-03-11 André Pönitz <poenitz@gmx.net>
7773 * factory.C: make it aware of InsetHFill
7775 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7777 * buffer.C (latexParagraphs): move function from here...
7778 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7781 2003-03-10 Angus Leeming <leeming@lyx.org>
7783 * LyXAction.C (init): fix bug in poplating array with multiple entries
7784 with the same LFUN (spotted by JMarc).
7786 2003-03-10 John Levon <levon@movementarian.org>
7789 * text2.C: move getColumnNearX() near its
7792 2003-03-10 John Levon <levon@movementarian.org>
7794 * text.C: fix break before a minipage
7796 2003-03-10 John Levon <levon@movementarian.org>
7798 * text.C: fix the last commit
7800 2003-03-09 John Levon <levon@movementarian.org>
7804 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7805 bug 365 (don't break before insets unless needed). Don't
7806 return a value > last under any circumstances.
7808 2003-03-09 Angus Leeming <leeming@lyx.org>
7810 * BufferView_pimpl.C (trackChanges, dispatch): call
7811 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7813 2003-03-09 Angus Leeming <leeming@lyx.org>
7815 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7816 than Dialogs::showAboutlyx().
7818 2003-03-09 Angus Leeming <leeming@lyx.org>
7820 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7821 than Dialogs::showTabularCreate().
7823 2003-03-09 John Levon <levon@movementarian.org>
7827 * text2.C: 3rd arg to nextBreakPoint was always the same.
7830 2003-03-08 John Levon <levon@movementarian.org>
7837 * text2.C: Remove the "main" bit from the "main body"
7840 2003-03-08 John Levon <levon@movementarian.org>
7842 * text.C (leftMargin): The left margin of an empty
7843 manual label paragraph should not include the label width
7846 * text.C (prepareToPrint): don't attempt to measure hfills
7847 for empty manual label paragraphs - the answer should be 0
7849 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * CutAndPaste.C: remove commented code and reindent.
7853 2003-03-08 John Levon <levon@movementarian.org>
7856 * lyxfunc.C: move reloadBuffer()
7859 * BufferView.C: to here
7861 * lyxvc.C: add comment
7864 * vc-backend.C: call bv->reload() to avoid
7865 getStatus() check on MENURELOAD
7867 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7869 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7870 to an old format .dep file.
7872 2003-03-07 Angus Leeming <leeming@lyx.org>
7874 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7875 when the LFUN_MOUSE_RELEASE should have been handled by
7876 inset->localDispatch.
7878 2003-03-07 Angus Leeming <leeming@lyx.org>
7880 * BufferView_pimpl.C (dispatch):
7881 * LyXAction.C (init):
7882 * ToolbarDefaults.C (init):
7884 * lyxfunc.C (getStatus):
7885 remove LFUN_INSET_GRAPHICS.
7887 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7889 2003-03-07 Angus Leeming <leeming@lyx.org>
7892 * LyXAction.C (init):
7893 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7895 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7898 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7900 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7901 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7903 2003-03-07 Angus Leeming <leeming@lyx.org>
7905 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7908 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * ParagraphList.C (front): new function
7913 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7915 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7916 and top_row_offset_. removed var first_y.
7918 * text2.C (LyXText, removeRow):
7920 * BufferView_pimpl.C:
7921 use these methods instead of using first_y
7923 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * text2.C (pasteSelection): adjust for checkPastePossible
7927 * CutAndPaste.C: remove Paragraph * buf and replace with
7928 ParagraphList paragraphs.
7929 (DeleteBuffer): delete
7930 (cutSelection): change the tc type to textclass_type
7931 (copySelection): change the tc type to textclass_type
7932 (copySelection): adjust for ParagraphList
7933 (pasteSelection): change the tc type to textclass_type
7934 (pasteSelection): adjust for Paragraphlist
7935 (nrOfParagraphs): simplify for ParagraphList
7936 (checkPastePossible): simplify for ParagraphList
7937 (checkPastePossible): remove unused arg
7939 * ParagraphList.C (insert): handle the case where there are no
7942 * CutAndPaste.h: make CutAndPaste a namespace.
7944 * text3.C (dispatch): adjust
7946 * text.C (breakParagraph): add a ParagraphList as arg
7948 * paragraph_funcs.C (breakParagraph): change to take a
7949 BufferParams and a ParagraphList as args.
7950 (breakParagraphConservative): ditto
7951 (mergeParagraph): ditto
7952 (TeXDeeper): add a ParagraphList arg
7953 (TeXEnvironment): ditto
7956 * buffer.C (readLyXformat2): adjust
7957 (insertStringAsLines): adjust
7958 (latexParagraphs): adjust
7960 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7961 (cutSelection): adjust
7962 (pasteSelection): adjust
7964 * BufferView_pimpl.C (insertInset): adjust
7966 2003-03-05 Angus Leeming <leeming@lyx.org>
7969 * LyXAction.C (init):
7970 * BufferView_pimpl.C (dispatch):
7971 * lyxfunc.C (getStatus):
7972 remove LFUN_CHILD_INSERT.
7974 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7976 2003-03-05 Angus Leeming <leeming@lyx.org>
7979 * LyXAction.C (init):
7980 * src/factory.C (createInset):
7981 * lyxfunc.C (getStatus):
7982 * text3.C (dispatch):
7983 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7985 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7987 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * ParagraphList.C (insert): handle insert right before end()
7990 (erase): fix cases where it can be first or last paragraph.
7992 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7995 Paragraph::next and Paragraph::previous
7998 * text.C (breakParagraph): adjust
8000 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8001 BufferParams& as arg.
8002 (breakParagraph): use ParagraphList::insert
8003 (breakParagraphConservative): take a Buffer* instead of a
8004 BufferParams& as arg.
8005 (breakParagraphConservative): use ParagraphList::insert.
8007 * buffer.C (insertStringAsLines): un-const it
8008 (insertStringAsLines): adjust
8010 * ParagraphList.C (insert): new function
8012 * CutAndPaste.C (pasteSelection): adjust
8014 * text.C (backspace): adjust
8016 * tabular.C (SetMultiColumn): adjust
8018 * CutAndPaste.C (cutSelection): adjust
8019 (pasteSelection): adjust
8021 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8022 Buffer const * as arg
8024 * ParagraphList.C (erase): new function
8025 * paragraph_funcs.C (mergeParagraph): use it
8026 (mergeParagraph): make it take a Buffer* instead of a
8027 BufferParams* as arg
8029 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8031 (breakParagraphConservative): ditto
8033 * paragraph.h: remove the breakParagraph friend
8035 * paragraph.C (eraseIntern): new function
8036 (setChange): new function
8038 * paragraph_funcs.C (mergeParagraph): make it take a
8039 ParagraphList::iterator instead of a Paragraph *, adjust
8042 * paragraph.h: move an #endif so that the change tracking stuff
8043 also works in the NO_NEXT case.
8045 2003-03-04 Angus Leeming <leeming@lyx.org>
8048 * LyXAction.C: new LFUN_INSET_MODIFY.
8050 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8051 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8053 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8055 * several files: ws changes only
8057 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8058 (TeXEnvironment): ditto
8061 * buffer.C (makeLaTeXFile): adjust
8062 (latexParagraphs): make it take ParagraphList::iterator as args
8064 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * buffer.C (latexParagraphs): adjust
8068 * paragraph.C (TeXOnePar): move function...
8069 (optArgInset): move function...
8070 (TeXEnvironment): move function...
8071 * paragraph_pimpl.C (TeXDeeper): move function...
8072 * paragraph_funcs.C: ...here
8074 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8076 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * buffer.C (readInset): remove compability code for old Figure and
8081 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8083 * buffer.C: ws changes
8086 * BufferView_pimpl.C: ditto
8089 * bufferlist.h: ditto
8093 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8095 * converter.[Ch]: split into itself +
8098 * Makefile.am: += graph.[Ch] + format.[Ch]
8105 * lyxrc.C: added #include "format.h"
8107 2003-02-27 Angus Leeming <leeming@lyx.org>
8109 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8112 * factory.C (createInset): add "label" to the factory.
8114 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8115 string and do no more.
8117 2003-02-27 Angus Leeming <leeming@lyx.org>
8120 * LyXAction.C (init):
8121 * factory.C (createInset):
8122 * BufferView_pimpl.C (dispatch):
8123 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8125 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8127 * lyxfunc.C (dispatch):
8128 * text3.C (dispatch): pass name to params2string.
8130 2003-02-26 Angus Leeming <leeming@lyx.org>
8132 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8134 Rearrange the ~includes. Strip out the unnecessary ones.
8136 * factory.C (createInset): reformat.
8137 create new insets for the various LFUN_XYZ_APPLY lfuns.
8139 2003-02-26 John Levon <levon@movementarian.org>
8142 * lyxrow.C: add isParStart,isParEnd helpers
8144 * paragraph.h: make isInserted/DeletedText take refs
8146 * paragraph_funcs.h:
8147 * paragraph_funcs.C: remove #if 0'd code
8152 * text.C: use lyxrow helpers above.
8153 Move draw and paint routines to RowPainter.
8154 Make several methods use refs not pointers.
8155 Make backgroundColor() const.
8156 Add markChangeInDraw(), isInInset().
8157 Merge changeRegionCase into changeCase.
8158 Make workWidth() shouldn't-happen code into an Assert.
8161 * rowpainter.C: new class for painting a row.
8164 * vspace.C: make inPixels take a ref
8166 2003-02-26 Angus Leeming <leeming@lyx.org>
8168 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8171 2003-02-25 John Levon <levon@movementarian.org>
8173 * ispell.C: give the forked command a more accurate name
8175 2003-02-22 John Levon <levon@movementarian.org>
8178 * toc.C: make TocItem store an id not a Paragraph *
8181 2003-02-21 Angus Leeming <leeming@lyx.org>
8183 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8184 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8185 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8186 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8187 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8188 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8190 * BufferView_pimpl.C (dispatch):
8191 * LyXAction.C (init):
8192 * factory.C (createInset):
8193 * lyxfunc.C (getStatus, dispatch):
8194 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8196 2003-02-21 Angus Leeming <leeming@lyx.org>
8198 * BufferView_pimpl.C (MenuInsertLyXFile):
8199 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8200 * lyxfunc.C (menuNew, open, doImport):
8201 no longer pass a LyXView & to fileDlg.
8203 2003-02-21 Angus Leeming <leeming@lyx.org>
8205 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8206 * LyXAction.C: change, BIBKEY to BIBITEM.
8207 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8208 Change InsetBibKey to InsetBibitem.
8209 Change BIBKEY_CODE to BIBITEM_CODE.
8210 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8211 * factory.C: replace insetbib.h with insetbibitem.h.
8212 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8213 * paragraph.C: replace insetbib.h with insetbibitem.h.
8214 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8215 Change bibkey() to bibitem().
8216 * text.C: remove insetbib.h.
8217 * text2.C: replace insetbib.h with insetbibitem.h.
8218 change bibkey() to bibitem().
8219 * text3.C: remove insetbib.h.
8220 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8222 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * lyxrc.C (output): enclose user email in quotes (in case there are
8227 2003-02-18 John Levon <levon@movementarian.org>
8229 * buffer.h: add std::
8231 2003-02-17 John Levon <levon@movementarian.org>
8237 * pspell.C: reworking. Especially in ispell, a large
8238 number of clean ups and bug fixes.
8240 * lyxfunc.C: fix revert to behave sensibly
8242 2003-02-17 André Pönitz <poenitz@gmx.net>
8245 * commandtags.h: new LFUN_INSERT_BIBKEY
8255 * paragraph_func.C: remove special bibkey handling
8257 2003-02-17 John Levon <levon@movementarian.org>
8259 * text.C (Delete): fix case where delete at the end of
8260 the very first paragraph would not merge the pars
8262 2003-02-17 John Levon <levon@movementarian.org>
8264 * lyxrow.C: fix lastPrintablePos()
8266 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8268 * bufferparams.C (writeLaTeX): add a std:here
8270 * buffer.C: and remove a using directive there
8272 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8274 * buffer.C (makeLaTeXFile): move the code that generates the
8277 * bufferparams.C (writeLaTeX): ... in this new method
8279 * LaTeXFeatures.C (getEncodingSet): make const
8280 (getLanguages): make const
8282 * MenuBackend.C (binding): returns the binding associated to this
8284 (add): sets the status of each item by calling getStatus. Adds
8286 (read): add support for OptSubMenu
8287 (expand): remove extra separator at the end of expanded menu
8289 2003-02-15 John Levon <levon@movementarian.org>
8292 * BufferView_pimpl.C:
8294 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8295 inset code that had no actual effect. Remove unneeded status
8298 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8300 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8303 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8305 * text.C (drawLengthMarker): also draw an arrow marker for
8306 symbolic lengths (medskip...)
8308 2003-02-14 John Levon <levon@movementarian.org>
8311 * tabular.C: better method names
8313 2003-02-14 John Levon <levon@movementarian.org>
8315 * BufferView_pimpl.C:
8320 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8321 it's a more accurate name. Remove some pointless uses.
8323 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8325 * text2.C (LyXText): change order of initilizers to shut off
8328 2003-02-14 John Levon <levon@movementarian.org>
8330 * buffer.C: use ParIterator for getParFromID()
8334 * paragraph_pimpl.h:
8335 * paragraph_pimpl.C: remove unused getParFromID()
8337 2003-02-14 John Levon <levon@movementarian.org>
8339 * buffer.C: remove some very old #if 0'd parse code
8341 2003-02-13 John Levon <levon@movementarian.org>
8345 * text2.C: move hfillExpansion(), numberOfSeparators(),
8346 rowLast(), rowLastPrintable(), numberofHfills(),
8347 numberOfLabelHfills() ...
8350 * lyxrow.C: ... to member functions here.
8355 * text.C: remove LyXText::beginningOfMainBody(), and call
8356 p->beginningOfMainBody() directly. Move the check for
8357 LABEL_MANUAL into the latter.
8364 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8370 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8371 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8373 2003-02-13 John Levon <levon@movementarian.org>
8375 * CutAndPaste.C: remove debug
8377 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8379 * paragraph.C (asString): remove two unused variables
8381 * lyxtextclass.C (readTitleType):
8383 (LyXTextClass): handle new members titletype_ and titlename_
8385 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8387 2003-02-09 John Levon <levon@movementarian.org>
8390 * buffer.C: replace hand-coded list with a map for the dep clean
8392 2003-02-08 John Levon <levon@movementarian.org>
8394 * LaTeX.C: consolidate code into showRunMessage() helper
8396 2003-02-08 John Levon <levon@movementarian.org>
8401 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8402 and pass the size in explicitly
8404 * BufferView_pimpl.h:
8405 * BufferView_pimpl.C:
8407 * BufferView.C: add getCurrentChange()
8409 * BufferView_pimpl.h:
8410 * BufferView_pimpl.C: handle change lfuns
8412 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8413 for changes. Mark pasted paragraphs as new.
8415 * support/lyxtime.h:
8416 * support/lyxtime.C:
8417 * DepTable.C: abstract time_t as lyx::time_type
8420 * LColor.C: add colours for new text, deleted text, changebars
8422 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8423 package use "usenames" option.
8427 * LyXAction.C: add change lfuns
8431 * author.C: author handling
8434 * buffer.C: add a per-buffer author list, with first entry as
8435 current author. Handle new .lyx tokens for change tracking. Output
8436 author list to .lyx file. Output dvipost stuff to .tex preamble.
8437 Bump lyx format to 222.
8440 * bufferlist.C: add setCurrentAuthor() to reset current author details
8444 * bufferparams.C: add param for tracking
8446 * bufferview_funcs.C: output change info in minibuffer
8450 * changes.C: add change-tracking structure
8453 * debug.C: add CHANGES debug flag
8456 * lyxfind.C: add code for finding the next change piece
8459 * lyxrc.C: add user_name and user_email
8462 * lyxrow.C: add a metric for the top of the text line
8465 * text.C: implement accept/rejectChange()
8468 * text.C: paint changebars. Paint new/deleted text in the chosen
8469 colours. Strike through deleted text.
8473 * paragraph_pimpl.h:
8474 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8475 in the current change to the insert functions. Rework erase to
8476 mark text as deleted, adding an eraseIntern() and a range-based
8477 erase(). Implement per-paragraph change lookup and
8480 * paragraph_funcs.C: Fixup paste for change tracking.
8482 * tabular.C: mark added row/columns as new.
8484 * text.C: fix rowLast() to never return -1. Don't allow
8485 spellchecking of deleted text. Track transpose changes. Don't
8486 allow paragraph break or merge where appropriate.
8488 * text2.C: leave cursor at end of selection after a cut.
8490 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8492 * text.C (getLengthMarkerHeight):
8493 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8494 visible on screen too.
8496 2003-02-07 John Levon <levon@movementarian.org>
8498 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8500 2003-02-05 Angus Leeming <leeming@lyx.org>
8502 * lyxserver.C (read_ready): revert my patch of 11 September last year
8503 as it sends PC cpu through the roof. Presumably this means that
8504 the lyxserver will no longer run on an Alpha...
8506 2003-01-30 Angus Leeming <leeming@lyx.org>
8508 * factory.C (createInset): create an InsetCommandParam of type "index"
8509 and use it to 'do the right thing'.
8511 * text2.C (getStringToIndex): ensure that cursor position is always
8512 reset to the reset_cursor position.
8514 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8516 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8519 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8523 * lyxfunc.C: Output messages with identical spelling, punctuation,
8526 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8528 * MenuBackend.C (expandFormats): List only viewable export formats
8531 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8534 * lyxfunc.C (getStatus): Make sure that formats other than
8535 "fax" can also be disabled
8537 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8539 * text3.C (dispatch): put the lfuns that insert insets in 3
8540 groups, and call doInsertInset with appropriate arguments.
8541 (doInsertInset): new function, that creates an inset and inserts
8542 it according to some boolean parameters.
8544 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8546 * buffer.C (readFile): remember to pass on 'par' when calling
8547 readFile recursively.
8549 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * MenuBackend.C (expandFormats): add "..." to import formats.
8553 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8555 * paragraph.C (asString): Remove XForms RTL hacks.
8557 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8558 * buffer.C: fix typo
8560 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * Makefile.am (LIBS): delete var
8563 (lyx_LDADD): add @LIBS@ here instead.
8565 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8567 * Clarify the meaning of "wheel mouse jump"
8569 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8571 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8574 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * importer.C (Loaders): do not preallocate 3 elements in the
8577 vector, since one ends up with 6 elements otherwise
8579 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8581 * DepTable.C (write): write the file name as last element of the
8582 .dep file (because it may contain spaces)
8583 (read): read info in the right order
8585 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * paragraph_pimpl.C (simpleTeXBlanks):
8588 (simpleTeXSpecialChars):
8589 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8591 * tabular.C (latex): add some missing case statements. Reindent.
8593 * MenuBackend.C (expandToc): remove unused variable.
8595 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8604 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8607 2003-01-05 John Levon <levon@movementarian.org>
8610 * BufferView.C: add getEncoding()
8613 * kbsequence.C: do not store last keypress
8616 * lyxfunc.C: store last keypress here instead. Pass encoding
8619 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8621 * lyx_main.C (init): remove annoying error message when following
8622 symbolic links (bug #780)
8624 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8626 * text.C (insertChar):
8627 * lyxrc.C (getDescription): remove extra spaces
8629 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * lyxrc.C (getDescription): remove extra spaces
8633 2002-12-20 John Levon <levon@movementarian.org>
8635 * text3.C: hack fix for page up/down across tall rows
8637 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8639 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8642 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8645 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8646 thesaurus is not compiled in
8648 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8650 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8652 2002-12-16 Angus Leeming <leeming@lyx.org>
8655 * lyx_main.C (init): remove override_x_deadkeys stuff.
8657 2002-12-12 John Levon <levon@movementarian.org>
8659 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8660 insert. Only remove shift modifier under strict
8663 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * MenuBackend.C (expandToc): fix crash.
8667 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * MenuBackend.C (expandToc): gettext on float names.
8671 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8673 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8674 implement bool empty() [bug 490]
8676 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8678 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8680 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * several files: ws changes
8684 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8686 * text2.C (setCounter): clean up a bit, use boost.format.
8687 (updateCounters): initialize par upon declaration.
8689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8690 if the layout exists. We do not just store the layout any more.
8691 (SwitchLayoutsBetweenClasses): use boost.format
8693 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8695 * converter.C (convert): if from and to files are the same, use a
8696 temporary files as intermediary
8698 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8703 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8705 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8707 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * tabular.C (asciiPrintCell): use string(size, char) instead of
8712 * sgml.C (openTag): fix order of arguments to string constructor
8715 * lyxfunc.C (dispatch): use boost.format
8717 * lots of files: change "c" -> 'c'
8719 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8721 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8723 2002-11-25 Angus Leeming <leeming@lyx.org>
8725 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8727 * lyx_main.C (init): compile fix.
8729 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * lyx_cb.C (start): boost.formatify
8732 do not include <iostream>
8734 * lengthcommon.C: ws only
8736 * boost-inst.C,BoostFormat.h: add more explict instantations
8738 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8740 * lots of files: handle USE_BOOST_FORMAT
8742 2002-11-21 John Levon <levon@movementarian.org>
8744 * pspell.C: fix compile
8746 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8748 * lyxfunc.C (dispatch): use boost::format
8752 * lyxfont.C (stateText): use boost::format
8754 * lyx_main.C (LyX): use boost::format
8756 (queryUserLyXDir): ditto
8759 (typedef boost::function): use the recommened syntax.
8761 * importer.C (Import): use boost::format
8763 * debug.C (showLevel): use boost::format
8765 * converter.C (view): use boost::format
8770 * bufferview_funcs.C (currentState): use boost::format
8772 * bufferlist.C (emergencyWrite): use boost::format
8774 * buffer.C (readLyXformat2): use boost::format
8775 (parseSingleLyXformat2Token): ditto
8777 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8779 * LaTeX.C (run): use boost::format
8781 * Chktex.C (scanLogFile): use boost::format
8783 * BufferView_pimpl.C (savePosition): use boost::format
8784 (restorePosition): ditto
8785 (MenuInsertLyXFile): ditto
8787 * BoostFormat.h: help file for explicit instation.
8789 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8791 * tabular.C (latex): Support for block alignment in fixed width
8794 2002-11-17 John Levon <levon@movementarian.org>
8796 * BufferView_pimpl.C:
8798 * lyxfunc.C: split filedialog into open/save
8800 2002-11-08 Juergen Vigna <jug@sad.it>
8802 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8803 by my last patch (hopefully).
8805 2002-11-08 John Levon <levon@movementarian.org>
8814 * toc.C: ParConstIterator, and use it (from Lars)
8816 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8818 * lyxtextclass.[Ch]: revise and add doxygen comments
8820 2002-11-07 John Levon <levon@movementarian.org>
8822 * text.C: fix progress value for spellchecker
8824 * toc.C: fix navigate menu for insetwrap inside minipage
8826 * paragraph_funcs.C: added FIXME for suspect code
8828 2002-11-07 John Levon <levon@movementarian.org>
8830 * BufferView_pimpl.C: fix redrawing of insets
8833 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8835 * text2.C (updateCounters): fix bug 668
8837 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8839 * text3.C (dispatch): Do not make the buffer dirty when moving the
8842 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8844 * vc-backend.C: STRCONV
8847 * text2.C (setCounter): STRCONV
8849 * paragraph.C (asString): STRCONV
8851 * lyxlength.C (asString): STRCONV
8852 (asLatexString): ditto
8854 * lyxgluelength.C (asString): STRCONV
8855 (asLatexString): ditto
8857 * lyxfunc.C (dispatch): STRCONV
8860 * lyxfont.C (stateText): STRCONV
8862 * importer.C (Import): STRCONV
8864 * counters.C (labelItem): STRCONV
8865 (numberLabel): ditto
8866 (numberLabel): remove unused ostringstream o
8871 * bufferview_funcs.C (currentState): STRCONV
8873 * buffer.C (readFile): STRCONV
8874 (asciiParagraph): ditto
8875 (makeLaTeXFile): ditto
8877 * Spacing.C (writeEnvirBegin): STRCONV
8879 * LaTeXFeatures.C (getLanguages): STRCONV
8880 (getPackages): ditto
8882 (getBabelOptions): ditto
8883 (getTClassPreamble): ditto
8884 (getLyXSGMLEntities): ditto
8885 (getIncludedFiles): ditto
8889 (scanAuxFile): ditto
8892 * LString.h: add the STRCONV macros
8894 * BufferView_pimpl.C (savePosition): STRCONV
8895 (restorePosition): ditto
8896 (MenuInsertLyXFile): ditto
8898 * vc-backend.C (scanMaster): change from submatch[...] to
8901 * funcrequest.C: include config.h
8903 * factory.C: include config.h
8905 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8907 * box.C: include config.h
8909 * LaTeX.C (scanAuxFile): change from submatch[...] to
8913 2002-10-25 Angus Leeming <leeming@lyx.org>
8915 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8917 * ispell.[Ch] (setError): new method.
8918 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8919 Use setError() insetead of goto END.
8921 * lyx_cb.C (AutoSave): move out child process into new class
8924 2002-10-30 John Levon <levon@movementarian.org>
8926 * text3.C: make start appendix undoable
8928 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8930 * lyxlength.C (inPixels): Fix returned value.
8932 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8935 2002-10-24 Angus Leeming <leeming@lyx.org>
8937 * lyxgluelength.h: no need to forward declare BufferParams
8938 or BufferView, so don't.
8940 2002-10-21 John Levon <levon@movementarian.org>
8942 * BufferView.C: menuUndo ->undo, redo
8944 * BufferView.h: document, remove dead, make some methods private
8946 * paragraph_funcs.h:
8947 * paragraph_funcs.C:
8948 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8953 * sgml.C: move sgml open/close tag into sgml.C
8955 * bufferview_funcs.h: unused prototype
8958 * lyxfunc.C: remove unused
8961 * text.C: remove unused
8963 2002-10-21 John Levon <levon@movementarian.org>
8967 * BufferView_pimpl.h:
8968 * BufferView_pimpl.C: fix mouse wheel handling based on
8969 patch from Darren Freeman
8971 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8973 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8975 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8977 * lyxlength.C (inPixels): Fix hanfling of negative length.
8978 Fix LyXLength::MU case.
8980 2002-10-16 John Levon <levon@movementarian.org>
8982 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8984 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8986 * converter.C (view): add support for $$i (file name) and $$p
8987 (file path) for the viewer command. If $$i is not specified, then
8988 it is appended to the command (for compatibility with old syntax)
8990 2002-10-14 Juergen Vigna <jug@sad.it>
8992 * undo_funcs.C (textHandleUndo): alter the order in which the
8993 new undopar is added to the LyXText, as we have to set first
8994 the right prev/next and then add it as otherwise the rebuild of
8995 LyXText is not correct. Also reset the cursor to the right paragraph,
8996 with this IMO we could remove the hack in "redoParagraphs()".
8998 2002-10-09 Angus Leeming <leeming@lyx.org>
9000 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9001 to turn off an optimisation if a new inset is to be inserted.
9003 2002-10-11 André Pönitz <poenitz@gmx.net>
9005 * lyxtext.h: make some functions public to allow access
9006 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9008 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9010 * text3.C (dispatch): when changing layout, avoid an infinite loop
9013 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9015 * lyxrc.C (read): treat a viewer or converter command of "none" as
9018 * MenuBackend.C (expandFormats): for an update, also allow the
9019 formats that are not viewable
9021 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9022 script if it is newer than the lyxrc.defaults in user directory
9024 2002-10-07 André Pönitz <poenitz@gmx.net>
9026 * text.C: Vitaly Lipatov's small i18n fix
9028 2002-09-25 Angus Leeming <leeming@lyx.org>
9030 * ispell.h: doxygen fix.
9032 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9034 * buffer.h (readFile): Add a new argument to the method, to allow
9035 reading of old-format templates.
9037 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9039 * toc.C (getTocList): Get TOC from InsetWrap.
9041 2002-09-16 John Levon <levon@movementarian.org>
9043 * lyxfunc.C: check tabular for cut/copy too
9045 2002-09-12 John Levon <levon@movementarian.org>
9050 * factory.C: add header
9052 * paragraph_funcs.h:
9053 * paragraph_funcs.C: cleanup
9055 2002-09-11 John Levon <levon@movementarian.org>
9057 * PrinterParams.h: odd/even default to true
9059 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9061 * PrinterParams.h: update printer parameters for new xforms dialog
9063 2002-09-11 Angus Leeming <leeming@lyx.org>
9065 * lyxserver.C (read_ready): re-write to make it more transparent
9066 and to make it work in coherent fashion under Tru64 Unix.
9068 2002-09-11 André Pönitz <poenitz@gmx.net>
9072 * text3.C: implement LFUN_WORDSEL
9074 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9076 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9077 make floatlist_ a boost::shared_ptr<FloatList>
9079 * lyxtextclass.C: include FloatList.h
9080 (LyXTextClass): initialize floatlist_
9081 (TextClassTags): add TC_NOFLOAT
9082 (Read): match "nofloat" to TC_NOFLOAT and use it.
9083 (readFloat): modify call to floatlist_
9087 * FloatList.[Ch] (FloatList): remove commented out float
9089 (erase): new function
9091 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9093 * MenuBackend.C (expandToc): fix crash when there is no document
9096 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9098 * many files: Add insetwrap.
9100 2002-09-09 John Levon <levon@movementarian.org>
9102 * text2.C: remove confusing and awkward depth wraparound
9104 2002-09-09 John Levon <levon@movementarian.org>
9106 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9109 * buffer.C: remove getIncludeonlyList()
9112 * lyxfunc.C: remove headers
9114 2002-09-09 Juergen Vigna <jug@sad.it>
9116 * text.C (getColumnNearX): fix form Michael this is most
9117 probably a cut&paste bug.
9119 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9121 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9123 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9124 references, ws changes.
9126 * text2.C (init): update counters after init
9127 (insertParagraph): no need to set counter on idividual paragraphs.
9128 (setCounter): access the counters object in the textclass object
9129 on in the buffer object.
9130 (updateCounters): ditto
9132 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9133 shared_ptr<Counters> to avoid loading counters.h in all
9135 (LyXTextClass): initialize ctrs_
9136 (TextClassTags): add TC_COUNTER, and ...
9137 (Read): use it here.
9138 (CounterTags): new tags
9139 (readCounter): new function
9140 (counters): new funtion
9141 (defaultLayoutName): return a const reference
9143 * counters.C (Counters): remove contructor
9144 (newCounter): remove a couple of unneeded statements.
9145 (newCounter): simplify a bit.
9146 (numberLabel): some small formatting changes.
9148 * buffer.[Ch]: remove all traces of counters, move the Counters
9149 object to the LyXTextClass.
9151 2002-09-06 Alain Castera <castera@in2p3.fr>
9153 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9154 package to set the horizontal alignment on fixed width columns.
9157 * lyx_sty.h: added tabularnewline macro def.
9159 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9161 2002-09-06 John Levon <levon@movementarian.org>
9163 * LyXAction.C: tooltips for sub/superscript
9165 * MenuBackend.C: a bit more verbose
9167 * lyxfunc.C: tiny clean
9169 * undo_funcs.C: document undo_frozen
9171 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9173 * counters.C (Counters): add missing algorithm counter.
9175 * text2.C (setCounter): lookup the counter with layouts latexname
9176 instead of by section number.
9177 (setCounter): use a hackish way to lookup the correct enum
9179 a float name->type change
9180 reset enum couners with counter name directly instead of depth value.
9182 * counters.C (Counters): remove the push_backs, change to use the
9183 float type not the float name.
9184 (labelItem): remove unused string, float name->type change
9186 * counters.h: don't include vector, loose the enums and sects vectors
9188 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9191 (Read): add float->TC_FLOAT to textclassTags
9192 (Read): and handle it in the switch
9193 (readFloat): new function
9195 * FloatList.C (FloatList): comment out the hardcoded float
9198 * lyxlayout.h: ws change.
9200 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9202 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9204 2002-09-03 Angus Leeming <leeming@lyx.org>
9206 * BufferView_pimpl.h: qualified name is not allowed in member
9207 declaration: WorkArea & Pimpl::workarea() const;
9209 * factory.C: added using std::endl directive.
9211 * text3.C: added using std::find and std::vector directives.
9213 2002-08-29 André Pönitz <poenitz@gmx.net>
9216 * text2.C: remove unused member number_of_rows
9219 * BufferView2.C: remove file, move contents to...
9220 * BufferView.C: ... here
9222 * BufferView_pimpl.C:
9223 * factory.C: move more inset creation to factory
9225 * vspace.C: avoid direct usage of LyXText, ws changes
9228 don't provide direct access to WorkArea, use two simple
9229 acessors haveSelction() and workHeight() instead
9232 2002-08-29 John Levon <levon@movementarian.org>
9234 * BufferView_pimpl.C (dispatch): do not continue when
9237 2002-08-28 André Pönitz <poenitz@gmx.net>
9239 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9242 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9244 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9246 * buffer.C: increment LYX_FORMAT to 221
9248 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9249 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9251 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9253 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9255 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9257 * factory.C (createInset): use LyXTextClass::floats
9259 * MenuBackend.C (expandFloatListInsert):
9260 (expandFloatInsert):
9263 * text2.C (setCounter):
9265 * LaTeXFeatures.C (useFloat):
9266 (getFloatDefinitions):
9268 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9270 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9271 floatlist_, with accessor floats().
9273 * FloatList.h: remove global FloatList
9275 2002-08-26 André Pönitz <poenitz@gmx.net>
9277 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9281 * BufferView_pimpl.C:
9282 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9284 2002-08-25 John Levon <levon@movementarian.org>
9286 * LyXAction.C: fix margin note description
9288 2002-08-24 John Levon <levon@movementarian.org>
9292 * bufferview_funcs.C:
9294 * undo_funcs.C: cleanups
9296 * lyxfunc.C: disable CUT/COPY when no selection
9298 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9300 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9301 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9303 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9304 Add backward compatibility to "mono", "gray" and "no".
9306 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9308 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9309 (and file_format >= 200).
9311 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9313 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9315 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9317 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9319 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9321 * BufferView_pimpl.C:
9328 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9329 inset and code to make it work with the paragraph code. The inset
9330 can be anywhere in the paragraph, but will only do the expected
9331 thing in LaTeX if the layout file contains the parameter line
9333 (or more generally, a nonzero value) for that layout.
9335 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9337 * paragraph.h: remove the declaration of undefined counters class
9340 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9342 * text2.C (setCounter): fixed enumeration mis-count as reported by
9343 Dr. Richard Hawkins.
9345 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9347 * paragraph_funcs.h: remove some unneeded includes
9349 * text.C (backspace): pasteParagraph now in global scipe
9351 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9352 (pasteSelection): ditto
9354 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9355 * paragraph_funcs.C (pasteParagraph): ... here
9357 2002-08-20 André Pönitz <poenitz@gmx.net>
9359 * commandtags.h: new LFUNs for swapping/copying table row/colums
9362 * lyxfunc.C: support for new lfuns
9364 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9367 * buffer.[Ch]: remove NO_COMPABILITY stuff
9369 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * boost.C (throw_exception): new file, with helper function for
9372 boost compiled without exceptions.
9377 * ParameterStruct.h:
9378 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9380 * bufferlist.C (emergencyWriteAll): use boost bind
9382 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9384 * text.C: include paragraph_funcs.h
9385 (breakParagraph): breakParagraph is now in global scope
9387 * paragraph_funcs.[Ch]: new files
9389 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9392 * buffer.C: include paragraph_funcs.h
9393 (insertStringAsLines): breakParagraph is now in global scope
9395 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9398 * CutAndPaste.C: include paragraph_funcs.h
9399 (cutSelection): breakParagraphConservative is now in global scope
9400 (pasteSelection): ditto
9402 * buffer.h: declare oprator== and operator!= for
9403 Buffer::inset_iterator
9405 * bufferlist.C (emergencyWrite): don't use fmt(...)
9407 * text3.C: add using std::endl
9409 * BufferView.C (moveCursorUpdate): remove default arg
9411 2002-08-20 André Pönitz <poenitz@gmx.net>
9413 * buffer.[Ch]: move inline functions to .C
9416 * BufferView_pimpl.C:
9418 * buffer.[Ch]: use improved inset_iterator
9421 * paragraph.[Ch]: write one paragraph at a time
9423 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9425 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9426 style if style is not specified.
9428 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9430 * text2.C (setCounter): when searching for right label for a
9431 caption, make sure to recurse to parent insets (so that a caption
9432 in a minipage in a figure float works) (bug #568)
9434 2002-08-20 André Pönitz <poenitz@gmx.net>
9436 * text3.C: new file for LyXText::dispatch() and helpers
9438 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9440 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9442 2002-08-19 André Pönitz <poenitz@gmx.net>
9445 * text.C: new LyXText::dispatch()
9447 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9449 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9451 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9453 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9456 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9458 * Makefile.am: use $(variables) instead of @substitutions@
9460 2002-08-15 André Pönitz <poenitz@gmx.net>
9463 * BufferView_pimpl.C: streamlining mathed <-> outer world
9467 * LyXAction.C: remove unused LFUN_MATH
9469 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9471 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9473 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9475 * paragraph.C (Paragraph): reformat a bit
9476 (cutIntoMinibuffer): use builtin InsetList function instad of
9480 * buffer.C: include boost/bind.hpp, add using std::for_each
9481 (writeFileAscii): use ParagraphList iterators
9482 (validate): use for_each for validate traversal of paragraphs
9483 (getBibkeyList): use ParagraphList iterators
9484 (resizeInsets): use for_each to resizeInsetsLyXText for all
9486 (getParFromID): use ParagraphList iterators
9488 * BufferView2.C (lockInset): use paragraph list and iterators
9490 2002-08-14 John Levon <levon@movementarian.org>
9492 * lyxserver.C: remove spurious xforms include
9494 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9496 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9498 2002-08-13 André Pönitz <poenitz@gmx.net>
9501 * lyxfunc.C: further cleaning
9503 2002-08-13 André Pönitz <poenitz@gmx.net>
9505 * funcrequest.h: new constructor
9507 * funcrequest.C: move stuff here from .h
9510 * BufferView_pimpl.C:
9513 * lyxfunc.C: subsequent changes
9515 * lyxfunc.h: new view() member function
9517 * lyxfunc.C: subsequent changes
9519 2002-08-13 Angus Leeming <leeming@lyx.org>
9522 * BufferView_pimpl.C:
9530 changes due to the changed LyXView interface that now returns references
9531 to member variables not pointers.
9533 2002-08-13 Angus Leeming <leeming@lyx.org>
9535 * WordLangTuple (word, lang_code): return references to strings,
9540 * lyxtext.h: forward-declare WordLangTuple.
9545 * text.C: #include "WordLangTuple.h".
9548 * text.C: (selectNextWordToSpellcheck): constify return type.
9550 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9556 * paragraph_pimpl.h:
9559 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9561 Made updateCounter always count from start of buffer, and removed
9562 second argument (par).
9563 Reverted floats number display to '#'. Perhaps I'll try again when the
9564 code base is sanitized a bit.
9566 2002-08-12 Angus Leeming <leeming@lyx.org>
9568 * buffer.[Ch] (getLabelList): constify.
9570 2002-08-07 André Pönitz <poenitz@gmx.net>
9572 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9574 * funcrequest.h: extension to keep mouse (x,y) position
9576 2002-08-12 Juergen Vigna <jug@sad.it>
9578 * BufferView2.C (insertErrors): forbid undo when inserting error
9581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9583 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9585 * ParagraphList.[Ch]: new files
9587 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9589 * BufferView2.C (lockInset): ParagraphList changes
9592 * bufferlist.C: ditto
9596 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9598 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9599 unused class variable counter_,
9601 * paragraph.[Ch] (getFirstCounter): delete unused function
9603 * counters.C: include LAssert.h
9604 (reset): add a new function with no arg, change other version to
9605 not have def. arg and to not allow empty arg.
9607 * text2.C (setCounter): remove empty arg from call to Counters::reset
9609 2002-08-11 John Levon <levon@movementarian.org>
9611 * Makefile.am: add WordLangTuple.h
9613 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9615 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9616 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9618 * insets/insettext.C: InsetList changes
9620 * graphics/GraphicsSupport.C (operator()): InsetList changes
9622 * toc.C (getTocList): InsetList changes
9624 * paragraph_pimpl.[Ch]: InsetList changes
9626 * paragraph.[Ch]: InsetList changes
9628 * buffer.C (inset_iterator): InsetList changes
9629 (setParagraph): ditto
9630 * buffer.h (inset_iterator): ditto
9631 * iterators.C (operator++): ditto
9632 * iterators.h: ditto
9634 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9636 * InsetList.[Ch]: new files, most InsetList handling moved out of
9639 * BufferView2.C (removeAutoInsets): InsetList changes
9641 (ChangeInsets): ditto
9643 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9645 * paragraph_pimpl.h (empty): new function
9647 * paragraph.[Ch] (empty): new function
9649 * other files: use the new Paragraph::empty function
9651 2002-08-09 John Levon <levon@movementarian.org>
9653 * lyxtext.h: remove unused refresh_height
9655 2002-08-09 John Levon <levon@movementarian.org>
9662 * paragraph.C: move sgml char escaping out of paragraph
9665 * paragraph.C: remove id setter
9669 * paragraph_pimpl.C: remove dead tex_code_break_column
9671 * bufferview_funcs.C: small cleanup
9673 * lyxfunc.C: remove dead proto
9675 * lyxtext.h: make some stuff private. Remove some dead stuff.
9677 * lyxgluelength.C: make as[LyX]String() readable
9679 2002-08-08 John Levon <levon@movementarian.org>
9684 * ToolbarDefaults.C:
9687 * toc.C: lyxaction cleanup
9689 2002-08-08 John Levon <levon@movementarian.org>
9691 * BufferView2.C: small cleanup
9694 * lyxfind.C: move unnecessary header into the .C
9696 2002-08-08 John Levon <levon@movementarian.org>
9698 * funcrequest.h: just tedious nonsense
9701 * lyx_main.C: cleanups
9704 * vspace.C: remove dead header lyx_main.h
9706 2002-08-07 Angus Leeming <leeming@lyx.org>
9709 * paragraph_pimpl.h:
9710 Forward declare class Counters in paragraph.h by moving the ctrs member
9711 variable into Paragraph::Pimpl.
9712 (counters): new method, returning a reference to pimpl_->ctrs.
9714 * text2.C: ensuing changes.
9716 2002-08-07 John Levon <levon@movementarian.org>
9718 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9720 * BufferView_pimpl.C: announce X selection on double/triple
9723 * lyx_main.C: use correct bool in batch dispatch
9725 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9727 2002-08-07 André Pönitz <poenitz@gmx.net>
9729 * funcrequest.h: new class to wrap a kb_action and its argument
9732 * BufferView_pimpl[Ch]:
9736 * lyxrc.C: subsequent changes
9739 2002-08-07 John Levon <levon@movementarian.org>
9741 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9742 document options change.
9744 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9749 * makefile.am: move counters functionality over from
9750 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9752 2002-08-06 John Levon <levon@movementarian.org>
9754 * WordLangTuple.h: new file for word + language code tuple
9765 * BufferView2.C: use WordLangTuple
9768 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9770 2002-08-06 John Levon <levon@movementarian.org>
9772 * lyx_main.C: fix cmdline batch handling
9774 2002-08-06 André Pönitz <poenitz@gmx.net>
9776 * lyxrc.C: set default for show_banner to true
9778 2002-08-06 John Levon <levon@movementarian.org>
9780 * pspell.C: fix a crash, and allow new aspell to work
9782 2002-08-06 John Levon <levon@movementarian.org>
9785 * kbmap.C: small cleanup
9788 * vspace.C: add const
9790 2002-08-05 John Levon <levon@movementarian.org>
9792 * LyXAction.C: back to tabular-insert
9794 2002-08-04 John Levon <levon@movementarian.org>
9797 * BufferView.C: cosmetic change
9799 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9809 * BufferView2.C: purge all "Lyx" not "LyX" strings
9812 * lyxcursor.C: attempt to add some documentation
9817 * ToolbarDefaults.C:
9818 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9819 merge with LFUN_TABULAR_INSERT
9826 * pspell.C: split up i/pspell implementations into separate
9827 files, many cleanups
9829 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9831 * text2.C: some cleanup
9833 * lyxfunc.C: don't check for isp_command == "none" any more, it
9834 didn't make any sense
9836 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9841 * makefile.am: move counters functionality over
9842 from text2.C/paragraph.[Ch] to counters.[Ch], and
9844 2002-08-02 John Levon <levon@movementarian.org>
9846 * buffer.C: s/lyxconvert/lyx2lyx/
9848 2002-08-02 Angus Leeming <leeming@lyx.org>
9850 * lyxlex.C: revert John's change as it breaks reading of the user
9853 2002-08-02 Angus Leeming <leeming@lyx.org>
9855 * importer.C (Import):
9856 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9857 changes due to LyXView::view() now returning a boost::shared_ptr.
9859 2002-08-02 John Levon <levon@movementarian.org>
9861 * lyxlex.C: small cleanup
9863 2002-08-02 John Levon <levon@movementarian.org>
9865 * text2.C (status): small cleanup, no logic change
9867 2002-08-01 John Levon <levon@movementarian.org>
9870 * buffer.C (writeFile): don't output alerts, caller
9874 * lyx_cb.C: from above
9876 * lyxfunc.C: allow to open non-existent files
9878 2002-07-31 John Levon <levon@movementarian.org>
9880 * lyxserver.C: don't let incidental errors get
9883 2002-07-30 John Levon <levon@movementarian.org>
9885 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9887 2002-07-30 John Levon <levon@movementarian.org>
9890 * lyxserver.C: remove I/O callback too
9892 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9894 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9897 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9899 * many files: strip,frontStrip -> trim,ltrim,rtrim
9901 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9903 * PrinterParams.h: remove extern containsOnly, and include
9904 support/lstrings.h instead.
9906 * LaTeX.C (scanAuxFile): modify because of strip changes
9908 * buffer.C (makeLaTeXFile): ditto
9909 * bufferparams.C (writeFile): ditt
9910 * lyxfont.C (stateText): ditto
9911 * lyxserver.C (read_ready): ditto
9912 * vc-backend.C (scanMaster): ditto
9914 * BufferView_pimpl.h: ws changes
9916 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9918 2002-07-26 André Pönitz <poenitz@gmx.net>
9920 * kb_sequence.C: remove unnedred usings
9922 2002-07-26 Juergen Vigna <jug@sad.it>
9924 * lyxfind.C (LyXReplace): we have to check better if the returned
9925 text is not of theLockingInset()->getLockingInset().
9927 2002-07-25 Juergen Vigna <jug@sad.it>
9929 * lyxfind.C (LyXReplace): don't replace if we don't get the
9932 * undo_funcs.C (createUndo): remove debugging code.
9934 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9936 * buffer.C (parseSingleLyXformat2Token): Use default placement
9937 when reading old floats.
9939 * FloatList.C (FloatList): Change the default placement of figure
9940 and tables to "tbp".
9942 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9944 * MenuBackend.C: using std::max
9946 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9948 * MenuBackend.C (expandToc):
9949 (expandToc2): code moved from xforms menu frontend. It is now
9950 generic and TOCs are transparent to menu frontends.
9952 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9954 * toc.C (getTocList): protect against buf=0
9956 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9957 Menu as first parameter. Now, this calls itself recursively to
9958 expand a whole tree (this will be useful for TOC handling)
9959 (expandFloatInsert): remove 'wide' version of floats
9961 * MenuBackend.h (submenuname): returns the name of the submenu.
9962 (submenu): returns the submenu itself, provided it has been
9963 created by MenuBackend::expand
9965 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9968 insets which have noFontChange == true. (bug #172)
9970 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * BufferView_pimpl.C: add connection objects and use them...
9975 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * MenuBackend.C (expandLastfiles):
9980 (expandFloatListInsert):
9981 (expandFloatInsert):
9982 (expand): split expand in parts
9984 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9986 * lyx_gui.C: use lyx_gui::exit()
9988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9990 * LyXAction.C: show the failing pseudo action
9992 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9994 * buffer.C (readFile): Run the lyxconvert script in order to read
9997 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10001 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10003 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10007 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10009 2002-07-22 Herbert Voss <voss@lyx.org>
10012 * lyxlength.[Ch]: add support for the vertical lengths
10014 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10016 * toc.[Ch]: std:: fixes
10018 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * lyxrc.C: do not include lyx_main.h
10022 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10028 * BufferView2.C: include "lyxlex.h"
10031 * bufferparams.h: do not #include "lyxlex.h"
10033 * lyxtextclasslist.C (Add): remove method
10034 (classlist): renamed to classlist_
10036 * paragraph_pimpl.C:
10040 * bufferview_funcs.C:
10045 * toc.C (getTocList): use BufferParams::getLyXTextClass
10047 * toc.C (getTocList): use InsetFloat::addToToc
10049 * toc.[Ch]: new files, containing helper functions to handle table
10052 * lyxfunc.C (dispatch): no need to remove spaces around command
10054 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10055 first command of the sequence; it is not very clever, but I do not
10056 have a better idea, actually
10058 * LyXAction.C (LookupFunc): make sure to remove space at the
10059 beginning and end of the command
10061 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * MenuBackend.C (getMenubar): new method: return the menubar of
10065 (read): treat differently reading of menu and menubar (in
10066 particular, the menubar has no name now)
10067 (Menu::menubar): remove
10069 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10072 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10074 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10075 a bibitem inset in a RTL paragraph.
10077 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10079 * paragraph_pimpl.C: constify
10081 * BufferView_pimpl.C:
10083 * lyxfunc.C: fix dispatch in a nicer way
10085 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10087 * lyxfunc.C (dispatch):
10088 * BufferView_pimpl.C:
10089 * BufferView_pimpl.h:
10091 * BufferView.h: rename Dispatch() to dispatch()
10093 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10095 * lyxlayout.C (Read): honor DependsOn tag
10097 * lyxlayout.[Ch] (depends_on): new method
10099 * version.C.in: update lyx_docversion
10101 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10103 * paragraph.C (validate): remove from here...
10104 * paragraph_pimpl.C (validate): ... and move here
10105 (isTextAt): make it const
10107 * buffer.C (getLists): ws cleanup
10109 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10111 * language.C (read): Use iso8859-1 encoding in latex_lang
10112 (this prevents LyX from crashing when using iso10646-1 encoding).
10114 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10116 * text2.C (toggleInset): if cursor is inside an inset, close the
10117 inset and leave cursor _after_ it
10119 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10121 * lyxfunc.C: move minibuffer completion handling out of here
10123 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10125 * BufferView_pimpl.C:
10126 * LaTeX.C: fix dispatch calls
10128 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10130 * text.C (drawChars): Fix Arabic text rendering.
10132 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10136 * lyxfunc.C: remove message-push/pop
10140 * lyxfunc.C: rationalise some code by removing verboseDispatch
10141 in favour of a bool argument to dispatch()
10143 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * lyx_main.C (init): make sure to read symlinks as absolute paths
10147 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10150 * lyxfunc.C: no need for commandshortcut to be a member
10152 2002-07-15 André Pönitz <poenitz@gmx.net>
10154 * converter.C: add support for $$s (scripts from lib/scripts dir)
10155 * lyx_main.C: white space
10157 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10161 * lyxrc.C: remove second exit confirmation
10163 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10168 * BufferView_pimpl.h:
10169 * BufferView_pimpl.C:
10170 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10172 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10174 * MenuBackend.C (expand): add numeric shortcuts to document menu
10176 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10178 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * lyxfont.C (setLyXFamily):
10187 * buffer.C (asciiParagraph): use ascii_lowercase
10189 2002-07-15 Mike Fabian <mfabian@suse.de>
10191 * lyxlex_pimpl.C (search_kw):
10192 * lyxlex.C (getLongString):
10193 * converter.h (operator<):
10194 * converter.C (operator<):
10195 * buffer.C (parseSingleLyXformat2Token):
10197 * ToolbarDefaults.C (read):
10198 * MenuBackend.C (checkShortcuts):
10200 * LColor.C (getFromGUIName):
10201 (getFromLyXName): use the compare_ascii_no_case instead of
10202 compare_no_case, because in turkish, 'i' is not the lowercase
10203 version of 'I', and thus turkish locale breaks parsing of tags.
10205 2002-07-16 Angus Leeming <leeming@lyx.org>
10207 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10208 now takes a Buffer const & argument.
10210 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10212 * BufferView.C (resize): check there's a buffer to resize
10214 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10216 * lyxfunc.C: remove dead code
10219 * lyxserver.C: use lyx_guii::set_read_callback
10221 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10223 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10224 an inset in a RTL paragraph.
10226 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10228 * lyxfunc.C: repaint after a font size update
10230 2002-07-15 André Pönitz <poenitz@gmx.net>
10232 * lyxlength.C: inBP should be able to return negative values
10234 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10236 * lyxfunc.C: use lyx_gui::update_fonts()
10238 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxfunc.C: use lyx_gui::update_color()
10242 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10248 * lyxrc.C: remove file->new asks for name option, and let
10249 buffer-new take an argument
10251 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10253 * BufferView_pimpl.C: remove unneeded extra repaint()
10255 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10257 * LyXAction.C: allow command-sequence with NoBuffer
10259 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10261 2002-07-10 Angus Leeming <leeming@lyx.org>
10263 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10265 2002-07-09 Angus Leeming <leeming@lyx.org>
10267 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10269 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10271 * lengthcommon.h: whitespace
10273 * lyxfunc.C: update scrollbar after goto paragraph
10275 * lyxtext.h: factor out page break drawing, and fix it so
10276 page break/added space paints as selected nicely
10278 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10280 * BufferView_pimpl.C: add FIXMEs, clean up a little
10282 2002-07-09 André Pönitz <poenitz@gmx.net>
10284 * lyxfont.[Ch]: support for wasy symbols
10286 2002-07-08 André Pönitz <poenitz@gmx.net>
10288 * BufferView_pimpl.C: apply John's patch for #93.
10290 2002-07-05 Angus Leeming <leeming@lyx.org>
10292 * BufferView_pimpl.C (buffer): generate previews if desired.
10294 * LColor.h: add "preview" to the color enum.
10296 * LColor.C (LColor): add a corresponding entry to the items array.
10298 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10301 2002-07-05 Angus Leeming <leeming@lyx.org>
10303 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10304 The body of the code is now in the method that is passed an ostream &
10305 rather than a file name.
10306 Pass an additional only_preamble parameter, useful for the forthcoming
10309 2002-07-03 André Pönitz <poenitz@gmx.net>
10311 * lyxfunc.C: simplify getStatus() a bit for math stuff
10313 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10317 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * text.C (changeRegionCase): do not change case of all the
10320 document when region ends at paragraph end (bug #461)
10322 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * paragraph.C (startTeXParParams):
10325 (endTeXParParams): add \protect when necessary
10327 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * BufferView_pimpl.C (workAreaExpose): remove warning
10331 2002-06-27 Angus Leeming <leeming@lyx.org>
10333 * Makefile.am: add lyxlayout_ptr_fwd.h.
10335 2002-06-26 André Pönitz <poenitz@gmx.net>
10337 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10339 2002-06-25 Angus Leeming <leeming@lyx.org>
10341 * lyxfunc.C (dispatch): Comment out the call to
10342 grfx::GCache::changeDisplay. The method no longer exists now that the
10343 pixmap generation part of the graphics loader has been moved into
10346 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10348 * text2.C: layout as layout
10350 * text.C: layout as layout
10352 * tabular.C (OldFormatRead): layout as layout
10354 * paragraph_pimpl.C (TeXDeeper): layout as layout
10355 (realizeFont): layout as layout
10357 * paragraph.C (writeFile): layout as layout
10358 (validate): layout as layout
10359 (getFont): layout as layout
10360 (getLabelFont): layout as layout
10361 (getLayoutFont): layout as layout
10362 (breakParagraph): layout as layout
10363 (stripLeadingSpaces): layout as layout
10364 (getEndLabel): layout as layout
10365 (getMaxDepthAfter): layout as layout
10366 (applyLayout): layout as layout
10367 (TeXOnePar): layout as layout
10368 (simpleTeXOnePar): layout as layout
10369 (TeXEnvironment): layout as layout
10370 (layout): layout as layout
10371 (layout): layout as layout
10373 * lyxtextclass.C (compare_name): new functor to work with
10374 shared_ptr, layout as layout
10375 (Read): layout as layout
10376 (hasLayout): layout as layout
10377 (operator): layout as layout
10378 (delete_layout): layout as layout
10379 (defaultLayout): layout as layout
10381 * lyxlayout_ptr_fwd.h: new file
10383 * lyxlayout.C (Read): layout as layout
10385 * lyx_cb.C (MenuInsertLabel): layout as layout
10387 * bufferlist.C (newFile): layout as layout
10389 * buffer.C (readLyXformat2): layout as layout
10390 (parseSingleLyXformat2Token): layout as layout
10391 (insertStringAsLines): layout as layout
10392 (asciiParagraph): layout as layout
10393 (latexParagraphs): layout as layout
10394 (makeLinuxDocFile): layout as layout
10395 (simpleLinuxDocOnePar): layout as layout
10396 (makeDocBookFile): layout as layout
10397 (simpleDocBookOnePar): layout as layout
10398 (getLists): layout as layout
10400 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10402 * CutAndPaste.C (cutSelection): layout as layout
10403 (pasteSelection): layout as layout
10404 (SwitchLayoutsBetweenClasses): layout as layout
10406 * BufferView_pimpl.C (Dispatch): layout as layout
10407 (smartQuote): layout as layout
10409 * BufferView2.C (unlockInset): layout as layout
10411 2002-06-24 André Pönitz <poenitz@gmx.net>
10413 * lyxfunc.C: fix #487
10415 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxfunc.C: remove display_shortcuts, show_banner
10421 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10423 * Buffer_pimpl.C: oops, update on resize
10425 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10432 * BufferView.C: use repaint()
10434 * BufferView_pimpl.h:
10435 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10436 as it's a clearer description. Remove superfluous
10439 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10441 * text.C: fix bug 488. Not ideal, but getting
10442 getWord() to work properly for the insets that
10443 matter is more difficult ...
10445 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10447 * BufferView_pimpl.C:
10450 * lyxfunc.C: remove the six million index lyxfuncs to just
10451 one, and DTRT (bug 458)
10453 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10457 * BufferView_pimpl.h:
10458 * BufferView_pimpl.C: clean up resize() stuff,
10459 and unnecessary updateScreen()s
10461 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.h:
10466 * BufferView_pimpl.C:
10469 * minibuffer.C: remove focus management of workarea,
10470 not needed. Use screen's greyOut()
10472 2002-06-17 Herbert Voss <voss@lyx.org>
10474 * converter.C: (convert) do not post a message, when converting
10475 fails, let the calling function decide what to do in this case
10477 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10479 * lyxfunc.C: tidy up a little
10481 2002-06-16 <alstrup@diku.dk>
10483 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10484 Got rid of FORMS_H_LOCATION include. Now we are
10487 2002-06-15 LyX Development team <lyx@rilke>
10489 * buffer.[Ch] (sgmlOpenTag):
10490 (sgmlCloseTag): Added support for avoiding pernicious mixed
10491 content. Return number of lines written.
10493 (makeLinuxDocFile):
10494 (makeDocBookFile): Fixed calls to sgml*Tag.
10495 Simple white space clean.
10497 (simpleDocBookOnePar): Simple white space clean.
10499 * tabular.[Ch] (docBook): Renamed to docbook and got another
10500 argument to related with the pernicious mixed content.
10502 (docbookRow): Fixed calls for docbook inset method.
10504 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10506 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10507 so it's X11 independent.
10511 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10513 2002-06-15 Lyx Development team <lyx@electronia>
10515 * intl.h: Renamed getTrans to getTransManager.
10517 2002-06-14 Angus Leeming <leeming@lyx.org>
10519 * Makefile.am: nuke forgotten stl_string_fwd.h.
10521 2002-06-12 Angus Leeming <leeming@lyx.org>
10523 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10525 2002-06-13 Angus Leeming <leeming@lyx.org>
10528 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10530 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10532 * kbmap.C (getiso): add support for cyrillic and greek
10534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10538 * BufferView_pimpl.h:
10539 * BufferView_pimpl.C: move bogus scrolling logic
10542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10545 * BufferView_pimpl.C: view->resize() change
10547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C: topCursorVisible
10552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10556 * lyx_gui.C: move to frontends/
10560 * lyx_main.C: changes from above
10562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10569 * lyx_main.C: minor tidy
10571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10573 * BufferView_pimpl.h:
10574 * BufferView_pimpl.C:
10576 * BufferView.C: make painter() const,
10579 * BufferView2.C: use screen() accessor
10582 * lyx_main.C: some minor cleanup
10584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10586 * BufferView_pimpl.h:
10587 * BufferView_pimpl.C: remove enter/leaveView,
10590 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10595 * BufferView_pimpl.h:
10596 * BufferView_pimpl.C: only construct screen once,
10599 * lyxrc.C: remove pointless comment
10601 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10604 * BufferView.C: remove active() and belowMouse()
10606 * BufferView_pimpl.h:
10607 * BufferView_pimpl.C: use workarea() not workarea_,
10608 and make it use a scoped_ptr instead
10610 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10612 * lyx_gui.C: add debug message on BadWindow
10614 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10616 * sp_spell.C: fdopen is not part of the C++ standard.
10618 * paragraph.C (InsetIterator): use >= instead of ==
10620 2002-06-07 Angus Leeming <leeming@lyx.org>
10622 Fixes needed to compile with Compaq cxx 6.5.
10623 * BufferView_pimpl.C:
10630 * lyxtextclasslist.C:
10635 all c-library variables have been moved into namespace std. Wrap
10636 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10641 Add a using std::abs declaration.
10643 * kbmap.h (modifier_pair):
10644 * paragraph.h (InsetTable, InsetList):
10645 * lyxfont.h (FontBits):
10646 type definition made public.
10648 * bufferlist.C (emergencyWriteAll): the compiler complains that
10649 there is more than one possible lyx::class_fun template to choose from.
10650 I re-named the void specialisation as lyx::void_class_fun.
10652 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10654 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10655 the compiler is is unable to find tostr in write_attribute.
10657 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10659 * buffer.C (sgmlError): hide #warning
10661 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * xtl/*: get rid of xtl, which is not in use anyway
10665 * LyXAction.C (init):
10666 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10667 were unimplemented xtl experimentation
10669 2002-06-04 André Pönitz <poenitz@gmx.net>
10671 * lyxfunc.C: disable array operation on simple formulae
10673 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10675 * converter.C: constify a bit
10677 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10679 * lyx_gui.C: check xforms version correctly
10681 2002-04-30 Herbert Voss <voss@lyx.org>
10683 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10686 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10688 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10689 attempt to register it with a VCS)
10691 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * lyx_main.C (init): honor variables LYX_DIR_13x and
10696 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10700 * lyx_main.C: fix a crash on bad command line,
10701 and give a useful exit status on error
10703 * lyxfunc.C (doImport): allow -i lyx to work
10705 2002-03-30 André Pönitz <poenitz@gmx.net>
10707 * lyxfunc.C: mathed font changes
10709 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10724 * trans_mgr.h: srcdocs, and some minor cleanups
10726 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10728 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10729 call getFont all the time)
10731 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * switch from SigC signals to boost::signals
10735 2002-05-29 André Pönitz <poenitz@gmx.net>
10737 * paragraph_pimpl.C (getChar): don't call size() too often...
10739 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * paragraph_pimpl.C (insertChar): do not try to update tables when
10742 appending (pos == size())
10744 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10745 in order to reduce drastically the number of comparisons needed to
10746 parse a large document
10748 2002-05-29 André Pönitz <poenitz@gmx.net>
10754 * textclasslist.[Ch]:
10755 * sp_ispell.h: whitespace change
10757 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10760 lyxaction directly now.
10762 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10766 * lyxvc.C: remove unused headers
10768 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10775 * undo_funcs.C: some cleanups. Use shared_ptr
10776 and a template for the undo stacks.
10778 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.h:
10781 * BufferView_pimpl.C:
10788 * text2.C: use key_state/mouse_state
10790 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10795 * chset.C: change include order
10796 (loadFile): use boost regex and get rid of LRegex and LSubstring
10798 * Makefile.am (BOOST_LIBS): new variable
10799 (lyx_LDADD): use it
10801 * LaTeX.C: change include order.
10802 (scanAuxFile): use boost regex and get rid of LRegex and
10806 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10811 * FontInfo.C: moved to frontends/xforms/
10814 * FontLoader.C: moved into frontends for GUIIzation
10819 * lyxfunc.C: changes from above
10821 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10823 * LColor.C: remove spurious X include
10825 * BufferView_pimpl.C:
10830 * text2.C: move font metrics to frontends/
10832 2002-05-24 Juergen Vigna <jug@sad.it>
10834 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10835 setting the undo_cursor.
10837 * ParagraphParameters.h: include local includes first.
10839 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10841 * BufferView_pimpl.C:
10842 * BufferView_pimpl.h:
10846 * screen.C: move WorkArea into frontends/
10852 * BufferView2.C: move LyXScreen into frontends/
10856 * lyx_gui.C: move lyxlookup into frontends/xforms/
10858 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10861 * BufferView_pimpl.C:
10871 * bufferview_funcs.C:
10884 * vc-backend.C: move LyX/XFormsView into frontends/
10886 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10898 * text2.C: move Painter to frontends/
10900 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10902 * buffer.C: comment out some some code that depend upon lyx_format
10905 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10906 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10908 * buffer.h (NO_COMPABILITY): turn off compability
10910 * ColorHandler.C: include scoped_array.hpp
10912 * font.C: Use more specific smart_ptr header.
10915 * ShareContainer.h: ditto
10916 * lyx_main.h: ditto
10918 * FontInfo.h: ditto
10919 * BufferView_pimpl.h: ditto
10920 * ColorHandler.h: ditto
10922 * kbmap.C (defkey): change call to shared_ptr::reset
10924 2002-05-21 Juergen Vigna <jug@sad.it>
10926 * buffer.C (insertErtContents): fix to insert ert asis if it is
10927 non empty. Skip it completely if it contains only whitespaces.
10929 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10931 * BufferView_pimpl.C:
10932 * BufferView2.C: clear selection on paste (bug 393)
10934 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * DepTable.C: include ctime
10938 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10940 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10942 2002-05-14 Juergen Vigna <jug@sad.it>
10944 * text.C (breakParagraph): fixed function to honor the keepempty
10945 layout in the right maner and also to permit the right breaking
10946 algorithm on empty or non empyt keepempty paragraphs.
10948 * paragraph.C (breakParagraph): we have to check also if the par
10949 is really empty (!size()) for isempty otherwise we do the wrong
10952 2002-05-10 Juergen Vigna <jug@sad.it>
10954 * buffer.[Ch] : The following are only changes to the ert
10955 compatibility read reading old LaTeX layout and font stuff and
10956 convert it to ERTInsets.
10958 * buffer.h: added isErtInset().
10960 * buffer.C (struct ErtComp): add a fromlayout bool to check
10961 if we're inside a LaTeX layout.
10962 (isErtInset): new helper function.
10963 (insertErtContents): look for other ert insets before this one
10964 and insert the contents there, so that we don't have subsequent
10965 ERT insets with nothing between them. This way we create only one
10966 inset with multiple paragraphs. Also check if we don't insert only
10967 spaces ' ' as they are ignored anyway afterwards in the .tex file
10968 so if we have only spaces we will ignore this latex part in the
10970 (parseSingleLyXformat2Token \\layout): better compatibility when
10971 reading layout-latex stuff.
10972 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10974 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10975 stuff after reading the inset only get the information back from
10978 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10980 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10982 * LaTeXFeatures.C (getBabelOptions): New method.
10984 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * BufferView_pimpl.C (Dispatch): work around missing argument for
10989 2002-05-08 Juergen Vigna <jug@sad.it>
10991 * text.C (leftMargin): handle paragraph leftindent.
10993 * paragraph.C (writeFile): write the new \\leftindent tag.
10994 (validate): handle leftindent code.
10995 (TeXEnvironment): handle paragraphleftindent code again.
10997 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10999 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11000 for paragrap_extra indent code and new token \\leftindent.
11001 (latexParagraphs): handle the leftindent as environment.
11003 * ParameterStruct.h: added leftindent support.
11005 * ParagraphParameters.C (leftIndent): added support functions for
11006 the paragraph left indent.
11008 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11011 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11013 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11016 * text.C (computeBidiTables): No bidi in insetERT.
11018 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11021 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * version.C.in: pre 5
11025 2002-05-02 José Matos <jamatos@fep.up.pt>
11026 * buffer.C (makeDocBookFile): white space changes, add newline to
11028 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11030 * tabular.C (docBook): fix typo.
11032 2002-05-03 Juergen Vigna <jug@sad.it>
11034 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11035 change in LyXText as we can not be sure it was not freed.
11036 (drawOneRow): remove unused code.
11038 * text.C (drawInset): redo the calculation of the need_break_row as
11039 it could have a row which was already freed.
11040 (draw): look at the return value of drawInset and return false if
11041 it also returned false.
11042 (paintRowText): look at the return value of draw and return false if
11043 it also returned false.
11045 * lyxtext.h: added bool return type to drawInset() and draw() so that
11046 if we have a change in the row so that the rowbreak has to be redone
11047 we abort drawing as it will be called again.
11049 2002-05-02 Juergen Vigna <jug@sad.it>
11051 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11052 a change in the maintext also if we're inside an inset.
11053 (Dispatch): set the cursor again after a break line and after the
11054 screen has been updated as it could be we're in a different row.
11056 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11057 to set the cursor behind the pargraph with > size().
11058 (setCursor): check also for the same paragraph when checking where
11059 to put the cursor if we have a NFR inset.
11061 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11062 parts of layout read further up as it still was in the wrong
11065 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * screen.C (drawFromTo): change sine fullRebreak always return
11070 * buffer.C (parseSingleLyXformat2Token): reindent some
11072 * BufferView_pimpl.C (update): change since fullRebreak always
11074 (Dispatch): git rid of the last hardcoded "Standard"s.
11076 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11078 * text2.[Ch] (fullRebreak): make it return void now that we always
11081 2002-04-30 Juergen Vigna <jug@sad.it>
11083 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11084 ert compatibility check for "latex" layout.
11086 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11088 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11089 minipages: use col% instead of p%, and also use the current font.
11090 (makeLaTeXFile): Fix use babel condition.
11091 (parseSingleLyXformat2Token): Correct font when reading old floats.
11093 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11095 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11096 inserting list of floats.
11098 2002-04-25 Herbert Voss <voss@lyx.org>
11100 * MenuBackend.C (expand): don't add the graphics extensions to the
11103 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11106 non-existing layout, do not complain if it was the default layout
11107 of the original class (bug #342)
11109 2002-04-24 Juergen Vigna <jug@sad.it>
11111 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11112 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11114 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11116 * buffer.C (getBibkeyList): If using \bibliography, return the
11117 option field with the reference itself. Enables us to provide natbib
11118 support when using \bibliography.
11120 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11122 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11124 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11125 natbib is provided by the LaTeX class.
11127 2002-04-23 Juergen Vigna <jug@sad.it>
11129 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11132 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11134 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11138 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11139 ensuremath around textordmasculine, textordfeminine and
11142 2002-04-19 Juergen Vigna <jug@sad.it>
11144 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11145 reinitializing the buffer otherwise row-dimensions may be wrong.
11146 (update): reset also the selection cursors if they do exits otherwise
11147 their x/y positions may be wrong.
11149 * text2.C (cursorDown): don't enter the inset if we came from a row
11150 above and are one row over the inset.
11152 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11153 really leaving an inset.
11155 2002-04-18 Juergen Vigna <jug@sad.it>
11157 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11158 of the selected paragraph does not have the selected layout also if
11161 * text2.C (setLayout): fixed bug which did not change last selected
11164 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11165 changed the read and substituted \\end_float with \\end_inset!
11167 * BufferView_pimpl.C (cursorPrevious):
11168 (cursorNext): fixed to make it work with rows heigher than the work
11169 area without moving the cursor only the draw of the row.
11170 (workAreaMotionNotify): fix jumping over high rows.
11172 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11177 2002-04-16 Juergen Vigna <jug@sad.it>
11179 * text2.C (setCursor): set also the irow().
11180 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11182 (cursorDown): support for locking an inset if the x_fix value goes
11183 inside it. That way I can transverse insets too with cursor up/down.
11185 * lyxrow.h: added irow helper function same as other (i) functions.
11187 * BufferView_pimpl.C (cursorPrevious):
11188 (cursorNext): fixed for insets!
11190 2002-04-15 Juergen Vigna <jug@sad.it>
11192 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11193 position otherwise it is wrong in some cases.
11195 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11196 inside the inset before the call.
11198 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11200 * buffer.[Ch] (getBibkeyList): make it const.
11202 2002-04-12 Juergen Vigna <jug@sad.it>
11204 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11206 * text2.C (getCursorX): new helper function
11207 (setCursor): compute also ix_
11208 (setCursorFromCoordinates): set also ix.
11210 * lyxcursor.h: added ix_ and helper functions.
11212 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11214 * buffer.C (insertStringAsLines): dont break paragraph if the this
11215 paragraph is inside an inset which does not permit it!
11217 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11218 also with no chars on this paragraph.
11219 (paintRowText): only paint stuff if it's inside the workarea!
11221 * paragraph.C (breakParagraph): honor keepempty flag and break the
11222 paragraph always below not above.
11224 * BufferView2.C (unlockInset): update the paragraph layout on inset
11225 unlock as we changed paragraph in such a case.
11227 * lyxfind.C (LyXFind): clear the former selection if not found!
11229 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11230 again called in insertChar().
11232 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11233 an inset which uses the whole row!
11234 (rightMargin): ditto.
11235 (insertChar): force a rebreak if we inserted an inset!
11237 2002-03-28 Herbert Voss <voss@lyx.org>
11239 * lyxlength.[Ch]: add inBP() to get the right PS-point
11240 units (BigPoint). With inPixels we have rounding errors
11242 2002-04-11 Juergen Vigna <jug@sad.it>
11244 * text2.C (setCursorFromCoordinates): set iy to the right value.
11245 (setCursor): add check if row->previous exists!
11247 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11248 an old float_type as this was the case in the old code!
11250 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11252 * BufferView2.C (showLockedInsetCursor): use iy
11253 (fitLockedInsetCursor): ditto
11255 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11256 locked insets as there we have the right value now.
11258 * lyxcursor.C: added iy_ variable and iy functions to set to the
11259 baseline of cursor-y of the locked inset.
11261 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11262 (setCursor): fixed for insets which need a full row.
11264 * text.C (rowLastPrintable): don't ignore the last space when before
11265 an inset which needs a full row.
11266 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11267 as last character of a row when before a inset which needs a full row.
11269 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * version.C.in: update date
11273 * text2.C (fullRebreak): try to always return true and see what
11276 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * MenuBackend.C (expand): use Floating::listName
11280 * FloatList.C (FloatList): add listName argument to the built-in
11283 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11284 text associated with the float.
11286 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11288 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11290 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11292 * ShareContainer.h: add a couple of missing typenames.
11294 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11296 * lyxrc.C (getDescription): use _() correctly rather than N_().
11298 2002-03-28 Herbert Voss <voss@lyx.org>
11300 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11301 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11303 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11306 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11308 2002-03-29 Juergen Vigna <jug@sad.it>
11310 * lyxfunc.C (dispatch): add a missing fitCursor call.
11312 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11313 it was scrolled by a cursor move, so return the bool status.
11315 * BufferView.C (fitCursor): return the bool flag also to the outside
11316 world as this is needed.
11318 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11320 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11321 call the edit() as it is not needed (and wrong) IMO.
11322 (workAreaButtonPress): set the screen_first variable before evt.
11323 unlock the inset as this may change screen_first and then we have
11324 a wrong y position for the click!
11326 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * MenuBackend.C (expand): another translation that I missed
11330 2002-03-28 Juergen Vigna <jug@sad.it>
11332 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11334 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11336 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11338 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11340 * MenuBackend.C (expand): fix export/view/update when there is no
11343 2002-03-27 Herbert Voss <voss@lyx.org>
11345 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11348 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * bufferview_funcs.C (currentState): only show paragraph number
11351 for is DEVEL_VERSION is set.
11353 * lyxfunc.C (dispatch): put warning in INFO channel
11355 * MenuBackend.C (expand): translate the name of floats
11357 * FloatList.C (FloatList): mark the float names for translation
11359 * converter.C (convert): use LibScriptSearch
11361 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * MenuBackend.C (defaults): fix default menu (we might as well get
11366 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11371 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11373 * lyxvc.C: reorder includes.
11375 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11377 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11380 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11382 * CutAndPaste.C: change layouts earlier on paste
11383 to avoid crashing when calling getFont()
11385 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11387 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11390 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * WorkArea.C: remove 'Pending' debug message.
11394 * most files: ws cleanup
11396 * buffer.[Ch]: ws changes
11398 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11400 2002-03-21 Juergen Vigna <jug@sad.it>
11402 * tabular.C (SetMultiColumn): collapse also the contents of the
11403 cells and set the last border right. Added a Buffer const * param.
11405 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11410 2002-03-19 Juergen Vigna <jug@sad.it>
11412 * text2.C (clearSelection): reset also xsel_cache.
11414 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11415 where it needs to be called (John tells us to do so too :)
11416 (selectionLost): reset sel_cache.
11418 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11420 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * text2.C (setCursorIntern): put debuging code in INSETS channel
11424 2002-03-19 André Pönitz <poenitz@gmx.net>
11426 * lyxfunc.C: tiny whitespace change
11428 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * ToolbarDefaults.C (init):
11431 * LyXAction.C (init):
11433 * BufferView_pimpl.C (Dispatch):
11434 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11436 2002-03-19 Allan Rae <rae@lyx.org>
11438 * exporter.C (Export): removeAutoInsets before doing anything else.
11439 While I've just introduced a dependency on BufferView this really is
11440 the best place to clean the buffer otherwise you need to cleanup in
11441 a dozen places before calling export or cleanup in a dozen functions
11444 * converter.C (runLaTeX):
11445 (scanLog): Better handling of removeAutoInsets and screen updates.
11447 * lyxfunc.C (dispatch): small whitespace changes
11449 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * WorkArea.C (C_WorkAreaEvent): return a value.
11452 (event_cb): return 1 if we handled the event, 0 otherwise.
11454 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11456 2002-03-18 Juergen Vigna <jug@sad.it>
11458 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11459 (GetAdditionalWidth): ditto.
11460 (RightLine): ditto.
11463 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11464 inset if we're there actually (probably not used right now but this
11465 is the direction to go for unifying code).
11466 (paste): disable code to clear the selection.
11468 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11469 inside an InsetText and move the check further up as it is in the
11472 * text2.C (pasteSelection): set a selection over the pasted text.
11474 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11476 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11477 and libgraphics to build on Cygwin.
11479 2002-03-15 Juergen Vigna <jug@sad.it>
11481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11482 inserting an Inset into the paragraph. I know this is not the best
11483 fix but we already use current_view in CutAndPaste so we will remove
11484 all of it's using at the same time.
11486 * buffer.C (sgmlError): deactivated function till it is rewritten in
11487 the right mode, now it can create problems.
11489 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11490 before accessing it.
11492 2002-03-14 Juergen Vigna <jug@sad.it>
11494 * undo_funcs.C (textHandleUndo): do the right thing when updating
11495 the inset after the undo/redo.
11497 * text2.C (setCursor): just some testcode for #44 not ready yet.
11499 * undo_funcs.C (textHandleUndo): set the next() and previous()
11500 pointers of the paragraph to 0 before deleting otherwise we have
11501 problems with the Paragraph::[destructor].
11503 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11504 on a paragraph insertion.
11506 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * buffer.C (asciiParagraph): use += operator for char append to
11511 * paragraph.C (getFontSettings): compare >= not just >
11512 (highestFontInRange): ditto
11515 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * paragraph.C: change several algorithm to be more appripriate for
11518 the problem domain. This is lookip in FontList and in the InsetList.
11520 2002-03-13 André Pönitz <poenitz@gmx.net>
11523 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11525 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11530 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11532 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * Painter.C (display): anon helper function, adjust code for this
11536 (pixmap): remove function.
11538 * Painter.h: remove private display variable.
11540 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11542 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11544 * WorkArea.[Ch]: remove figinset_canvas cruft.
11546 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * lyxtextclass.C (operator): add one item cache optimization.
11550 * bufferlist.h: doxy changes
11552 * bufferlist.C: ws changes
11554 * DepTable.[Ch] (ext_exist): place const in the right spot.
11556 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11558 (workAreaExpose): call resizeInsets when the with BufferView changes.
11559 (Dispatch): adjust for protectedBlank removal
11560 (specialChar): call updateInset if the insert went ok.
11562 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11563 specialChar instead.
11565 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11567 * BufferView.h: doxy change
11569 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11571 * lyxtextclass.C (operator[]): remove non-const version
11572 (defaultLayout): remove non-const version
11574 2002-03-12 Juergen Vigna <jug@sad.it>
11576 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11577 did resize the LyXText too.
11579 * buffer.C (readLyXformat2): set layout information on newly allocated
11582 * tabular.C (OldFormatRead): set layout information on the paragraph.
11584 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11586 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11588 2002-03-11 Juergen Vigna <jug@sad.it>
11590 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11592 (resizeCurrentBuffer): force also the insets to resize themselfes.
11593 (moveCursorUpdate): fixed up for InsetText.
11595 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11598 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11599 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11600 value of Dialogs::tooltipsEnabled().
11601 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11603 2002-03-08 Juergen Vigna <jug@sad.it>
11605 * BufferView_pimpl.C (updateInset): update inset inside inset also
11606 if it isn't inside theLockingInset().
11608 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * buffer.C (asciiParagraph): redo some of the word and line length
11612 (getLists): look for Caption instead of caption.
11614 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * buffer.C (Buffer): initialize niceFile to true
11618 (makeLinuxDocFile):
11619 (makeDocBookFile): make sure niceFile is true on exit
11621 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11623 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11625 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11627 * LyXSendto.C: remove.
11628 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11629 * lyx_gui.C: remove now-redundant comment.
11630 * ColorHandler.h: remove forward declaration of class WorkArea.
11631 * lyxfunc.C: remove #include "WorkArea.h".
11633 2002-03-07 Juergen Vigna <jug@sad.it>
11635 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11636 got moved away with the DEPM and also set the inset_owner always
11637 right which before could have been omitted.
11639 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11642 wanted layout is not found.
11644 2002-03-07 Juergen Vigna <jug@sad.it>
11646 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11648 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * paragraph.C (breakParagraph): use default layout not layout of
11652 (Paragraph): clear ParagraphParameters.
11654 2002-03-06 Juergen Vigna <jug@sad.it>
11656 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11657 otherwise it would not be a valid lenght. Fixed a special case in
11658 the minipage compatibility read where we end the document with a
11661 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11662 was set as it could be 0 for InsetTexts first entry.
11664 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * paragraph.C (writeFile): if layout is empty write out
11667 defaultLayoutName().
11669 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11670 file without named layout we set layout to defaultLayoutName().
11672 2002-03-06 Juergen Vigna <jug@sad.it>
11674 * CutAndPaste.C (copySelection): set layout for new paragraph.
11676 * text.C (prepareToPrint): leave ERT inset left aligned
11677 (leftMargin): don't indent paragraphs inside ERT insets
11679 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * paragraph.C (breakParagraph): dont call clear do the work manually
11683 * paragraph.[Ch] (clear): remove function
11685 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * paragraph.C (Paragraph): dont call clear, the work has already
11690 * lyxtextclass.C (operator): assert if n is empty
11692 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11693 work manually instead.
11695 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11697 * BufferView_pimpl.C: protect selectionLost against text == 0
11699 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * text.C (breakParagraph): fix a setting layout to '0' problem.
11703 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11705 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11706 final location of file, for the included files, and graphics.
11708 2002-03-05 Juergen Vigna <jug@sad.it>
11710 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11712 2002-03-04 Juergen Vigna <jug@sad.it>
11714 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11716 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11717 last column of multicolumn cells.
11718 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11720 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11722 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11723 file if it doesn't go to a temporary file.
11725 * buffer.C (sgmlOpenTag):
11726 (sgmlCloseTag): remove extra newline insertion.
11728 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11730 * text.C (getRowNearY): comment out debug msg
11732 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11734 * text2.C: first -> first_y
11736 * text.C (getRowNearY): add some attemts at a possible
11737 optimization, not working.
11739 * tabular.[Ch]: add BufferParams to several function so that newly
11740 created paragraph can be initialized to he default layotu for the
11743 * tabular-old.C (ReadOld): add buf->params to call of Init
11745 * screen.C: rename text->first to text->first_y
11747 * paragraph.C (breakParagraph): always set layout in the broken
11750 * lyxtextclass.C (Read): remove lowercase
11753 (delete_layout): ditto
11755 * lyxtext.h: rename first -> first_y
11757 * lyxlayout.C (Read): remove lowercase
11760 (obsoleted_by): ditto
11762 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11764 * buffer.C (insertErtContents): add params are to InsetERT
11765 (parseSingleLyXformat2Token): add code to check if a paragraphs
11766 layout really exist.
11767 (parseSingleLyXformat2Token): add params to several inset
11769 (asciiParagraph): remove lowercase, do the layout comparisons with
11772 * BufferView_pimpl.C (cursorNext): first -> first_y
11773 (resizeCurrentBuffer): first -> first_y
11774 (updateScrollbar): first -> first_y
11775 (scrollCB): first -> first_y
11776 (workAreaMotionNotify): first -> first_y
11777 (workAreaButtonPress): first -> first_y
11778 (checkInsetHit): first -> first_y
11779 (cursorPrevious): first -> first_y
11780 (cursorNext): first -> first_y
11781 (Dispatch): add buffer_->params to severl inset contructors
11783 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11785 * lyxlayout.C (Read): remove some debug info that I forgot.
11787 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11788 clean up the code slightly.
11789 (makeLinuxDocFile): ditto
11790 (makeDocBookFile): ditto
11792 * text2.C: layout as string
11794 * text.C: layout as string
11796 * paragraph_pimpl.C: layout as string
11798 * paragraph.[Ch]: layout as string
11800 * lyxtextclasslist.[Ch]: layout as string
11802 * lyxtextclass.[Ch]: layout as string
11804 * lyxtext.h: layout as string
11806 * lyxlayout.[Ch]: layout as string
11808 * lyx_cb.C: layout as string
11810 * bufferview_funcs.C: layout as string
11812 * bufferparams.C: layout as string
11814 * buffer.C: layout as string
11816 * LyXView.[Ch]: layout as string
11818 * LaTeXFeatures.[Ch]: layout as string
11820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11822 * BufferView_pimpl.C: change current_layout to string, remove
11827 (workAreaButtonRelease): layout as string
11829 * BufferView2.C (unlockInset): adjust
11831 * vspace.C (asLatexCommand): use an explict temp variable.
11833 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11835 * Makefile.am: use FRONTEND_*
11837 2002-03-01 Juergen Vigna <jug@sad.it>
11839 * tabular.C (SetWidthOfMulticolCell): changed to something better
11840 I hope but still work in progress.
11841 (recalculateMulticolumnsOfColumn): renamed function from
11842 recalculateMulticolCells as it is more appropriate now.
11843 (SetWidthOfCell): calculate multicols better.
11845 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11849 * lyxfunc.C (processKeySym): print sequence also if it is
11850 `deleted' (complete)
11852 * kbsequence.C (print): print sequence even if it is deleted
11853 (complete would be a better word, actually).
11855 * lyxfunc.C (dispatch): print complete options after a prefix key
11857 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11859 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11861 * text2.C (setCharFont): eliminate setCharFont code duplication.
11863 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11865 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11866 LFUN_TABULAR_FEATURE (bug #177)
11868 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11870 * Makefile.am: remove figure.h
11872 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11874 * Bufferview_pimpl.C:
11886 * text2.C: remove #include "lyx_gui_misc.h".
11888 * LaTeX.C: added #include <cstdio>
11890 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11892 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11893 that the paragraph following this one can have.
11895 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11897 * vspace.C (asLatexCommand): fix bogus gcc warning
11899 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11901 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11903 * text2.C (setLayout): get rid of redundant code
11905 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11907 * text2.C (incDepth): make sure depth cannot be increased beyond
11910 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11912 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11913 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11915 * PainterBase.h (image):
11916 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11917 a LyXImage const *.
11919 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11923 * BufferView_pimpl.C:
11924 * BufferView_pimpl.h:
11944 * sp_spell.C: remove fig inset, and the crap house of
11945 cards that follows it
11947 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11952 * os2_errortable.h:
11953 * nt_defines.h: move .h into support/
11955 * vms_defines.h: remove
11957 * WorkArea.C: add space in debug output
11961 * buffer.C: add WITH_WARNINGS
11965 * bufferlist.C: s/retrive/retrieve/, add docs
11974 * chset.C: add docs
11976 * lyxgui.C: add ID to X error handler
11978 * lyxtestclass.c: fix typo
11980 2002-02-26 Juergen Vigna <jug@sad.it>
11982 * tabular_funcs.C (write_attribute): changed so that some default
11983 attributes are not written at all.
11984 (getTokenValue): set default values before trying to read the
11985 value so we have the return value always set as default if we don't
11986 find the token we search for.
11988 * tabular.C (Write): write bools as bools not as strings!
11990 2002-02-22 Juergen Vigna <jug@sad.it>
11992 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11993 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11995 * text.C (leftMargin): don't add an indent for paragraphs inside
11996 tabular cells (fix #208).
11998 2002-02-21 José Matos <jamatos@fep.up.pt>
12000 * tabular.C (docBook): fixed support for long tables.
12002 2002-02-20 Juergen Vigna <jug@sad.it>
12004 * text2.C (getFont): get the drawing font of the Inset if this
12005 paragraph is inside an inset (only important for InsetERT for now).
12007 * buffer.C (insertErtContents): use new lanugage params in ERT
12010 * CutAndPaste.C: commenting out seemingly uneeded code.
12012 2002-02-19 Allan Rae <rae@lyx.org>
12014 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12015 Iterators might be simple to use but they also get invalidated.
12016 (removeAutoInsets): renamed saved cursor tracking variables and added
12017 some comments to clarify what everything does.
12019 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12026 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12027 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12030 * vc-backend.h: remove #include "support/syscall.h"
12034 * converter.C: rearrange #includes in Lars' approved fashion.
12036 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12037 forward declare class Timeout in the header file.
12039 * XFormsView.C: changes due to the above.
12041 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12042 similar to LyXView.
12044 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12045 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12047 2002-02-18 José Matos <jamatos@fep.up.pt>
12049 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12052 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12054 * a lot of small ws changes
12055 * add a lot of using std::XXX
12056 * use std construcs some places where approp.
12057 * use some exisint stuff from lyxfunctional where approp.
12058 * Make file changes to use partial linking (lets test this now...)
12060 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12064 remove #include "support/syscontr.h" as it's redundant. Always has been.
12072 change Systemcalls::System to Systemcalls::Wait and
12073 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12074 No change of functionality, just reflects the stripped down Systemcalls
12077 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12079 * debug.[Ch]: add a GRAPHICS type to the enum.
12081 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12085 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12088 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12090 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12091 match the changes below.
12093 * text2.C (toggleInset): if there is not editable inset at cursor
12094 position, try to see if cursor is _inside_ a collapsable inset
12097 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12099 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12100 document menu has a nice checkbox
12102 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * lyxlength.C (asLatexString): change PW to output as percent of
12107 * lengthcommon.C: change '%' to 't%'
12109 * lyxfunc.C (dispatch): a few comments from Martin
12111 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView_pimpl.h:
12116 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12119 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * vspace.C (inPixels): fix compiler warning
12123 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * lyxfunc.C (getStatus): fix status message for disabled commands.
12127 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12129 * BufferView_pimpl.C: fix crash on close buffer
12130 during selection (#227)
12132 2002-01-27 Herbert Voss <voss@lyx.org>
12134 * buffer.C: link old Figure to new graphic inset
12136 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12138 * FontLoader.C (getFontinfo): Change the latex font names in order
12139 to match the names of type1inst.
12141 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12145 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12146 (extchanged): ditto
12148 (remove_files_with_extension): ditto
12149 (remove_file): ditto
12152 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12153 document is smaller than the work area height. Do not initialize
12154 static variables to 0.
12156 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12158 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12160 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12161 LFUN_LAYOUT_PARAGRAPHS.
12163 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12164 tabular. It is possible to provide a possible cell, which will
12165 typically be the actcell from the corresponding insettabular
12167 * lyxfunc.C (getStatus): small cleanup; disable
12168 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12171 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12175 * paragraph.C (startTeXParParams):
12176 (endTeXParParams): new methods. The LaTeX code to
12177 start/end paragraph formatting
12178 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12179 empty (fixes bug #200)
12181 * vspace.C (inPixels): adapt to the change below
12182 (inPixels): [later] more cleanups (remove unused variables)
12184 * lyxlength.C (inPixels): change to use a width and a height as
12187 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12189 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12190 Replaced with \paperwidth
12192 * DepTable.C (insert): add std:: qualifier
12194 2002-01-18 Allan Rae <rae@lyx.org>
12196 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12199 * text.C (drawInset): Turned out I didn't know enough about how
12200 rebreaking worked. This fixes most of the redraw problems. I see
12201 an occasional cursor trail when a line is broken now and the cursor
12202 placement can seem out by a few pixels also after a rebreak.
12204 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12206 * buffer.C (parseSingleLyXformat2Token): update because minipage
12207 width is now a LyXLength
12209 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12211 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12214 2002-01-17 Juergen Vigna <jug@sad.it>
12216 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12218 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12219 is set correctly and the inset is updated correctly.
12221 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12223 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12224 the beginning of the loop.
12226 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12228 * lyxrc.C: improve help for use_scalable_fonts
12230 2002-01-17 Allan Rae <rae@lyx.org>
12232 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12234 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12237 make sure to set their inset_owner to the right value (bug #171)
12239 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12242 * DepTable.C: Implement mtime checking to reduce time spent doing
12245 2002-01-16 Juergen Vigna <jug@sad.it>
12247 * tabular.C (GetAdditionalHeight): one of error fixed.
12249 * lyxrc.C (output): small fix in writing use_pspell.
12251 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12253 * sp_base.h: #include LString.h
12255 2002-01-16 Allan Rae <rae@lyx.org>
12257 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12258 Can someone check this please?
12260 * text.C (drawInset): It was possible that p.row would be removed by
12261 breakAgainOneRow upsetting a few other settings. There may be another
12262 small tweak possible by setting need_break_row = 0 when p.row has been
12263 removed but I don't know enough about the logic here.
12265 2002-01-15 Allan Rae <rae@lyx.org>
12267 * text.C (insertChar): removed conditional truism.
12269 * BufferView2.C (removeAutoInsets): More tweaks.
12270 cur_par_prev could be a stray pointer. Check for trailing empty line
12271 in case last line was cur_par and only had an error inset on it.
12273 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12278 * vc-backend.C (most methods):
12279 * exporter.C (Export):
12280 * converter.C (convert):
12282 * LyXSendto.C (SendtoApplyCB):
12283 * lyxfunc.C (dispatch):
12287 * lyx_cb.C (AutoSave):
12289 * BufferView_pimpl.C (MenuInsertLyXFile):
12290 * buffer.C (runChktex): use Buffer::filePath().
12292 * buffer.h: rename filename to filename_; rename filepath to
12293 filepath_ and make it private
12294 (filePath): new method
12296 * buffer.C (writeFile): use fileName()
12299 * lyx_main.C (init): fix starting of LyX when the binary is a
12300 link from so,ewhere else.
12302 * minibuffer.C: include <cctype> for isprint
12304 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12306 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12307 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12308 name clash with InsetCollapsable's width function.
12310 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * lastfiles.C: include <iterator>
12314 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12316 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12319 * buffer.C (makeLaTeXFile): ditto.
12320 Also make loop operation more transparent.
12322 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12324 * ToolbarDefaults.C: remove trailing comma closing namespace.
12326 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12328 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12331 * trans.C (Load): comment out unused variable, allowed.
12333 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12335 * minibuffer.[Ch] (append_char): new method to recieve input from the
12336 drop-down completion browser. If a key was pressed, then recieve this
12337 char and append it to the existing string.
12338 (peek_event): modify the positioning data passed to the completion
12339 browser so that it can be placed above the minibuffer rather than below.
12340 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * LyXAction.C (init): alloe error-next for readonly documents.
12344 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12347 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12349 * bufferlist.C (readFile): create the buffer _after_ checking that
12352 * lyxfunc.C (verboseDispatch): fix handling of arguments
12354 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12356 * lyxrc.C: use string::erase() instead of initializing to "".
12359 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12361 * BufferView_pimpl.h:
12362 * BufferView_pimpl.C:
12365 * text2.C: tell X when we have made a selection for copying
12367 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12369 * BufferView_pimpl.C (MenuInsertLyXFile):
12370 * lyxfunc.C (menuNew):
12372 (doImport): add shortcuts to directory buttons
12374 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12377 * lyxfunc.C (setStatusMessage):
12378 (getStatusMessage): new methods
12379 (getStatus):use setStatusMessage instead of setErrorMessage
12380 (dispatch): when function is disabled, set error message here
12381 [instead of in getStatus previously]
12383 * BufferView_pimpl.C (workAreaButtonRelease): update
12384 toolbar/menubar here too.
12386 2002-01-13 Allan Rae <rae@lyx.org>
12388 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12389 Now seems indestructible. Remaining task is to audit all other
12390 code affected by deleteEmptyParagraphMechanism. One small quirk
12391 left is that an empty document with an error in the preamble can
12392 be made to report an error but no error box appears. I don't know
12394 (removeAutoInsets): Improved comments.
12396 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12399 * Thesaurus.C: update for Aiksaurus 0.14
12401 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * text2.C (firstParagraph): removed member function, all uses
12404 replaces with ownerParagraph
12405 (redoParagraphs): here
12406 (updateInset): here
12407 (toggleAppendix): here
12408 * BufferView2.C (insertErrors): here
12409 (setCursorFromRow): here
12411 2002-01-13 Allan Rae <rae@lyx.org>
12413 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12414 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12415 There is still a way to segfault this although you may have to do this
12416 multiple times: Have an InsetERT with an unknown command in it.
12417 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12418 <down-arrow>, <Enter> again, View->DVI, BANG!
12420 * text2.C (setCursor):
12421 (deleteEmptyParagraphMechanism):
12422 * lyxtext.h (setCursor):
12423 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12424 Making use of the return value may help fix other bugs.
12426 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12428 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12430 * LyXView.C (updateMenubar): call MenuBar::update here
12431 (updateToolbar): but not here
12432 (showState): do not update toolbar/menubar
12434 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12435 should need to care about that.
12437 * lyxfunc.C (verboseDispatch): simplify a bit
12438 (getStatus): have a version which takes a pseudoaction, and
12439 another which requires a (kb_action,string).
12441 * LyXAction.C (retrieveActionArg): make it work also when action
12442 is not a pseudo-action.
12443 (getActionName): simplify a bit
12446 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12448 * lyxfunc.C (verboseDispatch): new families of methods with
12449 several ways to specify a command and a bool to indicate whether
12450 the command name and shortcut should be displayed in minibuffer
12451 (eventually, we could extend that to a finer bitmask like
12452 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12453 (dispatch): the pristine dispatch command which just, well,
12454 dispatchs! Note it still sets its result to minibuffer; I'm not
12457 * lyxfunc.h: remove setHintMessage
12459 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12461 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * BufferView_pimpl.C (specialChar): delete new inset if we have
12464 not been able to insert it.
12466 * kbmap.C: revert to using int instead of kb_action, since all we
12467 are dealing with is pseudo-actions.
12469 * LyXAction.C (searchActionArg): change to return int instead of
12470 kb_action, since the result is a pseudoaction.
12472 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12474 * buffer.C (insertErtContents): Fix (partially) the font bug.
12476 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12478 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12479 as the other one is broken on my machine!
12481 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12484 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12486 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12488 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12489 reflect their actual use. Provide compatibility code for older lyxrc
12492 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12494 change names of popup font variables in line with the changes to lyxrc.C
12496 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * buffer.C (asciiParagraph): avoid outputing a word twice after
12501 * lyxrc.C (getDescription): document that document_path and
12502 template_path can be empty.
12504 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12506 * LaTeXFeatures.C (getMacros):
12507 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12509 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12511 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12513 (getPackages): rename feature "floats" to "float". Use an array to
12514 iterate over 'simple' features (i.e. just a \usepackage). Add
12515 handling of "amsmath" (renamed from "amsstyle").
12517 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12519 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12522 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12524 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12525 FuncStaus::FuncStatus & FuncStaus::some_method().
12527 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12529 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12530 of the func_satus stuff. Edited and massaged in various ways by
12533 * lyxfunc.C (getStatus): use FuncStatus
12535 2002-01-08 Juergen Vigna <jug@sad.it>
12537 * text.C (nextBreakPoint): use function Inset::isChar().
12539 * paragraph.C (TeXOnePar): use function
12540 Inset::forceDefaultParagraphs.
12542 * buffer.C (latexParagraphs): use function
12543 Inset::forceDefaultParagraphs.
12545 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12547 * lyx_gui.C (init): set the style of the menu popups to
12548 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12550 2002-01-07 Juergen Vigna <jug@sad.it>
12552 * text.C (setHeightOfRow): small fix
12553 (prepareToPrint): don't look at alignment if we don't have the place
12556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12558 * box.C: New file. Move the Box methods and functions out of box.h,
12559 following Lars' suggestion.
12561 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12563 * box.h: #include "support/LOstream.h", needed for inlined function.
12566 * lyxtextclasslist.C: added some using std declarations.
12568 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12570 * box.h: make signed dimensions to allow insets wider than
12571 the screen (bug #162)
12573 * BufferView_pimpl.C: add some insetHit debug
12575 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12577 * vc-backend.C: add FIXME
12579 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12581 * lyxfunc.C (getStatus): enable code for showing math font status
12584 2002-01-07 Juergen Vigna <jug@sad.it>
12586 * text.C (nextBreakPoint): removed debug output not needed anymore.
12588 2002-01-06 Juergen Vigna <jug@sad.it>
12590 * text.C (nextBreakPoint): fixed up this function we had this bug
12591 since ever but now hopefully we break row better.
12592 (insertChar): we have to check if an inset is the next char as it
12593 could now happen that a large inset is causing a break.
12595 2002-01-05 Juergen Vigna <jug@sad.it>
12597 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12598 if it doesn't like to be drawed.
12600 2002-01-04 Juergen Vigna <jug@sad.it>
12602 * BufferView2.C (lockInset): forgot to set a cursor.
12604 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12606 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12608 * FormMathsPanel.C:
12611 * form_maths_panel.C:
12612 * form_maths_panel.h:
12613 * form_maths_panel.fd: implemented sub- and super- buttons in math
12616 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12617 (or ^ space) to be used as in TeX (req'd by André).
12619 * lyxfunc.C: Allow ^ and _ again to be used both as
12620 super/subscript (mathed) and as themselves (in text).
12622 2002-01-03 Allan Rae <rae@lyx.org>
12624 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12625 "LyX" or the filename of the current buffer if it has one. This is a
12626 modified form of John Levon's patch.
12628 * XFormsView.C (setWindowTitle): also set icon title.
12630 * LyXView.h (setWindowTitle): signature changed.
12631 * XFormsView.h (setWindowTitle): ditto.
12633 2002-01-02 Juergen Vigna <jug@sad.it>
12635 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12637 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * screen.C (topCursorVisible): introduce a temp var for
12640 text->cursor.row(), handle the case where this row is null. (kindo
12643 * text2.C (setCursor): add a couple of asserts.
12645 * paragraph.h (inset_iterator): add -> operator
12647 * paragraph.[Ch] (autoDeleteInsets): remove member function
12649 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12650 cursor pos correctly and handle inset deletion by itself.
12651 (insertErrors): move iterator declaration out of for expression
12653 * lyxtextclass.C: add <algorithm>
12655 * Makefile.am: added the new files to sources, removed layout.C
12657 * layout.C: removed file
12659 * layout.h: remove LYX_DUMMY_LAYOUT
12661 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12665 * lyxtextclass.[Ch]:
12666 * lyxtextclasslist.[Ch]: new files
12668 * include order changes to a lot of files, also changes because of
12671 2001-12-27 Juergen Vigna <jug@sad.it>
12673 * buffer.C (asciiParagraph): more fixes.
12675 * tabular.C (ascii): make ascii export support export of only the
12676 data separated by a column-delimiter.
12677 (ascii): better support for ascii export.
12679 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12681 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * tabular_funcs.C: use a "using std::getline" instead of the
12684 previous fix from Angus (necessary for cxx + lyxstring)
12686 2001-12-24 Juergen Vigna <jug@sad.it>
12688 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12690 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12691 problems. First check a minipage also if we have some ert-contents
12692 (not only on par->size(), second set the right depth of the paragraph
12693 on the relink to the root-paragraph-list!
12695 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12696 which then did not anymore update the main paragraphs on undo/redo!
12698 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12700 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12701 code. Support all font-changing funcs (even those which are not in
12702 menu currently). Support for reporting font settings in
12703 mathed (disabled until Andre provides a function on mathed's side).
12705 * func_status.h (toggle): small helper function to set toggle
12708 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12710 * tabular_funcs.C: getline -> std::getline
12712 2001-12-21 Juergen Vigna <jug@sad.it>
12714 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12715 accessed and could be 0 (I couldn't generate this but it seems
12718 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12721 * tabular_funcs.h: here and include iosfwd
12723 2001-12-20 Juergen Vigna <jug@sad.it>
12725 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12726 inside inset but undo_par was.
12728 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12730 * Thesaurus.C: always include <config.h> in sources.
12734 * box.h: do not include <config.h> in header files
12736 * text.C (paintLastRow): remove unused variable
12738 * text.C (transformChar):
12740 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12742 * Painter.C (text):
12743 * font.C (width): rewrite to use uppercase() instead of
12746 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12748 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12750 * lyxfind.C: clean up of find failure position change
12752 2001-12-20 Juergen Vigna <jug@sad.it>
12754 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12756 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12757 (TeXRow): added to LaTeX a single tabular row.
12758 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12759 (Latex): simplified and finally good LT-h/f support.
12760 (various_functions): just small adaptions for LT-h/f support.
12762 * tabular_funcs.[hC]: added and moved here all not classfunctions
12765 2001-12-19 Juergen Vigna <jug@sad.it>
12767 * tabular.[Ch]: better support for longtabular options (not finished
12770 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12772 * text.C (paintLastRow): use the label font instead of the font of
12773 the last character to compute the size of *_BOX. This makes more
12774 sense and avoids a crash with empty paragraphs.
12775 Use Painter::rectangle to draw EMPTY_BOX.
12777 2001-12-19 Juergen Vigna <jug@sad.it>
12779 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12780 the paragraphs if the replaced paragraph is not the first one!
12781 Tried to delete not used paragraphs but does not work yet so for
12782 now it's inside #ifdef's and by default off!
12784 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12786 * MenuBackend.C: include "lyx_main.h" instead of declaring
12787 lastfiles (actually was declared as LastFiles* instead of a
12790 2001-12-17 Juergen Vigna <jug@sad.it>
12792 * tabular.C (AppendColumn): applied John's fix
12794 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12798 * BufferView_pimpl.h:
12799 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12802 * box.h: new start of class for above
12804 * lyxfunc.C: ignore space-only minibuffer dispatches.
12805 Show the command name when it doesn't exist
12807 * minibuffer.C: don't add empty lines to the history
12809 * minibuffer.C: add a space on dropdown completion
12811 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12813 * text.C: fix line above/below drawing in insets
12815 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * lyxlength.C (LyXLength): Initialize private variables.
12819 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12821 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12822 when inserting error insets.
12824 2001-12-13 Juergen Vigna <jug@sad.it>
12826 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12827 actually sometimes the before-paragraph.
12828 (setUndo): don't clear the redostack if we're not actually undoing!
12830 2001-12-06 Juergen Vigna <jug@sad.it>
12832 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12833 and fixed redoing of main paragraph, so we can use it now ;)
12835 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12837 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12839 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12842 2001-12-13 André Pönitz <poenitz@gmx.net>
12845 * undo_func.C: minor cleanup
12847 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12850 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12851 font in urw-fonts package which is marked as -urw-fontspecific and
12852 does not work (incidentally, changing the encoding in the
12853 fonts.dir of this package to -adobe-fontspecific fixes the
12856 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12857 is a crash when undoing first paragraph (Juergen, please take a
12858 look). THis does not mean the undo fix is wrong, just that it
12861 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12862 the (Paragraph*) version when needed instead of duplicating the
12865 * text.C (workWidth): use Inset::parOwner to find out where the
12866 inset has been inserted. This is a huge performance gain for large
12867 documents with lots of insets. If Inset::parOwner is not set, fall
12868 back on the brute force method
12870 * paragraph_pimpl.C (insertInset):
12871 * paragraph.C (Paragraph):
12872 (cutIntoMinibuffer): set parOwner of insets when
12873 inserting/removing them
12875 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12877 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12883 * mathed/formulabase.C:
12884 * mathed/math_cursor.[Ch]:
12885 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12888 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * lyxlength.[Ch] (operator!=): new function
12892 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12894 * text.C (workWidth): use Inset::parOwner to find out where the
12895 inset has been inserted. This is a huge performance gain for large
12896 documents with lots of insets. If Inset::parOwner is not set, fall
12897 back on the brute force method
12899 * paragraph_pimpl.C (insertInset):
12900 * paragraph.C (Paragraph):
12901 (cutIntoMinibuffer): set parOwner of insets when
12902 inserting/removing them
12904 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12906 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12908 * tabular-old.C (getTokenValue):
12909 * tabular.C (getTokenValue):
12910 (write_attribute): new versions for LyXLength
12911 (everywhere): adjust the use of widths
12913 * tabular.h: change the type of widths from string to LyXLength
12915 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12917 * paragraph.C: fixed missing line number count when exporting
12918 Environments to LaTeX file
12920 * buffer.C: added informational message for checking line numbers.
12922 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12925 paragraph, do the 'double space' part, but not the 'empty
12928 * text.C (workWidth): small optimization
12929 (getLengthMarkerHeight): use minimal size for negative lengths.
12931 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12933 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12935 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12937 2001-12-11 André Pönitz <poenitz@gmx.net>
12940 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12942 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12944 * text2.C: keep selection on a setFont()
12946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12948 * lyx_cb.C: another bv->text misuse, from insert label
12950 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12953 * kbsequence.C: re-instate nmodifier mask
12955 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12957 * lyx_main.h: make lyxGUI private.
12959 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12961 * lyxfind.C: place the cursor correctly on failed search
12963 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12965 * text.C (getLengthMarkerHeight): for small heights, the arrows
12966 are not always on top/bottom of the text
12967 (drawLengthMarker): smaller arrows; take the left margin in
12968 account; draw also vfills.
12970 (paintLastRow): remove special code for vfill and standard spaces,
12971 since everything is handled in drawLengthMarker now.
12973 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * buffer.C (insertErtContents): try to handle font and language
12976 interaction a bit better.g
12978 * ColorHandler.C (updateColor): change the hash to cover the whole
12979 LColor enum, ws cleanup
12980 (getGCLinepars): ditto
12981 (getGCLinepars): only lookup in the linecache once.
12983 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12985 * iterators.C (operator++): Make the iterator more robust
12987 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12994 * text.C: better added space drawing
12996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12999 * BufferView2.C: fix layout combo update on inset unlock
13001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13003 * Makefile.am: don't compile unused files
13005 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13009 * LyXAction.C: remove old LFUN_LAYOUTNO
13011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13013 * paragraph_pimpl.h:
13014 * paragraph_pimpl.C: isTextAt() doesn't need font param
13016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13019 * lyxlex.C: little cleanup
13021 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13023 * BufferView_pimpl.C: fix insertAscii for insets
13025 2001-12-05 Juergen Vigna <jug@sad.it>
13027 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13028 set the right font on the "multi" paragraph paste!
13030 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * lyxlength.C: remove out-commented code.
13038 * BufferView_pimpl:
13052 * vc-backend.C: change "while(" to "while ("
13054 * lyxlength.[Ch]: add zero function to check if length is zero or
13056 * lyxgluelength.C: use it
13058 2001-12-05 Allan Rae <rae@lyx.org>
13060 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13061 Works for 2.95.3, from what I understand of Garst's reports this should
13062 work for other g++ versions. We're screwed if the abs(int) definition
13063 changed between bugfix releases of gcc.
13065 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13067 * text.C: fix chapter label offset !
13069 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13072 * text.C: fix hfill at end of line, clean up
13074 2001-12-04 Juergen Vigna <jug@sad.it>
13076 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13077 that we force an update of the inset and it's owners if neccessary.
13079 2001-12-03 Juergen Vigna <jug@sad.it>
13081 * text.C (rowLast): simplified code
13083 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13085 * lyxfunc.C: fix show options on timeout
13087 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13089 * screen.C (topCursorVisible): scroll half a page when the cursor
13090 reached top of bottom of screen
13092 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13094 * minibuffer.C: deactivate on loss of focus
13096 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13098 * vspace.[Ch] (operator!=): add operator.
13100 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13102 * BufferView_pimpl.C: refuse to open an inset when
13103 there's a selection.
13105 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13107 * BufferView_pimpl.C: allow to click on RHS of full row insets
13109 2001-11-30 Juergen Vigna <jug@sad.it>
13111 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13112 insets for undo reasons.
13114 2001-11-28 André Pönitz <poenitz@gmx.net>
13116 * vspace.[Ch]: cosmetical changes
13118 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13128 * kbsequence.C: part re-write of old kb code
13131 * WorkArea.C: remove Lgb_bug_find_hack
13133 2001-11-30 José Matos <jamatos@fep.up.pt>
13135 * buffer.C (makeDocBookFile): add a comment to point a hack.
13136 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13137 Fixed a double write of labels.
13139 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13142 * LaTeX.h Fixed bug in LaTeX class where it would not
13143 re-run latex if no depfiles were changed, but the .dvi was removed.
13145 2001-11-28 André Pönitz <poenitz@gmx.net>
13147 * all the files from the change on 2001/11/26:
13148 use lyx::layout_type instead of LyXTextClass::size_type
13149 use lyx::textclass_type instead of LyXTextClassList::size_type
13151 2001-11-29 Juergen Vigna <jug@sad.it>
13153 * text.C: added support for paragraph::isFreeSpacing()
13155 * buffer.C: same as above
13157 * paragraph.h: inserted isFreeSpacing() function to enable
13158 FreeSpacing inside InsetERT.
13160 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13161 of the paragraph's in the cut/copy buffer to 0!
13163 * text2.C (removeRow): remove the assert as it can!
13165 * lyxtext.h: added helper function firstRow returning firstrow and
13166 made firstrow private again.
13168 * BufferView2.C (lockInset): don't relock if we're already locked!
13170 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13171 the only paragraph.
13172 (removeRow): added Assert::(firstrow)
13174 * debug.C: forgot to add INSETTEXT here.
13176 2001-11-28 Juergen Vigna <jug@sad.it>
13178 * sp_spell.C (initialize): changed error text to more general
13179 spellchecker command use (not only ispell!)
13181 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13183 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13185 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13187 * vspace.C: initialise lyxgluelength on failure
13189 2001-11-28 Allan Rae <rae@lyx.org>
13191 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13192 declaration & definition that looks like a function declaration.
13194 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13196 * BufferView2.C (copy):
13197 (copyEnvironment): do not clear the selection when doing a copy.
13199 * text.C (paintFirstRow): compilation fix
13201 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13203 * tabular.C (Latex): correct line count when writing latex.
13205 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13207 * paragraph_pimpl.h:
13208 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13211 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13215 * LColor.C: change vfillline->added_space
13217 * text.C: add markers and text for added space
13219 * vspace.C: fix comment
13221 2001-11-28 André Pönitz <poenitz@gmx.net>
13223 * paragraph.C: whitespace changes
13224 * all the other files from the change on 2001/11/26:
13225 change *::pos_type into lyx::pos_type
13227 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13229 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13230 language of the document when inserting error insets.
13232 2001-11-26 André Pönitz <poenitz@gmx.net>
13234 * BufferView_pimpl.[Ch]:
13242 * paragraph_pimpl.[Ch]:
13245 * text2.C: reduce header dependencies, introduce type for positions
13247 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13249 * <various>: change to use Alert.h
13251 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13253 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13254 when encountering an unknown token.
13255 (readLyXformat2): Show an error message if there were unknown tokens.
13257 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13260 * BufferView_pimpl.C:
13264 * text2.C: use par->isInset()
13266 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13268 * paragraph_pimpl.h:
13269 * paragraph_pimpl.C: cleanup
13271 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * text2.C (removeRow):
13274 * text.C (setHeightOfRow): remove useless (and costly) call to
13277 2001-11-20 Allan Rae <rae@lyx.org>
13279 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13280 Now need Inset*::checkInsertChar() to return true for appropriate
13281 cases so that the characters in the minibuffer will actually be
13284 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * text.C: change the order of the includes.
13287 (workWidth): initialize it at once.
13288 (workWidth): make maxw unsigned
13289 (setHeightOfRow): remove unused variable (inset)
13290 (selectSelectedWord): remove unused variable (inset)
13291 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13293 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13296 server is not running.
13298 (closeConnection): add debug info when server is disabled.
13300 * ColorHandler.C (getGCForeground): send debug message to GUI
13303 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13305 * kbmap.C (bind): modify because return conventions of
13306 kb_sequence::parse have changed.
13308 * kbsequence.C (parse): only ignore spaces and not any stupid
13309 control character. This avoids tests like s[i] <= ' ', which are
13310 guaranteed to fail with 8bit characters and signed chars.
13311 Change return code to string::npos when there have been no error
13312 (0 was a bad idea when error is at first character)
13314 2001-11-14 José Matos <jamatos@fep.up.pt>
13317 * buffer.C (simpleDocBookOnePar): removed unused argument.
13319 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13322 insets which are part of a word. Paragraph::isLetter takes care of
13323 that now. Use Paragraph::isInset to identify insets.
13324 (selectSelectedWord): do not test for hyphenation break.
13326 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13327 that protected spaces are considered as spaces.
13329 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13332 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13335 * lyxserver.C: fix it. and small cleanup.
13337 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13339 * BufferView_pimpl.C: use inline helpers
13342 * LaTeXFeatures.C: fix typos
13345 * Spacing.C: move spacing_string into class
13347 * ToolbarDefaults.C: move stuff into namespace anon
13349 * layout.h: update enum
13351 * lyxfunc.C: use better debug
13353 * minibuffer.h: fix typo
13357 * WorkArea.C: add and use Debug::WORKAREA
13361 * text2.C: code re-organisation, inline helpers
13363 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13365 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13366 std::vector.empty().
13368 2001-11-09 Allan Rae <rae@lyx.org>
13370 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13371 '\n's after tables. Tabular and ERT inset work now makes this no
13374 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13377 * minibuffer.C: fix crash, improve drop-down completion
13379 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13382 * lyxserver.C: invalidate fd's when doing endPipe()
13384 2001-11-08 José Matos <jamatos@fep.up.pt>
13386 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13387 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13390 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13392 2001-11-07 José Matos <jamatos@fep.up.pt>
13395 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13398 * buffer.C (sgmlOpenTag):
13399 * buffer.C (sgmlCloseTag): removed debug info.
13401 * buffer.h (sgmlOpenTag):
13402 * buffer.h (sgmlCloseTag): made public.
13404 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * buffer.C (saveParamsAsDefaults):
13407 * lyx_cb.C (MenuLayoutSave): remove
13409 * LyXAction.C (init):
13411 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13413 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * buffer.C (setPaperStuff): removed from here...
13417 * bufferparams.C (setPaperStuff): ... and moved there.
13419 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13423 * XFormsView.C: add support for drop-down completion
13425 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13427 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13430 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13432 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13435 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13437 * lyx_main.C: change ref to known bugs
13439 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13441 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13442 to work around older babel problems.
13444 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13446 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13448 2001-10-24 Juergen Vigna <jug@sad.it>
13450 * tabular-old.C (ReadOld): below variable changes reflected.
13452 * tabular.[Ch]: added ltType struct for longtable header/footer
13453 defines and changed all instances where they are used. Added
13454 future support for double top/bottom rows.
13456 2001-10-24 José Matos <jamatos@fep.up.pt>
13458 * buffer.h (docbookHandleCaption):
13459 * buffer.C (docbookHandleCaption): removed unused function.
13460 (makeDocBookFile): moved docbook supported version to v4.1.
13462 2001-10-24 José Matos <jamatos@fep.up.pt>
13465 * tabular.C (docbookRow): new function to export docbook code of a row.
13466 (DocBook): now honors the longtable flags.
13468 2001-10-23 José Matos <jamatos@fep.up.pt>
13471 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13472 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13474 * buffer.C (makeLinuxDocFile):
13475 (makeDocBookFile): reworked the preamble, more clean, and with
13476 support for lyx defined entities. Changed the document declaration
13477 to be more XML friendly.
13479 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13480 if we need to output XML that should be done with a filter.
13482 2001-10-22 Juergen Vigna <jug@sad.it>
13484 * sp_pspell.h (class PSpell): add alive function needed in the
13485 controller to see if the spellchecker could be started.
13487 2001-10-22 Juergen Vigna <jug@sad.it>
13489 * buffer.C (insertStringAsLines): modify the font for inserting
13490 chars in certain conditions by calling checkInsertChar(font).
13492 2001-10-19 Juergen Vigna <jug@sad.it>
13494 * text.C (workWidth): use getRow instead of wrong algorithm.
13495 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13497 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13502 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13504 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13506 * text.C (workWidth): do not search for the exact row when
13507 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13508 optimization for big documents.
13510 2001-10-18 Juergen Vigna <jug@sad.it>
13512 * text.C (workWidth): new function with added Inset * parameter.
13514 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13516 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13518 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13519 change return type of getColumnNearX.
13522 * text.C (changeRegionCase): use uppercase/lowercase instead of
13525 (rightMargin): simplify code by factoring out the uses of
13530 (appendParagraph): use Paragraph::size_type
13532 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13534 * vspace.C (asLatexString): add a missing break
13536 2001-10-15 Herbert Voss <voss@perce.de>
13538 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13540 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13542 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13545 2001-10-10 André Pönitz <poenitz@gmx.net>
13547 * lyxfunc.C: removed greek_kb_flag.
13549 2001-10-10 Herbert Voss <voss@perce.de>
13551 * lyx_main.C: delete global string help_lyxdir.
13553 2001-10-09 Herbert Voss <voss@perce.de>
13555 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13557 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13559 * lyx_main.C: added global string help_lyxdir.
13561 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13563 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13565 * lyxrc.C (set_font_norm_type): support iso8859-4
13567 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13569 * LaTeX.C (deplog): add another regex for MikTeX
13571 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13573 * lyxrc.C (set_font_norm_type): support iso8859-3
13575 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13577 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13579 * LaTeXFeatures.C: remove special case of french and index
13581 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13582 before \begin{document}). This solves several incompatibilities.
13584 2001-10-03 Garst Reese <reese@isn.net>
13586 * lyx_cb.C: change CheckTex error msg.
13588 2001-10-03 José Matos <jamatos@fep.up.pt>
13590 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13592 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * .cvsignore: update
13596 * lyx_main.C (commandLineVersionInfo): use new style version info.
13598 * buffer.C (writeFile):
13600 (makeLinuxDocFile):
13601 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13603 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13605 * version.h: update to use stuff in version.C
13607 * version.C.in: new file. Contains version information determined
13608 at compile time. This is a merging of version.h and
13611 2001-10-03 Juergen Vigna <jug@sad.it>
13613 * BufferView_pimpl.C (update): don't change "dirty" status in
13616 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13618 * WorkArea.C (c-tor): re-position version string slightly.
13620 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13622 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13623 revert to previous code.
13625 WorkArea.[Ch]: (show, destroySplash): methods removed.
13627 WorkArea.C: rework code so that it's an amalgam of the codes before and
13628 after the splash screen was moved to WorkArea.
13630 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13633 * vspace.C (inPixels):
13636 * buffer.C (insertStringAsLines):
13637 (asciiParagraph): fix types to be large enough
13639 * lyxlex_pimpl.h: change member status from short to int
13641 * layout.h: fix type of endlabeltype
13644 * kbsequence.C (parse): change return type to string::size_type
13646 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13649 * Bullet.C (bulletSize):
13650 (bulletEntry): do not use short ints as parameters
13652 * BufferView2.C (insertLyXFile): change a char to an int.
13654 * WorkArea.C (WorkArea): remove unneeded floats in computation
13656 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13658 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13660 * paragraph.C (asString): Do not ignore newline/hfill chars when
13661 copying to the clipboard.
13663 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13665 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13666 after a multi-line inset.
13668 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13670 * paragraph.C (validate): Set NeedLyXFootnoteCode
13672 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13674 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13675 and decrease-error to decrease.
13677 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13680 it more readable (should be equivalent)
13682 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13684 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13686 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13689 of a cursor (row, etc.) after a character has been deleted
13690 (deleteEmptyParagraphMechanism): call the method above on _all_
13691 cursors held by the LyXText when a double space has been
13694 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13696 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13698 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13700 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13701 background. Use greyOut() and the new show() methods to toggle between
13702 the foreground and background. Add code to remove the splash after
13703 its initial showing.
13705 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13706 (create_forms): no longer call Dialogs::showSplash.
13708 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13710 * .cvsignore: add version_info.h
13712 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13714 * version_info.h.in: new file
13716 * Makefile.am: add version_info.h.in
13718 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13719 version_info.h instead of VERSION_INFO
13721 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13723 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13724 The ERT inset now returns string().
13726 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13728 * lyxtext.h, text.C (selectNextWord): renamed as
13729 selectNextWordToSpellcheck.
13731 * text.C (selectNextWordToSpellcheck): Modified to not select
13732 words inside an ERT inset.
13734 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * lyx_cb.C (MenuLayoutSave): change a bit the question
13738 * sp_base.h: include <sys/types.h>
13740 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13742 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13744 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13746 * several files: fix typos in user-visible strings
13748 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * text2.C (pasteSelection): do not set the selection, since it
13751 will be cleared later. Actually, the intent was to fix the way the
13752 selection was set, but I figured rmoving the code was just as good.
13754 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13756 * FontLoader.C (available): Check if font is available without
13759 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13761 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13763 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13765 * lyxrc.[Ch]: added display_graphics variable and associated code.
13767 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * bufferparams.C (hasClassDefaults): new method. Returns true if
13770 the buffer parameters correspond to known class defaults
13772 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13774 * XFormsView.C (show): set minimum size to the main window.
13776 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13778 * text2.C (copySelection):
13780 * lyxfind.C (LyXReplace):
13781 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13782 LyXText::selectionAsString.
13784 * paragraph.C (asString): add "label" argument to the second form
13786 * text2.C (selectionAsString): add "label" argument and pass it to
13787 Paragraph::asString.
13789 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * lyx_main.C (commandLineHelp): remove version information
13793 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13795 * lyx_main.C: add -version commandline option
13797 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13799 * paragraph.h: make the optional constructor arg required instead.
13800 some modifications to other files because of this.
13802 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13804 * lyxserver.C (C_LyXComm_callback): make it static
13806 * lyx_main.C (error_handler): make it static
13808 * lyx_gui.C (LyX_XErrHandler): make it static
13810 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13812 * WorkArea.C: make the extern "C" methods static.
13814 * Makefile.am (lyx_LDADD): simplify
13816 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13818 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13819 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13821 * LyXAction.C (init):
13822 * lyxfunc.C (dispatch): associated code removal.
13824 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13826 * lyxfont.h (isSymbolFont): shut off warning
13828 * text.C (setHeightOfRow):
13829 (getVisibleRow): fix crash with empty paragraphs which have a
13832 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13834 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13837 2001-09-04 José Matos <jamatos@fep.up.pt>
13840 * tabular.C (docbook): rename docBook method to docbook.
13842 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13844 * Makefile.am: add dependencies to main.o.
13846 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13848 * FontLoader.C (available): Return false if !lyxrc.use_gui
13850 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13852 * FontInfo.C (query):
13853 * converter.C (view):
13854 * importer.C (Import):
13855 * exporter.C (Export): Can not -> cannot.
13857 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13859 * BufferView_pimpl.C: allow to create index inset even if
13862 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13864 * buffer.C (getLists): replace boost::tie code with an explicit pair
13865 as boost::tie can break some compilers.
13867 * iterators.h: Added a std:: declaration to the return type of
13870 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13872 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13875 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13877 * iterators.[Ch]: New files. Provide paragraph iterators.
13879 * buffer.C (changeLanguage): Use paragraph iterators.
13880 (isMultiLingual): ditto
13882 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13884 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13886 * FontLoader.C: Support for cmr font.
13888 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13890 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13891 (available): New method.
13893 * FontInfo.C (getFontname): Use scalable fonts even when
13894 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13897 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13899 * converter.C (Formats::view): reverted! Incorrect fix.
13901 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13903 * converter.C (Formats::view): only output the -paper option
13904 if the dvi viewer is xdvi, thereby fixing bug #233429.
13906 2001-08-23 Herbert Voss <voss@perce>
13908 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13910 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13912 * Spacing.h (Spacing): Set space to Default on in the default
13915 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * vc-backend.h (RCS::versionString): add RCS to version
13918 (CVS::versionString): add CVS to version
13920 * vc-backend.C (scanMaster): do not add CVS to version.
13921 (scanMaster): do not add RCS to version
13923 * lyxvc.C (versionString): new method
13925 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13927 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * Spacing.C (set): initialize fval
13931 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13933 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13936 2001-08-16 Juergen Vigna <jug@sad.it>
13938 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13940 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13942 * BufferView_pimpl.C:
13945 * text2.C: setParagraph takes linespacing now
13947 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13949 * LyxAction.C: add internal LFUN_CITATION_INSERT
13951 * LyXView.C: actually apply fix
13953 * bufferlist.C: fix open non-existent file
13955 * lyxfind.C: fix indentation
13957 * lyxfunc.C: remove unneeded assert, fix typo
13959 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13961 * MenuBackend.C: use "Floatname List"
13963 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13965 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13966 when converting LaTeX layout to insetERT.
13967 Generate a non-collapsed float when reading old float
13969 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13971 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13974 2001-08-13 Juergen Vigna <jug@sad.it>
13976 * text.C (fill): return 0 instead of 20 as this seems to be the more
13979 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13981 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13984 2001-08-13 Juergen Vigna <jug@sad.it>
13986 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13988 (SearchBackward): comment out the unlocking of the inset_owner this
13989 should not be needed!
13991 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13993 * Many files: Remove inherit_language, and add latex_language
13995 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13996 collapsible insets.
13998 2001-08-10 Juergen Vigna <jug@sad.it>
14000 * text.C (prepareToPrint): fixed hfill-width in draw!
14002 * BufferView2.C (selectLastWord): save the selection cursor as this
14003 now is cleared in the function LyXText::clearSelection!
14005 2001-08-08 Juergen Vigna <jug@sad.it>
14007 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14008 BACKSPACE type functions.
14010 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14011 is only cutted from the document but not put in the cut-buffer, where
14012 still the old stuff should be.
14014 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14016 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14018 * tabular.C (SetWidthOfCell): fixed special case where the width
14020 (LeftLine): handle '|' in align_special.
14022 (LeftAlreadyDrawed): ditto
14023 (SetWidthOfCell): ditto
14025 2001-08-07 Juergen Vigna <jug@sad.it>
14027 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14029 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14032 * lyxlex.[hC]: ditto
14034 2001-08-06 Juergen Vigna <jug@sad.it>
14036 * text.C (getVisibleRow): fix up row clearing a bit.
14038 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * minibuffer.C: make sure the X server sees the changes in the input.
14042 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * paragraph.C (getFont): split into...
14045 (getLabelFont): this
14046 (getLayoutFont): and this
14047 * paragraph_pimpl.C (realizeFont): calling this
14049 * text2.C (getFont): split into...
14050 (getLayoutFont): this
14051 (getLabelFont): and this
14052 (realizeFont): all three calling this
14054 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14057 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14061 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14063 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14064 layouts from the Quote inset insertion.
14066 2001-08-03 Juergen Vigna <jug@sad.it>
14068 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14070 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14071 only if status not is already CHANGED_IN_DRAW (second level).
14073 * text.C (draw): don't set the need_break_row when inside an
14076 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14078 * buffer.C (parseSingleLyXformat2Token): handle more latex
14081 * bufferview_funcs.[hC]: change function names to
14082 begin with small char, adjust other files.
14084 2001-08-02 André Pönitz <poenitz@gmx.net>
14087 BufferView_pimpl.C: remove broken special code for math-greek
14089 2001-08-02 Juergen Vigna <jug@sad.it>
14091 * BufferView_pimpl.C (update): redone this function so that we
14092 update the text again if there was a CHANGE_IN_DRAW.
14094 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14095 (drawFromTo): added a new internal bool which is used by draw() and
14097 (general): some cursor drawing problems fixed.
14099 2001-08-01 Juergen Vigna <jug@sad.it>
14101 * lyxfind.C (LyXFind): fixed
14102 (SearchForward): ditto
14103 (SearchBackward): ditto
14105 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14106 spurius drawing of the cursor in the main area.
14108 * text2.C (status): small fix which could lead to a segfault!
14109 (clearSelection): remove unneeded BufferView param.
14111 2001-08-01 André Pönitz <poenitz@gmx.net>
14113 * lyxfunc.C: small change due to changed mathed interface
14115 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14119 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14121 * lyxfunc.c: fail gracefully if file doesn't exist
14126 * BufferView_pimpl.C: IsDirWriteable() proto changed
14128 * LyXView.C: fix updateWindowTitle() to store the last title
14130 2001-07-31 Juergen Vigna <jug@sad.it>
14132 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14133 the font (wrong since using of Paragraph::highestFontInRange).
14135 * paragraph.C (highestFontInRange): added a default_size parameter.
14137 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14138 (setHeightOfRow): reformat
14140 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14142 * converter.[hC] + affected files: move to (inital-char)lowercase
14145 * ParagraphParameters.C (ParagraphParameters): remove commented code
14147 * PainterBase.[Ch]: remove commented code
14149 * LaTeXFeatures.h: add "bool floats" for float.sty
14151 * LaTeXFeatures.C (LaTeXFeatures): init floats
14152 (require): handle float
14153 (getPackages): do it with floats
14155 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * BufferView_pimpl.C (Dispatch): improve handling of
14158 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14160 * commandtags.h: #include lyxfont.h here temporarily to avoid
14163 * bufferlist.h: include LString.h here.
14165 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14167 * text2.C (getStringToIndex): new method.
14169 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14171 * *: Reduced header file dependencies all over.
14173 2001-07-30 Baruch Even <baruch@lyx.org>
14175 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14177 2001-07-29 Baruch Even <baruch@lyx.org>
14179 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14181 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * ParameterStruct.h (endif): add a default constructor to make
14184 sure that all variables is initialized.
14186 * ParagraphParameters.C (ParagraphParameters): adjust
14188 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14190 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14191 index; also, check that there is something to index, and that it
14192 does not span over several paragraphs.
14193 (doubleClick): use WHOLE_WORD_STRICT for double click.
14195 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14197 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14200 2001-07-26 Baruch Even <baruch@lyx.org>
14202 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14203 an InsetFig figure, backwards compatible reading of old figure code.
14205 2001-07-27 Juergen Vigna <jug@sad.it>
14207 * text2.C: font.realize function adaption.
14209 * text.C (draw): add a warnings lyxerr text if needed.
14211 * layout.C: font.realize function adaption.
14213 * language.C: add inherit_language and implement it's handlings
14215 * bufferview_funcs.C (StyleReset): remove language parameter from
14216 font creation (should be language_inherit now).
14218 * bufferparams.C (writeFile): handle ignore_language.
14220 * paragraph.C (getFontSettings): the language has to be resolved
14221 otherwise we have problems in LyXFont!
14223 * lyxfont.C (lyxWriteChanges): added document_language parameter
14224 (update): removed unneeded language parameter
14226 * paragraph.C (validate): fixed wrong output of color-package when
14227 using interface colors for certain fonts in certain environments,
14228 which should not seen as that on the final output.
14230 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14232 * BufferView_pimpl.C:
14237 * LyXAction.C: add thesaurus support
14240 * lyxfind.C: add "once" parameter, for thesaurus, to not
14241 move to the next match
14243 2001-07-26 Juergen Vigna <jug@sad.it>
14245 * lyxfont.C (realize): honor ignore_language too!
14248 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14250 * text.C (draw): one place more for ignore_language to not draw
14253 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14255 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14257 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14259 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14260 the minipage conversion problem.
14262 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14267 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * BufferView.h: don't forward declare WorkArea
14271 * BufferView.C: don't include WorkArea.h
14273 2001-07-25 André Pönitz <poenitz@gmx.net>
14277 * lyxfunc.C: new LFUN 'math-space'
14279 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14281 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14283 * text2.C (toggleInset): call open/close
14285 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14287 * lyxfunc.C (dispatch): add debug for the disabled case
14289 * font.C (buttonText): make similar to rectText
14291 * buffer.C (readInset): comment out parsing of insetlist and
14294 * PainterBase.C (rectText): small correction
14296 * BufferView_pimpl.C: comment out insettheorem and insetlist
14297 * LyXAction.C: ditto
14298 * commandtags.h: ditto
14300 2001-07-24 Juergen Vigna <jug@sad.it>
14302 * text.C (draw): honor the ignore_language.
14304 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14306 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14311 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14313 * lyxtext.h: remove unused (and unimplemented) methods
14315 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14317 * text.C (getVisibleRow): honor background color
14320 * Painter.h: remove default color argument for fillRectangle
14322 * text.C (backgroundColor): new method
14324 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * text.C (getVisibleRow): adjust
14328 * font.[Ch] (rectText): new method, metrics
14329 (buttonText): new method, metrics
14331 * PainterBase.[hC]: make rectText and buttonText always draw and take
14334 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14336 * ToolbarDefaults.C (read):
14337 * MenuBackend.C (read): allow escaping in all strings
14339 * BufferView_pimpl.C (insertAndEditInset): new method.
14340 (Dispatch): use insertAndEditInset whenever appropriate.
14342 * BufferView_pimpl.C (insertNote): removed
14344 * BufferView_pimpl.C (smartQuote): new method, moved from
14345 BufferView; if an insetquote cannot be inserted, insert a '"'
14348 * BufferView2.C: remove insertCorrectQuote();
14350 * lyxfunc.C (getStatus): Add support for all remaingin
14351 inset-insert lfuns.
14353 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14355 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14356 command (necessary to pass " as parameter of self-insert.
14358 * text.C (selectWordWhenUnderCursor):
14359 (selectWord): add word_location parameter
14360 (selectWordWhenUnderCursor): same + remove special code for word
14362 (selectNextWord): use kind() to guess type of insetspecialchar,
14365 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14366 (insertErtContents): create ert insets as collapsed.
14367 (readInset): better compatibility code for Info inset.
14369 2001-07-20 Juergen Vigna <jug@sad.it>
14371 * lyxfunc.C (dispatch): use always LyXFind now!
14373 * text2.C (init): add a reinit flag so that the LyXText can be
14374 reinited instead of deleted and reallocated (used in InsetText).
14376 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14382 2001-07-18 Juergen Vigna <jug@sad.it>
14384 * text.C (selectNextWord): handle insets inside inset by calling
14385 always the bv->text functions so that we can go up the_locking_inset!
14387 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14388 in strange locations when inside an inset!
14390 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14391 handling to include insets.
14393 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14395 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14397 * LyXAction.C (init):
14399 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14400 LIGATURE_BREAK, since the name is so stupid.
14402 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14404 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14407 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14409 * sp_form.[Ch]: remove.
14411 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14413 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14416 * src/buffer.C (readInset): ditto.
14418 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14420 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14421 menuSeparator(), endOfSentenceDot(), ldots() and
14422 hyphenationPoint(), which are therefore removed.
14423 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14425 * LyXAction.C (init):
14426 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14428 * paragraph.C (getWord): removed.
14430 * BufferView_pimpl.C (Dispatch): use last word or selection for
14431 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14433 * lyx_main.C (queryUserLyXDir): do not ask before creating
14434 user_dir, except if it has been named explicitely.
14436 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14438 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14439 a document of zero size.
14441 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14443 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14444 approriately in the c-tor and in require().
14445 (getPackages): output the appropriate LaTeX for natbib support.
14447 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14448 variables "use_natbib" and "use_numerical_citations" when reading the
14450 (readInset): read the various natbib cite commands.
14451 (validate): white-space change.
14453 * bufferparams.[Ch]: new variables "bool use_natbib" and
14454 "bool use_numerical_citations".
14455 (writeFile): output them in the LyX file.
14457 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14459 * lyxfunc.C (getStatus): add support for all the inset insertion
14462 * text2.C (insertInset):
14463 * paragraph.C (insetAllowed):
14464 * BufferView_pimpl.C (insertInset): update to take in account the
14465 renaming of insertInsetAllowed
14467 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14469 * text2.C (getInset): new method. returns inset at cursor position.
14471 * BufferView_pimpl.C (Dispatch): changes because of this.
14473 * LyXAction.C (init): rename open-stuff to inset-toggle.
14475 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14477 * text2.C (toggleInset): renamed from openStuff; use
14480 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14482 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14484 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14486 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14488 * buffer.C (readLyXformat2): Add filename to the error dialog
14490 2001-07-18 Juergen Vigna <jug@sad.it>
14492 * tabular.C (GetCellNumber): put an assert here instead of the check!
14494 2001-07-17 Juergen Vigna <jug@sad.it>
14496 * BufferView_pimpl.C (toggleSelection): adapted too.
14498 * text.C (selectNextWord): adapted for use with insets.
14499 (selectSelectedWord): ditto
14501 2001-07-17 Juergen Vigna <jug@sad.it>
14503 * sp_spell.C (PSpell): fix initialitation order.
14505 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14507 * paragraph.C: spacing
14509 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14511 * sp_spell.C: repair language selection for pspell
14513 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * lyxfunc.h: change more methods to begin with lower char.
14517 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14519 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14520 for unknown layouts.
14522 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14524 * buffer.C (readLyXformat2): Generate an error dialog if there are
14527 2001-07-16 Juergen Vigna <jug@sad.it>
14529 * sp_spell.C: always compile ISpell part.
14531 * lyxrc.C: added use_pspell entry and it's handling.
14533 2001-07-13 Juergen Vigna <jug@sad.it>
14535 * sp_spell.C: removed double includes.
14537 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14539 Consistent use of Lsstream.h:
14540 * Lsstream.h: added using std::stringstream for consistencies sake.
14542 * buffer.C: removed using std::stringstream
14544 * lyxfont.C (stateText):
14545 * paragraph.C (asString):
14546 * text.C (selectNextWord, selectSelectedWord):
14547 * text2.C (setCounter):
14548 * vspace.C (asString, asLatexString):
14549 std::ostringstream -> ostringstream.
14551 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14553 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14554 * commandtags.h: add LFUN_HELP_ABOUTLYX
14555 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14557 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14559 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14561 * lyx_gui_misc.C: remove spellchecker
14562 * lyxfunc.C: showSpellchecker
14564 * sp_ispell.h: added
14565 * sp_pspell.h: added
14566 * sp_spell.C: added
14567 * sp_form.[Ch]: removed
14568 * spellchecker.[Ch]: removed
14570 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14572 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14574 (simpleTeXSpecialChars): Simply print the input character without
14575 any special translation if pass_thru is set.
14577 * layout.h: Added bool pass_thru to layout class for being able to
14578 implement pass through of a paragraph for Literate Programming.
14580 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14581 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14582 * layout.C (Read): add "passthru" to list of layout tags and add
14583 code to set the pass_thru boolean when it is read.
14585 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14587 * trans_decl.h: remove allowed from KmodInfo
14589 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14590 remove allowed code
14593 * paragraph_pimpl.C (erase): use boost::prior
14595 * Painter.C (text): use data() instead of c_str() when length is
14597 * WorkArea.C (putClipboard): ditto
14598 * font.h (width): ditto
14600 * BufferView2.C: use it-> instead of (*it). for iterators
14602 * paragraph_pimpl.C: ditto
14603 * paragraph.C: ditto
14604 * minibuffer.C: ditto
14605 * language.C: ditto
14607 * encoding.C: ditto
14608 * counters.C: ditto
14609 * converter.C: ditto
14611 * Variables.C: ditto
14612 * TextCache.C: ditto
14613 * MenuBackend.C: ditto
14614 * LyXAction.C: ditto
14616 * FloatList.C: ditto
14617 * DepTable.C: ditto
14618 * ColorHandler.C (LyXColorHandler): ditto
14620 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14622 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14624 * text2.C (openStuff): reintroduce this method (which had been
14625 nuked in NEW_INSETS frenzy).
14627 * lyxfunc.C (Dispatch): when an action has not been handled, use
14628 its name in the error message, not its number.
14630 * paragraph.C (inInset): change method name to begin with lowercase.
14633 * text2.C: updates because of this.
14635 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * ToolbarDefaults.C (add): add spaces in error message
14639 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14641 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14642 (readLyXformat2): rename return_par to first_par, use lyxlex's
14643 pushToken and remove the manual push handling.
14644 (parseSingleLyXformat2Token): add another ert comp. variable:
14645 in_tabular, rename return_par to first_par. handle newlines better
14647 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14651 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * text2.C (getParFromID): removed
14655 * buffer.C (getParFromID): new method moved form lyxtext.
14656 * BufferView2.C (insertErrors): adjust
14657 (setCursorFromRow): adjust
14658 * BufferView_pimpl.C (restorePosition): adjust
14659 * lyxfunc.C (Dispatch): adjust
14660 * undo_funcs.C (textUndo): adjust
14662 (textHandleUndo): adjust
14663 (textHandleUndo): adjust
14665 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14667 * buffer.C: up' the LYX_FORMAT
14669 * lyxfont.h: turn NO_LATEX on as default
14671 * buffer.C (insertErtContents): new methods of tex style compability.
14672 (parseSingleLyXformat2Token): use it several places.
14673 * tabular.C (OldFormatRead): and here
14675 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * text2.C: remove some commented code.
14680 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14681 * trans.C: changes because of the above.
14683 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14685 * text2.C (setCounter): Fix counters bug with bibliography layout.
14687 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14689 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14690 own member functions
14691 (simpleTeXSpecialChars): ditto
14693 2001-07-06 Juergen Vigna <jug@sad.it>
14695 * a lot of files: changed the access to LyXText::status and the
14696 call of undo-functions.
14698 * undo.[Ch]: added a inset_id to the undo informations.
14700 * undo_funcs.[Ch]: added and moved here all undo functions.
14702 * lyxtext.h: give the status enum a weight, made status_ a private
14703 variable and made accessor functions for it, removed the whole bunch
14704 of undo-functions as they are now in their own file, make some
14705 functions publically available. Added function ownerParagraph with
14708 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14709 made InInset() a const function, added getParFromID() function.
14711 * buffer.[Ch]: added const version for inset_iterator functions,
14712 added getInsetFromID() function.
14714 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14715 changed undo functions for new version.
14717 2001-07-05 Juergen Vigna <jug@sad.it>
14719 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14720 unknow mechanism does not call the proper constructor but only this
14721 one also if I request the other!?
14723 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14727 * text2.C (LyXText): use initialization lists.
14729 * lyxtext.h (Selection): initialize set_ and mark_
14730 (init): remove method
14732 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14734 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14736 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * screen.[Ch]: change method names to begin with lowercase
14740 * BufferView_pimpl.C (updateScrollbar): simplify further and
14741 hopefully make it a bit faster.
14743 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14746 calling directly xforms functions.
14748 * Painter.C (Painter):
14749 * lyx_cb.C (MenuWrite):
14750 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14753 * lyx_gui.C: remove bogus guiruntime extern declaration.
14755 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14757 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14759 (redoDrawingOfParagraph): ditto
14760 (redoParagraphs): ditto
14761 (cutSelection): don't create a object for CutAndPaste use the
14762 static method directly
14763 (pasteSelection): ditto
14765 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14768 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * modifications to some other files because of this.
14772 * Makefile.am (lyx_SOURCES): add XFormsView
14774 * XFormsView.[Ch]: new files
14776 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14777 the main window. Move the gui dependent stuff to XFormsView
14779 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * tabular.C (GetCellInset): update cur_cell also in the row/col
14782 version of this function.
14784 * lyxfunc.C: no need to include figure_form.h here.
14790 * lyxvc.C: no need to include forms.h here.
14792 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14794 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14796 * lyxfunc.C (Dispatch):
14798 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14799 constructor argument.
14801 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14803 * paragraph.C (Paragraph): dont't clear, and just set layout.
14804 (makeSameLayout): use params's copy contructor.
14806 * ParagraphParameters.[Ch] (makeSame): delete method
14808 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14810 * Variables.[Ch]: fix indentation, rename set to isSet
14812 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14814 * lyxfunc.C (Dispatch): fix typo
14816 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14821 * bufferlist.C: include assert.h for emergencyWrite().
14823 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14825 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14826 give up at last (bug #425202) !
14828 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14834 * spellchecker.C: strip spellchecker options and bring up
14835 preferences tab instead
14837 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14840 the istringstream constructor
14842 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * paragraph.C (getLayout): fix return value
14846 * paragraph.h: do not declare getLayout as inline.
14848 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14850 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14852 * lyxcursor.h (operator<): new func
14853 (operator>): new func
14854 (operator>=): new func
14855 (operator<=): new func
14857 * text.C (changeCase): use selection.start and selection.end
14858 (changeRegionCase): require from to be <= to. Require par to be a
14861 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14863 2001-06-27 Juergen Vigna <jug@sad.it>
14865 * text.C (cursorLeftOneWord): changed to return the cursor and added
14866 overlay with BufferView * parameter which calls this one.
14868 (selectWord): use new getWord function.
14869 (changeCase): renamed from changeWordCase as and extended to work
14870 also on selections.
14872 * lyxtext.h: added enum word_location
14874 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14875 changeCase as this operates now also on selections.
14877 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14879 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14881 * many files: send debug output to Debug::INFO instead of
14884 * converter.C (View):
14886 (Move): send debug output to Debug::FILES instead of console.
14888 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14890 * lyxfunc.C (getStatus): use func_status
14892 * func_status.h: new header, describing the results of
14893 LyXFunc::getStatus;
14895 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14898 2001-06-25 The LyX Project <jug@sad.it>
14900 * buffer.C (sgmlOpenTag):
14902 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14904 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * text2.C: remove some dead code
14908 * tabular.C (GetCellInset): store the last cell checked (gotten)
14910 * tabular.h: add the helper for the speedup
14912 * lyxtext.h: remove some dead code
14914 2001-06-26 The LyX Project <Asger>
14916 * paragraph.C: Change export to LaTeX of alignment to
14917 \begin{center} and family for better roundtrip work with reLyX.
14919 * Tune the math drawing a bit.
14921 2001-06-25 The LyX Project <Asger>
14923 * LColor.C (LColor): New color for math background. New color
14926 2001-06-25 The LyX Project <jug@sad.it>
14928 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14930 * lyxfunc.C (Open):
14931 * bufferlist.C (newFile): do not restrict to files ending with
14934 * BufferView_pimpl.C (MenuInsertLyXFile):
14936 2001-06-24 The LyX Project <jug@sad.it>
14938 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14941 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14943 * lyxtext.h: rename most methods to begin with a small char.
14944 Lots of changes because of this.
14946 * paragraph.C (Paragraph): do not call fitToSize
14947 (erase): call Pimpl::erase
14948 (insertChar): call Pimpl::insertChar
14949 (insertInset): call Pipl::insertInset
14950 (breakParagraph): do not call fitToSize
14951 (breakParagraphConservative): do not call fitToSize
14952 (fitToSize): remove method
14954 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14956 2001-06-24 The LyX Project <Asger>
14958 * Fix Qt compilation^2
14960 2001-06-24 The LyX Project <jug@sad.it>
14962 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14963 depthHook(getDepth()-1).
14966 * ParagraphParameters.h:
14967 * ParameterStruct.h: change type of depth to unsigned int ==
14968 depth_type. Many adaptations to other files before of that.
14970 2001-06-24 The LyX Project <Asger>
14972 * Fix Qt compilation.
14974 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * paragraph.h: renamed several methods to begin with small letter.
14977 several changes to many parts of the code because of this.
14979 2001-06-23 The LyX Project <jug@sad.it>
14981 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14982 rewritten to discard all double spaces when KeepEmpty is off
14983 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14984 to only handle newlines but not fiddle with spaces and friends.
14986 * lyxfunc.C (MenuNew): when doing 'new from template', use
14987 template_path as default directory
14989 2001-06-23 The LyX Project <Asger>
14991 * Clean-up of header file includes all over
14992 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14994 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14996 * paragraph.h: renamed from lyxparagraph.h
14998 2001-06-23 Asger <lyx@violet.home.sad.it>
15000 * Buffer.h: Removed Buffer::resize
15001 * BufferList.h: Removed BufferList::resize
15002 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15003 the document lazily when we change the width, or the font settings.
15005 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15007 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15009 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15011 * buffer.h: remove out of date comment
15013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15016 * screen.C: fix "theoretical" GC leak
15018 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * LaTeX.C (scanAuxFile):
15021 (deplog): remove trailing \r when reading stream (useful under
15024 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15026 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15027 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15028 and BufferView::theLockingInset(Inset*), so should use them and not
15029 access bv_->text->the_locking_inset directly.
15031 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15033 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15036 * tex-defs.h: remove old unused file
15038 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15040 * BufferView_pimpl.C: fix typo, remove minibuffer message
15041 when buffer has loaded
15043 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * lyxfunc.C (Dispatch): use stringstream
15046 (MenuNew): use stringstream
15047 (Open): use stringstream
15049 * importer.C (Import): use stringstream
15051 * bufferview_funcs.C (CurrentState): use stringstream
15053 * LaTeX.C (run): use stringstream
15055 * BufferView_pimpl.C (savePosition): use stringstream
15056 (restorePosition): use stringstream
15057 (MenuInsertLyXFile): use stringstream
15059 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15072 * vspace.C: removed // -*- C++ -*- as first line.
15075 * version.h: added // -*- C++ -*- as first line.
15077 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15079 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15081 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15084 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15086 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15089 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * gettext.C: include LString.h even when --disable-nls is on.
15093 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15095 * converter.h (Get): changed argument type from int to
15096 FormatList::size_type to avoid unnecessary conversion.
15098 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15101 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * gettext.h: include LString.h even when --disable-nls is on.
15105 2001-06-07 Juergen Vigna <jug@sad.it>
15107 * text.C (BreakAgain): subst spaces with tabs.
15109 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15110 (resizeInsetsLyXText): set force on resizeLyXText.
15112 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * gettext.h (gettext_init):
15115 (locale_init): use a real definition instead of a macro
15117 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15119 * Bufferview_pimpl.C:
15121 * LColor.C: further lcolor tidies
15123 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15125 * BufferView_pimpl.C (updateScrollbar): simplify.
15127 * BufferView2.C: don't include insets/insetinfo.h, change
15128 prototype for insertInset and call the Pimpl version. let
15129 updateInset call Pimpl version.
15131 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15132 gotoInset to BufferView::Pimpl
15134 2001-06-01 Juergen Vigna <jug@sad.it>
15136 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15137 inside a LockingInset (is the update needed at all?).
15139 2001-05-31 Juergen Vigna <jug@sad.it>
15141 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15142 here not the old one otherwise how should we compare it afterwards
15145 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * FontInfo.C: bring C functions into global namespace when
15153 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * LString.h: make sure config.h has been loaded before LString.h.
15157 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15158 (one for each char read by EatLine!).
15160 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15163 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15166 to the same as the par we break from
15168 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15172 * MenuBackend.C (expand): also create menu entries for wide
15173 versions of the floats.
15175 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15177 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15179 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15180 frontends/Makefile.am
15186 * tabular.C (getTokenValue): add std::
15188 * tabular-old.C (getTokenValue): add std::
15189 (getTokenValue): ditto
15190 (getTokenValue): ditto
15192 * screen.C (ToggleSelection): adjust
15194 * lyxtext.h: put selection cursors inside a Selection struct.
15196 * lyxfunc.C (moveCursorUpdate): adjust
15198 * lyxfont.C (latexWriteStartChanges): add std::
15200 * lyxfind.C: adjust
15202 * font.h: delete with(char const *, LyXFont const &)
15204 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15206 * FontInfo.C (getFontname): add std::
15208 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15209 (workAreaButtonPress): adjust
15210 (tripleClick): adjust
15212 (moveCursorUpdate): adjust
15215 * BufferView2.C (gotoInset): adjust
15217 2001-05-30 Juergen Vigna <jug@sad.it>
15219 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15220 to check pspell I add this as default as I now have new pspell
15221 libraries and they seem to use this.
15223 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15225 * text2.C (CutSelection): make the cursor valid before the call to
15228 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15230 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15231 relied on 0 terminated strings and other horrors. Bug found due to
15232 the new assert in lyxstring!
15234 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15237 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15242 * lyxfunc.C (processKeySym): change method of getting to the
15245 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15246 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15247 * BufferView_pimpl.[Ch]: here as private methods.
15249 2001-05-28 Juergen Vigna <jug@sad.it>
15251 * text.C (SetHeightOfRow): added the update() call again as it is
15252 needed to initialize inset dimensions!
15254 2001-05-16 Juergen Vigna <jug@sad.it>
15256 * text2.C (SetCharFont): Add new function with BufferView * and
15257 bool toggleall parameters for setting insets internal fonts.
15258 (SetFont): Freeze the undo as we may change fonts in Insets and
15259 all this change should be inside only one Undo!
15261 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15262 setting font's in insets as for them we have the SetFont function!
15264 2001-05-15 Juergen Vigna <jug@sad.it>
15266 * text2.C (ClearSelection): to be sure we REALLY don't have any
15269 * tabular.C (TeXCellPreamble): fixed the left border problem for
15272 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15274 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15277 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15280 LFUN_BREAKPARAGRAPH.
15282 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15283 help test to "internal only", similar for LFUN_INSERT_URL
15285 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15286 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15287 auto_region_delete and deadkeys.
15289 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15292 * LColor.C: remove some dead entries, tidy a little
15294 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15298 (Dispatch): implement LFUN_ESCAPE
15300 * commandtags.h: add LFUN_ESCAPE
15302 * LyXAction.C (init): add entry for LFUN_ESCAPE
15304 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15305 Remove commented code.
15306 (insertNote): moved here
15307 (open_new_inset): moved here
15309 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15312 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * kbmap.C (findbinding): clean it up and make it work correctly.
15316 * lyx_main.C (init): do not pass argc and argv as parameters
15318 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15320 * buffer.C: fix path for OS/2 & Win32
15324 * lyx_main.C: Added os:: class.
15326 * os2_defines.h: update
15328 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15330 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15331 better by trying again with reduced state.
15333 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * lyxrc.C (read): print error about invalid key sequence only when
15336 debugging (because not all latinX keysyms are known to some X
15339 * kbsequence.C (getiso): add a few std:: qualifiers
15340 (getiso): comment out extra return statement.
15342 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15344 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15346 (Dispatch): enhance the accent inset a bit. (not perfect)
15348 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15352 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15354 * bufferlist.C (emergencyWrite): fix assert() call
15356 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15358 * text.C (InsertChar): Added trivial patch to only send the "you
15359 can not do multiple spaces this way" message once during a
15362 2001-05-08 Baruch Even <baruch@lyx.org>
15364 * Makefile.am: Changed order of libraries to get LyX to link properly
15365 with the gnome frontend.
15367 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * LaTeXFeatures.h: add a std:: qualifier
15371 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * paragraph.C (String): use stringstream
15375 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * paragraph.C (writeFile): remove footflag arg
15379 * buffer.C (makeLaTeXFile): use stringstream
15380 (latexParagraphs): remove footnot gurba
15382 * LaTeXFeatures.C (getPackages): use stringstream
15383 (getMacros): likewise
15384 (getTClassPreamble): likewise
15385 (getFloatDefinitions): new method
15387 * paragraph.C (writeFile): reindent
15390 * WorkArea.h: revert the xpos + etc changes.
15392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15394 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15396 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15397 (pasteSelection): likewise
15398 * text2.C (CreateUndo): likewise
15400 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15402 * minibuffer.C (peek_event): temporarily reduce the functionality
15403 of the minibuffer (to allow args on lfuns)
15405 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15406 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15408 * buffer.C (readInset): add compability reading of old float
15409 lists, add reading of new style float list.
15410 (readInset): avoid reevaluation of inscmd.getCmdName()
15411 (getLists): reindent
15413 * MenuBackend.C (MenuItem): implement parsing of
15414 md_floatlistinsert and md_floatinsert.
15415 (expand::LastFiles): move initalizaton of iterators out of loop,
15416 avoid reevaluation.
15417 (expand::Documents): introduce typdedef vector<string> Strings,
15419 (expand::ExportFormats): introduce typedef vector<Format const *>
15420 Formats, and use it.
15421 (expand): implement FloatListInsert and FloatInsert.
15423 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15424 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15425 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15427 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15429 (Dispatch::LFUN_FLOAT_LIST): implement
15431 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15433 * LaTeX.C (run): Fix problem with --export code.
15435 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15437 * BufferView.[Ch] (workarea): removed.
15438 (getClipboard) new method; wrapper for workarea()->getClipboard()
15440 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15443 * WorkArea.h (width, height, xpos, ypos): These methods all
15444 returned the dimensions of the work_area sub-area of WorkArea,
15445 resulting in a position error if the WorkArea were resized. Now
15446 return the dimensions of the entire WorkArea.
15448 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15450 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15452 * LaTeX.C (deplog): correct the syntax of regex reg1
15454 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * undo.C: remove !NEW_INSETS cruft
15458 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15460 * text2.C: remove !NEW_INSETS cruft
15462 * text.C: remove !NEW_INSETS cruft
15464 * tabular.C: remove !NEW_INSETS cruft
15466 * spellchecker.C: remove !NEW_INSETS cruft
15468 * lyxtext.h: remove !NEW_INSETS cruft
15470 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15472 * lyxfunc.C: remove !NEW_INSETS cruft
15474 * lyxfind.C: remove !NEW_INSETS cruft
15476 * lyx_cb.C: remove !NEW_INSETS cruft
15478 * figureForm.C: remove !NEW_INSETS cruft
15480 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15482 * buffer.[Ch]: remove !NEW_INSETS cruft
15484 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15486 * CutAndPaste.C: remove !NEW_INSETS cruft
15488 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15490 * BufferView2.C: remove !NEW_INSETS cruft
15492 * BufferView.h: remove !NEW_INSETS cruft
15494 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15496 * Lsstream.h: include LString.h before the sstream headers to
15497 fix problem with gcc 2.95.3 and lyxstring
15499 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15501 * lyx_main.C: add using directives when needed for C functions
15502 declared in std:: namespace.
15504 2001-04-27 Juergen Vigna <jug@sad.it>
15506 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15507 (SetHeightOfRow): comment out the update call should not be needed!
15509 2001-04-13 Juergen Vigna <jug@sad.it>
15511 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15512 (LyXTabular): tried to minimize operator= operations (and realized
15513 hopfully Lars wish).
15515 2001-04-27 Juergen Vigna <jug@sad.it>
15517 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15519 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15523 * buffer.C (readInset): hack to make listof algorithm work
15525 * BufferView_pimpl.C: hack to make listof algorithm work
15527 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15529 * LyXAction.C: removed all !NEW_INSETS cruft
15530 (init): moved lfun_item in method
15532 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15534 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15536 * BufferView2.C (theLockingInset): white space.
15538 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15540 * minibuffer.C: include <iostream>
15542 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15544 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15546 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15548 * text.[Ch] (TransposeChars): new method
15550 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * call message directly through LyXView instead of through LyXFunc
15553 * BufferView2.C: adjust
15554 * BufferView_pimpl.C: adjust
15555 * FontLoader.C: adjust
15557 * bufferview_funcs.C: adjust
15558 * converter.C: adjust
15559 * figureForm.C: adjust
15560 * importer.C: adjust
15562 * lyx_gui_misc.C: adjust
15563 * lyxfunc.C: adjust
15566 + more files in subdirs
15568 * lyxparagraph.h (size): move up int file
15571 * adjust all uses of Assert to lyx::Assert.
15573 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15574 lyxfunctional in namespace lyx
15575 * layout.C (hasLayout): ditto
15578 (delete_layout): ditto
15579 (NumberOfClass): ditto
15580 * converter.C (GetFormat): ditto
15585 * bufferlist.C (getFileNames): ditto
15586 (emergencyWriteAll): ditto
15589 * MenuBackend.C (hasSubmenu): ditto
15592 * BufferView_pimpl.C (getInsetByCode): ditto
15594 2001-04-18 Juergen Vigna <jug@sad.it>
15596 * vspace.C (asLatexString): fixed the 100% problem.
15598 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * lyxfunc.C (Dispatch):
15602 * minibuffer.h: add a few std:: qualifiers
15604 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15606 * minibuffer.[Ch]: reimplement so that commands is initiated and
15607 run from lyxfunc, simplified som handling, and made the completion
15608 and history code for complete. wip.
15610 * lyxfunc.C (processKeySym): call message
15611 (miniDispatch): new temporary method
15612 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15613 (LFUN_MESSAGE): implement
15614 (LFUN_MESSAGE_PUSH): implement
15615 (LFUN_MESSAGE_POP): implement
15616 (initMiniBuffer): the initial/defualt minibuffer message.
15618 * lyxfont.[Ch]: inline some more getters
15620 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15622 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15624 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15625 (AutoSave): use LFUN_MESSAGE
15626 (Reconfigure): ditto
15628 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15630 * figureForm.C: use LFUN_MESSAGE
15632 * converter.C (runLaTeX): use LFUN_MESSAGE
15634 * bufferview_funcs.C: use LFUN_MESSAGE
15636 (changeDepth): ditto
15638 * bufferparams.h: use boost::
15640 * bufferlist.h: inherit privately from noncopyable
15642 * bufferlist.C (loadLyXFile): remove some commented code.
15644 * buffer.C (runChktex): use LFUN_MESSAGE
15646 * ShareContainer.h: inherit privately from noncopyable
15648 * ParagraphParameters.[hC] (depth): inline it.
15650 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15652 (message): new method
15653 (messagePush): ditto
15654 (messagePop): ditto
15655 (show): init minibuffer
15656 (showState): direct call
15658 * LaTeX.[Ch]: inherit privately from noncopyable
15659 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15660 instead of WriteStatus.
15662 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15664 * BufferView_pimpl.C (buffer): don't init minibuffer
15665 (workAreaButtonPress): use LFUN_MESSAGE
15666 (workAreaButtonRelease): ditto
15667 (savePosition): ditto
15668 (restorePosition): ditto
15669 (MenuInsertLyXFile): ditto
15670 (workAreaExpose): don't init minibuffer
15671 (update): remove commented code, simplify
15673 * BufferView2.C (openStuff): use LFUN_MESSAGE
15674 (toggleFloat): ditto
15677 (copyEnvironment): ditto
15678 (pasteEnvironment): ditto
15683 (updateInset): remove some commented code
15685 * lastfiles.h: inherit privately from noncopyable
15688 * lyx_main.h: ditto
15690 * lyxlex_pimpl.h: ditto
15692 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15693 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15694 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15696 * LyXAction.h: inherit privately from noncopyable, add methods
15697 func_begin, func_end, returning iterators to the func map.
15699 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15700 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15701 (func_begin): new method
15702 (func_end): new method
15704 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15706 (copySelection): ditto
15707 (pasteSelection): ditto
15709 * BufferView.C: whitespace change
15710 * BufferView.h: inherit privately from noncopyable
15712 2001-04-16 Allan Rae <rae@lyx.org>
15714 * tabular-old.C (l_getline):
15715 * spellchecker.C (sc_check_word):
15716 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15717 an unrecognised preprocessor directive. So ensure they're wrapped.
15719 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15721 * src/exporter.C (Export): Give an error message when path to file
15724 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15726 * LaTeX.C (deplog): Always check that foundfile exists.
15728 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15731 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15733 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * tabular.[Ch] (getLabelList): implement new method
15737 * minibuffer.h: comment ouf setTiimer
15739 * minibuffer.C (ExecutingCB): constify res
15740 (peek_event): constify s
15741 (Set): constify ntext
15742 (Init): constify nicename
15744 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15746 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15747 (savePosition): use two params to Minibuffer::Set
15748 (restorePosition): ditto
15750 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15752 * lyx_main.C: include language.h
15754 * Makefile.am (lyx_main.o): add language.h
15756 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * CutAndPaste.C: include gettext.h
15764 * lyxfont.h: remove old hack with ON and OFF.
15767 * lyxfont.h: do not include language.h...
15772 * bufferview_funcs.C:
15778 * paragraph.C: ... but do it here instead
15780 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15782 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15784 * tabular.C: small reformat
15786 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15789 (BreakParagraph): ditto
15790 (SetOnlyLayout): ditto
15793 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15796 * lastfiles.C: removed most using decl, add std:: where needed
15798 * buffer.C: ws changes
15800 * MenuBackend.C (class compare_format): put into anon namespace
15801 (expand): constify label, names, action, action2
15804 * text.C (SingleWidth): constify font
15805 (IsBoundary): constify rtl2
15806 (GetVisibleRow): constify ww
15808 * LaTeX.C (deplog): constify logfile
15810 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15812 (workAreaExpose): constify widthChange, heightChange
15814 * lyxrow.C (par): moved
15817 * lyxrow.h: as inlines here
15819 * lyxfont.h (shape): moved from lyxfont.C
15820 (emph): moved from lyxfont.C
15822 * lyxfont.C (LyXFont): use initialization list for all
15824 (shape): move to lyxfont.h as inline
15825 (emph): move to lyxfont.h as inline
15828 2001-04-04 Juergen Vigna <jug@sad.it>
15830 * vspace.C: had to include stdio.h for use of sscanf
15832 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15835 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15836 independent of xforms.
15838 2001-04-02 Juergen Vigna <jug@sad.it>
15840 * spellchecker.C: fixed namespace placing!
15842 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15844 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15845 the LyXParagraph * is 0.
15847 2001-03-29 Juergen Vigna <jug@sad.it>
15849 * vspace.C: added support for %, c%, p%, l%.
15850 (stringFromUnit): added helper function.
15851 (asLatexString): changed to give right results for the %-values.
15853 * buffer.C: convert the widthp in a width%.
15855 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15857 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15860 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15861 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15863 * lyx_cb.[Ch]: see above.
15865 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15869 * lyx.[Ch]: replaced by figure_form.[Ch].
15873 * lyxfunc.C: changed headers associated with above changes.
15875 2001-03-27 Juergen Vigna <jug@sad.it>
15877 * BufferView_pimpl.C: set the temporary cursor right!
15879 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15881 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15883 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15885 * LString.h: removed "using std::getline"!
15887 * BufferView_pimpl.C (Dispatch): changes due to changes in
15888 InsetInclude::Params.
15890 * buffer.C (tag_name): removed redundant break statements as they were
15891 producing lots of warnings with my compiler.
15893 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * LString.h: add "using std::getline" when using the real <string>.
15897 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15899 * buffer.C: removed bitset usage.
15900 PAR_TAG moved to an anonymous name space.
15901 (tag_name): new funtion, also in the anonymous namespace.
15902 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15903 (makeDocBookFile): clean code. Completed transition from string arrays
15905 (SimpleDocBookOnePar): code clean.
15907 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15909 * tabular.C: add some comments.
15911 2001-03-22 Juergen Vigna <jug@sad.it>
15913 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15914 compatibility read a bit and fixed bug with minipage in different
15917 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15919 * buffer.C (pop_tag): removed.
15920 (push_tag): removed.
15921 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15922 array replaced with vector. Added support for CDATA sections.
15923 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15925 (makeDocBookFile): XML conformant declaration of CDATA section,
15926 fixed bug related to <emphasis> in the first paragraph char.
15927 (sgmlOpenTag): exclude empty tags.
15928 (sgmlCloseTag): ditto.
15930 * buffer.h (pop_tag): removed.
15931 (push_tag): removed.
15933 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15935 * language.h (Languages): added size_type and size().
15937 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15939 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15940 response on compability reading of minipages. One probliem is that
15941 the old usage of minipages was «flertydig»
15943 * several files here and in subdirs: don't use static at file
15944 scope use anon namespaces instead.
15946 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15948 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15949 LaTeX output. This is necessary for Literate document
15952 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15954 * buffer.C: insert hfill when needed.
15956 * tabular.C (l_getline): use string::erase, small whitespace change.
15958 * BufferView_pimpl.C: try the anon namespace.
15959 * WorkArea.C: ditto
15961 2001-03-16 Juergen Vigna <jug@sad.it>
15963 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15964 otherwise it won't open options-dialogs.
15966 * buffer.C: honor pextraWidth(p) on converting minipages.
15968 * tabular.C (l_getline): changed the functions to strip trailing \r.
15970 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15972 * BufferView_pimpl.C:
15973 * minibuffer..C: added "using SigC::slot" declaration.
15975 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15977 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15983 * paragraph.C: ditto
15985 * lyxtext.h: NO_PEXTRA
15987 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15989 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15990 * ParameterStruct.h: ditto
15991 * ParagraphParameters.h: ditto
15992 * lyxparagraph.h: ditto
15994 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15996 * buffer.C: add compability for minipage alignment.
15997 (latexParagraphs): remove unwanted pextra check.
15999 * several files: remove CXX_WORKING_NAMESPACES
16001 * buffer.C (pop_tag): tie is in namespace boost
16003 * BufferView.h: noncopyable is in namespace boost
16005 * lyx_main.h: ditto
16008 * lastfiles.h: ditto
16009 * bufferlist.h: ditto
16010 * ShareContainer.h: ditto
16012 * LyXAction.h: ditto
16015 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16017 * Merging changes from BRANCH_MVC back into HEAD.
16019 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16021 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16023 * BufferView_pimpl.C: change from intl.C
16027 * Makefile.am: move combox.*
16033 * intl.C: remove dialog (covered by prefs)
16035 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16037 * lyxfunc.C (Dispatch): removed redundant break statement.
16039 2001-03-14 Juergen Vigna <jug@sad.it>
16041 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16043 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16045 * buffer.C: add hack to fix compability reading of minipages.
16047 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16049 * buffer.C (getLists): Cleanup.
16051 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16053 * lyxfont.C (update): don't honor toggleall on font size.
16055 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16059 * Makefile.am: moved to frontends/xforms/
16063 * BufferView_pimpl.C: changes for moved mathpanel
16065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16067 * gettext.h: fix gettext_init() in --disable-nls
16069 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16071 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16073 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16076 * lyx.h: strip external form
16078 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16080 * BufferView_pimpl.C: add comment, destroySplash()
16082 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16084 * BufferView_pimpl.C:
16088 * lyxfunc.C: use re-worked insetinclude
16090 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16092 * buffer.C: add using std::stringstream.
16094 * lyx_cb.C: readd using std::ios.
16096 * buffer.C: add using std::map.
16098 * BufferView_pimpl.C: add using std::vector.
16100 * ShareContainer.h: add std:: to swap.
16102 * buffer.h: add some typedefs
16103 * buffer.C (getLists): use them
16104 (getLists): renamed from getTocList.
16105 add a counter for the different float types and use it in the
16107 (getLists): use the same counter for the NEW_INSETS and the "non"
16110 * lyx_cb.h: remove unused items, includes, using etc.
16112 * ShareContainer.h: remove some commented code, add more comments
16113 and "documentation".
16115 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16117 * buffer.C (getTocList): make the list also when NEW_INSETS is
16120 * buffer.h: remove TocType
16122 * buffer.C (getTocList): change to return a map<string,
16123 vector<TocItem> >, implement for dynamic number of list.
16125 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16126 * text2.C (PasteSelection): adjust
16127 * CutAndPaste.C (pasteSelection): adjust
16129 * FloatList.C (FloatList): update from the new_insets branch.
16130 * Floating.[Ch]: ditto
16131 * LaTeXFeatures.C: ditto
16133 * lyxlex_pimpl.C: ditto
16135 * paragraph.C (Last): remove when NEW_INSETS is defined.
16137 * other file: changes because of the above.
16139 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16141 * lyxparagraph.h: rename next to next_, previous to previous_,
16142 make them private for NEW_INSETS. Rename Next() to next(),
16143 Previous() to previous().
16145 * other files: changes because of the above.
16147 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16150 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16153 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16155 * main.C (main): pass lyx_localedir to gettext_init().
16157 * gettext.h: remove locale_init and gettext_init macros
16159 * gettext.C (locale_init): new function
16160 (gettext_init): new function
16162 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16165 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16167 * Moved credits to frontends:
16168 * credits.[Ch]: removed
16169 * credits_form.[Ch]: removed
16170 * lyx_gui_misc.C: remove credits stuff
16173 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16175 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16177 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16178 unneeded destructor.
16180 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16181 a standalone pointer again.
16183 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16185 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16191 * ToolbarDefaults.C:
16200 * BufferView_pimpl.C: use new file dialog in GUII
16203 * lyx_cb.C: remove LayoutsCB to Toolbar
16205 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * ShareContainer.h (get): add std:: qualifier
16209 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * ShareContainer.h: define a proper ShareContainer::value_type
16212 type (and use typename to please compaq cxx)
16214 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16216 * lyxparagraph.h: move serveral local vars to
16217 ParameterStruct/ParagraphParameters., use ShareContainer in
16218 FontTable., make vars in FontTable private and add getter and
16221 * paragraph.C: changes because of the above.
16223 * lyxfont.h: remove copy constructor and copy assignment. (the
16224 default ones is ok), move number inside FontBits. move inlines to
16227 * lyxfont.C: add number to initializaton of statics, move several
16228 inlines here. constify several local vars. some whitespace
16229 cleanup. Dont hide outerscope variables.
16231 * Spacing.h: add two new constructors to match the set methods.
16233 * ShareContainer.h: new file, will perhaps be moved to support
16235 * ParameterStruct.h: new file
16237 * ParagraphParameters.h: new file
16239 * ParagraphParameters.C: new file
16241 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16242 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16244 * BufferView_pimpl.C: ParagraphParameter changes.
16245 * buffer.C: Likewise.
16246 * bufferview_funcs.C: Likewise.
16247 * text.C: Likewise.
16248 * text2.C: Likewise.
16250 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * lyxfind.C (LyXReplace): do not redefine default argument in
16254 (IsStringInText): ditto
16255 (SearchForward): ditto
16256 (SearchBackward): ditto
16258 2001-03-06 Juergen Vigna <jug@sad.it>
16260 * lyxfind.C (IsStringInText): put parentes around expressions.
16262 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16264 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16266 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16268 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16270 * stl_string_fwd.h: add comment
16272 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16275 * tabular.C: remove unused DocBook methods
16281 killed DO_USE_DEFAULT_LANGUAGE
16283 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * lyx_gui.C: do not include language.h.
16287 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16288 arguments in function implementation.
16290 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16292 * BufferView_pimpl.C: add <ctime>
16294 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16296 * BufferView_pimpl.C: add using std::find_if
16298 2001-02-27 José Matos <jamatos@fep.up.pt>
16300 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16303 2001-02-11 José Matos <jamatos@fep.up.pt>
16305 * buffer.C (makeDocBookFile): command styles now have a parameter as
16306 "title" by default.
16308 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16310 * layout_forms.[Ch]: removed
16311 * lyx_cb.[Ch]: out character
16312 * lyx_gui.C: out character
16313 * lyx_gui_misc.C: out character
16314 * bufferview_funcs.C: : out character,
16315 added toggleall as parameter in ToggleAndShow
16317 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16319 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16321 * text2.C (SetCurrentFont): Disable number property at boundary.
16323 2001-02-26 Juergen Vigna <jug@sad.it>
16325 * lyxfunc.C (getStatus): added a string argument override function so
16326 that this is correctly called from LyXFunc::Dispatch if it contains a
16327 do_not_use_argument which is used!
16328 (Dispatch): added check for "custom" export and call appropriate func.
16330 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16332 * lyxrc.C: Add language_command_local, language_use_babel and
16333 language_global_options.
16335 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16337 * buffer.C (makeLaTeXFile): Use language_use_babel and
16338 language_global_options.
16340 2001-02-23 Juergen Vigna <jug@sad.it>
16342 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16343 which works with LyXText and putted it inside BufferView. Here now we
16344 only call for that part the BufferView::Dispatch() function.
16346 * BufferView.C (Dispatch): added.
16348 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16349 functions which needs to use a LyXText over from LyXFunc.
16350 (MenuInsertLyXFile): added
16351 (getInsetByCode): added
16352 (moveCursorUpdate): added
16353 (static TEXT): added
16355 2001-02-22 Juergen Vigna <jug@sad.it>
16357 * BufferView_pimpl.C (update): call a status update to see if LyXText
16360 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16362 * vc-backend.C (revert): implement for CVS
16363 (getLog): implement for CVS
16365 2001-02-20 Juergen Vigna <jug@sad.it>
16367 * text2.C (ClearSelection): added BufferView param for inset_owner call
16369 * lyxfunc.C (TEXT): added this function and use it instead of
16370 directly owner->view()-text of getLyXText().
16372 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16374 * src/layout_forms.C: out preamble
16375 * src/layout_forms.h: out preamble
16376 * src/lyx_cb.C: out preamble
16377 * src/lyx_cb.h: out preamble
16378 * src/lyx_gui.C: out preamble
16379 * src/lyx_gui_misc.C: out preamble
16380 * src/lyxfunc.C: connect with guii preamble
16382 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16384 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16386 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16388 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16389 whether to run bibtex.
16391 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16393 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16395 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16397 * Makefile.am (lyx_SOURCES): removed bibforms.h
16399 * vspace.h: doxygen
16401 * text.C (GetVisibleRow): make several local vars const
16403 * tabular.C: small cleanup.
16405 * lyxserver.C (callback): use compare instead of strncmp
16407 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16408 inlines to after class or to paragraph.C
16410 * lyxfont.h: remove friend operator!=
16412 * converter.h: move friend bool operator< to non friend and after
16415 * combox.h: small cleanup
16417 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16418 to inlines after class def.
16420 * buffer.C (pop_tag): use string operations instead of strcmp
16422 * bmtable.c: doxygen, small cleanup
16424 * LaTeX.h: remove friend operator==
16426 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16438 * BufferView_pimpl.C:
16439 * BufferView.[Ch]: remove cruft
16441 2001-02-14 Juergen Vigna <jug@sad.it>
16443 * lyxfunc.C: removed #if 0 unused code
16445 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16447 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16449 * text2.C (SetSelection): added a BufferView * parameter
16451 2001-02-13 Juergen Vigna <jug@sad.it>
16453 * lyxfunc.C (Dispatch): fixed protected blank problem.
16454 * BufferView2.C (protectedBlank): added LyxText * parameter.
16456 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16457 (AppendColumn): same as above for column_info.
16459 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16460 (moveCursorUpdate): use a LyXText param for support of InsetText.
16462 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16463 (tripleClick): ditto
16465 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16467 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16469 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16471 * text2.C (SetSelection): set correct update status if inset_owner
16472 (ToggleFree): ditto
16474 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16476 * tabular.C: remove some commented code.
16478 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16480 * BufferView_pimpl.C: call hideSplash()
16482 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16485 * bibforms.h: remove
16488 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16489 add LFUN_CHILD_CREATE
16491 * counters.h: fix tiny typo
16496 * lyx.C: move splash to frontends/xforms/
16498 * lyx_gui_misc.C: move Include and Bibform to frontends
16500 * lyxvc.h: clarify comment
16502 * vspace.C: tiny housekeeping
16504 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16506 * text.C (PrepareToPrint): RTL Fix.
16508 * paragraph.C (GetUChar): New method.
16509 (String): Use GetUChar.
16511 * buffer.C (asciiParagraph): Use GetUChar.
16513 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16515 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16517 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16520 * buffer.C: rename to getLogName(), handle
16521 build log / latex log nicely
16523 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16526 * MenuBackend.h: remove support for reference menuitem type.
16528 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16530 * BufferView_pimpl.C: housekeeping
16531 * BufferView_pimpl.h:
16536 * minibuffer.h: move Timeout GUI-I
16538 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16540 * lyxrc.C (read): Update converters data-structures.
16542 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16544 * LaTeX.h (operator!=): add operator != for Aux_Info
16546 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16548 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16550 * LaTeXLog.C: deleted, useful code moved to Buffer
16553 * buffer.C: new function getLatexLogName()
16559 * lyxfunc.C: use frontends for LaTeX and VC logs
16561 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * LaTeX.h: yet another std:: that Allan forgot.
16565 * Variables.C (set): renamed from isset(), because this clashes
16566 with some HP-UX macros (grr).
16568 2001-02-06 Allan Rae <rae@lyx.org>
16570 * LaTeX.h: Another bug fix. Missing std:: this time.
16572 2001-02-04 Allan Rae <rae@lyx.org>
16574 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16575 floats problem. I've left it commented out because it's not quite
16576 correct. It should also test that the current object is a table or
16577 figure inset. But I haven't gotten around to figuring out how to do
16578 that. I *think* it'll be something like: "table" == inset.type()
16580 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16583 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16585 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16586 all the citation/databases/styles in the auxilary file.
16587 (run): Rerun latex if there was a babel language error.
16589 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16591 * text.C (Backspace): Preserve the font when changing newline char
16593 (BreakParagraph): If the cursor is before a space, delete the space.
16595 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16597 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16599 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16600 new argument (code).
16601 (ChangeCitationsIfUnique): New method.
16603 * paragraph.C (GetPositionOfInset): Handle bibkey.
16605 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16607 * BufferView_pimpl.h: change type of Position::par_pos to
16608 LyXParagraph::size_type.
16610 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16612 * BufferView_pimpl.C (savePosition, restorePosition): Write
16613 messages to minibuffer.
16615 2001-01-28 José Matos <jamatos@fep.up.pt>
16617 * buffer.C (makeDocBookFile): adds support for document language.
16618 A silly restriction on the name of LatexCommand types where removed.
16619 Added support for CDATA sections, allows to chars unescaped, used
16620 among others in code, to avoid escape < and >.
16622 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16624 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16625 saved positions instrad of a stack. Furthermore, a position is
16626 stored using paragraph id/paragraph position.
16628 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16629 Remove LFUN_REF_BACK.
16631 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16633 * converter.C (dvipdfm_options): New method.
16635 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16637 * vspace.C (isValidLength): Fix for empty input string.
16639 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16641 * LyXAction.C (init): change description of LFUN_FIGURE to
16644 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16646 * LaTeX.C: add using directive
16648 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16650 * MenuBackend.C (expand): Fix the sorting of the formats.
16652 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16654 * lyx_main.C: tiny error message fix
16656 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16659 calling fl_initialize(). This fixes the problem with ',' as
16660 decimal separator in text files.
16662 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16664 * trans.C (process): Fix the keymap bug.
16666 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16668 * LaTeX.C (scanAuxFiles): New method. Provides support for
16669 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16670 (scanLogFile) Scan for "run BibTeX" messages.
16672 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16673 OT1 font encoding. Also, load the aecompl package if the ae
16676 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16678 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16680 * texrow.C (increasePos): turn two error messages into debug
16683 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16685 * LaTeX.C (scanAux): Handle the \@input macro.
16686 (runBibTeX): Use scanAux().
16688 * language.C (latex_options_): New field.
16690 * LaTeXFeatures.C (getMacros): Add language macros.
16692 * buffer.C (makeLaTeXFile): Small fix.
16694 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16696 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16698 * text2.C: add a using directive.
16700 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16705 * lyxfunc.C: kill LyXBell.
16707 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16709 * text.C (IsBoundary): Remove the error message
16711 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16713 * lyxrc.C (setDefaults): Correct initialization value for
16716 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16718 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16721 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16722 and GotoNextNote().
16724 * src/LyXAction.C: Added reference-next.
16726 * text.C (InsertChar): Use contains instead of strchr.
16728 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16730 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16732 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16733 alignment commands (when needed).
16735 * text.C (InsertChar): Add ':' to number separator chars.