1 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
5 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
7 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
9 * lyxlayout.[Ch]: change some vars from float to double
11 * buffer.C (readFile): make a local var const
13 * Several files: use convert<> instead of atoi,strToXXX and friends
15 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * LaTeXFeatures.[Ch]: Add a static list packages_ that
18 holds the contens of packages.lst. New functions getAvailable
19 and isAvailable to parse and check that list, resp.
23 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
25 * bufferparams.[Ch]: new param output_changes.
27 * Buffer.C: increase file format to 240.
28 Use output_changes and isVailable.
32 * paragraph_pimpl.C: Use output_changes and isVailable.
34 2005-01-23 Angus Leeming <leeming@lyx.org>
36 * output_latex.C: #include "insetbibitem.h", rather than
37 forward declare function bibitemWidest.
39 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
41 * lyx_main.C (init): make it compile on the Mac.
43 2005-01-20 Angus Leeming <leeming@lyx.org>
45 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
46 (setLyXMisc): (char string literal) != (char string literal) is
47 performing a comparison on the addresses. Convert one operand
48 explicitly to string to guarantee expected behaviour.
51 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
54 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
56 * output_plaintext.C: remove unneeded #include gzstream.h.
58 2005-01-20 Angus Leeming <leeming@lyx.org>
60 * SpellBase.h: rename some of the elements of the Result enum.
67 * pspell.C (check): ditto
69 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
71 * buffer.C: add #include <fstream>.
73 * lyx_main.C (init): Compile fix.
75 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
77 2005-01-20 Angus Leeming <leeming@lyx.org>
79 * mover.h: change commentary to reflect the changed meaning of
82 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * output_linuxdoc.C (linuxdocParagraphs): silence warning
86 * lyxfind.C (MatchString::operator()): remove bogus semicolon
88 2005-01-20 Angus Leeming <leeming@lyx.org>
90 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
91 printing diagnostic data by not dereferecing an iterator past the
94 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
96 * buffer.C (readHeader): use "&&" rather than "and".
98 * lyxserver.h (inPipeName, outPipeName): make these const.
100 2005-01-19 Angus Leeming <leeming@lyx.org>
102 * lyx_main.C (error_handler, init): protect SIGHUP with
103 #ifdef SIGHUP guards.
105 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
109 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * text.C (setHeightOfRow): add a margin at the top and bottom of
112 the document (bug 1761)
114 2005-01-17 Angus Leeming <leeming@lyx.org>
116 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
117 with "python ". Workaround for a brain-dead Windows.
119 2005-01-16 Angus Leeming <leeming@lyx.org>
121 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
122 for MacOSX and Windows to use prependEnvPath.
123 Strip out the hard-coded block to add elements to the PATH for
124 MacOSX and replace it with a call to prependEnvPath using the
125 contents of LyXRC::path_prefix.
126 (queryUserLyXDir): strip out the code to run reconfigure, instead
127 returning a boolean indicating the necessity to do so.
128 (reconfigureUserLyXDir): contains the code to reconfigure the
129 user support directory. Is now called after the various LyXRC data
130 files have been read.
132 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
134 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * converter.[Ch] (convert): take a new parameter try_default. Use
137 a default converter (imagemagick) if try_default is true.
139 2005-01-13 Angus Leeming <leeming@lyx.org>
141 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
143 (write): output LyXRC::cygwin_path_fix as necessary.
145 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
148 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
150 2005-01-12 Angus Leeming <leeming@lyx.org>
152 * lyx_main.C (init): set the PATH variable to include the
153 directory containing the LyX binary when running on Mac or Windows.
155 2005-01-12 Angus Leeming <leeming@lyx.org>
157 * lyx_main.C (init): remove cruft that purports to set the locale
158 dir. It doesn't and is not needed anyway.
160 2005-01-10 Angus Leeming <leeming@lyx.org>
162 * Makefile.am: remove the lyx_main.C special casing.
164 * BufferView_pimpl.C:
170 * messages.C: use support/package.h to provide the paths to the
171 various directories used by LyX.
173 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
176 layout if pasting into an empty paragraph)
178 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * tex-accent.C: add <string>
182 2005-01-06 José Matos <jamatos@lyx.org>
184 * ParagraphParameters.C (write): put every parameter in its own line.
185 * paragraph.C (write): reduce number of consecutive empty lines exported.
186 * buffer.C (LYX_FORMAT): increase file format to 239.
188 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
190 * everywhere: change support/tostr.h -> support/convert.h
192 * tabular.C: make all write_attributes templates, tostr -> convert
194 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
195 (emptyTag): and -> &&, and fix type for ret from getChar
196 (getFirstWord): fix type for ret from getChar
197 (onlyText): and -> &&
198 (simpleDocBookOnePar): and not -> && !, fix type for ret from
201 * toc.C (goTo, action):
202 * text3.C (dispatch):
203 * text.C (currentState):
204 * tex-accent.C (DoAccent):
207 * lyxfunc.C (menuNew):
208 * lyxfinc.C (replace):
209 * counters.C (laberItem):
210 * bufferview_funcs.C (font2string):
211 * bufferparams.C (writeFile):
212 * buffer.C (readFile):
214 * MenuBackend.C: tostr -> convert
216 * LaTeX.C (runMessage): fix format
217 (scanAuxFiles): tostr -> convert
219 * BufferView_pimpl.C (savePosition): fix format
220 (restorePosition): ditto
223 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * Spacing.[Ch]: New method getValueAsString().
229 * ParagraphParameters.C:
232 * text3.C: store/read spacing value as string.
234 * rowpainter.C: change float value (spacing_val) to double.
236 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
237 broken custom document spacing).
239 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
241 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
242 namespace, also more use of temp references and const
244 * cursor.[Ch] (getStatus): move to lyxfunc.C
246 * bufferparams.C: reformat slightly
248 * bufferview_funcs.C (font2string): constify arg
254 * buffer_funcs.C: (many funcs): constify arg on function
255 definitions, also make more local vars const, also add ASSERTS on
258 * buffer.C (LYX_FORMAT): put const in correct place
259 (many funcs): constify arg on function definitions, also make
260 more local vars const
262 * aspell_local.h: remove "struct" from typdef setup
264 * aspell.C (check): make word_ok const
265 (nextMiss): simplify slightly
268 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * lyxrc.[Ch]: store all float values as strings.
271 use int (not float) for lyxrc.dpi.
273 2005-01-04 Angus Leeming <leeming@lyx.org>
275 * lyx_cb.C (Reconfigure):
276 * lyx_main.C (queryUserLyXDir):
277 to run the <system_lyxdir>/configure correctly on Windows, prefix
278 the path to the script with "sh " when generating the string that
279 is passed to system().
281 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
285 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * lyxlength.C (asLatexString): get rid of setprecision
289 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * text2.C (setLayout): remove unused variable endpit.
292 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
294 * paragraph.C (onlyText): remove unused variable style.
296 * cursor.C (bruteFind): remove unused variables beg and end.
298 * Makefile.am (dist_noinset_DATA): not needed anymore
300 * cheaders/*: remove.
302 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
304 * text3.C: fix LFUN_MATH_MODE.
306 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * buffer_funcs.C (countWords): new function. Counts words between
311 * BufferView_pimpl.C (getStatus, dispatch): handle
314 * LyXAction.C (init):
315 * lfuns.h: add LFUN_WORDS_COUNT.
317 2004-12-19 Angus Leeming <leeming@lyx.org>
319 * buffer.C (save): s/slashify_path/internal_path/.
321 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * lyxfind.C (findChange): do not search for end of pars, because
324 the change tracker cannot handle this (fixes bug 1719).
326 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
328 * paragraph.[Ch] (autoBreakRows): remove
330 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
332 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
333 avoid using the paragraph one
335 * text2.C (LyXText, insertStringAsLines): adjust
337 2004-12-16 Angus Leeming <leeming@lyx.org>
341 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
343 2004-12-14 Angus Leeming <leeming@lyx.org>
345 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
347 * bufferlist.C (emergencyWrite):
348 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
351 2004-12-14 Angus Leeming <leeming@lyx.org>
353 * main.C: (main): no longer pass pointers to os::init.
355 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
357 * undo.C (textUndoOrRedo): simplify logic, fix a crash
358 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
360 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
363 * text3.C: remove selection_possible global flag
365 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
367 * text2.C (getSelectionSpan): remove
368 (changeDepth, changeDepthAllowed): adjust
370 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
372 * Makefile.am (BOOST_LIBS): use boost variables
374 2004-12-03 José Matos <jamatos@lyx.org>
376 * buffer.C: format up to 238.
378 2004-12-03 José Matos <jamatos@lyx.org>
380 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
382 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
384 * cursor.C (goUpDown): remove call to idxUpDown2
386 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * tabular.[Ch]: use size_t-like types for cell, row and column
391 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * lyxfunc.C (getStatus): do not lose previous information when
394 calling BufferView::getStatus; do not set a default "Command
395 disabled" message at the beginning, but just before returning.
397 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
399 * cursor.h (getStatus): add better comment from src/cursor.C
401 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * text3.C (getStatus): return false when the lfun is not handled
405 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * broken_headers.h: remove
409 * Makefile.am (lyx_SOURCES): remove broken_headers.h
411 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
413 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
416 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
417 top_y_, merge fitcursor with update
418 (updateScrollbar, scrollDocView, fitCursor, center, update): new
421 (workAreaDispatch): adapt to new coord scheme
422 (redoCurrentBuffer): remove
424 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
426 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
429 * coordcache.[Ch]: add paragraph cache and helpers
431 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
434 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
435 (targetX, setTargetX): introduce
437 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
438 baseline -> ascent, as the rest of lyx
440 * lyxtext.h: remove redoParagraphs, updateParPositions,
441 fullRebreak, redoParagraphInternal. move dist to anon namespace in
442 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
443 have ascent/descent (ascent is ascent of first par)
445 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
448 * paragraph.[Ch]: unify dimension handling with the rest of lyx
450 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
452 * pariterator.C: fix infinite loop introduced in par->pit renaming
454 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
455 in insets and LyXText, draw two off-screen paragraphs using
456 NullPainter, and adapt to new coord scheme
460 * text3.C: adapt lfun handlers to the new coord scheme, which
461 means: there's only guaranteed coord information for onscreen pars
462 plus one above and one below. This implies that one can do search
463 from y coordinates in the range [-1,workHeight]
465 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
467 * rename a lot of InsetOld to InsetBase
469 2004-11-25 Angus Leeming <leeming@lyx.org>
471 * BufferView_pimpl.C:
473 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
475 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
478 call BufferView::getStatus if LCursor::getStatus did nothing
479 (setStatusMessage, getStatusMessage): removed.
481 * FuncStatus.C (message): new methods. Used to provide an error
482 message indicating why a command is disabled.
483 (clear, |=, FuncStatus): update for message.
485 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * lyxfunc.C (dispatch): always call sendDispatchMessage
489 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
492 * BufferView_pimpl.C:
506 * undo.C: par->pit renaming
508 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
510 * tabular.C (cellstruct): use initialization, store a shared_ptr
511 to insettext instead of the insettext directly, adjust to fit.
512 (operator=): new function
514 (rowstruct): use initialization
515 (columnstruct): use initialization
516 (ltType): use initialization
519 * lyxlength.h (swap): new function
521 * LColor.[Ch] (operator=): use the common semantics
523 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * lyxfind.C (findNextChange): update the bufferview after setting
528 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
531 number of InsetOptArgs has already been inserted.
533 * output_latex.C (latexOptArgInsets): new method. This outputs all
534 the optarg insets, up to the limit defined in the layout file.
535 (optArgInset): removed
536 (TeXOnePar): call latexOptArgInsets; correctly update texrow
538 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * paragraph.C (isLetter): remove special spellchecker-related
541 code; return true also for digits
542 (isWord, isKomma): remove
544 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
545 * lyxfind.C (MatchString()): use isLetter instead of isWord
547 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
549 * pariterator.h (operatir=): comment out un-implemented member
552 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
555 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
557 * lyxfont.h: include LColor.h to satisfy concept checks.
559 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * pariterator.h: add typdefs for value_type, difference_type,
562 pointer and reference to satisfy concept checks. Also add default
563 constructor for same reason.
565 * pariterator.C (operator++): add post-increment operator to
566 satisfy concept checks.
568 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
571 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
573 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
574 checks. Also rename base_type to BaseType to follow naming
577 * FloatList.h: include Floating.h to satisfy concept checks.
579 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * lyxfunc.C (getStatus): when the origin of the request is menu or
582 toolbar, and the LyXView does not have focus, do as if there was
585 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
586 FuncRequest to individual entries of LFUN_SEQUENCE
588 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * output_latex.C (TeXOnePar): override runparams.moving_arg
591 according to the needprotect value of the current paragraph (bug
594 * paragraph.C (simpleTeXOnePar): no need to override
595 runparams.moving_args here
597 2004-11-14 John Spray <spray_john@users.sourceforge.net>
599 * vspace.C: fix off-by-one-error, related to fix #1682
601 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
603 * lengthcommon.C: a more general fix for bug 1682
605 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
607 * text.C (backspace): fix crash
609 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
611 * format.[Ch] (getFormatFromFile): new method
612 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
614 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
618 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * lyxfunc.C (dispatch): remove the verbose argument
621 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
624 * kbmap.C (defkey): set the origin of func to KEYBOARD
626 * MenuBackend.C (MenuItem):
627 * ToolbarBackend.C (add): set the origin of func to UI
629 * funcrequest.[Ch]: add origin member, which indicates which part
630 of LyX requests an action
632 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
634 * converter.C (move): don't lie in the error message
635 * converter.h (isReachable, move): document
637 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
639 * buffer.C: remove unused using lyx::support::atoi
640 * paragraph_funcs.C: ditto
642 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * bufferlist.C (exists): use bind and equal_to instead of
647 * lyxtextclasslist.C (NumberOfClass): ditto
649 * cursor.C (insert): use for_each instead of explicit for loop
651 * bufferlist.C (getFileNames): use std::transform and
652 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
654 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
657 * buffer.C (changeLanguage): use for_each instead of explicit for
659 (hasParWithID): implement using getParFromID
661 * LaTeXFeatures.C: ws change only
663 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
666 * BufferView_pimpl.C (trackChanges): use for_each instead of
669 2004-11-04 André Pönitz <poenitz@gmx.net>
672 * undo.C (textUndoOrRedo): fix crash when creating undo information.
674 * dociterator.C (asDocIterator): use hard assert again.
676 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * lyxlength.C (asLatexString): rewrite so that it does not use
681 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * text3.C (specialChar, dispatch): make sure cursor moves to the
684 right after inserting an inset
686 2004-11-02 José Matos <jamatos@lyx.org>
688 * output_docbook.C (docbook):
689 * paragraph.C (getID):
690 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
691 garantee that the output is always legal.
693 * tabular.C (docbook):
694 * outputprams.[Ch]: remove mixed contents.
696 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * text2.C (setCounter): prevent endless loop
700 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
702 * exporter.C (copyFile): use the mover instead of support::copy()
703 * exporter.C (Export): pass format and latex name to copyFile()
704 * exporter.h (addExternalFile): document
705 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
707 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
709 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
711 2004-10-30 José Matos <jamatos@lyx.org>
713 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
714 text and no inset or font change. This allows to use CDATA
715 sections just for the whole paragraph.
717 2004-10-30 José Matos <jamatos@lyx.org>
719 * paragraph.C (getFirstWord): remove unused variable.
721 2004-10-30 José Matos <jamatos@lyx.org>
723 * paragraph.C (getFirstWord): the content should always be escaped
725 (simpleDocBookOnePar):
726 * output_docbook.C (makeEnvironment): replace reference to CDATA
729 2004-10-30 José Matos <jamatos@lyx.org>
731 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
733 2004-10-30 José Matos <jamatos@lyx.org>
735 * output_docbook.C (makeParagraphs):
736 * paragraph.[Ch] (emptyTag): for docbook and company, if the
737 standard paragraph has only a given type of content drop the wrapper.
739 2004-10-29 José Matos <jamatos@lyx.org>
741 * output_docbook.C (makeEnvironment):
743 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
745 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
747 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
748 (cleanID): sanitize any id.
750 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
752 * buffer.C, lyxlex_pimpl.C:
753 * lyxlex_pimpl.C (setFile):
754 s/getExtFromContents/getFormatFromContents/
756 2004-10-28 José Matos <jamatos@lyx.org>
758 * output_docbook.C (makeEnvironment): move id to broadest possible
761 * sgml.C (openTag): apply substitution of <> for all attributes.
763 2004-10-28 José Matos <jamatos@lyx.org>
765 * buffer.C (makeLinuxDocFile, makeDocBookFile):
766 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
767 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
769 * sgml.[Ch]: new version for open and closeTag for paragraph and
770 for strings. Now they handle the ids of paragraphs.
772 2004-10-26 Angus Leeming <leeming@lyx.org>
774 * Makefile.am: add mover.[Ch].
776 * converter.C (convert, move): use the new Movers to move external
777 files to the temp directory.
779 * lyx_main.C (init): ensure that the global system_movers data
782 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
785 * mover.[Ch]: new files, defining a Mover as a utility to move an
786 external file between directories and, if necessary, manipulate this
787 file using a helper script.
789 2004-10-25 José Matos <jamatos@lyx.org>
791 * output_docbook.C (makeCommand): merge two if's that tested the
794 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * sgml.C (escapeString): fix warning in a better way
798 2004-10-25 José Matos <jamatos@lyx.org>
800 * sgml.C (escapeString): import the require boosts header file for
801 tie, and avoid a signed unsigned comparison.
803 2004-10-25 José Matos <jamatos@lyx.org>
805 * sgml.h: add #include <string>
807 2004-10-25 José Matos <jamatos@lyx.org>
809 * sgml.[Ch] (escapeString): new function to escape all the string.
811 2004-10-24 José Matos <jamatos@lyx.org>
813 * paragraph.[Ch] (getFirstWord): new function to get the first
814 word. Useful for description.
815 (simpleDocBookOnePar): remove depth argument, add another that
816 says where to start the paragraph.
818 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
819 use the new functions to fix cleanly the support for descriptions.
821 2004-10-24 José Matos <jamatos@lyx.org>
823 * buffer.C (makeLinuxDocFile, makeDocBookFile):
824 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
825 * output_linuxdoc.C (linuxdocParagraphs):
826 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
827 add buffer as argument.
829 2004-10-24 José Matos <jamatos@lyx.org>
831 * output_docbook.C (makeEnvironment, searchEnvironment): place
832 CDATA inside paragraphs and fix scope for listitems.
834 2004-10-24 José Matos <jamatos@lyx.org>
836 * output_docbook.C: remove using statement for stack.
838 2004-10-23 José Matos <jamatos@lyx.org>
840 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
841 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
842 docbook. The new scheme is recursive and makes use of iterators, the
843 same as latex export works.
844 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
845 directly with the paragraph contents. This code was moved up to
846 output_docbook.C (docbookParagraphs).
847 * sgml.C (openTag, closeTag): removed unneeded newlines.
848 (closeEnvTags) removed.
850 2004-10-23 André Pönitz <poenitz@gmx.net>
852 * undo.C (textUndoOrRedo):
853 * dociterator.C (asDocIterator): work around crash
855 * cursor.C (getStatus): replace ASSERT by more verbose error message
856 and manual correction of the problem. Should increase stability
857 while providing more sensible information.
859 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
863 * bufferlist.C (previous, next): new methods
866 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
868 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
870 * buffer.C (makeDocBookFile): add dsssl stylesheet control
871 entities to preamble.
873 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
875 * messages.C (Pimpl): strip off translation context information
877 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
880 the cursor is correct (bug 1694)
882 2004-10-13 José Matos <jamatos@lyx.org>
884 * output_docbook.C (docbookParagraphs): fix closing tags in the
887 2004-10-09 José Matos <jamatos@lyx.org>
889 * buffer.C: format up to 237.
890 * bufferparams.C (write): use tostr to convert booleans to strings.
892 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
894 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
896 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
898 * LaTeX.C: implement use of babel language in xindy.
900 2004-10-05 José Matos <jamatos@lyx.org>
902 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
903 Add new translators to help reading and writing the lyx file.
905 2004-10-05 José Matos <jamatos@lyx.org>
907 * ParagraphParameters.C (read):
908 * text.C (readParToken): replace nexToken by more appropriate lex
911 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
913 * LaTeX.C (runMakeIndex):
914 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
915 (usually 'makeindex') configurable.
917 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
918 with a variable rather than with a number.
920 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * output_latex.C (TeXOnePar): make sure font setting is the first
923 thing that gets output (and the last at the end). Should fix bug
926 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * pch.h: use proper signal include
930 * LaTeX.h: Use preferred calling of Boost.Signal
933 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
935 * pch.h: dont include <boost/function/function0.hpp>
937 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
939 * paragraph_pimpl.h: remove usage of ShareContainer
941 * paragraph_pimpl.C: remove initialization of ShareContainer.
943 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * BufferView.C (putSelectionAt): change the semantics when
948 backwards == true: now, this just swaps cursor and anchor wrt the
951 * BufferView.h (putSelectionAt): add some documentation
953 * lyxfind.C (findBackwards): rewrite using while(). In particular,
954 make sure backwardChar is done at least once (to avoid getting
956 (findNextChange): use putSelectionAt in the forward direction
957 (operator()): use Paragraph::isWord
959 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
961 * Spacing.C (set): c_str fix
963 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * lyx_cb.C (Reconfigure): quote the name of configure script in
966 case it contains spaces
968 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
972 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
973 (BOOST_LIBS): use top_buildir when looking for the file
975 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
977 * pch.h: do not use include boost/format.hpp, multiple symbols
978 will result (gcc bug)
981 2004-08-23 José Matos <jamatos@lyx.org>
983 * bufferparams.C (readToken): fix reading of the author field.
985 2004-08-20 José Matos <jamatos@lyx.org>
987 * lyxrc.C: remove support/translator.h inclusion since it is not used.
989 2004-08-20 José Matos <jamatos@lyx.org>
991 * lyxlex.[Ch] (findToken): remove function.
993 * ParagraphParameters.C (findToken):
994 * bufferparams.C (findToken): replace call for previous function
995 with local copy. This local function has one more argument, the
996 read string argument.
998 2004-08-16 José Matos <jamatos@lyx.org>
1000 * ParagraphParameters.C (write):
1001 * Spacing.C (writeFile):
1002 * bufferparams.C (writeLaTeX):
1003 * lyx_cb.C (Reconfigure):
1004 * paragraph.C (write):
1005 * tabular.C (write): remove unnecessary space at end of line.
1008 2004-08-16 José Matos <jamatos@lyx.org>
1010 * text.C (readParagraph): remove debug message.
1012 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1017 * output_plaintext.C (asciiParagraph): set depth correctly
1019 * outputparams.h: add member depth
1021 * paragraph_funcs.C (ownerPar): remove.
1023 * text2.C (setCounter): remove first_pit; comment out some
1024 non-working code that uses ownerPar
1026 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1029 2004-08-16 José Matos <jamatos@lyx.org>
1031 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1032 For the same level of importance use the same chanel to report problems.
1033 (read): add code to deal with \begin_body and \end_body.
1036 2004-08-15 José Matos <jamatos@lyx.org>
1038 * lyxlex.C (getString): fix comment, buffer::readBody is now
1039 buffer:readDocument.
1041 * tex-strings.C (string_papersize): Default -> default,
1042 Custom -> custom, for consistency with other options.
1044 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1048 * Makefile.am: support pch
1050 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * text.C (readParToken): remove the static LyXFont variable and
1053 pass it as a parameter instead. This fixes a nasty bug where an
1054 inset will be inserted with a bad font in some situations
1055 (readParagraph): adapt
1057 * text2.C (setCounter): reduce number of calls to pars_[pit]
1059 * text.C (singleWidth): add an assert, fix a test
1061 * rowpainter.C (paintText): reduce number of calls to singleWidth
1063 * paragraph.C (isHfill):
1064 (isNewline): ws only
1066 2004-08-14 André Pönitz <poenitz@gmx.net>
1071 * lyxtext.h (several functions): use a Paragraph & argument
1074 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1076 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1078 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1080 * text.C (singleWidth): remove useless test
1082 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1084 * tabular.h: remove bogus comments
1086 * tabular.C (getDescentOfRow):
1087 (isPartOfMultiColumn): add assertions
1089 * lyxlength.C (inPixels): remove #warning
1091 2004-08-14 André Pönitz <poenitz@gmx.net>
1093 * paragraph.h: inline getChar()
1095 * BufferView.h: remove unused declarations
1097 2004-08-14 José Matos <jamatos@lyx.org>
1099 * Buffer.[Ch] (readDocument): new name for old readBody.
1100 * Buffer.C: new file format, new keywords: \begin_document,
1101 \begin_header, \begin_body, \end_body.
1103 * bufferparams.C (readToken): replace all calls to lex.nextToken
1104 by lex.next(). Do the same to eatLine except where really needed.
1106 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1107 line when writing to the lyx file.
1109 * output_plaintext.C (asciiParagraph): fix Bibliography style
1112 * text.C (read): fix end of file handling.
1114 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * MenuBackend.C (Menu::operator[]): new method to access
1117 individual menu items
1118 (Menu::hasFunc): new method. search for an item that corresponds
1120 (MenuBackend::specialMenu): new method
1121 (MenuBackend::expand): if a special menu has been set, skip
1122 entries whose func() appears in this menu
1124 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1126 * text3.C: use Debug::DEBUG a bit more
1128 * text.C (leftMargin): try to simplify a tiny bit change var x to
1129 l_margin. Dont output the wide margins always.
1130 (rightMargin): no margin in inner texts
1132 * rowpainter.h (nestMargin): new func
1133 (changebarMargin): new func
1134 (rightMargin): new func
1136 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1140 * factory.C (createInset): modify setDrawFrame
1142 * cursor.C: use Debug::DEBUG a bit more
1144 2004-08-14 André Pönitz <poenitz@gmx.net>
1147 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1148 cache for all insets in (at least partially) visible (top-level)
1151 * BufferView_pimpl.C: reset external coord cache before every update.
1152 This means the coord cache only contains valid entries.
1154 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1157 * BufferView_pimpl.C (getInsetByCode): move function out of class
1158 and change in to a template in anon namespace. Also fix to do what
1161 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1164 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1166 (breakParagraph): rename par to par_offset and use a local
1167 reference. Add code to keep the language over a rebreak.
1168 (breakParagraphConservative): rename par to par_offset, use a
1170 (mergeParagraph): ditto
1172 (isFirstInSequence): ditto
1173 (outerFont): rename pit to par_offset
1175 * paragraph.C: ws change
1176 * paragraph.h: ditto
1180 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1185 * paragraph.C (simpleTeXOnePar): when we have a \item with
1186 optional argument, enclose the argument with curly brackets (in
1187 case it contains a closing square bracket)
1191 * text3.C (checkInsetHit): constify
1193 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1196 documents (bug 1629)
1198 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 Fix toggling of collapsable insets with the mouse (bug 1558)
1202 * lyxfunc.C (dispatch): adapt to LCursor changes
1204 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1205 make sure that dispatch is not invoked twice
1207 * cursor.C (needsUpdate): new method
1208 (dispatch): return void
1209 (result): new method, to access the DispatchResult of the cursor.
1211 2004-08-13 José Matos <jamatos@lyx.org>
1213 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1215 2004-08-13 André Pönitz <poenitz@gmx.net>
1217 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1219 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1222 2004-08-12 André Pönitz <poenitz@gmx.net>
1224 * text3.C: take out the 'cursor right' form insertInset and only
1225 do it in those places when it is really needed. Fixes crash on
1228 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1232 * BufferView_pimpl.C (setBuffer): initialize the current font of
1233 the underlying LyXText
1235 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * kbsequence.C (print): use UI native formatting for menu
1240 * text.C (insertChar): call Paragraph::insertChar with a font
1243 * paragraph.C (insertInset, insertChar): the version that takes a
1244 LyXFont argument is now a wrapper around the other one (the
1245 opposite used to be true).
1247 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1248 argument. Font setting is done in Paragraph now.
1250 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1252 * outputparams.h: add new members intitle and lang.
1254 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1255 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1257 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1259 * text3.C (dispatch): remove special handling of button 4 and 5,
1260 it is now taken care of in the frontend code.
1262 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1264 * Spacing.h: add <string> (STLPort compile fix)
1266 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1268 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1270 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1272 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1275 * converter.C (showMessage): inherit from unary_function, make
1278 * buffer.C (writeFile): initialize retval
1280 * InsetList.h: rename private variable list to list_
1281 * InsetList.[Ch]: adjust accordingly.
1283 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1285 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1286 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1287 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1288 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1289 * ParagraphParameters.C, LaTeXFeatures.C: replace
1290 "support/std_sstream.h" with <sstream>
1292 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1294 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1295 * lyxsocket.C (LyXServerSocket): ditto
1296 (serverCallback): ditto
1298 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1300 * LaTeXFeatures.C: check release date when loading jurabib.
1302 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1304 * lyxserver.C (startPipe): call register_socket_callback
1305 (endPipe): call unregister_socket_callback
1307 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1309 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1310 (LyXServerSocket): register the callback
1311 (LyXServerSocket): unregister the callback
1312 (fd): delete function
1313 (serverCallback): improve error checking and setup the callbacks.
1314 (dataCallback): change arg to fd.
1315 (writeln): new func (copied fro the client socket) used for server
1317 (LyXDataSocket): simplify
1318 (~LyXDataSocket): close ann unregiser callback
1319 (server): delete function
1320 (fd): delete function
1321 (readln): small changes, improve some std::string usage
1322 (writeln): constify a bit
1324 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1329 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1332 after it has been populated
1334 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1336 * text2.C (insertInset): move cursor when inserting inset.
1338 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * kbmap.C (findbindings): a couple of new methods. returns a
1341 container of kb_sequence objects. The real work is done by the
1342 private recursive version
1343 (printbindings): uses findbindings to print out a bracketed list
1344 of bindings (renamed from findbinding).
1346 * MenuBackend.C (binding): use kb_keymap::findbindings
1348 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1350 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1352 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1354 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * paragraph.C (isWord): return true on insets that report
1359 * text.C (getWord): use Paragraph::isWord to decide what is in a
1360 word and what is not; fix bug 1609.
1362 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1364 * tex-strings.C: add "none" to string_paperpackages[], fixes
1365 off-by-one-error in the paperpackage selection.
1368 * tex-strings.[Ch]: char const * string[n]
1369 -> char const * const string[]
1371 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1374 command, return early.
1376 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1378 * debug.h: add DEBUG to enum and fix size of ANY.
1380 * debug.C: add support for Debug::DEBUG
1381 (showTags): cast errorTags.level to unsigned int
1383 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1384 (redoCurrentBuffer): ditto
1385 (updateScrollbar): ditto
1386 * cursor.C (dispatch): ditto
1387 * text2.C (setLayout): ditto
1389 (updateCounters): ditto
1391 (deleteEmptyParagraphMechanism): ditto
1393 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1395 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1396 annotations to cleanup the Makefile slightly.
1398 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1400 * lyxrc.C: do not set user_email to a default value but use empty
1401 instead. The entry used to be translated, which does not work
1402 since at the point where lyxrc is constructed there is no
1403 translation service available
1405 * messages.C (getLocaleDir): remove and use directly
1406 lyx_localedir() instead
1408 2004-06-02 Angus Leeming <leeming@lyx.org>
1410 Fix crash caused by dereferencing null pointer 'exportdata' in
1411 OutputParams by creating a new ExportData variable on the heap,
1412 storing it in a boost::shared_ptr.
1413 The crash was triggered when generating an Instant Preview
1414 of an external inset.
1416 * Makefile.am: add outputparams.C
1418 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1419 (c-tor): allocate memory to it.
1421 * exporter.C (c-tor): associated changes.
1423 2004-06-01 Angus Leeming <leeming@lyx.org>
1425 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1426 contains data before calling isInset(0). (Bug 1513.)
1428 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1430 * exporter.C (checkOverwrite): new method
1431 * exporter.C (copyFile): new method
1432 * exporter.C (Export): copy referenced files to the document dir
1433 * exporter.[Ch]: new class ExportedFile
1434 * exporter.[Ch]: new class ExportData. Contains currently the
1435 names of referenced external files
1436 * outputparams.h: add exportdata member.
1438 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1440 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1443 2004-05-19 Angus Leeming <leeming@lyx.org>
1448 * lyxfunc.C: small changes due to the introduction of namespace
1449 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1451 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1453 * text3.C (dispatch): supress update when only moving the cursor
1454 * cursor.C (selHandle): remove commented code
1456 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1458 * paragraph.C (startTeXParParams): correct column count
1459 * CutAndPaste.C (pasteSelection): remove const_cast
1460 * output_docbook.C (docbookParagraphs): remove const_cast
1461 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1462 const_cast and return ParagraphList::const_iterator
1463 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1464 * output_plaintext.C (writeFileAscii): remove const_cast
1465 * paragraph.[Ch] (simpleTeXOnePar): make const
1466 * paragraph_funcs.C (outerPar): use const iterators
1467 * paragraph_pimpl.C (validate): use const iterators
1468 * text.C (setHeightOfRow): use const iterators
1470 2004-05-17 Angus Leeming <leeming@lyx.org>
1473 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1475 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1476 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1477 if the citation engine has changed.
1479 2004-05-14 José Matos <jamatos@lyx.org>
1481 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1482 if the textclass does not provide it. Have it different for sgml and
1484 support the language of document.
1485 * output_docbook.C (docbookParagraphs):
1486 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1487 first anchor as the id of the paragraph, remove special case code.
1488 * sgml.C (escapeChar): escape only < & >.
1490 2004-05-14 Angus Leeming <leeming@lyx.org>
1492 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1493 dependencies on src/frontends/controllers/biblio.h. Define a
1494 CiteEngine_enum wrapper class to enable the enum to be forward
1497 2004-05-12 Angus Leeming <leeming@lyx.org>
1499 * buffer.C: up LYX_FORMAT to 234.
1500 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1501 use_numerical_citations with a single biblio::CiteEngine cite_engine
1503 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1505 2004-05-13 José Matos <jamatos@lyx.org>
1508 * converter.C (Converter, readFlags): add xml member.
1509 * outputparams.h: add XML flavor.
1510 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1512 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1514 * lyxfunc.C (dispatch):
1515 (getStatus): fix handling of LFUN_SEQUENCE
1517 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * debug.C (showLevel): do not forget the end-of-line marker
1521 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * kbmap.C (read): do not stop parsing a bind file when an error
1526 2004-04-29 Angus Leeming <leeming@lyx.org>
1531 * text2.C: wrap a bunch of #warning statements
1532 inside #ifdef WITH_WARNINGS blocks.
1534 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1536 * buffer.C: increment format to 233.
1538 2004-04-28 Angus Leeming <leeming@lyx.org>
1540 * BufferView_pimpl.C:
1543 s/updateToolbar()/updateToolbars()/
1544 s/Toolbar.h/Toolbars.h/
1546 2004-04-28 Angus Leeming <leeming@lyx.org>
1548 * BufferView.[Ch] (c-tor):
1549 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1550 No longer passes these data to the WorkArea generator.
1552 2004-04-28 Angus Leeming <leeming@lyx.org>
1554 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1556 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1558 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1560 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * output_latex.C (TeXEnvironment): make sure that there is a line
1563 break before \end{foo} for the last paragraph of a document
1564 (TeXOnePar): if the paragraph is at the end of the document (or
1565 inset) and the language has to be reset, then make sure that the
1566 line break is _before_ the language command, not after (fixes bug
1567 1225); also make sure that the language reset command is the first
1568 thing after the paragraph (to ensure proper nesting of
1569 environments and thus fix bug 1404)
1571 2004-04-21 John Levon <levon@movementarian.org>
1574 * ToolbarBackend.C: make "name" be a programmatic name
1575 and a gui_name field.
1577 * lyxfunc.C: display the minibuffer on M-x
1579 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1584 2004-04-19 Angus Leeming <leeming@lyx.org>
1586 * BufferView_pimpl.C (setBuffer): changed preview interface.
1588 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1591 2004-04-19 John Levon <levon@movementarian.org>
1593 * BufferView_pimpl.C:
1594 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1596 2004-04-05 Angus Leeming <leeming@lyx.org>
1598 * text.C (redoParagraphs): add call to updateCounters(), thereby
1599 fixing the missing "Figure #:" label from the caption of a
1602 2004-04-13 Angus Leeming <leeming@lyx.org>
1604 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1605 cursor is clicked out of an inset.
1607 2004-04-13 Angus Leeming <leeming@lyx.org>
1609 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1610 than an InsetOld one.
1612 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1614 * format.[Ch]: add editor to Format
1615 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1616 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1618 2004-04-08 André Pönitz <poenitz@gmx.net>
1620 * metricsinfo.h: remove PainterInfo::width member
1622 2004-04-08 Angus Leeming <leeming@lyx.org>
1624 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1625 "\providecommand" rather than "\newcommand", thereby preventing
1626 clashes with packages that define "\boldsymbol" themselves.
1629 2004-04-08 Angus Leeming <leeming@lyx.org>
1631 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1632 thereby squashing an unnecessary warning.
1634 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1636 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1639 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1641 * BufferView.C (setCursor): call redoParagraph (some insets could
1643 (putSelectionAt): remove the 'double update' trick
1645 * BufferView_pimpl.C (fitCursor): call refreshPar
1646 (workAreaDispatch): remove an uneeded update call
1647 (dispatch): remove some manual update calls
1649 * cursor.[Ch]: remove cached_y_, updatePos
1650 (selHandle): set noUpdate when appropriate
1652 * lyxfunc.C (dispatch): track if we need an update
1654 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1656 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1657 (paintSelection): cheap optimization, do not call cursorX when not
1659 (paintPars): change signature
1662 (paintTextInset): adjust
1666 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1668 * lengthcommon.C: compilation fix: remove explicit array size from
1669 unit_name[] and friends
1671 2004-04-05 Angus Leeming <leeming@lyx.org>
1673 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1675 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1676 present only for the preferences dialog.
1677 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1679 2004-04-05 Angus Leeming <leeming@lyx.org>
1681 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1682 to enable the frontends to export changes to lyxrc correctly.
1684 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1686 2004-04-07 André Pönitz <poenitz@gmx.net>
1688 * cursor.[Ch] (selClear, adjust): remove math
1690 * cursor_slice.C: more agressive assert
1693 * BufferView_pimpl.C: rework mouse event dispatch
1700 2004-04-05 André Pönitz <poenitz@gmx.net>
1702 * cursor.[Ch] (valign, halign...): remove unneeded functions
1704 2004-04-05 Angus Leeming <leeming@lyx.org>
1706 * lyxlength.[Ch] (unit_name et al.): const-correct.
1708 2004-04-05 Angus Leeming <leeming@lyx.org>
1710 * BufferView_pimpl.C:
1719 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1721 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1723 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1725 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1727 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1728 * BufferView_pimpl.[Ch] (getStatus)
1729 * BufferView.[Ch] (getStatus): add
1730 * lyxfunc.C (getStatus): move lfuns handled in
1731 BufferView::dispatch to te function above
1732 * Cursor.C (setSelection): set selection() = true
1734 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1736 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1738 2004-03-31 Angus Leeming <leeming@lyx.org>
1740 * lyxfunc.C (dispatch): Fall through to the generic
1741 Dialogs::show("preamble").
1743 2004-03-31 Angus Leeming <leeming@lyx.org>
1745 * lyxfunc.C (dispatch): Fall through to the generic
1746 Dialogs::show("spellchecker").
1748 2004-03-31 Angus Leeming <leeming@lyx.org>
1750 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1753 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1758 * insetiterator.[Ch]:
1763 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1765 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1767 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1768 insets where we are putting the cursor.
1770 2004-03-31 Angus Leeming <leeming@lyx.org>
1773 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1775 * lyxrc.[Ch] (read, write): overloaded member functions taking
1776 a std::[io]stream arguments.
1778 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1780 2004-03-31 Angus Leeming <leeming@lyx.org>
1782 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1783 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1785 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1786 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1788 2004-03-31 Angus Leeming <leeming@lyx.org>
1790 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1791 the LFUN_ALL_INSETS_TOGGLE code.
1793 2004-03-30 Angus Leeming <leeming@lyx.org>
1795 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1796 has died. Fall through to the generic Dialogs::show("document").
1798 2004-03-30 Angus Leeming <leeming@lyx.org>
1801 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1802 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1804 * lyxfunc.C (getStatus, dispatch): define the actions for these
1805 lfuns. Little more than a cut and pste job from ControlDocument.C
1807 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1809 2004-03-30 Angus Leeming <leeming@lyx.org>
1812 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1813 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1815 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1816 open/closed state of ollapsable insets. Usage:
1818 all-inset-toggle <state> <name>, where
1819 <state> == "open" || "closed" || "toggle" and
1820 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1822 * lyxtext.h, text2.C (toggleInset): removed.
1824 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1825 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1826 now passes LFUN_INSET_TOGGLE to the found inset.
1828 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1829 is now invoked as "all-insets-toggle toggle branch".
1831 2004-03-30 Angus Leeming <leeming@lyx.org>
1835 * pariterator.[Ch]: added/corrected header blurb.
1837 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1839 * dociterator.[Ch]: add an inset_ member
1840 (backwardPos): implemented
1841 (backwardPos, forwardPos): use inset_ when the stack is empty.
1842 (doc_iterator_begin, doc_iterator_end): implemented
1843 * pariterator.[Ch]: adjust, add begin, end
1844 * insetiterator.[Ch]: adjust, add begin, end
1848 * BufferView_pimpl.C:
1849 * CutAndPaste.C: adjust
1851 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1853 * buffer.C: increment file format to 232.
1854 * LaTeXFeatures.C: add bibtopic package.
1855 * bufferparams.[Ch]: param \use_bibtopic.
1857 * lyxrc.[Ch]: add lyxrc bibtex_command
1858 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1860 * buffer.C: increment file format to 231.
1862 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1864 * dociterator.C: implement forwardPar
1865 * iterators.[Ch]: remove, replaced by
1866 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1868 * BufferView_pimpl.C:
1871 * bufferview_funcs.C:
1877 * Makefile.am: adjust
1879 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1881 * CutAndPaste.C (pasteSelection): fix 2 crashes
1882 (eraseSelection): fix a crash
1883 * paragraph_funcs.C: remove a warning
1885 2004-03-28 Angus Leeming <leeming@lyx.org>
1888 * LyXAction.C (init): new LFUN_PRINT.
1890 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1892 2004-03-27 Angus Leeming <leeming@lyx.org>
1895 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1897 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1899 2004-03-27 Angus Leeming <leeming@lyx.org>
1901 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1902 insetlist always contains non-null pointers to insets.
1904 2004-03-26 Angus Leeming <leeming@lyx.org>
1906 * src/BufferView_pimpl.C:
1907 * src/CutAndPaste.C:
1910 * src/output_plaintext.C:
1911 * src/outputparams.h:
1912 * src/paragraph_funcs.C:
1916 * src/frontends/controllers/ControlErrorList.C:
1917 * src/frontends/gtk/FileDialogPrivate.C:
1918 * src/frontends/gtk/GPainter.C:
1919 * src/frontends/gtk/GToolbar.C:
1920 * src/frontends/qt2/QRef.C:
1921 * src/mathed/math_scriptinset.C: squash compiler warnings.
1923 2004-03-26 Angus Leeming <leeming@lyx.org>
1925 * ispell.C (LaunchIspell::start):
1926 * lyx_cb.C (AutoSaveBuffer::start):
1927 invoke run(DontWait) rather than runNonBlocking().
1929 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1931 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1933 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * kbsequence.C (print): adjust
1937 * kbmap.C (printKeySym): rename and change signature
1938 (printKey): use LyXKeySym::print()
1940 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1942 * undo.C: add using std::advance to compile for stlport
1944 2004-03-24 Angus Leeming <leeming@lyx.org>
1946 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1947 it leads to a crash when no buffer is present.
1949 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 Martin Vermeer <martin.vermeer@hut.fi>
1952 * lyxfunc.C (dispatch):
1953 * bufferparams.C (readToken): use the new LColor::setColor
1955 * LColor.[Ch] (setColor): new version that takes two strings as
1956 argument and creates a new color entry if necessary
1958 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1960 * buffer.C (makeLaTeXFile): if the main latex file that is
1961 processed is usually a subdocument of some master, then pretend
1962 for a while that it is actually the master
1964 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1966 * buffer.C (getLabelList):
1967 (getBibkeyList): use getMasterBuffer()
1968 (getMasterBuffer): new method. Returns the main document in the
1969 case where one is using included documents.
1971 2004-03-25 André Pönitz <poenitz@gmx.net>
1975 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1977 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1979 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1980 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1982 * ParameterStruct.h: merge with ParagraphParameters
1984 * lyxtext.h: remove LyXText::parOffset() and getPar()
1986 * text3.C: Remove all 'manual' update calls. We do now one per user
1987 interaction which is completely sufficient.
1991 * BufferView_pimpl.C:
1992 * FontIterator.[Ch]:
1994 * ParagraphParameters.[Ch]:
1999 * cursor_slice.[Ch]:
2006 * output_docbook.[Ch]:
2007 * output_latex.[Ch]:
2008 * output_linuxdoc.[Ch]:
2009 * output_plaintext.[Ch]:
2011 * paragraph_funcs.[Ch]:
2012 * paragraph_pimpl.[Ch]:
2020 * frontends/controllers/ControlDocument.C:
2021 * frontends/controllers/ControlErrorList.C:
2022 * frontends/controllers/ControlSpellchecker.C:
2025 * insets/insetbase.h:
2026 * insets/insetbibitem.C:
2027 * insets/insetbox.C:
2028 * insets/insetbranch.C:
2029 * insets/insetcaption.C:
2030 * insets/insetcharstyle.C:
2031 * insets/insetcharstyle.h:
2032 * insets/insetcollapsable.C:
2033 * insets/insetcollapsable.h:
2034 * insets/insetert.C:
2035 * insets/insetfloat.C:
2036 * insets/insetfoot.C:
2037 * insets/insetmarginal.C:
2038 * insets/insetnote.C:
2039 * insets/insetoptarg.C:
2040 * insets/insettabular.C:
2041 * insets/insettext.C:
2042 * insets/insettext.h:
2043 * insets/insetwrap.C:
2044 * mathed/math_mboxinset.C:
2045 * mathed/math_nestinset.C:
2046 * mathed/math_scriptinset.C:
2047 * mathed/math_scriptinset.h:
2050 2004-03-24 Angus Leeming <leeming@lyx.org>
2052 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2053 deal with any child processes that have finished but are waiting to
2054 communicate this fact to the rest of LyX.
2056 2004-03-24 Angus Leeming <leeming@lyx.org>
2058 64-bit compile fixes.
2060 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2061 (c-tor): pass lyx::pos_types rather than ints.
2063 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2066 * text.C (Delete): compile fix.
2067 (getPar): ensure that function declaration is the same as that in
2070 2004-03-23 Angus Leeming <leeming@lyx.org>
2072 * ispell.C (LaunchIspell):
2073 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2074 a boost::shred_ptr rather than a std::auto_ptr.
2076 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2078 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2079 handle LFUN_FILE_INSERT_*
2081 * lyxrc.C (setDefaults, getDescription, output, read):
2082 * lyxrc.h: remove ps_command
2084 2004-03-22 Angus Leeming <leeming@lyx.org>
2086 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2087 Ensure that error_handler is processed once only and that all data
2088 is saved before attempting to output any warning messages.
2090 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2092 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2094 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2096 2004-03-19 André Pönitz <poenitz@gmx.net>
2098 * cursor.[Ch] (reset): take main text inset as argument
2100 * BufferView: adjust
2101 * BufferView_pimpl.C: adjust
2103 * paragraph.[Ch]: fix completely broken operator=()
2105 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2107 * LColor.C (getFromLyXName): make sure that the color name is used
2110 2004-03-17 Angus Leeming <leeming@lyx.org>
2113 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2115 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2116 dialog and to kill a forked process.
2118 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2120 * text2.C (setCursorFromCoordinates): fix font problem
2122 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2124 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2125 bogus "rebuild cursor" code
2127 2004-03-11 André Pönitz <poenitz@gmx.net>
2129 * buffer.[Ch]: use InsetText instead of LyXText as container for
2132 * dociterator.[Ch]: drop the BufferView * member which is not needed
2133 anymore after the change to buffer.C
2135 * paragraph_funcs.C:
2139 * BufferView_pimpl.[Ch]:
2141 * cursor_slice.[Ch]: adjust
2143 * text3.C: fix bug in mathDispatch
2145 2004-03-08 André Pönitz <poenitz@gmx.net>
2147 * undo.[Ch]: use 'StableDocumentIterator' as base for
2150 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2153 * bufferparams.[Ch]: add jurabib support and param.
2155 * LaTeX.C: add FIXME/comment.
2157 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2159 * buffer.C: increment file format to 230.
2161 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2163 * cursor.C (dispatch): avoid infinite loops
2165 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2167 * rowpainter.C (paintSelection): fix x coordinates
2169 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2171 * text.C (rowBreakPoint): fix breaking before displayed insets
2173 2004-03-01 André Pönitz <poenitz@gmx.net>
2175 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2177 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2181 * BufferView_pimpl.C:
2189 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2195 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2196 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2198 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2200 * Bidi.[Ch] (computeTables): const correctness
2201 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2202 fill_hfill, fill_label_hfill and x from Row
2203 * lyxtext.h: prepareToPrint returns a RowMetrics
2204 * rowPainter.C: adjust
2205 * text.C (prepareToPrint): use width, not textWidth. adjust
2206 (redoParagraphInternal, cursorX): adjust
2207 * text2.C (getColumnNearX): adjust
2208 (init): put a default value to the top LyXText::width
2210 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2212 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2214 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2216 * lyxtext.h: add FontIterator class
2218 * text.C (FontIterator, operator*, operator->, operator++): add
2219 (rowBreakPoint, setRowWidth): adjust (fixing a
2222 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2224 * BufferView_pimpl.C (workAreaDispatch): allow also
2225 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2227 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2229 * text.C (rowBreakPoint): fix a bug showing with very large insets
2231 2004-02-25 André Pönitz <poenitz@gmx.net>
2234 * cursor.[Ch]: move some mathed specific code to mathed
2236 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2238 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2239 use_tempdir in preferences
2240 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2242 * lyx_main.C: ensure that tempdir is valid
2243 * lyxlex.h: correct typo
2244 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2245 * paragraph.[Ch] (isMultiLingual): make const
2246 * cursor.[Ch] (openable): make const
2248 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2250 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2252 2004-02-20 André Pönitz <poenitz@gmx.net>
2254 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2256 * cursor.[Ch]: prepare for localized getStatus()
2262 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2264 2004-02-20 André Pönitz <poenitz@gmx.net>
2266 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2268 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2270 * text2.C (setCursorFromCoordinates): switch to absolute coords
2272 (cursorDown): adjust
2273 * text3.C (dispatch): adjust
2275 2004-02-16 André Pönitz <poenitz@gmx.net>
2277 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2280 * cursor_slice.[Ch]: remove unneeded acessor function
2282 * lyxtext.h: rename rtl() to isRTL()
2290 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2292 * rowpainter.C (paintSelection): coord fix
2294 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2296 * Spacing.C: compile fix
2298 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2300 * cursor.C (dispatch): restore current_ before returning
2302 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2304 * text2.C (cursorUp, cursorDown): fix coords
2307 2004-02-12 André Pönitz <poenitz@gmx.net>
2312 * text3.C: add LCursor & parameter to most cursor movement functions
2313 remove usage of LyXText::cursorRow() and cursorPar()
2315 * cursor.[Ch]: add textRow() needed members
2318 * BufferView_pimpl.C:
2321 * BufferView_pimpl.C: adjust
2323 2004-02-11 André Pönitz <poenitz@gmx.net>
2327 * BufferView_pimpl.C: shift undo/redo handling
2329 * cursor.[Ch]: fix mathed crash
2332 * lyxtext.h: move selectionAsText to LCursor
2340 * rowpainter.C: fix excessive drawing
2342 2004-02-06 André Pönitz <poenitz@gmx.net>
2345 * BufferView_pimpl.[Ch]:
2346 * text3.C: move some text specific LFUN handling
2348 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2350 * text3.C (checkInsetHit): adjust coords
2351 * text2.C (getColumnNearX): adjust coords
2352 (edit): adjust coords
2353 * text.C (getRowNearY): add two asserts
2355 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2358 * format.C: add using std::distance to compile on gcc 2.95/stlport
2360 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2362 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2364 2004-02-04 André Pönitz <poenitz@gmx.net>
2366 * BufferView.[Ch] (insertInset):
2367 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2372 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2374 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2375 on the default clause of the switch
2376 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2377 wasn't catched by LCursor::dispatch
2379 2004-02-03 André Pönitz <poenitz@gmx.net>
2382 * cursor.[Ch]: some additional asserts
2384 * undo.[Ch]: remove LyXText dependency in interface
2388 * lyxtext.h (firstPar, lastPar): remove dead functions
2393 * paragraph.[Ch]: adjust
2395 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2397 * lyxfind.C (find): fix argument order in call to ::find
2399 2004-02-02 André Pönitz <poenitz@gmx.net>
2401 * cursor.[Ch]: remove direct access to anchor
2403 * text.C: remove findText() hack
2405 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2407 * iterators.[Ch] (lockPath): remove in favour of...
2408 * BufferView.[Ch] (setCursor): this addition
2409 * BufferView.C (putSelectionAt): adjust
2410 * undo.C (performUndoOrRedo): adjust
2411 * lyxfunc.C (dispatch): adjust
2413 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2415 * iterators.C (lockPath): add a missing slice
2416 * undo.C (performUndoOrRedo): remove redundant positioning code
2418 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2420 * vc-backend.C (scanMaster): ";" -> ';'
2422 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2424 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2425 std::binary_function
2427 * lyxtextclass.C (compare_name): rename to...
2428 (LayoutNamesEqual): ...this
2430 * lyxlex_pimpl.C (compare_tags): inherit from
2431 std::binary_function, put back into anon namespace
2433 * lyxfind.C (MatchString): inherig from std::binary_function
2434 (findChange): use empty() istead of !size()
2436 * format.C (FormatNamesEqual): new functor
2443 * converter.C (compare_Converter): rename to...
2444 (ConverterEqual): ...this, and fixup a bit.
2445 (getConverter): use it, and make function const
2446 (getNumber): use it, and make function const
2450 * bufferlist.C: add using boost::bind
2452 * MenuBackend.C (MenuNamesEqual): new functor
2453 (hasMenu): use it, and make function const
2454 (hasSubmenu): use nested bind to get rid of compare_memfun.
2456 2004-01-30 André Pönitz <poenitz@gmx.net>
2458 * BufferView_pimpl.C:
2461 * cursor_slice.[Ch]:
2464 * paragraph_funcs.C:
2465 * paragraph_funcs.h:
2469 * text3.C: move some of the edit(x,y) handling to the insets
2470 some coordinate changes.
2472 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2474 * text.C: add using statements for std::advance and std::distance
2476 * paragraph.C: add using statement for std::distance
2478 * lyxfind.C: add using statement for std::advance
2480 * cursor.C (region): remove std:: from swap
2481 (openable): use nucleus in stead of operator->
2483 * BufferView.C: add using statements for std::distance and std::swap
2485 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2487 * iterators.C: Remove the pimple, move the needed structures to
2488 the header file. Create accessor for the positions stack.
2489 (asPosIterator): remove function
2491 * PosIterator.C (PosIterator): move constructors to top of file
2492 (PosIterator): reimplement the constructor taking a ParIterator in
2494 (setFrom): new function
2495 (operator!=): inline it
2497 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2499 * lyxfind.C (replaceAll): use std::advance
2501 * iterators.h: inherit from std::iterator.
2503 * PosIterator.C (advance, distance): remove
2504 * PosIterator.h: interit from std::iterator.
2506 2004-01-26 André Pönitz <poenitz@gmx.net>
2509 * BufferView_pimpl.[Ch]:
2513 * bufferview_funcs.C:
2523 * output_linuxdoc.C:
2524 * output_plaintext.C:
2526 * paragraph_funcs.[Ch]:
2527 * paragraph_pimpl.[Ch]:
2533 * text3.C: more IU: dumps most of the rest of the mathcursor
2534 implementation into cursor.[Ch]; "globalize" a bit of it.
2536 2004-01-25 Angus Leeming <leeming@lyx.org>
2538 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2540 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2542 * LaTeXFeatures.h: add nice_ and nice() const
2543 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2545 2004-01-20 André Pönitz <poenitz@gmx.net>
2548 * BufferView_pimpl.C:
2550 * bufferview_funcs.C:
2552 * cursor_slice.[Ch]:
2563 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2564 LCursor and mathcursor parts to LCursor and InsetBase.
2566 2004-01-15 André Pönitz <poenitz@gmx.net>
2568 * cursor_slice.[Ch]: add a few covienience functions
2570 * funcrequest.[Ch]: remove BufferView * member
2572 * BufferView_pimpl.C:
2579 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2581 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2583 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2584 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2586 2004-01-13 André Pönitz <poenitz@gmx.net>
2589 * lyxtext.h: hide cursor and selection anchor behind accessor function
2592 * BufferView_pimpl.[Ch]:
2594 * bufferview_funcs.C:
2604 * cursor_slice.[Ch]: some integer type changes for inset unification
2606 * lyxcursor.[hC]: remove, it's CursorSlice now.
2609 * BufferView_pimpl.[Ch]:
2610 * bufferview_funcs.C:
2616 * textcursor.[Ch]: adjust
2618 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2620 * text2.C (undoSpan): add and use
2621 * text.C (breakParagraph): use undoSpan (fix bug 578)
2624 2004-01-08 Angus Leeming <leeming@lyx.org>
2626 * BufferView_pimpl.C (MenuInsertLyXFile):
2627 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2628 * lyxfunc.C (menuNew, open, doImport):
2629 FileFilterList change to the FileDialog open and save functions.
2631 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2633 * ShareContainer.h: make isEqual and isUnique adaptable
2635 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2637 2004-01-07 Angus Leeming <leeming@lyx.org>
2640 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2642 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2644 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2645 functions replacing find, replace and replaceAll.
2647 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2648 LFUN_WORDFIND(FORWARD|BACKWARD).
2650 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2652 * text.C (breakParagraph): remove an outdated #warning
2654 2004-01-07 André Pönitz <poenitz@gmx.net>
2656 * lyxfind.C: somewhat clearer logic
2658 * text.C: prevent crash in cursorX on unitialized row cache
2660 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2662 * lyxcursor.[Ch] (operator>): add
2663 * textcursor.C (selStart, selEnd): use std::min and std::max
2665 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2667 * Chktex.C: include boost/format.hpp
2669 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2671 * InsetList.C: replace functor MathcIt with adaptable functor
2673 (insetIterator): modify accordingly
2675 * BranchList.h: move the BranchNamesEqual functor here from...
2676 * BranchList.C: ... to here
2678 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2680 (add): replace a finding loop with std::find_if.
2682 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2684 * output_docbook.C: moving LatexParam functionality into
2687 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2689 * buffer.C: increment format to 229.
2691 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2694 * lyx_sty.[Ch]: remove minipageindent_def
2700 * text3.C: remove LFUN_INSET_MINIPAGE
2702 2003-12-28 Angus Leeming <leeming@lyx.org>
2704 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2706 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2708 * text2.C (setParagraph): fix off-by-one crash
2710 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2712 * output_docbook.C: header stuff for AGU
2714 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2716 * text2.C (redoCursor): remove
2719 * BufferView_pimpl.C: remove calls to redoCursor and
2720 setCursor(cursor.par(), cursor.pos()) all around
2722 2003-12-15 Angus Leeming <leeming@lyx.org>
2724 * buffer.C: up the format to 228.
2726 2003-12-15 André Pönitz <poenitz@gmx.net>
2728 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2733 * BufferView_pimpl.C:
2742 2003-12-15 Angus Leeming <leeming@lyx.org>
2744 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2745 than getFromGUIName to manipulate the color.
2747 2003-12-14 Angus Leeming <leeming@lyx.org>
2749 * BranchList.[Ch]: minimize the API.
2750 (Branch::getBranch, getColor): now return a 'const &'.
2751 (Branch::setSelected) now returns a bool set to true if the
2752 selection status changes.
2753 (BranchList::clear, size, getColor, setColor, setSelected,
2754 allBranches, allSelected, separator): removed.
2755 (BranchList::find): new functions, returning the Branch with
2757 (BranchList::add, remove): return a bool indicating that
2758 the operation was successful.
2760 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2761 new InsetBranch::isBranchSlected member function.
2763 * LColor.[Ch]: mimimize the API.
2764 (fill): renamed as addColor and made private.
2765 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2766 versions of these functions taking a string arg have been removed.
2768 * bufferparams.C (readToken):
2769 * lyxfunc.C (dispatch):
2770 * lyxrc.C (read): changes due to the altered BranchList and
2773 * factory.C (createInset, readInset): changes due to altered
2776 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2779 * lyxfunc.C: remove insetminipage. "minipage-insert"
2780 now produces a frameless minipage box inset.
2782 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2784 * textcursor.[Ch] (selStart,selEnd): add new methods
2785 remove selection::start, end, use LyXCursor::operator<
2786 * lyxcursor.[Ch] (operator<): add
2787 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2788 * BufferView.[Ch] (unsetXSel): add
2789 * text2.C (clearSelection): use unsetXSel,adjust
2792 * rowpainter.C: adjust
2793 * bufferview_funcs.C (put_selection_at): adjust
2795 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2797 * BufferView_pimpl.C: small coord. correction
2799 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2801 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2802 dragging over the splash screen.
2804 2003-12-11 Angus Leeming <leeming@lyx.org>
2806 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2807 as it is now handled in LyXText::dispatch.
2809 * text3.C (doInsertInset): remove a level of nesting.
2811 2003-12-11 Angus Leeming <leeming@lyx.org>
2813 * factory.C (createInset): changes due to the changed interface to
2814 InsetCommandMailer::string2params.
2816 2003-12-10 Angus Leeming <leeming@lyx.org>
2818 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2819 'dialog-show-new-inset <inset name>'
2821 2003-12-10 Angus Leeming <leeming@lyx.org>
2823 * buffer.C: up the format to 227.
2825 * factory.C: the box inset is now identified simply by 'Box'.
2827 2003-12-10 Angus Leeming <leeming@lyx.org>
2829 * buffer.C: up the format to 226.
2831 * factory.C: the note inset is now identified simply by 'Note'.
2833 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2835 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2836 when a pit is enough. Standarize a couple of loops.
2838 2003-12-05 Angus Leeming <leeming@lyx.org>
2840 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2841 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2842 data to the re-worked "log" dialog.
2844 2003-12-03 André Pönitz <poenitz@gmx.net>
2850 * paragraph_funcs.C:
2852 * text2.C: use Inset::getText instead of Inset::getParagraph
2854 2003-12-03 André Pönitz <poenitz@gmx.net>
2858 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2859 InsetText::read() as LyXText::read()
2861 2003-12-02 Angus Leeming <leeming@lyx.org>
2863 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2864 type. Add a comment in the implementation that the function uses
2865 the stream's bad() function rather than fail() as the std::streams
2868 2003-12-02 André Pönitz <poenitz@gmx.net>
2870 * lyxlex.[Ch]: make interface more similar to std::stream
2872 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2874 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2876 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2878 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2880 * vspace.[Ch]: remove VSpace::NONE
2882 2003-12-01 André Pönitz <poenitz@gmx.net>
2885 * lyxtext.h: move ParagraphList member to LyXText
2886 rename LyXText::ownerParagraphs to LyXText::paragraph
2889 * bufferview_funcs.C:
2899 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2901 * undo.C: fix cursor positioning
2903 2003-12-01 John Levon <levon@movementarian.org>
2905 * BufferView_pimpl.C: fix a crash on exit with
2908 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2910 * BranchList.C: fix setSelected() method.
2912 2003-11-28 André Pönitz <poenitz@gmx.net>
2914 * ParagraphParameters.[Ch]:
2915 * ParameterStruct.h: remove space above/below from Paragraph to
2918 * BufferView_pimpl.C:
2924 * paragraph_funcs.C:
2930 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2932 * factory.C: Syntax change for CharStyles
2934 2003-11-28 André Pönitz <poenitz@gmx.net>
2939 * buffer.[Ch]: move LyXText member
2941 2003-11-28 André Pönitz <poenitz@gmx.net>
2943 * BufferView.[Ch]: make LyXText * text a private member
2945 * BufferView_pimpl.C:
2956 * output_plaintext.C: cleanup
2958 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2961 * lyxtextclass.[Ch]: parametrize SGML document header
2963 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2966 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2969 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2971 * text2.C (setFont): rework using PosIterator (no more recursive)
2972 (setCharFont): no more needed
2973 (setLayout): no more selection cursors fiddling (done by redoCursor)
2974 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2975 destroy remaining ones)
2977 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2979 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2981 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2984 * text3.C: adjust + re-allow multi par depth changes
2985 * textcursor.C: simplify a bit
2987 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2993 * src/output_docbook.C:
2994 * src/output_latex.C:
2999 * src/text2.C: Introducing a number of tags parametrizing various
3000 XML formats that we may want to support
3002 2003-11-25 André Pönitz <poenitz@gmx.net>
3004 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3006 * lyxtext.h (leftMargin/rightMargin): simplify interface
3013 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3015 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3016 master file to any child files. Fixes bug 546.
3018 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3020 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3022 2003-11-24 André Pönitz <poenitz@gmx.net>
3024 * rowpainter.C: simplification
3026 * text2.C (updateCounters): remove call to redoParagraph on
3027 changed labels as this is far too expensive.
3029 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3031 * converter.C (convert): fix a crash: this function gets
3032 called with buffer == 0 from importer code.
3034 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3036 * text3.C (cursorPrevious): make sure that we do not compare
3037 iterators form different containers.
3040 * rowpainter.C (paintSelection): make sure that we do not compare
3041 iterators from different containers.
3043 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3044 iterators from different ParagraphList containers.
3047 * text2.C (LyXText): change order of initialization slightly
3048 (operator=): new function. copy all variables except cache_par_
3049 (moveUp): make sure that we do not compare iterators from
3050 different ParagraphList constainers.
3053 * text.C (firstPar): new function
3054 (lastPar): new function
3055 (endPar): new function
3057 * lyxtext.h: move things around and group public functions, public
3058 variables, private functions, private variables
3060 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3062 * factory.C: change call to InsetERT constructor to avoid
3063 additional invocation of method status
3064 * text2.C (toggleInset): remove redundant update() call
3065 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3066 instead of a Bufferview pointer
3068 2003-11-21 André Pönitz <poenitz@gmx.net>
3070 * rowpainter.C: simplification
3072 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3074 * text3.C (dispatch): make possible to extend a word/row selection
3077 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3079 * lyxtext.h: x0_,y0_ -> xo_,yo_
3080 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3081 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3082 * rowpainter.C (paintRows): paint full paragraphs
3084 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3086 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3089 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3091 * lyxtext.h: add x0_, y0_
3092 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3093 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3095 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3097 * text2.C (setCursorIntern): move the x_target update here *
3098 * text3.C: change some bv() to true/false in calls to
3099 cursorUp/Down/Right/Left
3100 * cursor.C: use helper function.
3102 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3104 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3105 * paragraph_funcs.[Ch]: correct comment
3106 * rowpainter.C: do not paint selections away from bv->cursor()
3107 Fix a long standing selection painting bug.
3108 * text3.C: generalize mouse-selection code to LyXTexts other that
3110 * textcursor.C: do not use y coords if we can use par offsets
3112 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3114 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3115 cursor position after e.g. inset insert)
3117 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3119 * lyxfind.C (replace): adjust to locking removal + some
3122 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3124 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3127 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3130 * output_docbook.C: XML sanitation: new layout
3131 parameters InnerTag and CommandDepth
3133 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3135 * BufferView_pimpl.C:
3137 * text3.C: Fix the insertion and modification of button-style
3140 2003-11-13 André Pönitz <poenitz@gmx.net>
3142 * InsetList.[Ch]: remove deleteLyXText
3144 * paragraph.[Ch]: cache beginOfBody position
3149 * text3.C: remove superfluous update() calls
3153 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3155 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3156 * BufferView.C (fitLockedInsetCursor): remove
3157 * cursor.[Ch] (getDim): add
3158 * text.C (getRowNearY): add faster version
3159 * text3.C: remove some update calls
3161 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3173 * text3.C: The Character Style /XML short element patch.
3175 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3178 * factory.C: Small step to solving 'unable to insert some insets'
3181 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3183 * cursor.[Ch] (updatePos): new function for updating the y
3184 position of the tip inset
3185 * bufferview_funcs.C (put_selection_at):
3186 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3188 2003-11-11 André Pönitz <poenitz@gmx.net>
3190 * text.C: remove big comment on invalid Paragraph pointers as it is
3193 2003-11-11 André Pönitz <poenitz@gmx.net>
3195 * text_funcs.[Ch]: merge with ...
3203 * Makefile.am: remove text_funcs.[Ch]
3205 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3207 * cursor.C (getPos): return absolute cached y coord
3209 * BufferView_pimpl.C (fitCursor): new simplistic code
3210 (workAreaDispatch): add a fitCursor call
3212 2003-11-10 André Pönitz <poenitz@gmx.net>
3215 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3217 2003-11-10 André Pönitz <poenitz@gmx.net>
3219 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3220 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3221 indicate that the cursor needs to leave an inset
3223 * lyxtext.h: remove inset locking
3225 * cursor.[Ch]: re-implement functionality provided by inset locking
3228 * BufferView_pimpl.[Ch]:
3230 * bufferview_funcs.[Ch]:
3242 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3244 * PosIterator.[Ch]: replace the stack with a vector, add inset
3246 * iterators.[C]: adjust
3248 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3250 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3252 * paragraph_funcs.C (readParToken): put the correct id in the
3253 error item, not the id of the top paragraph
3255 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3257 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3258 * bufferview_funcs.C (put_selection_at): use the above
3260 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3262 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3264 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3266 * output_linuxdoc.h:
3267 * output_plaintext.h:
3269 * output_docbook.h: add #include statements
3271 2003-11-05 José Matos <jamatos@lyx.org>
3273 * output_docbook.[Ch]:
3274 * output_latex.[Ch]:
3275 * output_linuxdoc.[Ch]:
3276 * output_plaintext.[Ch]: New files for output formats.
3277 * output.[Ch]: New file for helper functions.
3280 * paragraph_funcs.[Ch]: output functions moved to new files.
3282 * outputparams.h: rename of latexrunparams.h
3290 * paragraph_funcs.[Ch]:
3291 * paragraph_pimpl.[Ch]:
3292 * tabular.[Ch]: rename ascii to plaintext
3293 and LatexRunParams to OutputParams.
3295 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3297 * iterators.[Ch] (text): require bv argument
3298 * undo.C (recordUndo):
3299 * lyxfunc.C (dispatch):
3300 * bufferview_funcs.C (put_selection_at): adjust
3302 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3304 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3306 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3308 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3311 2003-11-04 André Pönitz <poenitz@gmx.net>
3313 * cursor.[Ch]: restructure
3316 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3318 * iterators.[Ch] (asCursor): remove
3320 * lfuns.h: remove LFUN_INSET_EDIT
3326 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3328 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3330 * lyxfind.[Ch]: complete overhaul
3331 * BufferView_pimpl.C:
3333 * paragraph.[Ch] (insert): add
3335 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3339 * text.C: remove dead spellcheck code
3341 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * dispatchresult.h: add a val setter
3345 * cursor.C (dispatch): use a tempvar for data_[i]
3347 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3349 * PosIterator.[Ch]: compile fix
3351 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3353 * text.C (cursorPar): deactivate the cursor cache
3355 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3357 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3359 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * text3.C (dispatch): adjust for new DisptchResult semantics.
3363 * lyxfunc.C (dispatch): handle update when return from
3364 Cursor::dispatch, adjust for new DispatchResult semantics.
3366 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3367 DispatchResult(true) mean to not update. Add class functions for
3368 setting dispatched and update, as well as reading.
3370 * cursor.C (dispatch): don't handle update here
3372 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3374 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3375 * trans_mgr.C: adjust
3377 * paragraph_funcs.C (readParToken): exception safety
3379 * lyxvc.h: store the vcs pointer in a scoped_ptr
3382 * lyxsocket.C (serverCallback): exception safety
3384 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3386 * ispell.C (clone): make it return a auto_ptr
3388 * factory.C (createInset): exception safety
3389 (readInset): exception safety
3391 * bufferlist.C (newBuffer): exception safety
3393 * Thesaurus.C (Thesaurus): use initialization for aik_
3395 * MenuBackend.C (expandToc): exception safety.
3397 2003-11-03 André Pönitz <poenitz@gmx.net>
3401 * bufferview_funcs.C: remove getInsetFromId()
3404 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3410 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3412 * PosIterator.C (distance, advance): new
3413 * bufferview_funcs.[Ch] (put_selection_at): new
3414 * iterators.[Ch] (lockPath): new
3416 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3418 * iterators.[Ch] (asPosIterator): added
3419 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3420 * PosIterator.[Ch]: added
3422 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * cursor.C (dispatch):
3427 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3429 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3430 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3431 contructor, add a class function dispatched. Remove operator>=
3433 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * debug.C: only use the default constructor for debugstream
3438 * main.C (main): include debug.h and setup the lyxerr streambuf
3441 2003-10-31 José Matos <jamatos@lyx.org>
3443 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3445 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3446 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3447 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3448 * paragraph_pimpl.C (simpleTeXSpecialC):
3449 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3450 add LatexRunParams argument.
3452 * exporter.C (Export): change call accordingly.
3454 * latexrunparams.h: add new member to take care of the other backends.
3455 2003-10-30 José Matos <jamatos@lyx.org>
3457 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3458 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3459 factorise code for paragraph output.
3461 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * text3.C (dispatch):
3467 * lyxfunc.C (dispatch):
3468 * cursor.C (dispatch):
3469 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3471 * dispatchresult.h: make the dispatch_result_t ctor explicit
3473 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3476 * buffer.C: small refactoring of docbook stuff
3478 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3483 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3485 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3486 operator dispatch_result_t, and operators for == != and >=
3488 * cursor.C (dispatch): adjust for operator dispatch_result_t
3489 removal. comment out call to update
3491 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3493 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3504 * dispatchresult.h: new file, DispatchResult broken out of
3507 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3509 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3511 * text.C (rowBreakPoint): put a hack inside #if 0
3513 2003-10-28 André Pönitz <poenitz@gmx.net>
3517 * paragraph_funcs.C:
3520 * text2.C: general cleanup (lots of small stuff)
3522 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3524 * text2.C (cursorEnd): simple fix to the "end key goes to one
3525 before the end on last row" bug
3527 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3529 * text.C (backspace): fix the "zombie characters"
3531 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3533 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3535 2003-10-27 André Pönitz <poenitz@gmx.net>
3537 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3539 * factory.C: handle new InsetPagebreak, InsetLine
3541 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3542 and move handling into new InsetPagebreak, InsetLine
3544 * BufferView_pimpl.C:
3546 * ParagraphParameters.C:
3547 * ParameterStruct.h:
3552 * paragraph_funcs.C:
3553 * paragraph_pimpl.C:
3559 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3562 * lyxrow_funcs.[Ch]:
3568 * text3.C: remove lastPos uses in favour of Row::endpos
3570 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3572 * undo.C (performUndoOrRedo): fix two crashes by setting a
3573 cursor by hand and reordering some calls. Use bv->lockInset instead
3574 of inset->edit because the latter loses cursor information
3576 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3578 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3580 (rowBreakPoint): fix width. change point to point + 1.
3581 Add a missing check.
3583 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3586 * lyxfunc.C: fix (at least partly) the problems
3587 with the Nav menu and headers inside branch insets
3590 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3592 * paragraph.C (getChar): add strong asserts
3594 * lyxrow_funcs.C (lastPos): remove hideous hack
3596 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3597 (fill): adjust to that (avoid an infinite loop)
3599 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3601 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3603 2003-10-23 André Pönitz <poenitz@gmx.net>
3605 * RowList_fwd.h: change list<> to vector<> to gain speed
3606 after suggestion from Alfredo
3608 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3610 * lyxtext.h: move the bidi stuff from here...
3613 * Bidi.[Ch]: ... to here
3615 2003-10-23 André Pönitz <poenitz@gmx.net>
3618 * text.C (isLastRow, isFirstRow): new functions
3620 * paragraph.h: new width cache member
3622 * rowpainter.C: replace RowList::iterator with Row & where possible
3624 * lyxfunc.C: replace several view()->text with a single call
3626 * toc.C: fix 'unused' warning
3628 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3631 when woring with stream::pos_type
3632 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3634 2003-10-22 André Pönitz <poenitz@gmx.net>
3637 * text.C: use Row & instead of RowList::iterator
3639 * lyxrow.h: rename end() to endpos()
3645 2003-10-22 Angus Leeming <leeming@lyx.org>
3647 * buffer.[Ch] (fully_loaded): new member function, returning true
3648 only when the file has been loaded fully.
3649 Used to prevent the premature generation of previews and by the
3650 citation inset to prevent computation of the natbib-style label.
3652 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3653 templates are all set up.
3655 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3657 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3659 * text.C: fixed an "oops" in the "is a bit silly"
3662 2003-10-21 André Pönitz <poenitz@gmx.net>
3664 * FuncStatus.[Ch]: small stuff, whitespace
3666 * lyxfont.[Ch]: operator<<() for debug reasons
3670 * lyxtext.h: whitespace, spelling
3672 * paragraph.C: naming of variables
3675 * text2.C: small stuff
3678 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3680 * text.C: (1) finish off the inset display() work;
3681 (2) fix the "is a bit silly" bug (accessing char
3684 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3686 * text.C: re-introduce display() for insets, fixing the
3687 various bugs (stretch of line above, math inset
3690 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3692 * text.C (rightMargin): remove spurious semicolon
3694 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3697 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3699 * text3.C: fix one crash due to wrong cursor def
3701 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * vc-backend.C (scanMaster): make the regex static
3705 * LaTeX.C (scanAuxFile): make the regexs static
3707 * text3.C (doInsertInset, dispatch, dispatch):
3708 * text2.C (cursorUp, cursorDown):
3709 * text.C (selectNextWordToSpellcheck):
3710 * BufferView_pimpl.C (dispatch):
3711 * lyxfunc.C (dispatch): localDispatch -> dispatch
3713 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3715 * lyxsocket.C: include <cerrno>
3717 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * lyxfunc.C (dispatch): remove textcache stuff
3721 * bufferlist.C (release): remove textcache stuff
3724 * TextCache.C: delete file
3725 * TextCache.h: delete file
3727 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3729 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3730 delete of the bv_->text.
3731 (resizeCurrentBuffer): remove texcache stuff
3732 (workAreaResize): ditto
3734 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3739 2003-10-16 André Pönitz <poenitz@gmx.net>
3746 * text3.C: speed up by storing y positions per paragraph plus per-row
3747 offset instead of having a 'full' y position in the row.
3749 2003-10-15 André Pönitz <poenitz@gmx.net>
3753 * undo.[Ch]: make undo aware of inner insets
3755 2003-10-14 Angus Leeming <leeming@lyx.org>
3757 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3758 static member functions LyX::ref() and LyX::cref.
3759 (lastfiles): new accessor functions for the new lastfiles_ member var.
3760 (addLyXView, views_): add a new LyXView to the list of views_.
3761 (updateInset): loop over all LyXViews to call their own updateInset
3762 member function, returning a pointer to the Buffer owning the inset.
3764 * BufferView_pimpl.C (loadLyXFile):
3765 * MenuBackend.C (expandLastfiles):
3766 * bufferlist.C (MenuWrite, QuitLyX):
3767 lastfiles is no longer a global variable.
3768 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3770 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3771 static function. Access through LyX::cref().emergencyCleanup().
3773 2003-10-14 André Pönitz <poenitz@gmx.net>
3775 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3777 * undo.[Ch]: restoring part of 'undo in insets'
3780 * undo_funcs.[Ch]: merge with undo.[Ch]
3782 * tabular.C: small cleansing stuff
3784 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3786 * paragraph_funcs.C (readParToken): report unknown insets as error
3787 boxes. Use the outer paragraph as location (also for unknown
3790 * factory.C (readInset): do not abort on reading an unknown inset.
3791 Eat it and return 0.
3793 2003-10-13 Angus Leeming <leeming@lyx.org>
3795 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3797 * lyxrc.C: displayTranslator is now a function,
3798 declared in GraphicsTypes.h.
3800 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3802 * format.C: new placeholder $$a to pass the socket address.
3804 * bufferlist.[Ch]: new function getBufferFromTmp.
3806 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3807 files in the temporary dir.
3809 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3811 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3813 * Makefile.am: add lyxsocket.[Ch].
3815 * lyx_main.C (error_handler): handle SIGPIPE.
3817 2003-10-13 André Pönitz <poenitz@gmx.net>
3819 * BufferView_pimpl.C:
3824 * undo_funcs.[Ch]: use paroffset_type instead of
3825 ParagraphList::iterators to prevent multiple conversion
3826 (and get a more robust interface)
3828 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3832 * text3.C (dispatch): ditto
3834 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3837 move the onlyfile, use onlyfile instead of foundfile in a couple
3840 * DepTable.C (update): flush the error stream a bit more
3842 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * lyxserver.C (callback): adjust
3846 * lyxfunc.C (getStatus): add a missing brace in commented code
3847 (ensureBufferClean): reindent
3848 (dispatch): delete version taking a string
3850 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * LaTeX.C (deplog): move found file handlig from here...
3853 (handleFoundFile): .. to new function here.
3854 (deplog): make sure to discover several files mentioned on the
3857 2003-10-10 André Pönitz <poenitz@gmx.net>
3864 * text3.C: fix some of the tabular crashes
3866 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3868 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3870 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3872 2003-10-09 André Pönitz <poenitz@gmx.net>
3874 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3877 * BufferView_pimpl.C:
3878 * bufferview_funcs.C:
3889 * undo_funcs.C: adjust
3891 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * text2.C (incrementItemDepth): new function, use a backtracking
3894 algorithm to discover the correct item depth.
3895 (resetEnumCounterIfNeeded): new function, use a backtracking
3896 algorithm to discover if counter reset is needed.
3897 (setCounter): use them. Simplify a bit. Add different labels for
3898 different item depths for itemize.
3900 * paragraph.C (Paragraph): remove initialization of enumdepth
3903 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3904 enumerate and itemize. Change the type of itemdepth to signed char.
3906 2003-10-08 André Pönitz <poenitz@gmx.net>
3908 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3913 * tabular.[Ch]: fix crash after 'row-insert'
3915 2003-10-08 Angus Leeming <leeming@lyx.org>
3917 Fix doxygen warnings.
3919 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3920 Remove CutAndPaste:: prefix from header file declaration.
3922 * LColor.h (fill): remove LColor:: prefix from declaration.
3924 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3925 use lyx::depth_type rather than Paragraph::depth_type so that
3926 header file and .C file match.
3928 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3930 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3931 * aspell.C: \file aspell_local.C -> \file aspell.C
3932 * gettext.C: \file gettext.C -> \file src/gettext.C
3933 * gettext.h: \file gettext.h -> \file src/gettext.h
3934 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3935 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3936 * text.C: \file text.C -> \file src/text.C
3938 * toc.C: move comment so that doxygen is not confused.
3940 2003-10-07 Angus Leeming <leeming@lyx.org>
3942 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3944 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3947 * aspell_local.h: add forgotten std::string's.
3949 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3956 * text3.C: The Box patch. Fancybox support, minipage, parbox
3958 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3964 * ParagraphParameters.h:
3974 * lyxtextclasslist.h:
3977 * paragraph_pimpl.C:
3978 * textcursor.h: add <string> and other small fixes to make Lars'
3979 std::string patch compile with STLport.
3981 2003-10-06 Angus Leeming <leeming@lyx.org>
3983 * LColor.h: Add missing #include <string>.
3985 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * All most all file in all subdirs: Make <string> be the prefered
3988 way of getting to std::string, add using declarations.
3990 2003-10-06 André Pönitz <poenitz@gmx.net>
3992 * metricsinfo.C: initialize LyXFont before changing attribute.
3993 (fixes the 'math in \emph is upright' bug)
3995 2003-10-06 André Pönitz <poenitz@gmx.net>
3997 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3999 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4002 * paragraph_pimpl.C: Small fixes to build using STLport
4004 2003-10-02 André Pönitz <poenitz@gmx.net>
4007 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4009 2003-10-01 André Pönitz <poenitz@gmx.net>
4011 * factory.C: assert early
4013 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * lyx_main.C: remove the global debug object
4017 * debug.h: adjust for new debugstream
4019 * debug.C: adjust for new debugstream and keep the global debug
4022 2003-09-22 Angus Leeming <leeming@lyx.org>
4024 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4025 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4026 an incomplete class LyXFont.
4028 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4030 * factory.C: bug fix in branches
4032 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * lyxfunc.C (processKeySym): adjust
4036 (dispatch): change arg name from ev to func, adjust
4037 (sendDispatchMessage): ditto
4039 * lyx_main.C (defaultKeyBindings): adjust keybindings
4040 (deadKeyBindings): ditto
4042 * kbsequence.C (addkey): return a FuncRequest
4044 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4046 * kbmap.C (bind): take a FuncRequest as arg, adjust
4049 (defkey): change to take a FuncRequest as arg, adjust
4050 (findbinding): take a FuncRequest as arg, adjust.
4052 * funcrequest.h (operator=): added
4054 * funcrequest.C (FuncRequest): default kb_action changed from
4055 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4057 * buffer.C (dispatch): simplify
4058 (dispatch): adjust to take a FuncRequest as arg, adjust
4060 * boost.C (assertion_failed): change assertion message slightly
4062 * ToolbarBackend.C (read): simplify
4064 * MenuBackend.C (binding): adjust call to findbinding, add a
4065 message if no binding is found.
4067 (expandToc): correct by adding a empty FuncRequest
4069 * LyXAction.C: include <boost/assert.hpp>
4070 (isPseudoAction): delete function
4071 (LookupFunc): change name to...
4072 (lookupFunc): this. change return type to FuncRequest.
4073 (getActionName): take kb_action as arg, simplify
4074 (funcHasFlag): add an assert, simplify.
4076 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * toc.C (action): return a FuncRequest, simplify
4080 * lyxfunc.C (processKeySym): adjust
4081 (getStatus): delete version that takes an int.
4083 (dispatch): delete version that takes action as int
4085 (sendDispatchMessage): simplify and adjust
4087 * funcrequest.C (getArg): take unsigned int as arg
4089 * ToolbarBackend.C (read): adjust
4090 (add): delete version that takes func as a string.
4091 (getIton): take a FuncRequest as arg
4093 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4096 * MenuBackend.C (MenuItem): add a new construct that only takes a
4097 Kind, simplify the constructor use for submenus.
4099 (expandLastfiles): adjust
4100 (expandDocuments): adjust
4101 (expandFormats): adjust
4102 (expandFloatListInsert): adjust
4103 (expandFloatInsert): adjust
4104 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4106 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4107 Remove class variables lyx_pseudo_map and lyx_arg_map
4109 * LyXAction.C (searchActionArg): delete function
4110 (getPseudoAction): delete function
4111 (retrieveActionArg): delete function
4112 (LookupFunc): make it return kb_action, simplify.
4113 (getActionName): simplify
4115 * factory.C (createInset): fix new bug
4117 2003-09-19 Angus Leeming <leeming@lyx.org>
4119 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4120 masterFilename_ parameter in the include inset.
4122 * factory.C (createInset): changes due to the changes to InsetInclude.
4124 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4126 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4128 2003-09-18 Angus Leeming <leeming@lyx.org>
4131 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4132 Inset::fillWithBibKeys.
4133 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4135 2003-09-18 Angus Leeming <leeming@lyx.org>
4137 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4139 (ctor): pass and store a 'Buffer const &'
4140 (buffer): new member function.
4142 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4143 '*this' to the LaTeXFeatures ctor.
4145 2003-09-18 Angus Leeming <leeming@lyx.org>
4151 * text.C: rename EnumLColor as LColor_color.
4153 2003-09-18 Angus Leeming <leeming@lyx.org>
4155 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4156 remove #include "insets/insetbase.h" from cursor.h.
4158 2003-09-18 Angus Leeming <leeming@lyx.org>
4160 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4161 InsetOld_code to remove #include "inset.h".
4163 * iterators.C: add #include "insets/inset.h"
4165 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4167 * BufferView.C: remove more locking stuff that apparently doesn't
4168 do anything sensible.
4170 2003-09-16 André Pönitz <poenitz@gmx.net>
4173 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4176 2003-09-16 Angus Leeming <leeming@lyx.org>
4178 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4180 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4183 * paragraph.h: remove #include "lyxfont.h". Forward declare
4186 2003-09-16 Angus Leeming <leeming@lyx.org>
4188 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4189 of support/textutils.h.
4190 (isWord): move the contents of support/textutils.h's IsWordChar here.
4196 * text2.C: add #include "paragraph.h".
4199 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4201 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * LaTeX.C: use namespace alias for lyx::support::os
4209 2003-09-16 Angus Leeming <leeming@lyx.org>
4212 * bufferview_funcs.C:
4215 * paragraph_pimpl.C:
4217 * text.C: add #include "LColor.h".
4219 2003-09-16 Angus Leeming <leeming@lyx.org>
4221 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4222 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4224 Store the FontBits::color variable as an int rather than as an
4225 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4228 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4229 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4230 string calls together.
4232 * lyxrc.C: add #include "LColor.h".
4234 2003-09-15 Angus Leeming <leeming@lyx.org>
4236 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4239 2003-09-15 Angus Leeming <leeming@lyx.org>
4241 * LColor.h: add an EnumLColor wrapper for LColor::color.
4243 * lyxfont.[Ch] (color, setColor, realColor):
4244 * lyxtext.h, text.C (backgroundColor):
4245 pass EnumLColor args to/from the functions, rather than LColor::color
4249 * lyxtext.h: forward declare EnumLColor.
4251 * lyx_main.C: add #include "LColor.h".
4253 2003-09-15 Angus Leeming <leeming@lyx.org>
4255 * .cvsignore: add lyx-gtk.
4257 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * ParagraphParameters.C
4266 * bufferview_funcs.C
4276 * vc-backend.C: remove usage of STRCONV
4278 2003-09-15 Angus Leeming <leeming@lyx.org>
4280 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4281 explicitly define the color passed to the painter.
4283 2003-09-15 Angus Leeming <leeming@lyx.org>
4285 * bufferparams.C (BufferParams): reorder member initializers to avoid
4288 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4290 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4291 * text.C (updateRowPositions): remove an unusual nop
4293 2003-09-12 André Pönitz <poenitz@gmx.net>
4295 * BufferView_pimpl.C:
4304 * Counters.[Ch]: finish the 'automatic counters' job
4306 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4308 * aspell.C: include <boost/assert.cpp> (compile fix)
4310 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4312 * boost.C (assertion_failed): use lyx::support::abort instead of
4315 2003-09-10 Angus Leeming <leeming@lyx.org>
4317 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4318 with their _fwd progeny.
4320 2003-09-09 Angus Leeming <leeming@lyx.org>
4322 134 files throughtout the source tree: replace 'using namespace abc;'
4323 directives with the appropriate 'using abc::xyz;' declarations.
4325 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4327 * boost.C (emergencyCleanup): moved here from LAssert.c
4328 (assertion_failed): new function, called by BOOST_ASSERT
4330 * several files: change Assert to BOOST_ASSERT
4332 2003-09-09 Angus Leeming <leeming@lyx.org>
4334 * buffer.[Ch]: Add an Impl class and move Buffer's member
4335 variables into it. As a result move several header files out of
4338 Add header files to lots of .C files all over the tree as a result.
4340 2003-09-09 Angus Leeming <leeming@lyx.org>
4342 * buffer.[Ch]: make Buffer's member variables private. Add
4345 Lots of changes all over the tree as a result.
4347 2003-09-08 Angus Leeming <leeming@lyx.org>
4349 * graph.C: #include <config.h>.
4351 2003-09-08 Angus Leeming <leeming@lyx.org>
4355 * BufferView_pimpl.C:
4384 * toc.C: remove redundant using directives.
4386 2003-09-07 Angus Leeming <leeming@lyx.org>
4388 * LaTeXFeatures.h: remove #include "support/types.h".
4389 * ToolbarBackend.h: remove #include <algorithm>.
4390 * changes.h: remove #include <ctime>.
4391 * debug.h: remove #include <iosfwd>.
4392 * graph.h: remove #include "support/std_string.h".
4393 * lyx_main.h: remove #include <csignal>.
4394 * lyxlex_pimpl.h: remove #include <fstream>.
4395 * sgml.h: remove #include <algorithm>, <utility>.
4396 * toc.h: remove #include "support/std_ostream.h".
4397 Add #include <iosfwd>.
4399 2003-09-07 Angus Leeming <leeming@lyx.org>
4401 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4403 * converter.h: forward declare LatexRunParams.
4404 * encoding.h: remove #include "lyxrc.h".
4405 * lyxtext.h: remove #include "LColor.h".
4406 * lyxtextclass.h: remove #include "support/types.h".
4407 * trans.h: remove #include "tex-accent.h".
4408 * trans_mgr.h: remove #include "tex-accent.h".
4409 * insets/inset.h: remove #include "support/types.h", <vector>.
4410 * insets/insetcollapsable.h: remove #include "LColor.h".
4411 * insets/insetinclude.h: remove #include "dimension.h".
4412 * insets/insetlatexaccent.h: remove #include "dimension.h".
4413 * insets/insetoptarg.h:: remove #include "insettext.h".
4414 * insets/insettext.h: remove #include "dimension.h",
4415 <boost/shared_ptr.hpp>
4417 * insets/renderers.h: add #include "dimension.h".
4418 * insets/updatableinset.h: add #include "support/types.h".
4420 * many .C files: Associated changes.
4422 2003-09-06 Angus Leeming <leeming@lyx.org>
4424 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4425 one, inside testInvariant.
4427 * PrinterParams.C: new file.
4428 * PrinterParams.[Ch]: move the function bodies out of line.
4430 2003-09-06 Angus Leeming <leeming@lyx.org>
4432 * ParagraphParameters.h: forward declare ParameterStruct rather than
4433 including its header file.
4434 (depth): moved out-of-line.
4436 2003-09-06 Angus Leeming <leeming@lyx.org>
4438 * BufferView_pimpl.h:
4441 * lyxfunc.h: forward declare LyXKeySym rather than
4442 #include "frontends/LyXKeySym.h".
4444 * BufferView_pimpl.C:
4447 * lyxfunc.C: associated changes.
4449 2003-09-06 Angus Leeming <leeming@lyx.org>
4451 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4452 As a result, can remove the #include "insets/inset.h" from BufferView.h
4454 2003-09-06 Angus Leeming <leeming@lyx.org>
4456 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4457 As a result, can remove the #include "insets/inset.h" from BufferView.h
4459 2003-09-06 Angus Leeming <leeming@lyx.org>
4465 * bufferview_funcs.C:
4466 * BufferView_pimpl.C:
4471 * ParagraphParameters.C:
4476 * frontends/controllers/ControlDocument.C:
4477 * insets/insetcaption.C: rearrange the #includes into some sort of
4480 * buffer.h: remove #includes ErrorList.h, undo.h
4482 2003-09-06 Angus Leeming <leeming@lyx.org>
4484 * support/types.h: add a 'depth_type' typedef, used to store the
4485 nesting depth of a paragraph.
4488 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4489 defining explicitly.
4492 * paragraph_funcs.h:
4493 * ParagraphParameters.h:
4494 * sgml.h: use lyx::depth_type rather than Paragraph or
4495 ParameterStruct's depth_type.
4498 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4501 * BufferView_pimpl.C:
4503 * ParagraphParameters.C:
4506 * bufferview_funcs.C:
4513 * frontends/LyXView.C:
4514 * frontends/controllers/ControlDocument.C:
4515 * frontends/controllers/ControlErrorList.C:
4516 * insets/insetbibitem.C:
4517 * insets/insetbranch.C:
4518 * insets/insetcaption.C:
4519 * insets/insetcollapsable.C:
4520 * insets/insetenv.C:
4521 * insets/insetert.C:
4522 * insets/insetfloat.C:
4523 * insets/insetfoot.C:
4524 * insets/insetfootlike.C:
4525 * insets/insetnewline.C:
4526 * insets/insetquotes.C:
4527 * insets/insettabular.C:
4528 * insets/insettext.C:
4529 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4531 * frontends/controllers/ControlChanges.C: #include "changes.h".
4533 2003-09-06 Angus Leeming <leeming@lyx.org>
4535 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4536 than #including paragraph.h.
4539 * RowList.h: deleted. Superfluous.
4549 * insets/insettext.h: use ParagraphList_fwd.h rather than
4552 * paragraph.h: don't forward declare ParagraphList.
4555 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4556 rather than ParagraphList.h. paragraph.h is still needed for the
4557 Paragraph::depth_type parameters.
4559 * textcursor.h: enable it to compile stand-alone in light of the
4562 * bufferview_funcs.C:
4574 * frontends/controllers/ControlParagraph.C:
4575 * frontends/controllers/ControlTabular.C:
4576 * insets/insetmarginal.C:
4577 * insets/insetminipage.C:
4578 * insets/insetnote.C:
4579 * insets/insetoptarg.C: add header files needed to compile again.
4581 2003-09-06 Angus Leeming <leeming@lyx.org>
4583 * RowList_fwd.h: new file, forward-declaring Row rather than
4584 #including lyxrow.h.
4589 * insets/insettext.h: use it instead of RowList.h
4591 * bufferview_funcs.C:
4598 * text3.C: #include "RowList.h".
4600 2003-09-05 Angus Leeming <leeming@lyx.org>
4602 * factory.C (createInset):
4603 * vspace.C (c-tor): replace sscanf call with an istringstream.
4604 * ispell.C: re-add missing HP/UX headers.
4605 * lyxserver.C: re-add missing os2 headers.
4607 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4616 * text3.C: re-add missing system headers, needed for 2.95.2.
4618 2003-09-05 Angus Leeming <leeming@lyx.org>
4620 Changes most place everywhere due to the removal of using directives
4621 from support/std_sstream.h.
4623 2003-09-05 Angus Leeming <leeming@lyx.org>
4625 Replace LString.h with support/std_string.h,
4626 Lsstream.h with support/std_sstream.h,
4627 support/LIstream.h with support/std_istream.h,
4628 support/LOstream.h with support/std_ostream.h.
4630 Changes resulting throughout the tree.
4632 2003-09-05 Angus Leeming <leeming@lyx.org>
4634 * sgml.h: ensure that the header file can be compiled stand-alone.
4635 * *.C: strip out redundant #includes. (320 in total.)
4637 2003-09-04 Angus Leeming <leeming@lyx.org>
4639 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4640 here (from getPackages).
4642 * debug.[Ch]: add a new EXTERNAL tag.
4644 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4646 * text2.C (cursorEnd): simplify
4648 (getColumnNearX): adjust
4650 * text.C (computeBidiTables): adjust
4653 * rowpainter.C (paintChars): adjust
4654 (paintSelection): adjust
4655 (paintChangeBar): adjust
4658 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4660 (numberOfSeparators): adjust
4662 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4668 * text3.C: Restricts the mouse click functionality
4669 of insets like bibtex, include, toc and floatlist to the visible
4670 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4671 up the dialogs. Cursor has to be in front of the inset (i.e.
4672 start of row) for this to function.
4674 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4676 * bufferview_funcs.C (currentState): output row information
4678 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4680 * bufferview_funcs.C (currentState): output paragraph position
4682 2003-09-04 Angus Leeming <leeming@lyx.org>
4684 * FloatList.h: move out #include "Floating.h".
4685 * LaTeX.h: move out #include "DepTable.h".
4686 * LyXAction.h: move out #include "funcrequest.h".
4687 * buffer.h: move out #include "author.h", "iterators.h".
4688 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4689 * lyx_main.h: move out #include "errorlist.h".
4690 * lyxfunc.h: move out #include "FuncStatus.h".
4691 * lyxtext: move out #include "lyxcursor.h".
4692 * paragraph_pimpl.h: move out #include "counters.h".
4694 2003-09-03 Angus Leeming <leeming@lyx.org>
4696 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4697 preamble_snippets list, enabling us to add snippets to the preamble
4698 only if the snippet was not there already.
4700 2003-09-04 Angus Leeming <leeming@lyx.org>
4702 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4704 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4709 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4711 * BranchList.C: point fix, earlier forgotten
4713 2003-09-02 Angus Leeming <leeming@lyx.org>
4715 * box.C (contains): renamed from 'contained' after a fantastic
4718 2003-09-02 John Levon <levon@movementarian.org>
4724 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4726 2003-09-02 John Levon <levon@movementarian.org>
4728 * text2.C: simplification of cursorEnd(), including partial
4731 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * buffer.C (readFile): add a space
4735 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4737 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4739 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4741 * buffer.C (readFile): new function, take a filename and a
4742 ParagraphList::iterator
4744 (readFile): adjust, make it private. don't use setStream, make
4745 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4746 always contain the filename.
4748 * BufferView.C (insertLyXFile): simplify and make it work for
4751 2003-08-30 John Levon <levon@movementarian.org>
4753 * Makefile.am: fix dist (from Kayvan)
4755 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * most files: change to use const Buffer refs
4759 2003-08-27 André Pönitz <poenitz@gmx.net>
4761 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4762 on top of ownerPar().
4764 2003-08-27 John Levon <levon@movementarian.org>
4766 * funcrequest.C: properly initialise POD members
4768 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4770 * lyxtext.h (top_y): move top_y from here
4775 * BufferView_pimpl.[Ch]: to here
4776 * frontends/screen.C:
4777 * insets/insettabular.C:
4778 * insets/insettext.C: adjust
4779 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4781 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4784 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4786 2003-08-26 André Pönitz <poenitz@gmx.net>
4788 * paragraph_func.[Ch] (outerPar): new function
4791 * paragraph_funcs.C:
4792 * paragraph_funcs.h:
4793 * paragraph_pimpl.C:
4794 * text2.C: remove Inset::par_owner
4796 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4801 * text2.C: eliminates the needFullRow/display() stuff
4802 altogether, putting the logic in metrics/draw in the insets.
4804 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4806 * text2.C (redoParagraphInternal, redoParagraphs):
4807 * text.C (redoParagraph): add a call to updateRowPositions at the
4808 end of each 'metrics-like' call. Remove all others.
4809 (getRow): remove the 'y-computing' version.
4810 (getRowNearY): do not compute nor return the real y. Solve the
4811 'y < 0' problem and simplify.
4813 2003-08-22 Angus Leeming <leeming@lyx.org>
4815 * *.[Ch]: clean-up of licence and author blurbs.
4816 Also move config.h out of a few .h files and into a few .C files.
4818 2003-08-22 André Pönitz <poenitz@gmx.net>
4820 * lyxrow.[Ch]: add x_ and *fill_ members
4825 * text2.C: adjust/remove prepareToPrint() calls
4827 2003-08-22 André Pönitz <poenitz@gmx.net>
4829 * lyxrow.[Ch]: add end_ member
4831 * lyxrow_funcs.C: use LyXRow::end_
4833 * lyxtext.h (singleWidth): add LyXFont parameter
4836 * text2.C: adjust LyXText::singleWidth() calls
4838 * text.C (redoParagraph): simplify row breaking logic
4841 2003-08-19 André Pönitz <poenitz@gmx.net>
4843 * funcrequest.C: initialize button_ member
4846 * rowpainter.[Ch]: interface consolidation
4848 2003-08-18 André Pönitz <poenitz@gmx.net>
4851 * BufferView_pimpl.C:
4853 * paragraph_funcs.C:
4855 * text3.C: remove LyXScreen::draw() and fitCursor calls
4857 * BranchList.h: remove spurious semicolons
4859 * MenuBackend.C: fix branchlist related crash
4861 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4869 * bufferparams.[Ch]:
4873 * text3.C: implements the 'branch inset'
4874 idea. This allows the output of various versions of a document
4875 from a single source version, selectively outputing or suppressing
4876 output of parts of the text.
4877 This implementation contains a 'branch list editor' in a separate
4878 tab of the document settings dialog. Branches are user definable
4879 and have a "display colour" to distinguish them on-screen.
4881 ColorHandler was somewhat cleaned up.
4882 (1) make possible a dynamically growing LColor list by allowing
4883 the graphic context cache to grow along (vector);
4884 (2) eliminate an IMHO unnecessary step in colour allocation.
4886 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4888 * BufferView_pimpl.C: compile fix
4890 2003-08-15 André Pönitz <poenitz@gmx.net>
4892 * rowpainter.C: remove extra metrics calls
4894 * lyxtext.h: merge the two constructors into a single one,
4895 pass reference to owner's par list
4897 * BufferView_pimpl.C:
4901 2003-08-15 André Pönitz <poenitz@gmx.net>
4903 * lyxrow_funcs.[Ch]:
4906 * paragraph_funcs.C:
4911 * text_funcs.C: split LyXText::rowlist_ into individual
4912 Paragraph::rows_ chunks
4915 * BufferView_pimpl.[Ch]:
4918 * text3.C: remove toggleSelection()
4920 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4922 * bufferlist.C: beautify two alerts (shorter text of buttons)
4923 * buffer.C: Remove redundant ' ' from message
4925 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4926 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4927 rename VALIGN_CENTER to VALIGN_MIDDLE
4929 2003-08-11 André Pönitz <poenitz@gmx.net>
4931 * lyxtext.h (getPar):
4932 * text.C: new function
4934 2003-08-11 André Pönitz <poenitz@gmx.net>
4937 * tracer.[Ch]: remove unneeded files
4939 * InsetList.[Ch]: remove resizeInsetsLyXText()
4944 * text3.C: merge insertParagraphs() and appendParagraph()
4945 remove breakAgain(), update()
4947 * BufferView_pimpl.[Ch]:
4948 * bufferview_funcs.[Ch]:
4952 * tabular.C: adjust after text & InsetList changes.
4954 2003-08-08 André Pönitz <poenitz@gmx.net>
4956 * text.C (insertChar, backspace): replace rowlist fiddling
4957 with rebreak of full par
4960 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4961 checkParagraph, updateInset): removed
4963 2003-08-07 André Pönitz <poenitz@gmx.net>
4966 * text3.C: merge some LFUN handlers, remove dead code
4968 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4970 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4972 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4974 * text2.C (DEPM): fix part of bug 1255 and 1256
4976 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4978 * BufferView_pimpl.C (workAreaDispatch): change to use
4979 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4980 that are no mouse related.
4982 2003-08-05 André Pönitz <poenitz@gmx.net>
4985 * BufferView_pimpl.[Ch]:
4986 * bufferview_funcs.C:
4988 * text3.C: rip out "deep update"
4990 * textcursor.[Ch] (last_sel_cursor): remove unused member
4992 2003-08-04 André Pönitz <poenitz@gmx.net>
4995 * BufferView_pimpl.[Ch]:
4996 * ParagraphParameters.C:
4997 * bufferview_funcs.C:
5003 * text3.C: replace "complicated" BufferView::update(...) calls with
5006 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5008 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5010 * Makefile.am (lyx_SOURCES): add paper.h
5012 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5014 * Makefile.am: move things around so that both lyx-qt and
5015 lyx-xforms can be built (according to --with-frontend). Then lyx
5016 is a symbolic link to lyx-[firstfrontend]
5018 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5020 * Always use std::endl with lyxerr
5022 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5024 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5026 2003-08-01 André Pönitz <poenitz@gmx.net>
5029 * BufferView_pimpl.[Ch]:
5031 * text3.C: merge BufferView::repaint() and BufferView::update()
5033 2003-08-01 José Matos <jamatos@lyx.org>
5035 * buffer.[Ch]: file_format is no longer a buffer data element.
5037 2003-08-01 André Pönitz <poenitz@gmx.net>
5042 * text2.C: make redoParagraph more independent of current cursor
5044 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5046 * text2.C: remove unneeded members
5048 2003-07-30 André Pönitz <poenitz@gmx.net>
5050 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5052 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5053 create a single function...
5055 * paragraph_funcs.C (moveItem): ... here.
5058 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5060 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5062 * LColor.[Ch]: Add comment and greyedout logical colors.
5064 2003-07-30 André Pönitz <poenitz@gmx.net>
5066 * tabular.C: don't use Assert too heavily. This crashes where it
5069 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5071 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5072 is disabled (bug 1232)
5074 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5076 * factory.C: limited 'arg' scope
5078 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5080 * factory.C: fixed Note submenu issues
5082 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5084 * factory.C: submenu for Note/Comment/Greyedout
5086 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5089 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5091 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5094 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5095 greyedout. Patch provided by Jürgen Spitzmüller.
5097 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5099 * kbmap.C (read): fix error message when reading bind files
5101 2003-07-29 Angus Leeming <leeming@lyx.org>
5103 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5104 certainly does not do what it purports to do. I am doing it, and
5105 us, a favour by killing it.
5107 2003-07-28 José Matos <jamatos@lyx.org>
5109 * buffer.C (readBody, do_writeFile):
5110 * paragraph.C(readParagraph): \end_document replaces \the_end.
5112 2003-07-29 André Pönitz <poenitz@gmx.net>
5115 * BufferView_pimpl.[Ch]:
5119 * textcursor.[Ch]: remove toggleToggle & Co
5121 2003-07-28 José Matos <jamatos@fep.up.pt>
5123 * buffer.C (readParagraph):
5124 * params_func (readParToken, readParagraph):
5125 * paragraph.C (write): \layout -> \begin_layout.
5127 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * lyxlex_pimpl.C (setFile): clean up slightly.
5131 * bufferparams.h: add compressed var
5133 * buffer_funcs.C (readFile): adjust for LyXLex change
5134 (newFile): ditto + simplify
5136 * buffer.C (writeFile): handle writing of compressed files
5138 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5139 Check if the file is compressed and set a bufferparm if so.
5141 * Makefile.am (lyx_LDADD): remove explicit -lz
5143 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5145 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5146 makeDocBookFile): put the real LyX version in the first line of
5150 * version.C.in: remove lyx_docversion
5152 * tabular.C (write_attribute): add a template-based version to
5153 write enums properly
5155 2003-07-28 André Pönitz <poenitz@gmx.net>
5160 * text3.C: use doubles again for x-coordinates. They are needed.
5162 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * messages.C (getLocaleDir): use lyx_localedir()
5166 * lyxlex_pimpl.C (setFile): compress stuff
5168 * buffer.C (writeFile): add some compression stuff
5169 (do_writeFile): new func, dont call expliti close... will this
5172 * Makefile.am (lyx_LDADD): add -lz
5174 2003-07-28 José Matos <jamatos@fep.up.pt>
5176 * buffer.C: increment file format.
5177 * paragraph_funcs (readParagraph, readParToken):
5178 * paragraph.C (readParagraph): add \end_layout.
5180 2003-07-27 Angus Leeming <leeming@lyx.org>
5182 * Makefile.am: remove special casing for configure-time setting of
5183 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5185 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5186 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5188 2003-07-26 André Pönitz <poenitz@gmx.net>
5190 * paragraph_func.[Ch]:
5191 * paragraph.C (realizeFont): inline it whereever it is used
5196 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5199 2003-07-26 André Pönitz <poenitz@gmx.net>
5203 * text2.C: get rid of LyXText::need_break_row
5205 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * toc.[Ch]: put namespace toc inside namespace lyx
5209 * MenuBackend.C (expandToc2): adjust for lyx::toc
5212 * lyxfunc.C (dispatch): adjust for lyx::find
5214 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5215 lyx::find instead. Reorganize a bit.
5216 (LyXReplace): rename to replace
5217 (LyXFind): rename to find
5219 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5222 2003-07-26 André Pönitz <poenitz@gmx.net>
5224 * text.C (setHeightOfRow): restrict scope of temporary variable
5226 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5227 code (never has been used?)
5229 2003-07-27 Asger Alstrup <alstrup@local>
5231 * text.C (fill): Optimise algorithm to exploit that we can reuse
5232 the LyXFont for many characters.
5233 (setHeightOfRow): Same thing.
5234 (rowBreakPoint): Same thing.
5236 2003-07-26 Asger Alstrup <alstrup@local>
5238 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5240 * text.C (singleWidth): Spurious font copying in hot-spot
5241 singleWidth avoided. Reorder tests for arabic for efficiency.
5243 * text.C (fill): handle empty paragraphs better.
5245 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5248 * encoding.h: add includes
5250 * lyxrc.C: remove reading of bind files
5252 * lyx_main.C (init): setup bindings and menus only if we have a
5255 * kbmap.C (read): new method. Do the actual reading of bind
5258 * converter.C (dvipdfm_options):
5261 (output): adapt PAPER_* enums.
5263 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5265 * bufferparams.h: remove paper-related enums from there
5267 * paper.h: New file. A trivial header file to hold paper-related
5268 enums. It should later expand to contain many paper-related
5271 * lyxrc.C: declare extern displayTranslator
5273 2003-07-27 José Matos <jamatos@fep.up.pt>
5275 * tabular.[Ch] (linuxdoc): add support for tables and figures
5278 2003-07-27 José Matos <jamatos@fep.up.pt>
5280 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5281 consistency in both functions.
5282 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5284 2003-07-26 Asger Alstrup <alstrup@local>
5286 * rowpainter.C (paintRows): Change algorithm to work directly on
5287 the insets rather than asking every character in the document
5288 whether its an inset.
5290 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5292 * buffer.C (openFileWrite): factorize some code
5294 2003-07-26 Angus Leeming <leeming@lyx.org>
5297 * lyx_main.[Ch]: replace occurances of system_tempdir with
5300 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * rename Inset to InsetOld
5304 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5306 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5307 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5308 which I think is a bit clearer. EDIT is gone, since it was
5309 premature optimisation, and broken for mathed anyway.
5310 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5311 with cursor positioning in insets as well (math insets still do not
5312 work, but that's a different story anyway.) It mysteriously
5313 crashes sometimes with undo in the first paragraph, but I'm fairly
5314 confident that this is a compiler bug.
5316 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * paragraph.C (Paragraph): adjust for new clone return type
5320 (copyIntoMinibuffer): ditto
5322 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5324 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5325 by not having a special case, and always doing a full rebreak of
5326 the document after undo.
5328 2003-07-23 Angus Leeming <leeming@lyx.org>
5330 * factory.C (createInset): InsetExternal::setParams now takes a
5333 2003-07-23 Angus Leeming <leeming@lyx.org>
5335 * factory.C (createInset): changed interface to the external and
5336 graphics mailers' string2params functions.
5338 2003-07-23 Angus Leeming <leeming@lyx.org>
5340 * factory.C (createInset): pass a
5341 Buffer const * parameter to InsetExternalMailer's string2params.
5343 2003-07-22 John Levon <levon@movementarian.org>
5345 * Thesaurus.h: include the right aiksaurus header
5347 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5349 * MenuBackend.C (expand): check menu shortcuts unconditionally
5351 2003-07-21 Angus Leeming <leeming@lyx.org>
5353 * factory.C (createInset): pass a
5354 buffer_path parameter to InsetGraphicsMailer's string2params.
5356 2003-07-21 Angus Leeming <leeming@lyx.org>
5358 * BufferView_pimpl.C (buffer):
5361 * lyxfunc.C (dispatch):
5362 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5363 rather than the grfx shortcut.
5365 2003-07-21 André Pönitz <poenitz@gmx.net>
5367 * rowpainter.C: remove unused variables
5370 * tabular_funcs.h: move to tabular.C
5371 * Makefile.am: adjust
5373 * tabular.[Ch]: basic optical cleaning
5375 * author.h: pass references, not values
5377 2003-07-18 André Pönitz <poenitz@gmx.net>
5385 * text3.C: two-phase drawing for InsetText and InsetTabular
5386 some float -> int changes.
5388 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5390 * lyx_main.C: fix the fix
5392 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5394 * lyx_main.C: fix a crash in batch mode if no files specified
5397 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5399 * format.[Ch] (papersize): moved to BufferParams
5400 * converter.[Ch] (dvips_options): moved to BufferParams
5401 (dvipdfm_options): moved to anon namespace
5402 * bufferparams.[Ch]: added above functions.
5404 2003-07-17 André Pönitz <poenitz@gmx.net>
5408 * text2.C: don't call inset->update() anymore
5410 * metricsinfo.[Ch]: add convenience constructor
5412 2003-07-16 André Pönitz <poenitz@gmx.net>
5417 * text2.C: replace the LyXCursor::irow_ member with
5418 on-demand computation of the value
5420 2003-07-16 John Levon <levon@movementarian.org>
5422 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5424 2003-07-15 André Pönitz <poenitz@gmx.net>
5427 * text2.C: remove no more needed refresh_row
5429 2003-07-15 André Pönitz <poenitz@gmx.net>
5434 * text3.C: refresh_status tristate -> need_update bool
5436 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5438 * lyxtext.h (init): remove reinit argument (act as if always true)
5439 * text2.C: adjust to that
5441 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5443 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5444 * text3.C: use it to delete selections in some cases
5445 (bugs 441, 673, 702, 954).
5447 2003-07-14 André Pönitz <poenitz@gmx.net>
5449 * rowpainter.[Ch]: reduce interface
5451 2003-07-14 André Pönitz <poenitz@gmx.net>
5453 * BufferView_pimpl.C:
5454 * text2.C: adjust after removing unused BufferView * argument
5456 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5458 * text2.C (init): fix a crash fired on resize
5460 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5462 * buffer.[Ch]: added new closing signal
5463 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5464 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5465 BufferView::Pimpl via the closing the signal
5467 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5469 * buffer.[Ch]: take out all bv-related from buffer
5471 * BufferView_pimpl.[Ch]: connect to new signals
5472 * CutAndPaste.C: removed useless asserts
5473 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5476 * lyxfunc.C: moved view-related funciontality from vc here
5477 * paragraph.C: removed outdated comments
5480 2003-07-10 André Pönitz <poenitz@gmx.net>
5482 * BufferView_pimpl.C:
5486 * text2.C: remove InsetText::InnerCache, clean up consequences
5488 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5490 * ispell.C: fix two typos in error messages
5492 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5494 * Extend Note inset to other forms of annotation like Comment
5495 and Greyedout. Right button click gives dialog.
5497 Files modified or added (+):
5501 * ControlNote.[Ch] +
5503 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5504 frontends/controllers
5508 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5510 * aspell.C: add missing namespace lyx::support
5512 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5514 * BufferView.[Ch] (newFile): Add
5515 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5516 * LaTeX.[Ch] (message): added this signal and use it
5517 * buffer.[Ch] (busy, message): added these signals and use them
5518 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5522 * importer.C: use buffer signals instead of direct bv calling
5523 * lyx_cb.[Ch] (ShowMessage): removed
5526 * paragraph_funcs.C:
5527 * text2.C: use buffer signals
5529 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * introduce namespace lyx::graphics
5533 2003-07-02 André Pönitz <poenitz@gmx.net>
5535 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5537 2003-07-01 André Pönitz <poenitz@gmx.net>
5544 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5545 text*.C to text_func.C
5547 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * introduce namespace lyx::support
5551 2003-06-30 André Pönitz <poenitz@gmx.net>
5556 * text.C: re-enable --with-included-string
5558 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * textcursor.C: add <config.h>
5562 * text.C (getWord): remove const from word_location arg
5564 * lyxvc.C (getLogFile): fix const type order
5566 * lyxtext.h: remove const from word_location arg, add arg name
5568 * lyxlayout.h: currect type on labeltype.
5570 * importer.C: correct \file
5572 * converter.C (intToFormat): use std:: on ret val, ws changes
5574 * bufferlist.h: correct \file
5576 * buffer.C (makeLinuxDocFile): fix const type order
5577 (makeDocBookFile): ditto
5578 (fillWithBibKeys): use std:: on stdlib args.
5580 * CutAndPaste.C: fix authors.
5581 (availableSelections): use std:: on return vector
5583 2003-06-27 André Pönitz <poenitz@gmx.net>
5585 * BufferView_pimpl.C:
5586 * bufferview_funcs.C:
5594 * text3.C: remove LyXCursor::row_ member
5597 * text.C: rename fullRebreak() to partialRebreak() and implement
5598 a fullRebreak() that really bereks fully
5600 * textcursor.h: new struct for cursor-related data
5602 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5604 * lyx_main.C (LyX): get full path of document loaded on the
5607 2003-06-26 André Pönitz <poenitz@gmx.net>
5609 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5610 remove unused/broken operator>,<,>=.
5612 * text.C: remove only use of broken operator<= in an Assert().
5614 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5616 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5617 moved errorlist_.clear to showErrorList
5619 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5621 * converter.C (scanLog, runLaTeX):
5622 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5623 move the bv->showErrorList call to the callers
5624 * lyxfunc.C: i.e. here...
5626 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5627 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5628 namespace, the second to...
5629 * buffer_funcs (BufferFormat, parseErrors): added
5630 * errorlist.C (ErrorList(TeXErrors const &)): removed
5632 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5634 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5636 2003-06-24 "Garst R. Reese" <reese@isn.net>
5640 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5642 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5644 * version.C.in: change docversion to 1.4
5646 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5648 * buffer.C: fix a bug just introduced
5650 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5652 * buffer.[Ch]: added the parseError signal and use it, removed
5654 * BufferView.[Ch] (addError): moved to ...
5655 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5656 to the Buffer::parseError signal to catch (guess what) parse errors
5657 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5659 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5661 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5662 ability to create a buffer and to return an existing one from
5663 the list. Moved these functions to...
5664 * buffer_funcs.[Ch]: added
5665 * BufferView.[Ch] (loadLyXFile): added
5666 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5667 job removed from bufferlist::loadLyXFile.
5668 * buffer.C (setReadOnly): make it work without view
5669 (i.e added an if (users))
5671 2003-06-19 Angus Leeming <leeming@lyx.org>
5674 * LyXAction.C (init):
5675 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5676 with LFUN_DIALOG_SHOW <name> <data>.
5678 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5680 * CutAndPaste.C (availableSelections): small compilation fix for
5681 ancient (gcc 2.9x) compilers
5683 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * text3.C (cursorNext): add tmp var
5687 * text2.C (updateCounters): for function calling out of for clause
5688 (replaceSelectionWithString): ditto
5689 (insertStringAsParagraphs): ditto
5690 (getColumnNearX): add tmp var
5691 (setCursorFromCoordinates): add tmp var
5692 (cursorDownParagraph): add tmp var
5693 (deleteEmptyParagraphMechanism): add tmp var
5695 * text.C (insertChar): add tmp var
5697 * rowpainter.C (paintDepthBar): add tmp var
5699 * CutAndPaste.C (availableSelections): potentially check all
5700 paragraphs in a cut to fill the shown strings.
5702 2003-06-18 André Pönitz <poenitz@gmx.net>
5704 * kbmap.[Ch]: use vector<> instead of list<>
5706 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5708 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5709 pasteSelection with index
5711 * text2.C (pasteSelection): modify, call pasteSelection with index
5713 * paragraph.C (asString): reimplement version with no interval to
5714 call the one with interval.
5716 * lyxtext.h: add index arg to pasteSelection
5718 * MenuBackend.C (MenuItem): handle PasteRecent
5719 (Menu::read::Menutags): add md_pasterecent
5721 (expandPasteRecent): new function
5724 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5726 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5728 (availableSelections): new function
5730 2003-06-17 Angus Leeming <leeming@lyx.org>
5732 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5734 2003-06-17 Angus Leeming <leeming@lyx.org>
5737 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5739 * lyxfunc.C (dispatch): invoke it.
5741 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5743 * iterators.C (operator++, ParPosition): reintroduce some
5744 const_cast for the benefit of older compilers.
5746 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5748 * text3.C (dispatch): do not modify clipboard when doing
5749 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5750 LFUN_DELETE_SKIP on a selection selection
5752 2003-06-16 André Pönitz <poenitz@gmx.net>
5758 * tabular.[Ch]: IU of clone() and getLabelList();
5760 2003-06-13 André Pönitz <poenitz@gmx.net>
5762 * tabular.h: compactification
5764 2003-06-12 André Pönitz <poenitz@gmx.net>
5768 * tabular_funcs.h: some renaming plus whitespace
5770 2003-06-12 André Pönitz <poenitz@gmx.net>
5773 * BufferView_pimpl.C:
5779 * toc.C: Return a Paragraph & for ParIterator::operator*()
5781 2003-06-11 John Levon <levon@movementarian.org>
5785 * ToolbarBackend.C: add "Toolbars" section and
5788 2003-06-10 Angus Leeming <leeming@lyx.org>
5791 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5793 * lyxfunc.C (dispatch): invoke it.
5795 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * main.C: protect <ios> with HAVE_IOS
5798 (main): protect sync_with_stdio with HAVE_IOS
5800 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5802 * text2.C (cutSelection): adjust
5803 (pasteSelection): adjust
5805 * messages.C: handle get of empty string
5807 * main.C (main): use sync_with_stdio(false)
5809 * lyxfunc.C (dispatch): adjust
5811 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5812 (WriteAs): remove unneeded BufferView arg.
5814 * bufferparams.h: use correct types on papersize, papersize2 and
5817 * bufferparams.C (readToken): adjust for type
5818 (writeLaTeX): add missing cases to switch.
5820 * bufferlist.C (quitWriteBuffer): adjust
5823 * buffer.C (asciiParagraph): remove some commented code.
5825 * CutAndPaste.C: remove current_view extern variable.
5826 (cutSelection): add BufferParams arg.
5827 (eraseSelection): add BufferParams arg.
5828 (pasteSelection): add Buffer const & arg
5830 2003-06-07 John Levon <levon@movementarian.org>
5833 * paragraph_funcs.C:
5834 * paragraph_pimpl.C:
5838 * paragraph.C: allow InsetERT to freely space lines,
5839 and some consolidation of code
5841 2003-06-06 José Matos <jamatos@fep.up.pt>
5843 * buffer.C (makeDocBookFile): fix bug #821
5845 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5847 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5849 2003-06-04 Angus Leeming <leeming@lyx.org>
5851 * buffer.C: bump format to 224.
5853 2003-06-05 André Pönitz <poenitz@gmx.net>
5855 * text2.C (redoParagraphs): remove two const_cast<>
5857 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5859 * ParagraphList.h: remove last remnants of NO_STD_LIST
5861 2003-06-03 Angus Leeming <leeming@lyx.org>
5863 * factory.C (createInset): small change to the way InsetExternal's params
5866 2003-06-04 André Pönitz <poenitz@gmx.net>
5868 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5870 * paragraph_pimpl.h:
5871 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5873 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5875 * undo_funcs.C: make some simple cases of undo work again
5877 2003-06-03 John Levon <levon@movementarian.org>
5879 * ispell.C: HPUX doesn't have sys/select.h
5882 2003-06-03 John Levon <levon@movementarian.org>
5884 * CutAndPaste.C: update tabular and include inset
5889 * paragraph.C: remove owningBuffer(), don't pass Buffer
5892 * factory.C: insetGraphicsParams changed
5894 2003-06-02 John Levon <levon@movementarian.org>
5900 * text3.C: remove insetparent
5902 2003-06-02 John Levon <levon@movementarian.org>
5905 * buffer.C: fix inset_iterator.end(), move out of line
5908 2003-06-01 John Levon <levon@movementarian.org>
5910 * text3.C: use a proper cut/paste when doing inset
5911 insert (from Jürgen Spitzmüller)
5913 2003-06-01 John Levon <levon@movementarian.org>
5915 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5917 2003-05-30 André Pönitz <poenitz@gmx.net>
5919 * rowpainter.C: unify second drawing phase
5921 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * trans_mgr.C: remove one case of current_view
5925 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5927 * paragraph_funcs.h: remove paragraph.h include
5929 * paragraph.h: delete NO_STD_LIST stuff
5931 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5933 * buffer.h: remove paragraph.h include
5935 * ParagraphList.C: delete file
5937 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5939 * toc.C (getTocList): adjust
5941 * paragraph_pimpl.C (validate): adjust
5943 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5945 * paragraph.C (Paragraph): adjust
5946 (getPositionOfInset): use const_iterator, adjust
5947 (bibitem): use const_iterator, adjust
5948 (setInsetOwner): adjust
5950 * iterators.C (operator++): adjust
5952 * InsetList.[Ch]: Replace selfmade iterator with standard
5953 vector::iterator also introduce const_iterator. Remove getPos,
5954 getInset and setInset from InsetTable. Adjust accordingly.
5956 * BufferView.C (lockInset): adjust
5957 (ChangeInsets): adjust
5959 * tabular.[Ch]: delete commented same_id functions
5961 2003-05-28 John Levon <levon@movementarian.org>
5963 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5965 2003-05-28 André Pönitz <poenitz@gmx.net>
5967 * metricsinfo.[Ch]: remove 'fullredraw' member
5969 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5971 * lyxtextclass.C (operator): remove caching.
5973 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * text2.C (cursorBottom): adjust
5978 (setCounter): use ParagraphList::find, adjust
5980 * text.C (workWidth): use ParagraphList::find, adjust
5982 * lyxcursor.C (LyXCursor): adjust
5984 * buffer.C (inset_iterator): adjust
5986 * ParagraphList.h: make iterator(value_type) private, make
5987 ParagraphList a friend of iterator.
5989 * ParagraphList.C (find): new function
5991 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5993 2003-05-27 André Pönitz <poenitz@gmx.net>
5995 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5997 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5999 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6001 2003-05-26 John Levon <levon@movementarian.org>
6003 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6005 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * remove same_id from function signatures, adjust.
6009 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6013 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6015 * paragraph.C (Paragraph): get rid of same_ids parameter
6017 * ParagraphList.C (insert): adjust
6020 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * paragraph_funcs.C (breakParagraph): adjust
6023 (breakParagraphConservative): adjust
6025 * buffer.C (readParagraph): adjust
6027 * ParagraphList.C (insert): take a reference instead of a pointer
6030 * paragraph.[Ch] (id): new function
6032 * bufferlist.C (newFile): adjust
6034 * ParagraphList.C (ParagraphList): adjust
6036 (push_back): take a reference instead of a pointer.
6038 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6040 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6043 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6044 set else use old code.
6046 * ParagraphList.C: remove all NO_NEXT code and only compile this
6047 code of NO_STD_LIST is set.
6049 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6051 * BufferView_pimpl.C:
6061 * graphics/GraphicsConverter.C:
6062 * graphics/PreviewLoader.C: header adjustment
6064 2003-05-23 Angus Leeming <leeming@lyx.org>
6066 * LaTeXFeatures.[Ch] (useBabel): new method.
6067 * bufferparams.C (writeLaTeX): use it.
6069 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * ParagraphList.h (set): remove unused function.
6073 2003-05-23 André Pönitz <poenitz@gmx.net>
6076 * BufferView_pimpl.C:
6080 * undo_funcs.C: setUndo reworked
6082 * iterators.[Ch]: add access to topmost ParagraphList
6084 * lyxtext.[Ch] (workWidth): add a const
6086 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6088 * texrow.[Ch] (increasePos): remove function
6089 * exporter.C (export): removed unused var and outdated comment
6091 2003-05-23 Angus Leeming <leeming@lyx.org>
6093 * latexrunparams.h: rename fragile as moving_arg.
6094 * paragraph.C (simpleTeXOnePar): ditto.
6095 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6097 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6101 (textUndoOrRedo): comment out a currently unused var.
6103 * paragraph.h (NO_NEXT): enable NO_NEXT
6105 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6107 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6109 * exporter.C (Export): adjust for removeAutoInsets removal.
6111 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6113 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6115 * BufferView.[Ch] (removeAutoInsets): delete function
6117 2003-05-22 Angus Leeming <leeming@lyx.org>
6119 * latexrunparams.h: add a free_spacing variable.
6121 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6122 to pass moving_arg, as the data is stored in runparams.fragile.
6124 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6125 to Inset::latexOptional or to simpleTeXOnePar.
6127 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6128 free_spacing arg to Inset::latexOptional.
6130 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6133 2003-05-22 Angus Leeming <leeming@lyx.org>
6135 * latexrunparams.h: add fragile and use_babel variables.
6137 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6138 * buffer.C (makeLaTeXFile): store this returned value in
6139 runparams.use_babel, thus passing it to the inset::latex methods.
6141 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6142 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6144 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6145 longer has a fragile arg, as it is stored in runparams.fragile.
6147 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6148 moving_arg parameter as the data is stored in runparams.fragile.
6150 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6151 a fragile parameter as the data is stored in runparams.fragile.
6153 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6157 2003-05-22 Angus Leeming <leeming@lyx.org>
6159 * latexrunparams.h: add a 'bool nice' which defaults to false.
6161 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6162 now encapsulated within runparams.
6164 * bufferlist.C (updateIncludedTeXfiles):
6165 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6167 2003-05-22 Angus Leeming <leeming@lyx.org>
6169 * latexrunparams.h: new file containing struct LatexRunParams.
6170 * Makefile.am: add new file.
6172 * LaTeX.[Ch] (c-tor, run):
6173 * buffer.[Ch] (makeLaTeXFile):
6174 * bufferlist.[Ch] (updateIncludedTeXfiles):
6175 * converter.C (convert, scanLog):
6176 * converter.[Ch] (runLaTeX):
6177 * exporter.C (Export):
6178 * paragraph.[Ch] (simpleTeXOnePar):
6179 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6180 * paragraph_funcs.[Ch] (latexParagraphs):
6181 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6182 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6183 pass around a LatexRunParams parameter.
6185 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * paragraph.[Ch]: remove unused constructor
6189 * ParagraphList.C (erase): new function, taking two iterators
6191 2003-05-22 André Pönitz <poenitz@gmx.net>
6193 * undo_funcs.C: remove duplicated code
6195 * iterator.[Ch]: operator=
6197 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * tabular.C (SetMultiColumn): ws changes
6201 * rowpainter.C (paintFirst): get rid of a ->previous
6203 * lyx_cb.C (getPossibleLabel): parlist simplification
6205 * BufferView.C (ChangeInsets): simplify slightly.
6207 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6209 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6210 * lfuns.h: new LFUN_SPACE
6211 * lyxfunc.C: protected space has a new lfun
6212 * paragraph_funcs.C: read new space insets
6214 * factory.C: handle new space insets
6216 2003-05-22 André Pönitz <poenitz@gmx.net>
6219 * BufferView_pimpl.C:
6222 * undo_funcs.C: return a ParIterator from getParFromID.
6224 * iterators.[Ch]: add two const's
6226 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * toc.C (getTocList): adjust
6230 * iterators.[Ch]: rework for parlist
6232 * buffer.C (par_iterator_begin): adjust
6233 (par_iterator_end): adjust
6235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6237 * BufferView.C (removeAutoInsets): adjust
6238 (ChangeInsets): adjust
6240 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6242 * text.C (top_y): fix bug 1110
6244 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6246 * errorlist.[Ch]: added
6249 * BufferView_pimpl.C:
6250 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6253 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * Makefile.am: ensure that lyx is relinked upon changes to the
6256 various "convenience" libs.
6258 2003-05-20 Angus Leeming <leeming@lyx.org>
6260 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6261 files are compiled in alphabetical order again.
6263 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6265 2003-05-19 Angus Leeming <leeming@lyx.org>
6267 * gettext.[Ch]: remove "char const * _(char const *)".
6269 2003-05-19 André Pönitz <poenitz@gmx.net>
6271 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6280 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6282 2003-05-19 André Pönitz <poenitz@gmx.net>
6286 * lyxtextclass.[Ch]:
6288 * paragraph_funcs.[Ch]:
6290 * text3.C: more insetenv work
6292 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6294 * ParagraphParameters.C (params2string): small bug fixed
6296 2003-05-16 André Pönitz <poenitz@gmx.net>
6299 * bufferview_funcs.C: patch from Kornel Benko to prevent
6300 crash when _(...) is called twice in a statement
6302 2003-05-16 André Pönitz <poenitz@gmx.net>
6309 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6311 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6313 * lyx_main.C (init): remove spurious static_cast
6315 2003-05-14 André Pönitz <poenitz@gmx.net>
6317 * BufferView.C: fix format string
6319 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6321 * BufferView.[Ch] (insertErrors): removed
6322 * BufferView.[Ch] (showErrorList): added
6323 * buffer.C (runChkTeX):
6324 * converter.C (scanLog): call showErrorList instead of inserterrors
6326 2003-05-13 André Pönitz <poenitz@gmx.net>
6328 * BufferView_pimpl.C:
6330 * bufferview_func.C:
6337 * tabular_funcs.h: tostr() from its own header
6339 * ParagraphParameters.C:
6344 * text3.C: STRCONV()
6346 2003-05-12 André Pönitz <poenitz@gmx.net>
6349 * BufferView_pimpl.C:
6353 * ParagraphParameters.C:
6357 * bufferview_funcs.C:
6370 * paragraph_funcs.C:
6374 * text3.C: boost::format -> bformat all over the place
6377 2003-05-09 André Pönitz <poenitz@gmx.net>
6379 * LColor.[Ch]: Pimpl the #include <map> away
6381 2003-05-09 John Levon <levon@movementarian.org>
6383 * bufferlist.C: never remove emergency saves
6385 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * Makefile.am: better lib building
6389 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6393 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6394 (simpleTeXSpecialChars): adjust
6395 (simpleTeXSpecialChars): adjust
6396 * paragraph.C (simpleTeXOnePar): adjust
6397 * buffer.C (makeLaTeXFile): adjust
6399 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6401 * text2.C (changeDepth): parlist cleanup
6402 (getColumnNearX): ditto
6404 * rowpainter.C (getLabelFont): parlist cleanup
6406 * bufferlist.C (newFile): parlist cleanup
6408 * CutAndPaste.C (eraseSelection): parlist cleanup
6410 * BufferView_pimpl.C (trackChanges): parlist cleanup
6413 * BufferView.C (lockInset): parlist cleanup.
6414 (ChangeInsets): ditto
6416 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * CutAndPaste.h: Update file header.
6420 * CutAndPaste.C: Update file header.
6421 Store the parts cut out of the Document in a limited_stack.
6422 (copySelection): adjust
6423 (pasteSelection): new function, takes the index in the limited stack.
6424 (nrOfParagraphs): adjust
6425 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6426 simplify error inset insertion.
6427 (checkPastePossible): adjust
6429 2003-05-06 John Levon <levon@movementarian.org>
6431 * text2.C: don't cast wrap inset to float
6433 2003-05-05 André Pönitz <poenitz@gmx.net>
6436 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6438 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6439 few naked Paragraph *.
6441 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6443 * bufferparams.C: Output warning if a document with missing
6444 TeX document class is loaded
6445 * exporter.C: Disable TeX exports if the document class is missing
6448 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6449 isTeXClassAvailable()
6451 2003-05-03 John Levon <levon@movementarian.org>
6454 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6455 explicit cursor show/hide
6457 * BufferView_pimpl.h:
6458 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6459 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6461 * lyxfunc.C: hide cursor before dispatching.
6466 * text3.C: remove explicit cursor hides
6468 2003-05-02 André Pönitz <poenitz@gmx.net>
6470 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6473 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6476 * text2.C: tiny whitespace
6478 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * undo_funcs.C: almost only ws changes.
6482 * ParagraphList.C (splice): just return if pl is empty.
6484 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * ParagraphList.C (splice): new function.
6488 * CutAndPaste.C (pasteSelection): use it
6490 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6492 * CutAndPaste.C (pasteSelection): remove the last next and
6493 previous from this file.
6495 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * CutAndPaste.C (pasteSelection): more clean up, user proper
6498 ParagraphList functions for pasteing.
6500 * ParagraphList.C (insert): new function, three arg insert
6502 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * ParagraphList.C (insert): new function, three arg insert
6506 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6509 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6513 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6517 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6520 (copySelection): clean up a bit.
6521 (pasteSelection): use make_pair
6523 * ParagraphList.C (ParagraphList): implement copy constructor
6524 (operator=): implement, base on copy constructor.
6527 * paragraph.C (erase): return a bool
6529 * paragraph_pimpl.C (erasePos): remove function, move contents...
6530 (erase): ... here. Return a bool.
6531 (erase): call erase instead of erasePos.
6533 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6535 * ParagraphList.h: define PitPosPair
6536 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6537 ParagraphList, fix a bug on pasting multiple pars
6538 * text2.C: change interface to C&P
6540 2003-04-30 André Pönitz <poenitz@gmx.net>
6542 * undo_func.C: revert part of yesterday's patch 2
6544 2003-04-30 John Levon <levon@movementarian.org>
6546 * LColor.C: s/tabular/table/
6548 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * text3.C (dispatch): do not convert iterator -> pointer
6551 * undo_funcs.C (setCursorParUndo): ditto
6552 * text_funcs.C (transposeChars): ditto
6554 * text2.C (setLayout): ws changes only
6556 * text.C (breakParagraph): do not convert iterator -> pointer
6558 (acceptChange): ditto
6559 (rejectChange): ditto
6564 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6567 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6569 * text3.C (gotoInset): YABG (yet another bad getChar)
6571 2003-04-29 André Pönitz <poenitz@gmx.net>
6573 * paragraph.h: make operator= private unimplemented as long as
6576 * ParagraphList.C: whitespace
6579 * paragraph_pimpl.[Ch]:
6580 * paragraph_funcs.C:
6582 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6585 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6587 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6589 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6590 * paragraph.[Ch] (erase):
6591 * paragraph_pimpl.[Ch] (erase): change return type and value
6592 * text2.C (cutSelection): some rework
6594 2003-04-28 John Levon <levon@movementarian.org>
6596 * bufferlist.C: changes for unsaved changes dialog
6598 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * bufferlist.C (newFile): set language (messages_) for new
6603 * buffer.C (readFile): ws changes only.
6605 2003-04-28 André Pönitz <poenitz@gmx.net>
6610 * BufferView_pimpl.C:
6611 * BufferView.C: getParFromID related ParagraphList::iterator changes
6613 2003-04-28 André Pönitz <poenitz@gmx.net>
6615 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6618 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * messages.C: remove one more localedir class variable.
6622 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * messages.C (getLocaleDir): singleton generation function
6626 (Messages): add a default constructor.
6628 * main.C (main): do not setup localedir here, do not call
6631 * gettext.C (_): use it.
6632 (gettext_init): delete funciton
6634 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * gettext.C (getLyXMessages): new singleton generating function.
6638 * buffer.C (updateDocLang): adjust
6640 * Makefile.am (messages.o): add target
6641 (main.o): remove target
6643 2003-04-27 John Levon <levon@movementarian.org>
6648 * lyxvc.C: specify cancel button in Alert::prompt
6650 2003-04-26 John Levon <levon@movementarian.org>
6655 * LyXAction.C: add LFUN_INSET_SETTINGS
6657 * lyxfunc.C: don't enable tabular-feature when there's
6658 just any locking inset
6660 2003-04-26 John Levon <levon@movementarian.org>
6662 * bufferlist.C: re-add Cancel to buffer close question
6664 * lyxfunc.C: fix import UI a bit
6666 2003-04-25 John Levon <levon@movementarian.org>
6668 * gettext.C: remove the broken asserts for now
6670 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * messages.C: make case where setlocale cannot comply work better.
6674 * buffer.C (updateDocLang): new function
6675 (changeLanguage): use it
6678 * text2.C (setCounter): use B_ a bit.
6680 * lyxlayout.C (Read): be sure to trim the label strings.
6682 * messages.C (Messages): fix typo in comment
6684 * buffer.C (readFile): set message_ after file is loaded.
6685 (makeDocBookFile): remove double return
6686 (changeLanguage): reset message_ upon language change.
6687 (B_): new func, use this to get translated buffer strings.
6689 * main.C: add myself and Jean Marc as authors.
6691 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6693 * messages.[hC]: pimplify Messages, and three different pimpls to be
6694 used in different circumstances.
6696 * gettext.[Ch]: change for use with new message code.
6698 2003-04-24 André Pönitz <poenitz@gmx.net>
6700 * factory.C: support for eqref
6702 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6704 * messages.[Ch]: add missing char
6706 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6708 * messages.[Ch]: New files
6710 2003-04-18 John Levon <levon@movementarian.org>
6714 * BufferView_pimpl.C:
6718 * text2.C: remove layout-copy/paste (bug 778)
6720 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6722 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6724 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6726 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6727 if they succeed. Act accordingly.
6729 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * text2.C (setCharFont): adjust
6732 (setCounter): adjust
6733 (insertStringAsLines): adjust
6735 * text.C (leftMargin): adjust
6736 (setHeightOfRow): adjust
6738 * rowpainter.C (paintFirst): adjust
6741 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6743 (isFirstInSequence): ditto
6744 (getEndLabel): ditto
6747 * paragraph.C (getParLanguage): comment out some hard stuff.
6749 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6751 (simpleDocBookOnePar): ditto
6752 (makeDocBookFile): use ParagraphList::iterator
6754 * CutAndPaste.C (pasteSelection): adjust
6756 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * text2.C (getFont): adjust
6759 (getLayoutFont): adjust
6760 (getLabelFont): adjust
6762 * paragraph_funcs.C (TeXOnePar): adjust
6764 * buffer.C (simpleLinuxDocOnePar): adjust
6765 (simpleDocBookOnePar): adjust
6767 * CutAndPaste.C (pasteSelection): adjust
6769 * BufferView.C (getEncoding): adjust
6771 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6773 2003-04-16 John Levon <levon@movementarian.org>
6775 * lyxfind.C: use parlist stuff for search/changes
6777 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6781 * text2.C (deleteEmptyParagraphMechanism): adjust
6783 * text2.[Ch] (ownerParagraph): delete func (both of them
6785 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6789 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * ParagraphList.C: prepare for NO_NEXT
6793 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * text2.C (getFont): adjust
6796 (getLayoutFont): adjust
6797 (getLabelFont): adjust
6799 * paragraph.C (getFont): adjust
6800 (getLabelFont): adjust
6801 (getLayoutFont): adjust
6803 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6805 2003-04-15 John Levon <levon@movementarian.org>
6809 * lyx_main.C: handle Include in .ui files
6811 2003-04-15 John Levon <levon@movementarian.org>
6813 * MenuBackend.C: make the doc files length shorter
6816 * ToolbarBackend.C: handle toolbar placement flags,
6819 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6824 * paragraph_funcs.C (TeXOnePar): adjust
6826 * paragraph.C (getLabelFont): add outerfont arg, adjust
6827 (getLayoutFont): ditto
6828 (simpleTeXOnePar): adjust
6830 * paragraph_pimpl.C (realizeFont): delete func
6832 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6834 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6835 row argument, constify cur argument.
6837 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * text2.C (getFont): adjust
6840 (getLayoutFont): adjust
6841 (getLabelFont): adjust
6843 * paragraph_funcs.C (TeXOnePar): adjust
6844 (outerFont): new func...
6845 (realizeFont): ...moved out from here, changed this to facilitate
6848 * paragraph.C (getFont): take outerfont as arg, adjust
6849 (simpleTeXOnePar): add outerfont arg, adjust
6851 * buffer.C (simpleLinuxDocOnePar): adjust
6852 (simpleDocBookOnePar): adjust
6854 * CutAndPaste.C (pasteSelection): adjust
6856 * BufferView.C (getEncoding): adjust
6858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * text2.C (setCharFont): adjust
6861 (setCounter): adjust
6863 * text.C (leftMargin): adjust
6864 (setHeightOfRow): adjust
6866 * rowpainter.C (paintFirst): adjust
6869 * paragraph_pimpl.C (realizeFont): adjust
6871 * paragraph.C (isFirstInSequence): move from here...
6872 * paragraph_funcs.C (isFirstInSequence): ...to here
6874 * paragraph.C (outerHook): move from here...
6875 * paragraph_funcs.C (outerHook): ...to here
6877 * paragraph.C (depthHook): move from here...
6878 * paragraph_funcs.C (depthHook): ...to here
6880 * paragraph.C (getEndLabel): move from here...
6881 * paragraph_funcs.C (getEndLabel): ...to here
6883 * text2.C (realizeFont): move from here...
6884 * paragraph_funcs.C (realizeFont): ...to here
6886 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6890 2003-04-14 Angus Leeming <leeming@lyx.org>
6892 * LColor.[Ch]: scrap LColor mathcursor.
6894 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * lyxlex.[Ch] (text): delete function
6897 * trans.C (Load): adjust
6898 * paragraph_funcs.C (readParToken): adjust
6900 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6903 vector<char> instead of a char[].
6905 * lyxlex_pimpl.C (getString): adjust
6907 (lex): use getString
6911 * lyxlex.C (text): use pimpl_->getString()
6915 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6918 (makeFontEntriesLayoutSpecific): temp var for par.size()
6919 (setLayout): temp var for ownerParagraphs().end()
6920 (fullRebreak): temp var for rows().end()
6921 (selectionAsString): temp var for boost::next(startpit), realize
6922 that the while really is a regular for loop.
6923 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6924 setCursor in one place.
6925 (setParagraph): temp vr for ownerParagraphs().end()
6926 (updateCounters): make the while loop a for loop
6927 (cutSelection): temp var for ownerParagraphs().end()
6928 (updateInset): make the do {} while() a regular for loop
6929 (getCursorX): use temp vars
6930 (setCurrentFont): use temp vars
6931 (getColumnNearX): use temp vars
6933 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * text.C (transformChar): use temp var for getChar
6936 (computeBidiTables): use temp var for row->par()
6937 (fill): move temp vars for row->par() and pit->layout() earlier in
6939 (labelFill): use temp var for row->par()
6940 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6941 asc and desc, realize that pit never changes and that firstpit is
6942 just a duplicate and not needed. Exchange rit->par() with pit in a
6944 (breakAgain): use a temp var for boost::next(rit)
6945 (breakAgainOneRow): ditto
6946 (breakParagraph): use a temp var for rows().begin()
6947 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6948 (cursorRightOneWord): use temp var for cursor.par() and
6949 cursor.pos(), remove usage of tmpcursor.
6950 (cursorLeftOneWord): use temp var for cursor.par() and
6951 cursor.pos() only set cur at end of function.
6953 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * text.C, text2.C: exchange all usage of Paragraph::next with
6956 boost::next(ParagraphList::iterator)
6958 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6960 * text2.C (cursorTop): simplify implementation
6961 (cursorBottom): ditto
6962 (setParagraph): use ParagraphList::iterator
6963 (setCurrentFont): adjust
6964 (getColumnNearX): adjust
6965 (cursorRight): adjust
6966 (cursorLeft): remove usage of Paragraph::previous
6967 (cursorUpParagraph): ditto
6968 (deleteEmptyParagraphMechanism): slight cleanup
6970 * text.C (isBoundary): take a Paragraph const & instead of a
6972 (addressBreakPoint): ditto
6973 (leftMargin): remove usage of Paragraph::previous.
6974 (setHeightOfRow): ditto
6975 (cursorLeftOneWord): ditto
6976 (selectNextWordToSpellcheck): ditto
6979 (breakParagraph): remove one usage of Paragraph::next
6980 (redoParagraph): ditto
6981 (acceptChange): ditto
6982 (insertChar): adjust
6983 (rowBreakPoint): adjust
6985 * bufferview_funcs.C (toggleAndShow): adjust
6987 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6989 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6990 methods to access it.
6992 * text.C: Added updateRowPositions to compute all row positions.
6993 Make top_y and getRowNearY() to use the cached y position
6995 2003-04-11 John Levon <levon@movementarian.org>
6997 * text.C (rowBreakPoint): reintroduce the labelEnd
6998 checks, code copied from the row fill stuff. Deep voodoo.
7000 * text.C (fill): add a comment and debugging for the
7003 2003-04-11 John Levon <levon@movementarian.org>
7005 * text.C: make sure fullrow insets get wrapped to the next line,
7006 even when they're in a manual label
7008 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * text2.C (insertParagraph): make it take ParagraphList::iterator
7012 (setLayout): make it return ParagraphList::iterator
7013 (redoParagraphs): ditto
7015 (checkParagraph): ditto
7017 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7019 * text2.C: adjust several funcs.
7020 (realizeFont): take a ParagraphList::iterator as arg.
7021 (getLayoutFont): ditto
7022 (getLabelFont): ditto
7023 (setCharFont): ditto
7025 * text.C: adjust several funcs.
7027 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7029 * text.C (selectNextWordToSpellcheck): don't accidentally
7032 2003-04-10 John Levon <levon@movementarian.org>
7034 * ToolbarBackend.C (getIcon): special handling for
7037 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7039 * text2.C (cursorRight): a getChar assert fixed
7041 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * text2.C (getFont): change to take a ParagraphList::iterator
7044 instead of Paragraph*
7045 Adjust several functions.
7047 * text.C (transformChar): change to take a ParagraphList::iterator
7048 instead of Paragraph*
7049 (singleWidth): ditto
7050 Adjust several functions.
7052 * rowpainter.C: adjust several functions
7053 * rowpainter.h:store a ParagraphList::iterator and not a
7057 2003-04-09 John Levon <levon@movementarian.org>
7062 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7063 and the "help" bits as well
7065 2003-04-09 John Levon <levon@movementarian.org>
7068 * ToolbarBackend.C: allow multiple toolbars
7070 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * undo_funcs.C (setCursorParUndo): adjust
7074 * text_funcs.C (transposeChars): adjust
7076 * text3.C (gotoNextInset): adjust
7079 * text2.C (setLayout): adjust
7080 (changeDepth): adjust
7082 (redoParagraphs): adjust
7083 (selectionAsString): adjust
7084 (setParagraph): adjust
7085 (insertInset): adjust
7086 (cutSelection): adjust
7087 (copySelection): adjust
7088 (pasteSelection): adjust
7089 (insertStringAsLines): adjust
7090 (updateInset): adjust
7091 (setCursor): change to take a ParagraphList::iterator parameter
7092 (setCursorIntern): change to take a ParagraphList::iterator parameter
7093 (setCurrentFont): adjust
7094 (cursorLeft): adjust
7095 (cursorRight): adjust
7096 (deleteEmptyParagraphMechanism): adjust
7098 * text.C (breakParagraph): adjust
7099 (insertChar): adjust
7100 (acceptChange): adjust
7101 (rejectChange): adjust
7102 (selectNextWordToSpellcheck): adjust
7103 (changeCase): adjust
7107 * lyxfind.C (SearchForward): adjust
7108 (SearchBackward): adjust
7109 (nextChange): adjust
7111 * lyxcursor.C (par): adjust
7113 * lyxcursor.h: store a ParagraphList::iterator instead of a
7116 * lyx_cb.C (getPossibleLabel): adjust
7118 * bufferview_funcs.C (toggleAndShow): adjust
7120 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7123 * BufferView.C (removeAutoInsets): adjust
7124 (lockedInsetStoreUndo): adjust
7126 2003-04-09 John Levon <levon@movementarian.org>
7128 * ToolbarBackend.C: try icon without argument
7129 if with argument fails
7131 2003-04-08 John Levon <levon@movementarian.org>
7134 * ToolbarBackend.C: add getIcon(), handle tooltip,
7135 and change from "Icon" to "Item".
7137 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7139 * BufferView.C (lockInset): another bad getchar crunched
7141 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7143 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7146 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7148 * lyxfind.C (searchForward, searchBackwards): bug 782
7150 2003-04-07 John Levon <levon@movementarian.org>
7152 * paragraph.C: remove dead comment
7154 * text.C: remove troublesome depth-fiddling code
7155 in leftMargin() and rightMargin() (bug 1017)
7157 * text.C: fix breaking of rows in nested lists
7160 * text2.C (updateCounters): fix up depth values
7163 2003-04-07 John Levon <levon@movementarian.org>
7165 * BufferView_pimpl.C: clear message when doc finishes resizing,
7166 and after a mouse event
7168 * lyxfunc.C: clear message after exiting inset
7170 2003-04-07 John Levon <levon@movementarian.org>
7172 * bufferview_funcs.C: show math status not outside
7173 status in the statusbar
7175 2003-04-07 John Levon <levon@movementarian.org>
7177 * lyxfunc.C: note status changed after a depth change
7179 2003-04-04 Angus Leeming <leeming@lyx.org>
7181 * LaTeX.h: move AuxInfo operator==, != out of line.
7182 Remove LaTeX virtual destructor; nothing derives from it.
7183 Move operator()() out of public area and rename it startscript().
7184 Change protected for private.
7186 2003-04-04 Angus Leeming <leeming@lyx.org>
7189 * text2.C: remove unneeded #includes.
7191 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7193 * text2.C (dEPM): fix the heigth of the next row
7195 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7197 * text.C: squashed an invalid getChar requester + some ws changes
7199 2003-04-03 John Levon <levon@movementarian.org>
7201 * bufferview_funcs.h:
7202 * bufferview_funcs.C:
7205 * text2.C: make getStatus work for the env depth lfuns
7207 2003-04-03 John Levon <levon@movementarian.org>
7209 * bufferview_funcs.h:
7210 * bufferview_funcs.C:
7213 * text2.C: parlistize decDepth(), by merging it with incDepth()
7215 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * lyxrow.h: store a ParagraphList::iterator instead of a
7218 Paragraph* and adjust other class functions to suit.
7220 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7223 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7225 * text2.C (setCursor): do not anchor to cursor row for the time being
7227 2003-04-02 John Levon <levon@movementarian.org>
7234 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7236 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * paragraph.h: make ParagraphList and ParagraphList::iterator
7239 friends of Paragraph.
7241 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7243 * ParagraphList.C: Use the private next_ and previous_ from
7246 2003-04-01 John Levon <levon@movementarian.org>
7250 * Makefile.am: rename, remove defaults gunk
7253 * MenuBackend.C: remove defaults gunk
7256 * Languages.C: remove defaults gunk
7259 * lyx_main.C: error out if files couldn't be found.
7261 2003-04-02 John Levon <levon@movementarian.org>
7263 * text2.C: make incDepth() use parlist
7265 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * undo_funcs.C (firstUndoParagraph): adjust
7269 * text3.C (gotoInset): adjust
7270 (dispatch): adjust, and rewrite loop.
7272 * text2.C (init): adjust, and rewrite loop.
7273 (redoParagraphs): adjust
7274 (updateInset): adjust, and rewrite loop.
7275 (deleteEmptyParagraphMechanism): adjust
7277 * tabular.C (LyXTabular): adjust
7278 (SetMultiColumn): adjust
7281 * lyxtext.[Ch] (ownerParagraph): delete function
7282 (ownerParagraphs): new function returns a ParagraphList.
7284 * BufferView.C (removeAutoInsets): adjust
7285 (insertErrors): adjust
7286 (setCursorFromRow): adjust
7288 2003-04-01 Angus Leeming <leeming@lyx.org>
7290 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7293 2003-04-02 John Levon <levon@movementarian.org>
7299 * text_funcs.C: make transposeChars a free function
7301 * lyxrow_funcs.C: remove wrong comment
7303 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * rowpainter.C: adjust
7311 * lyxrow_funcs. [Ch]: new files
7313 * lyxrow.[Ch]: remove next and previous pointers
7314 (next,previous): remove accessor functions
7315 (isParEnd): move to lyxrow_funcs
7316 (lastPos): move to lyxrow_funcs
7317 (nextRowIsAllInset): move to lyxrow_funcs
7318 (lastPrintablePos): move to lyxrow_funcs
7319 (numberOfSeparators): move to lyxrow_funcs
7320 (numberOfHfills): move to lyxrow_funcs
7321 (numberOfLabelHfills): move to lyxrow_funcs
7322 (hfillExpansion): move to lyxrow_funcs
7326 * bufferview_funcs.C (toggleAndShow): adjust
7328 * RowList.h: Remove class RowList from file leave just a
7331 * RowList.C: delete file
7333 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * text3.C (cursorPrevious): adjust
7339 (cursorNext): adjust
7342 * text2.C (redoHeightOfParagraph): adjust
7343 (redoDrawingOfParagraph): adjust
7346 * text.C (breakParagraph): adjust
7347 (insertChar): adjust
7350 * rowpainter.C (RowPainter): adjust
7351 (leftMargin): simplify and adjust
7352 (most rowpainter functions): adjust.
7354 * rowpainter.h: store the row as RowList::iterator not as Row*
7356 * lyxcursor.C (row): taka RowList::iterator as arg
7359 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7362 2003-04-01 Angus Leeming <leeming@lyx.org>
7364 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7365 stuff like bool Bool.
7367 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7369 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7372 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7377 * lyxtext.h (rows): drop one version and leve a const variant that
7378 returns a RowList::iterator.
7380 2003-03-31 Angus Leeming <leeming@lyx.org>
7382 * text.C (fill): ensure that the signature is the same as that in the
7385 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * text2.C (redoParagraphs): adjust
7388 (updateCounters): adjust
7389 (checkParagraph): adjust
7390 (getColumnNearX): adjust and reformat a bit.
7392 * text.C (top_y): adjust
7394 (leftMargin): adjust
7395 (prepareToPrint): adjust
7397 (getRowNearY): adjust
7399 * lyxtext.h: make rowlist_ mutable.
7401 * RowList.h: add const_iterator
7402 * RowList.C: adjust for RowList::const_iterator.
7404 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7407 2003-03-31 John Levon <levon@movementarian.org>
7410 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7412 * lyx_main.C: set default fonts from using lyx_gui funcs
7414 * exporter.C: pdf_mode moved from lyxrc
7417 * lyxfunc.C: changes from above
7419 2003-03-31 John Levon <levon@movementarian.org>
7421 * lyx_main.C: fix to the last fix
7423 2003-03-31 John Levon <levon@movementarian.org>
7425 * bufferlist.C: "Load original" -> "Load Original"
7431 * format.C: more Alert cleanups
7433 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * text2.C (removeParagraph): make it take a RowList::iterator as
7437 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7438 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7440 * text.C (anchor_row): make it take a RowList::iterator as arg,
7442 (computeBidiTables): make it take a const reference to Row instead
7443 of Row pointer, adjust.
7444 (leftMargin): make it take a RowList::iterator as arg, adjust.
7445 (rowBreakPoint): adjust
7446 (breakAgainOneRow): make it take a RowList::iterator as arg,
7448 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7450 * bufferview_funcs.C (toggleAndShow): adjust
7452 2003-03-30 John Levon <levon@movementarian.org>
7456 * boost-inst.C: moved to support
7458 * several files: changes as a result
7460 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * text2.C (LyXText): adjust.
7464 (removeRow): make it take a RowList::iterator as arg, adjust.
7465 (fullRebreak): adjust
7466 (deleteEmptyParagraphMechanism): adjust
7467 (clearPaint): adjust
7470 * text.C (top_y): adjust
7471 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7472 (breakAgain): make it take a RowList::iterator as arg, adjust.
7473 (breakParagraph): adjust
7474 (insertChar): adjust
7477 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7478 need_break_row, and refresh_row.
7480 * text3.C (dispatch): adjust
7482 * text2.C (checkParagraph): adjust
7484 (setCursorFromCoordinates): adjust
7486 * text.C (top_y): adjust
7488 (getRow): make it return a RowList::iterator, adjust
7489 (getRowNearY): make it return a RowList::iterator, adjust
7491 * text2.C (init): adjust
7492 (insertRow): remove function
7493 (insertParagraph): adjust
7494 (redoParagraphs): adjust
7495 (fullRebreak): adjust
7496 (updateCounters): adjust
7498 * text.C (top_y): rewrite to use RowList iterators.
7500 (setHeightOfRow): rewrite to sue RowList iterators.
7501 (appendParagraph): adjust
7502 (breakAgain): adjust
7503 (breakAgainOneRow): adjust
7504 (breakParagraph): adjust
7506 (getRowNearY): adjust, and remove commented code.
7508 * lyxtext.h (firstRow): delete function
7509 (lastRow): delete function
7510 (rows): new function (const and non-const versions.)
7511 (insertRow): delete function
7513 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7515 2003-03-29 John Levon <levon@movementarian.org>
7517 * BufferView_pimpl.C: always update scrollbar top
7518 because pasting text when we're anchored could mean we
7519 miss an update altogether
7521 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * text2.C (init): use rowlist_.end() and not 0.
7524 (insertRow): change to take a RowList::iterator as arg, adjust
7526 (insertParagraph): change to take a RowList::iterator as arg,
7528 (redoParagraphs): remove some debug msgs.
7530 * text.C (appendParagraph): change to take a RowList::iterator
7531 arg, adjust for this.
7532 (breakAgain): add an assert
7533 (breakAgainOneRow): ditto
7535 2003-03-29 John Levon <levon@movementarian.org>
7537 * text2.C: do not clear selection after inc/decDepth
7540 2003-03-29 John Levon <levon@movementarian.org>
7543 * buffer.C: fix broken strerrors according to Lars
7545 2003-03-29 John Levon <levon@movementarian.org>
7547 * converters.C: more Alert cleanups
7549 2003-03-29 John Levon <levon@movementarian.org>
7551 * bufferview_funcs.C: remove pointless Alert
7553 * buffer.C: fix confusing error message when
7554 a template is chmoded 000
7556 2003-03-29 John Levon <levon@movementarian.org>
7560 * BufferView_pimpl.C: Alert fixes
7564 * tabular-old.C: remove unused table compat reading
7566 2003-03-29 John Levon <levon@movementarian.org>
7571 * lyx_cb.C: more Alert cleanups
7573 * lyxfunc.C: don't allow chktex if not latex document
7575 2003-03-29 John Levon <levon@movementarian.org>
7579 * buffer.C: warnings pushed down from support/,
7582 2003-03-29 John Levon <levon@movementarian.org>
7584 * lyxfunc.C: safety check for C-r (revert)
7586 2003-03-29 John Levon <levon@movementarian.org>
7589 * bufferlist.C: several UI fixes using Alert::prompt.
7590 Fix the pointless looping quit code. Fix stupid revert
7595 * lyx_cb.C: use Alert::prompt
7597 * lyx_main.C: remove a silly question
7599 * lyxfunc.C: remove a couple of silly questions,
7602 2003-03-28 John Levon <levon@movementarian.org>
7604 * text2.C: fix bug 974 (End on empty par)
7606 2003-03-28 John Levon <levon@movementarian.org>
7608 * BufferView_pimpl.C:
7610 * lfuns.h: remove do-nothing math greek lfuns
7612 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * lyxgluelength.h (isValidGlueLength): add default arg on
7615 parameter 2. Remove default arg from friend in class.
7617 * lyxlength.h (isValidLength): add default arg on parameter 2.
7618 Remove default arg from friend in class.
7620 * text2.C (LyXText): adjust, initialize refresh_row.
7624 (insertParagraph): adjst
7625 (redoParagraphs): adjust
7626 (fullRebreak): adjust
7627 (updateCounters): adjust
7628 (deleteEmptyParagraphMechanism): first attempt at fixing a
7631 * text.C (top_y): adjust
7632 (setHeightOfRow): adjust
7634 (getRowNearY): adjust
7636 * lyxtext.h: include RowList.h
7637 (~LyXText): not needed anymore, deleted.
7638 (firstRow): modify for RowList
7639 (lastRow): new function
7640 Delete firstrow and lastrow class variables, add a Rowlist
7641 rowlist_ class variable.
7643 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7646 * RowList.C (insert): fix case where it == begin().
7648 2003-03-26 Angus Leeming <leeming@lyx.org>
7650 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7651 the thesaurus dialog.
7653 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7657 * RowList.[Ch]: new files
7659 * ParagraphList.C (erase): handle the case where it == begin
7662 2003-03-25 John Levon <levon@movementarian.org>
7666 * aspell.C: add new aspell support
7669 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7672 2003-03-25 Angus Leeming <leeming@lyx.org>
7675 * LyXAction.C (init): new LFUN_INSET_INSERT.
7677 * BufferView_pimpl.C (dispatch): split out part of the
7678 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7680 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7683 2003-03-25 Angus Leeming <leeming@lyx.org>
7685 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7687 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7690 * text3.C: remove useless row->height(0)
7692 2003-03-25 John Levon <levon@movementarian.org>
7696 * text3.C: rename the refreshing stuff to better names
7698 2003-03-24 John Levon <levon@movementarian.org>
7700 * BufferView_pimpl.h:
7701 * BufferView_pimpl.C: update layout choice on a mouse
7704 2003-03-23 John Levon <levon@movementarian.org>
7706 * Makefile.am: fix commandtags.h reference
7708 2003-03-22 John Levon <levon@movementarian.org>
7710 * BufferView_pimpl.C:
7715 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7717 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7720 * text.C: take the rtl methods out of line
7722 2003-03-21 André Pönitz <poenitz@gmx.net>
7724 * metricsinfo.[Ch]: new files containing structures to be passed around
7725 during the two-phase-drawing...
7727 2003-03-21 André Pönitz <poenitz@gmx.net>
7729 * lyxtextclass.C: read 'environment' tag.
7731 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7733 * text2.C (removeRow): fix bug 964
7735 2003-03-20 John Levon <levon@movementarian.org>
7739 * text2.C: paint cleanups. Inset::update() dropped font
7742 2003-03-19 John Levon <levon@movementarian.org>
7744 * lyxfunc.C: only fitcursor/markDirty if available()
7746 2003-03-19 John Levon <levon@movementarian.org>
7748 * commandtags.h: rename to ...
7750 * lfuns.h: ... this, and renumber / cleanup
7752 2003-03-19 John Levon <levon@movementarian.org>
7754 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7755 fit the cursor after an lfun
7759 * BufferView_pimpl.h:
7760 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7762 * LyXAction.C: layout-character should have ReadOnly
7764 * ParagraphParameters.C:
7766 * bufferview_funcs.C:
7773 * undo_funcs.C: changes from above
7775 2003-03-18 John Levon <levon@movementarian.org>
7777 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7778 remove it from update()
7780 * lyxfunc.C: update layout choice after an lfun
7782 * text3.C: remove extra updateLayoutChoice()s
7784 2003-03-18 John Levon <levon@movementarian.org>
7786 * text.C: top_y change means full repaint, fix
7787 a drawing bug with cursor movement
7789 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7793 * text2.C: anchor row on setCursor
7795 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7797 * lyxtext.h: remove almost all mutable keywords
7800 * text3.C: remove const keywords accordingly
7802 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7806 (TeXEnvironment): ditto
7809 2003-03-17 John Levon <levon@movementarian.org>
7811 * text.C (rowBreakPoint): remove attempt to fix displayed
7812 math insets inside a manual label
7814 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * lyxtext.h: remove BufferView* as first arg from almost all class
7818 * other files: adjust.
7820 2003-03-17 John Levon <levon@movementarian.org>
7824 * text2.C: more paint cleanups
7826 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7829 * rowpainter.C: remove "smart" background painting code
7831 2003-03-16 John Levon <levon@movementarian.org>
7836 * text3.C: add helper functions for setting refresh_row/y
7838 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7840 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7841 newline inset which *can* get inserted in the pass_thru layouts.
7842 This is primarily for literate documents.
7844 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7846 * buffer.C: increment LYX_FORMAT to 223
7848 2003-03-14 André Pönitz <poenitz@gmx.net>
7850 * textclass.h: prepare for environment handling, ws changes
7851 * lyxlayout.C: read latexheader and latexfooter tags
7853 2003-03-14 John Levon <levon@movementarian.org>
7855 * text2.C: rewrite ::status() a bit
7857 2003-03-13 John Levon <levon@movementarian.org>
7859 * lyxtext.h: add some docs
7861 2003-03-13 John Levon <levon@movementarian.org>
7866 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7868 2003-03-13 John Levon <levon@movementarian.org>
7870 * text3.C: fix appendix redrawing
7872 2003-03-13 John Levon <levon@movementarian.org>
7874 * text.C (setHeightOfRow):
7876 * rowpainter.C: make appendix mark have the text
7877 "Appendix" so the user knows what it is
7880 * LColor.C: s/appendixline/appendix/ from above
7882 2003-03-13 John Levon <levon@movementarian.org>
7884 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7886 * text.C: fix a getChar(pos) bug properly
7888 2003-03-13 Angus Leeming <leeming@lyx.org>
7891 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7892 Probably only temporary. Let's see how things pan out.
7894 * BufferView.C (unlockInset):
7895 * BufferView_pimpl.C (fitCursor):
7896 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7898 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7899 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7901 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7902 new functions that convert ParagraphParameters to and from a string.
7904 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7905 BufferView::Pimpl's dispatch.
7906 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7908 2003-03-13 André Pönitz <poenitz@gmx.net>
7912 * factory.C: make it aware of InsetEnv
7914 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7916 * text2.C (setCursor): never ask for one past last
7917 (setCursor): add some debugging messages.
7919 * text.C (singleWidth): never ask for one past last
7920 (singleWidth): ditto
7922 (rightMargin): ditto
7923 (rowBreakPoint): ditto
7924 (setHeightOfRow): ditto
7925 (prepareToPrint): ditto
7927 * rowpainter.C (paintBackground): never ask for one past last
7928 (paintText): never ask for one past last
7930 * paragraph_pimpl.C (getChar): make the assert stricter, never
7931 allow the one past last pos to be taken
7933 * paragraph.C (getChar): ws changes only
7935 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7936 (numberOfSeparators): ditto
7937 (numberOfHfills): ditto
7939 2003-03-12 John Levon <levon@movementarian.org>
7945 * paragraph_funcs.C: fix per-buffer authorlists
7947 2003-03-12 John Levon <levon@movementarian.org>
7949 * text.C: fix newline in right address
7951 2003-03-12 Angus Leeming <leeming@lyx.org>
7953 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7954 duplicate those in LyXFunc::dispatch.
7958 * ToolbarDefaults.C:
7959 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7960 Add LFUN_FONTFREE_UPDATE.
7962 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7963 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7965 * bufferview_func.[Ch]: several new functions to facilliate
7966 transfer of data to and from the character dialog.
7968 2003-03-12 John Levon <levon@movementarian.org>
7973 * paragraph_funcs.C:
7974 * paragraph_pimpl.C:
7978 * text3.C: remove META_NEWLINE in favour of an inset
7981 * rowpainter.C: remove paintNewline (done by inset)
7983 2003-03-12 John Levon <levon@movementarian.org>
7985 * paragraph_pimpl.C: complain about bad getChar()s
7986 for a while at least
7988 2003-03-12 John Levon <levon@movementarian.org>
7991 * buffer.C: move paragraph read into a separate function,
7992 a little renaming to reflect that.
7995 * bufferparams.C: remove the author_ids map, not necessary now
7998 * factory.C: moved Buffer::readInset to here
8000 * paragraph_funcs.h:
8001 * paragraph_funcs.C: readParagraph free function moved from
8004 * tabular.C: name change
8006 2003-03-12 John Levon <levon@movementarian.org>
8009 * ParagraphParameters.C: move par params input to
8012 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8013 behave like a normal read from the stream wrt reading
8014 a line vs. a \\token
8016 2003-03-12 John Levon <levon@movementarian.org>
8019 * ParagraphParameters.h:
8020 * ParagraphParameters.C: move output code to a
8023 2003-03-12 John Levon <levon@movementarian.org>
8025 * BufferView.C (insertLyXFile):
8028 * tabular.C: use a parlist iterator for creating the
8031 2003-03-12 John Levon <levon@movementarian.org>
8033 * buffer.C: make current_change static local not
8036 2003-03-12 John Levon <levon@movementarian.org>
8038 * buffer.C: fix insertStringAsLines for change tracking
8040 2003-03-12 John Levon <levon@movementarian.org>
8047 * bufferparams.C: move author list into params. Rename some
8048 functions. Move the header reading into a separate token
8049 loop. Move the header token reading into BufferParams.
8051 2003-03-12 John Levon <levon@movementarian.org>
8053 * changes.C: put debug inside lyxerr.debugging() checks
8055 2003-03-11 André Pönitz <poenitz@gmx.net>
8057 * factory.C: make it aware of InsetHFill
8059 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8061 * buffer.C (latexParagraphs): move function from here...
8062 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8065 2003-03-10 Angus Leeming <leeming@lyx.org>
8067 * LyXAction.C (init): fix bug in poplating array with multiple entries
8068 with the same LFUN (spotted by JMarc).
8070 2003-03-10 John Levon <levon@movementarian.org>
8073 * text2.C: move getColumnNearX() near its
8076 2003-03-10 John Levon <levon@movementarian.org>
8078 * text.C: fix break before a minipage
8080 2003-03-10 John Levon <levon@movementarian.org>
8082 * text.C: fix the last commit
8084 2003-03-09 John Levon <levon@movementarian.org>
8088 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8089 bug 365 (don't break before insets unless needed). Don't
8090 return a value > last under any circumstances.
8092 2003-03-09 Angus Leeming <leeming@lyx.org>
8094 * BufferView_pimpl.C (trackChanges, dispatch): call
8095 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8097 2003-03-09 Angus Leeming <leeming@lyx.org>
8099 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8100 than Dialogs::showAboutlyx().
8102 2003-03-09 Angus Leeming <leeming@lyx.org>
8104 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8105 than Dialogs::showTabularCreate().
8107 2003-03-09 John Levon <levon@movementarian.org>
8111 * text2.C: 3rd arg to nextBreakPoint was always the same.
8114 2003-03-08 John Levon <levon@movementarian.org>
8121 * text2.C: Remove the "main" bit from the "main body"
8124 2003-03-08 John Levon <levon@movementarian.org>
8126 * text.C (leftMargin): The left margin of an empty
8127 manual label paragraph should not include the label width
8130 * text.C (prepareToPrint): don't attempt to measure hfills
8131 for empty manual label paragraphs - the answer should be 0
8133 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * CutAndPaste.C: remove commented code and reindent.
8137 2003-03-08 John Levon <levon@movementarian.org>
8140 * lyxfunc.C: move reloadBuffer()
8143 * BufferView.C: to here
8145 * lyxvc.C: add comment
8148 * vc-backend.C: call bv->reload() to avoid
8149 getStatus() check on MENURELOAD
8151 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8153 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8154 to an old format .dep file.
8156 2003-03-07 Angus Leeming <leeming@lyx.org>
8158 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8159 when the LFUN_MOUSE_RELEASE should have been handled by
8160 inset->localDispatch.
8162 2003-03-07 Angus Leeming <leeming@lyx.org>
8164 * BufferView_pimpl.C (dispatch):
8165 * LyXAction.C (init):
8166 * ToolbarDefaults.C (init):
8168 * lyxfunc.C (getStatus):
8169 remove LFUN_INSET_GRAPHICS.
8171 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8173 2003-03-07 Angus Leeming <leeming@lyx.org>
8176 * LyXAction.C (init):
8177 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8179 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8182 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8184 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8185 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8187 2003-03-07 Angus Leeming <leeming@lyx.org>
8189 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8192 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * ParagraphList.C (front): new function
8197 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8199 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8200 and top_row_offset_. removed var first_y.
8202 * text2.C (LyXText, removeRow):
8204 * BufferView_pimpl.C:
8205 use these methods instead of using first_y
8207 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * text2.C (pasteSelection): adjust for checkPastePossible
8211 * CutAndPaste.C: remove Paragraph * buf and replace with
8212 ParagraphList paragraphs.
8213 (DeleteBuffer): delete
8214 (cutSelection): change the tc type to textclass_type
8215 (copySelection): change the tc type to textclass_type
8216 (copySelection): adjust for ParagraphList
8217 (pasteSelection): change the tc type to textclass_type
8218 (pasteSelection): adjust for Paragraphlist
8219 (nrOfParagraphs): simplify for ParagraphList
8220 (checkPastePossible): simplify for ParagraphList
8221 (checkPastePossible): remove unused arg
8223 * ParagraphList.C (insert): handle the case where there are no
8226 * CutAndPaste.h: make CutAndPaste a namespace.
8228 * text3.C (dispatch): adjust
8230 * text.C (breakParagraph): add a ParagraphList as arg
8232 * paragraph_funcs.C (breakParagraph): change to take a
8233 BufferParams and a ParagraphList as args.
8234 (breakParagraphConservative): ditto
8235 (mergeParagraph): ditto
8236 (TeXDeeper): add a ParagraphList arg
8237 (TeXEnvironment): ditto
8240 * buffer.C (readLyXformat2): adjust
8241 (insertStringAsLines): adjust
8242 (latexParagraphs): adjust
8244 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8245 (cutSelection): adjust
8246 (pasteSelection): adjust
8248 * BufferView_pimpl.C (insertInset): adjust
8250 2003-03-05 Angus Leeming <leeming@lyx.org>
8253 * LyXAction.C (init):
8254 * BufferView_pimpl.C (dispatch):
8255 * lyxfunc.C (getStatus):
8256 remove LFUN_CHILD_INSERT.
8258 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8260 2003-03-05 Angus Leeming <leeming@lyx.org>
8263 * LyXAction.C (init):
8264 * src/factory.C (createInset):
8265 * lyxfunc.C (getStatus):
8266 * text3.C (dispatch):
8267 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8269 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8271 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * ParagraphList.C (insert): handle insert right before end()
8274 (erase): fix cases where it can be first or last paragraph.
8276 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8279 Paragraph::next and Paragraph::previous
8282 * text.C (breakParagraph): adjust
8284 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8285 BufferParams& as arg.
8286 (breakParagraph): use ParagraphList::insert
8287 (breakParagraphConservative): take a Buffer* instead of a
8288 BufferParams& as arg.
8289 (breakParagraphConservative): use ParagraphList::insert.
8291 * buffer.C (insertStringAsLines): un-const it
8292 (insertStringAsLines): adjust
8294 * ParagraphList.C (insert): new function
8296 * CutAndPaste.C (pasteSelection): adjust
8298 * text.C (backspace): adjust
8300 * tabular.C (SetMultiColumn): adjust
8302 * CutAndPaste.C (cutSelection): adjust
8303 (pasteSelection): adjust
8305 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8306 Buffer const * as arg
8308 * ParagraphList.C (erase): new function
8309 * paragraph_funcs.C (mergeParagraph): use it
8310 (mergeParagraph): make it take a Buffer* instead of a
8311 BufferParams* as arg
8313 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8315 (breakParagraphConservative): ditto
8317 * paragraph.h: remove the breakParagraph friend
8319 * paragraph.C (eraseIntern): new function
8320 (setChange): new function
8322 * paragraph_funcs.C (mergeParagraph): make it take a
8323 ParagraphList::iterator instead of a Paragraph *, adjust
8326 * paragraph.h: move an #endif so that the change tracking stuff
8327 also works in the NO_NEXT case.
8329 2003-03-04 Angus Leeming <leeming@lyx.org>
8332 * LyXAction.C: new LFUN_INSET_MODIFY.
8334 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8335 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8337 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * several files: ws changes only
8341 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8342 (TeXEnvironment): ditto
8345 * buffer.C (makeLaTeXFile): adjust
8346 (latexParagraphs): make it take ParagraphList::iterator as args
8348 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * buffer.C (latexParagraphs): adjust
8352 * paragraph.C (TeXOnePar): move function...
8353 (optArgInset): move function...
8354 (TeXEnvironment): move function...
8355 * paragraph_pimpl.C (TeXDeeper): move function...
8356 * paragraph_funcs.C: ...here
8358 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8360 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * buffer.C (readInset): remove compability code for old Figure and
8365 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * buffer.C: ws changes
8370 * BufferView_pimpl.C: ditto
8373 * bufferlist.h: ditto
8377 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8379 * converter.[Ch]: split into itself +
8382 * Makefile.am: += graph.[Ch] + format.[Ch]
8389 * lyxrc.C: added #include "format.h"
8391 2003-02-27 Angus Leeming <leeming@lyx.org>
8393 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8396 * factory.C (createInset): add "label" to the factory.
8398 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8399 string and do no more.
8401 2003-02-27 Angus Leeming <leeming@lyx.org>
8404 * LyXAction.C (init):
8405 * factory.C (createInset):
8406 * BufferView_pimpl.C (dispatch):
8407 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8409 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8411 * lyxfunc.C (dispatch):
8412 * text3.C (dispatch): pass name to params2string.
8414 2003-02-26 Angus Leeming <leeming@lyx.org>
8416 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8418 Rearrange the ~includes. Strip out the unnecessary ones.
8420 * factory.C (createInset): reformat.
8421 create new insets for the various LFUN_XYZ_APPLY lfuns.
8423 2003-02-26 John Levon <levon@movementarian.org>
8426 * lyxrow.C: add isParStart,isParEnd helpers
8428 * paragraph.h: make isInserted/DeletedText take refs
8430 * paragraph_funcs.h:
8431 * paragraph_funcs.C: remove #if 0'd code
8436 * text.C: use lyxrow helpers above.
8437 Move draw and paint routines to RowPainter.
8438 Make several methods use refs not pointers.
8439 Make backgroundColor() const.
8440 Add markChangeInDraw(), isInInset().
8441 Merge changeRegionCase into changeCase.
8442 Make workWidth() shouldn't-happen code into an Assert.
8445 * rowpainter.C: new class for painting a row.
8448 * vspace.C: make inPixels take a ref
8450 2003-02-26 Angus Leeming <leeming@lyx.org>
8452 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8455 2003-02-25 John Levon <levon@movementarian.org>
8457 * ispell.C: give the forked command a more accurate name
8459 2003-02-22 John Levon <levon@movementarian.org>
8462 * toc.C: make TocItem store an id not a Paragraph *
8465 2003-02-21 Angus Leeming <leeming@lyx.org>
8467 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8468 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8469 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8470 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8471 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8472 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8474 * BufferView_pimpl.C (dispatch):
8475 * LyXAction.C (init):
8476 * factory.C (createInset):
8477 * lyxfunc.C (getStatus, dispatch):
8478 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8480 2003-02-21 Angus Leeming <leeming@lyx.org>
8482 * BufferView_pimpl.C (MenuInsertLyXFile):
8483 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8484 * lyxfunc.C (menuNew, open, doImport):
8485 no longer pass a LyXView & to fileDlg.
8487 2003-02-21 Angus Leeming <leeming@lyx.org>
8489 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8490 * LyXAction.C: change, BIBKEY to BIBITEM.
8491 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8492 Change InsetBibKey to InsetBibitem.
8493 Change BIBKEY_CODE to BIBITEM_CODE.
8494 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8495 * factory.C: replace insetbib.h with insetbibitem.h.
8496 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8497 * paragraph.C: replace insetbib.h with insetbibitem.h.
8498 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8499 Change bibkey() to bibitem().
8500 * text.C: remove insetbib.h.
8501 * text2.C: replace insetbib.h with insetbibitem.h.
8502 change bibkey() to bibitem().
8503 * text3.C: remove insetbib.h.
8504 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8506 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8508 * lyxrc.C (output): enclose user email in quotes (in case there are
8511 2003-02-18 John Levon <levon@movementarian.org>
8513 * buffer.h: add std::
8515 2003-02-17 John Levon <levon@movementarian.org>
8521 * pspell.C: reworking. Especially in ispell, a large
8522 number of clean ups and bug fixes.
8524 * lyxfunc.C: fix revert to behave sensibly
8526 2003-02-17 André Pönitz <poenitz@gmx.net>
8529 * commandtags.h: new LFUN_INSERT_BIBKEY
8539 * paragraph_func.C: remove special bibkey handling
8541 2003-02-17 John Levon <levon@movementarian.org>
8543 * text.C (Delete): fix case where delete at the end of
8544 the very first paragraph would not merge the pars
8546 2003-02-17 John Levon <levon@movementarian.org>
8548 * lyxrow.C: fix lastPrintablePos()
8550 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8552 * bufferparams.C (writeLaTeX): add a std:here
8554 * buffer.C: and remove a using directive there
8556 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8558 * buffer.C (makeLaTeXFile): move the code that generates the
8561 * bufferparams.C (writeLaTeX): ... in this new method
8563 * LaTeXFeatures.C (getEncodingSet): make const
8564 (getLanguages): make const
8566 * MenuBackend.C (binding): returns the binding associated to this
8568 (add): sets the status of each item by calling getStatus. Adds
8570 (read): add support for OptSubMenu
8571 (expand): remove extra separator at the end of expanded menu
8573 2003-02-15 John Levon <levon@movementarian.org>
8576 * BufferView_pimpl.C:
8578 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8579 inset code that had no actual effect. Remove unneeded status
8582 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8584 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8587 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8589 * text.C (drawLengthMarker): also draw an arrow marker for
8590 symbolic lengths (medskip...)
8592 2003-02-14 John Levon <levon@movementarian.org>
8595 * tabular.C: better method names
8597 2003-02-14 John Levon <levon@movementarian.org>
8599 * BufferView_pimpl.C:
8604 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8605 it's a more accurate name. Remove some pointless uses.
8607 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8609 * text2.C (LyXText): change order of initilizers to shut off
8612 2003-02-14 John Levon <levon@movementarian.org>
8614 * buffer.C: use ParIterator for getParFromID()
8618 * paragraph_pimpl.h:
8619 * paragraph_pimpl.C: remove unused getParFromID()
8621 2003-02-14 John Levon <levon@movementarian.org>
8623 * buffer.C: remove some very old #if 0'd parse code
8625 2003-02-13 John Levon <levon@movementarian.org>
8629 * text2.C: move hfillExpansion(), numberOfSeparators(),
8630 rowLast(), rowLastPrintable(), numberofHfills(),
8631 numberOfLabelHfills() ...
8634 * lyxrow.C: ... to member functions here.
8639 * text.C: remove LyXText::beginningOfMainBody(), and call
8640 p->beginningOfMainBody() directly. Move the check for
8641 LABEL_MANUAL into the latter.
8648 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8654 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8655 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8657 2003-02-13 John Levon <levon@movementarian.org>
8659 * CutAndPaste.C: remove debug
8661 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8663 * paragraph.C (asString): remove two unused variables
8665 * lyxtextclass.C (readTitleType):
8667 (LyXTextClass): handle new members titletype_ and titlename_
8669 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8671 2003-02-09 John Levon <levon@movementarian.org>
8674 * buffer.C: replace hand-coded list with a map for the dep clean
8676 2003-02-08 John Levon <levon@movementarian.org>
8678 * LaTeX.C: consolidate code into showRunMessage() helper
8680 2003-02-08 John Levon <levon@movementarian.org>
8685 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8686 and pass the size in explicitly
8688 * BufferView_pimpl.h:
8689 * BufferView_pimpl.C:
8691 * BufferView.C: add getCurrentChange()
8693 * BufferView_pimpl.h:
8694 * BufferView_pimpl.C: handle change lfuns
8696 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8697 for changes. Mark pasted paragraphs as new.
8699 * support/lyxtime.h:
8700 * support/lyxtime.C:
8701 * DepTable.C: abstract time_t as lyx::time_type
8704 * LColor.C: add colours for new text, deleted text, changebars
8706 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8707 package use "usenames" option.
8711 * LyXAction.C: add change lfuns
8715 * author.C: author handling
8718 * buffer.C: add a per-buffer author list, with first entry as
8719 current author. Handle new .lyx tokens for change tracking. Output
8720 author list to .lyx file. Output dvipost stuff to .tex preamble.
8721 Bump lyx format to 222.
8724 * bufferlist.C: add setCurrentAuthor() to reset current author details
8728 * bufferparams.C: add param for tracking
8730 * bufferview_funcs.C: output change info in minibuffer
8734 * changes.C: add change-tracking structure
8737 * debug.C: add CHANGES debug flag
8740 * lyxfind.C: add code for finding the next change piece
8743 * lyxrc.C: add user_name and user_email
8746 * lyxrow.C: add a metric for the top of the text line
8749 * text.C: implement accept/rejectChange()
8752 * text.C: paint changebars. Paint new/deleted text in the chosen
8753 colours. Strike through deleted text.
8757 * paragraph_pimpl.h:
8758 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8759 in the current change to the insert functions. Rework erase to
8760 mark text as deleted, adding an eraseIntern() and a range-based
8761 erase(). Implement per-paragraph change lookup and
8764 * paragraph_funcs.C: Fixup paste for change tracking.
8766 * tabular.C: mark added row/columns as new.
8768 * text.C: fix rowLast() to never return -1. Don't allow
8769 spellchecking of deleted text. Track transpose changes. Don't
8770 allow paragraph break or merge where appropriate.
8772 * text2.C: leave cursor at end of selection after a cut.
8774 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8776 * text.C (getLengthMarkerHeight):
8777 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8778 visible on screen too.
8780 2003-02-07 John Levon <levon@movementarian.org>
8782 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8784 2003-02-05 Angus Leeming <leeming@lyx.org>
8786 * lyxserver.C (read_ready): revert my patch of 11 September last year
8787 as it sends PC cpu through the roof. Presumably this means that
8788 the lyxserver will no longer run on an Alpha...
8790 2003-01-30 Angus Leeming <leeming@lyx.org>
8792 * factory.C (createInset): create an InsetCommandParam of type "index"
8793 and use it to 'do the right thing'.
8795 * text2.C (getStringToIndex): ensure that cursor position is always
8796 reset to the reset_cursor position.
8798 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8800 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8803 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8807 * lyxfunc.C: Output messages with identical spelling, punctuation,
8810 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8812 * MenuBackend.C (expandFormats): List only viewable export formats
8815 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8818 * lyxfunc.C (getStatus): Make sure that formats other than
8819 "fax" can also be disabled
8821 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8823 * text3.C (dispatch): put the lfuns that insert insets in 3
8824 groups, and call doInsertInset with appropriate arguments.
8825 (doInsertInset): new function, that creates an inset and inserts
8826 it according to some boolean parameters.
8828 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8830 * buffer.C (readFile): remember to pass on 'par' when calling
8831 readFile recursively.
8833 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * MenuBackend.C (expandFormats): add "..." to import formats.
8837 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8839 * paragraph.C (asString): Remove XForms RTL hacks.
8841 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8842 * buffer.C: fix typo
8844 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8846 * Makefile.am (LIBS): delete var
8847 (lyx_LDADD): add @LIBS@ here instead.
8849 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8851 * Clarify the meaning of "wheel mouse jump"
8853 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8855 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8858 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8860 * importer.C (Loaders): do not preallocate 3 elements in the
8861 vector, since one ends up with 6 elements otherwise
8863 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8865 * DepTable.C (write): write the file name as last element of the
8866 .dep file (because it may contain spaces)
8867 (read): read info in the right order
8869 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * paragraph_pimpl.C (simpleTeXBlanks):
8872 (simpleTeXSpecialChars):
8873 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8875 * tabular.C (latex): add some missing case statements. Reindent.
8877 * MenuBackend.C (expandToc): remove unused variable.
8879 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8888 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8891 2003-01-05 John Levon <levon@movementarian.org>
8894 * BufferView.C: add getEncoding()
8897 * kbsequence.C: do not store last keypress
8900 * lyxfunc.C: store last keypress here instead. Pass encoding
8903 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8905 * lyx_main.C (init): remove annoying error message when following
8906 symbolic links (bug #780)
8908 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8910 * text.C (insertChar):
8911 * lyxrc.C (getDescription): remove extra spaces
8913 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * lyxrc.C (getDescription): remove extra spaces
8917 2002-12-20 John Levon <levon@movementarian.org>
8919 * text3.C: hack fix for page up/down across tall rows
8921 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8923 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8926 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8928 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8929 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8930 thesaurus is not compiled in
8932 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8934 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8936 2002-12-16 Angus Leeming <leeming@lyx.org>
8939 * lyx_main.C (init): remove override_x_deadkeys stuff.
8941 2002-12-12 John Levon <levon@movementarian.org>
8943 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8944 insert. Only remove shift modifier under strict
8947 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * MenuBackend.C (expandToc): fix crash.
8951 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * MenuBackend.C (expandToc): gettext on float names.
8955 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8957 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8958 implement bool empty() [bug 490]
8960 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8964 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * several files: ws changes
8968 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * text2.C (setCounter): clean up a bit, use boost.format.
8971 (updateCounters): initialize par upon declaration.
8973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8974 if the layout exists. We do not just store the layout any more.
8975 (SwitchLayoutsBetweenClasses): use boost.format
8977 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8979 * converter.C (convert): if from and to files are the same, use a
8980 temporary files as intermediary
8982 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8985 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8987 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8989 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8991 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8993 * tabular.C (asciiPrintCell): use string(size, char) instead of
8996 * sgml.C (openTag): fix order of arguments to string constructor
8999 * lyxfunc.C (dispatch): use boost.format
9001 * lots of files: change "c" -> 'c'
9003 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9005 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9007 2002-11-25 Angus Leeming <leeming@lyx.org>
9009 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9011 * lyx_main.C (init): compile fix.
9013 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * lyx_cb.C (start): boost.formatify
9016 do not include <iostream>
9018 * lengthcommon.C: ws only
9020 * boost-inst.C,BoostFormat.h: add more explict instantations
9022 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9024 * lots of files: handle USE_BOOST_FORMAT
9026 2002-11-21 John Levon <levon@movementarian.org>
9028 * pspell.C: fix compile
9030 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * lyxfunc.C (dispatch): use boost::format
9036 * lyxfont.C (stateText): use boost::format
9038 * lyx_main.C (LyX): use boost::format
9040 (queryUserLyXDir): ditto
9043 (typedef boost::function): use the recommened syntax.
9045 * importer.C (Import): use boost::format
9047 * debug.C (showLevel): use boost::format
9049 * converter.C (view): use boost::format
9054 * bufferview_funcs.C (currentState): use boost::format
9056 * bufferlist.C (emergencyWrite): use boost::format
9058 * buffer.C (readLyXformat2): use boost::format
9059 (parseSingleLyXformat2Token): ditto
9061 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9063 * LaTeX.C (run): use boost::format
9065 * Chktex.C (scanLogFile): use boost::format
9067 * BufferView_pimpl.C (savePosition): use boost::format
9068 (restorePosition): ditto
9069 (MenuInsertLyXFile): ditto
9071 * BoostFormat.h: help file for explicit instation.
9073 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9075 * tabular.C (latex): Support for block alignment in fixed width
9078 2002-11-17 John Levon <levon@movementarian.org>
9080 * BufferView_pimpl.C:
9082 * lyxfunc.C: split filedialog into open/save
9084 2002-11-08 Juergen Vigna <jug@sad.it>
9086 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9087 by my last patch (hopefully).
9089 2002-11-08 John Levon <levon@movementarian.org>
9098 * toc.C: ParConstIterator, and use it (from Lars)
9100 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9102 * lyxtextclass.[Ch]: revise and add doxygen comments
9104 2002-11-07 John Levon <levon@movementarian.org>
9106 * text.C: fix progress value for spellchecker
9108 * toc.C: fix navigate menu for insetwrap inside minipage
9110 * paragraph_funcs.C: added FIXME for suspect code
9112 2002-11-07 John Levon <levon@movementarian.org>
9114 * BufferView_pimpl.C: fix redrawing of insets
9117 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * text2.C (updateCounters): fix bug 668
9121 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9123 * text3.C (dispatch): Do not make the buffer dirty when moving the
9126 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * vc-backend.C: STRCONV
9131 * text2.C (setCounter): STRCONV
9133 * paragraph.C (asString): STRCONV
9135 * lyxlength.C (asString): STRCONV
9136 (asLatexString): ditto
9138 * lyxgluelength.C (asString): STRCONV
9139 (asLatexString): ditto
9141 * lyxfunc.C (dispatch): STRCONV
9144 * lyxfont.C (stateText): STRCONV
9146 * importer.C (Import): STRCONV
9148 * counters.C (labelItem): STRCONV
9149 (numberLabel): ditto
9150 (numberLabel): remove unused ostringstream o
9155 * bufferview_funcs.C (currentState): STRCONV
9157 * buffer.C (readFile): STRCONV
9158 (asciiParagraph): ditto
9159 (makeLaTeXFile): ditto
9161 * Spacing.C (writeEnvirBegin): STRCONV
9163 * LaTeXFeatures.C (getLanguages): STRCONV
9164 (getPackages): ditto
9166 (getBabelOptions): ditto
9167 (getTClassPreamble): ditto
9168 (getLyXSGMLEntities): ditto
9169 (getIncludedFiles): ditto
9173 (scanAuxFile): ditto
9176 * LString.h: add the STRCONV macros
9178 * BufferView_pimpl.C (savePosition): STRCONV
9179 (restorePosition): ditto
9180 (MenuInsertLyXFile): ditto
9182 * vc-backend.C (scanMaster): change from submatch[...] to
9185 * funcrequest.C: include config.h
9187 * factory.C: include config.h
9189 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9191 * box.C: include config.h
9193 * LaTeX.C (scanAuxFile): change from submatch[...] to
9197 2002-10-25 Angus Leeming <leeming@lyx.org>
9199 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9201 * ispell.[Ch] (setError): new method.
9202 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9203 Use setError() insetead of goto END.
9205 * lyx_cb.C (AutoSave): move out child process into new class
9208 2002-10-30 John Levon <levon@movementarian.org>
9210 * text3.C: make start appendix undoable
9212 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9214 * lyxlength.C (inPixels): Fix returned value.
9216 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9219 2002-10-24 Angus Leeming <leeming@lyx.org>
9221 * lyxgluelength.h: no need to forward declare BufferParams
9222 or BufferView, so don't.
9224 2002-10-21 John Levon <levon@movementarian.org>
9226 * BufferView.C: menuUndo ->undo, redo
9228 * BufferView.h: document, remove dead, make some methods private
9230 * paragraph_funcs.h:
9231 * paragraph_funcs.C:
9232 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9237 * sgml.C: move sgml open/close tag into sgml.C
9239 * bufferview_funcs.h: unused prototype
9242 * lyxfunc.C: remove unused
9245 * text.C: remove unused
9247 2002-10-21 John Levon <levon@movementarian.org>
9251 * BufferView_pimpl.h:
9252 * BufferView_pimpl.C: fix mouse wheel handling based on
9253 patch from Darren Freeman
9255 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9257 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9259 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9261 * lyxlength.C (inPixels): Fix hanfling of negative length.
9262 Fix LyXLength::MU case.
9264 2002-10-16 John Levon <levon@movementarian.org>
9266 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9268 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9270 * converter.C (view): add support for $$i (file name) and $$p
9271 (file path) for the viewer command. If $$i is not specified, then
9272 it is appended to the command (for compatibility with old syntax)
9274 2002-10-14 Juergen Vigna <jug@sad.it>
9276 * undo_funcs.C (textHandleUndo): alter the order in which the
9277 new undopar is added to the LyXText, as we have to set first
9278 the right prev/next and then add it as otherwise the rebuild of
9279 LyXText is not correct. Also reset the cursor to the right paragraph,
9280 with this IMO we could remove the hack in "redoParagraphs()".
9282 2002-10-09 Angus Leeming <leeming@lyx.org>
9284 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9285 to turn off an optimisation if a new inset is to be inserted.
9287 2002-10-11 André Pönitz <poenitz@gmx.net>
9289 * lyxtext.h: make some functions public to allow access
9290 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9292 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * text3.C (dispatch): when changing layout, avoid an infinite loop
9297 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * lyxrc.C (read): treat a viewer or converter command of "none" as
9302 * MenuBackend.C (expandFormats): for an update, also allow the
9303 formats that are not viewable
9305 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9306 script if it is newer than the lyxrc.defaults in user directory
9308 2002-10-07 André Pönitz <poenitz@gmx.net>
9310 * text.C: Vitaly Lipatov's small i18n fix
9312 2002-09-25 Angus Leeming <leeming@lyx.org>
9314 * ispell.h: doxygen fix.
9316 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9318 * buffer.h (readFile): Add a new argument to the method, to allow
9319 reading of old-format templates.
9321 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9323 * toc.C (getTocList): Get TOC from InsetWrap.
9325 2002-09-16 John Levon <levon@movementarian.org>
9327 * lyxfunc.C: check tabular for cut/copy too
9329 2002-09-12 John Levon <levon@movementarian.org>
9334 * factory.C: add header
9336 * paragraph_funcs.h:
9337 * paragraph_funcs.C: cleanup
9339 2002-09-11 John Levon <levon@movementarian.org>
9341 * PrinterParams.h: odd/even default to true
9343 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9345 * PrinterParams.h: update printer parameters for new xforms dialog
9347 2002-09-11 Angus Leeming <leeming@lyx.org>
9349 * lyxserver.C (read_ready): re-write to make it more transparent
9350 and to make it work in coherent fashion under Tru64 Unix.
9352 2002-09-11 André Pönitz <poenitz@gmx.net>
9356 * text3.C: implement LFUN_WORDSEL
9358 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9360 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9361 make floatlist_ a boost::shared_ptr<FloatList>
9363 * lyxtextclass.C: include FloatList.h
9364 (LyXTextClass): initialize floatlist_
9365 (TextClassTags): add TC_NOFLOAT
9366 (Read): match "nofloat" to TC_NOFLOAT and use it.
9367 (readFloat): modify call to floatlist_
9371 * FloatList.[Ch] (FloatList): remove commented out float
9373 (erase): new function
9375 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9377 * MenuBackend.C (expandToc): fix crash when there is no document
9380 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9382 * many files: Add insetwrap.
9384 2002-09-09 John Levon <levon@movementarian.org>
9386 * text2.C: remove confusing and awkward depth wraparound
9388 2002-09-09 John Levon <levon@movementarian.org>
9390 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9393 * buffer.C: remove getIncludeonlyList()
9396 * lyxfunc.C: remove headers
9398 2002-09-09 Juergen Vigna <jug@sad.it>
9400 * text.C (getColumnNearX): fix form Michael this is most
9401 probably a cut&paste bug.
9403 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9405 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9407 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9408 references, ws changes.
9410 * text2.C (init): update counters after init
9411 (insertParagraph): no need to set counter on idividual paragraphs.
9412 (setCounter): access the counters object in the textclass object
9413 on in the buffer object.
9414 (updateCounters): ditto
9416 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9417 shared_ptr<Counters> to avoid loading counters.h in all
9419 (LyXTextClass): initialize ctrs_
9420 (TextClassTags): add TC_COUNTER, and ...
9421 (Read): use it here.
9422 (CounterTags): new tags
9423 (readCounter): new function
9424 (counters): new funtion
9425 (defaultLayoutName): return a const reference
9427 * counters.C (Counters): remove contructor
9428 (newCounter): remove a couple of unneeded statements.
9429 (newCounter): simplify a bit.
9430 (numberLabel): some small formatting changes.
9432 * buffer.[Ch]: remove all traces of counters, move the Counters
9433 object to the LyXTextClass.
9435 2002-09-06 Alain Castera <castera@in2p3.fr>
9437 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9438 package to set the horizontal alignment on fixed width columns.
9441 * lyx_sty.h: added tabularnewline macro def.
9443 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9445 2002-09-06 John Levon <levon@movementarian.org>
9447 * LyXAction.C: tooltips for sub/superscript
9449 * MenuBackend.C: a bit more verbose
9451 * lyxfunc.C: tiny clean
9453 * undo_funcs.C: document undo_frozen
9455 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9457 * counters.C (Counters): add missing algorithm counter.
9459 * text2.C (setCounter): lookup the counter with layouts latexname
9460 instead of by section number.
9461 (setCounter): use a hackish way to lookup the correct enum
9463 a float name->type change
9464 reset enum couners with counter name directly instead of depth value.
9466 * counters.C (Counters): remove the push_backs, change to use the
9467 float type not the float name.
9468 (labelItem): remove unused string, float name->type change
9470 * counters.h: don't include vector, loose the enums and sects vectors
9472 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9474 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9475 (Read): add float->TC_FLOAT to textclassTags
9476 (Read): and handle it in the switch
9477 (readFloat): new function
9479 * FloatList.C (FloatList): comment out the hardcoded float
9482 * lyxlayout.h: ws change.
9484 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9486 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9488 2002-09-03 Angus Leeming <leeming@lyx.org>
9490 * BufferView_pimpl.h: qualified name is not allowed in member
9491 declaration: WorkArea & Pimpl::workarea() const;
9493 * factory.C: added using std::endl directive.
9495 * text3.C: added using std::find and std::vector directives.
9497 2002-08-29 André Pönitz <poenitz@gmx.net>
9500 * text2.C: remove unused member number_of_rows
9503 * BufferView2.C: remove file, move contents to...
9504 * BufferView.C: ... here
9506 * BufferView_pimpl.C:
9507 * factory.C: move more inset creation to factory
9509 * vspace.C: avoid direct usage of LyXText, ws changes
9512 don't provide direct access to WorkArea, use two simple
9513 acessors haveSelction() and workHeight() instead
9516 2002-08-29 John Levon <levon@movementarian.org>
9518 * BufferView_pimpl.C (dispatch): do not continue when
9521 2002-08-28 André Pönitz <poenitz@gmx.net>
9523 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9526 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9528 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9530 * buffer.C: increment LYX_FORMAT to 221
9532 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9533 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9535 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9537 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9539 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * factory.C (createInset): use LyXTextClass::floats
9543 * MenuBackend.C (expandFloatListInsert):
9544 (expandFloatInsert):
9547 * text2.C (setCounter):
9549 * LaTeXFeatures.C (useFloat):
9550 (getFloatDefinitions):
9552 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9554 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9555 floatlist_, with accessor floats().
9557 * FloatList.h: remove global FloatList
9559 2002-08-26 André Pönitz <poenitz@gmx.net>
9561 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9565 * BufferView_pimpl.C:
9566 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9568 2002-08-25 John Levon <levon@movementarian.org>
9570 * LyXAction.C: fix margin note description
9572 2002-08-24 John Levon <levon@movementarian.org>
9576 * bufferview_funcs.C:
9578 * undo_funcs.C: cleanups
9580 * lyxfunc.C: disable CUT/COPY when no selection
9582 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9584 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9585 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9587 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9588 Add backward compatibility to "mono", "gray" and "no".
9590 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9592 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9593 (and file_format >= 200).
9595 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9599 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9603 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9605 * BufferView_pimpl.C:
9612 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9613 inset and code to make it work with the paragraph code. The inset
9614 can be anywhere in the paragraph, but will only do the expected
9615 thing in LaTeX if the layout file contains the parameter line
9617 (or more generally, a nonzero value) for that layout.
9619 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9621 * paragraph.h: remove the declaration of undefined counters class
9624 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9626 * text2.C (setCounter): fixed enumeration mis-count as reported by
9627 Dr. Richard Hawkins.
9629 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * paragraph_funcs.h: remove some unneeded includes
9633 * text.C (backspace): pasteParagraph now in global scipe
9635 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9636 (pasteSelection): ditto
9638 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9639 * paragraph_funcs.C (pasteParagraph): ... here
9641 2002-08-20 André Pönitz <poenitz@gmx.net>
9643 * commandtags.h: new LFUNs for swapping/copying table row/colums
9646 * lyxfunc.C: support for new lfuns
9648 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9651 * buffer.[Ch]: remove NO_COMPABILITY stuff
9653 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9655 * boost.C (throw_exception): new file, with helper function for
9656 boost compiled without exceptions.
9661 * ParameterStruct.h:
9662 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9664 * bufferlist.C (emergencyWriteAll): use boost bind
9666 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9668 * text.C: include paragraph_funcs.h
9669 (breakParagraph): breakParagraph is now in global scope
9671 * paragraph_funcs.[Ch]: new files
9673 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9676 * buffer.C: include paragraph_funcs.h
9677 (insertStringAsLines): breakParagraph is now in global scope
9679 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9682 * CutAndPaste.C: include paragraph_funcs.h
9683 (cutSelection): breakParagraphConservative is now in global scope
9684 (pasteSelection): ditto
9686 * buffer.h: declare oprator== and operator!= for
9687 Buffer::inset_iterator
9689 * bufferlist.C (emergencyWrite): don't use fmt(...)
9691 * text3.C: add using std::endl
9693 * BufferView.C (moveCursorUpdate): remove default arg
9695 2002-08-20 André Pönitz <poenitz@gmx.net>
9697 * buffer.[Ch]: move inline functions to .C
9700 * BufferView_pimpl.C:
9702 * buffer.[Ch]: use improved inset_iterator
9705 * paragraph.[Ch]: write one paragraph at a time
9707 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9709 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9710 style if style is not specified.
9712 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9714 * text2.C (setCounter): when searching for right label for a
9715 caption, make sure to recurse to parent insets (so that a caption
9716 in a minipage in a figure float works) (bug #568)
9718 2002-08-20 André Pönitz <poenitz@gmx.net>
9720 * text3.C: new file for LyXText::dispatch() and helpers
9722 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9724 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9726 2002-08-19 André Pönitz <poenitz@gmx.net>
9729 * text.C: new LyXText::dispatch()
9731 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9733 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9735 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9737 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9740 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9742 * Makefile.am: use $(variables) instead of @substitutions@
9744 2002-08-15 André Pönitz <poenitz@gmx.net>
9747 * BufferView_pimpl.C: streamlining mathed <-> outer world
9751 * LyXAction.C: remove unused LFUN_MATH
9753 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9755 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9757 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9759 * paragraph.C (Paragraph): reformat a bit
9760 (cutIntoMinibuffer): use builtin InsetList function instad of
9764 * buffer.C: include boost/bind.hpp, add using std::for_each
9765 (writeFileAscii): use ParagraphList iterators
9766 (validate): use for_each for validate traversal of paragraphs
9767 (getBibkeyList): use ParagraphList iterators
9768 (resizeInsets): use for_each to resizeInsetsLyXText for all
9770 (getParFromID): use ParagraphList iterators
9772 * BufferView2.C (lockInset): use paragraph list and iterators
9774 2002-08-14 John Levon <levon@movementarian.org>
9776 * lyxserver.C: remove spurious xforms include
9778 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9782 2002-08-13 André Pönitz <poenitz@gmx.net>
9785 * lyxfunc.C: further cleaning
9787 2002-08-13 André Pönitz <poenitz@gmx.net>
9789 * funcrequest.h: new constructor
9791 * funcrequest.C: move stuff here from .h
9794 * BufferView_pimpl.C:
9797 * lyxfunc.C: subsequent changes
9799 * lyxfunc.h: new view() member function
9801 * lyxfunc.C: subsequent changes
9803 2002-08-13 Angus Leeming <leeming@lyx.org>
9806 * BufferView_pimpl.C:
9814 changes due to the changed LyXView interface that now returns references
9815 to member variables not pointers.
9817 2002-08-13 Angus Leeming <leeming@lyx.org>
9819 * WordLangTuple (word, lang_code): return references to strings,
9824 * lyxtext.h: forward-declare WordLangTuple.
9829 * text.C: #include "WordLangTuple.h".
9832 * text.C: (selectNextWordToSpellcheck): constify return type.
9834 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9840 * paragraph_pimpl.h:
9843 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9845 Made updateCounter always count from start of buffer, and removed
9846 second argument (par).
9847 Reverted floats number display to '#'. Perhaps I'll try again when the
9848 code base is sanitized a bit.
9850 2002-08-12 Angus Leeming <leeming@lyx.org>
9852 * buffer.[Ch] (getLabelList): constify.
9854 2002-08-07 André Pönitz <poenitz@gmx.net>
9856 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9858 * funcrequest.h: extension to keep mouse (x,y) position
9860 2002-08-12 Juergen Vigna <jug@sad.it>
9862 * BufferView2.C (insertErrors): forbid undo when inserting error
9865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9867 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9869 * ParagraphList.[Ch]: new files
9871 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9873 * BufferView2.C (lockInset): ParagraphList changes
9876 * bufferlist.C: ditto
9880 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9882 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9883 unused class variable counter_,
9885 * paragraph.[Ch] (getFirstCounter): delete unused function
9887 * counters.C: include LAssert.h
9888 (reset): add a new function with no arg, change other version to
9889 not have def. arg and to not allow empty arg.
9891 * text2.C (setCounter): remove empty arg from call to Counters::reset
9893 2002-08-11 John Levon <levon@movementarian.org>
9895 * Makefile.am: add WordLangTuple.h
9897 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9899 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9900 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9902 * insets/insettext.C: InsetList changes
9904 * graphics/GraphicsSupport.C (operator()): InsetList changes
9906 * toc.C (getTocList): InsetList changes
9908 * paragraph_pimpl.[Ch]: InsetList changes
9910 * paragraph.[Ch]: InsetList changes
9912 * buffer.C (inset_iterator): InsetList changes
9913 (setParagraph): ditto
9914 * buffer.h (inset_iterator): ditto
9915 * iterators.C (operator++): ditto
9916 * iterators.h: ditto
9918 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9920 * InsetList.[Ch]: new files, most InsetList handling moved out of
9923 * BufferView2.C (removeAutoInsets): InsetList changes
9925 (ChangeInsets): ditto
9927 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9929 * paragraph_pimpl.h (empty): new function
9931 * paragraph.[Ch] (empty): new function
9933 * other files: use the new Paragraph::empty function
9935 2002-08-09 John Levon <levon@movementarian.org>
9937 * lyxtext.h: remove unused refresh_height
9939 2002-08-09 John Levon <levon@movementarian.org>
9946 * paragraph.C: move sgml char escaping out of paragraph
9949 * paragraph.C: remove id setter
9953 * paragraph_pimpl.C: remove dead tex_code_break_column
9955 * bufferview_funcs.C: small cleanup
9957 * lyxfunc.C: remove dead proto
9959 * lyxtext.h: make some stuff private. Remove some dead stuff.
9961 * lyxgluelength.C: make as[LyX]String() readable
9963 2002-08-08 John Levon <levon@movementarian.org>
9968 * ToolbarDefaults.C:
9971 * toc.C: lyxaction cleanup
9973 2002-08-08 John Levon <levon@movementarian.org>
9975 * BufferView2.C: small cleanup
9978 * lyxfind.C: move unnecessary header into the .C
9980 2002-08-08 John Levon <levon@movementarian.org>
9982 * funcrequest.h: just tedious nonsense
9985 * lyx_main.C: cleanups
9988 * vspace.C: remove dead header lyx_main.h
9990 2002-08-07 Angus Leeming <leeming@lyx.org>
9993 * paragraph_pimpl.h:
9994 Forward declare class Counters in paragraph.h by moving the ctrs member
9995 variable into Paragraph::Pimpl.
9996 (counters): new method, returning a reference to pimpl_->ctrs.
9998 * text2.C: ensuing changes.
10000 2002-08-07 John Levon <levon@movementarian.org>
10002 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10004 * BufferView_pimpl.C: announce X selection on double/triple
10007 * lyx_main.C: use correct bool in batch dispatch
10009 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10011 2002-08-07 André Pönitz <poenitz@gmx.net>
10013 * funcrequest.h: new class to wrap a kb_action and its argument
10016 * BufferView_pimpl[Ch]:
10020 * lyxrc.C: subsequent changes
10023 2002-08-07 John Levon <levon@movementarian.org>
10025 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10026 document options change.
10028 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10033 * makefile.am: move counters functionality over from
10034 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10036 2002-08-06 John Levon <levon@movementarian.org>
10038 * WordLangTuple.h: new file for word + language code tuple
10049 * BufferView2.C: use WordLangTuple
10052 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10054 2002-08-06 John Levon <levon@movementarian.org>
10056 * lyx_main.C: fix cmdline batch handling
10058 2002-08-06 André Pönitz <poenitz@gmx.net>
10060 * lyxrc.C: set default for show_banner to true
10062 2002-08-06 John Levon <levon@movementarian.org>
10064 * pspell.C: fix a crash, and allow new aspell to work
10066 2002-08-06 John Levon <levon@movementarian.org>
10069 * kbmap.C: small cleanup
10072 * vspace.C: add const
10074 2002-08-05 John Levon <levon@movementarian.org>
10076 * LyXAction.C: back to tabular-insert
10078 2002-08-04 John Levon <levon@movementarian.org>
10081 * BufferView.C: cosmetic change
10083 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10093 * BufferView2.C: purge all "Lyx" not "LyX" strings
10096 * lyxcursor.C: attempt to add some documentation
10101 * ToolbarDefaults.C:
10102 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10103 merge with LFUN_TABULAR_INSERT
10110 * pspell.C: split up i/pspell implementations into separate
10111 files, many cleanups
10113 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10115 * text2.C: some cleanup
10117 * lyxfunc.C: don't check for isp_command == "none" any more, it
10118 didn't make any sense
10120 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10125 * makefile.am: move counters functionality over
10126 from text2.C/paragraph.[Ch] to counters.[Ch], and
10128 2002-08-02 John Levon <levon@movementarian.org>
10130 * buffer.C: s/lyxconvert/lyx2lyx/
10132 2002-08-02 Angus Leeming <leeming@lyx.org>
10134 * lyxlex.C: revert John's change as it breaks reading of the user
10137 2002-08-02 Angus Leeming <leeming@lyx.org>
10139 * importer.C (Import):
10140 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10141 changes due to LyXView::view() now returning a boost::shared_ptr.
10143 2002-08-02 John Levon <levon@movementarian.org>
10145 * lyxlex.C: small cleanup
10147 2002-08-02 John Levon <levon@movementarian.org>
10149 * text2.C (status): small cleanup, no logic change
10151 2002-08-01 John Levon <levon@movementarian.org>
10154 * buffer.C (writeFile): don't output alerts, caller
10158 * lyx_cb.C: from above
10160 * lyxfunc.C: allow to open non-existent files
10162 2002-07-31 John Levon <levon@movementarian.org>
10164 * lyxserver.C: don't let incidental errors get
10167 2002-07-30 John Levon <levon@movementarian.org>
10169 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10171 2002-07-30 John Levon <levon@movementarian.org>
10174 * lyxserver.C: remove I/O callback too
10176 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10181 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10183 * many files: strip,frontStrip -> trim,ltrim,rtrim
10185 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10187 * PrinterParams.h: remove extern containsOnly, and include
10188 support/lstrings.h instead.
10190 * LaTeX.C (scanAuxFile): modify because of strip changes
10192 * buffer.C (makeLaTeXFile): ditto
10193 * bufferparams.C (writeFile): ditt
10194 * lyxfont.C (stateText): ditto
10195 * lyxserver.C (read_ready): ditto
10196 * vc-backend.C (scanMaster): ditto
10198 * BufferView_pimpl.h: ws changes
10200 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10202 2002-07-26 André Pönitz <poenitz@gmx.net>
10204 * kb_sequence.C: remove unnedred usings
10206 2002-07-26 Juergen Vigna <jug@sad.it>
10208 * lyxfind.C (LyXReplace): we have to check better if the returned
10209 text is not of theLockingInset()->getLockingInset().
10211 2002-07-25 Juergen Vigna <jug@sad.it>
10213 * lyxfind.C (LyXReplace): don't replace if we don't get the
10216 * undo_funcs.C (createUndo): remove debugging code.
10218 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10220 * buffer.C (parseSingleLyXformat2Token): Use default placement
10221 when reading old floats.
10223 * FloatList.C (FloatList): Change the default placement of figure
10224 and tables to "tbp".
10226 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10228 * MenuBackend.C: using std::max
10230 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * MenuBackend.C (expandToc):
10233 (expandToc2): code moved from xforms menu frontend. It is now
10234 generic and TOCs are transparent to menu frontends.
10236 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10238 * toc.C (getTocList): protect against buf=0
10240 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10241 Menu as first parameter. Now, this calls itself recursively to
10242 expand a whole tree (this will be useful for TOC handling)
10243 (expandFloatInsert): remove 'wide' version of floats
10245 * MenuBackend.h (submenuname): returns the name of the submenu.
10246 (submenu): returns the submenu itself, provided it has been
10247 created by MenuBackend::expand
10249 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10251 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10252 insets which have noFontChange == true. (bug #172)
10254 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10256 * BufferView_pimpl.C: add connection objects and use them...
10259 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10261 * MenuBackend.C (expandLastfiles):
10264 (expandFloatListInsert):
10265 (expandFloatInsert):
10266 (expand): split expand in parts
10268 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10270 * lyx_gui.C: use lyx_gui::exit()
10272 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10274 * LyXAction.C: show the failing pseudo action
10276 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10278 * buffer.C (readFile): Run the lyxconvert script in order to read
10281 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10285 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10287 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10291 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10293 2002-07-22 Herbert Voss <voss@lyx.org>
10296 * lyxlength.[Ch]: add support for the vertical lengths
10298 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10300 * toc.[Ch]: std:: fixes
10302 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10304 * lyxrc.C: do not include lyx_main.h
10306 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10312 * BufferView2.C: include "lyxlex.h"
10315 * bufferparams.h: do not #include "lyxlex.h"
10317 * lyxtextclasslist.C (Add): remove method
10318 (classlist): renamed to classlist_
10320 * paragraph_pimpl.C:
10324 * bufferview_funcs.C:
10329 * toc.C (getTocList): use BufferParams::getLyXTextClass
10331 * toc.C (getTocList): use InsetFloat::addToToc
10333 * toc.[Ch]: new files, containing helper functions to handle table
10336 * lyxfunc.C (dispatch): no need to remove spaces around command
10338 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10339 first command of the sequence; it is not very clever, but I do not
10340 have a better idea, actually
10342 * LyXAction.C (LookupFunc): make sure to remove space at the
10343 beginning and end of the command
10345 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * MenuBackend.C (getMenubar): new method: return the menubar of
10349 (read): treat differently reading of menu and menubar (in
10350 particular, the menubar has no name now)
10351 (Menu::menubar): remove
10353 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10356 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10358 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10359 a bibitem inset in a RTL paragraph.
10361 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10363 * paragraph_pimpl.C: constify
10365 * BufferView_pimpl.C:
10367 * lyxfunc.C: fix dispatch in a nicer way
10369 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * lyxfunc.C (dispatch):
10372 * BufferView_pimpl.C:
10373 * BufferView_pimpl.h:
10375 * BufferView.h: rename Dispatch() to dispatch()
10377 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10379 * lyxlayout.C (Read): honor DependsOn tag
10381 * lyxlayout.[Ch] (depends_on): new method
10383 * version.C.in: update lyx_docversion
10385 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10387 * paragraph.C (validate): remove from here...
10388 * paragraph_pimpl.C (validate): ... and move here
10389 (isTextAt): make it const
10391 * buffer.C (getLists): ws cleanup
10393 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10395 * language.C (read): Use iso8859-1 encoding in latex_lang
10396 (this prevents LyX from crashing when using iso10646-1 encoding).
10398 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10400 * text2.C (toggleInset): if cursor is inside an inset, close the
10401 inset and leave cursor _after_ it
10403 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10405 * lyxfunc.C: move minibuffer completion handling out of here
10407 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10409 * BufferView_pimpl.C:
10410 * LaTeX.C: fix dispatch calls
10412 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10414 * text.C (drawChars): Fix Arabic text rendering.
10416 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10420 * lyxfunc.C: remove message-push/pop
10424 * lyxfunc.C: rationalise some code by removing verboseDispatch
10425 in favour of a bool argument to dispatch()
10427 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * lyx_main.C (init): make sure to read symlinks as absolute paths
10431 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10434 * lyxfunc.C: no need for commandshortcut to be a member
10436 2002-07-15 André Pönitz <poenitz@gmx.net>
10438 * converter.C: add support for $$s (scripts from lib/scripts dir)
10439 * lyx_main.C: white space
10441 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10445 * lyxrc.C: remove second exit confirmation
10447 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10452 * BufferView_pimpl.h:
10453 * BufferView_pimpl.C:
10454 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10456 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * MenuBackend.C (expand): add numeric shortcuts to document menu
10460 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10462 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * lyxfont.C (setLyXFamily):
10471 * buffer.C (asciiParagraph): use ascii_lowercase
10473 2002-07-15 Mike Fabian <mfabian@suse.de>
10475 * lyxlex_pimpl.C (search_kw):
10476 * lyxlex.C (getLongString):
10477 * converter.h (operator<):
10478 * converter.C (operator<):
10479 * buffer.C (parseSingleLyXformat2Token):
10481 * ToolbarDefaults.C (read):
10482 * MenuBackend.C (checkShortcuts):
10484 * LColor.C (getFromGUIName):
10485 (getFromLyXName): use the compare_ascii_no_case instead of
10486 compare_no_case, because in turkish, 'i' is not the lowercase
10487 version of 'I', and thus turkish locale breaks parsing of tags.
10489 2002-07-16 Angus Leeming <leeming@lyx.org>
10491 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10492 now takes a Buffer const & argument.
10494 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10496 * BufferView.C (resize): check there's a buffer to resize
10498 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10500 * lyxfunc.C: remove dead code
10503 * lyxserver.C: use lyx_guii::set_read_callback
10505 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10507 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10508 an inset in a RTL paragraph.
10510 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10512 * lyxfunc.C: repaint after a font size update
10514 2002-07-15 André Pönitz <poenitz@gmx.net>
10516 * lyxlength.C: inBP should be able to return negative values
10518 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10520 * lyxfunc.C: use lyx_gui::update_fonts()
10522 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10524 * lyxfunc.C: use lyx_gui::update_color()
10526 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10532 * lyxrc.C: remove file->new asks for name option, and let
10533 buffer-new take an argument
10535 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.C: remove unneeded extra repaint()
10539 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10541 * LyXAction.C: allow command-sequence with NoBuffer
10543 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10545 2002-07-10 Angus Leeming <leeming@lyx.org>
10547 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10549 2002-07-09 Angus Leeming <leeming@lyx.org>
10551 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10553 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10555 * lengthcommon.h: whitespace
10557 * lyxfunc.C: update scrollbar after goto paragraph
10559 * lyxtext.h: factor out page break drawing, and fix it so
10560 page break/added space paints as selected nicely
10562 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10564 * BufferView_pimpl.C: add FIXMEs, clean up a little
10566 2002-07-09 André Pönitz <poenitz@gmx.net>
10568 * lyxfont.[Ch]: support for wasy symbols
10570 2002-07-08 André Pönitz <poenitz@gmx.net>
10572 * BufferView_pimpl.C: apply John's patch for #93.
10574 2002-07-05 Angus Leeming <leeming@lyx.org>
10576 * BufferView_pimpl.C (buffer): generate previews if desired.
10578 * LColor.h: add "preview" to the color enum.
10580 * LColor.C (LColor): add a corresponding entry to the items array.
10582 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10585 2002-07-05 Angus Leeming <leeming@lyx.org>
10587 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10588 The body of the code is now in the method that is passed an ostream &
10589 rather than a file name.
10590 Pass an additional only_preamble parameter, useful for the forthcoming
10593 2002-07-03 André Pönitz <poenitz@gmx.net>
10595 * lyxfunc.C: simplify getStatus() a bit for math stuff
10597 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10599 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10601 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * text.C (changeRegionCase): do not change case of all the
10604 document when region ends at paragraph end (bug #461)
10606 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * paragraph.C (startTeXParParams):
10609 (endTeXParParams): add \protect when necessary
10611 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * BufferView_pimpl.C (workAreaExpose): remove warning
10615 2002-06-27 Angus Leeming <leeming@lyx.org>
10617 * Makefile.am: add lyxlayout_ptr_fwd.h.
10619 2002-06-26 André Pönitz <poenitz@gmx.net>
10621 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10623 2002-06-25 Angus Leeming <leeming@lyx.org>
10625 * lyxfunc.C (dispatch): Comment out the call to
10626 grfx::GCache::changeDisplay. The method no longer exists now that the
10627 pixmap generation part of the graphics loader has been moved into
10630 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * text2.C: layout as layout
10634 * text.C: layout as layout
10636 * tabular.C (OldFormatRead): layout as layout
10638 * paragraph_pimpl.C (TeXDeeper): layout as layout
10639 (realizeFont): layout as layout
10641 * paragraph.C (writeFile): layout as layout
10642 (validate): layout as layout
10643 (getFont): layout as layout
10644 (getLabelFont): layout as layout
10645 (getLayoutFont): layout as layout
10646 (breakParagraph): layout as layout
10647 (stripLeadingSpaces): layout as layout
10648 (getEndLabel): layout as layout
10649 (getMaxDepthAfter): layout as layout
10650 (applyLayout): layout as layout
10651 (TeXOnePar): layout as layout
10652 (simpleTeXOnePar): layout as layout
10653 (TeXEnvironment): layout as layout
10654 (layout): layout as layout
10655 (layout): layout as layout
10657 * lyxtextclass.C (compare_name): new functor to work with
10658 shared_ptr, layout as layout
10659 (Read): layout as layout
10660 (hasLayout): layout as layout
10661 (operator): layout as layout
10662 (delete_layout): layout as layout
10663 (defaultLayout): layout as layout
10665 * lyxlayout_ptr_fwd.h: new file
10667 * lyxlayout.C (Read): layout as layout
10669 * lyx_cb.C (MenuInsertLabel): layout as layout
10671 * bufferlist.C (newFile): layout as layout
10673 * buffer.C (readLyXformat2): layout as layout
10674 (parseSingleLyXformat2Token): layout as layout
10675 (insertStringAsLines): layout as layout
10676 (asciiParagraph): layout as layout
10677 (latexParagraphs): layout as layout
10678 (makeLinuxDocFile): layout as layout
10679 (simpleLinuxDocOnePar): layout as layout
10680 (makeDocBookFile): layout as layout
10681 (simpleDocBookOnePar): layout as layout
10682 (getLists): layout as layout
10684 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10686 * CutAndPaste.C (cutSelection): layout as layout
10687 (pasteSelection): layout as layout
10688 (SwitchLayoutsBetweenClasses): layout as layout
10690 * BufferView_pimpl.C (Dispatch): layout as layout
10691 (smartQuote): layout as layout
10693 * BufferView2.C (unlockInset): layout as layout
10695 2002-06-24 André Pönitz <poenitz@gmx.net>
10697 * lyxfunc.C: fix #487
10699 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10703 * lyxfunc.C: remove display_shortcuts, show_banner
10705 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10707 * Buffer_pimpl.C: oops, update on resize
10709 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView.C: use repaint()
10718 * BufferView_pimpl.h:
10719 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10720 as it's a clearer description. Remove superfluous
10723 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10725 * text.C: fix bug 488. Not ideal, but getting
10726 getWord() to work properly for the insets that
10727 matter is more difficult ...
10729 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10731 * BufferView_pimpl.C:
10734 * lyxfunc.C: remove the six million index lyxfuncs to just
10735 one, and DTRT (bug 458)
10737 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10741 * BufferView_pimpl.h:
10742 * BufferView_pimpl.C: clean up resize() stuff,
10743 and unnecessary updateScreen()s
10745 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10749 * BufferView_pimpl.h:
10750 * BufferView_pimpl.C:
10753 * minibuffer.C: remove focus management of workarea,
10754 not needed. Use screen's greyOut()
10756 2002-06-17 Herbert Voss <voss@lyx.org>
10758 * converter.C: (convert) do not post a message, when converting
10759 fails, let the calling function decide what to do in this case
10761 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10763 * lyxfunc.C: tidy up a little
10765 2002-06-16 <alstrup@diku.dk>
10767 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10768 Got rid of FORMS_H_LOCATION include. Now we are
10771 2002-06-15 LyX Development team <lyx@rilke>
10773 * buffer.[Ch] (sgmlOpenTag):
10774 (sgmlCloseTag): Added support for avoiding pernicious mixed
10775 content. Return number of lines written.
10777 (makeLinuxDocFile):
10778 (makeDocBookFile): Fixed calls to sgml*Tag.
10779 Simple white space clean.
10781 (simpleDocBookOnePar): Simple white space clean.
10783 * tabular.[Ch] (docBook): Renamed to docbook and got another
10784 argument to related with the pernicious mixed content.
10786 (docbookRow): Fixed calls for docbook inset method.
10788 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10790 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10791 so it's X11 independent.
10795 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10797 2002-06-15 Lyx Development team <lyx@electronia>
10799 * intl.h: Renamed getTrans to getTransManager.
10801 2002-06-14 Angus Leeming <leeming@lyx.org>
10803 * Makefile.am: nuke forgotten stl_string_fwd.h.
10805 2002-06-12 Angus Leeming <leeming@lyx.org>
10807 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10809 2002-06-13 Angus Leeming <leeming@lyx.org>
10812 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10814 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10816 * kbmap.C (getiso): add support for cyrillic and greek
10818 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10822 * BufferView_pimpl.h:
10823 * BufferView_pimpl.C: move bogus scrolling logic
10826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10829 * BufferView_pimpl.C: view->resize() change
10831 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10833 * BufferView_pimpl.C: topCursorVisible
10836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10840 * lyx_gui.C: move to frontends/
10844 * lyx_main.C: changes from above
10846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10853 * lyx_main.C: minor tidy
10855 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10857 * BufferView_pimpl.h:
10858 * BufferView_pimpl.C:
10860 * BufferView.C: make painter() const,
10863 * BufferView2.C: use screen() accessor
10866 * lyx_main.C: some minor cleanup
10868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.h:
10871 * BufferView_pimpl.C: remove enter/leaveView,
10874 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10879 * BufferView_pimpl.h:
10880 * BufferView_pimpl.C: only construct screen once,
10883 * lyxrc.C: remove pointless comment
10885 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10888 * BufferView.C: remove active() and belowMouse()
10890 * BufferView_pimpl.h:
10891 * BufferView_pimpl.C: use workarea() not workarea_,
10892 and make it use a scoped_ptr instead
10894 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10896 * lyx_gui.C: add debug message on BadWindow
10898 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * sp_spell.C: fdopen is not part of the C++ standard.
10902 * paragraph.C (InsetIterator): use >= instead of ==
10904 2002-06-07 Angus Leeming <leeming@lyx.org>
10906 Fixes needed to compile with Compaq cxx 6.5.
10907 * BufferView_pimpl.C:
10914 * lyxtextclasslist.C:
10919 all c-library variables have been moved into namespace std. Wrap
10920 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10925 Add a using std::abs declaration.
10927 * kbmap.h (modifier_pair):
10928 * paragraph.h (InsetTable, InsetList):
10929 * lyxfont.h (FontBits):
10930 type definition made public.
10932 * bufferlist.C (emergencyWriteAll): the compiler complains that
10933 there is more than one possible lyx::class_fun template to choose from.
10934 I re-named the void specialisation as lyx::void_class_fun.
10936 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10938 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10939 the compiler is is unable to find tostr in write_attribute.
10941 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * buffer.C (sgmlError): hide #warning
10945 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10947 * xtl/*: get rid of xtl, which is not in use anyway
10949 * LyXAction.C (init):
10950 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10951 were unimplemented xtl experimentation
10953 2002-06-04 André Pönitz <poenitz@gmx.net>
10955 * lyxfunc.C: disable array operation on simple formulae
10957 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10959 * converter.C: constify a bit
10961 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10963 * lyx_gui.C: check xforms version correctly
10965 2002-04-30 Herbert Voss <voss@lyx.org>
10967 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10970 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10972 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10973 attempt to register it with a VCS)
10975 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10977 * lyx_main.C (init): honor variables LYX_DIR_13x and
10980 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10984 * lyx_main.C: fix a crash on bad command line,
10985 and give a useful exit status on error
10987 * lyxfunc.C (doImport): allow -i lyx to work
10989 2002-03-30 André Pönitz <poenitz@gmx.net>
10991 * lyxfunc.C: mathed font changes
10993 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11008 * trans_mgr.h: srcdocs, and some minor cleanups
11010 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11013 call getFont all the time)
11015 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11017 * switch from SigC signals to boost::signals
11019 2002-05-29 André Pönitz <poenitz@gmx.net>
11021 * paragraph_pimpl.C (getChar): don't call size() too often...
11023 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11025 * paragraph_pimpl.C (insertChar): do not try to update tables when
11026 appending (pos == size())
11028 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11029 in order to reduce drastically the number of comparisons needed to
11030 parse a large document
11032 2002-05-29 André Pönitz <poenitz@gmx.net>
11038 * textclasslist.[Ch]:
11039 * sp_ispell.h: whitespace change
11041 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11043 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11044 lyxaction directly now.
11046 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11050 * lyxvc.C: remove unused headers
11052 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11059 * undo_funcs.C: some cleanups. Use shared_ptr
11060 and a template for the undo stacks.
11062 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11064 * BufferView_pimpl.h:
11065 * BufferView_pimpl.C:
11072 * text2.C: use key_state/mouse_state
11074 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11079 * chset.C: change include order
11080 (loadFile): use boost regex and get rid of LRegex and LSubstring
11082 * Makefile.am (BOOST_LIBS): new variable
11083 (lyx_LDADD): use it
11085 * LaTeX.C: change include order.
11086 (scanAuxFile): use boost regex and get rid of LRegex and
11090 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11095 * FontInfo.C: moved to frontends/xforms/
11098 * FontLoader.C: moved into frontends for GUIIzation
11103 * lyxfunc.C: changes from above
11105 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11107 * LColor.C: remove spurious X include
11109 * BufferView_pimpl.C:
11114 * text2.C: move font metrics to frontends/
11116 2002-05-24 Juergen Vigna <jug@sad.it>
11118 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11119 setting the undo_cursor.
11121 * ParagraphParameters.h: include local includes first.
11123 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.C:
11126 * BufferView_pimpl.h:
11130 * screen.C: move WorkArea into frontends/
11136 * BufferView2.C: move LyXScreen into frontends/
11140 * lyx_gui.C: move lyxlookup into frontends/xforms/
11142 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11145 * BufferView_pimpl.C:
11155 * bufferview_funcs.C:
11168 * vc-backend.C: move LyX/XFormsView into frontends/
11170 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11182 * text2.C: move Painter to frontends/
11184 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * buffer.C: comment out some some code that depend upon lyx_format
11189 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11190 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11192 * buffer.h (NO_COMPABILITY): turn off compability
11194 * ColorHandler.C: include scoped_array.hpp
11196 * font.C: Use more specific smart_ptr header.
11199 * ShareContainer.h: ditto
11200 * lyx_main.h: ditto
11202 * FontInfo.h: ditto
11203 * BufferView_pimpl.h: ditto
11204 * ColorHandler.h: ditto
11206 * kbmap.C (defkey): change call to shared_ptr::reset
11208 2002-05-21 Juergen Vigna <jug@sad.it>
11210 * buffer.C (insertErtContents): fix to insert ert asis if it is
11211 non empty. Skip it completely if it contains only whitespaces.
11213 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11215 * BufferView_pimpl.C:
11216 * BufferView2.C: clear selection on paste (bug 393)
11218 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * DepTable.C: include ctime
11222 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11224 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11226 2002-05-14 Juergen Vigna <jug@sad.it>
11228 * text.C (breakParagraph): fixed function to honor the keepempty
11229 layout in the right maner and also to permit the right breaking
11230 algorithm on empty or non empyt keepempty paragraphs.
11232 * paragraph.C (breakParagraph): we have to check also if the par
11233 is really empty (!size()) for isempty otherwise we do the wrong
11236 2002-05-10 Juergen Vigna <jug@sad.it>
11238 * buffer.[Ch] : The following are only changes to the ert
11239 compatibility read reading old LaTeX layout and font stuff and
11240 convert it to ERTInsets.
11242 * buffer.h: added isErtInset().
11244 * buffer.C (struct ErtComp): add a fromlayout bool to check
11245 if we're inside a LaTeX layout.
11246 (isErtInset): new helper function.
11247 (insertErtContents): look for other ert insets before this one
11248 and insert the contents there, so that we don't have subsequent
11249 ERT insets with nothing between them. This way we create only one
11250 inset with multiple paragraphs. Also check if we don't insert only
11251 spaces ' ' as they are ignored anyway afterwards in the .tex file
11252 so if we have only spaces we will ignore this latex part in the
11254 (parseSingleLyXformat2Token \\layout): better compatibility when
11255 reading layout-latex stuff.
11256 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11258 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11259 stuff after reading the inset only get the information back from
11262 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11264 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11266 * LaTeXFeatures.C (getBabelOptions): New method.
11268 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11270 * BufferView_pimpl.C (Dispatch): work around missing argument for
11273 2002-05-08 Juergen Vigna <jug@sad.it>
11275 * text.C (leftMargin): handle paragraph leftindent.
11277 * paragraph.C (writeFile): write the new \\leftindent tag.
11278 (validate): handle leftindent code.
11279 (TeXEnvironment): handle paragraphleftindent code again.
11281 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11283 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11284 for paragrap_extra indent code and new token \\leftindent.
11285 (latexParagraphs): handle the leftindent as environment.
11287 * ParameterStruct.h: added leftindent support.
11289 * ParagraphParameters.C (leftIndent): added support functions for
11290 the paragraph left indent.
11292 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11295 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11297 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11300 * text.C (computeBidiTables): No bidi in insetERT.
11302 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11305 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * version.C.in: pre 5
11309 2002-05-02 José Matos <jamatos@fep.up.pt>
11310 * buffer.C (makeDocBookFile): white space changes, add newline to
11312 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11314 * tabular.C (docBook): fix typo.
11316 2002-05-03 Juergen Vigna <jug@sad.it>
11318 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11319 change in LyXText as we can not be sure it was not freed.
11320 (drawOneRow): remove unused code.
11322 * text.C (drawInset): redo the calculation of the need_break_row as
11323 it could have a row which was already freed.
11324 (draw): look at the return value of drawInset and return false if
11325 it also returned false.
11326 (paintRowText): look at the return value of draw and return false if
11327 it also returned false.
11329 * lyxtext.h: added bool return type to drawInset() and draw() so that
11330 if we have a change in the row so that the rowbreak has to be redone
11331 we abort drawing as it will be called again.
11333 2002-05-02 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11336 a change in the maintext also if we're inside an inset.
11337 (Dispatch): set the cursor again after a break line and after the
11338 screen has been updated as it could be we're in a different row.
11340 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11341 to set the cursor behind the pargraph with > size().
11342 (setCursor): check also for the same paragraph when checking where
11343 to put the cursor if we have a NFR inset.
11345 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11346 parts of layout read further up as it still was in the wrong
11349 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11351 * screen.C (drawFromTo): change sine fullRebreak always return
11354 * buffer.C (parseSingleLyXformat2Token): reindent some
11356 * BufferView_pimpl.C (update): change since fullRebreak always
11358 (Dispatch): git rid of the last hardcoded "Standard"s.
11360 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * text2.[Ch] (fullRebreak): make it return void now that we always
11365 2002-04-30 Juergen Vigna <jug@sad.it>
11367 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11368 ert compatibility check for "latex" layout.
11370 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11372 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11373 minipages: use col% instead of p%, and also use the current font.
11374 (makeLaTeXFile): Fix use babel condition.
11375 (parseSingleLyXformat2Token): Correct font when reading old floats.
11377 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11379 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11380 inserting list of floats.
11382 2002-04-25 Herbert Voss <voss@lyx.org>
11384 * MenuBackend.C (expand): don't add the graphics extensions to the
11387 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11389 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11390 non-existing layout, do not complain if it was the default layout
11391 of the original class (bug #342)
11393 2002-04-24 Juergen Vigna <jug@sad.it>
11395 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11396 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11398 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11400 * buffer.C (getBibkeyList): If using \bibliography, return the
11401 option field with the reference itself. Enables us to provide natbib
11402 support when using \bibliography.
11404 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11406 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11408 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11409 natbib is provided by the LaTeX class.
11411 2002-04-23 Juergen Vigna <jug@sad.it>
11413 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11416 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11418 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11420 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11422 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11423 ensuremath around textordmasculine, textordfeminine and
11426 2002-04-19 Juergen Vigna <jug@sad.it>
11428 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11429 reinitializing the buffer otherwise row-dimensions may be wrong.
11430 (update): reset also the selection cursors if they do exits otherwise
11431 their x/y positions may be wrong.
11433 * text2.C (cursorDown): don't enter the inset if we came from a row
11434 above and are one row over the inset.
11436 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11437 really leaving an inset.
11439 2002-04-18 Juergen Vigna <jug@sad.it>
11441 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11442 of the selected paragraph does not have the selected layout also if
11445 * text2.C (setLayout): fixed bug which did not change last selected
11448 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11449 changed the read and substituted \\end_float with \\end_inset!
11451 * BufferView_pimpl.C (cursorPrevious):
11452 (cursorNext): fixed to make it work with rows heigher than the work
11453 area without moving the cursor only the draw of the row.
11454 (workAreaMotionNotify): fix jumping over high rows.
11456 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11461 2002-04-16 Juergen Vigna <jug@sad.it>
11463 * text2.C (setCursor): set also the irow().
11464 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11466 (cursorDown): support for locking an inset if the x_fix value goes
11467 inside it. That way I can transverse insets too with cursor up/down.
11469 * lyxrow.h: added irow helper function same as other (i) functions.
11471 * BufferView_pimpl.C (cursorPrevious):
11472 (cursorNext): fixed for insets!
11474 2002-04-15 Juergen Vigna <jug@sad.it>
11476 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11477 position otherwise it is wrong in some cases.
11479 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11480 inside the inset before the call.
11482 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11484 * buffer.[Ch] (getBibkeyList): make it const.
11486 2002-04-12 Juergen Vigna <jug@sad.it>
11488 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11490 * text2.C (getCursorX): new helper function
11491 (setCursor): compute also ix_
11492 (setCursorFromCoordinates): set also ix.
11494 * lyxcursor.h: added ix_ and helper functions.
11496 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11498 * buffer.C (insertStringAsLines): dont break paragraph if the this
11499 paragraph is inside an inset which does not permit it!
11501 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11502 also with no chars on this paragraph.
11503 (paintRowText): only paint stuff if it's inside the workarea!
11505 * paragraph.C (breakParagraph): honor keepempty flag and break the
11506 paragraph always below not above.
11508 * BufferView2.C (unlockInset): update the paragraph layout on inset
11509 unlock as we changed paragraph in such a case.
11511 * lyxfind.C (LyXFind): clear the former selection if not found!
11513 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11514 again called in insertChar().
11516 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11517 an inset which uses the whole row!
11518 (rightMargin): ditto.
11519 (insertChar): force a rebreak if we inserted an inset!
11521 2002-03-28 Herbert Voss <voss@lyx.org>
11523 * lyxlength.[Ch]: add inBP() to get the right PS-point
11524 units (BigPoint). With inPixels we have rounding errors
11526 2002-04-11 Juergen Vigna <jug@sad.it>
11528 * text2.C (setCursorFromCoordinates): set iy to the right value.
11529 (setCursor): add check if row->previous exists!
11531 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11532 an old float_type as this was the case in the old code!
11534 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11536 * BufferView2.C (showLockedInsetCursor): use iy
11537 (fitLockedInsetCursor): ditto
11539 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11540 locked insets as there we have the right value now.
11542 * lyxcursor.C: added iy_ variable and iy functions to set to the
11543 baseline of cursor-y of the locked inset.
11545 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11546 (setCursor): fixed for insets which need a full row.
11548 * text.C (rowLastPrintable): don't ignore the last space when before
11549 an inset which needs a full row.
11550 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11551 as last character of a row when before a inset which needs a full row.
11553 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11555 * version.C.in: update date
11557 * text2.C (fullRebreak): try to always return true and see what
11560 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11562 * MenuBackend.C (expand): use Floating::listName
11564 * FloatList.C (FloatList): add listName argument to the built-in
11567 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11568 text associated with the float.
11570 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11574 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * ShareContainer.h: add a couple of missing typenames.
11578 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11580 * lyxrc.C (getDescription): use _() correctly rather than N_().
11582 2002-03-28 Herbert Voss <voss@lyx.org>
11584 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11585 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11587 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11589 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11590 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11592 2002-03-29 Juergen Vigna <jug@sad.it>
11594 * lyxfunc.C (dispatch): add a missing fitCursor call.
11596 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11597 it was scrolled by a cursor move, so return the bool status.
11599 * BufferView.C (fitCursor): return the bool flag also to the outside
11600 world as this is needed.
11602 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11604 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11605 call the edit() as it is not needed (and wrong) IMO.
11606 (workAreaButtonPress): set the screen_first variable before evt.
11607 unlock the inset as this may change screen_first and then we have
11608 a wrong y position for the click!
11610 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * MenuBackend.C (expand): another translation that I missed
11614 2002-03-28 Juergen Vigna <jug@sad.it>
11616 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11618 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11620 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11624 * MenuBackend.C (expand): fix export/view/update when there is no
11627 2002-03-27 Herbert Voss <voss@lyx.org>
11629 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11632 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11634 * bufferview_funcs.C (currentState): only show paragraph number
11635 for is DEVEL_VERSION is set.
11637 * lyxfunc.C (dispatch): put warning in INFO channel
11639 * MenuBackend.C (expand): translate the name of floats
11641 * FloatList.C (FloatList): mark the float names for translation
11643 * converter.C (convert): use LibScriptSearch
11645 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11647 * MenuBackend.C (defaults): fix default menu (we might as well get
11650 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11655 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11657 * lyxvc.C: reorder includes.
11659 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11661 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11664 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11666 * CutAndPaste.C: change layouts earlier on paste
11667 to avoid crashing when calling getFont()
11669 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11671 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11674 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * WorkArea.C: remove 'Pending' debug message.
11678 * most files: ws cleanup
11680 * buffer.[Ch]: ws changes
11682 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11684 2002-03-21 Juergen Vigna <jug@sad.it>
11686 * tabular.C (SetMultiColumn): collapse also the contents of the
11687 cells and set the last border right. Added a Buffer const * param.
11689 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11694 2002-03-19 Juergen Vigna <jug@sad.it>
11696 * text2.C (clearSelection): reset also xsel_cache.
11698 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11699 where it needs to be called (John tells us to do so too :)
11700 (selectionLost): reset sel_cache.
11702 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11704 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * text2.C (setCursorIntern): put debuging code in INSETS channel
11708 2002-03-19 André Pönitz <poenitz@gmx.net>
11710 * lyxfunc.C: tiny whitespace change
11712 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * ToolbarDefaults.C (init):
11715 * LyXAction.C (init):
11717 * BufferView_pimpl.C (Dispatch):
11718 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11720 2002-03-19 Allan Rae <rae@lyx.org>
11722 * exporter.C (Export): removeAutoInsets before doing anything else.
11723 While I've just introduced a dependency on BufferView this really is
11724 the best place to clean the buffer otherwise you need to cleanup in
11725 a dozen places before calling export or cleanup in a dozen functions
11728 * converter.C (runLaTeX):
11729 (scanLog): Better handling of removeAutoInsets and screen updates.
11731 * lyxfunc.C (dispatch): small whitespace changes
11733 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * WorkArea.C (C_WorkAreaEvent): return a value.
11736 (event_cb): return 1 if we handled the event, 0 otherwise.
11738 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11740 2002-03-18 Juergen Vigna <jug@sad.it>
11742 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11743 (GetAdditionalWidth): ditto.
11744 (RightLine): ditto.
11747 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11748 inset if we're there actually (probably not used right now but this
11749 is the direction to go for unifying code).
11750 (paste): disable code to clear the selection.
11752 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11753 inside an InsetText and move the check further up as it is in the
11756 * text2.C (pasteSelection): set a selection over the pasted text.
11758 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11760 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11761 and libgraphics to build on Cygwin.
11763 2002-03-15 Juergen Vigna <jug@sad.it>
11765 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11766 inserting an Inset into the paragraph. I know this is not the best
11767 fix but we already use current_view in CutAndPaste so we will remove
11768 all of it's using at the same time.
11770 * buffer.C (sgmlError): deactivated function till it is rewritten in
11771 the right mode, now it can create problems.
11773 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11774 before accessing it.
11776 2002-03-14 Juergen Vigna <jug@sad.it>
11778 * undo_funcs.C (textHandleUndo): do the right thing when updating
11779 the inset after the undo/redo.
11781 * text2.C (setCursor): just some testcode for #44 not ready yet.
11783 * undo_funcs.C (textHandleUndo): set the next() and previous()
11784 pointers of the paragraph to 0 before deleting otherwise we have
11785 problems with the Paragraph::[destructor].
11787 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11788 on a paragraph insertion.
11790 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * buffer.C (asciiParagraph): use += operator for char append to
11795 * paragraph.C (getFontSettings): compare >= not just >
11796 (highestFontInRange): ditto
11799 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * paragraph.C: change several algorithm to be more appripriate for
11802 the problem domain. This is lookip in FontList and in the InsetList.
11804 2002-03-13 André Pönitz <poenitz@gmx.net>
11807 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11809 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11816 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11818 * Painter.C (display): anon helper function, adjust code for this
11820 (pixmap): remove function.
11822 * Painter.h: remove private display variable.
11824 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11826 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11828 * WorkArea.[Ch]: remove figinset_canvas cruft.
11830 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * lyxtextclass.C (operator): add one item cache optimization.
11834 * bufferlist.h: doxy changes
11836 * bufferlist.C: ws changes
11838 * DepTable.[Ch] (ext_exist): place const in the right spot.
11840 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11842 (workAreaExpose): call resizeInsets when the with BufferView changes.
11843 (Dispatch): adjust for protectedBlank removal
11844 (specialChar): call updateInset if the insert went ok.
11846 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11847 specialChar instead.
11849 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11851 * BufferView.h: doxy change
11853 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11855 * lyxtextclass.C (operator[]): remove non-const version
11856 (defaultLayout): remove non-const version
11858 2002-03-12 Juergen Vigna <jug@sad.it>
11860 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11861 did resize the LyXText too.
11863 * buffer.C (readLyXformat2): set layout information on newly allocated
11866 * tabular.C (OldFormatRead): set layout information on the paragraph.
11868 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11870 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11872 2002-03-11 Juergen Vigna <jug@sad.it>
11874 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11876 (resizeCurrentBuffer): force also the insets to resize themselfes.
11877 (moveCursorUpdate): fixed up for InsetText.
11879 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11882 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11883 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11884 value of Dialogs::tooltipsEnabled().
11885 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11887 2002-03-08 Juergen Vigna <jug@sad.it>
11889 * BufferView_pimpl.C (updateInset): update inset inside inset also
11890 if it isn't inside theLockingInset().
11892 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11894 * buffer.C (asciiParagraph): redo some of the word and line length
11896 (getLists): look for Caption instead of caption.
11898 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11900 * buffer.C (Buffer): initialize niceFile to true
11902 (makeLinuxDocFile):
11903 (makeDocBookFile): make sure niceFile is true on exit
11905 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11909 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11911 * LyXSendto.C: remove.
11912 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11913 * lyx_gui.C: remove now-redundant comment.
11914 * ColorHandler.h: remove forward declaration of class WorkArea.
11915 * lyxfunc.C: remove #include "WorkArea.h".
11917 2002-03-07 Juergen Vigna <jug@sad.it>
11919 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11920 got moved away with the DEPM and also set the inset_owner always
11921 right which before could have been omitted.
11923 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11926 wanted layout is not found.
11928 2002-03-07 Juergen Vigna <jug@sad.it>
11930 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11932 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * paragraph.C (breakParagraph): use default layout not layout of
11936 (Paragraph): clear ParagraphParameters.
11938 2002-03-06 Juergen Vigna <jug@sad.it>
11940 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11941 otherwise it would not be a valid lenght. Fixed a special case in
11942 the minipage compatibility read where we end the document with a
11945 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11946 was set as it could be 0 for InsetTexts first entry.
11948 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * paragraph.C (writeFile): if layout is empty write out
11951 defaultLayoutName().
11953 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11954 file without named layout we set layout to defaultLayoutName().
11956 2002-03-06 Juergen Vigna <jug@sad.it>
11958 * CutAndPaste.C (copySelection): set layout for new paragraph.
11960 * text.C (prepareToPrint): leave ERT inset left aligned
11961 (leftMargin): don't indent paragraphs inside ERT insets
11963 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * paragraph.C (breakParagraph): dont call clear do the work manually
11967 * paragraph.[Ch] (clear): remove function
11969 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * paragraph.C (Paragraph): dont call clear, the work has already
11974 * lyxtextclass.C (operator): assert if n is empty
11976 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11977 work manually instead.
11979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11981 * BufferView_pimpl.C: protect selectionLost against text == 0
11983 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11985 * text.C (breakParagraph): fix a setting layout to '0' problem.
11987 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11989 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11990 final location of file, for the included files, and graphics.
11992 2002-03-05 Juergen Vigna <jug@sad.it>
11994 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11996 2002-03-04 Juergen Vigna <jug@sad.it>
11998 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12000 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12001 last column of multicolumn cells.
12002 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12004 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12006 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12007 file if it doesn't go to a temporary file.
12009 * buffer.C (sgmlOpenTag):
12010 (sgmlCloseTag): remove extra newline insertion.
12012 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * text.C (getRowNearY): comment out debug msg
12016 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * text2.C: first -> first_y
12020 * text.C (getRowNearY): add some attemts at a possible
12021 optimization, not working.
12023 * tabular.[Ch]: add BufferParams to several function so that newly
12024 created paragraph can be initialized to he default layotu for the
12027 * tabular-old.C (ReadOld): add buf->params to call of Init
12029 * screen.C: rename text->first to text->first_y
12031 * paragraph.C (breakParagraph): always set layout in the broken
12034 * lyxtextclass.C (Read): remove lowercase
12037 (delete_layout): ditto
12039 * lyxtext.h: rename first -> first_y
12041 * lyxlayout.C (Read): remove lowercase
12044 (obsoleted_by): ditto
12046 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12048 * buffer.C (insertErtContents): add params are to InsetERT
12049 (parseSingleLyXformat2Token): add code to check if a paragraphs
12050 layout really exist.
12051 (parseSingleLyXformat2Token): add params to several inset
12053 (asciiParagraph): remove lowercase, do the layout comparisons with
12056 * BufferView_pimpl.C (cursorNext): first -> first_y
12057 (resizeCurrentBuffer): first -> first_y
12058 (updateScrollbar): first -> first_y
12059 (scrollCB): first -> first_y
12060 (workAreaMotionNotify): first -> first_y
12061 (workAreaButtonPress): first -> first_y
12062 (checkInsetHit): first -> first_y
12063 (cursorPrevious): first -> first_y
12064 (cursorNext): first -> first_y
12065 (Dispatch): add buffer_->params to severl inset contructors
12067 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * lyxlayout.C (Read): remove some debug info that I forgot.
12071 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12072 clean up the code slightly.
12073 (makeLinuxDocFile): ditto
12074 (makeDocBookFile): ditto
12076 * text2.C: layout as string
12078 * text.C: layout as string
12080 * paragraph_pimpl.C: layout as string
12082 * paragraph.[Ch]: layout as string
12084 * lyxtextclasslist.[Ch]: layout as string
12086 * lyxtextclass.[Ch]: layout as string
12088 * lyxtext.h: layout as string
12090 * lyxlayout.[Ch]: layout as string
12092 * lyx_cb.C: layout as string
12094 * bufferview_funcs.C: layout as string
12096 * bufferparams.C: layout as string
12098 * buffer.C: layout as string
12100 * LyXView.[Ch]: layout as string
12102 * LaTeXFeatures.[Ch]: layout as string
12104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12106 * BufferView_pimpl.C: change current_layout to string, remove
12111 (workAreaButtonRelease): layout as string
12113 * BufferView2.C (unlockInset): adjust
12115 * vspace.C (asLatexCommand): use an explict temp variable.
12117 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12119 * Makefile.am: use FRONTEND_*
12121 2002-03-01 Juergen Vigna <jug@sad.it>
12123 * tabular.C (SetWidthOfMulticolCell): changed to something better
12124 I hope but still work in progress.
12125 (recalculateMulticolumnsOfColumn): renamed function from
12126 recalculateMulticolCells as it is more appropriate now.
12127 (SetWidthOfCell): calculate multicols better.
12129 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12131 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12133 * lyxfunc.C (processKeySym): print sequence also if it is
12134 `deleted' (complete)
12136 * kbsequence.C (print): print sequence even if it is deleted
12137 (complete would be a better word, actually).
12139 * lyxfunc.C (dispatch): print complete options after a prefix key
12141 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12143 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12145 * text2.C (setCharFont): eliminate setCharFont code duplication.
12147 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12150 LFUN_TABULAR_FEATURE (bug #177)
12152 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12154 * Makefile.am: remove figure.h
12156 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12158 * Bufferview_pimpl.C:
12170 * text2.C: remove #include "lyx_gui_misc.h".
12172 * LaTeX.C: added #include <cstdio>
12174 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12177 that the paragraph following this one can have.
12179 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12181 * vspace.C (asLatexCommand): fix bogus gcc warning
12183 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12185 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12187 * text2.C (setLayout): get rid of redundant code
12189 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12191 * text2.C (incDepth): make sure depth cannot be increased beyond
12194 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12196 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12197 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12199 * PainterBase.h (image):
12200 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12201 a LyXImage const *.
12203 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12207 * BufferView_pimpl.C:
12208 * BufferView_pimpl.h:
12228 * sp_spell.C: remove fig inset, and the crap house of
12229 cards that follows it
12231 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12236 * os2_errortable.h:
12237 * nt_defines.h: move .h into support/
12239 * vms_defines.h: remove
12241 * WorkArea.C: add space in debug output
12245 * buffer.C: add WITH_WARNINGS
12249 * bufferlist.C: s/retrive/retrieve/, add docs
12258 * chset.C: add docs
12260 * lyxgui.C: add ID to X error handler
12262 * lyxtestclass.c: fix typo
12264 2002-02-26 Juergen Vigna <jug@sad.it>
12266 * tabular_funcs.C (write_attribute): changed so that some default
12267 attributes are not written at all.
12268 (getTokenValue): set default values before trying to read the
12269 value so we have the return value always set as default if we don't
12270 find the token we search for.
12272 * tabular.C (Write): write bools as bools not as strings!
12274 2002-02-22 Juergen Vigna <jug@sad.it>
12276 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12277 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12279 * text.C (leftMargin): don't add an indent for paragraphs inside
12280 tabular cells (fix #208).
12282 2002-02-21 José Matos <jamatos@fep.up.pt>
12284 * tabular.C (docBook): fixed support for long tables.
12286 2002-02-20 Juergen Vigna <jug@sad.it>
12288 * text2.C (getFont): get the drawing font of the Inset if this
12289 paragraph is inside an inset (only important for InsetERT for now).
12291 * buffer.C (insertErtContents): use new lanugage params in ERT
12294 * CutAndPaste.C: commenting out seemingly uneeded code.
12296 2002-02-19 Allan Rae <rae@lyx.org>
12298 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12299 Iterators might be simple to use but they also get invalidated.
12300 (removeAutoInsets): renamed saved cursor tracking variables and added
12301 some comments to clarify what everything does.
12303 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12310 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12311 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12314 * vc-backend.h: remove #include "support/syscall.h"
12318 * converter.C: rearrange #includes in Lars' approved fashion.
12320 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12321 forward declare class Timeout in the header file.
12323 * XFormsView.C: changes due to the above.
12325 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12326 similar to LyXView.
12328 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12329 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12331 2002-02-18 José Matos <jamatos@fep.up.pt>
12333 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12336 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12338 * a lot of small ws changes
12339 * add a lot of using std::XXX
12340 * use std construcs some places where approp.
12341 * use some exisint stuff from lyxfunctional where approp.
12342 * Make file changes to use partial linking (lets test this now...)
12344 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12348 remove #include "support/syscontr.h" as it's redundant. Always has been.
12356 change Systemcalls::System to Systemcalls::Wait and
12357 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12358 No change of functionality, just reflects the stripped down Systemcalls
12361 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12363 * debug.[Ch]: add a GRAPHICS type to the enum.
12365 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12367 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12369 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12372 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12375 match the changes below.
12377 * text2.C (toggleInset): if there is not editable inset at cursor
12378 position, try to see if cursor is _inside_ a collapsable inset
12381 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12383 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12384 document menu has a nice checkbox
12386 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12388 * lyxlength.C (asLatexString): change PW to output as percent of
12391 * lengthcommon.C: change '%' to 't%'
12393 * lyxfunc.C (dispatch): a few comments from Martin
12395 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.h:
12400 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12403 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * vspace.C (inPixels): fix compiler warning
12407 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * lyxfunc.C (getStatus): fix status message for disabled commands.
12411 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12413 * BufferView_pimpl.C: fix crash on close buffer
12414 during selection (#227)
12416 2002-01-27 Herbert Voss <voss@lyx.org>
12418 * buffer.C: link old Figure to new graphic inset
12420 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12422 * FontLoader.C (getFontinfo): Change the latex font names in order
12423 to match the names of type1inst.
12425 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12429 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12430 (extchanged): ditto
12432 (remove_files_with_extension): ditto
12433 (remove_file): ditto
12436 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12437 document is smaller than the work area height. Do not initialize
12438 static variables to 0.
12440 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12444 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12445 LFUN_LAYOUT_PARAGRAPHS.
12447 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12448 tabular. It is possible to provide a possible cell, which will
12449 typically be the actcell from the corresponding insettabular
12451 * lyxfunc.C (getStatus): small cleanup; disable
12452 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12455 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12459 * paragraph.C (startTeXParParams):
12460 (endTeXParParams): new methods. The LaTeX code to
12461 start/end paragraph formatting
12462 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12463 empty (fixes bug #200)
12465 * vspace.C (inPixels): adapt to the change below
12466 (inPixels): [later] more cleanups (remove unused variables)
12468 * lyxlength.C (inPixels): change to use a width and a height as
12471 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12473 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12474 Replaced with \paperwidth
12476 * DepTable.C (insert): add std:: qualifier
12478 2002-01-18 Allan Rae <rae@lyx.org>
12480 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12483 * text.C (drawInset): Turned out I didn't know enough about how
12484 rebreaking worked. This fixes most of the redraw problems. I see
12485 an occasional cursor trail when a line is broken now and the cursor
12486 placement can seem out by a few pixels also after a rebreak.
12488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * buffer.C (parseSingleLyXformat2Token): update because minipage
12491 width is now a LyXLength
12493 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12495 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12498 2002-01-17 Juergen Vigna <jug@sad.it>
12500 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12502 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12503 is set correctly and the inset is updated correctly.
12505 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12508 the beginning of the loop.
12510 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12512 * lyxrc.C: improve help for use_scalable_fonts
12514 2002-01-17 Allan Rae <rae@lyx.org>
12516 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12518 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12521 make sure to set their inset_owner to the right value (bug #171)
12523 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12526 * DepTable.C: Implement mtime checking to reduce time spent doing
12529 2002-01-16 Juergen Vigna <jug@sad.it>
12531 * tabular.C (GetAdditionalHeight): one of error fixed.
12533 * lyxrc.C (output): small fix in writing use_pspell.
12535 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12537 * sp_base.h: #include LString.h
12539 2002-01-16 Allan Rae <rae@lyx.org>
12541 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12542 Can someone check this please?
12544 * text.C (drawInset): It was possible that p.row would be removed by
12545 breakAgainOneRow upsetting a few other settings. There may be another
12546 small tweak possible by setting need_break_row = 0 when p.row has been
12547 removed but I don't know enough about the logic here.
12549 2002-01-15 Allan Rae <rae@lyx.org>
12551 * text.C (insertChar): removed conditional truism.
12553 * BufferView2.C (removeAutoInsets): More tweaks.
12554 cur_par_prev could be a stray pointer. Check for trailing empty line
12555 in case last line was cur_par and only had an error inset on it.
12557 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12559 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12562 * vc-backend.C (most methods):
12563 * exporter.C (Export):
12564 * converter.C (convert):
12566 * LyXSendto.C (SendtoApplyCB):
12567 * lyxfunc.C (dispatch):
12571 * lyx_cb.C (AutoSave):
12573 * BufferView_pimpl.C (MenuInsertLyXFile):
12574 * buffer.C (runChktex): use Buffer::filePath().
12576 * buffer.h: rename filename to filename_; rename filepath to
12577 filepath_ and make it private
12578 (filePath): new method
12580 * buffer.C (writeFile): use fileName()
12583 * lyx_main.C (init): fix starting of LyX when the binary is a
12584 link from so,ewhere else.
12586 * minibuffer.C: include <cctype> for isprint
12588 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12590 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12591 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12592 name clash with InsetCollapsable's width function.
12594 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * lastfiles.C: include <iterator>
12598 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12600 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12603 * buffer.C (makeLaTeXFile): ditto.
12604 Also make loop operation more transparent.
12606 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12608 * ToolbarDefaults.C: remove trailing comma closing namespace.
12610 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12612 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12615 * trans.C (Load): comment out unused variable, allowed.
12617 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12619 * minibuffer.[Ch] (append_char): new method to recieve input from the
12620 drop-down completion browser. If a key was pressed, then recieve this
12621 char and append it to the existing string.
12622 (peek_event): modify the positioning data passed to the completion
12623 browser so that it can be placed above the minibuffer rather than below.
12624 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * LyXAction.C (init): alloe error-next for readonly documents.
12628 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12631 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * bufferlist.C (readFile): create the buffer _after_ checking that
12636 * lyxfunc.C (verboseDispatch): fix handling of arguments
12638 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12640 * lyxrc.C: use string::erase() instead of initializing to "".
12643 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12645 * BufferView_pimpl.h:
12646 * BufferView_pimpl.C:
12649 * text2.C: tell X when we have made a selection for copying
12651 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12653 * BufferView_pimpl.C (MenuInsertLyXFile):
12654 * lyxfunc.C (menuNew):
12656 (doImport): add shortcuts to directory buttons
12658 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12661 * lyxfunc.C (setStatusMessage):
12662 (getStatusMessage): new methods
12663 (getStatus):use setStatusMessage instead of setErrorMessage
12664 (dispatch): when function is disabled, set error message here
12665 [instead of in getStatus previously]
12667 * BufferView_pimpl.C (workAreaButtonRelease): update
12668 toolbar/menubar here too.
12670 2002-01-13 Allan Rae <rae@lyx.org>
12672 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12673 Now seems indestructible. Remaining task is to audit all other
12674 code affected by deleteEmptyParagraphMechanism. One small quirk
12675 left is that an empty document with an error in the preamble can
12676 be made to report an error but no error box appears. I don't know
12678 (removeAutoInsets): Improved comments.
12680 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12683 * Thesaurus.C: update for Aiksaurus 0.14
12685 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * text2.C (firstParagraph): removed member function, all uses
12688 replaces with ownerParagraph
12689 (redoParagraphs): here
12690 (updateInset): here
12691 (toggleAppendix): here
12692 * BufferView2.C (insertErrors): here
12693 (setCursorFromRow): here
12695 2002-01-13 Allan Rae <rae@lyx.org>
12697 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12698 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12699 There is still a way to segfault this although you may have to do this
12700 multiple times: Have an InsetERT with an unknown command in it.
12701 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12702 <down-arrow>, <Enter> again, View->DVI, BANG!
12704 * text2.C (setCursor):
12705 (deleteEmptyParagraphMechanism):
12706 * lyxtext.h (setCursor):
12707 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12708 Making use of the return value may help fix other bugs.
12710 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12714 * LyXView.C (updateMenubar): call MenuBar::update here
12715 (updateToolbar): but not here
12716 (showState): do not update toolbar/menubar
12718 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12719 should need to care about that.
12721 * lyxfunc.C (verboseDispatch): simplify a bit
12722 (getStatus): have a version which takes a pseudoaction, and
12723 another which requires a (kb_action,string).
12725 * LyXAction.C (retrieveActionArg): make it work also when action
12726 is not a pseudo-action.
12727 (getActionName): simplify a bit
12730 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * lyxfunc.C (verboseDispatch): new families of methods with
12733 several ways to specify a command and a bool to indicate whether
12734 the command name and shortcut should be displayed in minibuffer
12735 (eventually, we could extend that to a finer bitmask like
12736 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12737 (dispatch): the pristine dispatch command which just, well,
12738 dispatchs! Note it still sets its result to minibuffer; I'm not
12741 * lyxfunc.h: remove setHintMessage
12743 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12745 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12747 * BufferView_pimpl.C (specialChar): delete new inset if we have
12748 not been able to insert it.
12750 * kbmap.C: revert to using int instead of kb_action, since all we
12751 are dealing with is pseudo-actions.
12753 * LyXAction.C (searchActionArg): change to return int instead of
12754 kb_action, since the result is a pseudoaction.
12756 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12758 * buffer.C (insertErtContents): Fix (partially) the font bug.
12760 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12762 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12763 as the other one is broken on my machine!
12765 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12768 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12770 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12772 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12773 reflect their actual use. Provide compatibility code for older lyxrc
12776 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12778 change names of popup font variables in line with the changes to lyxrc.C
12780 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12782 * buffer.C (asciiParagraph): avoid outputing a word twice after
12785 * lyxrc.C (getDescription): document that document_path and
12786 template_path can be empty.
12788 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12790 * LaTeXFeatures.C (getMacros):
12791 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12793 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12795 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12797 (getPackages): rename feature "floats" to "float". Use an array to
12798 iterate over 'simple' features (i.e. just a \usepackage). Add
12799 handling of "amsmath" (renamed from "amsstyle").
12801 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12803 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12806 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12808 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12809 FuncStaus::FuncStatus & FuncStaus::some_method().
12811 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12813 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12814 of the func_satus stuff. Edited and massaged in various ways by
12817 * lyxfunc.C (getStatus): use FuncStatus
12819 2002-01-08 Juergen Vigna <jug@sad.it>
12821 * text.C (nextBreakPoint): use function Inset::isChar().
12823 * paragraph.C (TeXOnePar): use function
12824 Inset::forceDefaultParagraphs.
12826 * buffer.C (latexParagraphs): use function
12827 Inset::forceDefaultParagraphs.
12829 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12831 * lyx_gui.C (init): set the style of the menu popups to
12832 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12834 2002-01-07 Juergen Vigna <jug@sad.it>
12836 * text.C (setHeightOfRow): small fix
12837 (prepareToPrint): don't look at alignment if we don't have the place
12840 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12842 * box.C: New file. Move the Box methods and functions out of box.h,
12843 following Lars' suggestion.
12845 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12847 * box.h: #include "support/LOstream.h", needed for inlined function.
12850 * lyxtextclasslist.C: added some using std declarations.
12852 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12854 * box.h: make signed dimensions to allow insets wider than
12855 the screen (bug #162)
12857 * BufferView_pimpl.C: add some insetHit debug
12859 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12861 * vc-backend.C: add FIXME
12863 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * lyxfunc.C (getStatus): enable code for showing math font status
12868 2002-01-07 Juergen Vigna <jug@sad.it>
12870 * text.C (nextBreakPoint): removed debug output not needed anymore.
12872 2002-01-06 Juergen Vigna <jug@sad.it>
12874 * text.C (nextBreakPoint): fixed up this function we had this bug
12875 since ever but now hopefully we break row better.
12876 (insertChar): we have to check if an inset is the next char as it
12877 could now happen that a large inset is causing a break.
12879 2002-01-05 Juergen Vigna <jug@sad.it>
12881 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12882 if it doesn't like to be drawed.
12884 2002-01-04 Juergen Vigna <jug@sad.it>
12886 * BufferView2.C (lockInset): forgot to set a cursor.
12888 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12890 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12892 * FormMathsPanel.C:
12895 * form_maths_panel.C:
12896 * form_maths_panel.h:
12897 * form_maths_panel.fd: implemented sub- and super- buttons in math
12900 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12901 (or ^ space) to be used as in TeX (req'd by André).
12903 * lyxfunc.C: Allow ^ and _ again to be used both as
12904 super/subscript (mathed) and as themselves (in text).
12906 2002-01-03 Allan Rae <rae@lyx.org>
12908 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12909 "LyX" or the filename of the current buffer if it has one. This is a
12910 modified form of John Levon's patch.
12912 * XFormsView.C (setWindowTitle): also set icon title.
12914 * LyXView.h (setWindowTitle): signature changed.
12915 * XFormsView.h (setWindowTitle): ditto.
12917 2002-01-02 Juergen Vigna <jug@sad.it>
12919 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12921 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * screen.C (topCursorVisible): introduce a temp var for
12924 text->cursor.row(), handle the case where this row is null. (kindo
12927 * text2.C (setCursor): add a couple of asserts.
12929 * paragraph.h (inset_iterator): add -> operator
12931 * paragraph.[Ch] (autoDeleteInsets): remove member function
12933 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12934 cursor pos correctly and handle inset deletion by itself.
12935 (insertErrors): move iterator declaration out of for expression
12937 * lyxtextclass.C: add <algorithm>
12939 * Makefile.am: added the new files to sources, removed layout.C
12941 * layout.C: removed file
12943 * layout.h: remove LYX_DUMMY_LAYOUT
12945 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12949 * lyxtextclass.[Ch]:
12950 * lyxtextclasslist.[Ch]: new files
12952 * include order changes to a lot of files, also changes because of
12955 2001-12-27 Juergen Vigna <jug@sad.it>
12957 * buffer.C (asciiParagraph): more fixes.
12959 * tabular.C (ascii): make ascii export support export of only the
12960 data separated by a column-delimiter.
12961 (ascii): better support for ascii export.
12963 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12965 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * tabular_funcs.C: use a "using std::getline" instead of the
12968 previous fix from Angus (necessary for cxx + lyxstring)
12970 2001-12-24 Juergen Vigna <jug@sad.it>
12972 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12974 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12975 problems. First check a minipage also if we have some ert-contents
12976 (not only on par->size(), second set the right depth of the paragraph
12977 on the relink to the root-paragraph-list!
12979 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12980 which then did not anymore update the main paragraphs on undo/redo!
12982 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12984 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12985 code. Support all font-changing funcs (even those which are not in
12986 menu currently). Support for reporting font settings in
12987 mathed (disabled until Andre provides a function on mathed's side).
12989 * func_status.h (toggle): small helper function to set toggle
12992 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12994 * tabular_funcs.C: getline -> std::getline
12996 2001-12-21 Juergen Vigna <jug@sad.it>
12998 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12999 accessed and could be 0 (I couldn't generate this but it seems
13002 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13005 * tabular_funcs.h: here and include iosfwd
13007 2001-12-20 Juergen Vigna <jug@sad.it>
13009 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13010 inside inset but undo_par was.
13012 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13014 * Thesaurus.C: always include <config.h> in sources.
13018 * box.h: do not include <config.h> in header files
13020 * text.C (paintLastRow): remove unused variable
13022 * text.C (transformChar):
13024 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13026 * Painter.C (text):
13027 * font.C (width): rewrite to use uppercase() instead of
13030 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13032 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13034 * lyxfind.C: clean up of find failure position change
13036 2001-12-20 Juergen Vigna <jug@sad.it>
13038 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13040 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13041 (TeXRow): added to LaTeX a single tabular row.
13042 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13043 (Latex): simplified and finally good LT-h/f support.
13044 (various_functions): just small adaptions for LT-h/f support.
13046 * tabular_funcs.[hC]: added and moved here all not classfunctions
13049 2001-12-19 Juergen Vigna <jug@sad.it>
13051 * tabular.[Ch]: better support for longtabular options (not finished
13054 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13056 * text.C (paintLastRow): use the label font instead of the font of
13057 the last character to compute the size of *_BOX. This makes more
13058 sense and avoids a crash with empty paragraphs.
13059 Use Painter::rectangle to draw EMPTY_BOX.
13061 2001-12-19 Juergen Vigna <jug@sad.it>
13063 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13064 the paragraphs if the replaced paragraph is not the first one!
13065 Tried to delete not used paragraphs but does not work yet so for
13066 now it's inside #ifdef's and by default off!
13068 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13070 * MenuBackend.C: include "lyx_main.h" instead of declaring
13071 lastfiles (actually was declared as LastFiles* instead of a
13074 2001-12-17 Juergen Vigna <jug@sad.it>
13076 * tabular.C (AppendColumn): applied John's fix
13078 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13082 * BufferView_pimpl.h:
13083 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13086 * box.h: new start of class for above
13088 * lyxfunc.C: ignore space-only minibuffer dispatches.
13089 Show the command name when it doesn't exist
13091 * minibuffer.C: don't add empty lines to the history
13093 * minibuffer.C: add a space on dropdown completion
13095 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13097 * text.C: fix line above/below drawing in insets
13099 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * lyxlength.C (LyXLength): Initialize private variables.
13103 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13106 when inserting error insets.
13108 2001-12-13 Juergen Vigna <jug@sad.it>
13110 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13111 actually sometimes the before-paragraph.
13112 (setUndo): don't clear the redostack if we're not actually undoing!
13114 2001-12-06 Juergen Vigna <jug@sad.it>
13116 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13117 and fixed redoing of main paragraph, so we can use it now ;)
13119 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13121 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13123 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13126 2001-12-13 André Pönitz <poenitz@gmx.net>
13129 * undo_func.C: minor cleanup
13131 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13133 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13134 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13135 font in urw-fonts package which is marked as -urw-fontspecific and
13136 does not work (incidentally, changing the encoding in the
13137 fonts.dir of this package to -adobe-fontspecific fixes the
13140 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13141 is a crash when undoing first paragraph (Juergen, please take a
13142 look). THis does not mean the undo fix is wrong, just that it
13145 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13146 the (Paragraph*) version when needed instead of duplicating the
13149 * text.C (workWidth): use Inset::parOwner to find out where the
13150 inset has been inserted. This is a huge performance gain for large
13151 documents with lots of insets. If Inset::parOwner is not set, fall
13152 back on the brute force method
13154 * paragraph_pimpl.C (insertInset):
13155 * paragraph.C (Paragraph):
13156 (cutIntoMinibuffer): set parOwner of insets when
13157 inserting/removing them
13159 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13161 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13167 * mathed/formulabase.C:
13168 * mathed/math_cursor.[Ch]:
13169 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13172 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * lyxlength.[Ch] (operator!=): new function
13176 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * text.C (workWidth): use Inset::parOwner to find out where the
13179 inset has been inserted. This is a huge performance gain for large
13180 documents with lots of insets. If Inset::parOwner is not set, fall
13181 back on the brute force method
13183 * paragraph_pimpl.C (insertInset):
13184 * paragraph.C (Paragraph):
13185 (cutIntoMinibuffer): set parOwner of insets when
13186 inserting/removing them
13188 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13190 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13192 * tabular-old.C (getTokenValue):
13193 * tabular.C (getTokenValue):
13194 (write_attribute): new versions for LyXLength
13195 (everywhere): adjust the use of widths
13197 * tabular.h: change the type of widths from string to LyXLength
13199 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13201 * paragraph.C: fixed missing line number count when exporting
13202 Environments to LaTeX file
13204 * buffer.C: added informational message for checking line numbers.
13206 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13209 paragraph, do the 'double space' part, but not the 'empty
13212 * text.C (workWidth): small optimization
13213 (getLengthMarkerHeight): use minimal size for negative lengths.
13215 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13217 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13219 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13221 2001-12-11 André Pönitz <poenitz@gmx.net>
13224 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13226 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13228 * text2.C: keep selection on a setFont()
13230 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13232 * lyx_cb.C: another bv->text misuse, from insert label
13234 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13237 * kbsequence.C: re-instate nmodifier mask
13239 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13241 * lyx_main.h: make lyxGUI private.
13243 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13245 * lyxfind.C: place the cursor correctly on failed search
13247 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13249 * text.C (getLengthMarkerHeight): for small heights, the arrows
13250 are not always on top/bottom of the text
13251 (drawLengthMarker): smaller arrows; take the left margin in
13252 account; draw also vfills.
13254 (paintLastRow): remove special code for vfill and standard spaces,
13255 since everything is handled in drawLengthMarker now.
13257 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * buffer.C (insertErtContents): try to handle font and language
13260 interaction a bit better.g
13262 * ColorHandler.C (updateColor): change the hash to cover the whole
13263 LColor enum, ws cleanup
13264 (getGCLinepars): ditto
13265 (getGCLinepars): only lookup in the linecache once.
13267 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13269 * iterators.C (operator++): Make the iterator more robust
13271 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13275 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13278 * text.C: better added space drawing
13280 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13283 * BufferView2.C: fix layout combo update on inset unlock
13285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13287 * Makefile.am: don't compile unused files
13289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13293 * LyXAction.C: remove old LFUN_LAYOUTNO
13295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13297 * paragraph_pimpl.h:
13298 * paragraph_pimpl.C: isTextAt() doesn't need font param
13300 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13303 * lyxlex.C: little cleanup
13305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13307 * BufferView_pimpl.C: fix insertAscii for insets
13309 2001-12-05 Juergen Vigna <jug@sad.it>
13311 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13312 set the right font on the "multi" paragraph paste!
13314 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * lyxlength.C: remove out-commented code.
13322 * BufferView_pimpl:
13336 * vc-backend.C: change "while(" to "while ("
13338 * lyxlength.[Ch]: add zero function to check if length is zero or
13340 * lyxgluelength.C: use it
13342 2001-12-05 Allan Rae <rae@lyx.org>
13344 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13345 Works for 2.95.3, from what I understand of Garst's reports this should
13346 work for other g++ versions. We're screwed if the abs(int) definition
13347 changed between bugfix releases of gcc.
13349 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13351 * text.C: fix chapter label offset !
13353 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13356 * text.C: fix hfill at end of line, clean up
13358 2001-12-04 Juergen Vigna <jug@sad.it>
13360 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13361 that we force an update of the inset and it's owners if neccessary.
13363 2001-12-03 Juergen Vigna <jug@sad.it>
13365 * text.C (rowLast): simplified code
13367 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13369 * lyxfunc.C: fix show options on timeout
13371 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * screen.C (topCursorVisible): scroll half a page when the cursor
13374 reached top of bottom of screen
13376 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13378 * minibuffer.C: deactivate on loss of focus
13380 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * vspace.[Ch] (operator!=): add operator.
13384 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13386 * BufferView_pimpl.C: refuse to open an inset when
13387 there's a selection.
13389 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13391 * BufferView_pimpl.C: allow to click on RHS of full row insets
13393 2001-11-30 Juergen Vigna <jug@sad.it>
13395 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13396 insets for undo reasons.
13398 2001-11-28 André Pönitz <poenitz@gmx.net>
13400 * vspace.[Ch]: cosmetical changes
13402 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13412 * kbsequence.C: part re-write of old kb code
13415 * WorkArea.C: remove Lgb_bug_find_hack
13417 2001-11-30 José Matos <jamatos@fep.up.pt>
13419 * buffer.C (makeDocBookFile): add a comment to point a hack.
13420 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13421 Fixed a double write of labels.
13423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13426 * LaTeX.h Fixed bug in LaTeX class where it would not
13427 re-run latex if no depfiles were changed, but the .dvi was removed.
13429 2001-11-28 André Pönitz <poenitz@gmx.net>
13431 * all the files from the change on 2001/11/26:
13432 use lyx::layout_type instead of LyXTextClass::size_type
13433 use lyx::textclass_type instead of LyXTextClassList::size_type
13435 2001-11-29 Juergen Vigna <jug@sad.it>
13437 * text.C: added support for paragraph::isFreeSpacing()
13439 * buffer.C: same as above
13441 * paragraph.h: inserted isFreeSpacing() function to enable
13442 FreeSpacing inside InsetERT.
13444 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13445 of the paragraph's in the cut/copy buffer to 0!
13447 * text2.C (removeRow): remove the assert as it can!
13449 * lyxtext.h: added helper function firstRow returning firstrow and
13450 made firstrow private again.
13452 * BufferView2.C (lockInset): don't relock if we're already locked!
13454 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13455 the only paragraph.
13456 (removeRow): added Assert::(firstrow)
13458 * debug.C: forgot to add INSETTEXT here.
13460 2001-11-28 Juergen Vigna <jug@sad.it>
13462 * sp_spell.C (initialize): changed error text to more general
13463 spellchecker command use (not only ispell!)
13465 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13467 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13469 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13471 * vspace.C: initialise lyxgluelength on failure
13473 2001-11-28 Allan Rae <rae@lyx.org>
13475 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13476 declaration & definition that looks like a function declaration.
13478 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13480 * BufferView2.C (copy):
13481 (copyEnvironment): do not clear the selection when doing a copy.
13483 * text.C (paintFirstRow): compilation fix
13485 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13487 * tabular.C (Latex): correct line count when writing latex.
13489 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13491 * paragraph_pimpl.h:
13492 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13495 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13499 * LColor.C: change vfillline->added_space
13501 * text.C: add markers and text for added space
13503 * vspace.C: fix comment
13505 2001-11-28 André Pönitz <poenitz@gmx.net>
13507 * paragraph.C: whitespace changes
13508 * all the other files from the change on 2001/11/26:
13509 change *::pos_type into lyx::pos_type
13511 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13513 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13514 language of the document when inserting error insets.
13516 2001-11-26 André Pönitz <poenitz@gmx.net>
13518 * BufferView_pimpl.[Ch]:
13526 * paragraph_pimpl.[Ch]:
13529 * text2.C: reduce header dependencies, introduce type for positions
13531 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13533 * <various>: change to use Alert.h
13535 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13537 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13538 when encountering an unknown token.
13539 (readLyXformat2): Show an error message if there were unknown tokens.
13541 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13544 * BufferView_pimpl.C:
13548 * text2.C: use par->isInset()
13550 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13552 * paragraph_pimpl.h:
13553 * paragraph_pimpl.C: cleanup
13555 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * text2.C (removeRow):
13558 * text.C (setHeightOfRow): remove useless (and costly) call to
13561 2001-11-20 Allan Rae <rae@lyx.org>
13563 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13564 Now need Inset*::checkInsertChar() to return true for appropriate
13565 cases so that the characters in the minibuffer will actually be
13568 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * text.C: change the order of the includes.
13571 (workWidth): initialize it at once.
13572 (workWidth): make maxw unsigned
13573 (setHeightOfRow): remove unused variable (inset)
13574 (selectSelectedWord): remove unused variable (inset)
13575 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13577 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13579 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13580 server is not running.
13582 (closeConnection): add debug info when server is disabled.
13584 * ColorHandler.C (getGCForeground): send debug message to GUI
13587 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13589 * kbmap.C (bind): modify because return conventions of
13590 kb_sequence::parse have changed.
13592 * kbsequence.C (parse): only ignore spaces and not any stupid
13593 control character. This avoids tests like s[i] <= ' ', which are
13594 guaranteed to fail with 8bit characters and signed chars.
13595 Change return code to string::npos when there have been no error
13596 (0 was a bad idea when error is at first character)
13598 2001-11-14 José Matos <jamatos@fep.up.pt>
13601 * buffer.C (simpleDocBookOnePar): removed unused argument.
13603 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13605 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13606 insets which are part of a word. Paragraph::isLetter takes care of
13607 that now. Use Paragraph::isInset to identify insets.
13608 (selectSelectedWord): do not test for hyphenation break.
13610 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13611 that protected spaces are considered as spaces.
13613 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13616 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13619 * lyxserver.C: fix it. and small cleanup.
13621 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13623 * BufferView_pimpl.C: use inline helpers
13626 * LaTeXFeatures.C: fix typos
13629 * Spacing.C: move spacing_string into class
13631 * ToolbarDefaults.C: move stuff into namespace anon
13633 * layout.h: update enum
13635 * lyxfunc.C: use better debug
13637 * minibuffer.h: fix typo
13641 * WorkArea.C: add and use Debug::WORKAREA
13645 * text2.C: code re-organisation, inline helpers
13647 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13649 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13650 std::vector.empty().
13652 2001-11-09 Allan Rae <rae@lyx.org>
13654 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13655 '\n's after tables. Tabular and ERT inset work now makes this no
13658 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13661 * minibuffer.C: fix crash, improve drop-down completion
13663 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13666 * lyxserver.C: invalidate fd's when doing endPipe()
13668 2001-11-08 José Matos <jamatos@fep.up.pt>
13670 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13671 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13674 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13676 2001-11-07 José Matos <jamatos@fep.up.pt>
13679 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13682 * buffer.C (sgmlOpenTag):
13683 * buffer.C (sgmlCloseTag): removed debug info.
13685 * buffer.h (sgmlOpenTag):
13686 * buffer.h (sgmlCloseTag): made public.
13688 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * buffer.C (saveParamsAsDefaults):
13691 * lyx_cb.C (MenuLayoutSave): remove
13693 * LyXAction.C (init):
13695 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13697 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13699 * buffer.C (setPaperStuff): removed from here...
13701 * bufferparams.C (setPaperStuff): ... and moved there.
13703 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13707 * XFormsView.C: add support for drop-down completion
13709 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13711 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13714 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13719 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13721 * lyx_main.C: change ref to known bugs
13723 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13725 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13726 to work around older babel problems.
13728 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13730 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13732 2001-10-24 Juergen Vigna <jug@sad.it>
13734 * tabular-old.C (ReadOld): below variable changes reflected.
13736 * tabular.[Ch]: added ltType struct for longtable header/footer
13737 defines and changed all instances where they are used. Added
13738 future support for double top/bottom rows.
13740 2001-10-24 José Matos <jamatos@fep.up.pt>
13742 * buffer.h (docbookHandleCaption):
13743 * buffer.C (docbookHandleCaption): removed unused function.
13744 (makeDocBookFile): moved docbook supported version to v4.1.
13746 2001-10-24 José Matos <jamatos@fep.up.pt>
13749 * tabular.C (docbookRow): new function to export docbook code of a row.
13750 (DocBook): now honors the longtable flags.
13752 2001-10-23 José Matos <jamatos@fep.up.pt>
13755 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13756 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13758 * buffer.C (makeLinuxDocFile):
13759 (makeDocBookFile): reworked the preamble, more clean, and with
13760 support for lyx defined entities. Changed the document declaration
13761 to be more XML friendly.
13763 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13764 if we need to output XML that should be done with a filter.
13766 2001-10-22 Juergen Vigna <jug@sad.it>
13768 * sp_pspell.h (class PSpell): add alive function needed in the
13769 controller to see if the spellchecker could be started.
13771 2001-10-22 Juergen Vigna <jug@sad.it>
13773 * buffer.C (insertStringAsLines): modify the font for inserting
13774 chars in certain conditions by calling checkInsertChar(font).
13776 2001-10-19 Juergen Vigna <jug@sad.it>
13778 * text.C (workWidth): use getRow instead of wrong algorithm.
13779 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13781 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13786 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13788 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * text.C (workWidth): do not search for the exact row when
13791 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13792 optimization for big documents.
13794 2001-10-18 Juergen Vigna <jug@sad.it>
13796 * text.C (workWidth): new function with added Inset * parameter.
13798 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13800 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13802 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13803 change return type of getColumnNearX.
13806 * text.C (changeRegionCase): use uppercase/lowercase instead of
13809 (rightMargin): simplify code by factoring out the uses of
13814 (appendParagraph): use Paragraph::size_type
13816 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * vspace.C (asLatexString): add a missing break
13820 2001-10-15 Herbert Voss <voss@perce.de>
13822 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13824 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13826 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13829 2001-10-10 André Pönitz <poenitz@gmx.net>
13831 * lyxfunc.C: removed greek_kb_flag.
13833 2001-10-10 Herbert Voss <voss@perce.de>
13835 * lyx_main.C: delete global string help_lyxdir.
13837 2001-10-09 Herbert Voss <voss@perce.de>
13839 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13841 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13843 * lyx_main.C: added global string help_lyxdir.
13845 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13847 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13849 * lyxrc.C (set_font_norm_type): support iso8859-4
13851 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13853 * LaTeX.C (deplog): add another regex for MikTeX
13855 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13857 * lyxrc.C (set_font_norm_type): support iso8859-3
13859 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13863 * LaTeXFeatures.C: remove special case of french and index
13865 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13866 before \begin{document}). This solves several incompatibilities.
13868 2001-10-03 Garst Reese <reese@isn.net>
13870 * lyx_cb.C: change CheckTex error msg.
13872 2001-10-03 José Matos <jamatos@fep.up.pt>
13874 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13876 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * .cvsignore: update
13880 * lyx_main.C (commandLineVersionInfo): use new style version info.
13882 * buffer.C (writeFile):
13884 (makeLinuxDocFile):
13885 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13887 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13889 * version.h: update to use stuff in version.C
13891 * version.C.in: new file. Contains version information determined
13892 at compile time. This is a merging of version.h and
13895 2001-10-03 Juergen Vigna <jug@sad.it>
13897 * BufferView_pimpl.C (update): don't change "dirty" status in
13900 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13902 * WorkArea.C (c-tor): re-position version string slightly.
13904 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13906 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13907 revert to previous code.
13909 WorkArea.[Ch]: (show, destroySplash): methods removed.
13911 WorkArea.C: rework code so that it's an amalgam of the codes before and
13912 after the splash screen was moved to WorkArea.
13914 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13917 * vspace.C (inPixels):
13920 * buffer.C (insertStringAsLines):
13921 (asciiParagraph): fix types to be large enough
13923 * lyxlex_pimpl.h: change member status from short to int
13925 * layout.h: fix type of endlabeltype
13928 * kbsequence.C (parse): change return type to string::size_type
13930 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13933 * Bullet.C (bulletSize):
13934 (bulletEntry): do not use short ints as parameters
13936 * BufferView2.C (insertLyXFile): change a char to an int.
13938 * WorkArea.C (WorkArea): remove unneeded floats in computation
13940 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13942 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13944 * paragraph.C (asString): Do not ignore newline/hfill chars when
13945 copying to the clipboard.
13947 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13949 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13950 after a multi-line inset.
13952 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13954 * paragraph.C (validate): Set NeedLyXFootnoteCode
13956 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13958 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13959 and decrease-error to decrease.
13961 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13964 it more readable (should be equivalent)
13966 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13968 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13970 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13973 of a cursor (row, etc.) after a character has been deleted
13974 (deleteEmptyParagraphMechanism): call the method above on _all_
13975 cursors held by the LyXText when a double space has been
13978 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13980 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13982 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13984 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13985 background. Use greyOut() and the new show() methods to toggle between
13986 the foreground and background. Add code to remove the splash after
13987 its initial showing.
13989 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13990 (create_forms): no longer call Dialogs::showSplash.
13992 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13994 * .cvsignore: add version_info.h
13996 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * version_info.h.in: new file
14000 * Makefile.am: add version_info.h.in
14002 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14003 version_info.h instead of VERSION_INFO
14005 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14007 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14008 The ERT inset now returns string().
14010 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14012 * lyxtext.h, text.C (selectNextWord): renamed as
14013 selectNextWordToSpellcheck.
14015 * text.C (selectNextWordToSpellcheck): Modified to not select
14016 words inside an ERT inset.
14018 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * lyx_cb.C (MenuLayoutSave): change a bit the question
14022 * sp_base.h: include <sys/types.h>
14024 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14026 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14028 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14030 * several files: fix typos in user-visible strings
14032 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * text2.C (pasteSelection): do not set the selection, since it
14035 will be cleared later. Actually, the intent was to fix the way the
14036 selection was set, but I figured rmoving the code was just as good.
14038 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14040 * FontLoader.C (available): Check if font is available without
14043 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14045 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14047 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14049 * lyxrc.[Ch]: added display_graphics variable and associated code.
14051 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14053 * bufferparams.C (hasClassDefaults): new method. Returns true if
14054 the buffer parameters correspond to known class defaults
14056 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14058 * XFormsView.C (show): set minimum size to the main window.
14060 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * text2.C (copySelection):
14064 * lyxfind.C (LyXReplace):
14065 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14066 LyXText::selectionAsString.
14068 * paragraph.C (asString): add "label" argument to the second form
14070 * text2.C (selectionAsString): add "label" argument and pass it to
14071 Paragraph::asString.
14073 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * lyx_main.C (commandLineHelp): remove version information
14077 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14079 * lyx_main.C: add -version commandline option
14081 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14083 * paragraph.h: make the optional constructor arg required instead.
14084 some modifications to other files because of this.
14086 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14088 * lyxserver.C (C_LyXComm_callback): make it static
14090 * lyx_main.C (error_handler): make it static
14092 * lyx_gui.C (LyX_XErrHandler): make it static
14094 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14096 * WorkArea.C: make the extern "C" methods static.
14098 * Makefile.am (lyx_LDADD): simplify
14100 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14102 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14103 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14105 * LyXAction.C (init):
14106 * lyxfunc.C (dispatch): associated code removal.
14108 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * lyxfont.h (isSymbolFont): shut off warning
14112 * text.C (setHeightOfRow):
14113 (getVisibleRow): fix crash with empty paragraphs which have a
14116 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14118 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14121 2001-09-04 José Matos <jamatos@fep.up.pt>
14124 * tabular.C (docbook): rename docBook method to docbook.
14126 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14128 * Makefile.am: add dependencies to main.o.
14130 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14132 * FontLoader.C (available): Return false if !lyxrc.use_gui
14134 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14136 * FontInfo.C (query):
14137 * converter.C (view):
14138 * importer.C (Import):
14139 * exporter.C (Export): Can not -> cannot.
14141 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14143 * BufferView_pimpl.C: allow to create index inset even if
14146 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14148 * buffer.C (getLists): replace boost::tie code with an explicit pair
14149 as boost::tie can break some compilers.
14151 * iterators.h: Added a std:: declaration to the return type of
14154 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14156 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14159 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14161 * iterators.[Ch]: New files. Provide paragraph iterators.
14163 * buffer.C (changeLanguage): Use paragraph iterators.
14164 (isMultiLingual): ditto
14166 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14168 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14170 * FontLoader.C: Support for cmr font.
14172 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14174 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14175 (available): New method.
14177 * FontInfo.C (getFontname): Use scalable fonts even when
14178 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14181 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14183 * converter.C (Formats::view): reverted! Incorrect fix.
14185 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14187 * converter.C (Formats::view): only output the -paper option
14188 if the dvi viewer is xdvi, thereby fixing bug #233429.
14190 2001-08-23 Herbert Voss <voss@perce>
14192 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14194 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14196 * Spacing.h (Spacing): Set space to Default on in the default
14199 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14201 * vc-backend.h (RCS::versionString): add RCS to version
14202 (CVS::versionString): add CVS to version
14204 * vc-backend.C (scanMaster): do not add CVS to version.
14205 (scanMaster): do not add RCS to version
14207 * lyxvc.C (versionString): new method
14209 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14211 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14213 * Spacing.C (set): initialize fval
14215 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14217 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14220 2001-08-16 Juergen Vigna <jug@sad.it>
14222 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14224 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14226 * BufferView_pimpl.C:
14229 * text2.C: setParagraph takes linespacing now
14231 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14233 * LyxAction.C: add internal LFUN_CITATION_INSERT
14235 * LyXView.C: actually apply fix
14237 * bufferlist.C: fix open non-existent file
14239 * lyxfind.C: fix indentation
14241 * lyxfunc.C: remove unneeded assert, fix typo
14243 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14245 * MenuBackend.C: use "Floatname List"
14247 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14249 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14250 when converting LaTeX layout to insetERT.
14251 Generate a non-collapsed float when reading old float
14253 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14255 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14258 2001-08-13 Juergen Vigna <jug@sad.it>
14260 * text.C (fill): return 0 instead of 20 as this seems to be the more
14263 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14265 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14268 2001-08-13 Juergen Vigna <jug@sad.it>
14270 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14272 (SearchBackward): comment out the unlocking of the inset_owner this
14273 should not be needed!
14275 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14277 * Many files: Remove inherit_language, and add latex_language
14279 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14280 collapsible insets.
14282 2001-08-10 Juergen Vigna <jug@sad.it>
14284 * text.C (prepareToPrint): fixed hfill-width in draw!
14286 * BufferView2.C (selectLastWord): save the selection cursor as this
14287 now is cleared in the function LyXText::clearSelection!
14289 2001-08-08 Juergen Vigna <jug@sad.it>
14291 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14292 BACKSPACE type functions.
14294 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14295 is only cutted from the document but not put in the cut-buffer, where
14296 still the old stuff should be.
14298 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14300 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14302 * tabular.C (SetWidthOfCell): fixed special case where the width
14304 (LeftLine): handle '|' in align_special.
14306 (LeftAlreadyDrawed): ditto
14307 (SetWidthOfCell): ditto
14309 2001-08-07 Juergen Vigna <jug@sad.it>
14311 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14313 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14316 * lyxlex.[hC]: ditto
14318 2001-08-06 Juergen Vigna <jug@sad.it>
14320 * text.C (getVisibleRow): fix up row clearing a bit.
14322 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * minibuffer.C: make sure the X server sees the changes in the input.
14326 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14328 * paragraph.C (getFont): split into...
14329 (getLabelFont): this
14330 (getLayoutFont): and this
14331 * paragraph_pimpl.C (realizeFont): calling this
14333 * text2.C (getFont): split into...
14334 (getLayoutFont): this
14335 (getLabelFont): and this
14336 (realizeFont): all three calling this
14338 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14341 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14345 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14347 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14348 layouts from the Quote inset insertion.
14350 2001-08-03 Juergen Vigna <jug@sad.it>
14352 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14354 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14355 only if status not is already CHANGED_IN_DRAW (second level).
14357 * text.C (draw): don't set the need_break_row when inside an
14360 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14362 * buffer.C (parseSingleLyXformat2Token): handle more latex
14365 * bufferview_funcs.[hC]: change function names to
14366 begin with small char, adjust other files.
14368 2001-08-02 André Pönitz <poenitz@gmx.net>
14371 BufferView_pimpl.C: remove broken special code for math-greek
14373 2001-08-02 Juergen Vigna <jug@sad.it>
14375 * BufferView_pimpl.C (update): redone this function so that we
14376 update the text again if there was a CHANGE_IN_DRAW.
14378 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14379 (drawFromTo): added a new internal bool which is used by draw() and
14381 (general): some cursor drawing problems fixed.
14383 2001-08-01 Juergen Vigna <jug@sad.it>
14385 * lyxfind.C (LyXFind): fixed
14386 (SearchForward): ditto
14387 (SearchBackward): ditto
14389 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14390 spurius drawing of the cursor in the main area.
14392 * text2.C (status): small fix which could lead to a segfault!
14393 (clearSelection): remove unneeded BufferView param.
14395 2001-08-01 André Pönitz <poenitz@gmx.net>
14397 * lyxfunc.C: small change due to changed mathed interface
14399 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14403 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14405 * lyxfunc.c: fail gracefully if file doesn't exist
14410 * BufferView_pimpl.C: IsDirWriteable() proto changed
14412 * LyXView.C: fix updateWindowTitle() to store the last title
14414 2001-07-31 Juergen Vigna <jug@sad.it>
14416 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14417 the font (wrong since using of Paragraph::highestFontInRange).
14419 * paragraph.C (highestFontInRange): added a default_size parameter.
14421 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14422 (setHeightOfRow): reformat
14424 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * converter.[hC] + affected files: move to (inital-char)lowercase
14429 * ParagraphParameters.C (ParagraphParameters): remove commented code
14431 * PainterBase.[Ch]: remove commented code
14433 * LaTeXFeatures.h: add "bool floats" for float.sty
14435 * LaTeXFeatures.C (LaTeXFeatures): init floats
14436 (require): handle float
14437 (getPackages): do it with floats
14439 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14441 * BufferView_pimpl.C (Dispatch): improve handling of
14442 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14444 * commandtags.h: #include lyxfont.h here temporarily to avoid
14447 * bufferlist.h: include LString.h here.
14449 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * text2.C (getStringToIndex): new method.
14453 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14455 * *: Reduced header file dependencies all over.
14457 2001-07-30 Baruch Even <baruch@lyx.org>
14459 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14461 2001-07-29 Baruch Even <baruch@lyx.org>
14463 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14465 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * ParameterStruct.h (endif): add a default constructor to make
14468 sure that all variables is initialized.
14470 * ParagraphParameters.C (ParagraphParameters): adjust
14472 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14474 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14475 index; also, check that there is something to index, and that it
14476 does not span over several paragraphs.
14477 (doubleClick): use WHOLE_WORD_STRICT for double click.
14479 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14481 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14484 2001-07-26 Baruch Even <baruch@lyx.org>
14486 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14487 an InsetFig figure, backwards compatible reading of old figure code.
14489 2001-07-27 Juergen Vigna <jug@sad.it>
14491 * text2.C: font.realize function adaption.
14493 * text.C (draw): add a warnings lyxerr text if needed.
14495 * layout.C: font.realize function adaption.
14497 * language.C: add inherit_language and implement it's handlings
14499 * bufferview_funcs.C (StyleReset): remove language parameter from
14500 font creation (should be language_inherit now).
14502 * bufferparams.C (writeFile): handle ignore_language.
14504 * paragraph.C (getFontSettings): the language has to be resolved
14505 otherwise we have problems in LyXFont!
14507 * lyxfont.C (lyxWriteChanges): added document_language parameter
14508 (update): removed unneeded language parameter
14510 * paragraph.C (validate): fixed wrong output of color-package when
14511 using interface colors for certain fonts in certain environments,
14512 which should not seen as that on the final output.
14514 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14516 * BufferView_pimpl.C:
14521 * LyXAction.C: add thesaurus support
14524 * lyxfind.C: add "once" parameter, for thesaurus, to not
14525 move to the next match
14527 2001-07-26 Juergen Vigna <jug@sad.it>
14529 * lyxfont.C (realize): honor ignore_language too!
14532 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14534 * text.C (draw): one place more for ignore_language to not draw
14537 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14539 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14541 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14543 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14544 the minipage conversion problem.
14546 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14548 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14551 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * BufferView.h: don't forward declare WorkArea
14555 * BufferView.C: don't include WorkArea.h
14557 2001-07-25 André Pönitz <poenitz@gmx.net>
14561 * lyxfunc.C: new LFUN 'math-space'
14563 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14565 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14567 * text2.C (toggleInset): call open/close
14569 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * lyxfunc.C (dispatch): add debug for the disabled case
14573 * font.C (buttonText): make similar to rectText
14575 * buffer.C (readInset): comment out parsing of insetlist and
14578 * PainterBase.C (rectText): small correction
14580 * BufferView_pimpl.C: comment out insettheorem and insetlist
14581 * LyXAction.C: ditto
14582 * commandtags.h: ditto
14584 2001-07-24 Juergen Vigna <jug@sad.it>
14586 * text.C (draw): honor the ignore_language.
14588 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14590 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14595 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14597 * lyxtext.h: remove unused (and unimplemented) methods
14599 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14601 * text.C (getVisibleRow): honor background color
14604 * Painter.h: remove default color argument for fillRectangle
14606 * text.C (backgroundColor): new method
14608 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * text.C (getVisibleRow): adjust
14612 * font.[Ch] (rectText): new method, metrics
14613 (buttonText): new method, metrics
14615 * PainterBase.[hC]: make rectText and buttonText always draw and take
14618 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14620 * ToolbarDefaults.C (read):
14621 * MenuBackend.C (read): allow escaping in all strings
14623 * BufferView_pimpl.C (insertAndEditInset): new method.
14624 (Dispatch): use insertAndEditInset whenever appropriate.
14626 * BufferView_pimpl.C (insertNote): removed
14628 * BufferView_pimpl.C (smartQuote): new method, moved from
14629 BufferView; if an insetquote cannot be inserted, insert a '"'
14632 * BufferView2.C: remove insertCorrectQuote();
14634 * lyxfunc.C (getStatus): Add support for all remaingin
14635 inset-insert lfuns.
14637 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14639 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14640 command (necessary to pass " as parameter of self-insert.
14642 * text.C (selectWordWhenUnderCursor):
14643 (selectWord): add word_location parameter
14644 (selectWordWhenUnderCursor): same + remove special code for word
14646 (selectNextWord): use kind() to guess type of insetspecialchar,
14649 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14650 (insertErtContents): create ert insets as collapsed.
14651 (readInset): better compatibility code for Info inset.
14653 2001-07-20 Juergen Vigna <jug@sad.it>
14655 * lyxfunc.C (dispatch): use always LyXFind now!
14657 * text2.C (init): add a reinit flag so that the LyXText can be
14658 reinited instead of deleted and reallocated (used in InsetText).
14660 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14666 2001-07-18 Juergen Vigna <jug@sad.it>
14668 * text.C (selectNextWord): handle insets inside inset by calling
14669 always the bv->text functions so that we can go up the_locking_inset!
14671 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14672 in strange locations when inside an inset!
14674 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14675 handling to include insets.
14677 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14679 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14681 * LyXAction.C (init):
14683 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14684 LIGATURE_BREAK, since the name is so stupid.
14686 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14688 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14691 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14693 * sp_form.[Ch]: remove.
14695 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14697 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14700 * src/buffer.C (readInset): ditto.
14702 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14704 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14705 menuSeparator(), endOfSentenceDot(), ldots() and
14706 hyphenationPoint(), which are therefore removed.
14707 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14709 * LyXAction.C (init):
14710 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14712 * paragraph.C (getWord): removed.
14714 * BufferView_pimpl.C (Dispatch): use last word or selection for
14715 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14717 * lyx_main.C (queryUserLyXDir): do not ask before creating
14718 user_dir, except if it has been named explicitely.
14720 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14722 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14723 a document of zero size.
14725 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14727 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14728 approriately in the c-tor and in require().
14729 (getPackages): output the appropriate LaTeX for natbib support.
14731 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14732 variables "use_natbib" and "use_numerical_citations" when reading the
14734 (readInset): read the various natbib cite commands.
14735 (validate): white-space change.
14737 * bufferparams.[Ch]: new variables "bool use_natbib" and
14738 "bool use_numerical_citations".
14739 (writeFile): output them in the LyX file.
14741 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14743 * lyxfunc.C (getStatus): add support for all the inset insertion
14746 * text2.C (insertInset):
14747 * paragraph.C (insetAllowed):
14748 * BufferView_pimpl.C (insertInset): update to take in account the
14749 renaming of insertInsetAllowed
14751 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14753 * text2.C (getInset): new method. returns inset at cursor position.
14755 * BufferView_pimpl.C (Dispatch): changes because of this.
14757 * LyXAction.C (init): rename open-stuff to inset-toggle.
14759 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14761 * text2.C (toggleInset): renamed from openStuff; use
14764 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14766 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14768 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14770 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14772 * buffer.C (readLyXformat2): Add filename to the error dialog
14774 2001-07-18 Juergen Vigna <jug@sad.it>
14776 * tabular.C (GetCellNumber): put an assert here instead of the check!
14778 2001-07-17 Juergen Vigna <jug@sad.it>
14780 * BufferView_pimpl.C (toggleSelection): adapted too.
14782 * text.C (selectNextWord): adapted for use with insets.
14783 (selectSelectedWord): ditto
14785 2001-07-17 Juergen Vigna <jug@sad.it>
14787 * sp_spell.C (PSpell): fix initialitation order.
14789 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * paragraph.C: spacing
14793 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14795 * sp_spell.C: repair language selection for pspell
14797 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * lyxfunc.h: change more methods to begin with lower char.
14801 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14803 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14804 for unknown layouts.
14806 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14808 * buffer.C (readLyXformat2): Generate an error dialog if there are
14811 2001-07-16 Juergen Vigna <jug@sad.it>
14813 * sp_spell.C: always compile ISpell part.
14815 * lyxrc.C: added use_pspell entry and it's handling.
14817 2001-07-13 Juergen Vigna <jug@sad.it>
14819 * sp_spell.C: removed double includes.
14821 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14823 Consistent use of Lsstream.h:
14824 * Lsstream.h: added using std::stringstream for consistencies sake.
14826 * buffer.C: removed using std::stringstream
14828 * lyxfont.C (stateText):
14829 * paragraph.C (asString):
14830 * text.C (selectNextWord, selectSelectedWord):
14831 * text2.C (setCounter):
14832 * vspace.C (asString, asLatexString):
14833 std::ostringstream -> ostringstream.
14835 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14837 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14838 * commandtags.h: add LFUN_HELP_ABOUTLYX
14839 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14841 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14843 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14845 * lyx_gui_misc.C: remove spellchecker
14846 * lyxfunc.C: showSpellchecker
14848 * sp_ispell.h: added
14849 * sp_pspell.h: added
14850 * sp_spell.C: added
14851 * sp_form.[Ch]: removed
14852 * spellchecker.[Ch]: removed
14854 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14856 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14858 (simpleTeXSpecialChars): Simply print the input character without
14859 any special translation if pass_thru is set.
14861 * layout.h: Added bool pass_thru to layout class for being able to
14862 implement pass through of a paragraph for Literate Programming.
14864 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14865 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14866 * layout.C (Read): add "passthru" to list of layout tags and add
14867 code to set the pass_thru boolean when it is read.
14869 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * trans_decl.h: remove allowed from KmodInfo
14873 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14874 remove allowed code
14877 * paragraph_pimpl.C (erase): use boost::prior
14879 * Painter.C (text): use data() instead of c_str() when length is
14881 * WorkArea.C (putClipboard): ditto
14882 * font.h (width): ditto
14884 * BufferView2.C: use it-> instead of (*it). for iterators
14886 * paragraph_pimpl.C: ditto
14887 * paragraph.C: ditto
14888 * minibuffer.C: ditto
14889 * language.C: ditto
14891 * encoding.C: ditto
14892 * counters.C: ditto
14893 * converter.C: ditto
14895 * Variables.C: ditto
14896 * TextCache.C: ditto
14897 * MenuBackend.C: ditto
14898 * LyXAction.C: ditto
14900 * FloatList.C: ditto
14901 * DepTable.C: ditto
14902 * ColorHandler.C (LyXColorHandler): ditto
14904 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14908 * text2.C (openStuff): reintroduce this method (which had been
14909 nuked in NEW_INSETS frenzy).
14911 * lyxfunc.C (Dispatch): when an action has not been handled, use
14912 its name in the error message, not its number.
14914 * paragraph.C (inInset): change method name to begin with lowercase.
14917 * text2.C: updates because of this.
14919 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * ToolbarDefaults.C (add): add spaces in error message
14923 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14926 (readLyXformat2): rename return_par to first_par, use lyxlex's
14927 pushToken and remove the manual push handling.
14928 (parseSingleLyXformat2Token): add another ert comp. variable:
14929 in_tabular, rename return_par to first_par. handle newlines better
14931 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14933 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14935 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14937 * text2.C (getParFromID): removed
14939 * buffer.C (getParFromID): new method moved form lyxtext.
14940 * BufferView2.C (insertErrors): adjust
14941 (setCursorFromRow): adjust
14942 * BufferView_pimpl.C (restorePosition): adjust
14943 * lyxfunc.C (Dispatch): adjust
14944 * undo_funcs.C (textUndo): adjust
14946 (textHandleUndo): adjust
14947 (textHandleUndo): adjust
14949 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * buffer.C: up' the LYX_FORMAT
14953 * lyxfont.h: turn NO_LATEX on as default
14955 * buffer.C (insertErtContents): new methods of tex style compability.
14956 (parseSingleLyXformat2Token): use it several places.
14957 * tabular.C (OldFormatRead): and here
14959 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14961 * text2.C: remove some commented code.
14964 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14965 * trans.C: changes because of the above.
14967 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14969 * text2.C (setCounter): Fix counters bug with bibliography layout.
14971 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14973 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14974 own member functions
14975 (simpleTeXSpecialChars): ditto
14977 2001-07-06 Juergen Vigna <jug@sad.it>
14979 * a lot of files: changed the access to LyXText::status and the
14980 call of undo-functions.
14982 * undo.[Ch]: added a inset_id to the undo informations.
14984 * undo_funcs.[Ch]: added and moved here all undo functions.
14986 * lyxtext.h: give the status enum a weight, made status_ a private
14987 variable and made accessor functions for it, removed the whole bunch
14988 of undo-functions as they are now in their own file, make some
14989 functions publically available. Added function ownerParagraph with
14992 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14993 made InInset() a const function, added getParFromID() function.
14995 * buffer.[Ch]: added const version for inset_iterator functions,
14996 added getInsetFromID() function.
14998 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14999 changed undo functions for new version.
15001 2001-07-05 Juergen Vigna <jug@sad.it>
15003 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15004 unknow mechanism does not call the proper constructor but only this
15005 one also if I request the other!?
15007 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15011 * text2.C (LyXText): use initialization lists.
15013 * lyxtext.h (Selection): initialize set_ and mark_
15014 (init): remove method
15016 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15018 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15020 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15022 * screen.[Ch]: change method names to begin with lowercase
15024 * BufferView_pimpl.C (updateScrollbar): simplify further and
15025 hopefully make it a bit faster.
15027 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15030 calling directly xforms functions.
15032 * Painter.C (Painter):
15033 * lyx_cb.C (MenuWrite):
15034 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15037 * lyx_gui.C: remove bogus guiruntime extern declaration.
15039 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15043 (redoDrawingOfParagraph): ditto
15044 (redoParagraphs): ditto
15045 (cutSelection): don't create a object for CutAndPaste use the
15046 static method directly
15047 (pasteSelection): ditto
15049 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15052 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * modifications to some other files because of this.
15056 * Makefile.am (lyx_SOURCES): add XFormsView
15058 * XFormsView.[Ch]: new files
15060 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15061 the main window. Move the gui dependent stuff to XFormsView
15063 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * tabular.C (GetCellInset): update cur_cell also in the row/col
15066 version of this function.
15068 * lyxfunc.C: no need to include figure_form.h here.
15074 * lyxvc.C: no need to include forms.h here.
15076 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15078 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15080 * lyxfunc.C (Dispatch):
15082 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15083 constructor argument.
15085 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15087 * paragraph.C (Paragraph): dont't clear, and just set layout.
15088 (makeSameLayout): use params's copy contructor.
15090 * ParagraphParameters.[Ch] (makeSame): delete method
15092 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15094 * Variables.[Ch]: fix indentation, rename set to isSet
15096 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * lyxfunc.C (Dispatch): fix typo
15100 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15102 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15105 * bufferlist.C: include assert.h for emergencyWrite().
15107 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15109 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15110 give up at last (bug #425202) !
15112 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15118 * spellchecker.C: strip spellchecker options and bring up
15119 preferences tab instead
15121 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15124 the istringstream constructor
15126 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * paragraph.C (getLayout): fix return value
15130 * paragraph.h: do not declare getLayout as inline.
15132 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15134 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15136 * lyxcursor.h (operator<): new func
15137 (operator>): new func
15138 (operator>=): new func
15139 (operator<=): new func
15141 * text.C (changeCase): use selection.start and selection.end
15142 (changeRegionCase): require from to be <= to. Require par to be a
15145 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15147 2001-06-27 Juergen Vigna <jug@sad.it>
15149 * text.C (cursorLeftOneWord): changed to return the cursor and added
15150 overlay with BufferView * parameter which calls this one.
15152 (selectWord): use new getWord function.
15153 (changeCase): renamed from changeWordCase as and extended to work
15154 also on selections.
15156 * lyxtext.h: added enum word_location
15158 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15159 changeCase as this operates now also on selections.
15161 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15163 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15165 * many files: send debug output to Debug::INFO instead of
15168 * converter.C (View):
15170 (Move): send debug output to Debug::FILES instead of console.
15172 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15174 * lyxfunc.C (getStatus): use func_status
15176 * func_status.h: new header, describing the results of
15177 LyXFunc::getStatus;
15179 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15182 2001-06-25 The LyX Project <jug@sad.it>
15184 * buffer.C (sgmlOpenTag):
15186 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15188 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15190 * text2.C: remove some dead code
15192 * tabular.C (GetCellInset): store the last cell checked (gotten)
15194 * tabular.h: add the helper for the speedup
15196 * lyxtext.h: remove some dead code
15198 2001-06-26 The LyX Project <Asger>
15200 * paragraph.C: Change export to LaTeX of alignment to
15201 \begin{center} and family for better roundtrip work with reLyX.
15203 * Tune the math drawing a bit.
15205 2001-06-25 The LyX Project <Asger>
15207 * LColor.C (LColor): New color for math background. New color
15210 2001-06-25 The LyX Project <jug@sad.it>
15212 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15214 * lyxfunc.C (Open):
15215 * bufferlist.C (newFile): do not restrict to files ending with
15218 * BufferView_pimpl.C (MenuInsertLyXFile):
15220 2001-06-24 The LyX Project <jug@sad.it>
15222 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15225 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * lyxtext.h: rename most methods to begin with a small char.
15228 Lots of changes because of this.
15230 * paragraph.C (Paragraph): do not call fitToSize
15231 (erase): call Pimpl::erase
15232 (insertChar): call Pimpl::insertChar
15233 (insertInset): call Pipl::insertInset
15234 (breakParagraph): do not call fitToSize
15235 (breakParagraphConservative): do not call fitToSize
15236 (fitToSize): remove method
15238 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15240 2001-06-24 The LyX Project <Asger>
15242 * Fix Qt compilation^2
15244 2001-06-24 The LyX Project <jug@sad.it>
15246 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15247 depthHook(getDepth()-1).
15250 * ParagraphParameters.h:
15251 * ParameterStruct.h: change type of depth to unsigned int ==
15252 depth_type. Many adaptations to other files before of that.
15254 2001-06-24 The LyX Project <Asger>
15256 * Fix Qt compilation.
15258 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * paragraph.h: renamed several methods to begin with small letter.
15261 several changes to many parts of the code because of this.
15263 2001-06-23 The LyX Project <jug@sad.it>
15265 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15266 rewritten to discard all double spaces when KeepEmpty is off
15267 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15268 to only handle newlines but not fiddle with spaces and friends.
15270 * lyxfunc.C (MenuNew): when doing 'new from template', use
15271 template_path as default directory
15273 2001-06-23 The LyX Project <Asger>
15275 * Clean-up of header file includes all over
15276 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15278 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15280 * paragraph.h: renamed from lyxparagraph.h
15282 2001-06-23 Asger <lyx@violet.home.sad.it>
15284 * Buffer.h: Removed Buffer::resize
15285 * BufferList.h: Removed BufferList::resize
15286 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15287 the document lazily when we change the width, or the font settings.
15289 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15291 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15293 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15295 * buffer.h: remove out of date comment
15297 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15300 * screen.C: fix "theoretical" GC leak
15302 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * LaTeX.C (scanAuxFile):
15305 (deplog): remove trailing \r when reading stream (useful under
15308 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15310 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15311 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15312 and BufferView::theLockingInset(Inset*), so should use them and not
15313 access bv_->text->the_locking_inset directly.
15315 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15317 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15320 * tex-defs.h: remove old unused file
15322 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15324 * BufferView_pimpl.C: fix typo, remove minibuffer message
15325 when buffer has loaded
15327 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15329 * lyxfunc.C (Dispatch): use stringstream
15330 (MenuNew): use stringstream
15331 (Open): use stringstream
15333 * importer.C (Import): use stringstream
15335 * bufferview_funcs.C (CurrentState): use stringstream
15337 * LaTeX.C (run): use stringstream
15339 * BufferView_pimpl.C (savePosition): use stringstream
15340 (restorePosition): use stringstream
15341 (MenuInsertLyXFile): use stringstream
15343 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15356 * vspace.C: removed // -*- C++ -*- as first line.
15359 * version.h: added // -*- C++ -*- as first line.
15361 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15363 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15365 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15368 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15370 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15373 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15375 * gettext.C: include LString.h even when --disable-nls is on.
15377 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15379 * converter.h (Get): changed argument type from int to
15380 FormatList::size_type to avoid unnecessary conversion.
15382 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15385 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * gettext.h: include LString.h even when --disable-nls is on.
15389 2001-06-07 Juergen Vigna <jug@sad.it>
15391 * text.C (BreakAgain): subst spaces with tabs.
15393 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15394 (resizeInsetsLyXText): set force on resizeLyXText.
15396 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15398 * gettext.h (gettext_init):
15399 (locale_init): use a real definition instead of a macro
15401 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15403 * Bufferview_pimpl.C:
15405 * LColor.C: further lcolor tidies
15407 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15409 * BufferView_pimpl.C (updateScrollbar): simplify.
15411 * BufferView2.C: don't include insets/insetinfo.h, change
15412 prototype for insertInset and call the Pimpl version. let
15413 updateInset call Pimpl version.
15415 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15416 gotoInset to BufferView::Pimpl
15418 2001-06-01 Juergen Vigna <jug@sad.it>
15420 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15421 inside a LockingInset (is the update needed at all?).
15423 2001-05-31 Juergen Vigna <jug@sad.it>
15425 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15426 here not the old one otherwise how should we compare it afterwards
15429 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * FontInfo.C: bring C functions into global namespace when
15437 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * LString.h: make sure config.h has been loaded before LString.h.
15441 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15442 (one for each char read by EatLine!).
15444 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15447 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15449 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15450 to the same as the par we break from
15452 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15454 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15456 * MenuBackend.C (expand): also create menu entries for wide
15457 versions of the floats.
15459 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15461 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15463 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15464 frontends/Makefile.am
15470 * tabular.C (getTokenValue): add std::
15472 * tabular-old.C (getTokenValue): add std::
15473 (getTokenValue): ditto
15474 (getTokenValue): ditto
15476 * screen.C (ToggleSelection): adjust
15478 * lyxtext.h: put selection cursors inside a Selection struct.
15480 * lyxfunc.C (moveCursorUpdate): adjust
15482 * lyxfont.C (latexWriteStartChanges): add std::
15484 * lyxfind.C: adjust
15486 * font.h: delete with(char const *, LyXFont const &)
15488 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15490 * FontInfo.C (getFontname): add std::
15492 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15493 (workAreaButtonPress): adjust
15494 (tripleClick): adjust
15496 (moveCursorUpdate): adjust
15499 * BufferView2.C (gotoInset): adjust
15501 2001-05-30 Juergen Vigna <jug@sad.it>
15503 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15504 to check pspell I add this as default as I now have new pspell
15505 libraries and they seem to use this.
15507 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15509 * text2.C (CutSelection): make the cursor valid before the call to
15512 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15514 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15515 relied on 0 terminated strings and other horrors. Bug found due to
15516 the new assert in lyxstring!
15518 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15521 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15526 * lyxfunc.C (processKeySym): change method of getting to the
15529 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15530 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15531 * BufferView_pimpl.[Ch]: here as private methods.
15533 2001-05-28 Juergen Vigna <jug@sad.it>
15535 * text.C (SetHeightOfRow): added the update() call again as it is
15536 needed to initialize inset dimensions!
15538 2001-05-16 Juergen Vigna <jug@sad.it>
15540 * text2.C (SetCharFont): Add new function with BufferView * and
15541 bool toggleall parameters for setting insets internal fonts.
15542 (SetFont): Freeze the undo as we may change fonts in Insets and
15543 all this change should be inside only one Undo!
15545 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15546 setting font's in insets as for them we have the SetFont function!
15548 2001-05-15 Juergen Vigna <jug@sad.it>
15550 * text2.C (ClearSelection): to be sure we REALLY don't have any
15553 * tabular.C (TeXCellPreamble): fixed the left border problem for
15556 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15558 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15561 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15563 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15564 LFUN_BREAKPARAGRAPH.
15566 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15567 help test to "internal only", similar for LFUN_INSERT_URL
15569 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15570 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15571 auto_region_delete and deadkeys.
15573 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15576 * LColor.C: remove some dead entries, tidy a little
15578 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15580 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15582 (Dispatch): implement LFUN_ESCAPE
15584 * commandtags.h: add LFUN_ESCAPE
15586 * LyXAction.C (init): add entry for LFUN_ESCAPE
15588 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15589 Remove commented code.
15590 (insertNote): moved here
15591 (open_new_inset): moved here
15593 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15596 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * kbmap.C (findbinding): clean it up and make it work correctly.
15600 * lyx_main.C (init): do not pass argc and argv as parameters
15602 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15604 * buffer.C: fix path for OS/2 & Win32
15608 * lyx_main.C: Added os:: class.
15610 * os2_defines.h: update
15612 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15615 better by trying again with reduced state.
15617 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * lyxrc.C (read): print error about invalid key sequence only when
15620 debugging (because not all latinX keysyms are known to some X
15623 * kbsequence.C (getiso): add a few std:: qualifiers
15624 (getiso): comment out extra return statement.
15626 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15630 (Dispatch): enhance the accent inset a bit. (not perfect)
15632 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15636 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15638 * bufferlist.C (emergencyWrite): fix assert() call
15640 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15642 * text.C (InsertChar): Added trivial patch to only send the "you
15643 can not do multiple spaces this way" message once during a
15646 2001-05-08 Baruch Even <baruch@lyx.org>
15648 * Makefile.am: Changed order of libraries to get LyX to link properly
15649 with the gnome frontend.
15651 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * LaTeXFeatures.h: add a std:: qualifier
15655 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15657 * paragraph.C (String): use stringstream
15659 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15661 * paragraph.C (writeFile): remove footflag arg
15663 * buffer.C (makeLaTeXFile): use stringstream
15664 (latexParagraphs): remove footnot gurba
15666 * LaTeXFeatures.C (getPackages): use stringstream
15667 (getMacros): likewise
15668 (getTClassPreamble): likewise
15669 (getFloatDefinitions): new method
15671 * paragraph.C (writeFile): reindent
15674 * WorkArea.h: revert the xpos + etc changes.
15676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15678 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15680 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15681 (pasteSelection): likewise
15682 * text2.C (CreateUndo): likewise
15684 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15686 * minibuffer.C (peek_event): temporarily reduce the functionality
15687 of the minibuffer (to allow args on lfuns)
15689 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15690 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15692 * buffer.C (readInset): add compability reading of old float
15693 lists, add reading of new style float list.
15694 (readInset): avoid reevaluation of inscmd.getCmdName()
15695 (getLists): reindent
15697 * MenuBackend.C (MenuItem): implement parsing of
15698 md_floatlistinsert and md_floatinsert.
15699 (expand::LastFiles): move initalizaton of iterators out of loop,
15700 avoid reevaluation.
15701 (expand::Documents): introduce typdedef vector<string> Strings,
15703 (expand::ExportFormats): introduce typedef vector<Format const *>
15704 Formats, and use it.
15705 (expand): implement FloatListInsert and FloatInsert.
15707 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15708 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15709 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15711 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15713 (Dispatch::LFUN_FLOAT_LIST): implement
15715 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15717 * LaTeX.C (run): Fix problem with --export code.
15719 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15721 * BufferView.[Ch] (workarea): removed.
15722 (getClipboard) new method; wrapper for workarea()->getClipboard()
15724 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15727 * WorkArea.h (width, height, xpos, ypos): These methods all
15728 returned the dimensions of the work_area sub-area of WorkArea,
15729 resulting in a position error if the WorkArea were resized. Now
15730 return the dimensions of the entire WorkArea.
15732 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15734 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * LaTeX.C (deplog): correct the syntax of regex reg1
15738 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * undo.C: remove !NEW_INSETS cruft
15742 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * text2.C: remove !NEW_INSETS cruft
15746 * text.C: remove !NEW_INSETS cruft
15748 * tabular.C: remove !NEW_INSETS cruft
15750 * spellchecker.C: remove !NEW_INSETS cruft
15752 * lyxtext.h: remove !NEW_INSETS cruft
15754 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15756 * lyxfunc.C: remove !NEW_INSETS cruft
15758 * lyxfind.C: remove !NEW_INSETS cruft
15760 * lyx_cb.C: remove !NEW_INSETS cruft
15762 * figureForm.C: remove !NEW_INSETS cruft
15764 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15766 * buffer.[Ch]: remove !NEW_INSETS cruft
15768 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15770 * CutAndPaste.C: remove !NEW_INSETS cruft
15772 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15774 * BufferView2.C: remove !NEW_INSETS cruft
15776 * BufferView.h: remove !NEW_INSETS cruft
15778 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15780 * Lsstream.h: include LString.h before the sstream headers to
15781 fix problem with gcc 2.95.3 and lyxstring
15783 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * lyx_main.C: add using directives when needed for C functions
15786 declared in std:: namespace.
15788 2001-04-27 Juergen Vigna <jug@sad.it>
15790 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15791 (SetHeightOfRow): comment out the update call should not be needed!
15793 2001-04-13 Juergen Vigna <jug@sad.it>
15795 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15796 (LyXTabular): tried to minimize operator= operations (and realized
15797 hopfully Lars wish).
15799 2001-04-27 Juergen Vigna <jug@sad.it>
15801 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15803 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15805 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15807 * buffer.C (readInset): hack to make listof algorithm work
15809 * BufferView_pimpl.C: hack to make listof algorithm work
15811 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * LyXAction.C: removed all !NEW_INSETS cruft
15814 (init): moved lfun_item in method
15816 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15818 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15820 * BufferView2.C (theLockingInset): white space.
15822 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15824 * minibuffer.C: include <iostream>
15826 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15828 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15830 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15832 * text.[Ch] (TransposeChars): new method
15834 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * call message directly through LyXView instead of through LyXFunc
15837 * BufferView2.C: adjust
15838 * BufferView_pimpl.C: adjust
15839 * FontLoader.C: adjust
15841 * bufferview_funcs.C: adjust
15842 * converter.C: adjust
15843 * figureForm.C: adjust
15844 * importer.C: adjust
15846 * lyx_gui_misc.C: adjust
15847 * lyxfunc.C: adjust
15850 + more files in subdirs
15852 * lyxparagraph.h (size): move up int file
15855 * adjust all uses of Assert to lyx::Assert.
15857 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15858 lyxfunctional in namespace lyx
15859 * layout.C (hasLayout): ditto
15862 (delete_layout): ditto
15863 (NumberOfClass): ditto
15864 * converter.C (GetFormat): ditto
15869 * bufferlist.C (getFileNames): ditto
15870 (emergencyWriteAll): ditto
15873 * MenuBackend.C (hasSubmenu): ditto
15876 * BufferView_pimpl.C (getInsetByCode): ditto
15878 2001-04-18 Juergen Vigna <jug@sad.it>
15880 * vspace.C (asLatexString): fixed the 100% problem.
15882 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * lyxfunc.C (Dispatch):
15886 * minibuffer.h: add a few std:: qualifiers
15888 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15890 * minibuffer.[Ch]: reimplement so that commands is initiated and
15891 run from lyxfunc, simplified som handling, and made the completion
15892 and history code for complete. wip.
15894 * lyxfunc.C (processKeySym): call message
15895 (miniDispatch): new temporary method
15896 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15897 (LFUN_MESSAGE): implement
15898 (LFUN_MESSAGE_PUSH): implement
15899 (LFUN_MESSAGE_POP): implement
15900 (initMiniBuffer): the initial/defualt minibuffer message.
15902 * lyxfont.[Ch]: inline some more getters
15904 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15906 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15908 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15909 (AutoSave): use LFUN_MESSAGE
15910 (Reconfigure): ditto
15912 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15914 * figureForm.C: use LFUN_MESSAGE
15916 * converter.C (runLaTeX): use LFUN_MESSAGE
15918 * bufferview_funcs.C: use LFUN_MESSAGE
15920 (changeDepth): ditto
15922 * bufferparams.h: use boost::
15924 * bufferlist.h: inherit privately from noncopyable
15926 * bufferlist.C (loadLyXFile): remove some commented code.
15928 * buffer.C (runChktex): use LFUN_MESSAGE
15930 * ShareContainer.h: inherit privately from noncopyable
15932 * ParagraphParameters.[hC] (depth): inline it.
15934 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15936 (message): new method
15937 (messagePush): ditto
15938 (messagePop): ditto
15939 (show): init minibuffer
15940 (showState): direct call
15942 * LaTeX.[Ch]: inherit privately from noncopyable
15943 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15944 instead of WriteStatus.
15946 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15948 * BufferView_pimpl.C (buffer): don't init minibuffer
15949 (workAreaButtonPress): use LFUN_MESSAGE
15950 (workAreaButtonRelease): ditto
15951 (savePosition): ditto
15952 (restorePosition): ditto
15953 (MenuInsertLyXFile): ditto
15954 (workAreaExpose): don't init minibuffer
15955 (update): remove commented code, simplify
15957 * BufferView2.C (openStuff): use LFUN_MESSAGE
15958 (toggleFloat): ditto
15961 (copyEnvironment): ditto
15962 (pasteEnvironment): ditto
15967 (updateInset): remove some commented code
15969 * lastfiles.h: inherit privately from noncopyable
15972 * lyx_main.h: ditto
15974 * lyxlex_pimpl.h: ditto
15976 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15977 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15978 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15980 * LyXAction.h: inherit privately from noncopyable, add methods
15981 func_begin, func_end, returning iterators to the func map.
15983 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15984 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15985 (func_begin): new method
15986 (func_end): new method
15988 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15990 (copySelection): ditto
15991 (pasteSelection): ditto
15993 * BufferView.C: whitespace change
15994 * BufferView.h: inherit privately from noncopyable
15996 2001-04-16 Allan Rae <rae@lyx.org>
15998 * tabular-old.C (l_getline):
15999 * spellchecker.C (sc_check_word):
16000 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16001 an unrecognised preprocessor directive. So ensure they're wrapped.
16003 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16005 * src/exporter.C (Export): Give an error message when path to file
16008 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16010 * LaTeX.C (deplog): Always check that foundfile exists.
16012 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16015 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16017 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * tabular.[Ch] (getLabelList): implement new method
16021 * minibuffer.h: comment ouf setTiimer
16023 * minibuffer.C (ExecutingCB): constify res
16024 (peek_event): constify s
16025 (Set): constify ntext
16026 (Init): constify nicename
16028 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16030 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16031 (savePosition): use two params to Minibuffer::Set
16032 (restorePosition): ditto
16034 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16036 * lyx_main.C: include language.h
16038 * Makefile.am (lyx_main.o): add language.h
16040 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * CutAndPaste.C: include gettext.h
16048 * lyxfont.h: remove old hack with ON and OFF.
16051 * lyxfont.h: do not include language.h...
16056 * bufferview_funcs.C:
16062 * paragraph.C: ... but do it here instead
16064 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16066 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16068 * tabular.C: small reformat
16070 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16073 (BreakParagraph): ditto
16074 (SetOnlyLayout): ditto
16077 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16080 * lastfiles.C: removed most using decl, add std:: where needed
16082 * buffer.C: ws changes
16084 * MenuBackend.C (class compare_format): put into anon namespace
16085 (expand): constify label, names, action, action2
16088 * text.C (SingleWidth): constify font
16089 (IsBoundary): constify rtl2
16090 (GetVisibleRow): constify ww
16092 * LaTeX.C (deplog): constify logfile
16094 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16096 (workAreaExpose): constify widthChange, heightChange
16098 * lyxrow.C (par): moved
16101 * lyxrow.h: as inlines here
16103 * lyxfont.h (shape): moved from lyxfont.C
16104 (emph): moved from lyxfont.C
16106 * lyxfont.C (LyXFont): use initialization list for all
16108 (shape): move to lyxfont.h as inline
16109 (emph): move to lyxfont.h as inline
16112 2001-04-04 Juergen Vigna <jug@sad.it>
16114 * vspace.C: had to include stdio.h for use of sscanf
16116 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16119 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16120 independent of xforms.
16122 2001-04-02 Juergen Vigna <jug@sad.it>
16124 * spellchecker.C: fixed namespace placing!
16126 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16128 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16129 the LyXParagraph * is 0.
16131 2001-03-29 Juergen Vigna <jug@sad.it>
16133 * vspace.C: added support for %, c%, p%, l%.
16134 (stringFromUnit): added helper function.
16135 (asLatexString): changed to give right results for the %-values.
16137 * buffer.C: convert the widthp in a width%.
16139 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16141 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16144 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16145 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16147 * lyx_cb.[Ch]: see above.
16149 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16153 * lyx.[Ch]: replaced by figure_form.[Ch].
16157 * lyxfunc.C: changed headers associated with above changes.
16159 2001-03-27 Juergen Vigna <jug@sad.it>
16161 * BufferView_pimpl.C: set the temporary cursor right!
16163 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16165 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16167 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16169 * LString.h: removed "using std::getline"!
16171 * BufferView_pimpl.C (Dispatch): changes due to changes in
16172 InsetInclude::Params.
16174 * buffer.C (tag_name): removed redundant break statements as they were
16175 producing lots of warnings with my compiler.
16177 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * LString.h: add "using std::getline" when using the real <string>.
16181 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16183 * buffer.C: removed bitset usage.
16184 PAR_TAG moved to an anonymous name space.
16185 (tag_name): new funtion, also in the anonymous namespace.
16186 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16187 (makeDocBookFile): clean code. Completed transition from string arrays
16189 (SimpleDocBookOnePar): code clean.
16191 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16193 * tabular.C: add some comments.
16195 2001-03-22 Juergen Vigna <jug@sad.it>
16197 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16198 compatibility read a bit and fixed bug with minipage in different
16201 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16203 * buffer.C (pop_tag): removed.
16204 (push_tag): removed.
16205 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16206 array replaced with vector. Added support for CDATA sections.
16207 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16209 (makeDocBookFile): XML conformant declaration of CDATA section,
16210 fixed bug related to <emphasis> in the first paragraph char.
16211 (sgmlOpenTag): exclude empty tags.
16212 (sgmlCloseTag): ditto.
16214 * buffer.h (pop_tag): removed.
16215 (push_tag): removed.
16217 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16219 * language.h (Languages): added size_type and size().
16221 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16223 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16224 response on compability reading of minipages. One probliem is that
16225 the old usage of minipages was «flertydig»
16227 * several files here and in subdirs: don't use static at file
16228 scope use anon namespaces instead.
16230 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16232 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16233 LaTeX output. This is necessary for Literate document
16236 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16238 * buffer.C: insert hfill when needed.
16240 * tabular.C (l_getline): use string::erase, small whitespace change.
16242 * BufferView_pimpl.C: try the anon namespace.
16243 * WorkArea.C: ditto
16245 2001-03-16 Juergen Vigna <jug@sad.it>
16247 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16248 otherwise it won't open options-dialogs.
16250 * buffer.C: honor pextraWidth(p) on converting minipages.
16252 * tabular.C (l_getline): changed the functions to strip trailing \r.
16254 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16256 * BufferView_pimpl.C:
16257 * minibuffer..C: added "using SigC::slot" declaration.
16259 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16261 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16267 * paragraph.C: ditto
16269 * lyxtext.h: NO_PEXTRA
16271 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16273 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16274 * ParameterStruct.h: ditto
16275 * ParagraphParameters.h: ditto
16276 * lyxparagraph.h: ditto
16278 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16280 * buffer.C: add compability for minipage alignment.
16281 (latexParagraphs): remove unwanted pextra check.
16283 * several files: remove CXX_WORKING_NAMESPACES
16285 * buffer.C (pop_tag): tie is in namespace boost
16287 * BufferView.h: noncopyable is in namespace boost
16289 * lyx_main.h: ditto
16292 * lastfiles.h: ditto
16293 * bufferlist.h: ditto
16294 * ShareContainer.h: ditto
16296 * LyXAction.h: ditto
16299 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16301 * Merging changes from BRANCH_MVC back into HEAD.
16303 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16305 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16307 * BufferView_pimpl.C: change from intl.C
16311 * Makefile.am: move combox.*
16317 * intl.C: remove dialog (covered by prefs)
16319 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16321 * lyxfunc.C (Dispatch): removed redundant break statement.
16323 2001-03-14 Juergen Vigna <jug@sad.it>
16325 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16327 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16329 * buffer.C: add hack to fix compability reading of minipages.
16331 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16333 * buffer.C (getLists): Cleanup.
16335 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * lyxfont.C (update): don't honor toggleall on font size.
16339 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16343 * Makefile.am: moved to frontends/xforms/
16347 * BufferView_pimpl.C: changes for moved mathpanel
16349 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16351 * gettext.h: fix gettext_init() in --disable-nls
16353 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16357 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16360 * lyx.h: strip external form
16362 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16364 * BufferView_pimpl.C: add comment, destroySplash()
16366 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16368 * BufferView_pimpl.C:
16372 * lyxfunc.C: use re-worked insetinclude
16374 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16376 * buffer.C: add using std::stringstream.
16378 * lyx_cb.C: readd using std::ios.
16380 * buffer.C: add using std::map.
16382 * BufferView_pimpl.C: add using std::vector.
16384 * ShareContainer.h: add std:: to swap.
16386 * buffer.h: add some typedefs
16387 * buffer.C (getLists): use them
16388 (getLists): renamed from getTocList.
16389 add a counter for the different float types and use it in the
16391 (getLists): use the same counter for the NEW_INSETS and the "non"
16394 * lyx_cb.h: remove unused items, includes, using etc.
16396 * ShareContainer.h: remove some commented code, add more comments
16397 and "documentation".
16399 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16401 * buffer.C (getTocList): make the list also when NEW_INSETS is
16404 * buffer.h: remove TocType
16406 * buffer.C (getTocList): change to return a map<string,
16407 vector<TocItem> >, implement for dynamic number of list.
16409 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16410 * text2.C (PasteSelection): adjust
16411 * CutAndPaste.C (pasteSelection): adjust
16413 * FloatList.C (FloatList): update from the new_insets branch.
16414 * Floating.[Ch]: ditto
16415 * LaTeXFeatures.C: ditto
16417 * lyxlex_pimpl.C: ditto
16419 * paragraph.C (Last): remove when NEW_INSETS is defined.
16421 * other file: changes because of the above.
16423 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16425 * lyxparagraph.h: rename next to next_, previous to previous_,
16426 make them private for NEW_INSETS. Rename Next() to next(),
16427 Previous() to previous().
16429 * other files: changes because of the above.
16431 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16434 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16437 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16439 * main.C (main): pass lyx_localedir to gettext_init().
16441 * gettext.h: remove locale_init and gettext_init macros
16443 * gettext.C (locale_init): new function
16444 (gettext_init): new function
16446 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16449 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16451 * Moved credits to frontends:
16452 * credits.[Ch]: removed
16453 * credits_form.[Ch]: removed
16454 * lyx_gui_misc.C: remove credits stuff
16457 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16459 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16461 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16462 unneeded destructor.
16464 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16465 a standalone pointer again.
16467 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16469 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16475 * ToolbarDefaults.C:
16484 * BufferView_pimpl.C: use new file dialog in GUII
16487 * lyx_cb.C: remove LayoutsCB to Toolbar
16489 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16491 * ShareContainer.h (get): add std:: qualifier
16493 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16495 * ShareContainer.h: define a proper ShareContainer::value_type
16496 type (and use typename to please compaq cxx)
16498 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16500 * lyxparagraph.h: move serveral local vars to
16501 ParameterStruct/ParagraphParameters., use ShareContainer in
16502 FontTable., make vars in FontTable private and add getter and
16505 * paragraph.C: changes because of the above.
16507 * lyxfont.h: remove copy constructor and copy assignment. (the
16508 default ones is ok), move number inside FontBits. move inlines to
16511 * lyxfont.C: add number to initializaton of statics, move several
16512 inlines here. constify several local vars. some whitespace
16513 cleanup. Dont hide outerscope variables.
16515 * Spacing.h: add two new constructors to match the set methods.
16517 * ShareContainer.h: new file, will perhaps be moved to support
16519 * ParameterStruct.h: new file
16521 * ParagraphParameters.h: new file
16523 * ParagraphParameters.C: new file
16525 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16526 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16528 * BufferView_pimpl.C: ParagraphParameter changes.
16529 * buffer.C: Likewise.
16530 * bufferview_funcs.C: Likewise.
16531 * text.C: Likewise.
16532 * text2.C: Likewise.
16534 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * lyxfind.C (LyXReplace): do not redefine default argument in
16538 (IsStringInText): ditto
16539 (SearchForward): ditto
16540 (SearchBackward): ditto
16542 2001-03-06 Juergen Vigna <jug@sad.it>
16544 * lyxfind.C (IsStringInText): put parentes around expressions.
16546 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16548 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16550 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16552 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16554 * stl_string_fwd.h: add comment
16556 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16559 * tabular.C: remove unused DocBook methods
16565 killed DO_USE_DEFAULT_LANGUAGE
16567 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16569 * lyx_gui.C: do not include language.h.
16571 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16572 arguments in function implementation.
16574 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16576 * BufferView_pimpl.C: add <ctime>
16578 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16580 * BufferView_pimpl.C: add using std::find_if
16582 2001-02-27 José Matos <jamatos@fep.up.pt>
16584 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16587 2001-02-11 José Matos <jamatos@fep.up.pt>
16589 * buffer.C (makeDocBookFile): command styles now have a parameter as
16590 "title" by default.
16592 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16594 * layout_forms.[Ch]: removed
16595 * lyx_cb.[Ch]: out character
16596 * lyx_gui.C: out character
16597 * lyx_gui_misc.C: out character
16598 * bufferview_funcs.C: : out character,
16599 added toggleall as parameter in ToggleAndShow
16601 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16603 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16605 * text2.C (SetCurrentFont): Disable number property at boundary.
16607 2001-02-26 Juergen Vigna <jug@sad.it>
16609 * lyxfunc.C (getStatus): added a string argument override function so
16610 that this is correctly called from LyXFunc::Dispatch if it contains a
16611 do_not_use_argument which is used!
16612 (Dispatch): added check for "custom" export and call appropriate func.
16614 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16616 * lyxrc.C: Add language_command_local, language_use_babel and
16617 language_global_options.
16619 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16621 * buffer.C (makeLaTeXFile): Use language_use_babel and
16622 language_global_options.
16624 2001-02-23 Juergen Vigna <jug@sad.it>
16626 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16627 which works with LyXText and putted it inside BufferView. Here now we
16628 only call for that part the BufferView::Dispatch() function.
16630 * BufferView.C (Dispatch): added.
16632 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16633 functions which needs to use a LyXText over from LyXFunc.
16634 (MenuInsertLyXFile): added
16635 (getInsetByCode): added
16636 (moveCursorUpdate): added
16637 (static TEXT): added
16639 2001-02-22 Juergen Vigna <jug@sad.it>
16641 * BufferView_pimpl.C (update): call a status update to see if LyXText
16644 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16646 * vc-backend.C (revert): implement for CVS
16647 (getLog): implement for CVS
16649 2001-02-20 Juergen Vigna <jug@sad.it>
16651 * text2.C (ClearSelection): added BufferView param for inset_owner call
16653 * lyxfunc.C (TEXT): added this function and use it instead of
16654 directly owner->view()-text of getLyXText().
16656 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16658 * src/layout_forms.C: out preamble
16659 * src/layout_forms.h: out preamble
16660 * src/lyx_cb.C: out preamble
16661 * src/lyx_cb.h: out preamble
16662 * src/lyx_gui.C: out preamble
16663 * src/lyx_gui_misc.C: out preamble
16664 * src/lyxfunc.C: connect with guii preamble
16666 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16668 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16670 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16672 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16673 whether to run bibtex.
16675 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16677 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16679 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16681 * Makefile.am (lyx_SOURCES): removed bibforms.h
16683 * vspace.h: doxygen
16685 * text.C (GetVisibleRow): make several local vars const
16687 * tabular.C: small cleanup.
16689 * lyxserver.C (callback): use compare instead of strncmp
16691 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16692 inlines to after class or to paragraph.C
16694 * lyxfont.h: remove friend operator!=
16696 * converter.h: move friend bool operator< to non friend and after
16699 * combox.h: small cleanup
16701 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16702 to inlines after class def.
16704 * buffer.C (pop_tag): use string operations instead of strcmp
16706 * bmtable.c: doxygen, small cleanup
16708 * LaTeX.h: remove friend operator==
16710 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16722 * BufferView_pimpl.C:
16723 * BufferView.[Ch]: remove cruft
16725 2001-02-14 Juergen Vigna <jug@sad.it>
16727 * lyxfunc.C: removed #if 0 unused code
16729 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16731 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16733 * text2.C (SetSelection): added a BufferView * parameter
16735 2001-02-13 Juergen Vigna <jug@sad.it>
16737 * lyxfunc.C (Dispatch): fixed protected blank problem.
16738 * BufferView2.C (protectedBlank): added LyxText * parameter.
16740 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16741 (AppendColumn): same as above for column_info.
16743 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16744 (moveCursorUpdate): use a LyXText param for support of InsetText.
16746 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16747 (tripleClick): ditto
16749 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16751 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16753 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16755 * text2.C (SetSelection): set correct update status if inset_owner
16756 (ToggleFree): ditto
16758 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16760 * tabular.C: remove some commented code.
16762 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16764 * BufferView_pimpl.C: call hideSplash()
16766 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16769 * bibforms.h: remove
16772 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16773 add LFUN_CHILD_CREATE
16775 * counters.h: fix tiny typo
16780 * lyx.C: move splash to frontends/xforms/
16782 * lyx_gui_misc.C: move Include and Bibform to frontends
16784 * lyxvc.h: clarify comment
16786 * vspace.C: tiny housekeeping
16788 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16790 * text.C (PrepareToPrint): RTL Fix.
16792 * paragraph.C (GetUChar): New method.
16793 (String): Use GetUChar.
16795 * buffer.C (asciiParagraph): Use GetUChar.
16797 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16799 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16801 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16804 * buffer.C: rename to getLogName(), handle
16805 build log / latex log nicely
16807 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16810 * MenuBackend.h: remove support for reference menuitem type.
16812 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16814 * BufferView_pimpl.C: housekeeping
16815 * BufferView_pimpl.h:
16820 * minibuffer.h: move Timeout GUI-I
16822 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16824 * lyxrc.C (read): Update converters data-structures.
16826 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16828 * LaTeX.h (operator!=): add operator != for Aux_Info
16830 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16832 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16834 * LaTeXLog.C: deleted, useful code moved to Buffer
16837 * buffer.C: new function getLatexLogName()
16843 * lyxfunc.C: use frontends for LaTeX and VC logs
16845 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16847 * LaTeX.h: yet another std:: that Allan forgot.
16849 * Variables.C (set): renamed from isset(), because this clashes
16850 with some HP-UX macros (grr).
16852 2001-02-06 Allan Rae <rae@lyx.org>
16854 * LaTeX.h: Another bug fix. Missing std:: this time.
16856 2001-02-04 Allan Rae <rae@lyx.org>
16858 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16859 floats problem. I've left it commented out because it's not quite
16860 correct. It should also test that the current object is a table or
16861 figure inset. But I haven't gotten around to figuring out how to do
16862 that. I *think* it'll be something like: "table" == inset.type()
16864 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16867 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16869 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16870 all the citation/databases/styles in the auxilary file.
16871 (run): Rerun latex if there was a babel language error.
16873 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16875 * text.C (Backspace): Preserve the font when changing newline char
16877 (BreakParagraph): If the cursor is before a space, delete the space.
16879 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16881 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16883 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16884 new argument (code).
16885 (ChangeCitationsIfUnique): New method.
16887 * paragraph.C (GetPositionOfInset): Handle bibkey.
16889 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16891 * BufferView_pimpl.h: change type of Position::par_pos to
16892 LyXParagraph::size_type.
16894 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16896 * BufferView_pimpl.C (savePosition, restorePosition): Write
16897 messages to minibuffer.
16899 2001-01-28 José Matos <jamatos@fep.up.pt>
16901 * buffer.C (makeDocBookFile): adds support for document language.
16902 A silly restriction on the name of LatexCommand types where removed.
16903 Added support for CDATA sections, allows to chars unescaped, used
16904 among others in code, to avoid escape < and >.
16906 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16908 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16909 saved positions instrad of a stack. Furthermore, a position is
16910 stored using paragraph id/paragraph position.
16912 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16913 Remove LFUN_REF_BACK.
16915 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16917 * converter.C (dvipdfm_options): New method.
16919 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16921 * vspace.C (isValidLength): Fix for empty input string.
16923 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16925 * LyXAction.C (init): change description of LFUN_FIGURE to
16928 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * LaTeX.C: add using directive
16932 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16934 * MenuBackend.C (expand): Fix the sorting of the formats.
16936 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16938 * lyx_main.C: tiny error message fix
16940 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16943 calling fl_initialize(). This fixes the problem with ',' as
16944 decimal separator in text files.
16946 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16948 * trans.C (process): Fix the keymap bug.
16950 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16952 * LaTeX.C (scanAuxFiles): New method. Provides support for
16953 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16954 (scanLogFile) Scan for "run BibTeX" messages.
16956 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16957 OT1 font encoding. Also, load the aecompl package if the ae
16960 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16962 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16964 * texrow.C (increasePos): turn two error messages into debug
16967 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16969 * LaTeX.C (scanAux): Handle the \@input macro.
16970 (runBibTeX): Use scanAux().
16972 * language.C (latex_options_): New field.
16974 * LaTeXFeatures.C (getMacros): Add language macros.
16976 * buffer.C (makeLaTeXFile): Small fix.
16978 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16980 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16982 * text2.C: add a using directive.
16984 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16989 * lyxfunc.C: kill LyXBell.
16991 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16993 * text.C (IsBoundary): Remove the error message
16995 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16997 * lyxrc.C (setDefaults): Correct initialization value for
17000 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17002 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17005 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17006 and GotoNextNote().
17008 * src/LyXAction.C: Added reference-next.
17010 * text.C (InsertChar): Use contains instead of strchr.
17012 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17014 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17016 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17017 alignment commands (when needed).
17019 * text.C (InsertChar): Add ':' to number separator chars.