1 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * format.[Ch] (getFormatFromFile): new method
4 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
6 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
10 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (dispatch): remove the verbose argument
13 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
16 * kbmap.C (defkey): set the origin of func to KEYBOARD
18 * MenuBackend.C (MenuItem):
19 * ToolbarBackend.C (add): set the origin of func to UI
21 * funcrequest.[Ch]: add origin member, which indicates which part
22 of LyX requests an action
24 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * converter.C (move): don't lie in the error message
27 * converter.h (isReachable, move): document
29 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
31 * buffer.C: remove unused using lyx::support::atoi
32 * paragraph_funcs.C: ditto
34 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
36 * bufferlist.C (exists): use bind and equal_to instead of
39 * lyxtextclasslist.C (NumberOfClass): ditto
41 * cursor.C (insert): use for_each instead of explicit for loop
43 * bufferlist.C (getFileNames): use std::transform and
44 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
46 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
49 * buffer.C (changeLanguage): use for_each instead of explicit for
51 (hasParWithID): implement using getParFromID
53 * LaTeXFeatures.C: ws change only
55 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
58 * BufferView_pimpl.C (trackChanges): use for_each instead of
61 2004-11-04 André Pönitz <poenitz@gmx.net>
64 * undo.C (textUndoOrRedo): fix crash when creating undo information.
66 * dociterator.C (asDocIterator): use hard assert again.
68 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * lyxlength.C (asLatexString): rewrite so that it does not use
73 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * text3.C (specialChar, dispatch): make sure cursor moves to the
76 right after inserting an inset
78 2004-11-02 José Matos <jamatos@lyx.org>
80 * output_docbook.C (docbook):
81 * paragraph.C (getID):
82 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
83 garantee that the output is always legal.
85 * tabular.C (docbook):
86 * outputprams.[Ch]: remove mixed contents.
88 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
90 * text2.C (setCounter): prevent endless loop
92 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * exporter.C (copyFile): use the mover instead of support::copy()
95 * exporter.C (Export): pass format and latex name to copyFile()
96 * exporter.h (addExternalFile): document
97 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
99 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
103 2004-10-30 José Matos <jamatos@lyx.org>
105 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
106 text and no inset or font change. This allows to use CDATA
107 sections just for the whole paragraph.
109 2004-10-30 José Matos <jamatos@lyx.org>
111 * paragraph.C (getFirstWord): remove unused variable.
113 2004-10-30 José Matos <jamatos@lyx.org>
115 * paragraph.C (getFirstWord): the content should always be escaped
117 (simpleDocBookOnePar):
118 * output_docbook.C (makeEnvironment): replace reference to CDATA
121 2004-10-30 José Matos <jamatos@lyx.org>
123 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
125 2004-10-30 José Matos <jamatos@lyx.org>
127 * output_docbook.C (makeParagraphs):
128 * paragraph.[Ch] (emptyTag): for docbook and company, if the
129 standard paragraph has only a given type of content drop the wrapper.
131 2004-10-29 José Matos <jamatos@lyx.org>
133 * output_docbook.C (makeEnvironment):
135 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
137 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
139 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
140 (cleanID): sanitize any id.
142 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * buffer.C, lyxlex_pimpl.C:
145 * lyxlex_pimpl.C (setFile):
146 s/getExtFromContents/getFormatFromContents/
148 2004-10-28 José Matos <jamatos@lyx.org>
150 * output_docbook.C (makeEnvironment): move id to broadest possible
153 * sgml.C (openTag): apply substitution of <> for all attributes.
155 2004-10-28 José Matos <jamatos@lyx.org>
157 * buffer.C (makeLinuxDocFile, makeDocBookFile):
158 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
159 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
161 * sgml.[Ch]: new version for open and closeTag for paragraph and
162 for strings. Now they handle the ids of paragraphs.
164 2004-10-26 Angus Leeming <leeming@lyx.org>
166 * Makefile.am: add mover.[Ch].
168 * converter.C (convert, move): use the new Movers to move external
169 files to the temp directory.
171 * lyx_main.C (init): ensure that the global system_movers data
174 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
177 * mover.[Ch]: new files, defining a Mover as a utility to move an
178 external file between directories and, if necessary, manipulate this
179 file using a helper script.
181 2004-10-25 José Matos <jamatos@lyx.org>
183 * output_docbook.C (makeCommand): merge two if's that tested the
186 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * sgml.C (escapeString): fix warning in a better way
190 2004-10-25 José Matos <jamatos@lyx.org>
192 * sgml.C (escapeString): import the require boosts header file for
193 tie, and avoid a signed unsigned comparison.
195 2004-10-25 José Matos <jamatos@lyx.org>
197 * sgml.h: add #include <string>
199 2004-10-25 José Matos <jamatos@lyx.org>
201 * sgml.[Ch] (escapeString): new function to escape all the string.
203 2004-10-24 José Matos <jamatos@lyx.org>
205 * paragraph.[Ch] (getFirstWord): new function to get the first
206 word. Useful for description.
207 (simpleDocBookOnePar): remove depth argument, add another that
208 says where to start the paragraph.
210 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
211 use the new functions to fix cleanly the support for descriptions.
213 2004-10-24 José Matos <jamatos@lyx.org>
215 * buffer.C (makeLinuxDocFile, makeDocBookFile):
216 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
217 * output_linuxdoc.C (linuxdocParagraphs):
218 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
219 add buffer as argument.
221 2004-10-24 José Matos <jamatos@lyx.org>
223 * output_docbook.C (makeEnvironment, searchEnvironment): place
224 CDATA inside paragraphs and fix scope for listitems.
226 2004-10-24 José Matos <jamatos@lyx.org>
228 * output_docbook.C: remove using statement for stack.
230 2004-10-23 José Matos <jamatos@lyx.org>
232 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
233 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
234 docbook. The new scheme is recursive and makes use of iterators, the
235 same as latex export works.
236 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
237 directly with the paragraph contents. This code was moved up to
238 output_docbook.C (docbookParagraphs).
239 * sgml.C (openTag, closeTag): removed unneeded newlines.
240 (closeEnvTags) removed.
242 2004-10-23 André Pönitz <poenitz@gmx.net>
244 * undo.C (textUndoOrRedo):
245 * dociterator.C (asDocIterator): work around crash
247 * cursor.C (getStatus): replace ASSERT by more verbose error message
248 and manual correction of the problem. Should increase stability
249 while providing more sensible information.
251 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
255 * bufferlist.C (previous, next): new methods
258 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
260 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
262 * buffer.C (makeDocBookFile): add dsssl stylesheet control
263 entities to preamble.
265 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * messages.C (Pimpl): strip off translation context information
269 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
272 the cursor is correct (bug 1694)
274 2004-10-13 José Matos <jamatos@lyx.org>
276 * output_docbook.C (docbookParagraphs): fix closing tags in the
279 2004-10-09 José Matos <jamatos@lyx.org>
281 * buffer.C: format up to 237.
282 * bufferparams.C (write): use tostr to convert booleans to strings.
284 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
286 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
288 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
290 * LaTeX.C: implement use of babel language in xindy.
292 2004-10-05 José Matos <jamatos@lyx.org>
294 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
295 Add new translators to help reading and writing the lyx file.
297 2004-10-05 José Matos <jamatos@lyx.org>
299 * ParagraphParameters.C (read):
300 * text.C (readParToken): replace nexToken by more appropriate lex
303 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
305 * LaTeX.C (runMakeIndex):
306 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
307 (usually 'makeindex') configurable.
309 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
310 with a variable rather than with a number.
312 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * output_latex.C (TeXOnePar): make sure font setting is the first
315 thing that gets output (and the last at the end). Should fix bug
318 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
320 * pch.h: use proper signal include
322 * LaTeX.h: Use preferred calling of Boost.Signal
325 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * pch.h: dont include <boost/function/function0.hpp>
329 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
331 * paragraph_pimpl.h: remove usage of ShareContainer
333 * paragraph_pimpl.C: remove initialization of ShareContainer.
335 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * BufferView.C (putSelectionAt): change the semantics when
340 backwards == true: now, this just swaps cursor and anchor wrt the
343 * BufferView.h (putSelectionAt): add some documentation
345 * lyxfind.C (findBackwards): rewrite using while(). In particular,
346 make sure backwardChar is done at least once (to avoid getting
348 (findNextChange): use putSelectionAt in the forward direction
349 (operator()): use Paragraph::isWord
351 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
353 * Spacing.C (set): c_str fix
355 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * lyx_cb.C (Reconfigure): quote the name of configure script in
358 case it contains spaces
360 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
365 (BOOST_LIBS): use top_buildir when looking for the file
367 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
369 * pch.h: do not use include boost/format.hpp, multiple symbols
370 will result (gcc bug)
373 2004-08-23 José Matos <jamatos@lyx.org>
375 * bufferparams.C (readToken): fix reading of the author field.
377 2004-08-20 José Matos <jamatos@lyx.org>
379 * lyxrc.C: remove support/translator.h inclusion since it is not used.
381 2004-08-20 José Matos <jamatos@lyx.org>
383 * lyxlex.[Ch] (findToken): remove function.
385 * ParagraphParameters.C (findToken):
386 * bufferparams.C (findToken): replace call for previous function
387 with local copy. This local function has one more argument, the
388 read string argument.
390 2004-08-16 José Matos <jamatos@lyx.org>
392 * ParagraphParameters.C (write):
393 * Spacing.C (writeFile):
394 * bufferparams.C (writeLaTeX):
395 * lyx_cb.C (Reconfigure):
396 * paragraph.C (write):
397 * tabular.C (write): remove unnecessary space at end of line.
400 2004-08-16 José Matos <jamatos@lyx.org>
402 * text.C (readParagraph): remove debug message.
404 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
409 * output_plaintext.C (asciiParagraph): set depth correctly
411 * outputparams.h: add member depth
413 * paragraph_funcs.C (ownerPar): remove.
415 * text2.C (setCounter): remove first_pit; comment out some
416 non-working code that uses ownerPar
418 * BufferView.C (getParentLanguage): remove. Not used anymore, and
421 2004-08-16 José Matos <jamatos@lyx.org>
423 * text.C (readParToken, readParagraph, read): report all unknown tokens.
424 For the same level of importance use the same chanel to report problems.
425 (read): add code to deal with \begin_body and \end_body.
428 2004-08-15 José Matos <jamatos@lyx.org>
430 * lyxlex.C (getString): fix comment, buffer::readBody is now
433 * tex-strings.C (string_papersize): Default -> default,
434 Custom -> custom, for consistency with other options.
436 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
440 * Makefile.am: support pch
442 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * text.C (readParToken): remove the static LyXFont variable and
445 pass it as a parameter instead. This fixes a nasty bug where an
446 inset will be inserted with a bad font in some situations
447 (readParagraph): adapt
449 * text2.C (setCounter): reduce number of calls to pars_[pit]
451 * text.C (singleWidth): add an assert, fix a test
453 * rowpainter.C (paintText): reduce number of calls to singleWidth
455 * paragraph.C (isHfill):
458 2004-08-14 André Pönitz <poenitz@gmx.net>
463 * lyxtext.h (several functions): use a Paragraph & argument
466 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * metricsinfo.h: add a new field ltr_pos to PainterInfo
470 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
472 * text.C (singleWidth): remove useless test
474 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * tabular.h: remove bogus comments
478 * tabular.C (getDescentOfRow):
479 (isPartOfMultiColumn): add assertions
481 * lyxlength.C (inPixels): remove #warning
483 2004-08-14 André Pönitz <poenitz@gmx.net>
485 * paragraph.h: inline getChar()
487 * BufferView.h: remove unused declarations
489 2004-08-14 José Matos <jamatos@lyx.org>
491 * Buffer.[Ch] (readDocument): new name for old readBody.
492 * Buffer.C: new file format, new keywords: \begin_document,
493 \begin_header, \begin_body, \end_body.
495 * bufferparams.C (readToken): replace all calls to lex.nextToken
496 by lex.next(). Do the same to eatLine except where really needed.
498 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
499 line when writing to the lyx file.
501 * output_plaintext.C (asciiParagraph): fix Bibliography style
504 * text.C (read): fix end of file handling.
506 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * MenuBackend.C (Menu::operator[]): new method to access
509 individual menu items
510 (Menu::hasFunc): new method. search for an item that corresponds
512 (MenuBackend::specialMenu): new method
513 (MenuBackend::expand): if a special menu has been set, skip
514 entries whose func() appears in this menu
516 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
518 * text3.C: use Debug::DEBUG a bit more
520 * text.C (leftMargin): try to simplify a tiny bit change var x to
521 l_margin. Dont output the wide margins always.
522 (rightMargin): no margin in inner texts
524 * rowpainter.h (nestMargin): new func
525 (changebarMargin): new func
526 (rightMargin): new func
528 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
532 * factory.C (createInset): modify setDrawFrame
534 * cursor.C: use Debug::DEBUG a bit more
536 2004-08-14 André Pönitz <poenitz@gmx.net>
539 * Makefile.am: new files to accomodate an 'external' (x,y)-position
540 cache for all insets in (at least partially) visible (top-level)
543 * BufferView_pimpl.C: reset external coord cache before every update.
544 This means the coord cache only contains valid entries.
546 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
549 * BufferView_pimpl.C (getInsetByCode): move function out of class
550 and change in to a template in anon namespace. Also fix to do what
553 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
556 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
558 (breakParagraph): rename par to par_offset and use a local
559 reference. Add code to keep the language over a rebreak.
560 (breakParagraphConservative): rename par to par_offset, use a
562 (mergeParagraph): ditto
564 (isFirstInSequence): ditto
565 (outerFont): rename pit to par_offset
567 * paragraph.C: ws change
572 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
577 * paragraph.C (simpleTeXOnePar): when we have a \item with
578 optional argument, enclose the argument with curly brackets (in
579 case it contains a closing square bracket)
583 * text3.C (checkInsetHit): constify
585 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
590 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 Fix toggling of collapsable insets with the mouse (bug 1558)
594 * lyxfunc.C (dispatch): adapt to LCursor changes
596 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
597 make sure that dispatch is not invoked twice
599 * cursor.C (needsUpdate): new method
600 (dispatch): return void
601 (result): new method, to access the DispatchResult of the cursor.
603 2004-08-13 José Matos <jamatos@lyx.org>
605 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
607 2004-08-13 André Pönitz <poenitz@gmx.net>
609 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
611 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
614 2004-08-12 André Pönitz <poenitz@gmx.net>
616 * text3.C: take out the 'cursor right' form insertInset and only
617 do it in those places when it is really needed. Fixes crash on
620 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
624 * BufferView_pimpl.C (setBuffer): initialize the current font of
625 the underlying LyXText
627 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * kbsequence.C (print): use UI native formatting for menu
632 * text.C (insertChar): call Paragraph::insertChar with a font
635 * paragraph.C (insertInset, insertChar): the version that takes a
636 LyXFont argument is now a wrapper around the other one (the
637 opposite used to be true).
639 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
640 argument. Font setting is done in Paragraph now.
642 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * outputparams.h: add new members intitle and lang.
646 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
647 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
649 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * text3.C (dispatch): remove special handling of button 4 and 5,
652 it is now taken care of in the frontend code.
654 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
656 * Spacing.h: add <string> (STLPort compile fix)
658 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
660 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
662 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
664 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
667 * converter.C (showMessage): inherit from unary_function, make
670 * buffer.C (writeFile): initialize retval
672 * InsetList.h: rename private variable list to list_
673 * InsetList.[Ch]: adjust accordingly.
675 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
677 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
678 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
679 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
680 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
681 * ParagraphParameters.C, LaTeXFeatures.C: replace
682 "support/std_sstream.h" with <sstream>
684 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
686 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
687 * lyxsocket.C (LyXServerSocket): ditto
688 (serverCallback): ditto
690 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
692 * LaTeXFeatures.C: check release date when loading jurabib.
694 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
696 * lyxserver.C (startPipe): call register_socket_callback
697 (endPipe): call unregister_socket_callback
699 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
701 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
702 (LyXServerSocket): register the callback
703 (LyXServerSocket): unregister the callback
704 (fd): delete function
705 (serverCallback): improve error checking and setup the callbacks.
706 (dataCallback): change arg to fd.
707 (writeln): new func (copied fro the client socket) used for server
709 (LyXDataSocket): simplify
710 (~LyXDataSocket): close ann unregiser callback
711 (server): delete function
712 (fd): delete function
713 (readln): small changes, improve some std::string usage
714 (writeln): constify a bit
716 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
718 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
721 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * BufferView_pimpl.C (setBuffer): set the layout combox value only
724 after it has been populated
726 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * text2.C (insertInset): move cursor when inserting inset.
730 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * kbmap.C (findbindings): a couple of new methods. returns a
733 container of kb_sequence objects. The real work is done by the
734 private recursive version
735 (printbindings): uses findbindings to print out a bracketed list
736 of bindings (renamed from findbinding).
738 * MenuBackend.C (binding): use kb_keymap::findbindings
740 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
742 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
746 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * paragraph.C (isWord): return true on insets that report
751 * text.C (getWord): use Paragraph::isWord to decide what is in a
752 word and what is not; fix bug 1609.
754 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
756 * tex-strings.C: add "none" to string_paperpackages[], fixes
757 off-by-one-error in the paperpackage selection.
760 * tex-strings.[Ch]: char const * string[n]
761 -> char const * const string[]
763 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
766 command, return early.
768 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
770 * debug.h: add DEBUG to enum and fix size of ANY.
772 * debug.C: add support for Debug::DEBUG
773 (showTags): cast errorTags.level to unsigned int
775 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
776 (redoCurrentBuffer): ditto
777 (updateScrollbar): ditto
778 * cursor.C (dispatch): ditto
779 * text2.C (setLayout): ditto
781 (updateCounters): ditto
783 (deleteEmptyParagraphMechanism): ditto
785 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
787 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
788 annotations to cleanup the Makefile slightly.
790 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * lyxrc.C: do not set user_email to a default value but use empty
793 instead. The entry used to be translated, which does not work
794 since at the point where lyxrc is constructed there is no
795 translation service available
797 * messages.C (getLocaleDir): remove and use directly
798 lyx_localedir() instead
800 2004-06-02 Angus Leeming <leeming@lyx.org>
802 Fix crash caused by dereferencing null pointer 'exportdata' in
803 OutputParams by creating a new ExportData variable on the heap,
804 storing it in a boost::shared_ptr.
805 The crash was triggered when generating an Instant Preview
806 of an external inset.
808 * Makefile.am: add outputparams.C
810 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
811 (c-tor): allocate memory to it.
813 * exporter.C (c-tor): associated changes.
815 2004-06-01 Angus Leeming <leeming@lyx.org>
817 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
818 contains data before calling isInset(0). (Bug 1513.)
820 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
822 * exporter.C (checkOverwrite): new method
823 * exporter.C (copyFile): new method
824 * exporter.C (Export): copy referenced files to the document dir
825 * exporter.[Ch]: new class ExportedFile
826 * exporter.[Ch]: new class ExportData. Contains currently the
827 names of referenced external files
828 * outputparams.h: add exportdata member.
830 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
832 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
835 2004-05-19 Angus Leeming <leeming@lyx.org>
840 * lyxfunc.C: small changes due to the introduction of namespace
841 lyx::frontend and the moving of namespace biblio to lyx::biblio.
843 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
845 * text3.C (dispatch): supress update when only moving the cursor
846 * cursor.C (selHandle): remove commented code
848 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
850 * paragraph.C (startTeXParParams): correct column count
851 * CutAndPaste.C (pasteSelection): remove const_cast
852 * output_docbook.C (docbookParagraphs): remove const_cast
853 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
854 const_cast and return ParagraphList::const_iterator
855 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
856 * output_plaintext.C (writeFileAscii): remove const_cast
857 * paragraph.[Ch] (simpleTeXOnePar): make const
858 * paragraph_funcs.C (outerPar): use const iterators
859 * paragraph_pimpl.C (validate): use const iterators
860 * text.C (setHeightOfRow): use const iterators
862 2004-05-17 Angus Leeming <leeming@lyx.org>
865 * LyXAction.C (init): new LFUN_INSET_REFRESH.
867 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
868 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
869 if the citation engine has changed.
871 2004-05-14 José Matos <jamatos@lyx.org>
873 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
874 if the textclass does not provide it. Have it different for sgml and
876 support the language of document.
877 * output_docbook.C (docbookParagraphs):
878 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
879 first anchor as the id of the paragraph, remove special case code.
880 * sgml.C (escapeChar): escape only < & >.
882 2004-05-14 Angus Leeming <leeming@lyx.org>
884 * bufferparams.h: move biblio::CiteEngine enum here to minimize
885 dependencies on src/frontends/controllers/biblio.h. Define a
886 CiteEngine_enum wrapper class to enable the enum to be forward
889 2004-05-12 Angus Leeming <leeming@lyx.org>
891 * buffer.C: up LYX_FORMAT to 234.
892 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
893 use_numerical_citations with a single biblio::CiteEngine cite_engine
895 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
897 2004-05-13 José Matos <jamatos@lyx.org>
900 * converter.C (Converter, readFlags): add xml member.
901 * outputparams.h: add XML flavor.
902 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
904 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * lyxfunc.C (dispatch):
907 (getStatus): fix handling of LFUN_SEQUENCE
909 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * debug.C (showLevel): do not forget the end-of-line marker
913 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * kbmap.C (read): do not stop parsing a bind file when an error
918 2004-04-29 Angus Leeming <leeming@lyx.org>
923 * text2.C: wrap a bunch of #warning statements
924 inside #ifdef WITH_WARNINGS blocks.
926 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
928 * buffer.C: increment format to 233.
930 2004-04-28 Angus Leeming <leeming@lyx.org>
932 * BufferView_pimpl.C:
935 s/updateToolbar()/updateToolbars()/
936 s/Toolbar.h/Toolbars.h/
938 2004-04-28 Angus Leeming <leeming@lyx.org>
940 * BufferView.[Ch] (c-tor):
941 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
942 No longer passes these data to the WorkArea generator.
944 2004-04-28 Angus Leeming <leeming@lyx.org>
946 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
948 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
952 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * output_latex.C (TeXEnvironment): make sure that there is a line
955 break before \end{foo} for the last paragraph of a document
956 (TeXOnePar): if the paragraph is at the end of the document (or
957 inset) and the language has to be reset, then make sure that the
958 line break is _before_ the language command, not after (fixes bug
959 1225); also make sure that the language reset command is the first
960 thing after the paragraph (to ensure proper nesting of
961 environments and thus fix bug 1404)
963 2004-04-21 John Levon <levon@movementarian.org>
966 * ToolbarBackend.C: make "name" be a programmatic name
967 and a gui_name field.
969 * lyxfunc.C: display the minibuffer on M-x
971 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
976 2004-04-19 Angus Leeming <leeming@lyx.org>
978 * BufferView_pimpl.C (setBuffer): changed preview interface.
980 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
983 2004-04-19 John Levon <levon@movementarian.org>
985 * BufferView_pimpl.C:
986 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
988 2004-04-05 Angus Leeming <leeming@lyx.org>
990 * text.C (redoParagraphs): add call to updateCounters(), thereby
991 fixing the missing "Figure #:" label from the caption of a
994 2004-04-13 Angus Leeming <leeming@lyx.org>
996 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
997 cursor is clicked out of an inset.
999 2004-04-13 Angus Leeming <leeming@lyx.org>
1001 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1002 than an InsetOld one.
1004 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1006 * format.[Ch]: add editor to Format
1007 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1008 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1010 2004-04-08 André Pönitz <poenitz@gmx.net>
1012 * metricsinfo.h: remove PainterInfo::width member
1014 2004-04-08 Angus Leeming <leeming@lyx.org>
1016 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1017 "\providecommand" rather than "\newcommand", thereby preventing
1018 clashes with packages that define "\boldsymbol" themselves.
1021 2004-04-08 Angus Leeming <leeming@lyx.org>
1023 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1024 thereby squashing an unnecessary warning.
1026 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1028 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1031 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1033 * BufferView.C (setCursor): call redoParagraph (some insets could
1035 (putSelectionAt): remove the 'double update' trick
1037 * BufferView_pimpl.C (fitCursor): call refreshPar
1038 (workAreaDispatch): remove an uneeded update call
1039 (dispatch): remove some manual update calls
1041 * cursor.[Ch]: remove cached_y_, updatePos
1042 (selHandle): set noUpdate when appropriate
1044 * lyxfunc.C (dispatch): track if we need an update
1046 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1048 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1049 (paintSelection): cheap optimization, do not call cursorX when not
1051 (paintPars): change signature
1054 (paintTextInset): adjust
1058 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1060 * lengthcommon.C: compilation fix: remove explicit array size from
1061 unit_name[] and friends
1063 2004-04-05 Angus Leeming <leeming@lyx.org>
1065 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1067 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1068 present only for the preferences dialog.
1069 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1071 2004-04-05 Angus Leeming <leeming@lyx.org>
1073 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1074 to enable the frontends to export changes to lyxrc correctly.
1076 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1078 2004-04-07 André Pönitz <poenitz@gmx.net>
1080 * cursor.[Ch] (selClear, adjust): remove math
1082 * cursor_slice.C: more agressive assert
1085 * BufferView_pimpl.C: rework mouse event dispatch
1092 2004-04-05 André Pönitz <poenitz@gmx.net>
1094 * cursor.[Ch] (valign, halign...): remove unneeded functions
1096 2004-04-05 Angus Leeming <leeming@lyx.org>
1098 * lyxlength.[Ch] (unit_name et al.): const-correct.
1100 2004-04-05 Angus Leeming <leeming@lyx.org>
1102 * BufferView_pimpl.C:
1111 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1113 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1115 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1117 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1119 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1120 * BufferView_pimpl.[Ch] (getStatus)
1121 * BufferView.[Ch] (getStatus): add
1122 * lyxfunc.C (getStatus): move lfuns handled in
1123 BufferView::dispatch to te function above
1124 * Cursor.C (setSelection): set selection() = true
1126 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1128 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1130 2004-03-31 Angus Leeming <leeming@lyx.org>
1132 * lyxfunc.C (dispatch): Fall through to the generic
1133 Dialogs::show("preamble").
1135 2004-03-31 Angus Leeming <leeming@lyx.org>
1137 * lyxfunc.C (dispatch): Fall through to the generic
1138 Dialogs::show("spellchecker").
1140 2004-03-31 Angus Leeming <leeming@lyx.org>
1142 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1145 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1150 * insetiterator.[Ch]:
1155 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1157 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1159 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1160 insets where we are putting the cursor.
1162 2004-03-31 Angus Leeming <leeming@lyx.org>
1165 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1167 * lyxrc.[Ch] (read, write): overloaded member functions taking
1168 a std::[io]stream arguments.
1170 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1172 2004-03-31 Angus Leeming <leeming@lyx.org>
1174 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1175 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1177 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1178 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1180 2004-03-31 Angus Leeming <leeming@lyx.org>
1182 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1183 the LFUN_ALL_INSETS_TOGGLE code.
1185 2004-03-30 Angus Leeming <leeming@lyx.org>
1187 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1188 has died. Fall through to the generic Dialogs::show("document").
1190 2004-03-30 Angus Leeming <leeming@lyx.org>
1193 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1194 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1196 * lyxfunc.C (getStatus, dispatch): define the actions for these
1197 lfuns. Little more than a cut and pste job from ControlDocument.C
1199 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1201 2004-03-30 Angus Leeming <leeming@lyx.org>
1204 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1205 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1207 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1208 open/closed state of ollapsable insets. Usage:
1210 all-inset-toggle <state> <name>, where
1211 <state> == "open" || "closed" || "toggle" and
1212 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1214 * lyxtext.h, text2.C (toggleInset): removed.
1216 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1217 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1218 now passes LFUN_INSET_TOGGLE to the found inset.
1220 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1221 is now invoked as "all-insets-toggle toggle branch".
1223 2004-03-30 Angus Leeming <leeming@lyx.org>
1227 * pariterator.[Ch]: added/corrected header blurb.
1229 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1231 * dociterator.[Ch]: add an inset_ member
1232 (backwardPos): implemented
1233 (backwardPos, forwardPos): use inset_ when the stack is empty.
1234 (doc_iterator_begin, doc_iterator_end): implemented
1235 * pariterator.[Ch]: adjust, add begin, end
1236 * insetiterator.[Ch]: adjust, add begin, end
1240 * BufferView_pimpl.C:
1241 * CutAndPaste.C: adjust
1243 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1245 * buffer.C: increment file format to 232.
1246 * LaTeXFeatures.C: add bibtopic package.
1247 * bufferparams.[Ch]: param \use_bibtopic.
1249 * lyxrc.[Ch]: add lyxrc bibtex_command
1250 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1252 * buffer.C: increment file format to 231.
1254 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1256 * dociterator.C: implement forwardPar
1257 * iterators.[Ch]: remove, replaced by
1258 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1260 * BufferView_pimpl.C:
1263 * bufferview_funcs.C:
1269 * Makefile.am: adjust
1271 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1273 * CutAndPaste.C (pasteSelection): fix 2 crashes
1274 (eraseSelection): fix a crash
1275 * paragraph_funcs.C: remove a warning
1277 2004-03-28 Angus Leeming <leeming@lyx.org>
1280 * LyXAction.C (init): new LFUN_PRINT.
1282 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1284 2004-03-27 Angus Leeming <leeming@lyx.org>
1287 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1289 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1291 2004-03-27 Angus Leeming <leeming@lyx.org>
1293 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1294 insetlist always contains non-null pointers to insets.
1296 2004-03-26 Angus Leeming <leeming@lyx.org>
1298 * src/BufferView_pimpl.C:
1299 * src/CutAndPaste.C:
1302 * src/output_plaintext.C:
1303 * src/outputparams.h:
1304 * src/paragraph_funcs.C:
1308 * src/frontends/controllers/ControlErrorList.C:
1309 * src/frontends/gtk/FileDialogPrivate.C:
1310 * src/frontends/gtk/GPainter.C:
1311 * src/frontends/gtk/GToolbar.C:
1312 * src/frontends/qt2/QRef.C:
1313 * src/mathed/math_scriptinset.C: squash compiler warnings.
1315 2004-03-26 Angus Leeming <leeming@lyx.org>
1317 * ispell.C (LaunchIspell::start):
1318 * lyx_cb.C (AutoSaveBuffer::start):
1319 invoke run(DontWait) rather than runNonBlocking().
1321 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1323 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1325 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * kbsequence.C (print): adjust
1329 * kbmap.C (printKeySym): rename and change signature
1330 (printKey): use LyXKeySym::print()
1332 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1334 * undo.C: add using std::advance to compile for stlport
1336 2004-03-24 Angus Leeming <leeming@lyx.org>
1338 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1339 it leads to a crash when no buffer is present.
1341 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 Martin Vermeer <martin.vermeer@hut.fi>
1344 * lyxfunc.C (dispatch):
1345 * bufferparams.C (readToken): use the new LColor::setColor
1347 * LColor.[Ch] (setColor): new version that takes two strings as
1348 argument and creates a new color entry if necessary
1350 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1352 * buffer.C (makeLaTeXFile): if the main latex file that is
1353 processed is usually a subdocument of some master, then pretend
1354 for a while that it is actually the master
1356 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1358 * buffer.C (getLabelList):
1359 (getBibkeyList): use getMasterBuffer()
1360 (getMasterBuffer): new method. Returns the main document in the
1361 case where one is using included documents.
1363 2004-03-25 André Pönitz <poenitz@gmx.net>
1367 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1369 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1371 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1372 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1374 * ParameterStruct.h: merge with ParagraphParameters
1376 * lyxtext.h: remove LyXText::parOffset() and getPar()
1378 * text3.C: Remove all 'manual' update calls. We do now one per user
1379 interaction which is completely sufficient.
1383 * BufferView_pimpl.C:
1384 * FontIterator.[Ch]:
1386 * ParagraphParameters.[Ch]:
1391 * cursor_slice.[Ch]:
1398 * output_docbook.[Ch]:
1399 * output_latex.[Ch]:
1400 * output_linuxdoc.[Ch]:
1401 * output_plaintext.[Ch]:
1403 * paragraph_funcs.[Ch]:
1404 * paragraph_pimpl.[Ch]:
1412 * frontends/controllers/ControlDocument.C:
1413 * frontends/controllers/ControlErrorList.C:
1414 * frontends/controllers/ControlSpellchecker.C:
1417 * insets/insetbase.h:
1418 * insets/insetbibitem.C:
1419 * insets/insetbox.C:
1420 * insets/insetbranch.C:
1421 * insets/insetcaption.C:
1422 * insets/insetcharstyle.C:
1423 * insets/insetcharstyle.h:
1424 * insets/insetcollapsable.C:
1425 * insets/insetcollapsable.h:
1426 * insets/insetert.C:
1427 * insets/insetfloat.C:
1428 * insets/insetfoot.C:
1429 * insets/insetmarginal.C:
1430 * insets/insetnote.C:
1431 * insets/insetoptarg.C:
1432 * insets/insettabular.C:
1433 * insets/insettext.C:
1434 * insets/insettext.h:
1435 * insets/insetwrap.C:
1436 * mathed/math_mboxinset.C:
1437 * mathed/math_nestinset.C:
1438 * mathed/math_scriptinset.C:
1439 * mathed/math_scriptinset.h:
1442 2004-03-24 Angus Leeming <leeming@lyx.org>
1444 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1445 deal with any child processes that have finished but are waiting to
1446 communicate this fact to the rest of LyX.
1448 2004-03-24 Angus Leeming <leeming@lyx.org>
1450 64-bit compile fixes.
1452 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1453 (c-tor): pass lyx::pos_types rather than ints.
1455 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1458 * text.C (Delete): compile fix.
1459 (getPar): ensure that function declaration is the same as that in
1462 2004-03-23 Angus Leeming <leeming@lyx.org>
1464 * ispell.C (LaunchIspell):
1465 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1466 a boost::shred_ptr rather than a std::auto_ptr.
1468 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1470 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1471 handle LFUN_FILE_INSERT_*
1473 * lyxrc.C (setDefaults, getDescription, output, read):
1474 * lyxrc.h: remove ps_command
1476 2004-03-22 Angus Leeming <leeming@lyx.org>
1478 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1479 Ensure that error_handler is processed once only and that all data
1480 is saved before attempting to output any warning messages.
1482 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1484 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1486 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1488 2004-03-19 André Pönitz <poenitz@gmx.net>
1490 * cursor.[Ch] (reset): take main text inset as argument
1492 * BufferView: adjust
1493 * BufferView_pimpl.C: adjust
1495 * paragraph.[Ch]: fix completely broken operator=()
1497 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1499 * LColor.C (getFromLyXName): make sure that the color name is used
1502 2004-03-17 Angus Leeming <leeming@lyx.org>
1505 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1507 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1508 dialog and to kill a forked process.
1510 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1512 * text2.C (setCursorFromCoordinates): fix font problem
1514 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1516 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1517 bogus "rebuild cursor" code
1519 2004-03-11 André Pönitz <poenitz@gmx.net>
1521 * buffer.[Ch]: use InsetText instead of LyXText as container for
1524 * dociterator.[Ch]: drop the BufferView * member which is not needed
1525 anymore after the change to buffer.C
1527 * paragraph_funcs.C:
1531 * BufferView_pimpl.[Ch]:
1533 * cursor_slice.[Ch]: adjust
1535 * text3.C: fix bug in mathDispatch
1537 2004-03-08 André Pönitz <poenitz@gmx.net>
1539 * undo.[Ch]: use 'StableDocumentIterator' as base for
1542 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1545 * bufferparams.[Ch]: add jurabib support and param.
1547 * LaTeX.C: add FIXME/comment.
1549 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1551 * buffer.C: increment file format to 230.
1553 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1555 * cursor.C (dispatch): avoid infinite loops
1557 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1559 * rowpainter.C (paintSelection): fix x coordinates
1561 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1563 * text.C (rowBreakPoint): fix breaking before displayed insets
1565 2004-03-01 André Pönitz <poenitz@gmx.net>
1567 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1569 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1573 * BufferView_pimpl.C:
1581 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1587 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1588 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1590 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1592 * Bidi.[Ch] (computeTables): const correctness
1593 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1594 fill_hfill, fill_label_hfill and x from Row
1595 * lyxtext.h: prepareToPrint returns a RowMetrics
1596 * rowPainter.C: adjust
1597 * text.C (prepareToPrint): use width, not textWidth. adjust
1598 (redoParagraphInternal, cursorX): adjust
1599 * text2.C (getColumnNearX): adjust
1600 (init): put a default value to the top LyXText::width
1602 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1604 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1606 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1608 * lyxtext.h: add FontIterator class
1610 * text.C (FontIterator, operator*, operator->, operator++): add
1611 (rowBreakPoint, setRowWidth): adjust (fixing a
1614 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1616 * BufferView_pimpl.C (workAreaDispatch): allow also
1617 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1619 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1621 * text.C (rowBreakPoint): fix a bug showing with very large insets
1623 2004-02-25 André Pönitz <poenitz@gmx.net>
1626 * cursor.[Ch]: move some mathed specific code to mathed
1628 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1630 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1631 use_tempdir in preferences
1632 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1634 * lyx_main.C: ensure that tempdir is valid
1635 * lyxlex.h: correct typo
1636 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1637 * paragraph.[Ch] (isMultiLingual): make const
1638 * cursor.[Ch] (openable): make const
1640 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1642 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1644 2004-02-20 André Pönitz <poenitz@gmx.net>
1646 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1648 * cursor.[Ch]: prepare for localized getStatus()
1654 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1656 2004-02-20 André Pönitz <poenitz@gmx.net>
1658 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1660 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1662 * text2.C (setCursorFromCoordinates): switch to absolute coords
1664 (cursorDown): adjust
1665 * text3.C (dispatch): adjust
1667 2004-02-16 André Pönitz <poenitz@gmx.net>
1669 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1672 * cursor_slice.[Ch]: remove unneeded acessor function
1674 * lyxtext.h: rename rtl() to isRTL()
1682 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1684 * rowpainter.C (paintSelection): coord fix
1686 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1688 * Spacing.C: compile fix
1690 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1692 * cursor.C (dispatch): restore current_ before returning
1694 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1696 * text2.C (cursorUp, cursorDown): fix coords
1699 2004-02-12 André Pönitz <poenitz@gmx.net>
1704 * text3.C: add LCursor & parameter to most cursor movement functions
1705 remove usage of LyXText::cursorRow() and cursorPar()
1707 * cursor.[Ch]: add textRow() needed members
1710 * BufferView_pimpl.C:
1713 * BufferView_pimpl.C: adjust
1715 2004-02-11 André Pönitz <poenitz@gmx.net>
1719 * BufferView_pimpl.C: shift undo/redo handling
1721 * cursor.[Ch]: fix mathed crash
1724 * lyxtext.h: move selectionAsText to LCursor
1732 * rowpainter.C: fix excessive drawing
1734 2004-02-06 André Pönitz <poenitz@gmx.net>
1737 * BufferView_pimpl.[Ch]:
1738 * text3.C: move some text specific LFUN handling
1740 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1742 * text3.C (checkInsetHit): adjust coords
1743 * text2.C (getColumnNearX): adjust coords
1744 (edit): adjust coords
1745 * text.C (getRowNearY): add two asserts
1747 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1750 * format.C: add using std::distance to compile on gcc 2.95/stlport
1752 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1754 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1756 2004-02-04 André Pönitz <poenitz@gmx.net>
1758 * BufferView.[Ch] (insertInset):
1759 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1764 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1766 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1767 on the default clause of the switch
1768 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1769 wasn't catched by LCursor::dispatch
1771 2004-02-03 André Pönitz <poenitz@gmx.net>
1774 * cursor.[Ch]: some additional asserts
1776 * undo.[Ch]: remove LyXText dependency in interface
1780 * lyxtext.h (firstPar, lastPar): remove dead functions
1785 * paragraph.[Ch]: adjust
1787 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1789 * lyxfind.C (find): fix argument order in call to ::find
1791 2004-02-02 André Pönitz <poenitz@gmx.net>
1793 * cursor.[Ch]: remove direct access to anchor
1795 * text.C: remove findText() hack
1797 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1799 * iterators.[Ch] (lockPath): remove in favour of...
1800 * BufferView.[Ch] (setCursor): this addition
1801 * BufferView.C (putSelectionAt): adjust
1802 * undo.C (performUndoOrRedo): adjust
1803 * lyxfunc.C (dispatch): adjust
1805 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1807 * iterators.C (lockPath): add a missing slice
1808 * undo.C (performUndoOrRedo): remove redundant positioning code
1810 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1812 * vc-backend.C (scanMaster): ";" -> ';'
1814 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1816 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1817 std::binary_function
1819 * lyxtextclass.C (compare_name): rename to...
1820 (LayoutNamesEqual): ...this
1822 * lyxlex_pimpl.C (compare_tags): inherit from
1823 std::binary_function, put back into anon namespace
1825 * lyxfind.C (MatchString): inherig from std::binary_function
1826 (findChange): use empty() istead of !size()
1828 * format.C (FormatNamesEqual): new functor
1835 * converter.C (compare_Converter): rename to...
1836 (ConverterEqual): ...this, and fixup a bit.
1837 (getConverter): use it, and make function const
1838 (getNumber): use it, and make function const
1842 * bufferlist.C: add using boost::bind
1844 * MenuBackend.C (MenuNamesEqual): new functor
1845 (hasMenu): use it, and make function const
1846 (hasSubmenu): use nested bind to get rid of compare_memfun.
1848 2004-01-30 André Pönitz <poenitz@gmx.net>
1850 * BufferView_pimpl.C:
1853 * cursor_slice.[Ch]:
1856 * paragraph_funcs.C:
1857 * paragraph_funcs.h:
1861 * text3.C: move some of the edit(x,y) handling to the insets
1862 some coordinate changes.
1864 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1866 * text.C: add using statements for std::advance and std::distance
1868 * paragraph.C: add using statement for std::distance
1870 * lyxfind.C: add using statement for std::advance
1872 * cursor.C (region): remove std:: from swap
1873 (openable): use nucleus in stead of operator->
1875 * BufferView.C: add using statements for std::distance and std::swap
1877 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1879 * iterators.C: Remove the pimple, move the needed structures to
1880 the header file. Create accessor for the positions stack.
1881 (asPosIterator): remove function
1883 * PosIterator.C (PosIterator): move constructors to top of file
1884 (PosIterator): reimplement the constructor taking a ParIterator in
1886 (setFrom): new function
1887 (operator!=): inline it
1889 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * lyxfind.C (replaceAll): use std::advance
1893 * iterators.h: inherit from std::iterator.
1895 * PosIterator.C (advance, distance): remove
1896 * PosIterator.h: interit from std::iterator.
1898 2004-01-26 André Pönitz <poenitz@gmx.net>
1901 * BufferView_pimpl.[Ch]:
1905 * bufferview_funcs.C:
1915 * output_linuxdoc.C:
1916 * output_plaintext.C:
1918 * paragraph_funcs.[Ch]:
1919 * paragraph_pimpl.[Ch]:
1925 * text3.C: more IU: dumps most of the rest of the mathcursor
1926 implementation into cursor.[Ch]; "globalize" a bit of it.
1928 2004-01-25 Angus Leeming <leeming@lyx.org>
1930 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1932 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1934 * LaTeXFeatures.h: add nice_ and nice() const
1935 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1937 2004-01-20 André Pönitz <poenitz@gmx.net>
1940 * BufferView_pimpl.C:
1942 * bufferview_funcs.C:
1944 * cursor_slice.[Ch]:
1955 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1956 LCursor and mathcursor parts to LCursor and InsetBase.
1958 2004-01-15 André Pönitz <poenitz@gmx.net>
1960 * cursor_slice.[Ch]: add a few covienience functions
1962 * funcrequest.[Ch]: remove BufferView * member
1964 * BufferView_pimpl.C:
1971 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1973 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1975 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1976 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1978 2004-01-13 André Pönitz <poenitz@gmx.net>
1981 * lyxtext.h: hide cursor and selection anchor behind accessor function
1984 * BufferView_pimpl.[Ch]:
1986 * bufferview_funcs.C:
1996 * cursor_slice.[Ch]: some integer type changes for inset unification
1998 * lyxcursor.[hC]: remove, it's CursorSlice now.
2001 * BufferView_pimpl.[Ch]:
2002 * bufferview_funcs.C:
2008 * textcursor.[Ch]: adjust
2010 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2012 * text2.C (undoSpan): add and use
2013 * text.C (breakParagraph): use undoSpan (fix bug 578)
2016 2004-01-08 Angus Leeming <leeming@lyx.org>
2018 * BufferView_pimpl.C (MenuInsertLyXFile):
2019 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2020 * lyxfunc.C (menuNew, open, doImport):
2021 FileFilterList change to the FileDialog open and save functions.
2023 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2025 * ShareContainer.h: make isEqual and isUnique adaptable
2027 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2029 2004-01-07 Angus Leeming <leeming@lyx.org>
2032 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2034 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2036 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2037 functions replacing find, replace and replaceAll.
2039 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2040 LFUN_WORDFIND(FORWARD|BACKWARD).
2042 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2044 * text.C (breakParagraph): remove an outdated #warning
2046 2004-01-07 André Pönitz <poenitz@gmx.net>
2048 * lyxfind.C: somewhat clearer logic
2050 * text.C: prevent crash in cursorX on unitialized row cache
2052 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2054 * lyxcursor.[Ch] (operator>): add
2055 * textcursor.C (selStart, selEnd): use std::min and std::max
2057 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2059 * Chktex.C: include boost/format.hpp
2061 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2063 * InsetList.C: replace functor MathcIt with adaptable functor
2065 (insetIterator): modify accordingly
2067 * BranchList.h: move the BranchNamesEqual functor here from...
2068 * BranchList.C: ... to here
2070 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2072 (add): replace a finding loop with std::find_if.
2074 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2076 * output_docbook.C: moving LatexParam functionality into
2079 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2081 * buffer.C: increment format to 229.
2083 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2086 * lyx_sty.[Ch]: remove minipageindent_def
2092 * text3.C: remove LFUN_INSET_MINIPAGE
2094 2003-12-28 Angus Leeming <leeming@lyx.org>
2096 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2098 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2100 * text2.C (setParagraph): fix off-by-one crash
2102 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2104 * output_docbook.C: header stuff for AGU
2106 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2108 * text2.C (redoCursor): remove
2111 * BufferView_pimpl.C: remove calls to redoCursor and
2112 setCursor(cursor.par(), cursor.pos()) all around
2114 2003-12-15 Angus Leeming <leeming@lyx.org>
2116 * buffer.C: up the format to 228.
2118 2003-12-15 André Pönitz <poenitz@gmx.net>
2120 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2125 * BufferView_pimpl.C:
2134 2003-12-15 Angus Leeming <leeming@lyx.org>
2136 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2137 than getFromGUIName to manipulate the color.
2139 2003-12-14 Angus Leeming <leeming@lyx.org>
2141 * BranchList.[Ch]: minimize the API.
2142 (Branch::getBranch, getColor): now return a 'const &'.
2143 (Branch::setSelected) now returns a bool set to true if the
2144 selection status changes.
2145 (BranchList::clear, size, getColor, setColor, setSelected,
2146 allBranches, allSelected, separator): removed.
2147 (BranchList::find): new functions, returning the Branch with
2149 (BranchList::add, remove): return a bool indicating that
2150 the operation was successful.
2152 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2153 new InsetBranch::isBranchSlected member function.
2155 * LColor.[Ch]: mimimize the API.
2156 (fill): renamed as addColor and made private.
2157 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2158 versions of these functions taking a string arg have been removed.
2160 * bufferparams.C (readToken):
2161 * lyxfunc.C (dispatch):
2162 * lyxrc.C (read): changes due to the altered BranchList and
2165 * factory.C (createInset, readInset): changes due to altered
2168 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2171 * lyxfunc.C: remove insetminipage. "minipage-insert"
2172 now produces a frameless minipage box inset.
2174 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2176 * textcursor.[Ch] (selStart,selEnd): add new methods
2177 remove selection::start, end, use LyXCursor::operator<
2178 * lyxcursor.[Ch] (operator<): add
2179 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2180 * BufferView.[Ch] (unsetXSel): add
2181 * text2.C (clearSelection): use unsetXSel,adjust
2184 * rowpainter.C: adjust
2185 * bufferview_funcs.C (put_selection_at): adjust
2187 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2189 * BufferView_pimpl.C: small coord. correction
2191 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2193 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2194 dragging over the splash screen.
2196 2003-12-11 Angus Leeming <leeming@lyx.org>
2198 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2199 as it is now handled in LyXText::dispatch.
2201 * text3.C (doInsertInset): remove a level of nesting.
2203 2003-12-11 Angus Leeming <leeming@lyx.org>
2205 * factory.C (createInset): changes due to the changed interface to
2206 InsetCommandMailer::string2params.
2208 2003-12-10 Angus Leeming <leeming@lyx.org>
2210 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2211 'dialog-show-new-inset <inset name>'
2213 2003-12-10 Angus Leeming <leeming@lyx.org>
2215 * buffer.C: up the format to 227.
2217 * factory.C: the box inset is now identified simply by 'Box'.
2219 2003-12-10 Angus Leeming <leeming@lyx.org>
2221 * buffer.C: up the format to 226.
2223 * factory.C: the note inset is now identified simply by 'Note'.
2225 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2227 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2228 when a pit is enough. Standarize a couple of loops.
2230 2003-12-05 Angus Leeming <leeming@lyx.org>
2232 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2233 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2234 data to the re-worked "log" dialog.
2236 2003-12-03 André Pönitz <poenitz@gmx.net>
2242 * paragraph_funcs.C:
2244 * text2.C: use Inset::getText instead of Inset::getParagraph
2246 2003-12-03 André Pönitz <poenitz@gmx.net>
2250 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2251 InsetText::read() as LyXText::read()
2253 2003-12-02 Angus Leeming <leeming@lyx.org>
2255 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2256 type. Add a comment in the implementation that the function uses
2257 the stream's bad() function rather than fail() as the std::streams
2260 2003-12-02 André Pönitz <poenitz@gmx.net>
2262 * lyxlex.[Ch]: make interface more similar to std::stream
2264 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2266 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2268 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2270 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2272 * vspace.[Ch]: remove VSpace::NONE
2274 2003-12-01 André Pönitz <poenitz@gmx.net>
2277 * lyxtext.h: move ParagraphList member to LyXText
2278 rename LyXText::ownerParagraphs to LyXText::paragraph
2281 * bufferview_funcs.C:
2291 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2293 * undo.C: fix cursor positioning
2295 2003-12-01 John Levon <levon@movementarian.org>
2297 * BufferView_pimpl.C: fix a crash on exit with
2300 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2302 * BranchList.C: fix setSelected() method.
2304 2003-11-28 André Pönitz <poenitz@gmx.net>
2306 * ParagraphParameters.[Ch]:
2307 * ParameterStruct.h: remove space above/below from Paragraph to
2310 * BufferView_pimpl.C:
2316 * paragraph_funcs.C:
2322 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2324 * factory.C: Syntax change for CharStyles
2326 2003-11-28 André Pönitz <poenitz@gmx.net>
2331 * buffer.[Ch]: move LyXText member
2333 2003-11-28 André Pönitz <poenitz@gmx.net>
2335 * BufferView.[Ch]: make LyXText * text a private member
2337 * BufferView_pimpl.C:
2348 * output_plaintext.C: cleanup
2350 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2353 * lyxtextclass.[Ch]: parametrize SGML document header
2355 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2358 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2361 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2363 * text2.C (setFont): rework using PosIterator (no more recursive)
2364 (setCharFont): no more needed
2365 (setLayout): no more selection cursors fiddling (done by redoCursor)
2366 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2367 destroy remaining ones)
2369 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2371 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2373 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2376 * text3.C: adjust + re-allow multi par depth changes
2377 * textcursor.C: simplify a bit
2379 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2385 * src/output_docbook.C:
2386 * src/output_latex.C:
2391 * src/text2.C: Introducing a number of tags parametrizing various
2392 XML formats that we may want to support
2394 2003-11-25 André Pönitz <poenitz@gmx.net>
2396 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2398 * lyxtext.h (leftMargin/rightMargin): simplify interface
2405 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2407 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2408 master file to any child files. Fixes bug 546.
2410 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2412 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2414 2003-11-24 André Pönitz <poenitz@gmx.net>
2416 * rowpainter.C: simplification
2418 * text2.C (updateCounters): remove call to redoParagraph on
2419 changed labels as this is far too expensive.
2421 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2423 * converter.C (convert): fix a crash: this function gets
2424 called with buffer == 0 from importer code.
2426 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2428 * text3.C (cursorPrevious): make sure that we do not compare
2429 iterators form different containers.
2432 * rowpainter.C (paintSelection): make sure that we do not compare
2433 iterators from different containers.
2435 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2436 iterators from different ParagraphList containers.
2439 * text2.C (LyXText): change order of initialization slightly
2440 (operator=): new function. copy all variables except cache_par_
2441 (moveUp): make sure that we do not compare iterators from
2442 different ParagraphList constainers.
2445 * text.C (firstPar): new function
2446 (lastPar): new function
2447 (endPar): new function
2449 * lyxtext.h: move things around and group public functions, public
2450 variables, private functions, private variables
2452 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2454 * factory.C: change call to InsetERT constructor to avoid
2455 additional invocation of method status
2456 * text2.C (toggleInset): remove redundant update() call
2457 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2458 instead of a Bufferview pointer
2460 2003-11-21 André Pönitz <poenitz@gmx.net>
2462 * rowpainter.C: simplification
2464 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2466 * text3.C (dispatch): make possible to extend a word/row selection
2469 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2471 * lyxtext.h: x0_,y0_ -> xo_,yo_
2472 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2473 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2474 * rowpainter.C (paintRows): paint full paragraphs
2476 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2478 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2481 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2483 * lyxtext.h: add x0_, y0_
2484 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2485 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2487 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2489 * text2.C (setCursorIntern): move the x_target update here *
2490 * text3.C: change some bv() to true/false in calls to
2491 cursorUp/Down/Right/Left
2492 * cursor.C: use helper function.
2494 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2496 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2497 * paragraph_funcs.[Ch]: correct comment
2498 * rowpainter.C: do not paint selections away from bv->cursor()
2499 Fix a long standing selection painting bug.
2500 * text3.C: generalize mouse-selection code to LyXTexts other that
2502 * textcursor.C: do not use y coords if we can use par offsets
2504 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2506 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2507 cursor position after e.g. inset insert)
2509 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2511 * lyxfind.C (replace): adjust to locking removal + some
2514 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2516 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2519 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2522 * output_docbook.C: XML sanitation: new layout
2523 parameters InnerTag and CommandDepth
2525 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2527 * BufferView_pimpl.C:
2529 * text3.C: Fix the insertion and modification of button-style
2532 2003-11-13 André Pönitz <poenitz@gmx.net>
2534 * InsetList.[Ch]: remove deleteLyXText
2536 * paragraph.[Ch]: cache beginOfBody position
2541 * text3.C: remove superfluous update() calls
2545 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2547 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2548 * BufferView.C (fitLockedInsetCursor): remove
2549 * cursor.[Ch] (getDim): add
2550 * text.C (getRowNearY): add faster version
2551 * text3.C: remove some update calls
2553 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2565 * text3.C: The Character Style /XML short element patch.
2567 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2570 * factory.C: Small step to solving 'unable to insert some insets'
2573 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2575 * cursor.[Ch] (updatePos): new function for updating the y
2576 position of the tip inset
2577 * bufferview_funcs.C (put_selection_at):
2578 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2580 2003-11-11 André Pönitz <poenitz@gmx.net>
2582 * text.C: remove big comment on invalid Paragraph pointers as it is
2585 2003-11-11 André Pönitz <poenitz@gmx.net>
2587 * text_funcs.[Ch]: merge with ...
2595 * Makefile.am: remove text_funcs.[Ch]
2597 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2599 * cursor.C (getPos): return absolute cached y coord
2601 * BufferView_pimpl.C (fitCursor): new simplistic code
2602 (workAreaDispatch): add a fitCursor call
2604 2003-11-10 André Pönitz <poenitz@gmx.net>
2607 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2609 2003-11-10 André Pönitz <poenitz@gmx.net>
2611 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2612 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2613 indicate that the cursor needs to leave an inset
2615 * lyxtext.h: remove inset locking
2617 * cursor.[Ch]: re-implement functionality provided by inset locking
2620 * BufferView_pimpl.[Ch]:
2622 * bufferview_funcs.[Ch]:
2634 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2636 * PosIterator.[Ch]: replace the stack with a vector, add inset
2638 * iterators.[C]: adjust
2640 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2642 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2644 * paragraph_funcs.C (readParToken): put the correct id in the
2645 error item, not the id of the top paragraph
2647 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2649 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2650 * bufferview_funcs.C (put_selection_at): use the above
2652 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2654 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2656 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2658 * output_linuxdoc.h:
2659 * output_plaintext.h:
2661 * output_docbook.h: add #include statements
2663 2003-11-05 José Matos <jamatos@lyx.org>
2665 * output_docbook.[Ch]:
2666 * output_latex.[Ch]:
2667 * output_linuxdoc.[Ch]:
2668 * output_plaintext.[Ch]: New files for output formats.
2669 * output.[Ch]: New file for helper functions.
2672 * paragraph_funcs.[Ch]: output functions moved to new files.
2674 * outputparams.h: rename of latexrunparams.h
2682 * paragraph_funcs.[Ch]:
2683 * paragraph_pimpl.[Ch]:
2684 * tabular.[Ch]: rename ascii to plaintext
2685 and LatexRunParams to OutputParams.
2687 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2689 * iterators.[Ch] (text): require bv argument
2690 * undo.C (recordUndo):
2691 * lyxfunc.C (dispatch):
2692 * bufferview_funcs.C (put_selection_at): adjust
2694 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2696 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2698 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2700 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2703 2003-11-04 André Pönitz <poenitz@gmx.net>
2705 * cursor.[Ch]: restructure
2708 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2710 * iterators.[Ch] (asCursor): remove
2712 * lfuns.h: remove LFUN_INSET_EDIT
2718 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2720 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2722 * lyxfind.[Ch]: complete overhaul
2723 * BufferView_pimpl.C:
2725 * paragraph.[Ch] (insert): add
2727 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2731 * text.C: remove dead spellcheck code
2733 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * dispatchresult.h: add a val setter
2737 * cursor.C (dispatch): use a tempvar for data_[i]
2739 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2741 * PosIterator.[Ch]: compile fix
2743 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2745 * text.C (cursorPar): deactivate the cursor cache
2747 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2749 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2751 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2753 * text3.C (dispatch): adjust for new DisptchResult semantics.
2755 * lyxfunc.C (dispatch): handle update when return from
2756 Cursor::dispatch, adjust for new DispatchResult semantics.
2758 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2759 DispatchResult(true) mean to not update. Add class functions for
2760 setting dispatched and update, as well as reading.
2762 * cursor.C (dispatch): don't handle update here
2764 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2767 * trans_mgr.C: adjust
2769 * paragraph_funcs.C (readParToken): exception safety
2771 * lyxvc.h: store the vcs pointer in a scoped_ptr
2774 * lyxsocket.C (serverCallback): exception safety
2776 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2778 * ispell.C (clone): make it return a auto_ptr
2780 * factory.C (createInset): exception safety
2781 (readInset): exception safety
2783 * bufferlist.C (newBuffer): exception safety
2785 * Thesaurus.C (Thesaurus): use initialization for aik_
2787 * MenuBackend.C (expandToc): exception safety.
2789 2003-11-03 André Pönitz <poenitz@gmx.net>
2793 * bufferview_funcs.C: remove getInsetFromId()
2796 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2802 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2804 * PosIterator.C (distance, advance): new
2805 * bufferview_funcs.[Ch] (put_selection_at): new
2806 * iterators.[Ch] (lockPath): new
2808 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2810 * iterators.[Ch] (asPosIterator): added
2811 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2812 * PosIterator.[Ch]: added
2814 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * cursor.C (dispatch):
2819 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2821 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2822 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2823 contructor, add a class function dispatched. Remove operator>=
2825 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * debug.C: only use the default constructor for debugstream
2830 * main.C (main): include debug.h and setup the lyxerr streambuf
2833 2003-10-31 José Matos <jamatos@lyx.org>
2835 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2837 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2838 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2839 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2840 * paragraph_pimpl.C (simpleTeXSpecialC):
2841 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2842 add LatexRunParams argument.
2844 * exporter.C (Export): change call accordingly.
2846 * latexrunparams.h: add new member to take care of the other backends.
2847 2003-10-30 José Matos <jamatos@lyx.org>
2849 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2850 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2851 factorise code for paragraph output.
2853 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2856 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * text3.C (dispatch):
2859 * lyxfunc.C (dispatch):
2860 * cursor.C (dispatch):
2861 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2863 * dispatchresult.h: make the dispatch_result_t ctor explicit
2865 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2868 * buffer.C: small refactoring of docbook stuff
2870 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2875 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2878 operator dispatch_result_t, and operators for == != and >=
2880 * cursor.C (dispatch): adjust for operator dispatch_result_t
2881 removal. comment out call to update
2883 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2885 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2896 * dispatchresult.h: new file, DispatchResult broken out of
2899 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2901 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2903 * text.C (rowBreakPoint): put a hack inside #if 0
2905 2003-10-28 André Pönitz <poenitz@gmx.net>
2909 * paragraph_funcs.C:
2912 * text2.C: general cleanup (lots of small stuff)
2914 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2916 * text2.C (cursorEnd): simple fix to the "end key goes to one
2917 before the end on last row" bug
2919 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2921 * text.C (backspace): fix the "zombie characters"
2923 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2925 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2927 2003-10-27 André Pönitz <poenitz@gmx.net>
2929 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2931 * factory.C: handle new InsetPagebreak, InsetLine
2933 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2934 and move handling into new InsetPagebreak, InsetLine
2936 * BufferView_pimpl.C:
2938 * ParagraphParameters.C:
2939 * ParameterStruct.h:
2944 * paragraph_funcs.C:
2945 * paragraph_pimpl.C:
2951 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2954 * lyxrow_funcs.[Ch]:
2960 * text3.C: remove lastPos uses in favour of Row::endpos
2962 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2964 * undo.C (performUndoOrRedo): fix two crashes by setting a
2965 cursor by hand and reordering some calls. Use bv->lockInset instead
2966 of inset->edit because the latter loses cursor information
2968 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2970 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2972 (rowBreakPoint): fix width. change point to point + 1.
2973 Add a missing check.
2975 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2978 * lyxfunc.C: fix (at least partly) the problems
2979 with the Nav menu and headers inside branch insets
2982 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2984 * paragraph.C (getChar): add strong asserts
2986 * lyxrow_funcs.C (lastPos): remove hideous hack
2988 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2989 (fill): adjust to that (avoid an infinite loop)
2991 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2993 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2995 2003-10-23 André Pönitz <poenitz@gmx.net>
2997 * RowList_fwd.h: change list<> to vector<> to gain speed
2998 after suggestion from Alfredo
3000 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3002 * lyxtext.h: move the bidi stuff from here...
3005 * Bidi.[Ch]: ... to here
3007 2003-10-23 André Pönitz <poenitz@gmx.net>
3010 * text.C (isLastRow, isFirstRow): new functions
3012 * paragraph.h: new width cache member
3014 * rowpainter.C: replace RowList::iterator with Row & where possible
3016 * lyxfunc.C: replace several view()->text with a single call
3018 * toc.C: fix 'unused' warning
3020 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3023 when woring with stream::pos_type
3024 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3026 2003-10-22 André Pönitz <poenitz@gmx.net>
3029 * text.C: use Row & instead of RowList::iterator
3031 * lyxrow.h: rename end() to endpos()
3037 2003-10-22 Angus Leeming <leeming@lyx.org>
3039 * buffer.[Ch] (fully_loaded): new member function, returning true
3040 only when the file has been loaded fully.
3041 Used to prevent the premature generation of previews and by the
3042 citation inset to prevent computation of the natbib-style label.
3044 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3045 templates are all set up.
3047 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3049 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3051 * text.C: fixed an "oops" in the "is a bit silly"
3054 2003-10-21 André Pönitz <poenitz@gmx.net>
3056 * FuncStatus.[Ch]: small stuff, whitespace
3058 * lyxfont.[Ch]: operator<<() for debug reasons
3062 * lyxtext.h: whitespace, spelling
3064 * paragraph.C: naming of variables
3067 * text2.C: small stuff
3070 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3072 * text.C: (1) finish off the inset display() work;
3073 (2) fix the "is a bit silly" bug (accessing char
3076 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3078 * text.C: re-introduce display() for insets, fixing the
3079 various bugs (stretch of line above, math inset
3082 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * text.C (rightMargin): remove spurious semicolon
3086 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3089 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3091 * text3.C: fix one crash due to wrong cursor def
3093 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * vc-backend.C (scanMaster): make the regex static
3097 * LaTeX.C (scanAuxFile): make the regexs static
3099 * text3.C (doInsertInset, dispatch, dispatch):
3100 * text2.C (cursorUp, cursorDown):
3101 * text.C (selectNextWordToSpellcheck):
3102 * BufferView_pimpl.C (dispatch):
3103 * lyxfunc.C (dispatch): localDispatch -> dispatch
3105 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * lyxsocket.C: include <cerrno>
3109 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * lyxfunc.C (dispatch): remove textcache stuff
3113 * bufferlist.C (release): remove textcache stuff
3116 * TextCache.C: delete file
3117 * TextCache.h: delete file
3119 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3121 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3122 delete of the bv_->text.
3123 (resizeCurrentBuffer): remove texcache stuff
3124 (workAreaResize): ditto
3126 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3131 2003-10-16 André Pönitz <poenitz@gmx.net>
3138 * text3.C: speed up by storing y positions per paragraph plus per-row
3139 offset instead of having a 'full' y position in the row.
3141 2003-10-15 André Pönitz <poenitz@gmx.net>
3145 * undo.[Ch]: make undo aware of inner insets
3147 2003-10-14 Angus Leeming <leeming@lyx.org>
3149 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3150 static member functions LyX::ref() and LyX::cref.
3151 (lastfiles): new accessor functions for the new lastfiles_ member var.
3152 (addLyXView, views_): add a new LyXView to the list of views_.
3153 (updateInset): loop over all LyXViews to call their own updateInset
3154 member function, returning a pointer to the Buffer owning the inset.
3156 * BufferView_pimpl.C (loadLyXFile):
3157 * MenuBackend.C (expandLastfiles):
3158 * bufferlist.C (MenuWrite, QuitLyX):
3159 lastfiles is no longer a global variable.
3160 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3162 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3163 static function. Access through LyX::cref().emergencyCleanup().
3165 2003-10-14 André Pönitz <poenitz@gmx.net>
3167 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3169 * undo.[Ch]: restoring part of 'undo in insets'
3172 * undo_funcs.[Ch]: merge with undo.[Ch]
3174 * tabular.C: small cleansing stuff
3176 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3178 * paragraph_funcs.C (readParToken): report unknown insets as error
3179 boxes. Use the outer paragraph as location (also for unknown
3182 * factory.C (readInset): do not abort on reading an unknown inset.
3183 Eat it and return 0.
3185 2003-10-13 Angus Leeming <leeming@lyx.org>
3187 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3189 * lyxrc.C: displayTranslator is now a function,
3190 declared in GraphicsTypes.h.
3192 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3194 * format.C: new placeholder $$a to pass the socket address.
3196 * bufferlist.[Ch]: new function getBufferFromTmp.
3198 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3199 files in the temporary dir.
3201 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3203 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3205 * Makefile.am: add lyxsocket.[Ch].
3207 * lyx_main.C (error_handler): handle SIGPIPE.
3209 2003-10-13 André Pönitz <poenitz@gmx.net>
3211 * BufferView_pimpl.C:
3216 * undo_funcs.[Ch]: use paroffset_type instead of
3217 ParagraphList::iterators to prevent multiple conversion
3218 (and get a more robust interface)
3220 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3224 * text3.C (dispatch): ditto
3226 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3229 move the onlyfile, use onlyfile instead of foundfile in a couple
3232 * DepTable.C (update): flush the error stream a bit more
3234 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * lyxserver.C (callback): adjust
3238 * lyxfunc.C (getStatus): add a missing brace in commented code
3239 (ensureBufferClean): reindent
3240 (dispatch): delete version taking a string
3242 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * LaTeX.C (deplog): move found file handlig from here...
3245 (handleFoundFile): .. to new function here.
3246 (deplog): make sure to discover several files mentioned on the
3249 2003-10-10 André Pönitz <poenitz@gmx.net>
3256 * text3.C: fix some of the tabular crashes
3258 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3260 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3262 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3264 2003-10-09 André Pönitz <poenitz@gmx.net>
3266 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3269 * BufferView_pimpl.C:
3270 * bufferview_funcs.C:
3281 * undo_funcs.C: adjust
3283 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * text2.C (incrementItemDepth): new function, use a backtracking
3286 algorithm to discover the correct item depth.
3287 (resetEnumCounterIfNeeded): new function, use a backtracking
3288 algorithm to discover if counter reset is needed.
3289 (setCounter): use them. Simplify a bit. Add different labels for
3290 different item depths for itemize.
3292 * paragraph.C (Paragraph): remove initialization of enumdepth
3295 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3296 enumerate and itemize. Change the type of itemdepth to signed char.
3298 2003-10-08 André Pönitz <poenitz@gmx.net>
3300 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3305 * tabular.[Ch]: fix crash after 'row-insert'
3307 2003-10-08 Angus Leeming <leeming@lyx.org>
3309 Fix doxygen warnings.
3311 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3312 Remove CutAndPaste:: prefix from header file declaration.
3314 * LColor.h (fill): remove LColor:: prefix from declaration.
3316 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3317 use lyx::depth_type rather than Paragraph::depth_type so that
3318 header file and .C file match.
3320 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3322 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3323 * aspell.C: \file aspell_local.C -> \file aspell.C
3324 * gettext.C: \file gettext.C -> \file src/gettext.C
3325 * gettext.h: \file gettext.h -> \file src/gettext.h
3326 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3327 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3328 * text.C: \file text.C -> \file src/text.C
3330 * toc.C: move comment so that doxygen is not confused.
3332 2003-10-07 Angus Leeming <leeming@lyx.org>
3334 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3336 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3339 * aspell_local.h: add forgotten std::string's.
3341 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3348 * text3.C: The Box patch. Fancybox support, minipage, parbox
3350 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3356 * ParagraphParameters.h:
3366 * lyxtextclasslist.h:
3369 * paragraph_pimpl.C:
3370 * textcursor.h: add <string> and other small fixes to make Lars'
3371 std::string patch compile with STLport.
3373 2003-10-06 Angus Leeming <leeming@lyx.org>
3375 * LColor.h: Add missing #include <string>.
3377 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * All most all file in all subdirs: Make <string> be the prefered
3380 way of getting to std::string, add using declarations.
3382 2003-10-06 André Pönitz <poenitz@gmx.net>
3384 * metricsinfo.C: initialize LyXFont before changing attribute.
3385 (fixes the 'math in \emph is upright' bug)
3387 2003-10-06 André Pönitz <poenitz@gmx.net>
3389 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3391 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3394 * paragraph_pimpl.C: Small fixes to build using STLport
3396 2003-10-02 André Pönitz <poenitz@gmx.net>
3399 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3401 2003-10-01 André Pönitz <poenitz@gmx.net>
3403 * factory.C: assert early
3405 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * lyx_main.C: remove the global debug object
3409 * debug.h: adjust for new debugstream
3411 * debug.C: adjust for new debugstream and keep the global debug
3414 2003-09-22 Angus Leeming <leeming@lyx.org>
3416 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3417 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3418 an incomplete class LyXFont.
3420 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3422 * factory.C: bug fix in branches
3424 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * lyxfunc.C (processKeySym): adjust
3428 (dispatch): change arg name from ev to func, adjust
3429 (sendDispatchMessage): ditto
3431 * lyx_main.C (defaultKeyBindings): adjust keybindings
3432 (deadKeyBindings): ditto
3434 * kbsequence.C (addkey): return a FuncRequest
3436 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3438 * kbmap.C (bind): take a FuncRequest as arg, adjust
3441 (defkey): change to take a FuncRequest as arg, adjust
3442 (findbinding): take a FuncRequest as arg, adjust.
3444 * funcrequest.h (operator=): added
3446 * funcrequest.C (FuncRequest): default kb_action changed from
3447 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3449 * buffer.C (dispatch): simplify
3450 (dispatch): adjust to take a FuncRequest as arg, adjust
3452 * boost.C (assertion_failed): change assertion message slightly
3454 * ToolbarBackend.C (read): simplify
3456 * MenuBackend.C (binding): adjust call to findbinding, add a
3457 message if no binding is found.
3459 (expandToc): correct by adding a empty FuncRequest
3461 * LyXAction.C: include <boost/assert.hpp>
3462 (isPseudoAction): delete function
3463 (LookupFunc): change name to...
3464 (lookupFunc): this. change return type to FuncRequest.
3465 (getActionName): take kb_action as arg, simplify
3466 (funcHasFlag): add an assert, simplify.
3468 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * toc.C (action): return a FuncRequest, simplify
3472 * lyxfunc.C (processKeySym): adjust
3473 (getStatus): delete version that takes an int.
3475 (dispatch): delete version that takes action as int
3477 (sendDispatchMessage): simplify and adjust
3479 * funcrequest.C (getArg): take unsigned int as arg
3481 * ToolbarBackend.C (read): adjust
3482 (add): delete version that takes func as a string.
3483 (getIton): take a FuncRequest as arg
3485 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3488 * MenuBackend.C (MenuItem): add a new construct that only takes a
3489 Kind, simplify the constructor use for submenus.
3491 (expandLastfiles): adjust
3492 (expandDocuments): adjust
3493 (expandFormats): adjust
3494 (expandFloatListInsert): adjust
3495 (expandFloatInsert): adjust
3496 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3498 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3499 Remove class variables lyx_pseudo_map and lyx_arg_map
3501 * LyXAction.C (searchActionArg): delete function
3502 (getPseudoAction): delete function
3503 (retrieveActionArg): delete function
3504 (LookupFunc): make it return kb_action, simplify.
3505 (getActionName): simplify
3507 * factory.C (createInset): fix new bug
3509 2003-09-19 Angus Leeming <leeming@lyx.org>
3511 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3512 masterFilename_ parameter in the include inset.
3514 * factory.C (createInset): changes due to the changes to InsetInclude.
3516 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3518 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3520 2003-09-18 Angus Leeming <leeming@lyx.org>
3523 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3524 Inset::fillWithBibKeys.
3525 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3527 2003-09-18 Angus Leeming <leeming@lyx.org>
3529 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3531 (ctor): pass and store a 'Buffer const &'
3532 (buffer): new member function.
3534 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3535 '*this' to the LaTeXFeatures ctor.
3537 2003-09-18 Angus Leeming <leeming@lyx.org>
3543 * text.C: rename EnumLColor as LColor_color.
3545 2003-09-18 Angus Leeming <leeming@lyx.org>
3547 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3548 remove #include "insets/insetbase.h" from cursor.h.
3550 2003-09-18 Angus Leeming <leeming@lyx.org>
3552 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3553 InsetOld_code to remove #include "inset.h".
3555 * iterators.C: add #include "insets/inset.h"
3557 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3559 * BufferView.C: remove more locking stuff that apparently doesn't
3560 do anything sensible.
3562 2003-09-16 André Pönitz <poenitz@gmx.net>
3565 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3568 2003-09-16 Angus Leeming <leeming@lyx.org>
3570 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3572 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3575 * paragraph.h: remove #include "lyxfont.h". Forward declare
3578 2003-09-16 Angus Leeming <leeming@lyx.org>
3580 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3581 of support/textutils.h.
3582 (isWord): move the contents of support/textutils.h's IsWordChar here.
3588 * text2.C: add #include "paragraph.h".
3591 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3593 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * LaTeX.C: use namespace alias for lyx::support::os
3601 2003-09-16 Angus Leeming <leeming@lyx.org>
3604 * bufferview_funcs.C:
3607 * paragraph_pimpl.C:
3609 * text.C: add #include "LColor.h".
3611 2003-09-16 Angus Leeming <leeming@lyx.org>
3613 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3614 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3616 Store the FontBits::color variable as an int rather than as an
3617 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3620 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3621 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3622 string calls together.
3624 * lyxrc.C: add #include "LColor.h".
3626 2003-09-15 Angus Leeming <leeming@lyx.org>
3628 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3631 2003-09-15 Angus Leeming <leeming@lyx.org>
3633 * LColor.h: add an EnumLColor wrapper for LColor::color.
3635 * lyxfont.[Ch] (color, setColor, realColor):
3636 * lyxtext.h, text.C (backgroundColor):
3637 pass EnumLColor args to/from the functions, rather than LColor::color
3641 * lyxtext.h: forward declare EnumLColor.
3643 * lyx_main.C: add #include "LColor.h".
3645 2003-09-15 Angus Leeming <leeming@lyx.org>
3647 * .cvsignore: add lyx-gtk.
3649 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * ParagraphParameters.C
3658 * bufferview_funcs.C
3668 * vc-backend.C: remove usage of STRCONV
3670 2003-09-15 Angus Leeming <leeming@lyx.org>
3672 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3673 explicitly define the color passed to the painter.
3675 2003-09-15 Angus Leeming <leeming@lyx.org>
3677 * bufferparams.C (BufferParams): reorder member initializers to avoid
3680 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3682 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3683 * text.C (updateRowPositions): remove an unusual nop
3685 2003-09-12 André Pönitz <poenitz@gmx.net>
3687 * BufferView_pimpl.C:
3696 * Counters.[Ch]: finish the 'automatic counters' job
3698 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3700 * aspell.C: include <boost/assert.cpp> (compile fix)
3702 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3704 * boost.C (assertion_failed): use lyx::support::abort instead of
3707 2003-09-10 Angus Leeming <leeming@lyx.org>
3709 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3710 with their _fwd progeny.
3712 2003-09-09 Angus Leeming <leeming@lyx.org>
3714 134 files throughtout the source tree: replace 'using namespace abc;'
3715 directives with the appropriate 'using abc::xyz;' declarations.
3717 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3719 * boost.C (emergencyCleanup): moved here from LAssert.c
3720 (assertion_failed): new function, called by BOOST_ASSERT
3722 * several files: change Assert to BOOST_ASSERT
3724 2003-09-09 Angus Leeming <leeming@lyx.org>
3726 * buffer.[Ch]: Add an Impl class and move Buffer's member
3727 variables into it. As a result move several header files out of
3730 Add header files to lots of .C files all over the tree as a result.
3732 2003-09-09 Angus Leeming <leeming@lyx.org>
3734 * buffer.[Ch]: make Buffer's member variables private. Add
3737 Lots of changes all over the tree as a result.
3739 2003-09-08 Angus Leeming <leeming@lyx.org>
3741 * graph.C: #include <config.h>.
3743 2003-09-08 Angus Leeming <leeming@lyx.org>
3747 * BufferView_pimpl.C:
3776 * toc.C: remove redundant using directives.
3778 2003-09-07 Angus Leeming <leeming@lyx.org>
3780 * LaTeXFeatures.h: remove #include "support/types.h".
3781 * ToolbarBackend.h: remove #include <algorithm>.
3782 * changes.h: remove #include <ctime>.
3783 * debug.h: remove #include <iosfwd>.
3784 * graph.h: remove #include "support/std_string.h".
3785 * lyx_main.h: remove #include <csignal>.
3786 * lyxlex_pimpl.h: remove #include <fstream>.
3787 * sgml.h: remove #include <algorithm>, <utility>.
3788 * toc.h: remove #include "support/std_ostream.h".
3789 Add #include <iosfwd>.
3791 2003-09-07 Angus Leeming <leeming@lyx.org>
3793 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3795 * converter.h: forward declare LatexRunParams.
3796 * encoding.h: remove #include "lyxrc.h".
3797 * lyxtext.h: remove #include "LColor.h".
3798 * lyxtextclass.h: remove #include "support/types.h".
3799 * trans.h: remove #include "tex-accent.h".
3800 * trans_mgr.h: remove #include "tex-accent.h".
3801 * insets/inset.h: remove #include "support/types.h", <vector>.
3802 * insets/insetcollapsable.h: remove #include "LColor.h".
3803 * insets/insetinclude.h: remove #include "dimension.h".
3804 * insets/insetlatexaccent.h: remove #include "dimension.h".
3805 * insets/insetoptarg.h:: remove #include "insettext.h".
3806 * insets/insettext.h: remove #include "dimension.h",
3807 <boost/shared_ptr.hpp>
3809 * insets/renderers.h: add #include "dimension.h".
3810 * insets/updatableinset.h: add #include "support/types.h".
3812 * many .C files: Associated changes.
3814 2003-09-06 Angus Leeming <leeming@lyx.org>
3816 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3817 one, inside testInvariant.
3819 * PrinterParams.C: new file.
3820 * PrinterParams.[Ch]: move the function bodies out of line.
3822 2003-09-06 Angus Leeming <leeming@lyx.org>
3824 * ParagraphParameters.h: forward declare ParameterStruct rather than
3825 including its header file.
3826 (depth): moved out-of-line.
3828 2003-09-06 Angus Leeming <leeming@lyx.org>
3830 * BufferView_pimpl.h:
3833 * lyxfunc.h: forward declare LyXKeySym rather than
3834 #include "frontends/LyXKeySym.h".
3836 * BufferView_pimpl.C:
3839 * lyxfunc.C: associated changes.
3841 2003-09-06 Angus Leeming <leeming@lyx.org>
3843 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3844 As a result, can remove the #include "insets/inset.h" from BufferView.h
3846 2003-09-06 Angus Leeming <leeming@lyx.org>
3848 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3849 As a result, can remove the #include "insets/inset.h" from BufferView.h
3851 2003-09-06 Angus Leeming <leeming@lyx.org>
3857 * bufferview_funcs.C:
3858 * BufferView_pimpl.C:
3863 * ParagraphParameters.C:
3868 * frontends/controllers/ControlDocument.C:
3869 * insets/insetcaption.C: rearrange the #includes into some sort of
3872 * buffer.h: remove #includes ErrorList.h, undo.h
3874 2003-09-06 Angus Leeming <leeming@lyx.org>
3876 * support/types.h: add a 'depth_type' typedef, used to store the
3877 nesting depth of a paragraph.
3880 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3881 defining explicitly.
3884 * paragraph_funcs.h:
3885 * ParagraphParameters.h:
3886 * sgml.h: use lyx::depth_type rather than Paragraph or
3887 ParameterStruct's depth_type.
3890 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3893 * BufferView_pimpl.C:
3895 * ParagraphParameters.C:
3898 * bufferview_funcs.C:
3905 * frontends/LyXView.C:
3906 * frontends/controllers/ControlDocument.C:
3907 * frontends/controllers/ControlErrorList.C:
3908 * insets/insetbibitem.C:
3909 * insets/insetbranch.C:
3910 * insets/insetcaption.C:
3911 * insets/insetcollapsable.C:
3912 * insets/insetenv.C:
3913 * insets/insetert.C:
3914 * insets/insetfloat.C:
3915 * insets/insetfoot.C:
3916 * insets/insetfootlike.C:
3917 * insets/insetnewline.C:
3918 * insets/insetquotes.C:
3919 * insets/insettabular.C:
3920 * insets/insettext.C:
3921 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3923 * frontends/controllers/ControlChanges.C: #include "changes.h".
3925 2003-09-06 Angus Leeming <leeming@lyx.org>
3927 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3928 than #including paragraph.h.
3931 * RowList.h: deleted. Superfluous.
3941 * insets/insettext.h: use ParagraphList_fwd.h rather than
3944 * paragraph.h: don't forward declare ParagraphList.
3947 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3948 rather than ParagraphList.h. paragraph.h is still needed for the
3949 Paragraph::depth_type parameters.
3951 * textcursor.h: enable it to compile stand-alone in light of the
3954 * bufferview_funcs.C:
3966 * frontends/controllers/ControlParagraph.C:
3967 * frontends/controllers/ControlTabular.C:
3968 * insets/insetmarginal.C:
3969 * insets/insetminipage.C:
3970 * insets/insetnote.C:
3971 * insets/insetoptarg.C: add header files needed to compile again.
3973 2003-09-06 Angus Leeming <leeming@lyx.org>
3975 * RowList_fwd.h: new file, forward-declaring Row rather than
3976 #including lyxrow.h.
3981 * insets/insettext.h: use it instead of RowList.h
3983 * bufferview_funcs.C:
3990 * text3.C: #include "RowList.h".
3992 2003-09-05 Angus Leeming <leeming@lyx.org>
3994 * factory.C (createInset):
3995 * vspace.C (c-tor): replace sscanf call with an istringstream.
3996 * ispell.C: re-add missing HP/UX headers.
3997 * lyxserver.C: re-add missing os2 headers.
3999 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4008 * text3.C: re-add missing system headers, needed for 2.95.2.
4010 2003-09-05 Angus Leeming <leeming@lyx.org>
4012 Changes most place everywhere due to the removal of using directives
4013 from support/std_sstream.h.
4015 2003-09-05 Angus Leeming <leeming@lyx.org>
4017 Replace LString.h with support/std_string.h,
4018 Lsstream.h with support/std_sstream.h,
4019 support/LIstream.h with support/std_istream.h,
4020 support/LOstream.h with support/std_ostream.h.
4022 Changes resulting throughout the tree.
4024 2003-09-05 Angus Leeming <leeming@lyx.org>
4026 * sgml.h: ensure that the header file can be compiled stand-alone.
4027 * *.C: strip out redundant #includes. (320 in total.)
4029 2003-09-04 Angus Leeming <leeming@lyx.org>
4031 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4032 here (from getPackages).
4034 * debug.[Ch]: add a new EXTERNAL tag.
4036 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4038 * text2.C (cursorEnd): simplify
4040 (getColumnNearX): adjust
4042 * text.C (computeBidiTables): adjust
4045 * rowpainter.C (paintChars): adjust
4046 (paintSelection): adjust
4047 (paintChangeBar): adjust
4050 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4052 (numberOfSeparators): adjust
4054 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4060 * text3.C: Restricts the mouse click functionality
4061 of insets like bibtex, include, toc and floatlist to the visible
4062 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4063 up the dialogs. Cursor has to be in front of the inset (i.e.
4064 start of row) for this to function.
4066 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4068 * bufferview_funcs.C (currentState): output row information
4070 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4072 * bufferview_funcs.C (currentState): output paragraph position
4074 2003-09-04 Angus Leeming <leeming@lyx.org>
4076 * FloatList.h: move out #include "Floating.h".
4077 * LaTeX.h: move out #include "DepTable.h".
4078 * LyXAction.h: move out #include "funcrequest.h".
4079 * buffer.h: move out #include "author.h", "iterators.h".
4080 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4081 * lyx_main.h: move out #include "errorlist.h".
4082 * lyxfunc.h: move out #include "FuncStatus.h".
4083 * lyxtext: move out #include "lyxcursor.h".
4084 * paragraph_pimpl.h: move out #include "counters.h".
4086 2003-09-03 Angus Leeming <leeming@lyx.org>
4088 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4089 preamble_snippets list, enabling us to add snippets to the preamble
4090 only if the snippet was not there already.
4092 2003-09-04 Angus Leeming <leeming@lyx.org>
4094 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4096 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4101 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4103 * BranchList.C: point fix, earlier forgotten
4105 2003-09-02 Angus Leeming <leeming@lyx.org>
4107 * box.C (contains): renamed from 'contained' after a fantastic
4110 2003-09-02 John Levon <levon@movementarian.org>
4116 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4118 2003-09-02 John Levon <levon@movementarian.org>
4120 * text2.C: simplification of cursorEnd(), including partial
4123 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * buffer.C (readFile): add a space
4127 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4129 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4131 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * buffer.C (readFile): new function, take a filename and a
4134 ParagraphList::iterator
4136 (readFile): adjust, make it private. don't use setStream, make
4137 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4138 always contain the filename.
4140 * BufferView.C (insertLyXFile): simplify and make it work for
4143 2003-08-30 John Levon <levon@movementarian.org>
4145 * Makefile.am: fix dist (from Kayvan)
4147 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * most files: change to use const Buffer refs
4151 2003-08-27 André Pönitz <poenitz@gmx.net>
4153 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4154 on top of ownerPar().
4156 2003-08-27 John Levon <levon@movementarian.org>
4158 * funcrequest.C: properly initialise POD members
4160 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4162 * lyxtext.h (top_y): move top_y from here
4167 * BufferView_pimpl.[Ch]: to here
4168 * frontends/screen.C:
4169 * insets/insettabular.C:
4170 * insets/insettext.C: adjust
4171 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4173 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4176 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4178 2003-08-26 André Pönitz <poenitz@gmx.net>
4180 * paragraph_func.[Ch] (outerPar): new function
4183 * paragraph_funcs.C:
4184 * paragraph_funcs.h:
4185 * paragraph_pimpl.C:
4186 * text2.C: remove Inset::par_owner
4188 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4193 * text2.C: eliminates the needFullRow/display() stuff
4194 altogether, putting the logic in metrics/draw in the insets.
4196 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4198 * text2.C (redoParagraphInternal, redoParagraphs):
4199 * text.C (redoParagraph): add a call to updateRowPositions at the
4200 end of each 'metrics-like' call. Remove all others.
4201 (getRow): remove the 'y-computing' version.
4202 (getRowNearY): do not compute nor return the real y. Solve the
4203 'y < 0' problem and simplify.
4205 2003-08-22 Angus Leeming <leeming@lyx.org>
4207 * *.[Ch]: clean-up of licence and author blurbs.
4208 Also move config.h out of a few .h files and into a few .C files.
4210 2003-08-22 André Pönitz <poenitz@gmx.net>
4212 * lyxrow.[Ch]: add x_ and *fill_ members
4217 * text2.C: adjust/remove prepareToPrint() calls
4219 2003-08-22 André Pönitz <poenitz@gmx.net>
4221 * lyxrow.[Ch]: add end_ member
4223 * lyxrow_funcs.C: use LyXRow::end_
4225 * lyxtext.h (singleWidth): add LyXFont parameter
4228 * text2.C: adjust LyXText::singleWidth() calls
4230 * text.C (redoParagraph): simplify row breaking logic
4233 2003-08-19 André Pönitz <poenitz@gmx.net>
4235 * funcrequest.C: initialize button_ member
4238 * rowpainter.[Ch]: interface consolidation
4240 2003-08-18 André Pönitz <poenitz@gmx.net>
4243 * BufferView_pimpl.C:
4245 * paragraph_funcs.C:
4247 * text3.C: remove LyXScreen::draw() and fitCursor calls
4249 * BranchList.h: remove spurious semicolons
4251 * MenuBackend.C: fix branchlist related crash
4253 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4261 * bufferparams.[Ch]:
4265 * text3.C: implements the 'branch inset'
4266 idea. This allows the output of various versions of a document
4267 from a single source version, selectively outputing or suppressing
4268 output of parts of the text.
4269 This implementation contains a 'branch list editor' in a separate
4270 tab of the document settings dialog. Branches are user definable
4271 and have a "display colour" to distinguish them on-screen.
4273 ColorHandler was somewhat cleaned up.
4274 (1) make possible a dynamically growing LColor list by allowing
4275 the graphic context cache to grow along (vector);
4276 (2) eliminate an IMHO unnecessary step in colour allocation.
4278 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4280 * BufferView_pimpl.C: compile fix
4282 2003-08-15 André Pönitz <poenitz@gmx.net>
4284 * rowpainter.C: remove extra metrics calls
4286 * lyxtext.h: merge the two constructors into a single one,
4287 pass reference to owner's par list
4289 * BufferView_pimpl.C:
4293 2003-08-15 André Pönitz <poenitz@gmx.net>
4295 * lyxrow_funcs.[Ch]:
4298 * paragraph_funcs.C:
4303 * text_funcs.C: split LyXText::rowlist_ into individual
4304 Paragraph::rows_ chunks
4307 * BufferView_pimpl.[Ch]:
4310 * text3.C: remove toggleSelection()
4312 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4314 * bufferlist.C: beautify two alerts (shorter text of buttons)
4315 * buffer.C: Remove redundant ' ' from message
4317 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4318 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4319 rename VALIGN_CENTER to VALIGN_MIDDLE
4321 2003-08-11 André Pönitz <poenitz@gmx.net>
4323 * lyxtext.h (getPar):
4324 * text.C: new function
4326 2003-08-11 André Pönitz <poenitz@gmx.net>
4329 * tracer.[Ch]: remove unneeded files
4331 * InsetList.[Ch]: remove resizeInsetsLyXText()
4336 * text3.C: merge insertParagraphs() and appendParagraph()
4337 remove breakAgain(), update()
4339 * BufferView_pimpl.[Ch]:
4340 * bufferview_funcs.[Ch]:
4344 * tabular.C: adjust after text & InsetList changes.
4346 2003-08-08 André Pönitz <poenitz@gmx.net>
4348 * text.C (insertChar, backspace): replace rowlist fiddling
4349 with rebreak of full par
4352 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4353 checkParagraph, updateInset): removed
4355 2003-08-07 André Pönitz <poenitz@gmx.net>
4358 * text3.C: merge some LFUN handlers, remove dead code
4360 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4362 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4364 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4366 * text2.C (DEPM): fix part of bug 1255 and 1256
4368 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4370 * BufferView_pimpl.C (workAreaDispatch): change to use
4371 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4372 that are no mouse related.
4374 2003-08-05 André Pönitz <poenitz@gmx.net>
4377 * BufferView_pimpl.[Ch]:
4378 * bufferview_funcs.C:
4380 * text3.C: rip out "deep update"
4382 * textcursor.[Ch] (last_sel_cursor): remove unused member
4384 2003-08-04 André Pönitz <poenitz@gmx.net>
4387 * BufferView_pimpl.[Ch]:
4388 * ParagraphParameters.C:
4389 * bufferview_funcs.C:
4395 * text3.C: replace "complicated" BufferView::update(...) calls with
4398 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4400 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4402 * Makefile.am (lyx_SOURCES): add paper.h
4404 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4406 * Makefile.am: move things around so that both lyx-qt and
4407 lyx-xforms can be built (according to --with-frontend). Then lyx
4408 is a symbolic link to lyx-[firstfrontend]
4410 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4412 * Always use std::endl with lyxerr
4414 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4416 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4418 2003-08-01 André Pönitz <poenitz@gmx.net>
4421 * BufferView_pimpl.[Ch]:
4423 * text3.C: merge BufferView::repaint() and BufferView::update()
4425 2003-08-01 José Matos <jamatos@lyx.org>
4427 * buffer.[Ch]: file_format is no longer a buffer data element.
4429 2003-08-01 André Pönitz <poenitz@gmx.net>
4434 * text2.C: make redoParagraph more independent of current cursor
4436 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4438 * text2.C: remove unneeded members
4440 2003-07-30 André Pönitz <poenitz@gmx.net>
4442 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4444 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4445 create a single function...
4447 * paragraph_funcs.C (moveItem): ... here.
4450 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4452 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4454 * LColor.[Ch]: Add comment and greyedout logical colors.
4456 2003-07-30 André Pönitz <poenitz@gmx.net>
4458 * tabular.C: don't use Assert too heavily. This crashes where it
4461 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4463 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4464 is disabled (bug 1232)
4466 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4468 * factory.C: limited 'arg' scope
4470 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4472 * factory.C: fixed Note submenu issues
4474 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4476 * factory.C: submenu for Note/Comment/Greyedout
4478 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4481 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4483 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4486 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4487 greyedout. Patch provided by Jürgen Spitzmüller.
4489 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4491 * kbmap.C (read): fix error message when reading bind files
4493 2003-07-29 Angus Leeming <leeming@lyx.org>
4495 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4496 certainly does not do what it purports to do. I am doing it, and
4497 us, a favour by killing it.
4499 2003-07-28 José Matos <jamatos@lyx.org>
4501 * buffer.C (readBody, do_writeFile):
4502 * paragraph.C(readParagraph): \end_document replaces \the_end.
4504 2003-07-29 André Pönitz <poenitz@gmx.net>
4507 * BufferView_pimpl.[Ch]:
4511 * textcursor.[Ch]: remove toggleToggle & Co
4513 2003-07-28 José Matos <jamatos@fep.up.pt>
4515 * buffer.C (readParagraph):
4516 * params_func (readParToken, readParagraph):
4517 * paragraph.C (write): \layout -> \begin_layout.
4519 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * lyxlex_pimpl.C (setFile): clean up slightly.
4523 * bufferparams.h: add compressed var
4525 * buffer_funcs.C (readFile): adjust for LyXLex change
4526 (newFile): ditto + simplify
4528 * buffer.C (writeFile): handle writing of compressed files
4530 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4531 Check if the file is compressed and set a bufferparm if so.
4533 * Makefile.am (lyx_LDADD): remove explicit -lz
4535 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4537 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4538 makeDocBookFile): put the real LyX version in the first line of
4542 * version.C.in: remove lyx_docversion
4544 * tabular.C (write_attribute): add a template-based version to
4545 write enums properly
4547 2003-07-28 André Pönitz <poenitz@gmx.net>
4552 * text3.C: use doubles again for x-coordinates. They are needed.
4554 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4556 * messages.C (getLocaleDir): use lyx_localedir()
4558 * lyxlex_pimpl.C (setFile): compress stuff
4560 * buffer.C (writeFile): add some compression stuff
4561 (do_writeFile): new func, dont call expliti close... will this
4564 * Makefile.am (lyx_LDADD): add -lz
4566 2003-07-28 José Matos <jamatos@fep.up.pt>
4568 * buffer.C: increment file format.
4569 * paragraph_funcs (readParagraph, readParToken):
4570 * paragraph.C (readParagraph): add \end_layout.
4572 2003-07-27 Angus Leeming <leeming@lyx.org>
4574 * Makefile.am: remove special casing for configure-time setting of
4575 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4577 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4578 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4580 2003-07-26 André Pönitz <poenitz@gmx.net>
4582 * paragraph_func.[Ch]:
4583 * paragraph.C (realizeFont): inline it whereever it is used
4588 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4591 2003-07-26 André Pönitz <poenitz@gmx.net>
4595 * text2.C: get rid of LyXText::need_break_row
4597 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * toc.[Ch]: put namespace toc inside namespace lyx
4601 * MenuBackend.C (expandToc2): adjust for lyx::toc
4604 * lyxfunc.C (dispatch): adjust for lyx::find
4606 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4607 lyx::find instead. Reorganize a bit.
4608 (LyXReplace): rename to replace
4609 (LyXFind): rename to find
4611 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4614 2003-07-26 André Pönitz <poenitz@gmx.net>
4616 * text.C (setHeightOfRow): restrict scope of temporary variable
4618 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4619 code (never has been used?)
4621 2003-07-27 Asger Alstrup <alstrup@local>
4623 * text.C (fill): Optimise algorithm to exploit that we can reuse
4624 the LyXFont for many characters.
4625 (setHeightOfRow): Same thing.
4626 (rowBreakPoint): Same thing.
4628 2003-07-26 Asger Alstrup <alstrup@local>
4630 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4632 * text.C (singleWidth): Spurious font copying in hot-spot
4633 singleWidth avoided. Reorder tests for arabic for efficiency.
4635 * text.C (fill): handle empty paragraphs better.
4637 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4640 * encoding.h: add includes
4642 * lyxrc.C: remove reading of bind files
4644 * lyx_main.C (init): setup bindings and menus only if we have a
4647 * kbmap.C (read): new method. Do the actual reading of bind
4650 * converter.C (dvipdfm_options):
4653 (output): adapt PAPER_* enums.
4655 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4657 * bufferparams.h: remove paper-related enums from there
4659 * paper.h: New file. A trivial header file to hold paper-related
4660 enums. It should later expand to contain many paper-related
4663 * lyxrc.C: declare extern displayTranslator
4665 2003-07-27 José Matos <jamatos@fep.up.pt>
4667 * tabular.[Ch] (linuxdoc): add support for tables and figures
4670 2003-07-27 José Matos <jamatos@fep.up.pt>
4672 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4673 consistency in both functions.
4674 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4676 2003-07-26 Asger Alstrup <alstrup@local>
4678 * rowpainter.C (paintRows): Change algorithm to work directly on
4679 the insets rather than asking every character in the document
4680 whether its an inset.
4682 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4684 * buffer.C (openFileWrite): factorize some code
4686 2003-07-26 Angus Leeming <leeming@lyx.org>
4689 * lyx_main.[Ch]: replace occurances of system_tempdir with
4692 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * rename Inset to InsetOld
4696 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4698 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4699 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4700 which I think is a bit clearer. EDIT is gone, since it was
4701 premature optimisation, and broken for mathed anyway.
4702 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4703 with cursor positioning in insets as well (math insets still do not
4704 work, but that's a different story anyway.) It mysteriously
4705 crashes sometimes with undo in the first paragraph, but I'm fairly
4706 confident that this is a compiler bug.
4708 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * paragraph.C (Paragraph): adjust for new clone return type
4712 (copyIntoMinibuffer): ditto
4714 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4716 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4717 by not having a special case, and always doing a full rebreak of
4718 the document after undo.
4720 2003-07-23 Angus Leeming <leeming@lyx.org>
4722 * factory.C (createInset): InsetExternal::setParams now takes a
4725 2003-07-23 Angus Leeming <leeming@lyx.org>
4727 * factory.C (createInset): changed interface to the external and
4728 graphics mailers' string2params functions.
4730 2003-07-23 Angus Leeming <leeming@lyx.org>
4732 * factory.C (createInset): pass a
4733 Buffer const * parameter to InsetExternalMailer's string2params.
4735 2003-07-22 John Levon <levon@movementarian.org>
4737 * Thesaurus.h: include the right aiksaurus header
4739 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4741 * MenuBackend.C (expand): check menu shortcuts unconditionally
4743 2003-07-21 Angus Leeming <leeming@lyx.org>
4745 * factory.C (createInset): pass a
4746 buffer_path parameter to InsetGraphicsMailer's string2params.
4748 2003-07-21 Angus Leeming <leeming@lyx.org>
4750 * BufferView_pimpl.C (buffer):
4753 * lyxfunc.C (dispatch):
4754 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4755 rather than the grfx shortcut.
4757 2003-07-21 André Pönitz <poenitz@gmx.net>
4759 * rowpainter.C: remove unused variables
4762 * tabular_funcs.h: move to tabular.C
4763 * Makefile.am: adjust
4765 * tabular.[Ch]: basic optical cleaning
4767 * author.h: pass references, not values
4769 2003-07-18 André Pönitz <poenitz@gmx.net>
4777 * text3.C: two-phase drawing for InsetText and InsetTabular
4778 some float -> int changes.
4780 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4782 * lyx_main.C: fix the fix
4784 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4786 * lyx_main.C: fix a crash in batch mode if no files specified
4789 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4791 * format.[Ch] (papersize): moved to BufferParams
4792 * converter.[Ch] (dvips_options): moved to BufferParams
4793 (dvipdfm_options): moved to anon namespace
4794 * bufferparams.[Ch]: added above functions.
4796 2003-07-17 André Pönitz <poenitz@gmx.net>
4800 * text2.C: don't call inset->update() anymore
4802 * metricsinfo.[Ch]: add convenience constructor
4804 2003-07-16 André Pönitz <poenitz@gmx.net>
4809 * text2.C: replace the LyXCursor::irow_ member with
4810 on-demand computation of the value
4812 2003-07-16 John Levon <levon@movementarian.org>
4814 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4816 2003-07-15 André Pönitz <poenitz@gmx.net>
4819 * text2.C: remove no more needed refresh_row
4821 2003-07-15 André Pönitz <poenitz@gmx.net>
4826 * text3.C: refresh_status tristate -> need_update bool
4828 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4830 * lyxtext.h (init): remove reinit argument (act as if always true)
4831 * text2.C: adjust to that
4833 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4835 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4836 * text3.C: use it to delete selections in some cases
4837 (bugs 441, 673, 702, 954).
4839 2003-07-14 André Pönitz <poenitz@gmx.net>
4841 * rowpainter.[Ch]: reduce interface
4843 2003-07-14 André Pönitz <poenitz@gmx.net>
4845 * BufferView_pimpl.C:
4846 * text2.C: adjust after removing unused BufferView * argument
4848 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4850 * text2.C (init): fix a crash fired on resize
4852 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4854 * buffer.[Ch]: added new closing signal
4855 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4856 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4857 BufferView::Pimpl via the closing the signal
4859 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4861 * buffer.[Ch]: take out all bv-related from buffer
4863 * BufferView_pimpl.[Ch]: connect to new signals
4864 * CutAndPaste.C: removed useless asserts
4865 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4868 * lyxfunc.C: moved view-related funciontality from vc here
4869 * paragraph.C: removed outdated comments
4872 2003-07-10 André Pönitz <poenitz@gmx.net>
4874 * BufferView_pimpl.C:
4878 * text2.C: remove InsetText::InnerCache, clean up consequences
4880 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4882 * ispell.C: fix two typos in error messages
4884 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4886 * Extend Note inset to other forms of annotation like Comment
4887 and Greyedout. Right button click gives dialog.
4889 Files modified or added (+):
4893 * ControlNote.[Ch] +
4895 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4896 frontends/controllers
4900 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4902 * aspell.C: add missing namespace lyx::support
4904 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4906 * BufferView.[Ch] (newFile): Add
4907 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4908 * LaTeX.[Ch] (message): added this signal and use it
4909 * buffer.[Ch] (busy, message): added these signals and use them
4910 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4914 * importer.C: use buffer signals instead of direct bv calling
4915 * lyx_cb.[Ch] (ShowMessage): removed
4918 * paragraph_funcs.C:
4919 * text2.C: use buffer signals
4921 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * introduce namespace lyx::graphics
4925 2003-07-02 André Pönitz <poenitz@gmx.net>
4927 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4929 2003-07-01 André Pönitz <poenitz@gmx.net>
4936 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4937 text*.C to text_func.C
4939 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * introduce namespace lyx::support
4943 2003-06-30 André Pönitz <poenitz@gmx.net>
4948 * text.C: re-enable --with-included-string
4950 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * textcursor.C: add <config.h>
4954 * text.C (getWord): remove const from word_location arg
4956 * lyxvc.C (getLogFile): fix const type order
4958 * lyxtext.h: remove const from word_location arg, add arg name
4960 * lyxlayout.h: currect type on labeltype.
4962 * importer.C: correct \file
4964 * converter.C (intToFormat): use std:: on ret val, ws changes
4966 * bufferlist.h: correct \file
4968 * buffer.C (makeLinuxDocFile): fix const type order
4969 (makeDocBookFile): ditto
4970 (fillWithBibKeys): use std:: on stdlib args.
4972 * CutAndPaste.C: fix authors.
4973 (availableSelections): use std:: on return vector
4975 2003-06-27 André Pönitz <poenitz@gmx.net>
4977 * BufferView_pimpl.C:
4978 * bufferview_funcs.C:
4986 * text3.C: remove LyXCursor::row_ member
4989 * text.C: rename fullRebreak() to partialRebreak() and implement
4990 a fullRebreak() that really bereks fully
4992 * textcursor.h: new struct for cursor-related data
4994 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4996 * lyx_main.C (LyX): get full path of document loaded on the
4999 2003-06-26 André Pönitz <poenitz@gmx.net>
5001 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5002 remove unused/broken operator>,<,>=.
5004 * text.C: remove only use of broken operator<= in an Assert().
5006 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5008 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5009 moved errorlist_.clear to showErrorList
5011 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5013 * converter.C (scanLog, runLaTeX):
5014 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5015 move the bv->showErrorList call to the callers
5016 * lyxfunc.C: i.e. here...
5018 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5019 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5020 namespace, the second to...
5021 * buffer_funcs (BufferFormat, parseErrors): added
5022 * errorlist.C (ErrorList(TeXErrors const &)): removed
5024 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5026 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5028 2003-06-24 "Garst R. Reese" <reese@isn.net>
5032 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5034 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5036 * version.C.in: change docversion to 1.4
5038 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5040 * buffer.C: fix a bug just introduced
5042 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5044 * buffer.[Ch]: added the parseError signal and use it, removed
5046 * BufferView.[Ch] (addError): moved to ...
5047 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5048 to the Buffer::parseError signal to catch (guess what) parse errors
5049 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5051 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5053 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5054 ability to create a buffer and to return an existing one from
5055 the list. Moved these functions to...
5056 * buffer_funcs.[Ch]: added
5057 * BufferView.[Ch] (loadLyXFile): added
5058 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5059 job removed from bufferlist::loadLyXFile.
5060 * buffer.C (setReadOnly): make it work without view
5061 (i.e added an if (users))
5063 2003-06-19 Angus Leeming <leeming@lyx.org>
5066 * LyXAction.C (init):
5067 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5068 with LFUN_DIALOG_SHOW <name> <data>.
5070 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5072 * CutAndPaste.C (availableSelections): small compilation fix for
5073 ancient (gcc 2.9x) compilers
5075 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * text3.C (cursorNext): add tmp var
5079 * text2.C (updateCounters): for function calling out of for clause
5080 (replaceSelectionWithString): ditto
5081 (insertStringAsParagraphs): ditto
5082 (getColumnNearX): add tmp var
5083 (setCursorFromCoordinates): add tmp var
5084 (cursorDownParagraph): add tmp var
5085 (deleteEmptyParagraphMechanism): add tmp var
5087 * text.C (insertChar): add tmp var
5089 * rowpainter.C (paintDepthBar): add tmp var
5091 * CutAndPaste.C (availableSelections): potentially check all
5092 paragraphs in a cut to fill the shown strings.
5094 2003-06-18 André Pönitz <poenitz@gmx.net>
5096 * kbmap.[Ch]: use vector<> instead of list<>
5098 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5100 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5101 pasteSelection with index
5103 * text2.C (pasteSelection): modify, call pasteSelection with index
5105 * paragraph.C (asString): reimplement version with no interval to
5106 call the one with interval.
5108 * lyxtext.h: add index arg to pasteSelection
5110 * MenuBackend.C (MenuItem): handle PasteRecent
5111 (Menu::read::Menutags): add md_pasterecent
5113 (expandPasteRecent): new function
5116 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5118 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5120 (availableSelections): new function
5122 2003-06-17 Angus Leeming <leeming@lyx.org>
5124 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5126 2003-06-17 Angus Leeming <leeming@lyx.org>
5129 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5131 * lyxfunc.C (dispatch): invoke it.
5133 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5135 * iterators.C (operator++, ParPosition): reintroduce some
5136 const_cast for the benefit of older compilers.
5138 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5140 * text3.C (dispatch): do not modify clipboard when doing
5141 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5142 LFUN_DELETE_SKIP on a selection selection
5144 2003-06-16 André Pönitz <poenitz@gmx.net>
5150 * tabular.[Ch]: IU of clone() and getLabelList();
5152 2003-06-13 André Pönitz <poenitz@gmx.net>
5154 * tabular.h: compactification
5156 2003-06-12 André Pönitz <poenitz@gmx.net>
5160 * tabular_funcs.h: some renaming plus whitespace
5162 2003-06-12 André Pönitz <poenitz@gmx.net>
5165 * BufferView_pimpl.C:
5171 * toc.C: Return a Paragraph & for ParIterator::operator*()
5173 2003-06-11 John Levon <levon@movementarian.org>
5177 * ToolbarBackend.C: add "Toolbars" section and
5180 2003-06-10 Angus Leeming <leeming@lyx.org>
5183 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5185 * lyxfunc.C (dispatch): invoke it.
5187 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * main.C: protect <ios> with HAVE_IOS
5190 (main): protect sync_with_stdio with HAVE_IOS
5192 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5194 * text2.C (cutSelection): adjust
5195 (pasteSelection): adjust
5197 * messages.C: handle get of empty string
5199 * main.C (main): use sync_with_stdio(false)
5201 * lyxfunc.C (dispatch): adjust
5203 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5204 (WriteAs): remove unneeded BufferView arg.
5206 * bufferparams.h: use correct types on papersize, papersize2 and
5209 * bufferparams.C (readToken): adjust for type
5210 (writeLaTeX): add missing cases to switch.
5212 * bufferlist.C (quitWriteBuffer): adjust
5215 * buffer.C (asciiParagraph): remove some commented code.
5217 * CutAndPaste.C: remove current_view extern variable.
5218 (cutSelection): add BufferParams arg.
5219 (eraseSelection): add BufferParams arg.
5220 (pasteSelection): add Buffer const & arg
5222 2003-06-07 John Levon <levon@movementarian.org>
5225 * paragraph_funcs.C:
5226 * paragraph_pimpl.C:
5230 * paragraph.C: allow InsetERT to freely space lines,
5231 and some consolidation of code
5233 2003-06-06 José Matos <jamatos@fep.up.pt>
5235 * buffer.C (makeDocBookFile): fix bug #821
5237 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5239 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5241 2003-06-04 Angus Leeming <leeming@lyx.org>
5243 * buffer.C: bump format to 224.
5245 2003-06-05 André Pönitz <poenitz@gmx.net>
5247 * text2.C (redoParagraphs): remove two const_cast<>
5249 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5251 * ParagraphList.h: remove last remnants of NO_STD_LIST
5253 2003-06-03 Angus Leeming <leeming@lyx.org>
5255 * factory.C (createInset): small change to the way InsetExternal's params
5258 2003-06-04 André Pönitz <poenitz@gmx.net>
5260 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5262 * paragraph_pimpl.h:
5263 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5265 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5267 * undo_funcs.C: make some simple cases of undo work again
5269 2003-06-03 John Levon <levon@movementarian.org>
5271 * ispell.C: HPUX doesn't have sys/select.h
5274 2003-06-03 John Levon <levon@movementarian.org>
5276 * CutAndPaste.C: update tabular and include inset
5281 * paragraph.C: remove owningBuffer(), don't pass Buffer
5284 * factory.C: insetGraphicsParams changed
5286 2003-06-02 John Levon <levon@movementarian.org>
5292 * text3.C: remove insetparent
5294 2003-06-02 John Levon <levon@movementarian.org>
5297 * buffer.C: fix inset_iterator.end(), move out of line
5300 2003-06-01 John Levon <levon@movementarian.org>
5302 * text3.C: use a proper cut/paste when doing inset
5303 insert (from Jürgen Spitzmüller)
5305 2003-06-01 John Levon <levon@movementarian.org>
5307 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5309 2003-05-30 André Pönitz <poenitz@gmx.net>
5311 * rowpainter.C: unify second drawing phase
5313 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * trans_mgr.C: remove one case of current_view
5317 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5319 * paragraph_funcs.h: remove paragraph.h include
5321 * paragraph.h: delete NO_STD_LIST stuff
5323 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5325 * buffer.h: remove paragraph.h include
5327 * ParagraphList.C: delete file
5329 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5331 * toc.C (getTocList): adjust
5333 * paragraph_pimpl.C (validate): adjust
5335 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5337 * paragraph.C (Paragraph): adjust
5338 (getPositionOfInset): use const_iterator, adjust
5339 (bibitem): use const_iterator, adjust
5340 (setInsetOwner): adjust
5342 * iterators.C (operator++): adjust
5344 * InsetList.[Ch]: Replace selfmade iterator with standard
5345 vector::iterator also introduce const_iterator. Remove getPos,
5346 getInset and setInset from InsetTable. Adjust accordingly.
5348 * BufferView.C (lockInset): adjust
5349 (ChangeInsets): adjust
5351 * tabular.[Ch]: delete commented same_id functions
5353 2003-05-28 John Levon <levon@movementarian.org>
5355 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5357 2003-05-28 André Pönitz <poenitz@gmx.net>
5359 * metricsinfo.[Ch]: remove 'fullredraw' member
5361 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5363 * lyxtextclass.C (operator): remove caching.
5365 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * text2.C (cursorBottom): adjust
5370 (setCounter): use ParagraphList::find, adjust
5372 * text.C (workWidth): use ParagraphList::find, adjust
5374 * lyxcursor.C (LyXCursor): adjust
5376 * buffer.C (inset_iterator): adjust
5378 * ParagraphList.h: make iterator(value_type) private, make
5379 ParagraphList a friend of iterator.
5381 * ParagraphList.C (find): new function
5383 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5385 2003-05-27 André Pönitz <poenitz@gmx.net>
5387 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5389 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5391 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5393 2003-05-26 John Levon <levon@movementarian.org>
5395 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5397 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * remove same_id from function signatures, adjust.
5401 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5405 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5407 * paragraph.C (Paragraph): get rid of same_ids parameter
5409 * ParagraphList.C (insert): adjust
5412 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * paragraph_funcs.C (breakParagraph): adjust
5415 (breakParagraphConservative): adjust
5417 * buffer.C (readParagraph): adjust
5419 * ParagraphList.C (insert): take a reference instead of a pointer
5422 * paragraph.[Ch] (id): new function
5424 * bufferlist.C (newFile): adjust
5426 * ParagraphList.C (ParagraphList): adjust
5428 (push_back): take a reference instead of a pointer.
5430 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5432 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5435 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5436 set else use old code.
5438 * ParagraphList.C: remove all NO_NEXT code and only compile this
5439 code of NO_STD_LIST is set.
5441 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5443 * BufferView_pimpl.C:
5453 * graphics/GraphicsConverter.C:
5454 * graphics/PreviewLoader.C: header adjustment
5456 2003-05-23 Angus Leeming <leeming@lyx.org>
5458 * LaTeXFeatures.[Ch] (useBabel): new method.
5459 * bufferparams.C (writeLaTeX): use it.
5461 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * ParagraphList.h (set): remove unused function.
5465 2003-05-23 André Pönitz <poenitz@gmx.net>
5468 * BufferView_pimpl.C:
5472 * undo_funcs.C: setUndo reworked
5474 * iterators.[Ch]: add access to topmost ParagraphList
5476 * lyxtext.[Ch] (workWidth): add a const
5478 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5480 * texrow.[Ch] (increasePos): remove function
5481 * exporter.C (export): removed unused var and outdated comment
5483 2003-05-23 Angus Leeming <leeming@lyx.org>
5485 * latexrunparams.h: rename fragile as moving_arg.
5486 * paragraph.C (simpleTeXOnePar): ditto.
5487 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5489 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5493 (textUndoOrRedo): comment out a currently unused var.
5495 * paragraph.h (NO_NEXT): enable NO_NEXT
5497 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5499 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5501 * exporter.C (Export): adjust for removeAutoInsets removal.
5503 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5505 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5507 * BufferView.[Ch] (removeAutoInsets): delete function
5509 2003-05-22 Angus Leeming <leeming@lyx.org>
5511 * latexrunparams.h: add a free_spacing variable.
5513 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5514 to pass moving_arg, as the data is stored in runparams.fragile.
5516 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5517 to Inset::latexOptional or to simpleTeXOnePar.
5519 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5520 free_spacing arg to Inset::latexOptional.
5522 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5525 2003-05-22 Angus Leeming <leeming@lyx.org>
5527 * latexrunparams.h: add fragile and use_babel variables.
5529 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5530 * buffer.C (makeLaTeXFile): store this returned value in
5531 runparams.use_babel, thus passing it to the inset::latex methods.
5533 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5534 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5536 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5537 longer has a fragile arg, as it is stored in runparams.fragile.
5539 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5540 moving_arg parameter as the data is stored in runparams.fragile.
5542 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5543 a fragile parameter as the data is stored in runparams.fragile.
5545 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5549 2003-05-22 Angus Leeming <leeming@lyx.org>
5551 * latexrunparams.h: add a 'bool nice' which defaults to false.
5553 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5554 now encapsulated within runparams.
5556 * bufferlist.C (updateIncludedTeXfiles):
5557 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5559 2003-05-22 Angus Leeming <leeming@lyx.org>
5561 * latexrunparams.h: new file containing struct LatexRunParams.
5562 * Makefile.am: add new file.
5564 * LaTeX.[Ch] (c-tor, run):
5565 * buffer.[Ch] (makeLaTeXFile):
5566 * bufferlist.[Ch] (updateIncludedTeXfiles):
5567 * converter.C (convert, scanLog):
5568 * converter.[Ch] (runLaTeX):
5569 * exporter.C (Export):
5570 * paragraph.[Ch] (simpleTeXOnePar):
5571 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5572 * paragraph_funcs.[Ch] (latexParagraphs):
5573 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5574 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5575 pass around a LatexRunParams parameter.
5577 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5579 * paragraph.[Ch]: remove unused constructor
5581 * ParagraphList.C (erase): new function, taking two iterators
5583 2003-05-22 André Pönitz <poenitz@gmx.net>
5585 * undo_funcs.C: remove duplicated code
5587 * iterator.[Ch]: operator=
5589 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * tabular.C (SetMultiColumn): ws changes
5593 * rowpainter.C (paintFirst): get rid of a ->previous
5595 * lyx_cb.C (getPossibleLabel): parlist simplification
5597 * BufferView.C (ChangeInsets): simplify slightly.
5599 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5601 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5602 * lfuns.h: new LFUN_SPACE
5603 * lyxfunc.C: protected space has a new lfun
5604 * paragraph_funcs.C: read new space insets
5606 * factory.C: handle new space insets
5608 2003-05-22 André Pönitz <poenitz@gmx.net>
5611 * BufferView_pimpl.C:
5614 * undo_funcs.C: return a ParIterator from getParFromID.
5616 * iterators.[Ch]: add two const's
5618 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * toc.C (getTocList): adjust
5622 * iterators.[Ch]: rework for parlist
5624 * buffer.C (par_iterator_begin): adjust
5625 (par_iterator_end): adjust
5627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5629 * BufferView.C (removeAutoInsets): adjust
5630 (ChangeInsets): adjust
5632 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5634 * text.C (top_y): fix bug 1110
5636 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5638 * errorlist.[Ch]: added
5641 * BufferView_pimpl.C:
5642 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5645 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5647 * Makefile.am: ensure that lyx is relinked upon changes to the
5648 various "convenience" libs.
5650 2003-05-20 Angus Leeming <leeming@lyx.org>
5652 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5653 files are compiled in alphabetical order again.
5655 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5657 2003-05-19 Angus Leeming <leeming@lyx.org>
5659 * gettext.[Ch]: remove "char const * _(char const *)".
5661 2003-05-19 André Pönitz <poenitz@gmx.net>
5663 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5672 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5674 2003-05-19 André Pönitz <poenitz@gmx.net>
5678 * lyxtextclass.[Ch]:
5680 * paragraph_funcs.[Ch]:
5682 * text3.C: more insetenv work
5684 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5686 * ParagraphParameters.C (params2string): small bug fixed
5688 2003-05-16 André Pönitz <poenitz@gmx.net>
5691 * bufferview_funcs.C: patch from Kornel Benko to prevent
5692 crash when _(...) is called twice in a statement
5694 2003-05-16 André Pönitz <poenitz@gmx.net>
5701 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5703 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5705 * lyx_main.C (init): remove spurious static_cast
5707 2003-05-14 André Pönitz <poenitz@gmx.net>
5709 * BufferView.C: fix format string
5711 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5713 * BufferView.[Ch] (insertErrors): removed
5714 * BufferView.[Ch] (showErrorList): added
5715 * buffer.C (runChkTeX):
5716 * converter.C (scanLog): call showErrorList instead of inserterrors
5718 2003-05-13 André Pönitz <poenitz@gmx.net>
5720 * BufferView_pimpl.C:
5722 * bufferview_func.C:
5729 * tabular_funcs.h: tostr() from its own header
5731 * ParagraphParameters.C:
5736 * text3.C: STRCONV()
5738 2003-05-12 André Pönitz <poenitz@gmx.net>
5741 * BufferView_pimpl.C:
5745 * ParagraphParameters.C:
5749 * bufferview_funcs.C:
5762 * paragraph_funcs.C:
5766 * text3.C: boost::format -> bformat all over the place
5769 2003-05-09 André Pönitz <poenitz@gmx.net>
5771 * LColor.[Ch]: Pimpl the #include <map> away
5773 2003-05-09 John Levon <levon@movementarian.org>
5775 * bufferlist.C: never remove emergency saves
5777 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5779 * Makefile.am: better lib building
5781 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5785 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5786 (simpleTeXSpecialChars): adjust
5787 (simpleTeXSpecialChars): adjust
5788 * paragraph.C (simpleTeXOnePar): adjust
5789 * buffer.C (makeLaTeXFile): adjust
5791 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5793 * text2.C (changeDepth): parlist cleanup
5794 (getColumnNearX): ditto
5796 * rowpainter.C (getLabelFont): parlist cleanup
5798 * bufferlist.C (newFile): parlist cleanup
5800 * CutAndPaste.C (eraseSelection): parlist cleanup
5802 * BufferView_pimpl.C (trackChanges): parlist cleanup
5805 * BufferView.C (lockInset): parlist cleanup.
5806 (ChangeInsets): ditto
5808 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * CutAndPaste.h: Update file header.
5812 * CutAndPaste.C: Update file header.
5813 Store the parts cut out of the Document in a limited_stack.
5814 (copySelection): adjust
5815 (pasteSelection): new function, takes the index in the limited stack.
5816 (nrOfParagraphs): adjust
5817 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5818 simplify error inset insertion.
5819 (checkPastePossible): adjust
5821 2003-05-06 John Levon <levon@movementarian.org>
5823 * text2.C: don't cast wrap inset to float
5825 2003-05-05 André Pönitz <poenitz@gmx.net>
5828 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5830 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5831 few naked Paragraph *.
5833 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5835 * bufferparams.C: Output warning if a document with missing
5836 TeX document class is loaded
5837 * exporter.C: Disable TeX exports if the document class is missing
5840 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5841 isTeXClassAvailable()
5843 2003-05-03 John Levon <levon@movementarian.org>
5846 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5847 explicit cursor show/hide
5849 * BufferView_pimpl.h:
5850 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5851 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5853 * lyxfunc.C: hide cursor before dispatching.
5858 * text3.C: remove explicit cursor hides
5860 2003-05-02 André Pönitz <poenitz@gmx.net>
5862 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5865 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5868 * text2.C: tiny whitespace
5870 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * undo_funcs.C: almost only ws changes.
5874 * ParagraphList.C (splice): just return if pl is empty.
5876 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * ParagraphList.C (splice): new function.
5880 * CutAndPaste.C (pasteSelection): use it
5882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * CutAndPaste.C (pasteSelection): remove the last next and
5885 previous from this file.
5887 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * CutAndPaste.C (pasteSelection): more clean up, user proper
5890 ParagraphList functions for pasteing.
5892 * ParagraphList.C (insert): new function, three arg insert
5894 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * ParagraphList.C (insert): new function, three arg insert
5898 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5901 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5905 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5909 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5912 (copySelection): clean up a bit.
5913 (pasteSelection): use make_pair
5915 * ParagraphList.C (ParagraphList): implement copy constructor
5916 (operator=): implement, base on copy constructor.
5919 * paragraph.C (erase): return a bool
5921 * paragraph_pimpl.C (erasePos): remove function, move contents...
5922 (erase): ... here. Return a bool.
5923 (erase): call erase instead of erasePos.
5925 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5927 * ParagraphList.h: define PitPosPair
5928 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5929 ParagraphList, fix a bug on pasting multiple pars
5930 * text2.C: change interface to C&P
5932 2003-04-30 André Pönitz <poenitz@gmx.net>
5934 * undo_func.C: revert part of yesterday's patch 2
5936 2003-04-30 John Levon <levon@movementarian.org>
5938 * LColor.C: s/tabular/table/
5940 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * text3.C (dispatch): do not convert iterator -> pointer
5943 * undo_funcs.C (setCursorParUndo): ditto
5944 * text_funcs.C (transposeChars): ditto
5946 * text2.C (setLayout): ws changes only
5948 * text.C (breakParagraph): do not convert iterator -> pointer
5950 (acceptChange): ditto
5951 (rejectChange): ditto
5956 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5959 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5961 * text3.C (gotoInset): YABG (yet another bad getChar)
5963 2003-04-29 André Pönitz <poenitz@gmx.net>
5965 * paragraph.h: make operator= private unimplemented as long as
5968 * ParagraphList.C: whitespace
5971 * paragraph_pimpl.[Ch]:
5972 * paragraph_funcs.C:
5974 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5977 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5979 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5981 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5982 * paragraph.[Ch] (erase):
5983 * paragraph_pimpl.[Ch] (erase): change return type and value
5984 * text2.C (cutSelection): some rework
5986 2003-04-28 John Levon <levon@movementarian.org>
5988 * bufferlist.C: changes for unsaved changes dialog
5990 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * bufferlist.C (newFile): set language (messages_) for new
5995 * buffer.C (readFile): ws changes only.
5997 2003-04-28 André Pönitz <poenitz@gmx.net>
6002 * BufferView_pimpl.C:
6003 * BufferView.C: getParFromID related ParagraphList::iterator changes
6005 2003-04-28 André Pönitz <poenitz@gmx.net>
6007 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6010 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * messages.C: remove one more localedir class variable.
6014 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6016 * messages.C (getLocaleDir): singleton generation function
6018 (Messages): add a default constructor.
6020 * main.C (main): do not setup localedir here, do not call
6023 * gettext.C (_): use it.
6024 (gettext_init): delete funciton
6026 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * gettext.C (getLyXMessages): new singleton generating function.
6030 * buffer.C (updateDocLang): adjust
6032 * Makefile.am (messages.o): add target
6033 (main.o): remove target
6035 2003-04-27 John Levon <levon@movementarian.org>
6040 * lyxvc.C: specify cancel button in Alert::prompt
6042 2003-04-26 John Levon <levon@movementarian.org>
6047 * LyXAction.C: add LFUN_INSET_SETTINGS
6049 * lyxfunc.C: don't enable tabular-feature when there's
6050 just any locking inset
6052 2003-04-26 John Levon <levon@movementarian.org>
6054 * bufferlist.C: re-add Cancel to buffer close question
6056 * lyxfunc.C: fix import UI a bit
6058 2003-04-25 John Levon <levon@movementarian.org>
6060 * gettext.C: remove the broken asserts for now
6062 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * messages.C: make case where setlocale cannot comply work better.
6066 * buffer.C (updateDocLang): new function
6067 (changeLanguage): use it
6070 * text2.C (setCounter): use B_ a bit.
6072 * lyxlayout.C (Read): be sure to trim the label strings.
6074 * messages.C (Messages): fix typo in comment
6076 * buffer.C (readFile): set message_ after file is loaded.
6077 (makeDocBookFile): remove double return
6078 (changeLanguage): reset message_ upon language change.
6079 (B_): new func, use this to get translated buffer strings.
6081 * main.C: add myself and Jean Marc as authors.
6083 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * messages.[hC]: pimplify Messages, and three different pimpls to be
6086 used in different circumstances.
6088 * gettext.[Ch]: change for use with new message code.
6090 2003-04-24 André Pönitz <poenitz@gmx.net>
6092 * factory.C: support for eqref
6094 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * messages.[Ch]: add missing char
6098 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6100 * messages.[Ch]: New files
6102 2003-04-18 John Levon <levon@movementarian.org>
6106 * BufferView_pimpl.C:
6110 * text2.C: remove layout-copy/paste (bug 778)
6112 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6114 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6116 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6118 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6119 if they succeed. Act accordingly.
6121 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * text2.C (setCharFont): adjust
6124 (setCounter): adjust
6125 (insertStringAsLines): adjust
6127 * text.C (leftMargin): adjust
6128 (setHeightOfRow): adjust
6130 * rowpainter.C (paintFirst): adjust
6133 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6135 (isFirstInSequence): ditto
6136 (getEndLabel): ditto
6139 * paragraph.C (getParLanguage): comment out some hard stuff.
6141 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6143 (simpleDocBookOnePar): ditto
6144 (makeDocBookFile): use ParagraphList::iterator
6146 * CutAndPaste.C (pasteSelection): adjust
6148 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * text2.C (getFont): adjust
6151 (getLayoutFont): adjust
6152 (getLabelFont): adjust
6154 * paragraph_funcs.C (TeXOnePar): adjust
6156 * buffer.C (simpleLinuxDocOnePar): adjust
6157 (simpleDocBookOnePar): adjust
6159 * CutAndPaste.C (pasteSelection): adjust
6161 * BufferView.C (getEncoding): adjust
6163 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6165 2003-04-16 John Levon <levon@movementarian.org>
6167 * lyxfind.C: use parlist stuff for search/changes
6169 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6173 * text2.C (deleteEmptyParagraphMechanism): adjust
6175 * text2.[Ch] (ownerParagraph): delete func (both of them
6177 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6181 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * ParagraphList.C: prepare for NO_NEXT
6185 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * text2.C (getFont): adjust
6188 (getLayoutFont): adjust
6189 (getLabelFont): adjust
6191 * paragraph.C (getFont): adjust
6192 (getLabelFont): adjust
6193 (getLayoutFont): adjust
6195 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6197 2003-04-15 John Levon <levon@movementarian.org>
6201 * lyx_main.C: handle Include in .ui files
6203 2003-04-15 John Levon <levon@movementarian.org>
6205 * MenuBackend.C: make the doc files length shorter
6208 * ToolbarBackend.C: handle toolbar placement flags,
6211 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6216 * paragraph_funcs.C (TeXOnePar): adjust
6218 * paragraph.C (getLabelFont): add outerfont arg, adjust
6219 (getLayoutFont): ditto
6220 (simpleTeXOnePar): adjust
6222 * paragraph_pimpl.C (realizeFont): delete func
6224 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6226 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6227 row argument, constify cur argument.
6229 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * text2.C (getFont): adjust
6232 (getLayoutFont): adjust
6233 (getLabelFont): adjust
6235 * paragraph_funcs.C (TeXOnePar): adjust
6236 (outerFont): new func...
6237 (realizeFont): ...moved out from here, changed this to facilitate
6240 * paragraph.C (getFont): take outerfont as arg, adjust
6241 (simpleTeXOnePar): add outerfont arg, adjust
6243 * buffer.C (simpleLinuxDocOnePar): adjust
6244 (simpleDocBookOnePar): adjust
6246 * CutAndPaste.C (pasteSelection): adjust
6248 * BufferView.C (getEncoding): adjust
6250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * text2.C (setCharFont): adjust
6253 (setCounter): adjust
6255 * text.C (leftMargin): adjust
6256 (setHeightOfRow): adjust
6258 * rowpainter.C (paintFirst): adjust
6261 * paragraph_pimpl.C (realizeFont): adjust
6263 * paragraph.C (isFirstInSequence): move from here...
6264 * paragraph_funcs.C (isFirstInSequence): ...to here
6266 * paragraph.C (outerHook): move from here...
6267 * paragraph_funcs.C (outerHook): ...to here
6269 * paragraph.C (depthHook): move from here...
6270 * paragraph_funcs.C (depthHook): ...to here
6272 * paragraph.C (getEndLabel): move from here...
6273 * paragraph_funcs.C (getEndLabel): ...to here
6275 * text2.C (realizeFont): move from here...
6276 * paragraph_funcs.C (realizeFont): ...to here
6278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6282 2003-04-14 Angus Leeming <leeming@lyx.org>
6284 * LColor.[Ch]: scrap LColor mathcursor.
6286 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * lyxlex.[Ch] (text): delete function
6289 * trans.C (Load): adjust
6290 * paragraph_funcs.C (readParToken): adjust
6292 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6295 vector<char> instead of a char[].
6297 * lyxlex_pimpl.C (getString): adjust
6299 (lex): use getString
6303 * lyxlex.C (text): use pimpl_->getString()
6307 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6310 (makeFontEntriesLayoutSpecific): temp var for par.size()
6311 (setLayout): temp var for ownerParagraphs().end()
6312 (fullRebreak): temp var for rows().end()
6313 (selectionAsString): temp var for boost::next(startpit), realize
6314 that the while really is a regular for loop.
6315 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6316 setCursor in one place.
6317 (setParagraph): temp vr for ownerParagraphs().end()
6318 (updateCounters): make the while loop a for loop
6319 (cutSelection): temp var for ownerParagraphs().end()
6320 (updateInset): make the do {} while() a regular for loop
6321 (getCursorX): use temp vars
6322 (setCurrentFont): use temp vars
6323 (getColumnNearX): use temp vars
6325 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * text.C (transformChar): use temp var for getChar
6328 (computeBidiTables): use temp var for row->par()
6329 (fill): move temp vars for row->par() and pit->layout() earlier in
6331 (labelFill): use temp var for row->par()
6332 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6333 asc and desc, realize that pit never changes and that firstpit is
6334 just a duplicate and not needed. Exchange rit->par() with pit in a
6336 (breakAgain): use a temp var for boost::next(rit)
6337 (breakAgainOneRow): ditto
6338 (breakParagraph): use a temp var for rows().begin()
6339 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6340 (cursorRightOneWord): use temp var for cursor.par() and
6341 cursor.pos(), remove usage of tmpcursor.
6342 (cursorLeftOneWord): use temp var for cursor.par() and
6343 cursor.pos() only set cur at end of function.
6345 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * text.C, text2.C: exchange all usage of Paragraph::next with
6348 boost::next(ParagraphList::iterator)
6350 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6352 * text2.C (cursorTop): simplify implementation
6353 (cursorBottom): ditto
6354 (setParagraph): use ParagraphList::iterator
6355 (setCurrentFont): adjust
6356 (getColumnNearX): adjust
6357 (cursorRight): adjust
6358 (cursorLeft): remove usage of Paragraph::previous
6359 (cursorUpParagraph): ditto
6360 (deleteEmptyParagraphMechanism): slight cleanup
6362 * text.C (isBoundary): take a Paragraph const & instead of a
6364 (addressBreakPoint): ditto
6365 (leftMargin): remove usage of Paragraph::previous.
6366 (setHeightOfRow): ditto
6367 (cursorLeftOneWord): ditto
6368 (selectNextWordToSpellcheck): ditto
6371 (breakParagraph): remove one usage of Paragraph::next
6372 (redoParagraph): ditto
6373 (acceptChange): ditto
6374 (insertChar): adjust
6375 (rowBreakPoint): adjust
6377 * bufferview_funcs.C (toggleAndShow): adjust
6379 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6381 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6382 methods to access it.
6384 * text.C: Added updateRowPositions to compute all row positions.
6385 Make top_y and getRowNearY() to use the cached y position
6387 2003-04-11 John Levon <levon@movementarian.org>
6389 * text.C (rowBreakPoint): reintroduce the labelEnd
6390 checks, code copied from the row fill stuff. Deep voodoo.
6392 * text.C (fill): add a comment and debugging for the
6395 2003-04-11 John Levon <levon@movementarian.org>
6397 * text.C: make sure fullrow insets get wrapped to the next line,
6398 even when they're in a manual label
6400 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * text2.C (insertParagraph): make it take ParagraphList::iterator
6404 (setLayout): make it return ParagraphList::iterator
6405 (redoParagraphs): ditto
6407 (checkParagraph): ditto
6409 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6411 * text2.C: adjust several funcs.
6412 (realizeFont): take a ParagraphList::iterator as arg.
6413 (getLayoutFont): ditto
6414 (getLabelFont): ditto
6415 (setCharFont): ditto
6417 * text.C: adjust several funcs.
6419 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6421 * text.C (selectNextWordToSpellcheck): don't accidentally
6424 2003-04-10 John Levon <levon@movementarian.org>
6426 * ToolbarBackend.C (getIcon): special handling for
6429 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6431 * text2.C (cursorRight): a getChar assert fixed
6433 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * text2.C (getFont): change to take a ParagraphList::iterator
6436 instead of Paragraph*
6437 Adjust several functions.
6439 * text.C (transformChar): change to take a ParagraphList::iterator
6440 instead of Paragraph*
6441 (singleWidth): ditto
6442 Adjust several functions.
6444 * rowpainter.C: adjust several functions
6445 * rowpainter.h:store a ParagraphList::iterator and not a
6449 2003-04-09 John Levon <levon@movementarian.org>
6454 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6455 and the "help" bits as well
6457 2003-04-09 John Levon <levon@movementarian.org>
6460 * ToolbarBackend.C: allow multiple toolbars
6462 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * undo_funcs.C (setCursorParUndo): adjust
6466 * text_funcs.C (transposeChars): adjust
6468 * text3.C (gotoNextInset): adjust
6471 * text2.C (setLayout): adjust
6472 (changeDepth): adjust
6474 (redoParagraphs): adjust
6475 (selectionAsString): adjust
6476 (setParagraph): adjust
6477 (insertInset): adjust
6478 (cutSelection): adjust
6479 (copySelection): adjust
6480 (pasteSelection): adjust
6481 (insertStringAsLines): adjust
6482 (updateInset): adjust
6483 (setCursor): change to take a ParagraphList::iterator parameter
6484 (setCursorIntern): change to take a ParagraphList::iterator parameter
6485 (setCurrentFont): adjust
6486 (cursorLeft): adjust
6487 (cursorRight): adjust
6488 (deleteEmptyParagraphMechanism): adjust
6490 * text.C (breakParagraph): adjust
6491 (insertChar): adjust
6492 (acceptChange): adjust
6493 (rejectChange): adjust
6494 (selectNextWordToSpellcheck): adjust
6495 (changeCase): adjust
6499 * lyxfind.C (SearchForward): adjust
6500 (SearchBackward): adjust
6501 (nextChange): adjust
6503 * lyxcursor.C (par): adjust
6505 * lyxcursor.h: store a ParagraphList::iterator instead of a
6508 * lyx_cb.C (getPossibleLabel): adjust
6510 * bufferview_funcs.C (toggleAndShow): adjust
6512 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6515 * BufferView.C (removeAutoInsets): adjust
6516 (lockedInsetStoreUndo): adjust
6518 2003-04-09 John Levon <levon@movementarian.org>
6520 * ToolbarBackend.C: try icon without argument
6521 if with argument fails
6523 2003-04-08 John Levon <levon@movementarian.org>
6526 * ToolbarBackend.C: add getIcon(), handle tooltip,
6527 and change from "Icon" to "Item".
6529 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6531 * BufferView.C (lockInset): another bad getchar crunched
6533 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6535 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6538 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6540 * lyxfind.C (searchForward, searchBackwards): bug 782
6542 2003-04-07 John Levon <levon@movementarian.org>
6544 * paragraph.C: remove dead comment
6546 * text.C: remove troublesome depth-fiddling code
6547 in leftMargin() and rightMargin() (bug 1017)
6549 * text.C: fix breaking of rows in nested lists
6552 * text2.C (updateCounters): fix up depth values
6555 2003-04-07 John Levon <levon@movementarian.org>
6557 * BufferView_pimpl.C: clear message when doc finishes resizing,
6558 and after a mouse event
6560 * lyxfunc.C: clear message after exiting inset
6562 2003-04-07 John Levon <levon@movementarian.org>
6564 * bufferview_funcs.C: show math status not outside
6565 status in the statusbar
6567 2003-04-07 John Levon <levon@movementarian.org>
6569 * lyxfunc.C: note status changed after a depth change
6571 2003-04-04 Angus Leeming <leeming@lyx.org>
6573 * LaTeX.h: move AuxInfo operator==, != out of line.
6574 Remove LaTeX virtual destructor; nothing derives from it.
6575 Move operator()() out of public area and rename it startscript().
6576 Change protected for private.
6578 2003-04-04 Angus Leeming <leeming@lyx.org>
6581 * text2.C: remove unneeded #includes.
6583 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6585 * text2.C (dEPM): fix the heigth of the next row
6587 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6589 * text.C: squashed an invalid getChar requester + some ws changes
6591 2003-04-03 John Levon <levon@movementarian.org>
6593 * bufferview_funcs.h:
6594 * bufferview_funcs.C:
6597 * text2.C: make getStatus work for the env depth lfuns
6599 2003-04-03 John Levon <levon@movementarian.org>
6601 * bufferview_funcs.h:
6602 * bufferview_funcs.C:
6605 * text2.C: parlistize decDepth(), by merging it with incDepth()
6607 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * lyxrow.h: store a ParagraphList::iterator instead of a
6610 Paragraph* and adjust other class functions to suit.
6612 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6615 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6617 * text2.C (setCursor): do not anchor to cursor row for the time being
6619 2003-04-02 John Levon <levon@movementarian.org>
6626 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6628 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * paragraph.h: make ParagraphList and ParagraphList::iterator
6631 friends of Paragraph.
6633 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6635 * ParagraphList.C: Use the private next_ and previous_ from
6638 2003-04-01 John Levon <levon@movementarian.org>
6642 * Makefile.am: rename, remove defaults gunk
6645 * MenuBackend.C: remove defaults gunk
6648 * Languages.C: remove defaults gunk
6651 * lyx_main.C: error out if files couldn't be found.
6653 2003-04-02 John Levon <levon@movementarian.org>
6655 * text2.C: make incDepth() use parlist
6657 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * undo_funcs.C (firstUndoParagraph): adjust
6661 * text3.C (gotoInset): adjust
6662 (dispatch): adjust, and rewrite loop.
6664 * text2.C (init): adjust, and rewrite loop.
6665 (redoParagraphs): adjust
6666 (updateInset): adjust, and rewrite loop.
6667 (deleteEmptyParagraphMechanism): adjust
6669 * tabular.C (LyXTabular): adjust
6670 (SetMultiColumn): adjust
6673 * lyxtext.[Ch] (ownerParagraph): delete function
6674 (ownerParagraphs): new function returns a ParagraphList.
6676 * BufferView.C (removeAutoInsets): adjust
6677 (insertErrors): adjust
6678 (setCursorFromRow): adjust
6680 2003-04-01 Angus Leeming <leeming@lyx.org>
6682 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6685 2003-04-02 John Levon <levon@movementarian.org>
6691 * text_funcs.C: make transposeChars a free function
6693 * lyxrow_funcs.C: remove wrong comment
6695 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * rowpainter.C: adjust
6703 * lyxrow_funcs. [Ch]: new files
6705 * lyxrow.[Ch]: remove next and previous pointers
6706 (next,previous): remove accessor functions
6707 (isParEnd): move to lyxrow_funcs
6708 (lastPos): move to lyxrow_funcs
6709 (nextRowIsAllInset): move to lyxrow_funcs
6710 (lastPrintablePos): move to lyxrow_funcs
6711 (numberOfSeparators): move to lyxrow_funcs
6712 (numberOfHfills): move to lyxrow_funcs
6713 (numberOfLabelHfills): move to lyxrow_funcs
6714 (hfillExpansion): move to lyxrow_funcs
6718 * bufferview_funcs.C (toggleAndShow): adjust
6720 * RowList.h: Remove class RowList from file leave just a
6723 * RowList.C: delete file
6725 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6728 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * text3.C (cursorPrevious): adjust
6731 (cursorNext): adjust
6734 * text2.C (redoHeightOfParagraph): adjust
6735 (redoDrawingOfParagraph): adjust
6738 * text.C (breakParagraph): adjust
6739 (insertChar): adjust
6742 * rowpainter.C (RowPainter): adjust
6743 (leftMargin): simplify and adjust
6744 (most rowpainter functions): adjust.
6746 * rowpainter.h: store the row as RowList::iterator not as Row*
6748 * lyxcursor.C (row): taka RowList::iterator as arg
6751 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6754 2003-04-01 Angus Leeming <leeming@lyx.org>
6756 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6757 stuff like bool Bool.
6759 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6761 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6764 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6769 * lyxtext.h (rows): drop one version and leve a const variant that
6770 returns a RowList::iterator.
6772 2003-03-31 Angus Leeming <leeming@lyx.org>
6774 * text.C (fill): ensure that the signature is the same as that in the
6777 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * text2.C (redoParagraphs): adjust
6780 (updateCounters): adjust
6781 (checkParagraph): adjust
6782 (getColumnNearX): adjust and reformat a bit.
6784 * text.C (top_y): adjust
6786 (leftMargin): adjust
6787 (prepareToPrint): adjust
6789 (getRowNearY): adjust
6791 * lyxtext.h: make rowlist_ mutable.
6793 * RowList.h: add const_iterator
6794 * RowList.C: adjust for RowList::const_iterator.
6796 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6799 2003-03-31 John Levon <levon@movementarian.org>
6802 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6804 * lyx_main.C: set default fonts from using lyx_gui funcs
6806 * exporter.C: pdf_mode moved from lyxrc
6809 * lyxfunc.C: changes from above
6811 2003-03-31 John Levon <levon@movementarian.org>
6813 * lyx_main.C: fix to the last fix
6815 2003-03-31 John Levon <levon@movementarian.org>
6817 * bufferlist.C: "Load original" -> "Load Original"
6823 * format.C: more Alert cleanups
6825 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * text2.C (removeParagraph): make it take a RowList::iterator as
6829 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6830 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6832 * text.C (anchor_row): make it take a RowList::iterator as arg,
6834 (computeBidiTables): make it take a const reference to Row instead
6835 of Row pointer, adjust.
6836 (leftMargin): make it take a RowList::iterator as arg, adjust.
6837 (rowBreakPoint): adjust
6838 (breakAgainOneRow): make it take a RowList::iterator as arg,
6840 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6842 * bufferview_funcs.C (toggleAndShow): adjust
6844 2003-03-30 John Levon <levon@movementarian.org>
6848 * boost-inst.C: moved to support
6850 * several files: changes as a result
6852 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * text2.C (LyXText): adjust.
6856 (removeRow): make it take a RowList::iterator as arg, adjust.
6857 (fullRebreak): adjust
6858 (deleteEmptyParagraphMechanism): adjust
6859 (clearPaint): adjust
6862 * text.C (top_y): adjust
6863 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6864 (breakAgain): make it take a RowList::iterator as arg, adjust.
6865 (breakParagraph): adjust
6866 (insertChar): adjust
6869 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6870 need_break_row, and refresh_row.
6872 * text3.C (dispatch): adjust
6874 * text2.C (checkParagraph): adjust
6876 (setCursorFromCoordinates): adjust
6878 * text.C (top_y): adjust
6880 (getRow): make it return a RowList::iterator, adjust
6881 (getRowNearY): make it return a RowList::iterator, adjust
6883 * text2.C (init): adjust
6884 (insertRow): remove function
6885 (insertParagraph): adjust
6886 (redoParagraphs): adjust
6887 (fullRebreak): adjust
6888 (updateCounters): adjust
6890 * text.C (top_y): rewrite to use RowList iterators.
6892 (setHeightOfRow): rewrite to sue RowList iterators.
6893 (appendParagraph): adjust
6894 (breakAgain): adjust
6895 (breakAgainOneRow): adjust
6896 (breakParagraph): adjust
6898 (getRowNearY): adjust, and remove commented code.
6900 * lyxtext.h (firstRow): delete function
6901 (lastRow): delete function
6902 (rows): new function (const and non-const versions.)
6903 (insertRow): delete function
6905 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6907 2003-03-29 John Levon <levon@movementarian.org>
6909 * BufferView_pimpl.C: always update scrollbar top
6910 because pasting text when we're anchored could mean we
6911 miss an update altogether
6913 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * text2.C (init): use rowlist_.end() and not 0.
6916 (insertRow): change to take a RowList::iterator as arg, adjust
6918 (insertParagraph): change to take a RowList::iterator as arg,
6920 (redoParagraphs): remove some debug msgs.
6922 * text.C (appendParagraph): change to take a RowList::iterator
6923 arg, adjust for this.
6924 (breakAgain): add an assert
6925 (breakAgainOneRow): ditto
6927 2003-03-29 John Levon <levon@movementarian.org>
6929 * text2.C: do not clear selection after inc/decDepth
6932 2003-03-29 John Levon <levon@movementarian.org>
6935 * buffer.C: fix broken strerrors according to Lars
6937 2003-03-29 John Levon <levon@movementarian.org>
6939 * converters.C: more Alert cleanups
6941 2003-03-29 John Levon <levon@movementarian.org>
6943 * bufferview_funcs.C: remove pointless Alert
6945 * buffer.C: fix confusing error message when
6946 a template is chmoded 000
6948 2003-03-29 John Levon <levon@movementarian.org>
6952 * BufferView_pimpl.C: Alert fixes
6956 * tabular-old.C: remove unused table compat reading
6958 2003-03-29 John Levon <levon@movementarian.org>
6963 * lyx_cb.C: more Alert cleanups
6965 * lyxfunc.C: don't allow chktex if not latex document
6967 2003-03-29 John Levon <levon@movementarian.org>
6971 * buffer.C: warnings pushed down from support/,
6974 2003-03-29 John Levon <levon@movementarian.org>
6976 * lyxfunc.C: safety check for C-r (revert)
6978 2003-03-29 John Levon <levon@movementarian.org>
6981 * bufferlist.C: several UI fixes using Alert::prompt.
6982 Fix the pointless looping quit code. Fix stupid revert
6987 * lyx_cb.C: use Alert::prompt
6989 * lyx_main.C: remove a silly question
6991 * lyxfunc.C: remove a couple of silly questions,
6994 2003-03-28 John Levon <levon@movementarian.org>
6996 * text2.C: fix bug 974 (End on empty par)
6998 2003-03-28 John Levon <levon@movementarian.org>
7000 * BufferView_pimpl.C:
7002 * lfuns.h: remove do-nothing math greek lfuns
7004 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * lyxgluelength.h (isValidGlueLength): add default arg on
7007 parameter 2. Remove default arg from friend in class.
7009 * lyxlength.h (isValidLength): add default arg on parameter 2.
7010 Remove default arg from friend in class.
7012 * text2.C (LyXText): adjust, initialize refresh_row.
7016 (insertParagraph): adjst
7017 (redoParagraphs): adjust
7018 (fullRebreak): adjust
7019 (updateCounters): adjust
7020 (deleteEmptyParagraphMechanism): first attempt at fixing a
7023 * text.C (top_y): adjust
7024 (setHeightOfRow): adjust
7026 (getRowNearY): adjust
7028 * lyxtext.h: include RowList.h
7029 (~LyXText): not needed anymore, deleted.
7030 (firstRow): modify for RowList
7031 (lastRow): new function
7032 Delete firstrow and lastrow class variables, add a Rowlist
7033 rowlist_ class variable.
7035 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7038 * RowList.C (insert): fix case where it == begin().
7040 2003-03-26 Angus Leeming <leeming@lyx.org>
7042 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7043 the thesaurus dialog.
7045 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7049 * RowList.[Ch]: new files
7051 * ParagraphList.C (erase): handle the case where it == begin
7054 2003-03-25 John Levon <levon@movementarian.org>
7058 * aspell.C: add new aspell support
7061 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7064 2003-03-25 Angus Leeming <leeming@lyx.org>
7067 * LyXAction.C (init): new LFUN_INSET_INSERT.
7069 * BufferView_pimpl.C (dispatch): split out part of the
7070 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7072 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7075 2003-03-25 Angus Leeming <leeming@lyx.org>
7077 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7079 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7082 * text3.C: remove useless row->height(0)
7084 2003-03-25 John Levon <levon@movementarian.org>
7088 * text3.C: rename the refreshing stuff to better names
7090 2003-03-24 John Levon <levon@movementarian.org>
7092 * BufferView_pimpl.h:
7093 * BufferView_pimpl.C: update layout choice on a mouse
7096 2003-03-23 John Levon <levon@movementarian.org>
7098 * Makefile.am: fix commandtags.h reference
7100 2003-03-22 John Levon <levon@movementarian.org>
7102 * BufferView_pimpl.C:
7107 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7109 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7112 * text.C: take the rtl methods out of line
7114 2003-03-21 André Pönitz <poenitz@gmx.net>
7116 * metricsinfo.[Ch]: new files containing structures to be passed around
7117 during the two-phase-drawing...
7119 2003-03-21 André Pönitz <poenitz@gmx.net>
7121 * lyxtextclass.C: read 'environment' tag.
7123 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7125 * text2.C (removeRow): fix bug 964
7127 2003-03-20 John Levon <levon@movementarian.org>
7131 * text2.C: paint cleanups. Inset::update() dropped font
7134 2003-03-19 John Levon <levon@movementarian.org>
7136 * lyxfunc.C: only fitcursor/markDirty if available()
7138 2003-03-19 John Levon <levon@movementarian.org>
7140 * commandtags.h: rename to ...
7142 * lfuns.h: ... this, and renumber / cleanup
7144 2003-03-19 John Levon <levon@movementarian.org>
7146 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7147 fit the cursor after an lfun
7151 * BufferView_pimpl.h:
7152 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7154 * LyXAction.C: layout-character should have ReadOnly
7156 * ParagraphParameters.C:
7158 * bufferview_funcs.C:
7165 * undo_funcs.C: changes from above
7167 2003-03-18 John Levon <levon@movementarian.org>
7169 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7170 remove it from update()
7172 * lyxfunc.C: update layout choice after an lfun
7174 * text3.C: remove extra updateLayoutChoice()s
7176 2003-03-18 John Levon <levon@movementarian.org>
7178 * text.C: top_y change means full repaint, fix
7179 a drawing bug with cursor movement
7181 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7185 * text2.C: anchor row on setCursor
7187 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7189 * lyxtext.h: remove almost all mutable keywords
7192 * text3.C: remove const keywords accordingly
7194 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7198 (TeXEnvironment): ditto
7201 2003-03-17 John Levon <levon@movementarian.org>
7203 * text.C (rowBreakPoint): remove attempt to fix displayed
7204 math insets inside a manual label
7206 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * lyxtext.h: remove BufferView* as first arg from almost all class
7210 * other files: adjust.
7212 2003-03-17 John Levon <levon@movementarian.org>
7216 * text2.C: more paint cleanups
7218 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7221 * rowpainter.C: remove "smart" background painting code
7223 2003-03-16 John Levon <levon@movementarian.org>
7228 * text3.C: add helper functions for setting refresh_row/y
7230 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7232 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7233 newline inset which *can* get inserted in the pass_thru layouts.
7234 This is primarily for literate documents.
7236 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7238 * buffer.C: increment LYX_FORMAT to 223
7240 2003-03-14 André Pönitz <poenitz@gmx.net>
7242 * textclass.h: prepare for environment handling, ws changes
7243 * lyxlayout.C: read latexheader and latexfooter tags
7245 2003-03-14 John Levon <levon@movementarian.org>
7247 * text2.C: rewrite ::status() a bit
7249 2003-03-13 John Levon <levon@movementarian.org>
7251 * lyxtext.h: add some docs
7253 2003-03-13 John Levon <levon@movementarian.org>
7258 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7260 2003-03-13 John Levon <levon@movementarian.org>
7262 * text3.C: fix appendix redrawing
7264 2003-03-13 John Levon <levon@movementarian.org>
7266 * text.C (setHeightOfRow):
7268 * rowpainter.C: make appendix mark have the text
7269 "Appendix" so the user knows what it is
7272 * LColor.C: s/appendixline/appendix/ from above
7274 2003-03-13 John Levon <levon@movementarian.org>
7276 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7278 * text.C: fix a getChar(pos) bug properly
7280 2003-03-13 Angus Leeming <leeming@lyx.org>
7283 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7284 Probably only temporary. Let's see how things pan out.
7286 * BufferView.C (unlockInset):
7287 * BufferView_pimpl.C (fitCursor):
7288 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7290 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7291 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7293 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7294 new functions that convert ParagraphParameters to and from a string.
7296 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7297 BufferView::Pimpl's dispatch.
7298 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7300 2003-03-13 André Pönitz <poenitz@gmx.net>
7304 * factory.C: make it aware of InsetEnv
7306 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * text2.C (setCursor): never ask for one past last
7309 (setCursor): add some debugging messages.
7311 * text.C (singleWidth): never ask for one past last
7312 (singleWidth): ditto
7314 (rightMargin): ditto
7315 (rowBreakPoint): ditto
7316 (setHeightOfRow): ditto
7317 (prepareToPrint): ditto
7319 * rowpainter.C (paintBackground): never ask for one past last
7320 (paintText): never ask for one past last
7322 * paragraph_pimpl.C (getChar): make the assert stricter, never
7323 allow the one past last pos to be taken
7325 * paragraph.C (getChar): ws changes only
7327 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7328 (numberOfSeparators): ditto
7329 (numberOfHfills): ditto
7331 2003-03-12 John Levon <levon@movementarian.org>
7337 * paragraph_funcs.C: fix per-buffer authorlists
7339 2003-03-12 John Levon <levon@movementarian.org>
7341 * text.C: fix newline in right address
7343 2003-03-12 Angus Leeming <leeming@lyx.org>
7345 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7346 duplicate those in LyXFunc::dispatch.
7350 * ToolbarDefaults.C:
7351 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7352 Add LFUN_FONTFREE_UPDATE.
7354 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7355 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7357 * bufferview_func.[Ch]: several new functions to facilliate
7358 transfer of data to and from the character dialog.
7360 2003-03-12 John Levon <levon@movementarian.org>
7365 * paragraph_funcs.C:
7366 * paragraph_pimpl.C:
7370 * text3.C: remove META_NEWLINE in favour of an inset
7373 * rowpainter.C: remove paintNewline (done by inset)
7375 2003-03-12 John Levon <levon@movementarian.org>
7377 * paragraph_pimpl.C: complain about bad getChar()s
7378 for a while at least
7380 2003-03-12 John Levon <levon@movementarian.org>
7383 * buffer.C: move paragraph read into a separate function,
7384 a little renaming to reflect that.
7387 * bufferparams.C: remove the author_ids map, not necessary now
7390 * factory.C: moved Buffer::readInset to here
7392 * paragraph_funcs.h:
7393 * paragraph_funcs.C: readParagraph free function moved from
7396 * tabular.C: name change
7398 2003-03-12 John Levon <levon@movementarian.org>
7401 * ParagraphParameters.C: move par params input to
7404 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7405 behave like a normal read from the stream wrt reading
7406 a line vs. a \\token
7408 2003-03-12 John Levon <levon@movementarian.org>
7411 * ParagraphParameters.h:
7412 * ParagraphParameters.C: move output code to a
7415 2003-03-12 John Levon <levon@movementarian.org>
7417 * BufferView.C (insertLyXFile):
7420 * tabular.C: use a parlist iterator for creating the
7423 2003-03-12 John Levon <levon@movementarian.org>
7425 * buffer.C: make current_change static local not
7428 2003-03-12 John Levon <levon@movementarian.org>
7430 * buffer.C: fix insertStringAsLines for change tracking
7432 2003-03-12 John Levon <levon@movementarian.org>
7439 * bufferparams.C: move author list into params. Rename some
7440 functions. Move the header reading into a separate token
7441 loop. Move the header token reading into BufferParams.
7443 2003-03-12 John Levon <levon@movementarian.org>
7445 * changes.C: put debug inside lyxerr.debugging() checks
7447 2003-03-11 André Pönitz <poenitz@gmx.net>
7449 * factory.C: make it aware of InsetHFill
7451 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7453 * buffer.C (latexParagraphs): move function from here...
7454 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7457 2003-03-10 Angus Leeming <leeming@lyx.org>
7459 * LyXAction.C (init): fix bug in poplating array with multiple entries
7460 with the same LFUN (spotted by JMarc).
7462 2003-03-10 John Levon <levon@movementarian.org>
7465 * text2.C: move getColumnNearX() near its
7468 2003-03-10 John Levon <levon@movementarian.org>
7470 * text.C: fix break before a minipage
7472 2003-03-10 John Levon <levon@movementarian.org>
7474 * text.C: fix the last commit
7476 2003-03-09 John Levon <levon@movementarian.org>
7480 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7481 bug 365 (don't break before insets unless needed). Don't
7482 return a value > last under any circumstances.
7484 2003-03-09 Angus Leeming <leeming@lyx.org>
7486 * BufferView_pimpl.C (trackChanges, dispatch): call
7487 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7489 2003-03-09 Angus Leeming <leeming@lyx.org>
7491 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7492 than Dialogs::showAboutlyx().
7494 2003-03-09 Angus Leeming <leeming@lyx.org>
7496 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7497 than Dialogs::showTabularCreate().
7499 2003-03-09 John Levon <levon@movementarian.org>
7503 * text2.C: 3rd arg to nextBreakPoint was always the same.
7506 2003-03-08 John Levon <levon@movementarian.org>
7513 * text2.C: Remove the "main" bit from the "main body"
7516 2003-03-08 John Levon <levon@movementarian.org>
7518 * text.C (leftMargin): The left margin of an empty
7519 manual label paragraph should not include the label width
7522 * text.C (prepareToPrint): don't attempt to measure hfills
7523 for empty manual label paragraphs - the answer should be 0
7525 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * CutAndPaste.C: remove commented code and reindent.
7529 2003-03-08 John Levon <levon@movementarian.org>
7532 * lyxfunc.C: move reloadBuffer()
7535 * BufferView.C: to here
7537 * lyxvc.C: add comment
7540 * vc-backend.C: call bv->reload() to avoid
7541 getStatus() check on MENURELOAD
7543 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7545 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7546 to an old format .dep file.
7548 2003-03-07 Angus Leeming <leeming@lyx.org>
7550 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7551 when the LFUN_MOUSE_RELEASE should have been handled by
7552 inset->localDispatch.
7554 2003-03-07 Angus Leeming <leeming@lyx.org>
7556 * BufferView_pimpl.C (dispatch):
7557 * LyXAction.C (init):
7558 * ToolbarDefaults.C (init):
7560 * lyxfunc.C (getStatus):
7561 remove LFUN_INSET_GRAPHICS.
7563 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7565 2003-03-07 Angus Leeming <leeming@lyx.org>
7568 * LyXAction.C (init):
7569 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7571 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7574 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7576 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7577 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7579 2003-03-07 Angus Leeming <leeming@lyx.org>
7581 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7584 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * ParagraphList.C (front): new function
7589 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7591 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7592 and top_row_offset_. removed var first_y.
7594 * text2.C (LyXText, removeRow):
7596 * BufferView_pimpl.C:
7597 use these methods instead of using first_y
7599 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * text2.C (pasteSelection): adjust for checkPastePossible
7603 * CutAndPaste.C: remove Paragraph * buf and replace with
7604 ParagraphList paragraphs.
7605 (DeleteBuffer): delete
7606 (cutSelection): change the tc type to textclass_type
7607 (copySelection): change the tc type to textclass_type
7608 (copySelection): adjust for ParagraphList
7609 (pasteSelection): change the tc type to textclass_type
7610 (pasteSelection): adjust for Paragraphlist
7611 (nrOfParagraphs): simplify for ParagraphList
7612 (checkPastePossible): simplify for ParagraphList
7613 (checkPastePossible): remove unused arg
7615 * ParagraphList.C (insert): handle the case where there are no
7618 * CutAndPaste.h: make CutAndPaste a namespace.
7620 * text3.C (dispatch): adjust
7622 * text.C (breakParagraph): add a ParagraphList as arg
7624 * paragraph_funcs.C (breakParagraph): change to take a
7625 BufferParams and a ParagraphList as args.
7626 (breakParagraphConservative): ditto
7627 (mergeParagraph): ditto
7628 (TeXDeeper): add a ParagraphList arg
7629 (TeXEnvironment): ditto
7632 * buffer.C (readLyXformat2): adjust
7633 (insertStringAsLines): adjust
7634 (latexParagraphs): adjust
7636 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7637 (cutSelection): adjust
7638 (pasteSelection): adjust
7640 * BufferView_pimpl.C (insertInset): adjust
7642 2003-03-05 Angus Leeming <leeming@lyx.org>
7645 * LyXAction.C (init):
7646 * BufferView_pimpl.C (dispatch):
7647 * lyxfunc.C (getStatus):
7648 remove LFUN_CHILD_INSERT.
7650 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7652 2003-03-05 Angus Leeming <leeming@lyx.org>
7655 * LyXAction.C (init):
7656 * src/factory.C (createInset):
7657 * lyxfunc.C (getStatus):
7658 * text3.C (dispatch):
7659 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7661 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7663 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * ParagraphList.C (insert): handle insert right before end()
7666 (erase): fix cases where it can be first or last paragraph.
7668 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7671 Paragraph::next and Paragraph::previous
7674 * text.C (breakParagraph): adjust
7676 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7677 BufferParams& as arg.
7678 (breakParagraph): use ParagraphList::insert
7679 (breakParagraphConservative): take a Buffer* instead of a
7680 BufferParams& as arg.
7681 (breakParagraphConservative): use ParagraphList::insert.
7683 * buffer.C (insertStringAsLines): un-const it
7684 (insertStringAsLines): adjust
7686 * ParagraphList.C (insert): new function
7688 * CutAndPaste.C (pasteSelection): adjust
7690 * text.C (backspace): adjust
7692 * tabular.C (SetMultiColumn): adjust
7694 * CutAndPaste.C (cutSelection): adjust
7695 (pasteSelection): adjust
7697 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7698 Buffer const * as arg
7700 * ParagraphList.C (erase): new function
7701 * paragraph_funcs.C (mergeParagraph): use it
7702 (mergeParagraph): make it take a Buffer* instead of a
7703 BufferParams* as arg
7705 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7707 (breakParagraphConservative): ditto
7709 * paragraph.h: remove the breakParagraph friend
7711 * paragraph.C (eraseIntern): new function
7712 (setChange): new function
7714 * paragraph_funcs.C (mergeParagraph): make it take a
7715 ParagraphList::iterator instead of a Paragraph *, adjust
7718 * paragraph.h: move an #endif so that the change tracking stuff
7719 also works in the NO_NEXT case.
7721 2003-03-04 Angus Leeming <leeming@lyx.org>
7724 * LyXAction.C: new LFUN_INSET_MODIFY.
7726 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7727 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7729 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * several files: ws changes only
7733 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7734 (TeXEnvironment): ditto
7737 * buffer.C (makeLaTeXFile): adjust
7738 (latexParagraphs): make it take ParagraphList::iterator as args
7740 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * buffer.C (latexParagraphs): adjust
7744 * paragraph.C (TeXOnePar): move function...
7745 (optArgInset): move function...
7746 (TeXEnvironment): move function...
7747 * paragraph_pimpl.C (TeXDeeper): move function...
7748 * paragraph_funcs.C: ...here
7750 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7752 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * buffer.C (readInset): remove compability code for old Figure and
7757 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * buffer.C: ws changes
7762 * BufferView_pimpl.C: ditto
7765 * bufferlist.h: ditto
7769 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7771 * converter.[Ch]: split into itself +
7774 * Makefile.am: += graph.[Ch] + format.[Ch]
7781 * lyxrc.C: added #include "format.h"
7783 2003-02-27 Angus Leeming <leeming@lyx.org>
7785 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7788 * factory.C (createInset): add "label" to the factory.
7790 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7791 string and do no more.
7793 2003-02-27 Angus Leeming <leeming@lyx.org>
7796 * LyXAction.C (init):
7797 * factory.C (createInset):
7798 * BufferView_pimpl.C (dispatch):
7799 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7801 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7803 * lyxfunc.C (dispatch):
7804 * text3.C (dispatch): pass name to params2string.
7806 2003-02-26 Angus Leeming <leeming@lyx.org>
7808 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7810 Rearrange the ~includes. Strip out the unnecessary ones.
7812 * factory.C (createInset): reformat.
7813 create new insets for the various LFUN_XYZ_APPLY lfuns.
7815 2003-02-26 John Levon <levon@movementarian.org>
7818 * lyxrow.C: add isParStart,isParEnd helpers
7820 * paragraph.h: make isInserted/DeletedText take refs
7822 * paragraph_funcs.h:
7823 * paragraph_funcs.C: remove #if 0'd code
7828 * text.C: use lyxrow helpers above.
7829 Move draw and paint routines to RowPainter.
7830 Make several methods use refs not pointers.
7831 Make backgroundColor() const.
7832 Add markChangeInDraw(), isInInset().
7833 Merge changeRegionCase into changeCase.
7834 Make workWidth() shouldn't-happen code into an Assert.
7837 * rowpainter.C: new class for painting a row.
7840 * vspace.C: make inPixels take a ref
7842 2003-02-26 Angus Leeming <leeming@lyx.org>
7844 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7847 2003-02-25 John Levon <levon@movementarian.org>
7849 * ispell.C: give the forked command a more accurate name
7851 2003-02-22 John Levon <levon@movementarian.org>
7854 * toc.C: make TocItem store an id not a Paragraph *
7857 2003-02-21 Angus Leeming <leeming@lyx.org>
7859 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7860 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7861 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7862 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7863 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7864 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7866 * BufferView_pimpl.C (dispatch):
7867 * LyXAction.C (init):
7868 * factory.C (createInset):
7869 * lyxfunc.C (getStatus, dispatch):
7870 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7872 2003-02-21 Angus Leeming <leeming@lyx.org>
7874 * BufferView_pimpl.C (MenuInsertLyXFile):
7875 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7876 * lyxfunc.C (menuNew, open, doImport):
7877 no longer pass a LyXView & to fileDlg.
7879 2003-02-21 Angus Leeming <leeming@lyx.org>
7881 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7882 * LyXAction.C: change, BIBKEY to BIBITEM.
7883 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7884 Change InsetBibKey to InsetBibitem.
7885 Change BIBKEY_CODE to BIBITEM_CODE.
7886 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7887 * factory.C: replace insetbib.h with insetbibitem.h.
7888 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7889 * paragraph.C: replace insetbib.h with insetbibitem.h.
7890 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7891 Change bibkey() to bibitem().
7892 * text.C: remove insetbib.h.
7893 * text2.C: replace insetbib.h with insetbibitem.h.
7894 change bibkey() to bibitem().
7895 * text3.C: remove insetbib.h.
7896 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7898 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7900 * lyxrc.C (output): enclose user email in quotes (in case there are
7903 2003-02-18 John Levon <levon@movementarian.org>
7905 * buffer.h: add std::
7907 2003-02-17 John Levon <levon@movementarian.org>
7913 * pspell.C: reworking. Especially in ispell, a large
7914 number of clean ups and bug fixes.
7916 * lyxfunc.C: fix revert to behave sensibly
7918 2003-02-17 André Pönitz <poenitz@gmx.net>
7921 * commandtags.h: new LFUN_INSERT_BIBKEY
7931 * paragraph_func.C: remove special bibkey handling
7933 2003-02-17 John Levon <levon@movementarian.org>
7935 * text.C (Delete): fix case where delete at the end of
7936 the very first paragraph would not merge the pars
7938 2003-02-17 John Levon <levon@movementarian.org>
7940 * lyxrow.C: fix lastPrintablePos()
7942 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7944 * bufferparams.C (writeLaTeX): add a std:here
7946 * buffer.C: and remove a using directive there
7948 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * buffer.C (makeLaTeXFile): move the code that generates the
7953 * bufferparams.C (writeLaTeX): ... in this new method
7955 * LaTeXFeatures.C (getEncodingSet): make const
7956 (getLanguages): make const
7958 * MenuBackend.C (binding): returns the binding associated to this
7960 (add): sets the status of each item by calling getStatus. Adds
7962 (read): add support for OptSubMenu
7963 (expand): remove extra separator at the end of expanded menu
7965 2003-02-15 John Levon <levon@movementarian.org>
7968 * BufferView_pimpl.C:
7970 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7971 inset code that had no actual effect. Remove unneeded status
7974 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7979 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7981 * text.C (drawLengthMarker): also draw an arrow marker for
7982 symbolic lengths (medskip...)
7984 2003-02-14 John Levon <levon@movementarian.org>
7987 * tabular.C: better method names
7989 2003-02-14 John Levon <levon@movementarian.org>
7991 * BufferView_pimpl.C:
7996 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7997 it's a more accurate name. Remove some pointless uses.
7999 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8001 * text2.C (LyXText): change order of initilizers to shut off
8004 2003-02-14 John Levon <levon@movementarian.org>
8006 * buffer.C: use ParIterator for getParFromID()
8010 * paragraph_pimpl.h:
8011 * paragraph_pimpl.C: remove unused getParFromID()
8013 2003-02-14 John Levon <levon@movementarian.org>
8015 * buffer.C: remove some very old #if 0'd parse code
8017 2003-02-13 John Levon <levon@movementarian.org>
8021 * text2.C: move hfillExpansion(), numberOfSeparators(),
8022 rowLast(), rowLastPrintable(), numberofHfills(),
8023 numberOfLabelHfills() ...
8026 * lyxrow.C: ... to member functions here.
8031 * text.C: remove LyXText::beginningOfMainBody(), and call
8032 p->beginningOfMainBody() directly. Move the check for
8033 LABEL_MANUAL into the latter.
8040 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8046 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8047 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8049 2003-02-13 John Levon <levon@movementarian.org>
8051 * CutAndPaste.C: remove debug
8053 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8055 * paragraph.C (asString): remove two unused variables
8057 * lyxtextclass.C (readTitleType):
8059 (LyXTextClass): handle new members titletype_ and titlename_
8061 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8063 2003-02-09 John Levon <levon@movementarian.org>
8066 * buffer.C: replace hand-coded list with a map for the dep clean
8068 2003-02-08 John Levon <levon@movementarian.org>
8070 * LaTeX.C: consolidate code into showRunMessage() helper
8072 2003-02-08 John Levon <levon@movementarian.org>
8077 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8078 and pass the size in explicitly
8080 * BufferView_pimpl.h:
8081 * BufferView_pimpl.C:
8083 * BufferView.C: add getCurrentChange()
8085 * BufferView_pimpl.h:
8086 * BufferView_pimpl.C: handle change lfuns
8088 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8089 for changes. Mark pasted paragraphs as new.
8091 * support/lyxtime.h:
8092 * support/lyxtime.C:
8093 * DepTable.C: abstract time_t as lyx::time_type
8096 * LColor.C: add colours for new text, deleted text, changebars
8098 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8099 package use "usenames" option.
8103 * LyXAction.C: add change lfuns
8107 * author.C: author handling
8110 * buffer.C: add a per-buffer author list, with first entry as
8111 current author. Handle new .lyx tokens for change tracking. Output
8112 author list to .lyx file. Output dvipost stuff to .tex preamble.
8113 Bump lyx format to 222.
8116 * bufferlist.C: add setCurrentAuthor() to reset current author details
8120 * bufferparams.C: add param for tracking
8122 * bufferview_funcs.C: output change info in minibuffer
8126 * changes.C: add change-tracking structure
8129 * debug.C: add CHANGES debug flag
8132 * lyxfind.C: add code for finding the next change piece
8135 * lyxrc.C: add user_name and user_email
8138 * lyxrow.C: add a metric for the top of the text line
8141 * text.C: implement accept/rejectChange()
8144 * text.C: paint changebars. Paint new/deleted text in the chosen
8145 colours. Strike through deleted text.
8149 * paragraph_pimpl.h:
8150 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8151 in the current change to the insert functions. Rework erase to
8152 mark text as deleted, adding an eraseIntern() and a range-based
8153 erase(). Implement per-paragraph change lookup and
8156 * paragraph_funcs.C: Fixup paste for change tracking.
8158 * tabular.C: mark added row/columns as new.
8160 * text.C: fix rowLast() to never return -1. Don't allow
8161 spellchecking of deleted text. Track transpose changes. Don't
8162 allow paragraph break or merge where appropriate.
8164 * text2.C: leave cursor at end of selection after a cut.
8166 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8168 * text.C (getLengthMarkerHeight):
8169 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8170 visible on screen too.
8172 2003-02-07 John Levon <levon@movementarian.org>
8174 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8176 2003-02-05 Angus Leeming <leeming@lyx.org>
8178 * lyxserver.C (read_ready): revert my patch of 11 September last year
8179 as it sends PC cpu through the roof. Presumably this means that
8180 the lyxserver will no longer run on an Alpha...
8182 2003-01-30 Angus Leeming <leeming@lyx.org>
8184 * factory.C (createInset): create an InsetCommandParam of type "index"
8185 and use it to 'do the right thing'.
8187 * text2.C (getStringToIndex): ensure that cursor position is always
8188 reset to the reset_cursor position.
8190 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8195 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8199 * lyxfunc.C: Output messages with identical spelling, punctuation,
8202 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8204 * MenuBackend.C (expandFormats): List only viewable export formats
8207 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8210 * lyxfunc.C (getStatus): Make sure that formats other than
8211 "fax" can also be disabled
8213 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8215 * text3.C (dispatch): put the lfuns that insert insets in 3
8216 groups, and call doInsertInset with appropriate arguments.
8217 (doInsertInset): new function, that creates an inset and inserts
8218 it according to some boolean parameters.
8220 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * buffer.C (readFile): remember to pass on 'par' when calling
8223 readFile recursively.
8225 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8227 * MenuBackend.C (expandFormats): add "..." to import formats.
8229 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8231 * paragraph.C (asString): Remove XForms RTL hacks.
8233 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8234 * buffer.C: fix typo
8236 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * Makefile.am (LIBS): delete var
8239 (lyx_LDADD): add @LIBS@ here instead.
8241 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8243 * Clarify the meaning of "wheel mouse jump"
8245 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8250 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8252 * importer.C (Loaders): do not preallocate 3 elements in the
8253 vector, since one ends up with 6 elements otherwise
8255 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * DepTable.C (write): write the file name as last element of the
8258 .dep file (because it may contain spaces)
8259 (read): read info in the right order
8261 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8263 * paragraph_pimpl.C (simpleTeXBlanks):
8264 (simpleTeXSpecialChars):
8265 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8267 * tabular.C (latex): add some missing case statements. Reindent.
8269 * MenuBackend.C (expandToc): remove unused variable.
8271 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8280 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8283 2003-01-05 John Levon <levon@movementarian.org>
8286 * BufferView.C: add getEncoding()
8289 * kbsequence.C: do not store last keypress
8292 * lyxfunc.C: store last keypress here instead. Pass encoding
8295 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8297 * lyx_main.C (init): remove annoying error message when following
8298 symbolic links (bug #780)
8300 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * text.C (insertChar):
8303 * lyxrc.C (getDescription): remove extra spaces
8305 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8307 * lyxrc.C (getDescription): remove extra spaces
8309 2002-12-20 John Levon <levon@movementarian.org>
8311 * text3.C: hack fix for page up/down across tall rows
8313 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8318 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8320 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8321 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8322 thesaurus is not compiled in
8324 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8326 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8328 2002-12-16 Angus Leeming <leeming@lyx.org>
8331 * lyx_main.C (init): remove override_x_deadkeys stuff.
8333 2002-12-12 John Levon <levon@movementarian.org>
8335 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8336 insert. Only remove shift modifier under strict
8339 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8341 * MenuBackend.C (expandToc): fix crash.
8343 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * MenuBackend.C (expandToc): gettext on float names.
8347 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8349 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8350 implement bool empty() [bug 490]
8352 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8356 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * several files: ws changes
8360 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * text2.C (setCounter): clean up a bit, use boost.format.
8363 (updateCounters): initialize par upon declaration.
8365 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8366 if the layout exists. We do not just store the layout any more.
8367 (SwitchLayoutsBetweenClasses): use boost.format
8369 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8371 * converter.C (convert): if from and to files are the same, use a
8372 temporary files as intermediary
8374 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8377 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8379 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8381 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8383 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8385 * tabular.C (asciiPrintCell): use string(size, char) instead of
8388 * sgml.C (openTag): fix order of arguments to string constructor
8391 * lyxfunc.C (dispatch): use boost.format
8393 * lots of files: change "c" -> 'c'
8395 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8397 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8399 2002-11-25 Angus Leeming <leeming@lyx.org>
8401 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8403 * lyx_main.C (init): compile fix.
8405 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * lyx_cb.C (start): boost.formatify
8408 do not include <iostream>
8410 * lengthcommon.C: ws only
8412 * boost-inst.C,BoostFormat.h: add more explict instantations
8414 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * lots of files: handle USE_BOOST_FORMAT
8418 2002-11-21 John Levon <levon@movementarian.org>
8420 * pspell.C: fix compile
8422 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * lyxfunc.C (dispatch): use boost::format
8428 * lyxfont.C (stateText): use boost::format
8430 * lyx_main.C (LyX): use boost::format
8432 (queryUserLyXDir): ditto
8435 (typedef boost::function): use the recommened syntax.
8437 * importer.C (Import): use boost::format
8439 * debug.C (showLevel): use boost::format
8441 * converter.C (view): use boost::format
8446 * bufferview_funcs.C (currentState): use boost::format
8448 * bufferlist.C (emergencyWrite): use boost::format
8450 * buffer.C (readLyXformat2): use boost::format
8451 (parseSingleLyXformat2Token): ditto
8453 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8455 * LaTeX.C (run): use boost::format
8457 * Chktex.C (scanLogFile): use boost::format
8459 * BufferView_pimpl.C (savePosition): use boost::format
8460 (restorePosition): ditto
8461 (MenuInsertLyXFile): ditto
8463 * BoostFormat.h: help file for explicit instation.
8465 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8467 * tabular.C (latex): Support for block alignment in fixed width
8470 2002-11-17 John Levon <levon@movementarian.org>
8472 * BufferView_pimpl.C:
8474 * lyxfunc.C: split filedialog into open/save
8476 2002-11-08 Juergen Vigna <jug@sad.it>
8478 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8479 by my last patch (hopefully).
8481 2002-11-08 John Levon <levon@movementarian.org>
8490 * toc.C: ParConstIterator, and use it (from Lars)
8492 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8494 * lyxtextclass.[Ch]: revise and add doxygen comments
8496 2002-11-07 John Levon <levon@movementarian.org>
8498 * text.C: fix progress value for spellchecker
8500 * toc.C: fix navigate menu for insetwrap inside minipage
8502 * paragraph_funcs.C: added FIXME for suspect code
8504 2002-11-07 John Levon <levon@movementarian.org>
8506 * BufferView_pimpl.C: fix redrawing of insets
8509 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * text2.C (updateCounters): fix bug 668
8513 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8515 * text3.C (dispatch): Do not make the buffer dirty when moving the
8518 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8520 * vc-backend.C: STRCONV
8523 * text2.C (setCounter): STRCONV
8525 * paragraph.C (asString): STRCONV
8527 * lyxlength.C (asString): STRCONV
8528 (asLatexString): ditto
8530 * lyxgluelength.C (asString): STRCONV
8531 (asLatexString): ditto
8533 * lyxfunc.C (dispatch): STRCONV
8536 * lyxfont.C (stateText): STRCONV
8538 * importer.C (Import): STRCONV
8540 * counters.C (labelItem): STRCONV
8541 (numberLabel): ditto
8542 (numberLabel): remove unused ostringstream o
8547 * bufferview_funcs.C (currentState): STRCONV
8549 * buffer.C (readFile): STRCONV
8550 (asciiParagraph): ditto
8551 (makeLaTeXFile): ditto
8553 * Spacing.C (writeEnvirBegin): STRCONV
8555 * LaTeXFeatures.C (getLanguages): STRCONV
8556 (getPackages): ditto
8558 (getBabelOptions): ditto
8559 (getTClassPreamble): ditto
8560 (getLyXSGMLEntities): ditto
8561 (getIncludedFiles): ditto
8565 (scanAuxFile): ditto
8568 * LString.h: add the STRCONV macros
8570 * BufferView_pimpl.C (savePosition): STRCONV
8571 (restorePosition): ditto
8572 (MenuInsertLyXFile): ditto
8574 * vc-backend.C (scanMaster): change from submatch[...] to
8577 * funcrequest.C: include config.h
8579 * factory.C: include config.h
8581 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8583 * box.C: include config.h
8585 * LaTeX.C (scanAuxFile): change from submatch[...] to
8589 2002-10-25 Angus Leeming <leeming@lyx.org>
8591 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8593 * ispell.[Ch] (setError): new method.
8594 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8595 Use setError() insetead of goto END.
8597 * lyx_cb.C (AutoSave): move out child process into new class
8600 2002-10-30 John Levon <levon@movementarian.org>
8602 * text3.C: make start appendix undoable
8604 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8606 * lyxlength.C (inPixels): Fix returned value.
8608 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8611 2002-10-24 Angus Leeming <leeming@lyx.org>
8613 * lyxgluelength.h: no need to forward declare BufferParams
8614 or BufferView, so don't.
8616 2002-10-21 John Levon <levon@movementarian.org>
8618 * BufferView.C: menuUndo ->undo, redo
8620 * BufferView.h: document, remove dead, make some methods private
8622 * paragraph_funcs.h:
8623 * paragraph_funcs.C:
8624 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8629 * sgml.C: move sgml open/close tag into sgml.C
8631 * bufferview_funcs.h: unused prototype
8634 * lyxfunc.C: remove unused
8637 * text.C: remove unused
8639 2002-10-21 John Levon <levon@movementarian.org>
8643 * BufferView_pimpl.h:
8644 * BufferView_pimpl.C: fix mouse wheel handling based on
8645 patch from Darren Freeman
8647 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8649 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8651 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8653 * lyxlength.C (inPixels): Fix hanfling of negative length.
8654 Fix LyXLength::MU case.
8656 2002-10-16 John Levon <levon@movementarian.org>
8658 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8660 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8662 * converter.C (view): add support for $$i (file name) and $$p
8663 (file path) for the viewer command. If $$i is not specified, then
8664 it is appended to the command (for compatibility with old syntax)
8666 2002-10-14 Juergen Vigna <jug@sad.it>
8668 * undo_funcs.C (textHandleUndo): alter the order in which the
8669 new undopar is added to the LyXText, as we have to set first
8670 the right prev/next and then add it as otherwise the rebuild of
8671 LyXText is not correct. Also reset the cursor to the right paragraph,
8672 with this IMO we could remove the hack in "redoParagraphs()".
8674 2002-10-09 Angus Leeming <leeming@lyx.org>
8676 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8677 to turn off an optimisation if a new inset is to be inserted.
8679 2002-10-11 André Pönitz <poenitz@gmx.net>
8681 * lyxtext.h: make some functions public to allow access
8682 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8684 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8686 * text3.C (dispatch): when changing layout, avoid an infinite loop
8689 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8691 * lyxrc.C (read): treat a viewer or converter command of "none" as
8694 * MenuBackend.C (expandFormats): for an update, also allow the
8695 formats that are not viewable
8697 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8698 script if it is newer than the lyxrc.defaults in user directory
8700 2002-10-07 André Pönitz <poenitz@gmx.net>
8702 * text.C: Vitaly Lipatov's small i18n fix
8704 2002-09-25 Angus Leeming <leeming@lyx.org>
8706 * ispell.h: doxygen fix.
8708 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8710 * buffer.h (readFile): Add a new argument to the method, to allow
8711 reading of old-format templates.
8713 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8715 * toc.C (getTocList): Get TOC from InsetWrap.
8717 2002-09-16 John Levon <levon@movementarian.org>
8719 * lyxfunc.C: check tabular for cut/copy too
8721 2002-09-12 John Levon <levon@movementarian.org>
8726 * factory.C: add header
8728 * paragraph_funcs.h:
8729 * paragraph_funcs.C: cleanup
8731 2002-09-11 John Levon <levon@movementarian.org>
8733 * PrinterParams.h: odd/even default to true
8735 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8737 * PrinterParams.h: update printer parameters for new xforms dialog
8739 2002-09-11 Angus Leeming <leeming@lyx.org>
8741 * lyxserver.C (read_ready): re-write to make it more transparent
8742 and to make it work in coherent fashion under Tru64 Unix.
8744 2002-09-11 André Pönitz <poenitz@gmx.net>
8748 * text3.C: implement LFUN_WORDSEL
8750 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8753 make floatlist_ a boost::shared_ptr<FloatList>
8755 * lyxtextclass.C: include FloatList.h
8756 (LyXTextClass): initialize floatlist_
8757 (TextClassTags): add TC_NOFLOAT
8758 (Read): match "nofloat" to TC_NOFLOAT and use it.
8759 (readFloat): modify call to floatlist_
8763 * FloatList.[Ch] (FloatList): remove commented out float
8765 (erase): new function
8767 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8769 * MenuBackend.C (expandToc): fix crash when there is no document
8772 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8774 * many files: Add insetwrap.
8776 2002-09-09 John Levon <levon@movementarian.org>
8778 * text2.C: remove confusing and awkward depth wraparound
8780 2002-09-09 John Levon <levon@movementarian.org>
8782 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8785 * buffer.C: remove getIncludeonlyList()
8788 * lyxfunc.C: remove headers
8790 2002-09-09 Juergen Vigna <jug@sad.it>
8792 * text.C (getColumnNearX): fix form Michael this is most
8793 probably a cut&paste bug.
8795 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8799 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8800 references, ws changes.
8802 * text2.C (init): update counters after init
8803 (insertParagraph): no need to set counter on idividual paragraphs.
8804 (setCounter): access the counters object in the textclass object
8805 on in the buffer object.
8806 (updateCounters): ditto
8808 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8809 shared_ptr<Counters> to avoid loading counters.h in all
8811 (LyXTextClass): initialize ctrs_
8812 (TextClassTags): add TC_COUNTER, and ...
8813 (Read): use it here.
8814 (CounterTags): new tags
8815 (readCounter): new function
8816 (counters): new funtion
8817 (defaultLayoutName): return a const reference
8819 * counters.C (Counters): remove contructor
8820 (newCounter): remove a couple of unneeded statements.
8821 (newCounter): simplify a bit.
8822 (numberLabel): some small formatting changes.
8824 * buffer.[Ch]: remove all traces of counters, move the Counters
8825 object to the LyXTextClass.
8827 2002-09-06 Alain Castera <castera@in2p3.fr>
8829 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8830 package to set the horizontal alignment on fixed width columns.
8833 * lyx_sty.h: added tabularnewline macro def.
8835 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8837 2002-09-06 John Levon <levon@movementarian.org>
8839 * LyXAction.C: tooltips for sub/superscript
8841 * MenuBackend.C: a bit more verbose
8843 * lyxfunc.C: tiny clean
8845 * undo_funcs.C: document undo_frozen
8847 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * counters.C (Counters): add missing algorithm counter.
8851 * text2.C (setCounter): lookup the counter with layouts latexname
8852 instead of by section number.
8853 (setCounter): use a hackish way to lookup the correct enum
8855 a float name->type change
8856 reset enum couners with counter name directly instead of depth value.
8858 * counters.C (Counters): remove the push_backs, change to use the
8859 float type not the float name.
8860 (labelItem): remove unused string, float name->type change
8862 * counters.h: don't include vector, loose the enums and sects vectors
8864 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8867 (Read): add float->TC_FLOAT to textclassTags
8868 (Read): and handle it in the switch
8869 (readFloat): new function
8871 * FloatList.C (FloatList): comment out the hardcoded float
8874 * lyxlayout.h: ws change.
8876 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8878 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8880 2002-09-03 Angus Leeming <leeming@lyx.org>
8882 * BufferView_pimpl.h: qualified name is not allowed in member
8883 declaration: WorkArea & Pimpl::workarea() const;
8885 * factory.C: added using std::endl directive.
8887 * text3.C: added using std::find and std::vector directives.
8889 2002-08-29 André Pönitz <poenitz@gmx.net>
8892 * text2.C: remove unused member number_of_rows
8895 * BufferView2.C: remove file, move contents to...
8896 * BufferView.C: ... here
8898 * BufferView_pimpl.C:
8899 * factory.C: move more inset creation to factory
8901 * vspace.C: avoid direct usage of LyXText, ws changes
8904 don't provide direct access to WorkArea, use two simple
8905 acessors haveSelction() and workHeight() instead
8908 2002-08-29 John Levon <levon@movementarian.org>
8910 * BufferView_pimpl.C (dispatch): do not continue when
8913 2002-08-28 André Pönitz <poenitz@gmx.net>
8915 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8918 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8920 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8922 * buffer.C: increment LYX_FORMAT to 221
8924 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8925 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8927 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8929 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8931 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * factory.C (createInset): use LyXTextClass::floats
8935 * MenuBackend.C (expandFloatListInsert):
8936 (expandFloatInsert):
8939 * text2.C (setCounter):
8941 * LaTeXFeatures.C (useFloat):
8942 (getFloatDefinitions):
8944 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8946 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8947 floatlist_, with accessor floats().
8949 * FloatList.h: remove global FloatList
8951 2002-08-26 André Pönitz <poenitz@gmx.net>
8953 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8957 * BufferView_pimpl.C:
8958 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8960 2002-08-25 John Levon <levon@movementarian.org>
8962 * LyXAction.C: fix margin note description
8964 2002-08-24 John Levon <levon@movementarian.org>
8968 * bufferview_funcs.C:
8970 * undo_funcs.C: cleanups
8972 * lyxfunc.C: disable CUT/COPY when no selection
8974 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8976 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8977 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8979 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8980 Add backward compatibility to "mono", "gray" and "no".
8982 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8984 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8985 (and file_format >= 200).
8987 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8989 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8991 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8995 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8997 * BufferView_pimpl.C:
9004 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9005 inset and code to make it work with the paragraph code. The inset
9006 can be anywhere in the paragraph, but will only do the expected
9007 thing in LaTeX if the layout file contains the parameter line
9009 (or more generally, a nonzero value) for that layout.
9011 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9013 * paragraph.h: remove the declaration of undefined counters class
9016 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9018 * text2.C (setCounter): fixed enumeration mis-count as reported by
9019 Dr. Richard Hawkins.
9021 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9023 * paragraph_funcs.h: remove some unneeded includes
9025 * text.C (backspace): pasteParagraph now in global scipe
9027 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9028 (pasteSelection): ditto
9030 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9031 * paragraph_funcs.C (pasteParagraph): ... here
9033 2002-08-20 André Pönitz <poenitz@gmx.net>
9035 * commandtags.h: new LFUNs for swapping/copying table row/colums
9038 * lyxfunc.C: support for new lfuns
9040 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9043 * buffer.[Ch]: remove NO_COMPABILITY stuff
9045 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9047 * boost.C (throw_exception): new file, with helper function for
9048 boost compiled without exceptions.
9053 * ParameterStruct.h:
9054 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9056 * bufferlist.C (emergencyWriteAll): use boost bind
9058 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9060 * text.C: include paragraph_funcs.h
9061 (breakParagraph): breakParagraph is now in global scope
9063 * paragraph_funcs.[Ch]: new files
9065 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9068 * buffer.C: include paragraph_funcs.h
9069 (insertStringAsLines): breakParagraph is now in global scope
9071 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9074 * CutAndPaste.C: include paragraph_funcs.h
9075 (cutSelection): breakParagraphConservative is now in global scope
9076 (pasteSelection): ditto
9078 * buffer.h: declare oprator== and operator!= for
9079 Buffer::inset_iterator
9081 * bufferlist.C (emergencyWrite): don't use fmt(...)
9083 * text3.C: add using std::endl
9085 * BufferView.C (moveCursorUpdate): remove default arg
9087 2002-08-20 André Pönitz <poenitz@gmx.net>
9089 * buffer.[Ch]: move inline functions to .C
9092 * BufferView_pimpl.C:
9094 * buffer.[Ch]: use improved inset_iterator
9097 * paragraph.[Ch]: write one paragraph at a time
9099 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9101 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9102 style if style is not specified.
9104 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9106 * text2.C (setCounter): when searching for right label for a
9107 caption, make sure to recurse to parent insets (so that a caption
9108 in a minipage in a figure float works) (bug #568)
9110 2002-08-20 André Pönitz <poenitz@gmx.net>
9112 * text3.C: new file for LyXText::dispatch() and helpers
9114 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9116 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9118 2002-08-19 André Pönitz <poenitz@gmx.net>
9121 * text.C: new LyXText::dispatch()
9123 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9125 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9127 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9129 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9132 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * Makefile.am: use $(variables) instead of @substitutions@
9136 2002-08-15 André Pönitz <poenitz@gmx.net>
9139 * BufferView_pimpl.C: streamlining mathed <-> outer world
9143 * LyXAction.C: remove unused LFUN_MATH
9145 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9147 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9149 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * paragraph.C (Paragraph): reformat a bit
9152 (cutIntoMinibuffer): use builtin InsetList function instad of
9156 * buffer.C: include boost/bind.hpp, add using std::for_each
9157 (writeFileAscii): use ParagraphList iterators
9158 (validate): use for_each for validate traversal of paragraphs
9159 (getBibkeyList): use ParagraphList iterators
9160 (resizeInsets): use for_each to resizeInsetsLyXText for all
9162 (getParFromID): use ParagraphList iterators
9164 * BufferView2.C (lockInset): use paragraph list and iterators
9166 2002-08-14 John Levon <levon@movementarian.org>
9168 * lyxserver.C: remove spurious xforms include
9170 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9172 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9174 2002-08-13 André Pönitz <poenitz@gmx.net>
9177 * lyxfunc.C: further cleaning
9179 2002-08-13 André Pönitz <poenitz@gmx.net>
9181 * funcrequest.h: new constructor
9183 * funcrequest.C: move stuff here from .h
9186 * BufferView_pimpl.C:
9189 * lyxfunc.C: subsequent changes
9191 * lyxfunc.h: new view() member function
9193 * lyxfunc.C: subsequent changes
9195 2002-08-13 Angus Leeming <leeming@lyx.org>
9198 * BufferView_pimpl.C:
9206 changes due to the changed LyXView interface that now returns references
9207 to member variables not pointers.
9209 2002-08-13 Angus Leeming <leeming@lyx.org>
9211 * WordLangTuple (word, lang_code): return references to strings,
9216 * lyxtext.h: forward-declare WordLangTuple.
9221 * text.C: #include "WordLangTuple.h".
9224 * text.C: (selectNextWordToSpellcheck): constify return type.
9226 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9232 * paragraph_pimpl.h:
9235 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9237 Made updateCounter always count from start of buffer, and removed
9238 second argument (par).
9239 Reverted floats number display to '#'. Perhaps I'll try again when the
9240 code base is sanitized a bit.
9242 2002-08-12 Angus Leeming <leeming@lyx.org>
9244 * buffer.[Ch] (getLabelList): constify.
9246 2002-08-07 André Pönitz <poenitz@gmx.net>
9248 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9250 * funcrequest.h: extension to keep mouse (x,y) position
9252 2002-08-12 Juergen Vigna <jug@sad.it>
9254 * BufferView2.C (insertErrors): forbid undo when inserting error
9257 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9259 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9261 * ParagraphList.[Ch]: new files
9263 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9265 * BufferView2.C (lockInset): ParagraphList changes
9268 * bufferlist.C: ditto
9272 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9274 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9275 unused class variable counter_,
9277 * paragraph.[Ch] (getFirstCounter): delete unused function
9279 * counters.C: include LAssert.h
9280 (reset): add a new function with no arg, change other version to
9281 not have def. arg and to not allow empty arg.
9283 * text2.C (setCounter): remove empty arg from call to Counters::reset
9285 2002-08-11 John Levon <levon@movementarian.org>
9287 * Makefile.am: add WordLangTuple.h
9289 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9292 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9294 * insets/insettext.C: InsetList changes
9296 * graphics/GraphicsSupport.C (operator()): InsetList changes
9298 * toc.C (getTocList): InsetList changes
9300 * paragraph_pimpl.[Ch]: InsetList changes
9302 * paragraph.[Ch]: InsetList changes
9304 * buffer.C (inset_iterator): InsetList changes
9305 (setParagraph): ditto
9306 * buffer.h (inset_iterator): ditto
9307 * iterators.C (operator++): ditto
9308 * iterators.h: ditto
9310 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9312 * InsetList.[Ch]: new files, most InsetList handling moved out of
9315 * BufferView2.C (removeAutoInsets): InsetList changes
9317 (ChangeInsets): ditto
9319 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9321 * paragraph_pimpl.h (empty): new function
9323 * paragraph.[Ch] (empty): new function
9325 * other files: use the new Paragraph::empty function
9327 2002-08-09 John Levon <levon@movementarian.org>
9329 * lyxtext.h: remove unused refresh_height
9331 2002-08-09 John Levon <levon@movementarian.org>
9338 * paragraph.C: move sgml char escaping out of paragraph
9341 * paragraph.C: remove id setter
9345 * paragraph_pimpl.C: remove dead tex_code_break_column
9347 * bufferview_funcs.C: small cleanup
9349 * lyxfunc.C: remove dead proto
9351 * lyxtext.h: make some stuff private. Remove some dead stuff.
9353 * lyxgluelength.C: make as[LyX]String() readable
9355 2002-08-08 John Levon <levon@movementarian.org>
9360 * ToolbarDefaults.C:
9363 * toc.C: lyxaction cleanup
9365 2002-08-08 John Levon <levon@movementarian.org>
9367 * BufferView2.C: small cleanup
9370 * lyxfind.C: move unnecessary header into the .C
9372 2002-08-08 John Levon <levon@movementarian.org>
9374 * funcrequest.h: just tedious nonsense
9377 * lyx_main.C: cleanups
9380 * vspace.C: remove dead header lyx_main.h
9382 2002-08-07 Angus Leeming <leeming@lyx.org>
9385 * paragraph_pimpl.h:
9386 Forward declare class Counters in paragraph.h by moving the ctrs member
9387 variable into Paragraph::Pimpl.
9388 (counters): new method, returning a reference to pimpl_->ctrs.
9390 * text2.C: ensuing changes.
9392 2002-08-07 John Levon <levon@movementarian.org>
9394 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9396 * BufferView_pimpl.C: announce X selection on double/triple
9399 * lyx_main.C: use correct bool in batch dispatch
9401 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9403 2002-08-07 André Pönitz <poenitz@gmx.net>
9405 * funcrequest.h: new class to wrap a kb_action and its argument
9408 * BufferView_pimpl[Ch]:
9412 * lyxrc.C: subsequent changes
9415 2002-08-07 John Levon <levon@movementarian.org>
9417 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9418 document options change.
9420 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9425 * makefile.am: move counters functionality over from
9426 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9428 2002-08-06 John Levon <levon@movementarian.org>
9430 * WordLangTuple.h: new file for word + language code tuple
9441 * BufferView2.C: use WordLangTuple
9444 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9446 2002-08-06 John Levon <levon@movementarian.org>
9448 * lyx_main.C: fix cmdline batch handling
9450 2002-08-06 André Pönitz <poenitz@gmx.net>
9452 * lyxrc.C: set default for show_banner to true
9454 2002-08-06 John Levon <levon@movementarian.org>
9456 * pspell.C: fix a crash, and allow new aspell to work
9458 2002-08-06 John Levon <levon@movementarian.org>
9461 * kbmap.C: small cleanup
9464 * vspace.C: add const
9466 2002-08-05 John Levon <levon@movementarian.org>
9468 * LyXAction.C: back to tabular-insert
9470 2002-08-04 John Levon <levon@movementarian.org>
9473 * BufferView.C: cosmetic change
9475 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9485 * BufferView2.C: purge all "Lyx" not "LyX" strings
9488 * lyxcursor.C: attempt to add some documentation
9493 * ToolbarDefaults.C:
9494 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9495 merge with LFUN_TABULAR_INSERT
9502 * pspell.C: split up i/pspell implementations into separate
9503 files, many cleanups
9505 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9507 * text2.C: some cleanup
9509 * lyxfunc.C: don't check for isp_command == "none" any more, it
9510 didn't make any sense
9512 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9517 * makefile.am: move counters functionality over
9518 from text2.C/paragraph.[Ch] to counters.[Ch], and
9520 2002-08-02 John Levon <levon@movementarian.org>
9522 * buffer.C: s/lyxconvert/lyx2lyx/
9524 2002-08-02 Angus Leeming <leeming@lyx.org>
9526 * lyxlex.C: revert John's change as it breaks reading of the user
9529 2002-08-02 Angus Leeming <leeming@lyx.org>
9531 * importer.C (Import):
9532 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9533 changes due to LyXView::view() now returning a boost::shared_ptr.
9535 2002-08-02 John Levon <levon@movementarian.org>
9537 * lyxlex.C: small cleanup
9539 2002-08-02 John Levon <levon@movementarian.org>
9541 * text2.C (status): small cleanup, no logic change
9543 2002-08-01 John Levon <levon@movementarian.org>
9546 * buffer.C (writeFile): don't output alerts, caller
9550 * lyx_cb.C: from above
9552 * lyxfunc.C: allow to open non-existent files
9554 2002-07-31 John Levon <levon@movementarian.org>
9556 * lyxserver.C: don't let incidental errors get
9559 2002-07-30 John Levon <levon@movementarian.org>
9561 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9563 2002-07-30 John Levon <levon@movementarian.org>
9566 * lyxserver.C: remove I/O callback too
9568 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9570 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9573 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9575 * many files: strip,frontStrip -> trim,ltrim,rtrim
9577 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9579 * PrinterParams.h: remove extern containsOnly, and include
9580 support/lstrings.h instead.
9582 * LaTeX.C (scanAuxFile): modify because of strip changes
9584 * buffer.C (makeLaTeXFile): ditto
9585 * bufferparams.C (writeFile): ditt
9586 * lyxfont.C (stateText): ditto
9587 * lyxserver.C (read_ready): ditto
9588 * vc-backend.C (scanMaster): ditto
9590 * BufferView_pimpl.h: ws changes
9592 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9594 2002-07-26 André Pönitz <poenitz@gmx.net>
9596 * kb_sequence.C: remove unnedred usings
9598 2002-07-26 Juergen Vigna <jug@sad.it>
9600 * lyxfind.C (LyXReplace): we have to check better if the returned
9601 text is not of theLockingInset()->getLockingInset().
9603 2002-07-25 Juergen Vigna <jug@sad.it>
9605 * lyxfind.C (LyXReplace): don't replace if we don't get the
9608 * undo_funcs.C (createUndo): remove debugging code.
9610 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9612 * buffer.C (parseSingleLyXformat2Token): Use default placement
9613 when reading old floats.
9615 * FloatList.C (FloatList): Change the default placement of figure
9616 and tables to "tbp".
9618 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9620 * MenuBackend.C: using std::max
9622 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * MenuBackend.C (expandToc):
9625 (expandToc2): code moved from xforms menu frontend. It is now
9626 generic and TOCs are transparent to menu frontends.
9628 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9630 * toc.C (getTocList): protect against buf=0
9632 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9633 Menu as first parameter. Now, this calls itself recursively to
9634 expand a whole tree (this will be useful for TOC handling)
9635 (expandFloatInsert): remove 'wide' version of floats
9637 * MenuBackend.h (submenuname): returns the name of the submenu.
9638 (submenu): returns the submenu itself, provided it has been
9639 created by MenuBackend::expand
9641 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9643 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9644 insets which have noFontChange == true. (bug #172)
9646 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * BufferView_pimpl.C: add connection objects and use them...
9651 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * MenuBackend.C (expandLastfiles):
9656 (expandFloatListInsert):
9657 (expandFloatInsert):
9658 (expand): split expand in parts
9660 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9662 * lyx_gui.C: use lyx_gui::exit()
9664 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9666 * LyXAction.C: show the failing pseudo action
9668 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9670 * buffer.C (readFile): Run the lyxconvert script in order to read
9673 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9677 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9679 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9683 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9685 2002-07-22 Herbert Voss <voss@lyx.org>
9688 * lyxlength.[Ch]: add support for the vertical lengths
9690 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9692 * toc.[Ch]: std:: fixes
9694 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * lyxrc.C: do not include lyx_main.h
9698 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9704 * BufferView2.C: include "lyxlex.h"
9707 * bufferparams.h: do not #include "lyxlex.h"
9709 * lyxtextclasslist.C (Add): remove method
9710 (classlist): renamed to classlist_
9712 * paragraph_pimpl.C:
9716 * bufferview_funcs.C:
9721 * toc.C (getTocList): use BufferParams::getLyXTextClass
9723 * toc.C (getTocList): use InsetFloat::addToToc
9725 * toc.[Ch]: new files, containing helper functions to handle table
9728 * lyxfunc.C (dispatch): no need to remove spaces around command
9730 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9731 first command of the sequence; it is not very clever, but I do not
9732 have a better idea, actually
9734 * LyXAction.C (LookupFunc): make sure to remove space at the
9735 beginning and end of the command
9737 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * MenuBackend.C (getMenubar): new method: return the menubar of
9741 (read): treat differently reading of menu and menubar (in
9742 particular, the menubar has no name now)
9743 (Menu::menubar): remove
9745 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9748 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9750 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9751 a bibitem inset in a RTL paragraph.
9753 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9755 * paragraph_pimpl.C: constify
9757 * BufferView_pimpl.C:
9759 * lyxfunc.C: fix dispatch in a nicer way
9761 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9763 * lyxfunc.C (dispatch):
9764 * BufferView_pimpl.C:
9765 * BufferView_pimpl.h:
9767 * BufferView.h: rename Dispatch() to dispatch()
9769 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9771 * lyxlayout.C (Read): honor DependsOn tag
9773 * lyxlayout.[Ch] (depends_on): new method
9775 * version.C.in: update lyx_docversion
9777 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9779 * paragraph.C (validate): remove from here...
9780 * paragraph_pimpl.C (validate): ... and move here
9781 (isTextAt): make it const
9783 * buffer.C (getLists): ws cleanup
9785 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9787 * language.C (read): Use iso8859-1 encoding in latex_lang
9788 (this prevents LyX from crashing when using iso10646-1 encoding).
9790 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * text2.C (toggleInset): if cursor is inside an inset, close the
9793 inset and leave cursor _after_ it
9795 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9797 * lyxfunc.C: move minibuffer completion handling out of here
9799 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9801 * BufferView_pimpl.C:
9802 * LaTeX.C: fix dispatch calls
9804 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9806 * text.C (drawChars): Fix Arabic text rendering.
9808 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9812 * lyxfunc.C: remove message-push/pop
9816 * lyxfunc.C: rationalise some code by removing verboseDispatch
9817 in favour of a bool argument to dispatch()
9819 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9821 * lyx_main.C (init): make sure to read symlinks as absolute paths
9823 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9826 * lyxfunc.C: no need for commandshortcut to be a member
9828 2002-07-15 André Pönitz <poenitz@gmx.net>
9830 * converter.C: add support for $$s (scripts from lib/scripts dir)
9831 * lyx_main.C: white space
9833 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9837 * lyxrc.C: remove second exit confirmation
9839 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9844 * BufferView_pimpl.h:
9845 * BufferView_pimpl.C:
9846 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9848 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9850 * MenuBackend.C (expand): add numeric shortcuts to document menu
9852 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9854 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * lyxfont.C (setLyXFamily):
9863 * buffer.C (asciiParagraph): use ascii_lowercase
9865 2002-07-15 Mike Fabian <mfabian@suse.de>
9867 * lyxlex_pimpl.C (search_kw):
9868 * lyxlex.C (getLongString):
9869 * converter.h (operator<):
9870 * converter.C (operator<):
9871 * buffer.C (parseSingleLyXformat2Token):
9873 * ToolbarDefaults.C (read):
9874 * MenuBackend.C (checkShortcuts):
9876 * LColor.C (getFromGUIName):
9877 (getFromLyXName): use the compare_ascii_no_case instead of
9878 compare_no_case, because in turkish, 'i' is not the lowercase
9879 version of 'I', and thus turkish locale breaks parsing of tags.
9881 2002-07-16 Angus Leeming <leeming@lyx.org>
9883 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9884 now takes a Buffer const & argument.
9886 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9888 * BufferView.C (resize): check there's a buffer to resize
9890 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9892 * lyxfunc.C: remove dead code
9895 * lyxserver.C: use lyx_guii::set_read_callback
9897 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9899 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9900 an inset in a RTL paragraph.
9902 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9904 * lyxfunc.C: repaint after a font size update
9906 2002-07-15 André Pönitz <poenitz@gmx.net>
9908 * lyxlength.C: inBP should be able to return negative values
9910 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9912 * lyxfunc.C: use lyx_gui::update_fonts()
9914 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9916 * lyxfunc.C: use lyx_gui::update_color()
9918 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9924 * lyxrc.C: remove file->new asks for name option, and let
9925 buffer-new take an argument
9927 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9929 * BufferView_pimpl.C: remove unneeded extra repaint()
9931 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9933 * LyXAction.C: allow command-sequence with NoBuffer
9935 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9937 2002-07-10 Angus Leeming <leeming@lyx.org>
9939 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9941 2002-07-09 Angus Leeming <leeming@lyx.org>
9943 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9945 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9947 * lengthcommon.h: whitespace
9949 * lyxfunc.C: update scrollbar after goto paragraph
9951 * lyxtext.h: factor out page break drawing, and fix it so
9952 page break/added space paints as selected nicely
9954 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9956 * BufferView_pimpl.C: add FIXMEs, clean up a little
9958 2002-07-09 André Pönitz <poenitz@gmx.net>
9960 * lyxfont.[Ch]: support for wasy symbols
9962 2002-07-08 André Pönitz <poenitz@gmx.net>
9964 * BufferView_pimpl.C: apply John's patch for #93.
9966 2002-07-05 Angus Leeming <leeming@lyx.org>
9968 * BufferView_pimpl.C (buffer): generate previews if desired.
9970 * LColor.h: add "preview" to the color enum.
9972 * LColor.C (LColor): add a corresponding entry to the items array.
9974 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9977 2002-07-05 Angus Leeming <leeming@lyx.org>
9979 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9980 The body of the code is now in the method that is passed an ostream &
9981 rather than a file name.
9982 Pass an additional only_preamble parameter, useful for the forthcoming
9985 2002-07-03 André Pönitz <poenitz@gmx.net>
9987 * lyxfunc.C: simplify getStatus() a bit for math stuff
9989 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9993 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * text.C (changeRegionCase): do not change case of all the
9996 document when region ends at paragraph end (bug #461)
9998 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * paragraph.C (startTeXParParams):
10001 (endTeXParParams): add \protect when necessary
10003 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * BufferView_pimpl.C (workAreaExpose): remove warning
10007 2002-06-27 Angus Leeming <leeming@lyx.org>
10009 * Makefile.am: add lyxlayout_ptr_fwd.h.
10011 2002-06-26 André Pönitz <poenitz@gmx.net>
10013 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10015 2002-06-25 Angus Leeming <leeming@lyx.org>
10017 * lyxfunc.C (dispatch): Comment out the call to
10018 grfx::GCache::changeDisplay. The method no longer exists now that the
10019 pixmap generation part of the graphics loader has been moved into
10022 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10024 * text2.C: layout as layout
10026 * text.C: layout as layout
10028 * tabular.C (OldFormatRead): layout as layout
10030 * paragraph_pimpl.C (TeXDeeper): layout as layout
10031 (realizeFont): layout as layout
10033 * paragraph.C (writeFile): layout as layout
10034 (validate): layout as layout
10035 (getFont): layout as layout
10036 (getLabelFont): layout as layout
10037 (getLayoutFont): layout as layout
10038 (breakParagraph): layout as layout
10039 (stripLeadingSpaces): layout as layout
10040 (getEndLabel): layout as layout
10041 (getMaxDepthAfter): layout as layout
10042 (applyLayout): layout as layout
10043 (TeXOnePar): layout as layout
10044 (simpleTeXOnePar): layout as layout
10045 (TeXEnvironment): layout as layout
10046 (layout): layout as layout
10047 (layout): layout as layout
10049 * lyxtextclass.C (compare_name): new functor to work with
10050 shared_ptr, layout as layout
10051 (Read): layout as layout
10052 (hasLayout): layout as layout
10053 (operator): layout as layout
10054 (delete_layout): layout as layout
10055 (defaultLayout): layout as layout
10057 * lyxlayout_ptr_fwd.h: new file
10059 * lyxlayout.C (Read): layout as layout
10061 * lyx_cb.C (MenuInsertLabel): layout as layout
10063 * bufferlist.C (newFile): layout as layout
10065 * buffer.C (readLyXformat2): layout as layout
10066 (parseSingleLyXformat2Token): layout as layout
10067 (insertStringAsLines): layout as layout
10068 (asciiParagraph): layout as layout
10069 (latexParagraphs): layout as layout
10070 (makeLinuxDocFile): layout as layout
10071 (simpleLinuxDocOnePar): layout as layout
10072 (makeDocBookFile): layout as layout
10073 (simpleDocBookOnePar): layout as layout
10074 (getLists): layout as layout
10076 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10078 * CutAndPaste.C (cutSelection): layout as layout
10079 (pasteSelection): layout as layout
10080 (SwitchLayoutsBetweenClasses): layout as layout
10082 * BufferView_pimpl.C (Dispatch): layout as layout
10083 (smartQuote): layout as layout
10085 * BufferView2.C (unlockInset): layout as layout
10087 2002-06-24 André Pönitz <poenitz@gmx.net>
10089 * lyxfunc.C: fix #487
10091 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10095 * lyxfunc.C: remove display_shortcuts, show_banner
10097 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10099 * Buffer_pimpl.C: oops, update on resize
10101 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10108 * BufferView.C: use repaint()
10110 * BufferView_pimpl.h:
10111 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10112 as it's a clearer description. Remove superfluous
10115 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10117 * text.C: fix bug 488. Not ideal, but getting
10118 getWord() to work properly for the insets that
10119 matter is more difficult ...
10121 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10123 * BufferView_pimpl.C:
10126 * lyxfunc.C: remove the six million index lyxfuncs to just
10127 one, and DTRT (bug 458)
10129 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10133 * BufferView_pimpl.h:
10134 * BufferView_pimpl.C: clean up resize() stuff,
10135 and unnecessary updateScreen()s
10137 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10141 * BufferView_pimpl.h:
10142 * BufferView_pimpl.C:
10145 * minibuffer.C: remove focus management of workarea,
10146 not needed. Use screen's greyOut()
10148 2002-06-17 Herbert Voss <voss@lyx.org>
10150 * converter.C: (convert) do not post a message, when converting
10151 fails, let the calling function decide what to do in this case
10153 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10155 * lyxfunc.C: tidy up a little
10157 2002-06-16 <alstrup@diku.dk>
10159 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10160 Got rid of FORMS_H_LOCATION include. Now we are
10163 2002-06-15 LyX Development team <lyx@rilke>
10165 * buffer.[Ch] (sgmlOpenTag):
10166 (sgmlCloseTag): Added support for avoiding pernicious mixed
10167 content. Return number of lines written.
10169 (makeLinuxDocFile):
10170 (makeDocBookFile): Fixed calls to sgml*Tag.
10171 Simple white space clean.
10173 (simpleDocBookOnePar): Simple white space clean.
10175 * tabular.[Ch] (docBook): Renamed to docbook and got another
10176 argument to related with the pernicious mixed content.
10178 (docbookRow): Fixed calls for docbook inset method.
10180 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10182 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10183 so it's X11 independent.
10187 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10189 2002-06-15 Lyx Development team <lyx@electronia>
10191 * intl.h: Renamed getTrans to getTransManager.
10193 2002-06-14 Angus Leeming <leeming@lyx.org>
10195 * Makefile.am: nuke forgotten stl_string_fwd.h.
10197 2002-06-12 Angus Leeming <leeming@lyx.org>
10199 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10201 2002-06-13 Angus Leeming <leeming@lyx.org>
10204 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10206 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10208 * kbmap.C (getiso): add support for cyrillic and greek
10210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10214 * BufferView_pimpl.h:
10215 * BufferView_pimpl.C: move bogus scrolling logic
10218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10221 * BufferView_pimpl.C: view->resize() change
10223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10225 * BufferView_pimpl.C: topCursorVisible
10228 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10232 * lyx_gui.C: move to frontends/
10236 * lyx_main.C: changes from above
10238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10245 * lyx_main.C: minor tidy
10247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10249 * BufferView_pimpl.h:
10250 * BufferView_pimpl.C:
10252 * BufferView.C: make painter() const,
10255 * BufferView2.C: use screen() accessor
10258 * lyx_main.C: some minor cleanup
10260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10262 * BufferView_pimpl.h:
10263 * BufferView_pimpl.C: remove enter/leaveView,
10266 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10271 * BufferView_pimpl.h:
10272 * BufferView_pimpl.C: only construct screen once,
10275 * lyxrc.C: remove pointless comment
10277 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10280 * BufferView.C: remove active() and belowMouse()
10282 * BufferView_pimpl.h:
10283 * BufferView_pimpl.C: use workarea() not workarea_,
10284 and make it use a scoped_ptr instead
10286 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10288 * lyx_gui.C: add debug message on BadWindow
10290 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10292 * sp_spell.C: fdopen is not part of the C++ standard.
10294 * paragraph.C (InsetIterator): use >= instead of ==
10296 2002-06-07 Angus Leeming <leeming@lyx.org>
10298 Fixes needed to compile with Compaq cxx 6.5.
10299 * BufferView_pimpl.C:
10306 * lyxtextclasslist.C:
10311 all c-library variables have been moved into namespace std. Wrap
10312 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10317 Add a using std::abs declaration.
10319 * kbmap.h (modifier_pair):
10320 * paragraph.h (InsetTable, InsetList):
10321 * lyxfont.h (FontBits):
10322 type definition made public.
10324 * bufferlist.C (emergencyWriteAll): the compiler complains that
10325 there is more than one possible lyx::class_fun template to choose from.
10326 I re-named the void specialisation as lyx::void_class_fun.
10328 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10330 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10331 the compiler is is unable to find tostr in write_attribute.
10333 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10335 * buffer.C (sgmlError): hide #warning
10337 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * xtl/*: get rid of xtl, which is not in use anyway
10341 * LyXAction.C (init):
10342 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10343 were unimplemented xtl experimentation
10345 2002-06-04 André Pönitz <poenitz@gmx.net>
10347 * lyxfunc.C: disable array operation on simple formulae
10349 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10351 * converter.C: constify a bit
10353 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10355 * lyx_gui.C: check xforms version correctly
10357 2002-04-30 Herbert Voss <voss@lyx.org>
10359 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10362 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10364 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10365 attempt to register it with a VCS)
10367 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * lyx_main.C (init): honor variables LYX_DIR_13x and
10372 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10376 * lyx_main.C: fix a crash on bad command line,
10377 and give a useful exit status on error
10379 * lyxfunc.C (doImport): allow -i lyx to work
10381 2002-03-30 André Pönitz <poenitz@gmx.net>
10383 * lyxfunc.C: mathed font changes
10385 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10400 * trans_mgr.h: srcdocs, and some minor cleanups
10402 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10404 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10405 call getFont all the time)
10407 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10409 * switch from SigC signals to boost::signals
10411 2002-05-29 André Pönitz <poenitz@gmx.net>
10413 * paragraph_pimpl.C (getChar): don't call size() too often...
10415 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * paragraph_pimpl.C (insertChar): do not try to update tables when
10418 appending (pos == size())
10420 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10421 in order to reduce drastically the number of comparisons needed to
10422 parse a large document
10424 2002-05-29 André Pönitz <poenitz@gmx.net>
10430 * textclasslist.[Ch]:
10431 * sp_ispell.h: whitespace change
10433 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10436 lyxaction directly now.
10438 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10442 * lyxvc.C: remove unused headers
10444 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10451 * undo_funcs.C: some cleanups. Use shared_ptr
10452 and a template for the undo stacks.
10454 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.h:
10457 * BufferView_pimpl.C:
10464 * text2.C: use key_state/mouse_state
10466 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10468 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10471 * chset.C: change include order
10472 (loadFile): use boost regex and get rid of LRegex and LSubstring
10474 * Makefile.am (BOOST_LIBS): new variable
10475 (lyx_LDADD): use it
10477 * LaTeX.C: change include order.
10478 (scanAuxFile): use boost regex and get rid of LRegex and
10482 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10487 * FontInfo.C: moved to frontends/xforms/
10490 * FontLoader.C: moved into frontends for GUIIzation
10495 * lyxfunc.C: changes from above
10497 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10499 * LColor.C: remove spurious X include
10501 * BufferView_pimpl.C:
10506 * text2.C: move font metrics to frontends/
10508 2002-05-24 Juergen Vigna <jug@sad.it>
10510 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10511 setting the undo_cursor.
10513 * ParagraphParameters.h: include local includes first.
10515 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10517 * BufferView_pimpl.C:
10518 * BufferView_pimpl.h:
10522 * screen.C: move WorkArea into frontends/
10528 * BufferView2.C: move LyXScreen into frontends/
10532 * lyx_gui.C: move lyxlookup into frontends/xforms/
10534 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.C:
10547 * bufferview_funcs.C:
10560 * vc-backend.C: move LyX/XFormsView into frontends/
10562 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10574 * text2.C: move Painter to frontends/
10576 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * buffer.C: comment out some some code that depend upon lyx_format
10581 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10582 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10584 * buffer.h (NO_COMPABILITY): turn off compability
10586 * ColorHandler.C: include scoped_array.hpp
10588 * font.C: Use more specific smart_ptr header.
10591 * ShareContainer.h: ditto
10592 * lyx_main.h: ditto
10594 * FontInfo.h: ditto
10595 * BufferView_pimpl.h: ditto
10596 * ColorHandler.h: ditto
10598 * kbmap.C (defkey): change call to shared_ptr::reset
10600 2002-05-21 Juergen Vigna <jug@sad.it>
10602 * buffer.C (insertErtContents): fix to insert ert asis if it is
10603 non empty. Skip it completely if it contains only whitespaces.
10605 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.C:
10608 * BufferView2.C: clear selection on paste (bug 393)
10610 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * DepTable.C: include ctime
10614 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10616 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10618 2002-05-14 Juergen Vigna <jug@sad.it>
10620 * text.C (breakParagraph): fixed function to honor the keepempty
10621 layout in the right maner and also to permit the right breaking
10622 algorithm on empty or non empyt keepempty paragraphs.
10624 * paragraph.C (breakParagraph): we have to check also if the par
10625 is really empty (!size()) for isempty otherwise we do the wrong
10628 2002-05-10 Juergen Vigna <jug@sad.it>
10630 * buffer.[Ch] : The following are only changes to the ert
10631 compatibility read reading old LaTeX layout and font stuff and
10632 convert it to ERTInsets.
10634 * buffer.h: added isErtInset().
10636 * buffer.C (struct ErtComp): add a fromlayout bool to check
10637 if we're inside a LaTeX layout.
10638 (isErtInset): new helper function.
10639 (insertErtContents): look for other ert insets before this one
10640 and insert the contents there, so that we don't have subsequent
10641 ERT insets with nothing between them. This way we create only one
10642 inset with multiple paragraphs. Also check if we don't insert only
10643 spaces ' ' as they are ignored anyway afterwards in the .tex file
10644 so if we have only spaces we will ignore this latex part in the
10646 (parseSingleLyXformat2Token \\layout): better compatibility when
10647 reading layout-latex stuff.
10648 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10650 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10651 stuff after reading the inset only get the information back from
10654 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10656 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10658 * LaTeXFeatures.C (getBabelOptions): New method.
10660 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * BufferView_pimpl.C (Dispatch): work around missing argument for
10665 2002-05-08 Juergen Vigna <jug@sad.it>
10667 * text.C (leftMargin): handle paragraph leftindent.
10669 * paragraph.C (writeFile): write the new \\leftindent tag.
10670 (validate): handle leftindent code.
10671 (TeXEnvironment): handle paragraphleftindent code again.
10673 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10675 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10676 for paragrap_extra indent code and new token \\leftindent.
10677 (latexParagraphs): handle the leftindent as environment.
10679 * ParameterStruct.h: added leftindent support.
10681 * ParagraphParameters.C (leftIndent): added support functions for
10682 the paragraph left indent.
10684 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10687 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10689 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10692 * text.C (computeBidiTables): No bidi in insetERT.
10694 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10697 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10699 * version.C.in: pre 5
10701 2002-05-02 José Matos <jamatos@fep.up.pt>
10702 * buffer.C (makeDocBookFile): white space changes, add newline to
10704 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10706 * tabular.C (docBook): fix typo.
10708 2002-05-03 Juergen Vigna <jug@sad.it>
10710 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10711 change in LyXText as we can not be sure it was not freed.
10712 (drawOneRow): remove unused code.
10714 * text.C (drawInset): redo the calculation of the need_break_row as
10715 it could have a row which was already freed.
10716 (draw): look at the return value of drawInset and return false if
10717 it also returned false.
10718 (paintRowText): look at the return value of draw and return false if
10719 it also returned false.
10721 * lyxtext.h: added bool return type to drawInset() and draw() so that
10722 if we have a change in the row so that the rowbreak has to be redone
10723 we abort drawing as it will be called again.
10725 2002-05-02 Juergen Vigna <jug@sad.it>
10727 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10728 a change in the maintext also if we're inside an inset.
10729 (Dispatch): set the cursor again after a break line and after the
10730 screen has been updated as it could be we're in a different row.
10732 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10733 to set the cursor behind the pargraph with > size().
10734 (setCursor): check also for the same paragraph when checking where
10735 to put the cursor if we have a NFR inset.
10737 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10738 parts of layout read further up as it still was in the wrong
10741 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * screen.C (drawFromTo): change sine fullRebreak always return
10746 * buffer.C (parseSingleLyXformat2Token): reindent some
10748 * BufferView_pimpl.C (update): change since fullRebreak always
10750 (Dispatch): git rid of the last hardcoded "Standard"s.
10752 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * text2.[Ch] (fullRebreak): make it return void now that we always
10757 2002-04-30 Juergen Vigna <jug@sad.it>
10759 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10760 ert compatibility check for "latex" layout.
10762 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10764 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10765 minipages: use col% instead of p%, and also use the current font.
10766 (makeLaTeXFile): Fix use babel condition.
10767 (parseSingleLyXformat2Token): Correct font when reading old floats.
10769 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10771 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10772 inserting list of floats.
10774 2002-04-25 Herbert Voss <voss@lyx.org>
10776 * MenuBackend.C (expand): don't add the graphics extensions to the
10779 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10782 non-existing layout, do not complain if it was the default layout
10783 of the original class (bug #342)
10785 2002-04-24 Juergen Vigna <jug@sad.it>
10787 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10788 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10790 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10792 * buffer.C (getBibkeyList): If using \bibliography, return the
10793 option field with the reference itself. Enables us to provide natbib
10794 support when using \bibliography.
10796 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10798 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10800 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10801 natbib is provided by the LaTeX class.
10803 2002-04-23 Juergen Vigna <jug@sad.it>
10805 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10808 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10810 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10814 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10815 ensuremath around textordmasculine, textordfeminine and
10818 2002-04-19 Juergen Vigna <jug@sad.it>
10820 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10821 reinitializing the buffer otherwise row-dimensions may be wrong.
10822 (update): reset also the selection cursors if they do exits otherwise
10823 their x/y positions may be wrong.
10825 * text2.C (cursorDown): don't enter the inset if we came from a row
10826 above and are one row over the inset.
10828 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10829 really leaving an inset.
10831 2002-04-18 Juergen Vigna <jug@sad.it>
10833 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10834 of the selected paragraph does not have the selected layout also if
10837 * text2.C (setLayout): fixed bug which did not change last selected
10840 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10841 changed the read and substituted \\end_float with \\end_inset!
10843 * BufferView_pimpl.C (cursorPrevious):
10844 (cursorNext): fixed to make it work with rows heigher than the work
10845 area without moving the cursor only the draw of the row.
10846 (workAreaMotionNotify): fix jumping over high rows.
10848 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10853 2002-04-16 Juergen Vigna <jug@sad.it>
10855 * text2.C (setCursor): set also the irow().
10856 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10858 (cursorDown): support for locking an inset if the x_fix value goes
10859 inside it. That way I can transverse insets too with cursor up/down.
10861 * lyxrow.h: added irow helper function same as other (i) functions.
10863 * BufferView_pimpl.C (cursorPrevious):
10864 (cursorNext): fixed for insets!
10866 2002-04-15 Juergen Vigna <jug@sad.it>
10868 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10869 position otherwise it is wrong in some cases.
10871 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10872 inside the inset before the call.
10874 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10876 * buffer.[Ch] (getBibkeyList): make it const.
10878 2002-04-12 Juergen Vigna <jug@sad.it>
10880 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10882 * text2.C (getCursorX): new helper function
10883 (setCursor): compute also ix_
10884 (setCursorFromCoordinates): set also ix.
10886 * lyxcursor.h: added ix_ and helper functions.
10888 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10890 * buffer.C (insertStringAsLines): dont break paragraph if the this
10891 paragraph is inside an inset which does not permit it!
10893 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10894 also with no chars on this paragraph.
10895 (paintRowText): only paint stuff if it's inside the workarea!
10897 * paragraph.C (breakParagraph): honor keepempty flag and break the
10898 paragraph always below not above.
10900 * BufferView2.C (unlockInset): update the paragraph layout on inset
10901 unlock as we changed paragraph in such a case.
10903 * lyxfind.C (LyXFind): clear the former selection if not found!
10905 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10906 again called in insertChar().
10908 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10909 an inset which uses the whole row!
10910 (rightMargin): ditto.
10911 (insertChar): force a rebreak if we inserted an inset!
10913 2002-03-28 Herbert Voss <voss@lyx.org>
10915 * lyxlength.[Ch]: add inBP() to get the right PS-point
10916 units (BigPoint). With inPixels we have rounding errors
10918 2002-04-11 Juergen Vigna <jug@sad.it>
10920 * text2.C (setCursorFromCoordinates): set iy to the right value.
10921 (setCursor): add check if row->previous exists!
10923 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10924 an old float_type as this was the case in the old code!
10926 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10928 * BufferView2.C (showLockedInsetCursor): use iy
10929 (fitLockedInsetCursor): ditto
10931 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10932 locked insets as there we have the right value now.
10934 * lyxcursor.C: added iy_ variable and iy functions to set to the
10935 baseline of cursor-y of the locked inset.
10937 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10938 (setCursor): fixed for insets which need a full row.
10940 * text.C (rowLastPrintable): don't ignore the last space when before
10941 an inset which needs a full row.
10942 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10943 as last character of a row when before a inset which needs a full row.
10945 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * version.C.in: update date
10949 * text2.C (fullRebreak): try to always return true and see what
10952 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10954 * MenuBackend.C (expand): use Floating::listName
10956 * FloatList.C (FloatList): add listName argument to the built-in
10959 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10960 text associated with the float.
10962 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10964 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10966 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * ShareContainer.h: add a couple of missing typenames.
10970 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10972 * lyxrc.C (getDescription): use _() correctly rather than N_().
10974 2002-03-28 Herbert Voss <voss@lyx.org>
10976 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10977 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10979 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10982 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10984 2002-03-29 Juergen Vigna <jug@sad.it>
10986 * lyxfunc.C (dispatch): add a missing fitCursor call.
10988 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10989 it was scrolled by a cursor move, so return the bool status.
10991 * BufferView.C (fitCursor): return the bool flag also to the outside
10992 world as this is needed.
10994 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10996 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10997 call the edit() as it is not needed (and wrong) IMO.
10998 (workAreaButtonPress): set the screen_first variable before evt.
10999 unlock the inset as this may change screen_first and then we have
11000 a wrong y position for the click!
11002 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * MenuBackend.C (expand): another translation that I missed
11006 2002-03-28 Juergen Vigna <jug@sad.it>
11008 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11010 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11012 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11016 * MenuBackend.C (expand): fix export/view/update when there is no
11019 2002-03-27 Herbert Voss <voss@lyx.org>
11021 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11024 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * bufferview_funcs.C (currentState): only show paragraph number
11027 for is DEVEL_VERSION is set.
11029 * lyxfunc.C (dispatch): put warning in INFO channel
11031 * MenuBackend.C (expand): translate the name of floats
11033 * FloatList.C (FloatList): mark the float names for translation
11035 * converter.C (convert): use LibScriptSearch
11037 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11039 * MenuBackend.C (defaults): fix default menu (we might as well get
11042 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11047 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * lyxvc.C: reorder includes.
11051 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11053 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11056 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11058 * CutAndPaste.C: change layouts earlier on paste
11059 to avoid crashing when calling getFont()
11061 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11063 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11066 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * WorkArea.C: remove 'Pending' debug message.
11070 * most files: ws cleanup
11072 * buffer.[Ch]: ws changes
11074 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11076 2002-03-21 Juergen Vigna <jug@sad.it>
11078 * tabular.C (SetMultiColumn): collapse also the contents of the
11079 cells and set the last border right. Added a Buffer const * param.
11081 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11083 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11086 2002-03-19 Juergen Vigna <jug@sad.it>
11088 * text2.C (clearSelection): reset also xsel_cache.
11090 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11091 where it needs to be called (John tells us to do so too :)
11092 (selectionLost): reset sel_cache.
11094 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11096 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11098 * text2.C (setCursorIntern): put debuging code in INSETS channel
11100 2002-03-19 André Pönitz <poenitz@gmx.net>
11102 * lyxfunc.C: tiny whitespace change
11104 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * ToolbarDefaults.C (init):
11107 * LyXAction.C (init):
11109 * BufferView_pimpl.C (Dispatch):
11110 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11112 2002-03-19 Allan Rae <rae@lyx.org>
11114 * exporter.C (Export): removeAutoInsets before doing anything else.
11115 While I've just introduced a dependency on BufferView this really is
11116 the best place to clean the buffer otherwise you need to cleanup in
11117 a dozen places before calling export or cleanup in a dozen functions
11120 * converter.C (runLaTeX):
11121 (scanLog): Better handling of removeAutoInsets and screen updates.
11123 * lyxfunc.C (dispatch): small whitespace changes
11125 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * WorkArea.C (C_WorkAreaEvent): return a value.
11128 (event_cb): return 1 if we handled the event, 0 otherwise.
11130 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11132 2002-03-18 Juergen Vigna <jug@sad.it>
11134 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11135 (GetAdditionalWidth): ditto.
11136 (RightLine): ditto.
11139 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11140 inset if we're there actually (probably not used right now but this
11141 is the direction to go for unifying code).
11142 (paste): disable code to clear the selection.
11144 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11145 inside an InsetText and move the check further up as it is in the
11148 * text2.C (pasteSelection): set a selection over the pasted text.
11150 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11152 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11153 and libgraphics to build on Cygwin.
11155 2002-03-15 Juergen Vigna <jug@sad.it>
11157 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11158 inserting an Inset into the paragraph. I know this is not the best
11159 fix but we already use current_view in CutAndPaste so we will remove
11160 all of it's using at the same time.
11162 * buffer.C (sgmlError): deactivated function till it is rewritten in
11163 the right mode, now it can create problems.
11165 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11166 before accessing it.
11168 2002-03-14 Juergen Vigna <jug@sad.it>
11170 * undo_funcs.C (textHandleUndo): do the right thing when updating
11171 the inset after the undo/redo.
11173 * text2.C (setCursor): just some testcode for #44 not ready yet.
11175 * undo_funcs.C (textHandleUndo): set the next() and previous()
11176 pointers of the paragraph to 0 before deleting otherwise we have
11177 problems with the Paragraph::[destructor].
11179 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11180 on a paragraph insertion.
11182 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * buffer.C (asciiParagraph): use += operator for char append to
11187 * paragraph.C (getFontSettings): compare >= not just >
11188 (highestFontInRange): ditto
11191 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * paragraph.C: change several algorithm to be more appripriate for
11194 the problem domain. This is lookip in FontList and in the InsetList.
11196 2002-03-13 André Pönitz <poenitz@gmx.net>
11199 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11201 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11206 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11208 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * Painter.C (display): anon helper function, adjust code for this
11212 (pixmap): remove function.
11214 * Painter.h: remove private display variable.
11216 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11218 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11220 * WorkArea.[Ch]: remove figinset_canvas cruft.
11222 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * lyxtextclass.C (operator): add one item cache optimization.
11226 * bufferlist.h: doxy changes
11228 * bufferlist.C: ws changes
11230 * DepTable.[Ch] (ext_exist): place const in the right spot.
11232 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11234 (workAreaExpose): call resizeInsets when the with BufferView changes.
11235 (Dispatch): adjust for protectedBlank removal
11236 (specialChar): call updateInset if the insert went ok.
11238 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11239 specialChar instead.
11241 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11243 * BufferView.h: doxy change
11245 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11247 * lyxtextclass.C (operator[]): remove non-const version
11248 (defaultLayout): remove non-const version
11250 2002-03-12 Juergen Vigna <jug@sad.it>
11252 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11253 did resize the LyXText too.
11255 * buffer.C (readLyXformat2): set layout information on newly allocated
11258 * tabular.C (OldFormatRead): set layout information on the paragraph.
11260 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11262 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11264 2002-03-11 Juergen Vigna <jug@sad.it>
11266 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11268 (resizeCurrentBuffer): force also the insets to resize themselfes.
11269 (moveCursorUpdate): fixed up for InsetText.
11271 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11274 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11275 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11276 value of Dialogs::tooltipsEnabled().
11277 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11279 2002-03-08 Juergen Vigna <jug@sad.it>
11281 * BufferView_pimpl.C (updateInset): update inset inside inset also
11282 if it isn't inside theLockingInset().
11284 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11286 * buffer.C (asciiParagraph): redo some of the word and line length
11288 (getLists): look for Caption instead of caption.
11290 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * buffer.C (Buffer): initialize niceFile to true
11294 (makeLinuxDocFile):
11295 (makeDocBookFile): make sure niceFile is true on exit
11297 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11301 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11303 * LyXSendto.C: remove.
11304 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11305 * lyx_gui.C: remove now-redundant comment.
11306 * ColorHandler.h: remove forward declaration of class WorkArea.
11307 * lyxfunc.C: remove #include "WorkArea.h".
11309 2002-03-07 Juergen Vigna <jug@sad.it>
11311 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11312 got moved away with the DEPM and also set the inset_owner always
11313 right which before could have been omitted.
11315 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11318 wanted layout is not found.
11320 2002-03-07 Juergen Vigna <jug@sad.it>
11322 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11324 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * paragraph.C (breakParagraph): use default layout not layout of
11328 (Paragraph): clear ParagraphParameters.
11330 2002-03-06 Juergen Vigna <jug@sad.it>
11332 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11333 otherwise it would not be a valid lenght. Fixed a special case in
11334 the minipage compatibility read where we end the document with a
11337 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11338 was set as it could be 0 for InsetTexts first entry.
11340 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11342 * paragraph.C (writeFile): if layout is empty write out
11343 defaultLayoutName().
11345 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11346 file without named layout we set layout to defaultLayoutName().
11348 2002-03-06 Juergen Vigna <jug@sad.it>
11350 * CutAndPaste.C (copySelection): set layout for new paragraph.
11352 * text.C (prepareToPrint): leave ERT inset left aligned
11353 (leftMargin): don't indent paragraphs inside ERT insets
11355 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * paragraph.C (breakParagraph): dont call clear do the work manually
11359 * paragraph.[Ch] (clear): remove function
11361 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11363 * paragraph.C (Paragraph): dont call clear, the work has already
11366 * lyxtextclass.C (operator): assert if n is empty
11368 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11369 work manually instead.
11371 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11373 * BufferView_pimpl.C: protect selectionLost against text == 0
11375 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * text.C (breakParagraph): fix a setting layout to '0' problem.
11379 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11381 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11382 final location of file, for the included files, and graphics.
11384 2002-03-05 Juergen Vigna <jug@sad.it>
11386 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11388 2002-03-04 Juergen Vigna <jug@sad.it>
11390 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11392 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11393 last column of multicolumn cells.
11394 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11396 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11398 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11399 file if it doesn't go to a temporary file.
11401 * buffer.C (sgmlOpenTag):
11402 (sgmlCloseTag): remove extra newline insertion.
11404 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * text.C (getRowNearY): comment out debug msg
11408 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * text2.C: first -> first_y
11412 * text.C (getRowNearY): add some attemts at a possible
11413 optimization, not working.
11415 * tabular.[Ch]: add BufferParams to several function so that newly
11416 created paragraph can be initialized to he default layotu for the
11419 * tabular-old.C (ReadOld): add buf->params to call of Init
11421 * screen.C: rename text->first to text->first_y
11423 * paragraph.C (breakParagraph): always set layout in the broken
11426 * lyxtextclass.C (Read): remove lowercase
11429 (delete_layout): ditto
11431 * lyxtext.h: rename first -> first_y
11433 * lyxlayout.C (Read): remove lowercase
11436 (obsoleted_by): ditto
11438 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11440 * buffer.C (insertErtContents): add params are to InsetERT
11441 (parseSingleLyXformat2Token): add code to check if a paragraphs
11442 layout really exist.
11443 (parseSingleLyXformat2Token): add params to several inset
11445 (asciiParagraph): remove lowercase, do the layout comparisons with
11448 * BufferView_pimpl.C (cursorNext): first -> first_y
11449 (resizeCurrentBuffer): first -> first_y
11450 (updateScrollbar): first -> first_y
11451 (scrollCB): first -> first_y
11452 (workAreaMotionNotify): first -> first_y
11453 (workAreaButtonPress): first -> first_y
11454 (checkInsetHit): first -> first_y
11455 (cursorPrevious): first -> first_y
11456 (cursorNext): first -> first_y
11457 (Dispatch): add buffer_->params to severl inset contructors
11459 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11461 * lyxlayout.C (Read): remove some debug info that I forgot.
11463 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11464 clean up the code slightly.
11465 (makeLinuxDocFile): ditto
11466 (makeDocBookFile): ditto
11468 * text2.C: layout as string
11470 * text.C: layout as string
11472 * paragraph_pimpl.C: layout as string
11474 * paragraph.[Ch]: layout as string
11476 * lyxtextclasslist.[Ch]: layout as string
11478 * lyxtextclass.[Ch]: layout as string
11480 * lyxtext.h: layout as string
11482 * lyxlayout.[Ch]: layout as string
11484 * lyx_cb.C: layout as string
11486 * bufferview_funcs.C: layout as string
11488 * bufferparams.C: layout as string
11490 * buffer.C: layout as string
11492 * LyXView.[Ch]: layout as string
11494 * LaTeXFeatures.[Ch]: layout as string
11496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11498 * BufferView_pimpl.C: change current_layout to string, remove
11503 (workAreaButtonRelease): layout as string
11505 * BufferView2.C (unlockInset): adjust
11507 * vspace.C (asLatexCommand): use an explict temp variable.
11509 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11511 * Makefile.am: use FRONTEND_*
11513 2002-03-01 Juergen Vigna <jug@sad.it>
11515 * tabular.C (SetWidthOfMulticolCell): changed to something better
11516 I hope but still work in progress.
11517 (recalculateMulticolumnsOfColumn): renamed function from
11518 recalculateMulticolCells as it is more appropriate now.
11519 (SetWidthOfCell): calculate multicols better.
11521 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11525 * lyxfunc.C (processKeySym): print sequence also if it is
11526 `deleted' (complete)
11528 * kbsequence.C (print): print sequence even if it is deleted
11529 (complete would be a better word, actually).
11531 * lyxfunc.C (dispatch): print complete options after a prefix key
11533 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11535 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11537 * text2.C (setCharFont): eliminate setCharFont code duplication.
11539 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11542 LFUN_TABULAR_FEATURE (bug #177)
11544 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11546 * Makefile.am: remove figure.h
11548 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11550 * Bufferview_pimpl.C:
11562 * text2.C: remove #include "lyx_gui_misc.h".
11564 * LaTeX.C: added #include <cstdio>
11566 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11569 that the paragraph following this one can have.
11571 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11573 * vspace.C (asLatexCommand): fix bogus gcc warning
11575 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11577 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11579 * text2.C (setLayout): get rid of redundant code
11581 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11583 * text2.C (incDepth): make sure depth cannot be increased beyond
11586 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11588 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11589 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11591 * PainterBase.h (image):
11592 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11593 a LyXImage const *.
11595 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView_pimpl.C:
11600 * BufferView_pimpl.h:
11620 * sp_spell.C: remove fig inset, and the crap house of
11621 cards that follows it
11623 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11628 * os2_errortable.h:
11629 * nt_defines.h: move .h into support/
11631 * vms_defines.h: remove
11633 * WorkArea.C: add space in debug output
11637 * buffer.C: add WITH_WARNINGS
11641 * bufferlist.C: s/retrive/retrieve/, add docs
11650 * chset.C: add docs
11652 * lyxgui.C: add ID to X error handler
11654 * lyxtestclass.c: fix typo
11656 2002-02-26 Juergen Vigna <jug@sad.it>
11658 * tabular_funcs.C (write_attribute): changed so that some default
11659 attributes are not written at all.
11660 (getTokenValue): set default values before trying to read the
11661 value so we have the return value always set as default if we don't
11662 find the token we search for.
11664 * tabular.C (Write): write bools as bools not as strings!
11666 2002-02-22 Juergen Vigna <jug@sad.it>
11668 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11669 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11671 * text.C (leftMargin): don't add an indent for paragraphs inside
11672 tabular cells (fix #208).
11674 2002-02-21 José Matos <jamatos@fep.up.pt>
11676 * tabular.C (docBook): fixed support for long tables.
11678 2002-02-20 Juergen Vigna <jug@sad.it>
11680 * text2.C (getFont): get the drawing font of the Inset if this
11681 paragraph is inside an inset (only important for InsetERT for now).
11683 * buffer.C (insertErtContents): use new lanugage params in ERT
11686 * CutAndPaste.C: commenting out seemingly uneeded code.
11688 2002-02-19 Allan Rae <rae@lyx.org>
11690 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11691 Iterators might be simple to use but they also get invalidated.
11692 (removeAutoInsets): renamed saved cursor tracking variables and added
11693 some comments to clarify what everything does.
11695 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11702 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11703 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11706 * vc-backend.h: remove #include "support/syscall.h"
11710 * converter.C: rearrange #includes in Lars' approved fashion.
11712 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11713 forward declare class Timeout in the header file.
11715 * XFormsView.C: changes due to the above.
11717 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11718 similar to LyXView.
11720 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11721 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11723 2002-02-18 José Matos <jamatos@fep.up.pt>
11725 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11728 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11730 * a lot of small ws changes
11731 * add a lot of using std::XXX
11732 * use std construcs some places where approp.
11733 * use some exisint stuff from lyxfunctional where approp.
11734 * Make file changes to use partial linking (lets test this now...)
11736 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11740 remove #include "support/syscontr.h" as it's redundant. Always has been.
11748 change Systemcalls::System to Systemcalls::Wait and
11749 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11750 No change of functionality, just reflects the stripped down Systemcalls
11753 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11755 * debug.[Ch]: add a GRAPHICS type to the enum.
11757 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11759 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11761 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11764 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11766 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11767 match the changes below.
11769 * text2.C (toggleInset): if there is not editable inset at cursor
11770 position, try to see if cursor is _inside_ a collapsable inset
11773 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11775 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11776 document menu has a nice checkbox
11778 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * lyxlength.C (asLatexString): change PW to output as percent of
11783 * lengthcommon.C: change '%' to 't%'
11785 * lyxfunc.C (dispatch): a few comments from Martin
11787 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11791 * BufferView_pimpl.h:
11792 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11795 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * vspace.C (inPixels): fix compiler warning
11799 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * lyxfunc.C (getStatus): fix status message for disabled commands.
11803 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11805 * BufferView_pimpl.C: fix crash on close buffer
11806 during selection (#227)
11808 2002-01-27 Herbert Voss <voss@lyx.org>
11810 * buffer.C: link old Figure to new graphic inset
11812 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11814 * FontLoader.C (getFontinfo): Change the latex font names in order
11815 to match the names of type1inst.
11817 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11821 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11822 (extchanged): ditto
11824 (remove_files_with_extension): ditto
11825 (remove_file): ditto
11828 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11829 document is smaller than the work area height. Do not initialize
11830 static variables to 0.
11832 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11836 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11837 LFUN_LAYOUT_PARAGRAPHS.
11839 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11840 tabular. It is possible to provide a possible cell, which will
11841 typically be the actcell from the corresponding insettabular
11843 * lyxfunc.C (getStatus): small cleanup; disable
11844 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11847 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11849 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11851 * paragraph.C (startTeXParParams):
11852 (endTeXParParams): new methods. The LaTeX code to
11853 start/end paragraph formatting
11854 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11855 empty (fixes bug #200)
11857 * vspace.C (inPixels): adapt to the change below
11858 (inPixels): [later] more cleanups (remove unused variables)
11860 * lyxlength.C (inPixels): change to use a width and a height as
11863 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11865 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11866 Replaced with \paperwidth
11868 * DepTable.C (insert): add std:: qualifier
11870 2002-01-18 Allan Rae <rae@lyx.org>
11872 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11875 * text.C (drawInset): Turned out I didn't know enough about how
11876 rebreaking worked. This fixes most of the redraw problems. I see
11877 an occasional cursor trail when a line is broken now and the cursor
11878 placement can seem out by a few pixels also after a rebreak.
11880 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11882 * buffer.C (parseSingleLyXformat2Token): update because minipage
11883 width is now a LyXLength
11885 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11887 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11890 2002-01-17 Juergen Vigna <jug@sad.it>
11892 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11894 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11895 is set correctly and the inset is updated correctly.
11897 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11900 the beginning of the loop.
11902 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11904 * lyxrc.C: improve help for use_scalable_fonts
11906 2002-01-17 Allan Rae <rae@lyx.org>
11908 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11910 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11913 make sure to set their inset_owner to the right value (bug #171)
11915 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11918 * DepTable.C: Implement mtime checking to reduce time spent doing
11921 2002-01-16 Juergen Vigna <jug@sad.it>
11923 * tabular.C (GetAdditionalHeight): one of error fixed.
11925 * lyxrc.C (output): small fix in writing use_pspell.
11927 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11929 * sp_base.h: #include LString.h
11931 2002-01-16 Allan Rae <rae@lyx.org>
11933 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11934 Can someone check this please?
11936 * text.C (drawInset): It was possible that p.row would be removed by
11937 breakAgainOneRow upsetting a few other settings. There may be another
11938 small tweak possible by setting need_break_row = 0 when p.row has been
11939 removed but I don't know enough about the logic here.
11941 2002-01-15 Allan Rae <rae@lyx.org>
11943 * text.C (insertChar): removed conditional truism.
11945 * BufferView2.C (removeAutoInsets): More tweaks.
11946 cur_par_prev could be a stray pointer. Check for trailing empty line
11947 in case last line was cur_par and only had an error inset on it.
11949 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11951 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11954 * vc-backend.C (most methods):
11955 * exporter.C (Export):
11956 * converter.C (convert):
11958 * LyXSendto.C (SendtoApplyCB):
11959 * lyxfunc.C (dispatch):
11963 * lyx_cb.C (AutoSave):
11965 * BufferView_pimpl.C (MenuInsertLyXFile):
11966 * buffer.C (runChktex): use Buffer::filePath().
11968 * buffer.h: rename filename to filename_; rename filepath to
11969 filepath_ and make it private
11970 (filePath): new method
11972 * buffer.C (writeFile): use fileName()
11975 * lyx_main.C (init): fix starting of LyX when the binary is a
11976 link from so,ewhere else.
11978 * minibuffer.C: include <cctype> for isprint
11980 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11982 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11983 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11984 name clash with InsetCollapsable's width function.
11986 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * lastfiles.C: include <iterator>
11990 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11992 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11995 * buffer.C (makeLaTeXFile): ditto.
11996 Also make loop operation more transparent.
11998 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12000 * ToolbarDefaults.C: remove trailing comma closing namespace.
12002 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12004 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12007 * trans.C (Load): comment out unused variable, allowed.
12009 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12011 * minibuffer.[Ch] (append_char): new method to recieve input from the
12012 drop-down completion browser. If a key was pressed, then recieve this
12013 char and append it to the existing string.
12014 (peek_event): modify the positioning data passed to the completion
12015 browser so that it can be placed above the minibuffer rather than below.
12016 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * LyXAction.C (init): alloe error-next for readonly documents.
12020 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12023 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12025 * bufferlist.C (readFile): create the buffer _after_ checking that
12028 * lyxfunc.C (verboseDispatch): fix handling of arguments
12030 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12032 * lyxrc.C: use string::erase() instead of initializing to "".
12035 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12037 * BufferView_pimpl.h:
12038 * BufferView_pimpl.C:
12041 * text2.C: tell X when we have made a selection for copying
12043 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12045 * BufferView_pimpl.C (MenuInsertLyXFile):
12046 * lyxfunc.C (menuNew):
12048 (doImport): add shortcuts to directory buttons
12050 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12053 * lyxfunc.C (setStatusMessage):
12054 (getStatusMessage): new methods
12055 (getStatus):use setStatusMessage instead of setErrorMessage
12056 (dispatch): when function is disabled, set error message here
12057 [instead of in getStatus previously]
12059 * BufferView_pimpl.C (workAreaButtonRelease): update
12060 toolbar/menubar here too.
12062 2002-01-13 Allan Rae <rae@lyx.org>
12064 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12065 Now seems indestructible. Remaining task is to audit all other
12066 code affected by deleteEmptyParagraphMechanism. One small quirk
12067 left is that an empty document with an error in the preamble can
12068 be made to report an error but no error box appears. I don't know
12070 (removeAutoInsets): Improved comments.
12072 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12075 * Thesaurus.C: update for Aiksaurus 0.14
12077 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12079 * text2.C (firstParagraph): removed member function, all uses
12080 replaces with ownerParagraph
12081 (redoParagraphs): here
12082 (updateInset): here
12083 (toggleAppendix): here
12084 * BufferView2.C (insertErrors): here
12085 (setCursorFromRow): here
12087 2002-01-13 Allan Rae <rae@lyx.org>
12089 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12090 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12091 There is still a way to segfault this although you may have to do this
12092 multiple times: Have an InsetERT with an unknown command in it.
12093 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12094 <down-arrow>, <Enter> again, View->DVI, BANG!
12096 * text2.C (setCursor):
12097 (deleteEmptyParagraphMechanism):
12098 * lyxtext.h (setCursor):
12099 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12100 Making use of the return value may help fix other bugs.
12102 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12106 * LyXView.C (updateMenubar): call MenuBar::update here
12107 (updateToolbar): but not here
12108 (showState): do not update toolbar/menubar
12110 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12111 should need to care about that.
12113 * lyxfunc.C (verboseDispatch): simplify a bit
12114 (getStatus): have a version which takes a pseudoaction, and
12115 another which requires a (kb_action,string).
12117 * LyXAction.C (retrieveActionArg): make it work also when action
12118 is not a pseudo-action.
12119 (getActionName): simplify a bit
12122 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * lyxfunc.C (verboseDispatch): new families of methods with
12125 several ways to specify a command and a bool to indicate whether
12126 the command name and shortcut should be displayed in minibuffer
12127 (eventually, we could extend that to a finer bitmask like
12128 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12129 (dispatch): the pristine dispatch command which just, well,
12130 dispatchs! Note it still sets its result to minibuffer; I'm not
12133 * lyxfunc.h: remove setHintMessage
12135 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12137 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12139 * BufferView_pimpl.C (specialChar): delete new inset if we have
12140 not been able to insert it.
12142 * kbmap.C: revert to using int instead of kb_action, since all we
12143 are dealing with is pseudo-actions.
12145 * LyXAction.C (searchActionArg): change to return int instead of
12146 kb_action, since the result is a pseudoaction.
12148 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12150 * buffer.C (insertErtContents): Fix (partially) the font bug.
12152 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12154 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12155 as the other one is broken on my machine!
12157 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12160 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12162 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12164 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12165 reflect their actual use. Provide compatibility code for older lyxrc
12168 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12170 change names of popup font variables in line with the changes to lyxrc.C
12172 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * buffer.C (asciiParagraph): avoid outputing a word twice after
12177 * lyxrc.C (getDescription): document that document_path and
12178 template_path can be empty.
12180 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * LaTeXFeatures.C (getMacros):
12183 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12185 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12187 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12189 (getPackages): rename feature "floats" to "float". Use an array to
12190 iterate over 'simple' features (i.e. just a \usepackage). Add
12191 handling of "amsmath" (renamed from "amsstyle").
12193 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12195 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12198 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12200 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12201 FuncStaus::FuncStatus & FuncStaus::some_method().
12203 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12205 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12206 of the func_satus stuff. Edited and massaged in various ways by
12209 * lyxfunc.C (getStatus): use FuncStatus
12211 2002-01-08 Juergen Vigna <jug@sad.it>
12213 * text.C (nextBreakPoint): use function Inset::isChar().
12215 * paragraph.C (TeXOnePar): use function
12216 Inset::forceDefaultParagraphs.
12218 * buffer.C (latexParagraphs): use function
12219 Inset::forceDefaultParagraphs.
12221 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12223 * lyx_gui.C (init): set the style of the menu popups to
12224 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12226 2002-01-07 Juergen Vigna <jug@sad.it>
12228 * text.C (setHeightOfRow): small fix
12229 (prepareToPrint): don't look at alignment if we don't have the place
12232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12234 * box.C: New file. Move the Box methods and functions out of box.h,
12235 following Lars' suggestion.
12237 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12239 * box.h: #include "support/LOstream.h", needed for inlined function.
12242 * lyxtextclasslist.C: added some using std declarations.
12244 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12246 * box.h: make signed dimensions to allow insets wider than
12247 the screen (bug #162)
12249 * BufferView_pimpl.C: add some insetHit debug
12251 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12253 * vc-backend.C: add FIXME
12255 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12257 * lyxfunc.C (getStatus): enable code for showing math font status
12260 2002-01-07 Juergen Vigna <jug@sad.it>
12262 * text.C (nextBreakPoint): removed debug output not needed anymore.
12264 2002-01-06 Juergen Vigna <jug@sad.it>
12266 * text.C (nextBreakPoint): fixed up this function we had this bug
12267 since ever but now hopefully we break row better.
12268 (insertChar): we have to check if an inset is the next char as it
12269 could now happen that a large inset is causing a break.
12271 2002-01-05 Juergen Vigna <jug@sad.it>
12273 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12274 if it doesn't like to be drawed.
12276 2002-01-04 Juergen Vigna <jug@sad.it>
12278 * BufferView2.C (lockInset): forgot to set a cursor.
12280 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12282 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12284 * FormMathsPanel.C:
12287 * form_maths_panel.C:
12288 * form_maths_panel.h:
12289 * form_maths_panel.fd: implemented sub- and super- buttons in math
12292 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12293 (or ^ space) to be used as in TeX (req'd by André).
12295 * lyxfunc.C: Allow ^ and _ again to be used both as
12296 super/subscript (mathed) and as themselves (in text).
12298 2002-01-03 Allan Rae <rae@lyx.org>
12300 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12301 "LyX" or the filename of the current buffer if it has one. This is a
12302 modified form of John Levon's patch.
12304 * XFormsView.C (setWindowTitle): also set icon title.
12306 * LyXView.h (setWindowTitle): signature changed.
12307 * XFormsView.h (setWindowTitle): ditto.
12309 2002-01-02 Juergen Vigna <jug@sad.it>
12311 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12313 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * screen.C (topCursorVisible): introduce a temp var for
12316 text->cursor.row(), handle the case where this row is null. (kindo
12319 * text2.C (setCursor): add a couple of asserts.
12321 * paragraph.h (inset_iterator): add -> operator
12323 * paragraph.[Ch] (autoDeleteInsets): remove member function
12325 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12326 cursor pos correctly and handle inset deletion by itself.
12327 (insertErrors): move iterator declaration out of for expression
12329 * lyxtextclass.C: add <algorithm>
12331 * Makefile.am: added the new files to sources, removed layout.C
12333 * layout.C: removed file
12335 * layout.h: remove LYX_DUMMY_LAYOUT
12337 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12341 * lyxtextclass.[Ch]:
12342 * lyxtextclasslist.[Ch]: new files
12344 * include order changes to a lot of files, also changes because of
12347 2001-12-27 Juergen Vigna <jug@sad.it>
12349 * buffer.C (asciiParagraph): more fixes.
12351 * tabular.C (ascii): make ascii export support export of only the
12352 data separated by a column-delimiter.
12353 (ascii): better support for ascii export.
12355 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12357 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12359 * tabular_funcs.C: use a "using std::getline" instead of the
12360 previous fix from Angus (necessary for cxx + lyxstring)
12362 2001-12-24 Juergen Vigna <jug@sad.it>
12364 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12366 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12367 problems. First check a minipage also if we have some ert-contents
12368 (not only on par->size(), second set the right depth of the paragraph
12369 on the relink to the root-paragraph-list!
12371 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12372 which then did not anymore update the main paragraphs on undo/redo!
12374 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12377 code. Support all font-changing funcs (even those which are not in
12378 menu currently). Support for reporting font settings in
12379 mathed (disabled until Andre provides a function on mathed's side).
12381 * func_status.h (toggle): small helper function to set toggle
12384 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12386 * tabular_funcs.C: getline -> std::getline
12388 2001-12-21 Juergen Vigna <jug@sad.it>
12390 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12391 accessed and could be 0 (I couldn't generate this but it seems
12394 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12397 * tabular_funcs.h: here and include iosfwd
12399 2001-12-20 Juergen Vigna <jug@sad.it>
12401 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12402 inside inset but undo_par was.
12404 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12406 * Thesaurus.C: always include <config.h> in sources.
12410 * box.h: do not include <config.h> in header files
12412 * text.C (paintLastRow): remove unused variable
12414 * text.C (transformChar):
12416 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12418 * Painter.C (text):
12419 * font.C (width): rewrite to use uppercase() instead of
12422 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12424 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12426 * lyxfind.C: clean up of find failure position change
12428 2001-12-20 Juergen Vigna <jug@sad.it>
12430 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12432 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12433 (TeXRow): added to LaTeX a single tabular row.
12434 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12435 (Latex): simplified and finally good LT-h/f support.
12436 (various_functions): just small adaptions for LT-h/f support.
12438 * tabular_funcs.[hC]: added and moved here all not classfunctions
12441 2001-12-19 Juergen Vigna <jug@sad.it>
12443 * tabular.[Ch]: better support for longtabular options (not finished
12446 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12448 * text.C (paintLastRow): use the label font instead of the font of
12449 the last character to compute the size of *_BOX. This makes more
12450 sense and avoids a crash with empty paragraphs.
12451 Use Painter::rectangle to draw EMPTY_BOX.
12453 2001-12-19 Juergen Vigna <jug@sad.it>
12455 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12456 the paragraphs if the replaced paragraph is not the first one!
12457 Tried to delete not used paragraphs but does not work yet so for
12458 now it's inside #ifdef's and by default off!
12460 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12462 * MenuBackend.C: include "lyx_main.h" instead of declaring
12463 lastfiles (actually was declared as LastFiles* instead of a
12466 2001-12-17 Juergen Vigna <jug@sad.it>
12468 * tabular.C (AppendColumn): applied John's fix
12470 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12474 * BufferView_pimpl.h:
12475 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12478 * box.h: new start of class for above
12480 * lyxfunc.C: ignore space-only minibuffer dispatches.
12481 Show the command name when it doesn't exist
12483 * minibuffer.C: don't add empty lines to the history
12485 * minibuffer.C: add a space on dropdown completion
12487 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12489 * text.C: fix line above/below drawing in insets
12491 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * lyxlength.C (LyXLength): Initialize private variables.
12495 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12497 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12498 when inserting error insets.
12500 2001-12-13 Juergen Vigna <jug@sad.it>
12502 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12503 actually sometimes the before-paragraph.
12504 (setUndo): don't clear the redostack if we're not actually undoing!
12506 2001-12-06 Juergen Vigna <jug@sad.it>
12508 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12509 and fixed redoing of main paragraph, so we can use it now ;)
12511 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12513 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12518 2001-12-13 André Pönitz <poenitz@gmx.net>
12521 * undo_func.C: minor cleanup
12523 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12526 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12527 font in urw-fonts package which is marked as -urw-fontspecific and
12528 does not work (incidentally, changing the encoding in the
12529 fonts.dir of this package to -adobe-fontspecific fixes the
12532 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12533 is a crash when undoing first paragraph (Juergen, please take a
12534 look). THis does not mean the undo fix is wrong, just that it
12537 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12538 the (Paragraph*) version when needed instead of duplicating the
12541 * text.C (workWidth): use Inset::parOwner to find out where the
12542 inset has been inserted. This is a huge performance gain for large
12543 documents with lots of insets. If Inset::parOwner is not set, fall
12544 back on the brute force method
12546 * paragraph_pimpl.C (insertInset):
12547 * paragraph.C (Paragraph):
12548 (cutIntoMinibuffer): set parOwner of insets when
12549 inserting/removing them
12551 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12553 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12559 * mathed/formulabase.C:
12560 * mathed/math_cursor.[Ch]:
12561 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12564 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12566 * lyxlength.[Ch] (operator!=): new function
12568 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12570 * text.C (workWidth): use Inset::parOwner to find out where the
12571 inset has been inserted. This is a huge performance gain for large
12572 documents with lots of insets. If Inset::parOwner is not set, fall
12573 back on the brute force method
12575 * paragraph_pimpl.C (insertInset):
12576 * paragraph.C (Paragraph):
12577 (cutIntoMinibuffer): set parOwner of insets when
12578 inserting/removing them
12580 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12582 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12584 * tabular-old.C (getTokenValue):
12585 * tabular.C (getTokenValue):
12586 (write_attribute): new versions for LyXLength
12587 (everywhere): adjust the use of widths
12589 * tabular.h: change the type of widths from string to LyXLength
12591 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12593 * paragraph.C: fixed missing line number count when exporting
12594 Environments to LaTeX file
12596 * buffer.C: added informational message for checking line numbers.
12598 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12600 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12601 paragraph, do the 'double space' part, but not the 'empty
12604 * text.C (workWidth): small optimization
12605 (getLengthMarkerHeight): use minimal size for negative lengths.
12607 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12609 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12611 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12613 2001-12-11 André Pönitz <poenitz@gmx.net>
12616 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12618 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12620 * text2.C: keep selection on a setFont()
12622 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12624 * lyx_cb.C: another bv->text misuse, from insert label
12626 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12629 * kbsequence.C: re-instate nmodifier mask
12631 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12633 * lyx_main.h: make lyxGUI private.
12635 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12637 * lyxfind.C: place the cursor correctly on failed search
12639 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12641 * text.C (getLengthMarkerHeight): for small heights, the arrows
12642 are not always on top/bottom of the text
12643 (drawLengthMarker): smaller arrows; take the left margin in
12644 account; draw also vfills.
12646 (paintLastRow): remove special code for vfill and standard spaces,
12647 since everything is handled in drawLengthMarker now.
12649 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * buffer.C (insertErtContents): try to handle font and language
12652 interaction a bit better.g
12654 * ColorHandler.C (updateColor): change the hash to cover the whole
12655 LColor enum, ws cleanup
12656 (getGCLinepars): ditto
12657 (getGCLinepars): only lookup in the linecache once.
12659 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12661 * iterators.C (operator++): Make the iterator more robust
12663 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12665 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12670 * text.C: better added space drawing
12672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12675 * BufferView2.C: fix layout combo update on inset unlock
12677 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12679 * Makefile.am: don't compile unused files
12681 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12685 * LyXAction.C: remove old LFUN_LAYOUTNO
12687 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12689 * paragraph_pimpl.h:
12690 * paragraph_pimpl.C: isTextAt() doesn't need font param
12692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12695 * lyxlex.C: little cleanup
12697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12699 * BufferView_pimpl.C: fix insertAscii for insets
12701 2001-12-05 Juergen Vigna <jug@sad.it>
12703 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12704 set the right font on the "multi" paragraph paste!
12706 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * lyxlength.C: remove out-commented code.
12714 * BufferView_pimpl:
12728 * vc-backend.C: change "while(" to "while ("
12730 * lyxlength.[Ch]: add zero function to check if length is zero or
12732 * lyxgluelength.C: use it
12734 2001-12-05 Allan Rae <rae@lyx.org>
12736 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12737 Works for 2.95.3, from what I understand of Garst's reports this should
12738 work for other g++ versions. We're screwed if the abs(int) definition
12739 changed between bugfix releases of gcc.
12741 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12743 * text.C: fix chapter label offset !
12745 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12748 * text.C: fix hfill at end of line, clean up
12750 2001-12-04 Juergen Vigna <jug@sad.it>
12752 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12753 that we force an update of the inset and it's owners if neccessary.
12755 2001-12-03 Juergen Vigna <jug@sad.it>
12757 * text.C (rowLast): simplified code
12759 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12761 * lyxfunc.C: fix show options on timeout
12763 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * screen.C (topCursorVisible): scroll half a page when the cursor
12766 reached top of bottom of screen
12768 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12770 * minibuffer.C: deactivate on loss of focus
12772 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * vspace.[Ch] (operator!=): add operator.
12776 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12778 * BufferView_pimpl.C: refuse to open an inset when
12779 there's a selection.
12781 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12783 * BufferView_pimpl.C: allow to click on RHS of full row insets
12785 2001-11-30 Juergen Vigna <jug@sad.it>
12787 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12788 insets for undo reasons.
12790 2001-11-28 André Pönitz <poenitz@gmx.net>
12792 * vspace.[Ch]: cosmetical changes
12794 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12804 * kbsequence.C: part re-write of old kb code
12807 * WorkArea.C: remove Lgb_bug_find_hack
12809 2001-11-30 José Matos <jamatos@fep.up.pt>
12811 * buffer.C (makeDocBookFile): add a comment to point a hack.
12812 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12813 Fixed a double write of labels.
12815 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12818 * LaTeX.h Fixed bug in LaTeX class where it would not
12819 re-run latex if no depfiles were changed, but the .dvi was removed.
12821 2001-11-28 André Pönitz <poenitz@gmx.net>
12823 * all the files from the change on 2001/11/26:
12824 use lyx::layout_type instead of LyXTextClass::size_type
12825 use lyx::textclass_type instead of LyXTextClassList::size_type
12827 2001-11-29 Juergen Vigna <jug@sad.it>
12829 * text.C: added support for paragraph::isFreeSpacing()
12831 * buffer.C: same as above
12833 * paragraph.h: inserted isFreeSpacing() function to enable
12834 FreeSpacing inside InsetERT.
12836 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12837 of the paragraph's in the cut/copy buffer to 0!
12839 * text2.C (removeRow): remove the assert as it can!
12841 * lyxtext.h: added helper function firstRow returning firstrow and
12842 made firstrow private again.
12844 * BufferView2.C (lockInset): don't relock if we're already locked!
12846 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12847 the only paragraph.
12848 (removeRow): added Assert::(firstrow)
12850 * debug.C: forgot to add INSETTEXT here.
12852 2001-11-28 Juergen Vigna <jug@sad.it>
12854 * sp_spell.C (initialize): changed error text to more general
12855 spellchecker command use (not only ispell!)
12857 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12859 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12861 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12863 * vspace.C: initialise lyxgluelength on failure
12865 2001-11-28 Allan Rae <rae@lyx.org>
12867 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12868 declaration & definition that looks like a function declaration.
12870 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12872 * BufferView2.C (copy):
12873 (copyEnvironment): do not clear the selection when doing a copy.
12875 * text.C (paintFirstRow): compilation fix
12877 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12879 * tabular.C (Latex): correct line count when writing latex.
12881 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12883 * paragraph_pimpl.h:
12884 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12887 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12891 * LColor.C: change vfillline->added_space
12893 * text.C: add markers and text for added space
12895 * vspace.C: fix comment
12897 2001-11-28 André Pönitz <poenitz@gmx.net>
12899 * paragraph.C: whitespace changes
12900 * all the other files from the change on 2001/11/26:
12901 change *::pos_type into lyx::pos_type
12903 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12905 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12906 language of the document when inserting error insets.
12908 2001-11-26 André Pönitz <poenitz@gmx.net>
12910 * BufferView_pimpl.[Ch]:
12918 * paragraph_pimpl.[Ch]:
12921 * text2.C: reduce header dependencies, introduce type for positions
12923 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12925 * <various>: change to use Alert.h
12927 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12929 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12930 when encountering an unknown token.
12931 (readLyXformat2): Show an error message if there were unknown tokens.
12933 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12936 * BufferView_pimpl.C:
12940 * text2.C: use par->isInset()
12942 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12944 * paragraph_pimpl.h:
12945 * paragraph_pimpl.C: cleanup
12947 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * text2.C (removeRow):
12950 * text.C (setHeightOfRow): remove useless (and costly) call to
12953 2001-11-20 Allan Rae <rae@lyx.org>
12955 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12956 Now need Inset*::checkInsertChar() to return true for appropriate
12957 cases so that the characters in the minibuffer will actually be
12960 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * text.C: change the order of the includes.
12963 (workWidth): initialize it at once.
12964 (workWidth): make maxw unsigned
12965 (setHeightOfRow): remove unused variable (inset)
12966 (selectSelectedWord): remove unused variable (inset)
12967 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12969 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12971 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12972 server is not running.
12974 (closeConnection): add debug info when server is disabled.
12976 * ColorHandler.C (getGCForeground): send debug message to GUI
12979 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12981 * kbmap.C (bind): modify because return conventions of
12982 kb_sequence::parse have changed.
12984 * kbsequence.C (parse): only ignore spaces and not any stupid
12985 control character. This avoids tests like s[i] <= ' ', which are
12986 guaranteed to fail with 8bit characters and signed chars.
12987 Change return code to string::npos when there have been no error
12988 (0 was a bad idea when error is at first character)
12990 2001-11-14 José Matos <jamatos@fep.up.pt>
12993 * buffer.C (simpleDocBookOnePar): removed unused argument.
12995 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12998 insets which are part of a word. Paragraph::isLetter takes care of
12999 that now. Use Paragraph::isInset to identify insets.
13000 (selectSelectedWord): do not test for hyphenation break.
13002 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13003 that protected spaces are considered as spaces.
13005 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13008 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13011 * lyxserver.C: fix it. and small cleanup.
13013 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13015 * BufferView_pimpl.C: use inline helpers
13018 * LaTeXFeatures.C: fix typos
13021 * Spacing.C: move spacing_string into class
13023 * ToolbarDefaults.C: move stuff into namespace anon
13025 * layout.h: update enum
13027 * lyxfunc.C: use better debug
13029 * minibuffer.h: fix typo
13033 * WorkArea.C: add and use Debug::WORKAREA
13037 * text2.C: code re-organisation, inline helpers
13039 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13041 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13042 std::vector.empty().
13044 2001-11-09 Allan Rae <rae@lyx.org>
13046 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13047 '\n's after tables. Tabular and ERT inset work now makes this no
13050 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13053 * minibuffer.C: fix crash, improve drop-down completion
13055 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13058 * lyxserver.C: invalidate fd's when doing endPipe()
13060 2001-11-08 José Matos <jamatos@fep.up.pt>
13062 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13063 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13066 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13068 2001-11-07 José Matos <jamatos@fep.up.pt>
13071 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13074 * buffer.C (sgmlOpenTag):
13075 * buffer.C (sgmlCloseTag): removed debug info.
13077 * buffer.h (sgmlOpenTag):
13078 * buffer.h (sgmlCloseTag): made public.
13080 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13082 * buffer.C (saveParamsAsDefaults):
13083 * lyx_cb.C (MenuLayoutSave): remove
13085 * LyXAction.C (init):
13087 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13089 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13091 * buffer.C (setPaperStuff): removed from here...
13093 * bufferparams.C (setPaperStuff): ... and moved there.
13095 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13099 * XFormsView.C: add support for drop-down completion
13101 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13103 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13106 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13111 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13113 * lyx_main.C: change ref to known bugs
13115 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13117 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13118 to work around older babel problems.
13120 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13122 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13124 2001-10-24 Juergen Vigna <jug@sad.it>
13126 * tabular-old.C (ReadOld): below variable changes reflected.
13128 * tabular.[Ch]: added ltType struct for longtable header/footer
13129 defines and changed all instances where they are used. Added
13130 future support for double top/bottom rows.
13132 2001-10-24 José Matos <jamatos@fep.up.pt>
13134 * buffer.h (docbookHandleCaption):
13135 * buffer.C (docbookHandleCaption): removed unused function.
13136 (makeDocBookFile): moved docbook supported version to v4.1.
13138 2001-10-24 José Matos <jamatos@fep.up.pt>
13141 * tabular.C (docbookRow): new function to export docbook code of a row.
13142 (DocBook): now honors the longtable flags.
13144 2001-10-23 José Matos <jamatos@fep.up.pt>
13147 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13148 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13150 * buffer.C (makeLinuxDocFile):
13151 (makeDocBookFile): reworked the preamble, more clean, and with
13152 support for lyx defined entities. Changed the document declaration
13153 to be more XML friendly.
13155 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13156 if we need to output XML that should be done with a filter.
13158 2001-10-22 Juergen Vigna <jug@sad.it>
13160 * sp_pspell.h (class PSpell): add alive function needed in the
13161 controller to see if the spellchecker could be started.
13163 2001-10-22 Juergen Vigna <jug@sad.it>
13165 * buffer.C (insertStringAsLines): modify the font for inserting
13166 chars in certain conditions by calling checkInsertChar(font).
13168 2001-10-19 Juergen Vigna <jug@sad.it>
13170 * text.C (workWidth): use getRow instead of wrong algorithm.
13171 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13173 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13178 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13180 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13182 * text.C (workWidth): do not search for the exact row when
13183 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13184 optimization for big documents.
13186 2001-10-18 Juergen Vigna <jug@sad.it>
13188 * text.C (workWidth): new function with added Inset * parameter.
13190 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13194 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13195 change return type of getColumnNearX.
13198 * text.C (changeRegionCase): use uppercase/lowercase instead of
13201 (rightMargin): simplify code by factoring out the uses of
13206 (appendParagraph): use Paragraph::size_type
13208 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * vspace.C (asLatexString): add a missing break
13212 2001-10-15 Herbert Voss <voss@perce.de>
13214 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13216 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13221 2001-10-10 André Pönitz <poenitz@gmx.net>
13223 * lyxfunc.C: removed greek_kb_flag.
13225 2001-10-10 Herbert Voss <voss@perce.de>
13227 * lyx_main.C: delete global string help_lyxdir.
13229 2001-10-09 Herbert Voss <voss@perce.de>
13231 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13233 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13235 * lyx_main.C: added global string help_lyxdir.
13237 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13239 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13241 * lyxrc.C (set_font_norm_type): support iso8859-4
13243 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13245 * LaTeX.C (deplog): add another regex for MikTeX
13247 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13249 * lyxrc.C (set_font_norm_type): support iso8859-3
13251 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13255 * LaTeXFeatures.C: remove special case of french and index
13257 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13258 before \begin{document}). This solves several incompatibilities.
13260 2001-10-03 Garst Reese <reese@isn.net>
13262 * lyx_cb.C: change CheckTex error msg.
13264 2001-10-03 José Matos <jamatos@fep.up.pt>
13266 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13268 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * .cvsignore: update
13272 * lyx_main.C (commandLineVersionInfo): use new style version info.
13274 * buffer.C (writeFile):
13276 (makeLinuxDocFile):
13277 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13279 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13281 * version.h: update to use stuff in version.C
13283 * version.C.in: new file. Contains version information determined
13284 at compile time. This is a merging of version.h and
13287 2001-10-03 Juergen Vigna <jug@sad.it>
13289 * BufferView_pimpl.C (update): don't change "dirty" status in
13292 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13294 * WorkArea.C (c-tor): re-position version string slightly.
13296 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13298 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13299 revert to previous code.
13301 WorkArea.[Ch]: (show, destroySplash): methods removed.
13303 WorkArea.C: rework code so that it's an amalgam of the codes before and
13304 after the splash screen was moved to WorkArea.
13306 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * vspace.C (inPixels):
13312 * buffer.C (insertStringAsLines):
13313 (asciiParagraph): fix types to be large enough
13315 * lyxlex_pimpl.h: change member status from short to int
13317 * layout.h: fix type of endlabeltype
13320 * kbsequence.C (parse): change return type to string::size_type
13322 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13325 * Bullet.C (bulletSize):
13326 (bulletEntry): do not use short ints as parameters
13328 * BufferView2.C (insertLyXFile): change a char to an int.
13330 * WorkArea.C (WorkArea): remove unneeded floats in computation
13332 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13334 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13336 * paragraph.C (asString): Do not ignore newline/hfill chars when
13337 copying to the clipboard.
13339 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13341 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13342 after a multi-line inset.
13344 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13346 * paragraph.C (validate): Set NeedLyXFootnoteCode
13348 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13350 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13351 and decrease-error to decrease.
13353 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13356 it more readable (should be equivalent)
13358 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13360 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13362 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13364 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13365 of a cursor (row, etc.) after a character has been deleted
13366 (deleteEmptyParagraphMechanism): call the method above on _all_
13367 cursors held by the LyXText when a double space has been
13370 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13372 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13374 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13376 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13377 background. Use greyOut() and the new show() methods to toggle between
13378 the foreground and background. Add code to remove the splash after
13379 its initial showing.
13381 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13382 (create_forms): no longer call Dialogs::showSplash.
13384 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * .cvsignore: add version_info.h
13388 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13390 * version_info.h.in: new file
13392 * Makefile.am: add version_info.h.in
13394 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13395 version_info.h instead of VERSION_INFO
13397 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13399 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13400 The ERT inset now returns string().
13402 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13404 * lyxtext.h, text.C (selectNextWord): renamed as
13405 selectNextWordToSpellcheck.
13407 * text.C (selectNextWordToSpellcheck): Modified to not select
13408 words inside an ERT inset.
13410 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13412 * lyx_cb.C (MenuLayoutSave): change a bit the question
13414 * sp_base.h: include <sys/types.h>
13416 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13418 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13420 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13422 * several files: fix typos in user-visible strings
13424 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13426 * text2.C (pasteSelection): do not set the selection, since it
13427 will be cleared later. Actually, the intent was to fix the way the
13428 selection was set, but I figured rmoving the code was just as good.
13430 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13432 * FontLoader.C (available): Check if font is available without
13435 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13437 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13439 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13441 * lyxrc.[Ch]: added display_graphics variable and associated code.
13443 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * bufferparams.C (hasClassDefaults): new method. Returns true if
13446 the buffer parameters correspond to known class defaults
13448 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13450 * XFormsView.C (show): set minimum size to the main window.
13452 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13454 * text2.C (copySelection):
13456 * lyxfind.C (LyXReplace):
13457 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13458 LyXText::selectionAsString.
13460 * paragraph.C (asString): add "label" argument to the second form
13462 * text2.C (selectionAsString): add "label" argument and pass it to
13463 Paragraph::asString.
13465 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * lyx_main.C (commandLineHelp): remove version information
13469 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13471 * lyx_main.C: add -version commandline option
13473 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * paragraph.h: make the optional constructor arg required instead.
13476 some modifications to other files because of this.
13478 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13480 * lyxserver.C (C_LyXComm_callback): make it static
13482 * lyx_main.C (error_handler): make it static
13484 * lyx_gui.C (LyX_XErrHandler): make it static
13486 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13488 * WorkArea.C: make the extern "C" methods static.
13490 * Makefile.am (lyx_LDADD): simplify
13492 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13494 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13495 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13497 * LyXAction.C (init):
13498 * lyxfunc.C (dispatch): associated code removal.
13500 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13502 * lyxfont.h (isSymbolFont): shut off warning
13504 * text.C (setHeightOfRow):
13505 (getVisibleRow): fix crash with empty paragraphs which have a
13508 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13510 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13513 2001-09-04 José Matos <jamatos@fep.up.pt>
13516 * tabular.C (docbook): rename docBook method to docbook.
13518 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13520 * Makefile.am: add dependencies to main.o.
13522 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13524 * FontLoader.C (available): Return false if !lyxrc.use_gui
13526 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13528 * FontInfo.C (query):
13529 * converter.C (view):
13530 * importer.C (Import):
13531 * exporter.C (Export): Can not -> cannot.
13533 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13535 * BufferView_pimpl.C: allow to create index inset even if
13538 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13540 * buffer.C (getLists): replace boost::tie code with an explicit pair
13541 as boost::tie can break some compilers.
13543 * iterators.h: Added a std:: declaration to the return type of
13546 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13548 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13551 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13553 * iterators.[Ch]: New files. Provide paragraph iterators.
13555 * buffer.C (changeLanguage): Use paragraph iterators.
13556 (isMultiLingual): ditto
13558 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13560 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13562 * FontLoader.C: Support for cmr font.
13564 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13566 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13567 (available): New method.
13569 * FontInfo.C (getFontname): Use scalable fonts even when
13570 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13573 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13575 * converter.C (Formats::view): reverted! Incorrect fix.
13577 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13579 * converter.C (Formats::view): only output the -paper option
13580 if the dvi viewer is xdvi, thereby fixing bug #233429.
13582 2001-08-23 Herbert Voss <voss@perce>
13584 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13586 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13588 * Spacing.h (Spacing): Set space to Default on in the default
13591 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * vc-backend.h (RCS::versionString): add RCS to version
13594 (CVS::versionString): add CVS to version
13596 * vc-backend.C (scanMaster): do not add CVS to version.
13597 (scanMaster): do not add RCS to version
13599 * lyxvc.C (versionString): new method
13601 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13603 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * Spacing.C (set): initialize fval
13607 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13609 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13612 2001-08-16 Juergen Vigna <jug@sad.it>
13614 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13616 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13618 * BufferView_pimpl.C:
13621 * text2.C: setParagraph takes linespacing now
13623 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13625 * LyxAction.C: add internal LFUN_CITATION_INSERT
13627 * LyXView.C: actually apply fix
13629 * bufferlist.C: fix open non-existent file
13631 * lyxfind.C: fix indentation
13633 * lyxfunc.C: remove unneeded assert, fix typo
13635 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13637 * MenuBackend.C: use "Floatname List"
13639 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13641 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13642 when converting LaTeX layout to insetERT.
13643 Generate a non-collapsed float when reading old float
13645 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13647 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13650 2001-08-13 Juergen Vigna <jug@sad.it>
13652 * text.C (fill): return 0 instead of 20 as this seems to be the more
13655 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13657 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13660 2001-08-13 Juergen Vigna <jug@sad.it>
13662 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13664 (SearchBackward): comment out the unlocking of the inset_owner this
13665 should not be needed!
13667 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13669 * Many files: Remove inherit_language, and add latex_language
13671 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13672 collapsible insets.
13674 2001-08-10 Juergen Vigna <jug@sad.it>
13676 * text.C (prepareToPrint): fixed hfill-width in draw!
13678 * BufferView2.C (selectLastWord): save the selection cursor as this
13679 now is cleared in the function LyXText::clearSelection!
13681 2001-08-08 Juergen Vigna <jug@sad.it>
13683 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13684 BACKSPACE type functions.
13686 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13687 is only cutted from the document but not put in the cut-buffer, where
13688 still the old stuff should be.
13690 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13692 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13694 * tabular.C (SetWidthOfCell): fixed special case where the width
13696 (LeftLine): handle '|' in align_special.
13698 (LeftAlreadyDrawed): ditto
13699 (SetWidthOfCell): ditto
13701 2001-08-07 Juergen Vigna <jug@sad.it>
13703 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13705 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13707 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13708 * lyxlex.[hC]: ditto
13710 2001-08-06 Juergen Vigna <jug@sad.it>
13712 * text.C (getVisibleRow): fix up row clearing a bit.
13714 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * minibuffer.C: make sure the X server sees the changes in the input.
13718 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13720 * paragraph.C (getFont): split into...
13721 (getLabelFont): this
13722 (getLayoutFont): and this
13723 * paragraph_pimpl.C (realizeFont): calling this
13725 * text2.C (getFont): split into...
13726 (getLayoutFont): this
13727 (getLabelFont): and this
13728 (realizeFont): all three calling this
13730 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13733 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13735 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13737 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13739 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13740 layouts from the Quote inset insertion.
13742 2001-08-03 Juergen Vigna <jug@sad.it>
13744 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13746 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13747 only if status not is already CHANGED_IN_DRAW (second level).
13749 * text.C (draw): don't set the need_break_row when inside an
13752 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * buffer.C (parseSingleLyXformat2Token): handle more latex
13757 * bufferview_funcs.[hC]: change function names to
13758 begin with small char, adjust other files.
13760 2001-08-02 André Pönitz <poenitz@gmx.net>
13763 BufferView_pimpl.C: remove broken special code for math-greek
13765 2001-08-02 Juergen Vigna <jug@sad.it>
13767 * BufferView_pimpl.C (update): redone this function so that we
13768 update the text again if there was a CHANGE_IN_DRAW.
13770 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13771 (drawFromTo): added a new internal bool which is used by draw() and
13773 (general): some cursor drawing problems fixed.
13775 2001-08-01 Juergen Vigna <jug@sad.it>
13777 * lyxfind.C (LyXFind): fixed
13778 (SearchForward): ditto
13779 (SearchBackward): ditto
13781 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13782 spurius drawing of the cursor in the main area.
13784 * text2.C (status): small fix which could lead to a segfault!
13785 (clearSelection): remove unneeded BufferView param.
13787 2001-08-01 André Pönitz <poenitz@gmx.net>
13789 * lyxfunc.C: small change due to changed mathed interface
13791 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13795 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13797 * lyxfunc.c: fail gracefully if file doesn't exist
13802 * BufferView_pimpl.C: IsDirWriteable() proto changed
13804 * LyXView.C: fix updateWindowTitle() to store the last title
13806 2001-07-31 Juergen Vigna <jug@sad.it>
13808 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13809 the font (wrong since using of Paragraph::highestFontInRange).
13811 * paragraph.C (highestFontInRange): added a default_size parameter.
13813 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13814 (setHeightOfRow): reformat
13816 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * converter.[hC] + affected files: move to (inital-char)lowercase
13821 * ParagraphParameters.C (ParagraphParameters): remove commented code
13823 * PainterBase.[Ch]: remove commented code
13825 * LaTeXFeatures.h: add "bool floats" for float.sty
13827 * LaTeXFeatures.C (LaTeXFeatures): init floats
13828 (require): handle float
13829 (getPackages): do it with floats
13831 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * BufferView_pimpl.C (Dispatch): improve handling of
13834 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13836 * commandtags.h: #include lyxfont.h here temporarily to avoid
13839 * bufferlist.h: include LString.h here.
13841 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * text2.C (getStringToIndex): new method.
13845 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13847 * *: Reduced header file dependencies all over.
13849 2001-07-30 Baruch Even <baruch@lyx.org>
13851 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13853 2001-07-29 Baruch Even <baruch@lyx.org>
13855 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13857 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * ParameterStruct.h (endif): add a default constructor to make
13860 sure that all variables is initialized.
13862 * ParagraphParameters.C (ParagraphParameters): adjust
13864 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13866 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13867 index; also, check that there is something to index, and that it
13868 does not span over several paragraphs.
13869 (doubleClick): use WHOLE_WORD_STRICT for double click.
13871 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13873 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13876 2001-07-26 Baruch Even <baruch@lyx.org>
13878 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13879 an InsetFig figure, backwards compatible reading of old figure code.
13881 2001-07-27 Juergen Vigna <jug@sad.it>
13883 * text2.C: font.realize function adaption.
13885 * text.C (draw): add a warnings lyxerr text if needed.
13887 * layout.C: font.realize function adaption.
13889 * language.C: add inherit_language and implement it's handlings
13891 * bufferview_funcs.C (StyleReset): remove language parameter from
13892 font creation (should be language_inherit now).
13894 * bufferparams.C (writeFile): handle ignore_language.
13896 * paragraph.C (getFontSettings): the language has to be resolved
13897 otherwise we have problems in LyXFont!
13899 * lyxfont.C (lyxWriteChanges): added document_language parameter
13900 (update): removed unneeded language parameter
13902 * paragraph.C (validate): fixed wrong output of color-package when
13903 using interface colors for certain fonts in certain environments,
13904 which should not seen as that on the final output.
13906 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13908 * BufferView_pimpl.C:
13913 * LyXAction.C: add thesaurus support
13916 * lyxfind.C: add "once" parameter, for thesaurus, to not
13917 move to the next match
13919 2001-07-26 Juergen Vigna <jug@sad.it>
13921 * lyxfont.C (realize): honor ignore_language too!
13924 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13926 * text.C (draw): one place more for ignore_language to not draw
13929 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13931 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13933 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13935 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13936 the minipage conversion problem.
13938 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13943 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * BufferView.h: don't forward declare WorkArea
13947 * BufferView.C: don't include WorkArea.h
13949 2001-07-25 André Pönitz <poenitz@gmx.net>
13953 * lyxfunc.C: new LFUN 'math-space'
13955 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13957 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * text2.C (toggleInset): call open/close
13961 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * lyxfunc.C (dispatch): add debug for the disabled case
13965 * font.C (buttonText): make similar to rectText
13967 * buffer.C (readInset): comment out parsing of insetlist and
13970 * PainterBase.C (rectText): small correction
13972 * BufferView_pimpl.C: comment out insettheorem and insetlist
13973 * LyXAction.C: ditto
13974 * commandtags.h: ditto
13976 2001-07-24 Juergen Vigna <jug@sad.it>
13978 * text.C (draw): honor the ignore_language.
13980 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13982 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13987 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13989 * lyxtext.h: remove unused (and unimplemented) methods
13991 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13993 * text.C (getVisibleRow): honor background color
13996 * Painter.h: remove default color argument for fillRectangle
13998 * text.C (backgroundColor): new method
14000 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * text.C (getVisibleRow): adjust
14004 * font.[Ch] (rectText): new method, metrics
14005 (buttonText): new method, metrics
14007 * PainterBase.[hC]: make rectText and buttonText always draw and take
14010 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14012 * ToolbarDefaults.C (read):
14013 * MenuBackend.C (read): allow escaping in all strings
14015 * BufferView_pimpl.C (insertAndEditInset): new method.
14016 (Dispatch): use insertAndEditInset whenever appropriate.
14018 * BufferView_pimpl.C (insertNote): removed
14020 * BufferView_pimpl.C (smartQuote): new method, moved from
14021 BufferView; if an insetquote cannot be inserted, insert a '"'
14024 * BufferView2.C: remove insertCorrectQuote();
14026 * lyxfunc.C (getStatus): Add support for all remaingin
14027 inset-insert lfuns.
14029 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14031 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14032 command (necessary to pass " as parameter of self-insert.
14034 * text.C (selectWordWhenUnderCursor):
14035 (selectWord): add word_location parameter
14036 (selectWordWhenUnderCursor): same + remove special code for word
14038 (selectNextWord): use kind() to guess type of insetspecialchar,
14041 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14042 (insertErtContents): create ert insets as collapsed.
14043 (readInset): better compatibility code for Info inset.
14045 2001-07-20 Juergen Vigna <jug@sad.it>
14047 * lyxfunc.C (dispatch): use always LyXFind now!
14049 * text2.C (init): add a reinit flag so that the LyXText can be
14050 reinited instead of deleted and reallocated (used in InsetText).
14052 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14058 2001-07-18 Juergen Vigna <jug@sad.it>
14060 * text.C (selectNextWord): handle insets inside inset by calling
14061 always the bv->text functions so that we can go up the_locking_inset!
14063 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14064 in strange locations when inside an inset!
14066 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14067 handling to include insets.
14069 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14071 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * LyXAction.C (init):
14075 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14076 LIGATURE_BREAK, since the name is so stupid.
14078 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14080 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14083 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14085 * sp_form.[Ch]: remove.
14087 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14089 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14092 * src/buffer.C (readInset): ditto.
14094 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14096 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14097 menuSeparator(), endOfSentenceDot(), ldots() and
14098 hyphenationPoint(), which are therefore removed.
14099 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14101 * LyXAction.C (init):
14102 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14104 * paragraph.C (getWord): removed.
14106 * BufferView_pimpl.C (Dispatch): use last word or selection for
14107 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14109 * lyx_main.C (queryUserLyXDir): do not ask before creating
14110 user_dir, except if it has been named explicitely.
14112 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14114 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14115 a document of zero size.
14117 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14119 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14120 approriately in the c-tor and in require().
14121 (getPackages): output the appropriate LaTeX for natbib support.
14123 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14124 variables "use_natbib" and "use_numerical_citations" when reading the
14126 (readInset): read the various natbib cite commands.
14127 (validate): white-space change.
14129 * bufferparams.[Ch]: new variables "bool use_natbib" and
14130 "bool use_numerical_citations".
14131 (writeFile): output them in the LyX file.
14133 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14135 * lyxfunc.C (getStatus): add support for all the inset insertion
14138 * text2.C (insertInset):
14139 * paragraph.C (insetAllowed):
14140 * BufferView_pimpl.C (insertInset): update to take in account the
14141 renaming of insertInsetAllowed
14143 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14145 * text2.C (getInset): new method. returns inset at cursor position.
14147 * BufferView_pimpl.C (Dispatch): changes because of this.
14149 * LyXAction.C (init): rename open-stuff to inset-toggle.
14151 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14153 * text2.C (toggleInset): renamed from openStuff; use
14156 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14158 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14160 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14162 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14164 * buffer.C (readLyXformat2): Add filename to the error dialog
14166 2001-07-18 Juergen Vigna <jug@sad.it>
14168 * tabular.C (GetCellNumber): put an assert here instead of the check!
14170 2001-07-17 Juergen Vigna <jug@sad.it>
14172 * BufferView_pimpl.C (toggleSelection): adapted too.
14174 * text.C (selectNextWord): adapted for use with insets.
14175 (selectSelectedWord): ditto
14177 2001-07-17 Juergen Vigna <jug@sad.it>
14179 * sp_spell.C (PSpell): fix initialitation order.
14181 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * paragraph.C: spacing
14185 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14187 * sp_spell.C: repair language selection for pspell
14189 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * lyxfunc.h: change more methods to begin with lower char.
14193 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14195 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14196 for unknown layouts.
14198 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14200 * buffer.C (readLyXformat2): Generate an error dialog if there are
14203 2001-07-16 Juergen Vigna <jug@sad.it>
14205 * sp_spell.C: always compile ISpell part.
14207 * lyxrc.C: added use_pspell entry and it's handling.
14209 2001-07-13 Juergen Vigna <jug@sad.it>
14211 * sp_spell.C: removed double includes.
14213 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14215 Consistent use of Lsstream.h:
14216 * Lsstream.h: added using std::stringstream for consistencies sake.
14218 * buffer.C: removed using std::stringstream
14220 * lyxfont.C (stateText):
14221 * paragraph.C (asString):
14222 * text.C (selectNextWord, selectSelectedWord):
14223 * text2.C (setCounter):
14224 * vspace.C (asString, asLatexString):
14225 std::ostringstream -> ostringstream.
14227 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14229 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14230 * commandtags.h: add LFUN_HELP_ABOUTLYX
14231 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14233 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14235 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14237 * lyx_gui_misc.C: remove spellchecker
14238 * lyxfunc.C: showSpellchecker
14240 * sp_ispell.h: added
14241 * sp_pspell.h: added
14242 * sp_spell.C: added
14243 * sp_form.[Ch]: removed
14244 * spellchecker.[Ch]: removed
14246 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14248 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14250 (simpleTeXSpecialChars): Simply print the input character without
14251 any special translation if pass_thru is set.
14253 * layout.h: Added bool pass_thru to layout class for being able to
14254 implement pass through of a paragraph for Literate Programming.
14256 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14257 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14258 * layout.C (Read): add "passthru" to list of layout tags and add
14259 code to set the pass_thru boolean when it is read.
14261 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * trans_decl.h: remove allowed from KmodInfo
14265 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14266 remove allowed code
14269 * paragraph_pimpl.C (erase): use boost::prior
14271 * Painter.C (text): use data() instead of c_str() when length is
14273 * WorkArea.C (putClipboard): ditto
14274 * font.h (width): ditto
14276 * BufferView2.C: use it-> instead of (*it). for iterators
14278 * paragraph_pimpl.C: ditto
14279 * paragraph.C: ditto
14280 * minibuffer.C: ditto
14281 * language.C: ditto
14283 * encoding.C: ditto
14284 * counters.C: ditto
14285 * converter.C: ditto
14287 * Variables.C: ditto
14288 * TextCache.C: ditto
14289 * MenuBackend.C: ditto
14290 * LyXAction.C: ditto
14292 * FloatList.C: ditto
14293 * DepTable.C: ditto
14294 * ColorHandler.C (LyXColorHandler): ditto
14296 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14298 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14300 * text2.C (openStuff): reintroduce this method (which had been
14301 nuked in NEW_INSETS frenzy).
14303 * lyxfunc.C (Dispatch): when an action has not been handled, use
14304 its name in the error message, not its number.
14306 * paragraph.C (inInset): change method name to begin with lowercase.
14309 * text2.C: updates because of this.
14311 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * ToolbarDefaults.C (add): add spaces in error message
14315 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14318 (readLyXformat2): rename return_par to first_par, use lyxlex's
14319 pushToken and remove the manual push handling.
14320 (parseSingleLyXformat2Token): add another ert comp. variable:
14321 in_tabular, rename return_par to first_par. handle newlines better
14323 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14327 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * text2.C (getParFromID): removed
14331 * buffer.C (getParFromID): new method moved form lyxtext.
14332 * BufferView2.C (insertErrors): adjust
14333 (setCursorFromRow): adjust
14334 * BufferView_pimpl.C (restorePosition): adjust
14335 * lyxfunc.C (Dispatch): adjust
14336 * undo_funcs.C (textUndo): adjust
14338 (textHandleUndo): adjust
14339 (textHandleUndo): adjust
14341 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * buffer.C: up' the LYX_FORMAT
14345 * lyxfont.h: turn NO_LATEX on as default
14347 * buffer.C (insertErtContents): new methods of tex style compability.
14348 (parseSingleLyXformat2Token): use it several places.
14349 * tabular.C (OldFormatRead): and here
14351 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14353 * text2.C: remove some commented code.
14356 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14357 * trans.C: changes because of the above.
14359 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14361 * text2.C (setCounter): Fix counters bug with bibliography layout.
14363 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14366 own member functions
14367 (simpleTeXSpecialChars): ditto
14369 2001-07-06 Juergen Vigna <jug@sad.it>
14371 * a lot of files: changed the access to LyXText::status and the
14372 call of undo-functions.
14374 * undo.[Ch]: added a inset_id to the undo informations.
14376 * undo_funcs.[Ch]: added and moved here all undo functions.
14378 * lyxtext.h: give the status enum a weight, made status_ a private
14379 variable and made accessor functions for it, removed the whole bunch
14380 of undo-functions as they are now in their own file, make some
14381 functions publically available. Added function ownerParagraph with
14384 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14385 made InInset() a const function, added getParFromID() function.
14387 * buffer.[Ch]: added const version for inset_iterator functions,
14388 added getInsetFromID() function.
14390 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14391 changed undo functions for new version.
14393 2001-07-05 Juergen Vigna <jug@sad.it>
14395 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14396 unknow mechanism does not call the proper constructor but only this
14397 one also if I request the other!?
14399 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14401 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14403 * text2.C (LyXText): use initialization lists.
14405 * lyxtext.h (Selection): initialize set_ and mark_
14406 (init): remove method
14408 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14410 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14412 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * screen.[Ch]: change method names to begin with lowercase
14416 * BufferView_pimpl.C (updateScrollbar): simplify further and
14417 hopefully make it a bit faster.
14419 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14422 calling directly xforms functions.
14424 * Painter.C (Painter):
14425 * lyx_cb.C (MenuWrite):
14426 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14429 * lyx_gui.C: remove bogus guiruntime extern declaration.
14431 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14435 (redoDrawingOfParagraph): ditto
14436 (redoParagraphs): ditto
14437 (cutSelection): don't create a object for CutAndPaste use the
14438 static method directly
14439 (pasteSelection): ditto
14441 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14444 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * modifications to some other files because of this.
14448 * Makefile.am (lyx_SOURCES): add XFormsView
14450 * XFormsView.[Ch]: new files
14452 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14453 the main window. Move the gui dependent stuff to XFormsView
14455 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14457 * tabular.C (GetCellInset): update cur_cell also in the row/col
14458 version of this function.
14460 * lyxfunc.C: no need to include figure_form.h here.
14466 * lyxvc.C: no need to include forms.h here.
14468 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14472 * lyxfunc.C (Dispatch):
14474 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14475 constructor argument.
14477 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14479 * paragraph.C (Paragraph): dont't clear, and just set layout.
14480 (makeSameLayout): use params's copy contructor.
14482 * ParagraphParameters.[Ch] (makeSame): delete method
14484 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14486 * Variables.[Ch]: fix indentation, rename set to isSet
14488 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14490 * lyxfunc.C (Dispatch): fix typo
14492 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14497 * bufferlist.C: include assert.h for emergencyWrite().
14499 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14501 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14502 give up at last (bug #425202) !
14504 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14510 * spellchecker.C: strip spellchecker options and bring up
14511 preferences tab instead
14513 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14516 the istringstream constructor
14518 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * paragraph.C (getLayout): fix return value
14522 * paragraph.h: do not declare getLayout as inline.
14524 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14526 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14528 * lyxcursor.h (operator<): new func
14529 (operator>): new func
14530 (operator>=): new func
14531 (operator<=): new func
14533 * text.C (changeCase): use selection.start and selection.end
14534 (changeRegionCase): require from to be <= to. Require par to be a
14537 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14539 2001-06-27 Juergen Vigna <jug@sad.it>
14541 * text.C (cursorLeftOneWord): changed to return the cursor and added
14542 overlay with BufferView * parameter which calls this one.
14544 (selectWord): use new getWord function.
14545 (changeCase): renamed from changeWordCase as and extended to work
14546 also on selections.
14548 * lyxtext.h: added enum word_location
14550 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14551 changeCase as this operates now also on selections.
14553 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14555 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14557 * many files: send debug output to Debug::INFO instead of
14560 * converter.C (View):
14562 (Move): send debug output to Debug::FILES instead of console.
14564 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14566 * lyxfunc.C (getStatus): use func_status
14568 * func_status.h: new header, describing the results of
14569 LyXFunc::getStatus;
14571 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14574 2001-06-25 The LyX Project <jug@sad.it>
14576 * buffer.C (sgmlOpenTag):
14578 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14580 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14582 * text2.C: remove some dead code
14584 * tabular.C (GetCellInset): store the last cell checked (gotten)
14586 * tabular.h: add the helper for the speedup
14588 * lyxtext.h: remove some dead code
14590 2001-06-26 The LyX Project <Asger>
14592 * paragraph.C: Change export to LaTeX of alignment to
14593 \begin{center} and family for better roundtrip work with reLyX.
14595 * Tune the math drawing a bit.
14597 2001-06-25 The LyX Project <Asger>
14599 * LColor.C (LColor): New color for math background. New color
14602 2001-06-25 The LyX Project <jug@sad.it>
14604 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14606 * lyxfunc.C (Open):
14607 * bufferlist.C (newFile): do not restrict to files ending with
14610 * BufferView_pimpl.C (MenuInsertLyXFile):
14612 2001-06-24 The LyX Project <jug@sad.it>
14614 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14617 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * lyxtext.h: rename most methods to begin with a small char.
14620 Lots of changes because of this.
14622 * paragraph.C (Paragraph): do not call fitToSize
14623 (erase): call Pimpl::erase
14624 (insertChar): call Pimpl::insertChar
14625 (insertInset): call Pipl::insertInset
14626 (breakParagraph): do not call fitToSize
14627 (breakParagraphConservative): do not call fitToSize
14628 (fitToSize): remove method
14630 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14632 2001-06-24 The LyX Project <Asger>
14634 * Fix Qt compilation^2
14636 2001-06-24 The LyX Project <jug@sad.it>
14638 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14639 depthHook(getDepth()-1).
14642 * ParagraphParameters.h:
14643 * ParameterStruct.h: change type of depth to unsigned int ==
14644 depth_type. Many adaptations to other files before of that.
14646 2001-06-24 The LyX Project <Asger>
14648 * Fix Qt compilation.
14650 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14652 * paragraph.h: renamed several methods to begin with small letter.
14653 several changes to many parts of the code because of this.
14655 2001-06-23 The LyX Project <jug@sad.it>
14657 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14658 rewritten to discard all double spaces when KeepEmpty is off
14659 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14660 to only handle newlines but not fiddle with spaces and friends.
14662 * lyxfunc.C (MenuNew): when doing 'new from template', use
14663 template_path as default directory
14665 2001-06-23 The LyX Project <Asger>
14667 * Clean-up of header file includes all over
14668 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14670 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * paragraph.h: renamed from lyxparagraph.h
14674 2001-06-23 Asger <lyx@violet.home.sad.it>
14676 * Buffer.h: Removed Buffer::resize
14677 * BufferList.h: Removed BufferList::resize
14678 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14679 the document lazily when we change the width, or the font settings.
14681 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14683 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14685 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14687 * buffer.h: remove out of date comment
14689 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14692 * screen.C: fix "theoretical" GC leak
14694 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * LaTeX.C (scanAuxFile):
14697 (deplog): remove trailing \r when reading stream (useful under
14700 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14702 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14703 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14704 and BufferView::theLockingInset(Inset*), so should use them and not
14705 access bv_->text->the_locking_inset directly.
14707 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14709 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14712 * tex-defs.h: remove old unused file
14714 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14716 * BufferView_pimpl.C: fix typo, remove minibuffer message
14717 when buffer has loaded
14719 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * lyxfunc.C (Dispatch): use stringstream
14722 (MenuNew): use stringstream
14723 (Open): use stringstream
14725 * importer.C (Import): use stringstream
14727 * bufferview_funcs.C (CurrentState): use stringstream
14729 * LaTeX.C (run): use stringstream
14731 * BufferView_pimpl.C (savePosition): use stringstream
14732 (restorePosition): use stringstream
14733 (MenuInsertLyXFile): use stringstream
14735 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14748 * vspace.C: removed // -*- C++ -*- as first line.
14751 * version.h: added // -*- C++ -*- as first line.
14753 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14757 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14760 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14765 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * gettext.C: include LString.h even when --disable-nls is on.
14769 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14771 * converter.h (Get): changed argument type from int to
14772 FormatList::size_type to avoid unnecessary conversion.
14774 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14777 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14779 * gettext.h: include LString.h even when --disable-nls is on.
14781 2001-06-07 Juergen Vigna <jug@sad.it>
14783 * text.C (BreakAgain): subst spaces with tabs.
14785 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14786 (resizeInsetsLyXText): set force on resizeLyXText.
14788 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * gettext.h (gettext_init):
14791 (locale_init): use a real definition instead of a macro
14793 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14795 * Bufferview_pimpl.C:
14797 * LColor.C: further lcolor tidies
14799 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14801 * BufferView_pimpl.C (updateScrollbar): simplify.
14803 * BufferView2.C: don't include insets/insetinfo.h, change
14804 prototype for insertInset and call the Pimpl version. let
14805 updateInset call Pimpl version.
14807 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14808 gotoInset to BufferView::Pimpl
14810 2001-06-01 Juergen Vigna <jug@sad.it>
14812 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14813 inside a LockingInset (is the update needed at all?).
14815 2001-05-31 Juergen Vigna <jug@sad.it>
14817 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14818 here not the old one otherwise how should we compare it afterwards
14821 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14826 * FontInfo.C: bring C functions into global namespace when
14829 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * LString.h: make sure config.h has been loaded before LString.h.
14833 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14834 (one for each char read by EatLine!).
14836 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14839 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14841 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14842 to the same as the par we break from
14844 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14848 * MenuBackend.C (expand): also create menu entries for wide
14849 versions of the floats.
14851 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14853 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14855 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14856 frontends/Makefile.am
14862 * tabular.C (getTokenValue): add std::
14864 * tabular-old.C (getTokenValue): add std::
14865 (getTokenValue): ditto
14866 (getTokenValue): ditto
14868 * screen.C (ToggleSelection): adjust
14870 * lyxtext.h: put selection cursors inside a Selection struct.
14872 * lyxfunc.C (moveCursorUpdate): adjust
14874 * lyxfont.C (latexWriteStartChanges): add std::
14876 * lyxfind.C: adjust
14878 * font.h: delete with(char const *, LyXFont const &)
14880 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14882 * FontInfo.C (getFontname): add std::
14884 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14885 (workAreaButtonPress): adjust
14886 (tripleClick): adjust
14888 (moveCursorUpdate): adjust
14891 * BufferView2.C (gotoInset): adjust
14893 2001-05-30 Juergen Vigna <jug@sad.it>
14895 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14896 to check pspell I add this as default as I now have new pspell
14897 libraries and they seem to use this.
14899 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14901 * text2.C (CutSelection): make the cursor valid before the call to
14904 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14907 relied on 0 terminated strings and other horrors. Bug found due to
14908 the new assert in lyxstring!
14910 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14913 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14915 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14918 * lyxfunc.C (processKeySym): change method of getting to the
14921 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14922 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14923 * BufferView_pimpl.[Ch]: here as private methods.
14925 2001-05-28 Juergen Vigna <jug@sad.it>
14927 * text.C (SetHeightOfRow): added the update() call again as it is
14928 needed to initialize inset dimensions!
14930 2001-05-16 Juergen Vigna <jug@sad.it>
14932 * text2.C (SetCharFont): Add new function with BufferView * and
14933 bool toggleall parameters for setting insets internal fonts.
14934 (SetFont): Freeze the undo as we may change fonts in Insets and
14935 all this change should be inside only one Undo!
14937 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14938 setting font's in insets as for them we have the SetFont function!
14940 2001-05-15 Juergen Vigna <jug@sad.it>
14942 * text2.C (ClearSelection): to be sure we REALLY don't have any
14945 * tabular.C (TeXCellPreamble): fixed the left border problem for
14948 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14950 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14953 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14956 LFUN_BREAKPARAGRAPH.
14958 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14959 help test to "internal only", similar for LFUN_INSERT_URL
14961 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14962 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14963 auto_region_delete and deadkeys.
14965 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14968 * LColor.C: remove some dead entries, tidy a little
14970 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14972 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14974 (Dispatch): implement LFUN_ESCAPE
14976 * commandtags.h: add LFUN_ESCAPE
14978 * LyXAction.C (init): add entry for LFUN_ESCAPE
14980 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14981 Remove commented code.
14982 (insertNote): moved here
14983 (open_new_inset): moved here
14985 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14988 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * kbmap.C (findbinding): clean it up and make it work correctly.
14992 * lyx_main.C (init): do not pass argc and argv as parameters
14994 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14996 * buffer.C: fix path for OS/2 & Win32
15000 * lyx_main.C: Added os:: class.
15002 * os2_defines.h: update
15004 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15006 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15007 better by trying again with reduced state.
15009 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * lyxrc.C (read): print error about invalid key sequence only when
15012 debugging (because not all latinX keysyms are known to some X
15015 * kbsequence.C (getiso): add a few std:: qualifiers
15016 (getiso): comment out extra return statement.
15018 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15022 (Dispatch): enhance the accent inset a bit. (not perfect)
15024 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15028 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * bufferlist.C (emergencyWrite): fix assert() call
15032 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15034 * text.C (InsertChar): Added trivial patch to only send the "you
15035 can not do multiple spaces this way" message once during a
15038 2001-05-08 Baruch Even <baruch@lyx.org>
15040 * Makefile.am: Changed order of libraries to get LyX to link properly
15041 with the gnome frontend.
15043 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15045 * LaTeXFeatures.h: add a std:: qualifier
15047 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15049 * paragraph.C (String): use stringstream
15051 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15053 * paragraph.C (writeFile): remove footflag arg
15055 * buffer.C (makeLaTeXFile): use stringstream
15056 (latexParagraphs): remove footnot gurba
15058 * LaTeXFeatures.C (getPackages): use stringstream
15059 (getMacros): likewise
15060 (getTClassPreamble): likewise
15061 (getFloatDefinitions): new method
15063 * paragraph.C (writeFile): reindent
15066 * WorkArea.h: revert the xpos + etc changes.
15068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15070 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15072 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15073 (pasteSelection): likewise
15074 * text2.C (CreateUndo): likewise
15076 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15078 * minibuffer.C (peek_event): temporarily reduce the functionality
15079 of the minibuffer (to allow args on lfuns)
15081 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15082 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15084 * buffer.C (readInset): add compability reading of old float
15085 lists, add reading of new style float list.
15086 (readInset): avoid reevaluation of inscmd.getCmdName()
15087 (getLists): reindent
15089 * MenuBackend.C (MenuItem): implement parsing of
15090 md_floatlistinsert and md_floatinsert.
15091 (expand::LastFiles): move initalizaton of iterators out of loop,
15092 avoid reevaluation.
15093 (expand::Documents): introduce typdedef vector<string> Strings,
15095 (expand::ExportFormats): introduce typedef vector<Format const *>
15096 Formats, and use it.
15097 (expand): implement FloatListInsert and FloatInsert.
15099 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15100 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15101 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15103 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15105 (Dispatch::LFUN_FLOAT_LIST): implement
15107 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15109 * LaTeX.C (run): Fix problem with --export code.
15111 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15113 * BufferView.[Ch] (workarea): removed.
15114 (getClipboard) new method; wrapper for workarea()->getClipboard()
15116 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15119 * WorkArea.h (width, height, xpos, ypos): These methods all
15120 returned the dimensions of the work_area sub-area of WorkArea,
15121 resulting in a position error if the WorkArea were resized. Now
15122 return the dimensions of the entire WorkArea.
15124 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15126 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * LaTeX.C (deplog): correct the syntax of regex reg1
15130 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * undo.C: remove !NEW_INSETS cruft
15134 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15136 * text2.C: remove !NEW_INSETS cruft
15138 * text.C: remove !NEW_INSETS cruft
15140 * tabular.C: remove !NEW_INSETS cruft
15142 * spellchecker.C: remove !NEW_INSETS cruft
15144 * lyxtext.h: remove !NEW_INSETS cruft
15146 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15148 * lyxfunc.C: remove !NEW_INSETS cruft
15150 * lyxfind.C: remove !NEW_INSETS cruft
15152 * lyx_cb.C: remove !NEW_INSETS cruft
15154 * figureForm.C: remove !NEW_INSETS cruft
15156 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15158 * buffer.[Ch]: remove !NEW_INSETS cruft
15160 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15162 * CutAndPaste.C: remove !NEW_INSETS cruft
15164 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15166 * BufferView2.C: remove !NEW_INSETS cruft
15168 * BufferView.h: remove !NEW_INSETS cruft
15170 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * Lsstream.h: include LString.h before the sstream headers to
15173 fix problem with gcc 2.95.3 and lyxstring
15175 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15177 * lyx_main.C: add using directives when needed for C functions
15178 declared in std:: namespace.
15180 2001-04-27 Juergen Vigna <jug@sad.it>
15182 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15183 (SetHeightOfRow): comment out the update call should not be needed!
15185 2001-04-13 Juergen Vigna <jug@sad.it>
15187 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15188 (LyXTabular): tried to minimize operator= operations (and realized
15189 hopfully Lars wish).
15191 2001-04-27 Juergen Vigna <jug@sad.it>
15193 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15195 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15197 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15199 * buffer.C (readInset): hack to make listof algorithm work
15201 * BufferView_pimpl.C: hack to make listof algorithm work
15203 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * LyXAction.C: removed all !NEW_INSETS cruft
15206 (init): moved lfun_item in method
15208 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15210 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15212 * BufferView2.C (theLockingInset): white space.
15214 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15216 * minibuffer.C: include <iostream>
15218 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15220 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15222 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15224 * text.[Ch] (TransposeChars): new method
15226 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15228 * call message directly through LyXView instead of through LyXFunc
15229 * BufferView2.C: adjust
15230 * BufferView_pimpl.C: adjust
15231 * FontLoader.C: adjust
15233 * bufferview_funcs.C: adjust
15234 * converter.C: adjust
15235 * figureForm.C: adjust
15236 * importer.C: adjust
15238 * lyx_gui_misc.C: adjust
15239 * lyxfunc.C: adjust
15242 + more files in subdirs
15244 * lyxparagraph.h (size): move up int file
15247 * adjust all uses of Assert to lyx::Assert.
15249 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15250 lyxfunctional in namespace lyx
15251 * layout.C (hasLayout): ditto
15254 (delete_layout): ditto
15255 (NumberOfClass): ditto
15256 * converter.C (GetFormat): ditto
15261 * bufferlist.C (getFileNames): ditto
15262 (emergencyWriteAll): ditto
15265 * MenuBackend.C (hasSubmenu): ditto
15268 * BufferView_pimpl.C (getInsetByCode): ditto
15270 2001-04-18 Juergen Vigna <jug@sad.it>
15272 * vspace.C (asLatexString): fixed the 100% problem.
15274 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * lyxfunc.C (Dispatch):
15278 * minibuffer.h: add a few std:: qualifiers
15280 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15282 * minibuffer.[Ch]: reimplement so that commands is initiated and
15283 run from lyxfunc, simplified som handling, and made the completion
15284 and history code for complete. wip.
15286 * lyxfunc.C (processKeySym): call message
15287 (miniDispatch): new temporary method
15288 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15289 (LFUN_MESSAGE): implement
15290 (LFUN_MESSAGE_PUSH): implement
15291 (LFUN_MESSAGE_POP): implement
15292 (initMiniBuffer): the initial/defualt minibuffer message.
15294 * lyxfont.[Ch]: inline some more getters
15296 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15298 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15300 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15301 (AutoSave): use LFUN_MESSAGE
15302 (Reconfigure): ditto
15304 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15306 * figureForm.C: use LFUN_MESSAGE
15308 * converter.C (runLaTeX): use LFUN_MESSAGE
15310 * bufferview_funcs.C: use LFUN_MESSAGE
15312 (changeDepth): ditto
15314 * bufferparams.h: use boost::
15316 * bufferlist.h: inherit privately from noncopyable
15318 * bufferlist.C (loadLyXFile): remove some commented code.
15320 * buffer.C (runChktex): use LFUN_MESSAGE
15322 * ShareContainer.h: inherit privately from noncopyable
15324 * ParagraphParameters.[hC] (depth): inline it.
15326 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15328 (message): new method
15329 (messagePush): ditto
15330 (messagePop): ditto
15331 (show): init minibuffer
15332 (showState): direct call
15334 * LaTeX.[Ch]: inherit privately from noncopyable
15335 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15336 instead of WriteStatus.
15338 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15340 * BufferView_pimpl.C (buffer): don't init minibuffer
15341 (workAreaButtonPress): use LFUN_MESSAGE
15342 (workAreaButtonRelease): ditto
15343 (savePosition): ditto
15344 (restorePosition): ditto
15345 (MenuInsertLyXFile): ditto
15346 (workAreaExpose): don't init minibuffer
15347 (update): remove commented code, simplify
15349 * BufferView2.C (openStuff): use LFUN_MESSAGE
15350 (toggleFloat): ditto
15353 (copyEnvironment): ditto
15354 (pasteEnvironment): ditto
15359 (updateInset): remove some commented code
15361 * lastfiles.h: inherit privately from noncopyable
15364 * lyx_main.h: ditto
15366 * lyxlex_pimpl.h: ditto
15368 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15369 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15370 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15372 * LyXAction.h: inherit privately from noncopyable, add methods
15373 func_begin, func_end, returning iterators to the func map.
15375 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15376 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15377 (func_begin): new method
15378 (func_end): new method
15380 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15382 (copySelection): ditto
15383 (pasteSelection): ditto
15385 * BufferView.C: whitespace change
15386 * BufferView.h: inherit privately from noncopyable
15388 2001-04-16 Allan Rae <rae@lyx.org>
15390 * tabular-old.C (l_getline):
15391 * spellchecker.C (sc_check_word):
15392 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15393 an unrecognised preprocessor directive. So ensure they're wrapped.
15395 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15397 * src/exporter.C (Export): Give an error message when path to file
15400 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15402 * LaTeX.C (deplog): Always check that foundfile exists.
15404 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15409 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * tabular.[Ch] (getLabelList): implement new method
15413 * minibuffer.h: comment ouf setTiimer
15415 * minibuffer.C (ExecutingCB): constify res
15416 (peek_event): constify s
15417 (Set): constify ntext
15418 (Init): constify nicename
15420 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15422 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15423 (savePosition): use two params to Minibuffer::Set
15424 (restorePosition): ditto
15426 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * lyx_main.C: include language.h
15430 * Makefile.am (lyx_main.o): add language.h
15432 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15438 * CutAndPaste.C: include gettext.h
15440 * lyxfont.h: remove old hack with ON and OFF.
15443 * lyxfont.h: do not include language.h...
15448 * bufferview_funcs.C:
15454 * paragraph.C: ... but do it here instead
15456 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15460 * tabular.C: small reformat
15462 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15465 (BreakParagraph): ditto
15466 (SetOnlyLayout): ditto
15469 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15472 * lastfiles.C: removed most using decl, add std:: where needed
15474 * buffer.C: ws changes
15476 * MenuBackend.C (class compare_format): put into anon namespace
15477 (expand): constify label, names, action, action2
15480 * text.C (SingleWidth): constify font
15481 (IsBoundary): constify rtl2
15482 (GetVisibleRow): constify ww
15484 * LaTeX.C (deplog): constify logfile
15486 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15488 (workAreaExpose): constify widthChange, heightChange
15490 * lyxrow.C (par): moved
15493 * lyxrow.h: as inlines here
15495 * lyxfont.h (shape): moved from lyxfont.C
15496 (emph): moved from lyxfont.C
15498 * lyxfont.C (LyXFont): use initialization list for all
15500 (shape): move to lyxfont.h as inline
15501 (emph): move to lyxfont.h as inline
15504 2001-04-04 Juergen Vigna <jug@sad.it>
15506 * vspace.C: had to include stdio.h for use of sscanf
15508 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15511 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15512 independent of xforms.
15514 2001-04-02 Juergen Vigna <jug@sad.it>
15516 * spellchecker.C: fixed namespace placing!
15518 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15520 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15521 the LyXParagraph * is 0.
15523 2001-03-29 Juergen Vigna <jug@sad.it>
15525 * vspace.C: added support for %, c%, p%, l%.
15526 (stringFromUnit): added helper function.
15527 (asLatexString): changed to give right results for the %-values.
15529 * buffer.C: convert the widthp in a width%.
15531 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15533 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15536 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15537 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15539 * lyx_cb.[Ch]: see above.
15541 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15545 * lyx.[Ch]: replaced by figure_form.[Ch].
15549 * lyxfunc.C: changed headers associated with above changes.
15551 2001-03-27 Juergen Vigna <jug@sad.it>
15553 * BufferView_pimpl.C: set the temporary cursor right!
15555 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15557 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15559 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15561 * LString.h: removed "using std::getline"!
15563 * BufferView_pimpl.C (Dispatch): changes due to changes in
15564 InsetInclude::Params.
15566 * buffer.C (tag_name): removed redundant break statements as they were
15567 producing lots of warnings with my compiler.
15569 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * LString.h: add "using std::getline" when using the real <string>.
15573 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15575 * buffer.C: removed bitset usage.
15576 PAR_TAG moved to an anonymous name space.
15577 (tag_name): new funtion, also in the anonymous namespace.
15578 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15579 (makeDocBookFile): clean code. Completed transition from string arrays
15581 (SimpleDocBookOnePar): code clean.
15583 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15585 * tabular.C: add some comments.
15587 2001-03-22 Juergen Vigna <jug@sad.it>
15589 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15590 compatibility read a bit and fixed bug with minipage in different
15593 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15595 * buffer.C (pop_tag): removed.
15596 (push_tag): removed.
15597 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15598 array replaced with vector. Added support for CDATA sections.
15599 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15601 (makeDocBookFile): XML conformant declaration of CDATA section,
15602 fixed bug related to <emphasis> in the first paragraph char.
15603 (sgmlOpenTag): exclude empty tags.
15604 (sgmlCloseTag): ditto.
15606 * buffer.h (pop_tag): removed.
15607 (push_tag): removed.
15609 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15611 * language.h (Languages): added size_type and size().
15613 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15615 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15616 response on compability reading of minipages. One probliem is that
15617 the old usage of minipages was «flertydig»
15619 * several files here and in subdirs: don't use static at file
15620 scope use anon namespaces instead.
15622 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15624 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15625 LaTeX output. This is necessary for Literate document
15628 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15630 * buffer.C: insert hfill when needed.
15632 * tabular.C (l_getline): use string::erase, small whitespace change.
15634 * BufferView_pimpl.C: try the anon namespace.
15635 * WorkArea.C: ditto
15637 2001-03-16 Juergen Vigna <jug@sad.it>
15639 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15640 otherwise it won't open options-dialogs.
15642 * buffer.C: honor pextraWidth(p) on converting minipages.
15644 * tabular.C (l_getline): changed the functions to strip trailing \r.
15646 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15648 * BufferView_pimpl.C:
15649 * minibuffer..C: added "using SigC::slot" declaration.
15651 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15653 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15659 * paragraph.C: ditto
15661 * lyxtext.h: NO_PEXTRA
15663 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15665 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15666 * ParameterStruct.h: ditto
15667 * ParagraphParameters.h: ditto
15668 * lyxparagraph.h: ditto
15670 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15672 * buffer.C: add compability for minipage alignment.
15673 (latexParagraphs): remove unwanted pextra check.
15675 * several files: remove CXX_WORKING_NAMESPACES
15677 * buffer.C (pop_tag): tie is in namespace boost
15679 * BufferView.h: noncopyable is in namespace boost
15681 * lyx_main.h: ditto
15684 * lastfiles.h: ditto
15685 * bufferlist.h: ditto
15686 * ShareContainer.h: ditto
15688 * LyXAction.h: ditto
15691 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15693 * Merging changes from BRANCH_MVC back into HEAD.
15695 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15697 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15699 * BufferView_pimpl.C: change from intl.C
15703 * Makefile.am: move combox.*
15709 * intl.C: remove dialog (covered by prefs)
15711 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15713 * lyxfunc.C (Dispatch): removed redundant break statement.
15715 2001-03-14 Juergen Vigna <jug@sad.it>
15717 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15719 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15721 * buffer.C: add hack to fix compability reading of minipages.
15723 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15725 * buffer.C (getLists): Cleanup.
15727 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * lyxfont.C (update): don't honor toggleall on font size.
15731 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15735 * Makefile.am: moved to frontends/xforms/
15739 * BufferView_pimpl.C: changes for moved mathpanel
15741 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15743 * gettext.h: fix gettext_init() in --disable-nls
15745 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15749 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15752 * lyx.h: strip external form
15754 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15756 * BufferView_pimpl.C: add comment, destroySplash()
15758 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15760 * BufferView_pimpl.C:
15764 * lyxfunc.C: use re-worked insetinclude
15766 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15768 * buffer.C: add using std::stringstream.
15770 * lyx_cb.C: readd using std::ios.
15772 * buffer.C: add using std::map.
15774 * BufferView_pimpl.C: add using std::vector.
15776 * ShareContainer.h: add std:: to swap.
15778 * buffer.h: add some typedefs
15779 * buffer.C (getLists): use them
15780 (getLists): renamed from getTocList.
15781 add a counter for the different float types and use it in the
15783 (getLists): use the same counter for the NEW_INSETS and the "non"
15786 * lyx_cb.h: remove unused items, includes, using etc.
15788 * ShareContainer.h: remove some commented code, add more comments
15789 and "documentation".
15791 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15793 * buffer.C (getTocList): make the list also when NEW_INSETS is
15796 * buffer.h: remove TocType
15798 * buffer.C (getTocList): change to return a map<string,
15799 vector<TocItem> >, implement for dynamic number of list.
15801 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15802 * text2.C (PasteSelection): adjust
15803 * CutAndPaste.C (pasteSelection): adjust
15805 * FloatList.C (FloatList): update from the new_insets branch.
15806 * Floating.[Ch]: ditto
15807 * LaTeXFeatures.C: ditto
15809 * lyxlex_pimpl.C: ditto
15811 * paragraph.C (Last): remove when NEW_INSETS is defined.
15813 * other file: changes because of the above.
15815 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15817 * lyxparagraph.h: rename next to next_, previous to previous_,
15818 make them private for NEW_INSETS. Rename Next() to next(),
15819 Previous() to previous().
15821 * other files: changes because of the above.
15823 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15826 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15829 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * main.C (main): pass lyx_localedir to gettext_init().
15833 * gettext.h: remove locale_init and gettext_init macros
15835 * gettext.C (locale_init): new function
15836 (gettext_init): new function
15838 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15841 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15843 * Moved credits to frontends:
15844 * credits.[Ch]: removed
15845 * credits_form.[Ch]: removed
15846 * lyx_gui_misc.C: remove credits stuff
15849 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15851 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15853 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15854 unneeded destructor.
15856 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15857 a standalone pointer again.
15859 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15861 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15867 * ToolbarDefaults.C:
15876 * BufferView_pimpl.C: use new file dialog in GUII
15879 * lyx_cb.C: remove LayoutsCB to Toolbar
15881 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15883 * ShareContainer.h (get): add std:: qualifier
15885 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15887 * ShareContainer.h: define a proper ShareContainer::value_type
15888 type (and use typename to please compaq cxx)
15890 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15892 * lyxparagraph.h: move serveral local vars to
15893 ParameterStruct/ParagraphParameters., use ShareContainer in
15894 FontTable., make vars in FontTable private and add getter and
15897 * paragraph.C: changes because of the above.
15899 * lyxfont.h: remove copy constructor and copy assignment. (the
15900 default ones is ok), move number inside FontBits. move inlines to
15903 * lyxfont.C: add number to initializaton of statics, move several
15904 inlines here. constify several local vars. some whitespace
15905 cleanup. Dont hide outerscope variables.
15907 * Spacing.h: add two new constructors to match the set methods.
15909 * ShareContainer.h: new file, will perhaps be moved to support
15911 * ParameterStruct.h: new file
15913 * ParagraphParameters.h: new file
15915 * ParagraphParameters.C: new file
15917 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15918 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15920 * BufferView_pimpl.C: ParagraphParameter changes.
15921 * buffer.C: Likewise.
15922 * bufferview_funcs.C: Likewise.
15923 * text.C: Likewise.
15924 * text2.C: Likewise.
15926 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * lyxfind.C (LyXReplace): do not redefine default argument in
15930 (IsStringInText): ditto
15931 (SearchForward): ditto
15932 (SearchBackward): ditto
15934 2001-03-06 Juergen Vigna <jug@sad.it>
15936 * lyxfind.C (IsStringInText): put parentes around expressions.
15938 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15940 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15942 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15944 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15946 * stl_string_fwd.h: add comment
15948 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15951 * tabular.C: remove unused DocBook methods
15957 killed DO_USE_DEFAULT_LANGUAGE
15959 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15961 * lyx_gui.C: do not include language.h.
15963 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15964 arguments in function implementation.
15966 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15968 * BufferView_pimpl.C: add <ctime>
15970 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15972 * BufferView_pimpl.C: add using std::find_if
15974 2001-02-27 José Matos <jamatos@fep.up.pt>
15976 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15979 2001-02-11 José Matos <jamatos@fep.up.pt>
15981 * buffer.C (makeDocBookFile): command styles now have a parameter as
15982 "title" by default.
15984 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15986 * layout_forms.[Ch]: removed
15987 * lyx_cb.[Ch]: out character
15988 * lyx_gui.C: out character
15989 * lyx_gui_misc.C: out character
15990 * bufferview_funcs.C: : out character,
15991 added toggleall as parameter in ToggleAndShow
15993 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15995 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15997 * text2.C (SetCurrentFont): Disable number property at boundary.
15999 2001-02-26 Juergen Vigna <jug@sad.it>
16001 * lyxfunc.C (getStatus): added a string argument override function so
16002 that this is correctly called from LyXFunc::Dispatch if it contains a
16003 do_not_use_argument which is used!
16004 (Dispatch): added check for "custom" export and call appropriate func.
16006 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16008 * lyxrc.C: Add language_command_local, language_use_babel and
16009 language_global_options.
16011 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16013 * buffer.C (makeLaTeXFile): Use language_use_babel and
16014 language_global_options.
16016 2001-02-23 Juergen Vigna <jug@sad.it>
16018 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16019 which works with LyXText and putted it inside BufferView. Here now we
16020 only call for that part the BufferView::Dispatch() function.
16022 * BufferView.C (Dispatch): added.
16024 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16025 functions which needs to use a LyXText over from LyXFunc.
16026 (MenuInsertLyXFile): added
16027 (getInsetByCode): added
16028 (moveCursorUpdate): added
16029 (static TEXT): added
16031 2001-02-22 Juergen Vigna <jug@sad.it>
16033 * BufferView_pimpl.C (update): call a status update to see if LyXText
16036 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16038 * vc-backend.C (revert): implement for CVS
16039 (getLog): implement for CVS
16041 2001-02-20 Juergen Vigna <jug@sad.it>
16043 * text2.C (ClearSelection): added BufferView param for inset_owner call
16045 * lyxfunc.C (TEXT): added this function and use it instead of
16046 directly owner->view()-text of getLyXText().
16048 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16050 * src/layout_forms.C: out preamble
16051 * src/layout_forms.h: out preamble
16052 * src/lyx_cb.C: out preamble
16053 * src/lyx_cb.h: out preamble
16054 * src/lyx_gui.C: out preamble
16055 * src/lyx_gui_misc.C: out preamble
16056 * src/lyxfunc.C: connect with guii preamble
16058 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16060 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16062 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16064 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16065 whether to run bibtex.
16067 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16069 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16071 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16073 * Makefile.am (lyx_SOURCES): removed bibforms.h
16075 * vspace.h: doxygen
16077 * text.C (GetVisibleRow): make several local vars const
16079 * tabular.C: small cleanup.
16081 * lyxserver.C (callback): use compare instead of strncmp
16083 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16084 inlines to after class or to paragraph.C
16086 * lyxfont.h: remove friend operator!=
16088 * converter.h: move friend bool operator< to non friend and after
16091 * combox.h: small cleanup
16093 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16094 to inlines after class def.
16096 * buffer.C (pop_tag): use string operations instead of strcmp
16098 * bmtable.c: doxygen, small cleanup
16100 * LaTeX.h: remove friend operator==
16102 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16114 * BufferView_pimpl.C:
16115 * BufferView.[Ch]: remove cruft
16117 2001-02-14 Juergen Vigna <jug@sad.it>
16119 * lyxfunc.C: removed #if 0 unused code
16121 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16123 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16125 * text2.C (SetSelection): added a BufferView * parameter
16127 2001-02-13 Juergen Vigna <jug@sad.it>
16129 * lyxfunc.C (Dispatch): fixed protected blank problem.
16130 * BufferView2.C (protectedBlank): added LyxText * parameter.
16132 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16133 (AppendColumn): same as above for column_info.
16135 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16136 (moveCursorUpdate): use a LyXText param for support of InsetText.
16138 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16139 (tripleClick): ditto
16141 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16143 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16145 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16147 * text2.C (SetSelection): set correct update status if inset_owner
16148 (ToggleFree): ditto
16150 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16152 * tabular.C: remove some commented code.
16154 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16156 * BufferView_pimpl.C: call hideSplash()
16158 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16161 * bibforms.h: remove
16164 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16165 add LFUN_CHILD_CREATE
16167 * counters.h: fix tiny typo
16172 * lyx.C: move splash to frontends/xforms/
16174 * lyx_gui_misc.C: move Include and Bibform to frontends
16176 * lyxvc.h: clarify comment
16178 * vspace.C: tiny housekeeping
16180 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16182 * text.C (PrepareToPrint): RTL Fix.
16184 * paragraph.C (GetUChar): New method.
16185 (String): Use GetUChar.
16187 * buffer.C (asciiParagraph): Use GetUChar.
16189 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16191 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16193 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16196 * buffer.C: rename to getLogName(), handle
16197 build log / latex log nicely
16199 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16202 * MenuBackend.h: remove support for reference menuitem type.
16204 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16206 * BufferView_pimpl.C: housekeeping
16207 * BufferView_pimpl.h:
16212 * minibuffer.h: move Timeout GUI-I
16214 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16216 * lyxrc.C (read): Update converters data-structures.
16218 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16220 * LaTeX.h (operator!=): add operator != for Aux_Info
16222 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16224 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16226 * LaTeXLog.C: deleted, useful code moved to Buffer
16229 * buffer.C: new function getLatexLogName()
16235 * lyxfunc.C: use frontends for LaTeX and VC logs
16237 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16239 * LaTeX.h: yet another std:: that Allan forgot.
16241 * Variables.C (set): renamed from isset(), because this clashes
16242 with some HP-UX macros (grr).
16244 2001-02-06 Allan Rae <rae@lyx.org>
16246 * LaTeX.h: Another bug fix. Missing std:: this time.
16248 2001-02-04 Allan Rae <rae@lyx.org>
16250 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16251 floats problem. I've left it commented out because it's not quite
16252 correct. It should also test that the current object is a table or
16253 figure inset. But I haven't gotten around to figuring out how to do
16254 that. I *think* it'll be something like: "table" == inset.type()
16256 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16259 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16261 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16262 all the citation/databases/styles in the auxilary file.
16263 (run): Rerun latex if there was a babel language error.
16265 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16267 * text.C (Backspace): Preserve the font when changing newline char
16269 (BreakParagraph): If the cursor is before a space, delete the space.
16271 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16273 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16275 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16276 new argument (code).
16277 (ChangeCitationsIfUnique): New method.
16279 * paragraph.C (GetPositionOfInset): Handle bibkey.
16281 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16283 * BufferView_pimpl.h: change type of Position::par_pos to
16284 LyXParagraph::size_type.
16286 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16288 * BufferView_pimpl.C (savePosition, restorePosition): Write
16289 messages to minibuffer.
16291 2001-01-28 José Matos <jamatos@fep.up.pt>
16293 * buffer.C (makeDocBookFile): adds support for document language.
16294 A silly restriction on the name of LatexCommand types where removed.
16295 Added support for CDATA sections, allows to chars unescaped, used
16296 among others in code, to avoid escape < and >.
16298 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16300 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16301 saved positions instrad of a stack. Furthermore, a position is
16302 stored using paragraph id/paragraph position.
16304 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16305 Remove LFUN_REF_BACK.
16307 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16309 * converter.C (dvipdfm_options): New method.
16311 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16313 * vspace.C (isValidLength): Fix for empty input string.
16315 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16317 * LyXAction.C (init): change description of LFUN_FIGURE to
16320 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16322 * LaTeX.C: add using directive
16324 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16326 * MenuBackend.C (expand): Fix the sorting of the formats.
16328 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16330 * lyx_main.C: tiny error message fix
16332 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16334 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16335 calling fl_initialize(). This fixes the problem with ',' as
16336 decimal separator in text files.
16338 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16340 * trans.C (process): Fix the keymap bug.
16342 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16344 * LaTeX.C (scanAuxFiles): New method. Provides support for
16345 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16346 (scanLogFile) Scan for "run BibTeX" messages.
16348 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16349 OT1 font encoding. Also, load the aecompl package if the ae
16352 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16354 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16356 * texrow.C (increasePos): turn two error messages into debug
16359 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16361 * LaTeX.C (scanAux): Handle the \@input macro.
16362 (runBibTeX): Use scanAux().
16364 * language.C (latex_options_): New field.
16366 * LaTeXFeatures.C (getMacros): Add language macros.
16368 * buffer.C (makeLaTeXFile): Small fix.
16370 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16372 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16374 * text2.C: add a using directive.
16376 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16381 * lyxfunc.C: kill LyXBell.
16383 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16385 * text.C (IsBoundary): Remove the error message
16387 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16389 * lyxrc.C (setDefaults): Correct initialization value for
16392 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16394 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16397 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16398 and GotoNextNote().
16400 * src/LyXAction.C: Added reference-next.
16402 * text.C (InsertChar): Use contains instead of strchr.
16404 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16406 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16408 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16409 alignment commands (when needed).
16411 * text.C (InsertChar): Add ':' to number separator chars.