1 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
3 * lyxlex_pimpl.h: #include <fstream>.
5 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * vc-backend.C (find_file): rewrite to use boost.filesystem
10 * main.C (main): sett default name check for boost.filesystem to
13 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
16 (actOnUpdatedPrefs): ditto
18 * lyx_main.C (init): rewrite to use boost.filesystem
19 (queryUserLyXDir): ditto
21 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
22 (getContentsOfAsciiFile): ditto
24 * lastfiles.C (readFile): rewrite to use boost.filesystem
26 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
28 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
31 * buffer.C (Buffer): adjust for destroydir
32 (getLogName): rewrite to use boost.filesystem
34 (save): use fs::copy_file (from fs_extras)
36 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
38 * LaTeX.C (run): rewrite to use boost.filesystem
40 (handleFoundFile): ditto
42 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
46 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
48 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
50 * lyxlayout.[Ch]: change some vars from float to double
52 * buffer.C (readFile): make a local var const
54 * Several files: use convert<> instead of atoi,strToXXX and friends
56 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * LaTeXFeatures.[Ch]: Add a static list packages_ that
59 holds the contens of packages.lst. New functions getAvailable
60 and isAvailable to parse and check that list, resp.
64 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
66 * bufferparams.[Ch]: new param output_changes.
68 * Buffer.C: increase file format to 240.
69 Use output_changes and isVailable.
73 * paragraph_pimpl.C: Use output_changes and isVailable.
75 2005-01-23 Angus Leeming <leeming@lyx.org>
77 * output_latex.C: #include "insetbibitem.h", rather than
78 forward declare function bibitemWidest.
80 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
82 * lyx_main.C (init): make it compile on the Mac.
84 2005-01-20 Angus Leeming <leeming@lyx.org>
86 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
87 (setLyXMisc): (char string literal) != (char string literal) is
88 performing a comparison on the addresses. Convert one operand
89 explicitly to string to guarantee expected behaviour.
92 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
95 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
97 * output_plaintext.C: remove unneeded #include gzstream.h.
99 2005-01-20 Angus Leeming <leeming@lyx.org>
101 * SpellBase.h: rename some of the elements of the Result enum.
108 * pspell.C (check): ditto
110 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
112 * buffer.C: add #include <fstream>.
114 * lyx_main.C (init): Compile fix.
116 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
118 2005-01-20 Angus Leeming <leeming@lyx.org>
120 * mover.h: change commentary to reflect the changed meaning of
123 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * output_linuxdoc.C (linuxdocParagraphs): silence warning
127 * lyxfind.C (MatchString::operator()): remove bogus semicolon
129 2005-01-20 Angus Leeming <leeming@lyx.org>
131 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
132 printing diagnostic data by not dereferecing an iterator past the
135 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
137 * buffer.C (readHeader): use "&&" rather than "and".
139 * lyxserver.h (inPipeName, outPipeName): make these const.
141 2005-01-19 Angus Leeming <leeming@lyx.org>
143 * lyx_main.C (error_handler, init): protect SIGHUP with
144 #ifdef SIGHUP guards.
146 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
150 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * text.C (setHeightOfRow): add a margin at the top and bottom of
153 the document (bug 1761)
155 2005-01-17 Angus Leeming <leeming@lyx.org>
157 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
158 with "python ". Workaround for a brain-dead Windows.
160 2005-01-16 Angus Leeming <leeming@lyx.org>
162 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
163 for MacOSX and Windows to use prependEnvPath.
164 Strip out the hard-coded block to add elements to the PATH for
165 MacOSX and replace it with a call to prependEnvPath using the
166 contents of LyXRC::path_prefix.
167 (queryUserLyXDir): strip out the code to run reconfigure, instead
168 returning a boolean indicating the necessity to do so.
169 (reconfigureUserLyXDir): contains the code to reconfigure the
170 user support directory. Is now called after the various LyXRC data
171 files have been read.
173 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
175 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
177 * converter.[Ch] (convert): take a new parameter try_default. Use
178 a default converter (imagemagick) if try_default is true.
180 2005-01-13 Angus Leeming <leeming@lyx.org>
182 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
184 (write): output LyXRC::cygwin_path_fix as necessary.
186 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
189 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
191 2005-01-12 Angus Leeming <leeming@lyx.org>
193 * lyx_main.C (init): set the PATH variable to include the
194 directory containing the LyX binary when running on Mac or Windows.
196 2005-01-12 Angus Leeming <leeming@lyx.org>
198 * lyx_main.C (init): remove cruft that purports to set the locale
199 dir. It doesn't and is not needed anyway.
201 2005-01-10 Angus Leeming <leeming@lyx.org>
203 * Makefile.am: remove the lyx_main.C special casing.
205 * BufferView_pimpl.C:
211 * messages.C: use support/package.h to provide the paths to the
212 various directories used by LyX.
214 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
216 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
217 layout if pasting into an empty paragraph)
219 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * tex-accent.C: add <string>
223 2005-01-06 José Matos <jamatos@lyx.org>
225 * ParagraphParameters.C (write): put every parameter in its own line.
226 * paragraph.C (write): reduce number of consecutive empty lines exported.
227 * buffer.C (LYX_FORMAT): increase file format to 239.
229 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
231 * everywhere: change support/tostr.h -> support/convert.h
233 * tabular.C: make all write_attributes templates, tostr -> convert
235 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
236 (emptyTag): and -> &&, and fix type for ret from getChar
237 (getFirstWord): fix type for ret from getChar
238 (onlyText): and -> &&
239 (simpleDocBookOnePar): and not -> && !, fix type for ret from
242 * toc.C (goTo, action):
243 * text3.C (dispatch):
244 * text.C (currentState):
245 * tex-accent.C (DoAccent):
248 * lyxfunc.C (menuNew):
249 * lyxfinc.C (replace):
250 * counters.C (laberItem):
251 * bufferview_funcs.C (font2string):
252 * bufferparams.C (writeFile):
253 * buffer.C (readFile):
255 * MenuBackend.C: tostr -> convert
257 * LaTeX.C (runMessage): fix format
258 (scanAuxFiles): tostr -> convert
260 * BufferView_pimpl.C (savePosition): fix format
261 (restorePosition): ditto
264 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * Spacing.[Ch]: New method getValueAsString().
270 * ParagraphParameters.C:
273 * text3.C: store/read spacing value as string.
275 * rowpainter.C: change float value (spacing_val) to double.
277 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
278 broken custom document spacing).
280 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
282 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
283 namespace, also more use of temp references and const
285 * cursor.[Ch] (getStatus): move to lyxfunc.C
287 * bufferparams.C: reformat slightly
289 * bufferview_funcs.C (font2string): constify arg
295 * buffer_funcs.C: (many funcs): constify arg on function
296 definitions, also make more local vars const, also add ASSERTS on
299 * buffer.C (LYX_FORMAT): put const in correct place
300 (many funcs): constify arg on function definitions, also make
301 more local vars const
303 * aspell_local.h: remove "struct" from typdef setup
305 * aspell.C (check): make word_ok const
306 (nextMiss): simplify slightly
309 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
311 * lyxrc.[Ch]: store all float values as strings.
312 use int (not float) for lyxrc.dpi.
314 2005-01-04 Angus Leeming <leeming@lyx.org>
316 * lyx_cb.C (Reconfigure):
317 * lyx_main.C (queryUserLyXDir):
318 to run the <system_lyxdir>/configure correctly on Windows, prefix
319 the path to the script with "sh " when generating the string that
320 is passed to system().
322 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
326 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * lyxlength.C (asLatexString): get rid of setprecision
330 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * text2.C (setLayout): remove unused variable endpit.
333 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
335 * paragraph.C (onlyText): remove unused variable style.
337 * cursor.C (bruteFind): remove unused variables beg and end.
339 * Makefile.am (dist_noinset_DATA): not needed anymore
341 * cheaders/*: remove.
343 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
345 * text3.C: fix LFUN_MATH_MODE.
347 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * buffer_funcs.C (countWords): new function. Counts words between
352 * BufferView_pimpl.C (getStatus, dispatch): handle
355 * LyXAction.C (init):
356 * lfuns.h: add LFUN_WORDS_COUNT.
358 2004-12-19 Angus Leeming <leeming@lyx.org>
360 * buffer.C (save): s/slashify_path/internal_path/.
362 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
364 * lyxfind.C (findChange): do not search for end of pars, because
365 the change tracker cannot handle this (fixes bug 1719).
367 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
369 * paragraph.[Ch] (autoBreakRows): remove
371 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
373 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
374 avoid using the paragraph one
376 * text2.C (LyXText, insertStringAsLines): adjust
378 2004-12-16 Angus Leeming <leeming@lyx.org>
382 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
384 2004-12-14 Angus Leeming <leeming@lyx.org>
386 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
388 * bufferlist.C (emergencyWrite):
389 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
392 2004-12-14 Angus Leeming <leeming@lyx.org>
394 * main.C: (main): no longer pass pointers to os::init.
396 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
398 * undo.C (textUndoOrRedo): simplify logic, fix a crash
399 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
401 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
404 * text3.C: remove selection_possible global flag
406 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
408 * text2.C (getSelectionSpan): remove
409 (changeDepth, changeDepthAllowed): adjust
411 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
413 * Makefile.am (BOOST_LIBS): use boost variables
415 2004-12-03 José Matos <jamatos@lyx.org>
417 * buffer.C: format up to 238.
419 2004-12-03 José Matos <jamatos@lyx.org>
421 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
423 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
425 * cursor.C (goUpDown): remove call to idxUpDown2
427 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * tabular.[Ch]: use size_t-like types for cell, row and column
432 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * lyxfunc.C (getStatus): do not lose previous information when
435 calling BufferView::getStatus; do not set a default "Command
436 disabled" message at the beginning, but just before returning.
438 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
440 * cursor.h (getStatus): add better comment from src/cursor.C
442 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * text3.C (getStatus): return false when the lfun is not handled
446 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * broken_headers.h: remove
450 * Makefile.am (lyx_SOURCES): remove broken_headers.h
452 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
454 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
457 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
458 top_y_, merge fitcursor with update
459 (updateScrollbar, scrollDocView, fitCursor, center, update): new
462 (workAreaDispatch): adapt to new coord scheme
463 (redoCurrentBuffer): remove
465 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
467 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
470 * coordcache.[Ch]: add paragraph cache and helpers
472 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
475 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
476 (targetX, setTargetX): introduce
478 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
479 baseline -> ascent, as the rest of lyx
481 * lyxtext.h: remove redoParagraphs, updateParPositions,
482 fullRebreak, redoParagraphInternal. move dist to anon namespace in
483 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
484 have ascent/descent (ascent is ascent of first par)
486 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
489 * paragraph.[Ch]: unify dimension handling with the rest of lyx
491 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
493 * pariterator.C: fix infinite loop introduced in par->pit renaming
495 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
496 in insets and LyXText, draw two off-screen paragraphs using
497 NullPainter, and adapt to new coord scheme
501 * text3.C: adapt lfun handlers to the new coord scheme, which
502 means: there's only guaranteed coord information for onscreen pars
503 plus one above and one below. This implies that one can do search
504 from y coordinates in the range [-1,workHeight]
506 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
508 * rename a lot of InsetOld to InsetBase
510 2004-11-25 Angus Leeming <leeming@lyx.org>
512 * BufferView_pimpl.C:
514 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
516 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
519 call BufferView::getStatus if LCursor::getStatus did nothing
520 (setStatusMessage, getStatusMessage): removed.
522 * FuncStatus.C (message): new methods. Used to provide an error
523 message indicating why a command is disabled.
524 (clear, |=, FuncStatus): update for message.
526 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * lyxfunc.C (dispatch): always call sendDispatchMessage
530 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
533 * BufferView_pimpl.C:
547 * undo.C: par->pit renaming
549 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * tabular.C (cellstruct): use initialization, store a shared_ptr
552 to insettext instead of the insettext directly, adjust to fit.
553 (operator=): new function
555 (rowstruct): use initialization
556 (columnstruct): use initialization
557 (ltType): use initialization
560 * lyxlength.h (swap): new function
562 * LColor.[Ch] (operator=): use the common semantics
564 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * lyxfind.C (findNextChange): update the bufferview after setting
569 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
571 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
572 number of InsetOptArgs has already been inserted.
574 * output_latex.C (latexOptArgInsets): new method. This outputs all
575 the optarg insets, up to the limit defined in the layout file.
576 (optArgInset): removed
577 (TeXOnePar): call latexOptArgInsets; correctly update texrow
579 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * paragraph.C (isLetter): remove special spellchecker-related
582 code; return true also for digits
583 (isWord, isKomma): remove
585 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
586 * lyxfind.C (MatchString()): use isLetter instead of isWord
588 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * pariterator.h (operatir=): comment out un-implemented member
593 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
596 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
598 * lyxfont.h: include LColor.h to satisfy concept checks.
600 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
602 * pariterator.h: add typdefs for value_type, difference_type,
603 pointer and reference to satisfy concept checks. Also add default
604 constructor for same reason.
606 * pariterator.C (operator++): add post-increment operator to
607 satisfy concept checks.
609 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
612 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
614 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
615 checks. Also rename base_type to BaseType to follow naming
618 * FloatList.h: include Floating.h to satisfy concept checks.
620 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * lyxfunc.C (getStatus): when the origin of the request is menu or
623 toolbar, and the LyXView does not have focus, do as if there was
626 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
627 FuncRequest to individual entries of LFUN_SEQUENCE
629 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * output_latex.C (TeXOnePar): override runparams.moving_arg
632 according to the needprotect value of the current paragraph (bug
635 * paragraph.C (simpleTeXOnePar): no need to override
636 runparams.moving_args here
638 2004-11-14 John Spray <spray_john@users.sourceforge.net>
640 * vspace.C: fix off-by-one-error, related to fix #1682
642 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
644 * lengthcommon.C: a more general fix for bug 1682
646 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
648 * text.C (backspace): fix crash
650 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
652 * format.[Ch] (getFormatFromFile): new method
653 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
655 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
659 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * lyxfunc.C (dispatch): remove the verbose argument
662 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
665 * kbmap.C (defkey): set the origin of func to KEYBOARD
667 * MenuBackend.C (MenuItem):
668 * ToolbarBackend.C (add): set the origin of func to UI
670 * funcrequest.[Ch]: add origin member, which indicates which part
671 of LyX requests an action
673 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
675 * converter.C (move): don't lie in the error message
676 * converter.h (isReachable, move): document
678 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
680 * buffer.C: remove unused using lyx::support::atoi
681 * paragraph_funcs.C: ditto
683 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
685 * bufferlist.C (exists): use bind and equal_to instead of
688 * lyxtextclasslist.C (NumberOfClass): ditto
690 * cursor.C (insert): use for_each instead of explicit for loop
692 * bufferlist.C (getFileNames): use std::transform and
693 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
695 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
698 * buffer.C (changeLanguage): use for_each instead of explicit for
700 (hasParWithID): implement using getParFromID
702 * LaTeXFeatures.C: ws change only
704 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
707 * BufferView_pimpl.C (trackChanges): use for_each instead of
710 2004-11-04 André Pönitz <poenitz@gmx.net>
713 * undo.C (textUndoOrRedo): fix crash when creating undo information.
715 * dociterator.C (asDocIterator): use hard assert again.
717 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * lyxlength.C (asLatexString): rewrite so that it does not use
722 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * text3.C (specialChar, dispatch): make sure cursor moves to the
725 right after inserting an inset
727 2004-11-02 José Matos <jamatos@lyx.org>
729 * output_docbook.C (docbook):
730 * paragraph.C (getID):
731 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
732 garantee that the output is always legal.
734 * tabular.C (docbook):
735 * outputprams.[Ch]: remove mixed contents.
737 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
739 * text2.C (setCounter): prevent endless loop
741 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
743 * exporter.C (copyFile): use the mover instead of support::copy()
744 * exporter.C (Export): pass format and latex name to copyFile()
745 * exporter.h (addExternalFile): document
746 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
748 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
750 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
752 2004-10-30 José Matos <jamatos@lyx.org>
754 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
755 text and no inset or font change. This allows to use CDATA
756 sections just for the whole paragraph.
758 2004-10-30 José Matos <jamatos@lyx.org>
760 * paragraph.C (getFirstWord): remove unused variable.
762 2004-10-30 José Matos <jamatos@lyx.org>
764 * paragraph.C (getFirstWord): the content should always be escaped
766 (simpleDocBookOnePar):
767 * output_docbook.C (makeEnvironment): replace reference to CDATA
770 2004-10-30 José Matos <jamatos@lyx.org>
772 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
774 2004-10-30 José Matos <jamatos@lyx.org>
776 * output_docbook.C (makeParagraphs):
777 * paragraph.[Ch] (emptyTag): for docbook and company, if the
778 standard paragraph has only a given type of content drop the wrapper.
780 2004-10-29 José Matos <jamatos@lyx.org>
782 * output_docbook.C (makeEnvironment):
784 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
786 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
788 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
789 (cleanID): sanitize any id.
791 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
793 * buffer.C, lyxlex_pimpl.C:
794 * lyxlex_pimpl.C (setFile):
795 s/getExtFromContents/getFormatFromContents/
797 2004-10-28 José Matos <jamatos@lyx.org>
799 * output_docbook.C (makeEnvironment): move id to broadest possible
802 * sgml.C (openTag): apply substitution of <> for all attributes.
804 2004-10-28 José Matos <jamatos@lyx.org>
806 * buffer.C (makeLinuxDocFile, makeDocBookFile):
807 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
808 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
810 * sgml.[Ch]: new version for open and closeTag for paragraph and
811 for strings. Now they handle the ids of paragraphs.
813 2004-10-26 Angus Leeming <leeming@lyx.org>
815 * Makefile.am: add mover.[Ch].
817 * converter.C (convert, move): use the new Movers to move external
818 files to the temp directory.
820 * lyx_main.C (init): ensure that the global system_movers data
823 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
826 * mover.[Ch]: new files, defining a Mover as a utility to move an
827 external file between directories and, if necessary, manipulate this
828 file using a helper script.
830 2004-10-25 José Matos <jamatos@lyx.org>
832 * output_docbook.C (makeCommand): merge two if's that tested the
835 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * sgml.C (escapeString): fix warning in a better way
839 2004-10-25 José Matos <jamatos@lyx.org>
841 * sgml.C (escapeString): import the require boosts header file for
842 tie, and avoid a signed unsigned comparison.
844 2004-10-25 José Matos <jamatos@lyx.org>
846 * sgml.h: add #include <string>
848 2004-10-25 José Matos <jamatos@lyx.org>
850 * sgml.[Ch] (escapeString): new function to escape all the string.
852 2004-10-24 José Matos <jamatos@lyx.org>
854 * paragraph.[Ch] (getFirstWord): new function to get the first
855 word. Useful for description.
856 (simpleDocBookOnePar): remove depth argument, add another that
857 says where to start the paragraph.
859 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
860 use the new functions to fix cleanly the support for descriptions.
862 2004-10-24 José Matos <jamatos@lyx.org>
864 * buffer.C (makeLinuxDocFile, makeDocBookFile):
865 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
866 * output_linuxdoc.C (linuxdocParagraphs):
867 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
868 add buffer as argument.
870 2004-10-24 José Matos <jamatos@lyx.org>
872 * output_docbook.C (makeEnvironment, searchEnvironment): place
873 CDATA inside paragraphs and fix scope for listitems.
875 2004-10-24 José Matos <jamatos@lyx.org>
877 * output_docbook.C: remove using statement for stack.
879 2004-10-23 José Matos <jamatos@lyx.org>
881 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
882 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
883 docbook. The new scheme is recursive and makes use of iterators, the
884 same as latex export works.
885 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
886 directly with the paragraph contents. This code was moved up to
887 output_docbook.C (docbookParagraphs).
888 * sgml.C (openTag, closeTag): removed unneeded newlines.
889 (closeEnvTags) removed.
891 2004-10-23 André Pönitz <poenitz@gmx.net>
893 * undo.C (textUndoOrRedo):
894 * dociterator.C (asDocIterator): work around crash
896 * cursor.C (getStatus): replace ASSERT by more verbose error message
897 and manual correction of the problem. Should increase stability
898 while providing more sensible information.
900 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
904 * bufferlist.C (previous, next): new methods
907 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
909 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
911 * buffer.C (makeDocBookFile): add dsssl stylesheet control
912 entities to preamble.
914 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
916 * messages.C (Pimpl): strip off translation context information
918 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
921 the cursor is correct (bug 1694)
923 2004-10-13 José Matos <jamatos@lyx.org>
925 * output_docbook.C (docbookParagraphs): fix closing tags in the
928 2004-10-09 José Matos <jamatos@lyx.org>
930 * buffer.C: format up to 237.
931 * bufferparams.C (write): use tostr to convert booleans to strings.
933 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
935 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
937 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
939 * LaTeX.C: implement use of babel language in xindy.
941 2004-10-05 José Matos <jamatos@lyx.org>
943 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
944 Add new translators to help reading and writing the lyx file.
946 2004-10-05 José Matos <jamatos@lyx.org>
948 * ParagraphParameters.C (read):
949 * text.C (readParToken): replace nexToken by more appropriate lex
952 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
954 * LaTeX.C (runMakeIndex):
955 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
956 (usually 'makeindex') configurable.
958 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
959 with a variable rather than with a number.
961 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * output_latex.C (TeXOnePar): make sure font setting is the first
964 thing that gets output (and the last at the end). Should fix bug
967 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
969 * pch.h: use proper signal include
971 * LaTeX.h: Use preferred calling of Boost.Signal
974 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
976 * pch.h: dont include <boost/function/function0.hpp>
978 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
980 * paragraph_pimpl.h: remove usage of ShareContainer
982 * paragraph_pimpl.C: remove initialization of ShareContainer.
984 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * BufferView.C (putSelectionAt): change the semantics when
989 backwards == true: now, this just swaps cursor and anchor wrt the
992 * BufferView.h (putSelectionAt): add some documentation
994 * lyxfind.C (findBackwards): rewrite using while(). In particular,
995 make sure backwardChar is done at least once (to avoid getting
997 (findNextChange): use putSelectionAt in the forward direction
998 (operator()): use Paragraph::isWord
1000 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1002 * Spacing.C (set): c_str fix
1004 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * lyx_cb.C (Reconfigure): quote the name of configure script in
1007 case it contains spaces
1009 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1013 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1014 (BOOST_LIBS): use top_buildir when looking for the file
1016 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1018 * pch.h: do not use include boost/format.hpp, multiple symbols
1019 will result (gcc bug)
1022 2004-08-23 José Matos <jamatos@lyx.org>
1024 * bufferparams.C (readToken): fix reading of the author field.
1026 2004-08-20 José Matos <jamatos@lyx.org>
1028 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1030 2004-08-20 José Matos <jamatos@lyx.org>
1032 * lyxlex.[Ch] (findToken): remove function.
1034 * ParagraphParameters.C (findToken):
1035 * bufferparams.C (findToken): replace call for previous function
1036 with local copy. This local function has one more argument, the
1037 read string argument.
1039 2004-08-16 José Matos <jamatos@lyx.org>
1041 * ParagraphParameters.C (write):
1042 * Spacing.C (writeFile):
1043 * bufferparams.C (writeLaTeX):
1044 * lyx_cb.C (Reconfigure):
1045 * paragraph.C (write):
1046 * tabular.C (write): remove unnecessary space at end of line.
1049 2004-08-16 José Matos <jamatos@lyx.org>
1051 * text.C (readParagraph): remove debug message.
1053 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1058 * output_plaintext.C (asciiParagraph): set depth correctly
1060 * outputparams.h: add member depth
1062 * paragraph_funcs.C (ownerPar): remove.
1064 * text2.C (setCounter): remove first_pit; comment out some
1065 non-working code that uses ownerPar
1067 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1070 2004-08-16 José Matos <jamatos@lyx.org>
1072 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1073 For the same level of importance use the same chanel to report problems.
1074 (read): add code to deal with \begin_body and \end_body.
1077 2004-08-15 José Matos <jamatos@lyx.org>
1079 * lyxlex.C (getString): fix comment, buffer::readBody is now
1080 buffer:readDocument.
1082 * tex-strings.C (string_papersize): Default -> default,
1083 Custom -> custom, for consistency with other options.
1085 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1089 * Makefile.am: support pch
1091 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * text.C (readParToken): remove the static LyXFont variable and
1094 pass it as a parameter instead. This fixes a nasty bug where an
1095 inset will be inserted with a bad font in some situations
1096 (readParagraph): adapt
1098 * text2.C (setCounter): reduce number of calls to pars_[pit]
1100 * text.C (singleWidth): add an assert, fix a test
1102 * rowpainter.C (paintText): reduce number of calls to singleWidth
1104 * paragraph.C (isHfill):
1105 (isNewline): ws only
1107 2004-08-14 André Pönitz <poenitz@gmx.net>
1112 * lyxtext.h (several functions): use a Paragraph & argument
1115 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1119 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1121 * text.C (singleWidth): remove useless test
1123 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * tabular.h: remove bogus comments
1127 * tabular.C (getDescentOfRow):
1128 (isPartOfMultiColumn): add assertions
1130 * lyxlength.C (inPixels): remove #warning
1132 2004-08-14 André Pönitz <poenitz@gmx.net>
1134 * paragraph.h: inline getChar()
1136 * BufferView.h: remove unused declarations
1138 2004-08-14 José Matos <jamatos@lyx.org>
1140 * Buffer.[Ch] (readDocument): new name for old readBody.
1141 * Buffer.C: new file format, new keywords: \begin_document,
1142 \begin_header, \begin_body, \end_body.
1144 * bufferparams.C (readToken): replace all calls to lex.nextToken
1145 by lex.next(). Do the same to eatLine except where really needed.
1147 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1148 line when writing to the lyx file.
1150 * output_plaintext.C (asciiParagraph): fix Bibliography style
1153 * text.C (read): fix end of file handling.
1155 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * MenuBackend.C (Menu::operator[]): new method to access
1158 individual menu items
1159 (Menu::hasFunc): new method. search for an item that corresponds
1161 (MenuBackend::specialMenu): new method
1162 (MenuBackend::expand): if a special menu has been set, skip
1163 entries whose func() appears in this menu
1165 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1167 * text3.C: use Debug::DEBUG a bit more
1169 * text.C (leftMargin): try to simplify a tiny bit change var x to
1170 l_margin. Dont output the wide margins always.
1171 (rightMargin): no margin in inner texts
1173 * rowpainter.h (nestMargin): new func
1174 (changebarMargin): new func
1175 (rightMargin): new func
1177 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1181 * factory.C (createInset): modify setDrawFrame
1183 * cursor.C: use Debug::DEBUG a bit more
1185 2004-08-14 André Pönitz <poenitz@gmx.net>
1188 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1189 cache for all insets in (at least partially) visible (top-level)
1192 * BufferView_pimpl.C: reset external coord cache before every update.
1193 This means the coord cache only contains valid entries.
1195 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1198 * BufferView_pimpl.C (getInsetByCode): move function out of class
1199 and change in to a template in anon namespace. Also fix to do what
1202 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1205 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1207 (breakParagraph): rename par to par_offset and use a local
1208 reference. Add code to keep the language over a rebreak.
1209 (breakParagraphConservative): rename par to par_offset, use a
1211 (mergeParagraph): ditto
1213 (isFirstInSequence): ditto
1214 (outerFont): rename pit to par_offset
1216 * paragraph.C: ws change
1217 * paragraph.h: ditto
1221 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1226 * paragraph.C (simpleTeXOnePar): when we have a \item with
1227 optional argument, enclose the argument with curly brackets (in
1228 case it contains a closing square bracket)
1232 * text3.C (checkInsetHit): constify
1234 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1237 documents (bug 1629)
1239 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 Fix toggling of collapsable insets with the mouse (bug 1558)
1243 * lyxfunc.C (dispatch): adapt to LCursor changes
1245 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1246 make sure that dispatch is not invoked twice
1248 * cursor.C (needsUpdate): new method
1249 (dispatch): return void
1250 (result): new method, to access the DispatchResult of the cursor.
1252 2004-08-13 José Matos <jamatos@lyx.org>
1254 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1256 2004-08-13 André Pönitz <poenitz@gmx.net>
1258 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1260 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1263 2004-08-12 André Pönitz <poenitz@gmx.net>
1265 * text3.C: take out the 'cursor right' form insertInset and only
1266 do it in those places when it is really needed. Fixes crash on
1269 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1273 * BufferView_pimpl.C (setBuffer): initialize the current font of
1274 the underlying LyXText
1276 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * kbsequence.C (print): use UI native formatting for menu
1281 * text.C (insertChar): call Paragraph::insertChar with a font
1284 * paragraph.C (insertInset, insertChar): the version that takes a
1285 LyXFont argument is now a wrapper around the other one (the
1286 opposite used to be true).
1288 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1289 argument. Font setting is done in Paragraph now.
1291 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * outputparams.h: add new members intitle and lang.
1295 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1296 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1298 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1300 * text3.C (dispatch): remove special handling of button 4 and 5,
1301 it is now taken care of in the frontend code.
1303 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1305 * Spacing.h: add <string> (STLPort compile fix)
1307 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1309 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1311 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1313 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1316 * converter.C (showMessage): inherit from unary_function, make
1319 * buffer.C (writeFile): initialize retval
1321 * InsetList.h: rename private variable list to list_
1322 * InsetList.[Ch]: adjust accordingly.
1324 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1326 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1327 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1328 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1329 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1330 * ParagraphParameters.C, LaTeXFeatures.C: replace
1331 "support/std_sstream.h" with <sstream>
1333 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1335 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1336 * lyxsocket.C (LyXServerSocket): ditto
1337 (serverCallback): ditto
1339 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1341 * LaTeXFeatures.C: check release date when loading jurabib.
1343 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1345 * lyxserver.C (startPipe): call register_socket_callback
1346 (endPipe): call unregister_socket_callback
1348 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1350 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1351 (LyXServerSocket): register the callback
1352 (LyXServerSocket): unregister the callback
1353 (fd): delete function
1354 (serverCallback): improve error checking and setup the callbacks.
1355 (dataCallback): change arg to fd.
1356 (writeln): new func (copied fro the client socket) used for server
1358 (LyXDataSocket): simplify
1359 (~LyXDataSocket): close ann unregiser callback
1360 (server): delete function
1361 (fd): delete function
1362 (readln): small changes, improve some std::string usage
1363 (writeln): constify a bit
1365 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1370 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1372 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1373 after it has been populated
1375 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * text2.C (insertInset): move cursor when inserting inset.
1379 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * kbmap.C (findbindings): a couple of new methods. returns a
1382 container of kb_sequence objects. The real work is done by the
1383 private recursive version
1384 (printbindings): uses findbindings to print out a bracketed list
1385 of bindings (renamed from findbinding).
1387 * MenuBackend.C (binding): use kb_keymap::findbindings
1389 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1391 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1393 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1395 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * paragraph.C (isWord): return true on insets that report
1400 * text.C (getWord): use Paragraph::isWord to decide what is in a
1401 word and what is not; fix bug 1609.
1403 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1405 * tex-strings.C: add "none" to string_paperpackages[], fixes
1406 off-by-one-error in the paperpackage selection.
1409 * tex-strings.[Ch]: char const * string[n]
1410 -> char const * const string[]
1412 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1415 command, return early.
1417 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1419 * debug.h: add DEBUG to enum and fix size of ANY.
1421 * debug.C: add support for Debug::DEBUG
1422 (showTags): cast errorTags.level to unsigned int
1424 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1425 (redoCurrentBuffer): ditto
1426 (updateScrollbar): ditto
1427 * cursor.C (dispatch): ditto
1428 * text2.C (setLayout): ditto
1430 (updateCounters): ditto
1432 (deleteEmptyParagraphMechanism): ditto
1434 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1436 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1437 annotations to cleanup the Makefile slightly.
1439 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * lyxrc.C: do not set user_email to a default value but use empty
1442 instead. The entry used to be translated, which does not work
1443 since at the point where lyxrc is constructed there is no
1444 translation service available
1446 * messages.C (getLocaleDir): remove and use directly
1447 lyx_localedir() instead
1449 2004-06-02 Angus Leeming <leeming@lyx.org>
1451 Fix crash caused by dereferencing null pointer 'exportdata' in
1452 OutputParams by creating a new ExportData variable on the heap,
1453 storing it in a boost::shared_ptr.
1454 The crash was triggered when generating an Instant Preview
1455 of an external inset.
1457 * Makefile.am: add outputparams.C
1459 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1460 (c-tor): allocate memory to it.
1462 * exporter.C (c-tor): associated changes.
1464 2004-06-01 Angus Leeming <leeming@lyx.org>
1466 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1467 contains data before calling isInset(0). (Bug 1513.)
1469 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1471 * exporter.C (checkOverwrite): new method
1472 * exporter.C (copyFile): new method
1473 * exporter.C (Export): copy referenced files to the document dir
1474 * exporter.[Ch]: new class ExportedFile
1475 * exporter.[Ch]: new class ExportData. Contains currently the
1476 names of referenced external files
1477 * outputparams.h: add exportdata member.
1479 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1481 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1484 2004-05-19 Angus Leeming <leeming@lyx.org>
1489 * lyxfunc.C: small changes due to the introduction of namespace
1490 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1492 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1494 * text3.C (dispatch): supress update when only moving the cursor
1495 * cursor.C (selHandle): remove commented code
1497 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1499 * paragraph.C (startTeXParParams): correct column count
1500 * CutAndPaste.C (pasteSelection): remove const_cast
1501 * output_docbook.C (docbookParagraphs): remove const_cast
1502 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1503 const_cast and return ParagraphList::const_iterator
1504 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1505 * output_plaintext.C (writeFileAscii): remove const_cast
1506 * paragraph.[Ch] (simpleTeXOnePar): make const
1507 * paragraph_funcs.C (outerPar): use const iterators
1508 * paragraph_pimpl.C (validate): use const iterators
1509 * text.C (setHeightOfRow): use const iterators
1511 2004-05-17 Angus Leeming <leeming@lyx.org>
1514 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1516 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1517 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1518 if the citation engine has changed.
1520 2004-05-14 José Matos <jamatos@lyx.org>
1522 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1523 if the textclass does not provide it. Have it different for sgml and
1525 support the language of document.
1526 * output_docbook.C (docbookParagraphs):
1527 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1528 first anchor as the id of the paragraph, remove special case code.
1529 * sgml.C (escapeChar): escape only < & >.
1531 2004-05-14 Angus Leeming <leeming@lyx.org>
1533 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1534 dependencies on src/frontends/controllers/biblio.h. Define a
1535 CiteEngine_enum wrapper class to enable the enum to be forward
1538 2004-05-12 Angus Leeming <leeming@lyx.org>
1540 * buffer.C: up LYX_FORMAT to 234.
1541 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1542 use_numerical_citations with a single biblio::CiteEngine cite_engine
1544 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1546 2004-05-13 José Matos <jamatos@lyx.org>
1549 * converter.C (Converter, readFlags): add xml member.
1550 * outputparams.h: add XML flavor.
1551 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1553 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1555 * lyxfunc.C (dispatch):
1556 (getStatus): fix handling of LFUN_SEQUENCE
1558 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * debug.C (showLevel): do not forget the end-of-line marker
1562 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1564 * kbmap.C (read): do not stop parsing a bind file when an error
1567 2004-04-29 Angus Leeming <leeming@lyx.org>
1572 * text2.C: wrap a bunch of #warning statements
1573 inside #ifdef WITH_WARNINGS blocks.
1575 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1577 * buffer.C: increment format to 233.
1579 2004-04-28 Angus Leeming <leeming@lyx.org>
1581 * BufferView_pimpl.C:
1584 s/updateToolbar()/updateToolbars()/
1585 s/Toolbar.h/Toolbars.h/
1587 2004-04-28 Angus Leeming <leeming@lyx.org>
1589 * BufferView.[Ch] (c-tor):
1590 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1591 No longer passes these data to the WorkArea generator.
1593 2004-04-28 Angus Leeming <leeming@lyx.org>
1595 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1597 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1599 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1601 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1603 * output_latex.C (TeXEnvironment): make sure that there is a line
1604 break before \end{foo} for the last paragraph of a document
1605 (TeXOnePar): if the paragraph is at the end of the document (or
1606 inset) and the language has to be reset, then make sure that the
1607 line break is _before_ the language command, not after (fixes bug
1608 1225); also make sure that the language reset command is the first
1609 thing after the paragraph (to ensure proper nesting of
1610 environments and thus fix bug 1404)
1612 2004-04-21 John Levon <levon@movementarian.org>
1615 * ToolbarBackend.C: make "name" be a programmatic name
1616 and a gui_name field.
1618 * lyxfunc.C: display the minibuffer on M-x
1620 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1625 2004-04-19 Angus Leeming <leeming@lyx.org>
1627 * BufferView_pimpl.C (setBuffer): changed preview interface.
1629 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1632 2004-04-19 John Levon <levon@movementarian.org>
1634 * BufferView_pimpl.C:
1635 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1637 2004-04-05 Angus Leeming <leeming@lyx.org>
1639 * text.C (redoParagraphs): add call to updateCounters(), thereby
1640 fixing the missing "Figure #:" label from the caption of a
1643 2004-04-13 Angus Leeming <leeming@lyx.org>
1645 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1646 cursor is clicked out of an inset.
1648 2004-04-13 Angus Leeming <leeming@lyx.org>
1650 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1651 than an InsetOld one.
1653 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1655 * format.[Ch]: add editor to Format
1656 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1657 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1659 2004-04-08 André Pönitz <poenitz@gmx.net>
1661 * metricsinfo.h: remove PainterInfo::width member
1663 2004-04-08 Angus Leeming <leeming@lyx.org>
1665 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1666 "\providecommand" rather than "\newcommand", thereby preventing
1667 clashes with packages that define "\boldsymbol" themselves.
1670 2004-04-08 Angus Leeming <leeming@lyx.org>
1672 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1673 thereby squashing an unnecessary warning.
1675 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1677 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1680 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1682 * BufferView.C (setCursor): call redoParagraph (some insets could
1684 (putSelectionAt): remove the 'double update' trick
1686 * BufferView_pimpl.C (fitCursor): call refreshPar
1687 (workAreaDispatch): remove an uneeded update call
1688 (dispatch): remove some manual update calls
1690 * cursor.[Ch]: remove cached_y_, updatePos
1691 (selHandle): set noUpdate when appropriate
1693 * lyxfunc.C (dispatch): track if we need an update
1695 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1697 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1698 (paintSelection): cheap optimization, do not call cursorX when not
1700 (paintPars): change signature
1703 (paintTextInset): adjust
1707 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1709 * lengthcommon.C: compilation fix: remove explicit array size from
1710 unit_name[] and friends
1712 2004-04-05 Angus Leeming <leeming@lyx.org>
1714 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1716 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1717 present only for the preferences dialog.
1718 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1720 2004-04-05 Angus Leeming <leeming@lyx.org>
1722 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1723 to enable the frontends to export changes to lyxrc correctly.
1725 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1727 2004-04-07 André Pönitz <poenitz@gmx.net>
1729 * cursor.[Ch] (selClear, adjust): remove math
1731 * cursor_slice.C: more agressive assert
1734 * BufferView_pimpl.C: rework mouse event dispatch
1741 2004-04-05 André Pönitz <poenitz@gmx.net>
1743 * cursor.[Ch] (valign, halign...): remove unneeded functions
1745 2004-04-05 Angus Leeming <leeming@lyx.org>
1747 * lyxlength.[Ch] (unit_name et al.): const-correct.
1749 2004-04-05 Angus Leeming <leeming@lyx.org>
1751 * BufferView_pimpl.C:
1760 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1762 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1764 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1766 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1768 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1769 * BufferView_pimpl.[Ch] (getStatus)
1770 * BufferView.[Ch] (getStatus): add
1771 * lyxfunc.C (getStatus): move lfuns handled in
1772 BufferView::dispatch to te function above
1773 * Cursor.C (setSelection): set selection() = true
1775 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1777 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1779 2004-03-31 Angus Leeming <leeming@lyx.org>
1781 * lyxfunc.C (dispatch): Fall through to the generic
1782 Dialogs::show("preamble").
1784 2004-03-31 Angus Leeming <leeming@lyx.org>
1786 * lyxfunc.C (dispatch): Fall through to the generic
1787 Dialogs::show("spellchecker").
1789 2004-03-31 Angus Leeming <leeming@lyx.org>
1791 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1794 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1799 * insetiterator.[Ch]:
1804 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1806 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1808 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1809 insets where we are putting the cursor.
1811 2004-03-31 Angus Leeming <leeming@lyx.org>
1814 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1816 * lyxrc.[Ch] (read, write): overloaded member functions taking
1817 a std::[io]stream arguments.
1819 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1821 2004-03-31 Angus Leeming <leeming@lyx.org>
1823 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1824 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1826 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1827 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1829 2004-03-31 Angus Leeming <leeming@lyx.org>
1831 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1832 the LFUN_ALL_INSETS_TOGGLE code.
1834 2004-03-30 Angus Leeming <leeming@lyx.org>
1836 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1837 has died. Fall through to the generic Dialogs::show("document").
1839 2004-03-30 Angus Leeming <leeming@lyx.org>
1842 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1843 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1845 * lyxfunc.C (getStatus, dispatch): define the actions for these
1846 lfuns. Little more than a cut and pste job from ControlDocument.C
1848 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1850 2004-03-30 Angus Leeming <leeming@lyx.org>
1853 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1854 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1856 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1857 open/closed state of ollapsable insets. Usage:
1859 all-inset-toggle <state> <name>, where
1860 <state> == "open" || "closed" || "toggle" and
1861 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1863 * lyxtext.h, text2.C (toggleInset): removed.
1865 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1866 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1867 now passes LFUN_INSET_TOGGLE to the found inset.
1869 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1870 is now invoked as "all-insets-toggle toggle branch".
1872 2004-03-30 Angus Leeming <leeming@lyx.org>
1876 * pariterator.[Ch]: added/corrected header blurb.
1878 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1880 * dociterator.[Ch]: add an inset_ member
1881 (backwardPos): implemented
1882 (backwardPos, forwardPos): use inset_ when the stack is empty.
1883 (doc_iterator_begin, doc_iterator_end): implemented
1884 * pariterator.[Ch]: adjust, add begin, end
1885 * insetiterator.[Ch]: adjust, add begin, end
1889 * BufferView_pimpl.C:
1890 * CutAndPaste.C: adjust
1892 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1894 * buffer.C: increment file format to 232.
1895 * LaTeXFeatures.C: add bibtopic package.
1896 * bufferparams.[Ch]: param \use_bibtopic.
1898 * lyxrc.[Ch]: add lyxrc bibtex_command
1899 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1901 * buffer.C: increment file format to 231.
1903 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1905 * dociterator.C: implement forwardPar
1906 * iterators.[Ch]: remove, replaced by
1907 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1909 * BufferView_pimpl.C:
1912 * bufferview_funcs.C:
1918 * Makefile.am: adjust
1920 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1922 * CutAndPaste.C (pasteSelection): fix 2 crashes
1923 (eraseSelection): fix a crash
1924 * paragraph_funcs.C: remove a warning
1926 2004-03-28 Angus Leeming <leeming@lyx.org>
1929 * LyXAction.C (init): new LFUN_PRINT.
1931 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1933 2004-03-27 Angus Leeming <leeming@lyx.org>
1936 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1938 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1940 2004-03-27 Angus Leeming <leeming@lyx.org>
1942 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1943 insetlist always contains non-null pointers to insets.
1945 2004-03-26 Angus Leeming <leeming@lyx.org>
1947 * src/BufferView_pimpl.C:
1948 * src/CutAndPaste.C:
1951 * src/output_plaintext.C:
1952 * src/outputparams.h:
1953 * src/paragraph_funcs.C:
1957 * src/frontends/controllers/ControlErrorList.C:
1958 * src/frontends/gtk/FileDialogPrivate.C:
1959 * src/frontends/gtk/GPainter.C:
1960 * src/frontends/gtk/GToolbar.C:
1961 * src/frontends/qt2/QRef.C:
1962 * src/mathed/math_scriptinset.C: squash compiler warnings.
1964 2004-03-26 Angus Leeming <leeming@lyx.org>
1966 * ispell.C (LaunchIspell::start):
1967 * lyx_cb.C (AutoSaveBuffer::start):
1968 invoke run(DontWait) rather than runNonBlocking().
1970 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1972 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1974 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * kbsequence.C (print): adjust
1978 * kbmap.C (printKeySym): rename and change signature
1979 (printKey): use LyXKeySym::print()
1981 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1983 * undo.C: add using std::advance to compile for stlport
1985 2004-03-24 Angus Leeming <leeming@lyx.org>
1987 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1988 it leads to a crash when no buffer is present.
1990 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1991 Martin Vermeer <martin.vermeer@hut.fi>
1993 * lyxfunc.C (dispatch):
1994 * bufferparams.C (readToken): use the new LColor::setColor
1996 * LColor.[Ch] (setColor): new version that takes two strings as
1997 argument and creates a new color entry if necessary
1999 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2001 * buffer.C (makeLaTeXFile): if the main latex file that is
2002 processed is usually a subdocument of some master, then pretend
2003 for a while that it is actually the master
2005 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2007 * buffer.C (getLabelList):
2008 (getBibkeyList): use getMasterBuffer()
2009 (getMasterBuffer): new method. Returns the main document in the
2010 case where one is using included documents.
2012 2004-03-25 André Pönitz <poenitz@gmx.net>
2016 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2018 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2020 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2021 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2023 * ParameterStruct.h: merge with ParagraphParameters
2025 * lyxtext.h: remove LyXText::parOffset() and getPar()
2027 * text3.C: Remove all 'manual' update calls. We do now one per user
2028 interaction which is completely sufficient.
2032 * BufferView_pimpl.C:
2033 * FontIterator.[Ch]:
2035 * ParagraphParameters.[Ch]:
2040 * cursor_slice.[Ch]:
2047 * output_docbook.[Ch]:
2048 * output_latex.[Ch]:
2049 * output_linuxdoc.[Ch]:
2050 * output_plaintext.[Ch]:
2052 * paragraph_funcs.[Ch]:
2053 * paragraph_pimpl.[Ch]:
2061 * frontends/controllers/ControlDocument.C:
2062 * frontends/controllers/ControlErrorList.C:
2063 * frontends/controllers/ControlSpellchecker.C:
2066 * insets/insetbase.h:
2067 * insets/insetbibitem.C:
2068 * insets/insetbox.C:
2069 * insets/insetbranch.C:
2070 * insets/insetcaption.C:
2071 * insets/insetcharstyle.C:
2072 * insets/insetcharstyle.h:
2073 * insets/insetcollapsable.C:
2074 * insets/insetcollapsable.h:
2075 * insets/insetert.C:
2076 * insets/insetfloat.C:
2077 * insets/insetfoot.C:
2078 * insets/insetmarginal.C:
2079 * insets/insetnote.C:
2080 * insets/insetoptarg.C:
2081 * insets/insettabular.C:
2082 * insets/insettext.C:
2083 * insets/insettext.h:
2084 * insets/insetwrap.C:
2085 * mathed/math_mboxinset.C:
2086 * mathed/math_nestinset.C:
2087 * mathed/math_scriptinset.C:
2088 * mathed/math_scriptinset.h:
2091 2004-03-24 Angus Leeming <leeming@lyx.org>
2093 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2094 deal with any child processes that have finished but are waiting to
2095 communicate this fact to the rest of LyX.
2097 2004-03-24 Angus Leeming <leeming@lyx.org>
2099 64-bit compile fixes.
2101 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2102 (c-tor): pass lyx::pos_types rather than ints.
2104 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2107 * text.C (Delete): compile fix.
2108 (getPar): ensure that function declaration is the same as that in
2111 2004-03-23 Angus Leeming <leeming@lyx.org>
2113 * ispell.C (LaunchIspell):
2114 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2115 a boost::shred_ptr rather than a std::auto_ptr.
2117 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2120 handle LFUN_FILE_INSERT_*
2122 * lyxrc.C (setDefaults, getDescription, output, read):
2123 * lyxrc.h: remove ps_command
2125 2004-03-22 Angus Leeming <leeming@lyx.org>
2127 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2128 Ensure that error_handler is processed once only and that all data
2129 is saved before attempting to output any warning messages.
2131 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2133 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2135 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2137 2004-03-19 André Pönitz <poenitz@gmx.net>
2139 * cursor.[Ch] (reset): take main text inset as argument
2141 * BufferView: adjust
2142 * BufferView_pimpl.C: adjust
2144 * paragraph.[Ch]: fix completely broken operator=()
2146 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2148 * LColor.C (getFromLyXName): make sure that the color name is used
2151 2004-03-17 Angus Leeming <leeming@lyx.org>
2154 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2156 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2157 dialog and to kill a forked process.
2159 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2161 * text2.C (setCursorFromCoordinates): fix font problem
2163 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2165 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2166 bogus "rebuild cursor" code
2168 2004-03-11 André Pönitz <poenitz@gmx.net>
2170 * buffer.[Ch]: use InsetText instead of LyXText as container for
2173 * dociterator.[Ch]: drop the BufferView * member which is not needed
2174 anymore after the change to buffer.C
2176 * paragraph_funcs.C:
2180 * BufferView_pimpl.[Ch]:
2182 * cursor_slice.[Ch]: adjust
2184 * text3.C: fix bug in mathDispatch
2186 2004-03-08 André Pönitz <poenitz@gmx.net>
2188 * undo.[Ch]: use 'StableDocumentIterator' as base for
2191 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2194 * bufferparams.[Ch]: add jurabib support and param.
2196 * LaTeX.C: add FIXME/comment.
2198 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2200 * buffer.C: increment file format to 230.
2202 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2204 * cursor.C (dispatch): avoid infinite loops
2206 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2208 * rowpainter.C (paintSelection): fix x coordinates
2210 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2212 * text.C (rowBreakPoint): fix breaking before displayed insets
2214 2004-03-01 André Pönitz <poenitz@gmx.net>
2216 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2218 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2222 * BufferView_pimpl.C:
2230 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2236 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2237 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2239 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2241 * Bidi.[Ch] (computeTables): const correctness
2242 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2243 fill_hfill, fill_label_hfill and x from Row
2244 * lyxtext.h: prepareToPrint returns a RowMetrics
2245 * rowPainter.C: adjust
2246 * text.C (prepareToPrint): use width, not textWidth. adjust
2247 (redoParagraphInternal, cursorX): adjust
2248 * text2.C (getColumnNearX): adjust
2249 (init): put a default value to the top LyXText::width
2251 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2253 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2255 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2257 * lyxtext.h: add FontIterator class
2259 * text.C (FontIterator, operator*, operator->, operator++): add
2260 (rowBreakPoint, setRowWidth): adjust (fixing a
2263 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * BufferView_pimpl.C (workAreaDispatch): allow also
2266 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2268 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2270 * text.C (rowBreakPoint): fix a bug showing with very large insets
2272 2004-02-25 André Pönitz <poenitz@gmx.net>
2275 * cursor.[Ch]: move some mathed specific code to mathed
2277 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2279 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2280 use_tempdir in preferences
2281 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2283 * lyx_main.C: ensure that tempdir is valid
2284 * lyxlex.h: correct typo
2285 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2286 * paragraph.[Ch] (isMultiLingual): make const
2287 * cursor.[Ch] (openable): make const
2289 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2291 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2293 2004-02-20 André Pönitz <poenitz@gmx.net>
2295 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2297 * cursor.[Ch]: prepare for localized getStatus()
2303 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2305 2004-02-20 André Pönitz <poenitz@gmx.net>
2307 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2309 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2311 * text2.C (setCursorFromCoordinates): switch to absolute coords
2313 (cursorDown): adjust
2314 * text3.C (dispatch): adjust
2316 2004-02-16 André Pönitz <poenitz@gmx.net>
2318 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2321 * cursor_slice.[Ch]: remove unneeded acessor function
2323 * lyxtext.h: rename rtl() to isRTL()
2331 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2333 * rowpainter.C (paintSelection): coord fix
2335 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2337 * Spacing.C: compile fix
2339 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2341 * cursor.C (dispatch): restore current_ before returning
2343 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2345 * text2.C (cursorUp, cursorDown): fix coords
2348 2004-02-12 André Pönitz <poenitz@gmx.net>
2353 * text3.C: add LCursor & parameter to most cursor movement functions
2354 remove usage of LyXText::cursorRow() and cursorPar()
2356 * cursor.[Ch]: add textRow() needed members
2359 * BufferView_pimpl.C:
2362 * BufferView_pimpl.C: adjust
2364 2004-02-11 André Pönitz <poenitz@gmx.net>
2368 * BufferView_pimpl.C: shift undo/redo handling
2370 * cursor.[Ch]: fix mathed crash
2373 * lyxtext.h: move selectionAsText to LCursor
2381 * rowpainter.C: fix excessive drawing
2383 2004-02-06 André Pönitz <poenitz@gmx.net>
2386 * BufferView_pimpl.[Ch]:
2387 * text3.C: move some text specific LFUN handling
2389 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2391 * text3.C (checkInsetHit): adjust coords
2392 * text2.C (getColumnNearX): adjust coords
2393 (edit): adjust coords
2394 * text.C (getRowNearY): add two asserts
2396 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2399 * format.C: add using std::distance to compile on gcc 2.95/stlport
2401 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2403 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2405 2004-02-04 André Pönitz <poenitz@gmx.net>
2407 * BufferView.[Ch] (insertInset):
2408 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2413 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2415 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2416 on the default clause of the switch
2417 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2418 wasn't catched by LCursor::dispatch
2420 2004-02-03 André Pönitz <poenitz@gmx.net>
2423 * cursor.[Ch]: some additional asserts
2425 * undo.[Ch]: remove LyXText dependency in interface
2429 * lyxtext.h (firstPar, lastPar): remove dead functions
2434 * paragraph.[Ch]: adjust
2436 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2438 * lyxfind.C (find): fix argument order in call to ::find
2440 2004-02-02 André Pönitz <poenitz@gmx.net>
2442 * cursor.[Ch]: remove direct access to anchor
2444 * text.C: remove findText() hack
2446 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2448 * iterators.[Ch] (lockPath): remove in favour of...
2449 * BufferView.[Ch] (setCursor): this addition
2450 * BufferView.C (putSelectionAt): adjust
2451 * undo.C (performUndoOrRedo): adjust
2452 * lyxfunc.C (dispatch): adjust
2454 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2456 * iterators.C (lockPath): add a missing slice
2457 * undo.C (performUndoOrRedo): remove redundant positioning code
2459 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2461 * vc-backend.C (scanMaster): ";" -> ';'
2463 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2465 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2466 std::binary_function
2468 * lyxtextclass.C (compare_name): rename to...
2469 (LayoutNamesEqual): ...this
2471 * lyxlex_pimpl.C (compare_tags): inherit from
2472 std::binary_function, put back into anon namespace
2474 * lyxfind.C (MatchString): inherig from std::binary_function
2475 (findChange): use empty() istead of !size()
2477 * format.C (FormatNamesEqual): new functor
2484 * converter.C (compare_Converter): rename to...
2485 (ConverterEqual): ...this, and fixup a bit.
2486 (getConverter): use it, and make function const
2487 (getNumber): use it, and make function const
2491 * bufferlist.C: add using boost::bind
2493 * MenuBackend.C (MenuNamesEqual): new functor
2494 (hasMenu): use it, and make function const
2495 (hasSubmenu): use nested bind to get rid of compare_memfun.
2497 2004-01-30 André Pönitz <poenitz@gmx.net>
2499 * BufferView_pimpl.C:
2502 * cursor_slice.[Ch]:
2505 * paragraph_funcs.C:
2506 * paragraph_funcs.h:
2510 * text3.C: move some of the edit(x,y) handling to the insets
2511 some coordinate changes.
2513 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2515 * text.C: add using statements for std::advance and std::distance
2517 * paragraph.C: add using statement for std::distance
2519 * lyxfind.C: add using statement for std::advance
2521 * cursor.C (region): remove std:: from swap
2522 (openable): use nucleus in stead of operator->
2524 * BufferView.C: add using statements for std::distance and std::swap
2526 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2528 * iterators.C: Remove the pimple, move the needed structures to
2529 the header file. Create accessor for the positions stack.
2530 (asPosIterator): remove function
2532 * PosIterator.C (PosIterator): move constructors to top of file
2533 (PosIterator): reimplement the constructor taking a ParIterator in
2535 (setFrom): new function
2536 (operator!=): inline it
2538 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2540 * lyxfind.C (replaceAll): use std::advance
2542 * iterators.h: inherit from std::iterator.
2544 * PosIterator.C (advance, distance): remove
2545 * PosIterator.h: interit from std::iterator.
2547 2004-01-26 André Pönitz <poenitz@gmx.net>
2550 * BufferView_pimpl.[Ch]:
2554 * bufferview_funcs.C:
2564 * output_linuxdoc.C:
2565 * output_plaintext.C:
2567 * paragraph_funcs.[Ch]:
2568 * paragraph_pimpl.[Ch]:
2574 * text3.C: more IU: dumps most of the rest of the mathcursor
2575 implementation into cursor.[Ch]; "globalize" a bit of it.
2577 2004-01-25 Angus Leeming <leeming@lyx.org>
2579 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2581 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2583 * LaTeXFeatures.h: add nice_ and nice() const
2584 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2586 2004-01-20 André Pönitz <poenitz@gmx.net>
2589 * BufferView_pimpl.C:
2591 * bufferview_funcs.C:
2593 * cursor_slice.[Ch]:
2604 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2605 LCursor and mathcursor parts to LCursor and InsetBase.
2607 2004-01-15 André Pönitz <poenitz@gmx.net>
2609 * cursor_slice.[Ch]: add a few covienience functions
2611 * funcrequest.[Ch]: remove BufferView * member
2613 * BufferView_pimpl.C:
2620 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2622 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2624 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2625 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2627 2004-01-13 André Pönitz <poenitz@gmx.net>
2630 * lyxtext.h: hide cursor and selection anchor behind accessor function
2633 * BufferView_pimpl.[Ch]:
2635 * bufferview_funcs.C:
2645 * cursor_slice.[Ch]: some integer type changes for inset unification
2647 * lyxcursor.[hC]: remove, it's CursorSlice now.
2650 * BufferView_pimpl.[Ch]:
2651 * bufferview_funcs.C:
2657 * textcursor.[Ch]: adjust
2659 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2661 * text2.C (undoSpan): add and use
2662 * text.C (breakParagraph): use undoSpan (fix bug 578)
2665 2004-01-08 Angus Leeming <leeming@lyx.org>
2667 * BufferView_pimpl.C (MenuInsertLyXFile):
2668 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2669 * lyxfunc.C (menuNew, open, doImport):
2670 FileFilterList change to the FileDialog open and save functions.
2672 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2674 * ShareContainer.h: make isEqual and isUnique adaptable
2676 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2678 2004-01-07 Angus Leeming <leeming@lyx.org>
2681 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2683 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2685 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2686 functions replacing find, replace and replaceAll.
2688 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2689 LFUN_WORDFIND(FORWARD|BACKWARD).
2691 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2693 * text.C (breakParagraph): remove an outdated #warning
2695 2004-01-07 André Pönitz <poenitz@gmx.net>
2697 * lyxfind.C: somewhat clearer logic
2699 * text.C: prevent crash in cursorX on unitialized row cache
2701 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2703 * lyxcursor.[Ch] (operator>): add
2704 * textcursor.C (selStart, selEnd): use std::min and std::max
2706 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2708 * Chktex.C: include boost/format.hpp
2710 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2712 * InsetList.C: replace functor MathcIt with adaptable functor
2714 (insetIterator): modify accordingly
2716 * BranchList.h: move the BranchNamesEqual functor here from...
2717 * BranchList.C: ... to here
2719 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2721 (add): replace a finding loop with std::find_if.
2723 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2725 * output_docbook.C: moving LatexParam functionality into
2728 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2730 * buffer.C: increment format to 229.
2732 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2735 * lyx_sty.[Ch]: remove minipageindent_def
2741 * text3.C: remove LFUN_INSET_MINIPAGE
2743 2003-12-28 Angus Leeming <leeming@lyx.org>
2745 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2747 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2749 * text2.C (setParagraph): fix off-by-one crash
2751 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2753 * output_docbook.C: header stuff for AGU
2755 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2757 * text2.C (redoCursor): remove
2760 * BufferView_pimpl.C: remove calls to redoCursor and
2761 setCursor(cursor.par(), cursor.pos()) all around
2763 2003-12-15 Angus Leeming <leeming@lyx.org>
2765 * buffer.C: up the format to 228.
2767 2003-12-15 André Pönitz <poenitz@gmx.net>
2769 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2774 * BufferView_pimpl.C:
2783 2003-12-15 Angus Leeming <leeming@lyx.org>
2785 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2786 than getFromGUIName to manipulate the color.
2788 2003-12-14 Angus Leeming <leeming@lyx.org>
2790 * BranchList.[Ch]: minimize the API.
2791 (Branch::getBranch, getColor): now return a 'const &'.
2792 (Branch::setSelected) now returns a bool set to true if the
2793 selection status changes.
2794 (BranchList::clear, size, getColor, setColor, setSelected,
2795 allBranches, allSelected, separator): removed.
2796 (BranchList::find): new functions, returning the Branch with
2798 (BranchList::add, remove): return a bool indicating that
2799 the operation was successful.
2801 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2802 new InsetBranch::isBranchSlected member function.
2804 * LColor.[Ch]: mimimize the API.
2805 (fill): renamed as addColor and made private.
2806 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2807 versions of these functions taking a string arg have been removed.
2809 * bufferparams.C (readToken):
2810 * lyxfunc.C (dispatch):
2811 * lyxrc.C (read): changes due to the altered BranchList and
2814 * factory.C (createInset, readInset): changes due to altered
2817 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2820 * lyxfunc.C: remove insetminipage. "minipage-insert"
2821 now produces a frameless minipage box inset.
2823 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2825 * textcursor.[Ch] (selStart,selEnd): add new methods
2826 remove selection::start, end, use LyXCursor::operator<
2827 * lyxcursor.[Ch] (operator<): add
2828 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2829 * BufferView.[Ch] (unsetXSel): add
2830 * text2.C (clearSelection): use unsetXSel,adjust
2833 * rowpainter.C: adjust
2834 * bufferview_funcs.C (put_selection_at): adjust
2836 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2838 * BufferView_pimpl.C: small coord. correction
2840 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2842 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2843 dragging over the splash screen.
2845 2003-12-11 Angus Leeming <leeming@lyx.org>
2847 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2848 as it is now handled in LyXText::dispatch.
2850 * text3.C (doInsertInset): remove a level of nesting.
2852 2003-12-11 Angus Leeming <leeming@lyx.org>
2854 * factory.C (createInset): changes due to the changed interface to
2855 InsetCommandMailer::string2params.
2857 2003-12-10 Angus Leeming <leeming@lyx.org>
2859 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2860 'dialog-show-new-inset <inset name>'
2862 2003-12-10 Angus Leeming <leeming@lyx.org>
2864 * buffer.C: up the format to 227.
2866 * factory.C: the box inset is now identified simply by 'Box'.
2868 2003-12-10 Angus Leeming <leeming@lyx.org>
2870 * buffer.C: up the format to 226.
2872 * factory.C: the note inset is now identified simply by 'Note'.
2874 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2876 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2877 when a pit is enough. Standarize a couple of loops.
2879 2003-12-05 Angus Leeming <leeming@lyx.org>
2881 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2882 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2883 data to the re-worked "log" dialog.
2885 2003-12-03 André Pönitz <poenitz@gmx.net>
2891 * paragraph_funcs.C:
2893 * text2.C: use Inset::getText instead of Inset::getParagraph
2895 2003-12-03 André Pönitz <poenitz@gmx.net>
2899 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2900 InsetText::read() as LyXText::read()
2902 2003-12-02 Angus Leeming <leeming@lyx.org>
2904 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2905 type. Add a comment in the implementation that the function uses
2906 the stream's bad() function rather than fail() as the std::streams
2909 2003-12-02 André Pönitz <poenitz@gmx.net>
2911 * lyxlex.[Ch]: make interface more similar to std::stream
2913 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2915 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2917 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2919 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2921 * vspace.[Ch]: remove VSpace::NONE
2923 2003-12-01 André Pönitz <poenitz@gmx.net>
2926 * lyxtext.h: move ParagraphList member to LyXText
2927 rename LyXText::ownerParagraphs to LyXText::paragraph
2930 * bufferview_funcs.C:
2940 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2942 * undo.C: fix cursor positioning
2944 2003-12-01 John Levon <levon@movementarian.org>
2946 * BufferView_pimpl.C: fix a crash on exit with
2949 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2951 * BranchList.C: fix setSelected() method.
2953 2003-11-28 André Pönitz <poenitz@gmx.net>
2955 * ParagraphParameters.[Ch]:
2956 * ParameterStruct.h: remove space above/below from Paragraph to
2959 * BufferView_pimpl.C:
2965 * paragraph_funcs.C:
2971 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2973 * factory.C: Syntax change for CharStyles
2975 2003-11-28 André Pönitz <poenitz@gmx.net>
2980 * buffer.[Ch]: move LyXText member
2982 2003-11-28 André Pönitz <poenitz@gmx.net>
2984 * BufferView.[Ch]: make LyXText * text a private member
2986 * BufferView_pimpl.C:
2997 * output_plaintext.C: cleanup
2999 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3002 * lyxtextclass.[Ch]: parametrize SGML document header
3004 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3007 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3010 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3012 * text2.C (setFont): rework using PosIterator (no more recursive)
3013 (setCharFont): no more needed
3014 (setLayout): no more selection cursors fiddling (done by redoCursor)
3015 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3016 destroy remaining ones)
3018 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3020 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3022 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3025 * text3.C: adjust + re-allow multi par depth changes
3026 * textcursor.C: simplify a bit
3028 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3034 * src/output_docbook.C:
3035 * src/output_latex.C:
3040 * src/text2.C: Introducing a number of tags parametrizing various
3041 XML formats that we may want to support
3043 2003-11-25 André Pönitz <poenitz@gmx.net>
3045 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3047 * lyxtext.h (leftMargin/rightMargin): simplify interface
3054 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3056 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3057 master file to any child files. Fixes bug 546.
3059 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3061 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3063 2003-11-24 André Pönitz <poenitz@gmx.net>
3065 * rowpainter.C: simplification
3067 * text2.C (updateCounters): remove call to redoParagraph on
3068 changed labels as this is far too expensive.
3070 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3072 * converter.C (convert): fix a crash: this function gets
3073 called with buffer == 0 from importer code.
3075 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3077 * text3.C (cursorPrevious): make sure that we do not compare
3078 iterators form different containers.
3081 * rowpainter.C (paintSelection): make sure that we do not compare
3082 iterators from different containers.
3084 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3085 iterators from different ParagraphList containers.
3088 * text2.C (LyXText): change order of initialization slightly
3089 (operator=): new function. copy all variables except cache_par_
3090 (moveUp): make sure that we do not compare iterators from
3091 different ParagraphList constainers.
3094 * text.C (firstPar): new function
3095 (lastPar): new function
3096 (endPar): new function
3098 * lyxtext.h: move things around and group public functions, public
3099 variables, private functions, private variables
3101 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3103 * factory.C: change call to InsetERT constructor to avoid
3104 additional invocation of method status
3105 * text2.C (toggleInset): remove redundant update() call
3106 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3107 instead of a Bufferview pointer
3109 2003-11-21 André Pönitz <poenitz@gmx.net>
3111 * rowpainter.C: simplification
3113 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3115 * text3.C (dispatch): make possible to extend a word/row selection
3118 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3120 * lyxtext.h: x0_,y0_ -> xo_,yo_
3121 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3122 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3123 * rowpainter.C (paintRows): paint full paragraphs
3125 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3127 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3130 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3132 * lyxtext.h: add x0_, y0_
3133 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3134 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3136 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3138 * text2.C (setCursorIntern): move the x_target update here *
3139 * text3.C: change some bv() to true/false in calls to
3140 cursorUp/Down/Right/Left
3141 * cursor.C: use helper function.
3143 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3145 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3146 * paragraph_funcs.[Ch]: correct comment
3147 * rowpainter.C: do not paint selections away from bv->cursor()
3148 Fix a long standing selection painting bug.
3149 * text3.C: generalize mouse-selection code to LyXTexts other that
3151 * textcursor.C: do not use y coords if we can use par offsets
3153 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3155 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3156 cursor position after e.g. inset insert)
3158 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3160 * lyxfind.C (replace): adjust to locking removal + some
3163 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3165 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3168 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3171 * output_docbook.C: XML sanitation: new layout
3172 parameters InnerTag and CommandDepth
3174 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3176 * BufferView_pimpl.C:
3178 * text3.C: Fix the insertion and modification of button-style
3181 2003-11-13 André Pönitz <poenitz@gmx.net>
3183 * InsetList.[Ch]: remove deleteLyXText
3185 * paragraph.[Ch]: cache beginOfBody position
3190 * text3.C: remove superfluous update() calls
3194 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3196 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3197 * BufferView.C (fitLockedInsetCursor): remove
3198 * cursor.[Ch] (getDim): add
3199 * text.C (getRowNearY): add faster version
3200 * text3.C: remove some update calls
3202 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3214 * text3.C: The Character Style /XML short element patch.
3216 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3219 * factory.C: Small step to solving 'unable to insert some insets'
3222 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3224 * cursor.[Ch] (updatePos): new function for updating the y
3225 position of the tip inset
3226 * bufferview_funcs.C (put_selection_at):
3227 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3229 2003-11-11 André Pönitz <poenitz@gmx.net>
3231 * text.C: remove big comment on invalid Paragraph pointers as it is
3234 2003-11-11 André Pönitz <poenitz@gmx.net>
3236 * text_funcs.[Ch]: merge with ...
3244 * Makefile.am: remove text_funcs.[Ch]
3246 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3248 * cursor.C (getPos): return absolute cached y coord
3250 * BufferView_pimpl.C (fitCursor): new simplistic code
3251 (workAreaDispatch): add a fitCursor call
3253 2003-11-10 André Pönitz <poenitz@gmx.net>
3256 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3258 2003-11-10 André Pönitz <poenitz@gmx.net>
3260 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3261 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3262 indicate that the cursor needs to leave an inset
3264 * lyxtext.h: remove inset locking
3266 * cursor.[Ch]: re-implement functionality provided by inset locking
3269 * BufferView_pimpl.[Ch]:
3271 * bufferview_funcs.[Ch]:
3283 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3285 * PosIterator.[Ch]: replace the stack with a vector, add inset
3287 * iterators.[C]: adjust
3289 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3291 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3293 * paragraph_funcs.C (readParToken): put the correct id in the
3294 error item, not the id of the top paragraph
3296 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3298 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3299 * bufferview_funcs.C (put_selection_at): use the above
3301 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3303 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3305 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3307 * output_linuxdoc.h:
3308 * output_plaintext.h:
3310 * output_docbook.h: add #include statements
3312 2003-11-05 José Matos <jamatos@lyx.org>
3314 * output_docbook.[Ch]:
3315 * output_latex.[Ch]:
3316 * output_linuxdoc.[Ch]:
3317 * output_plaintext.[Ch]: New files for output formats.
3318 * output.[Ch]: New file for helper functions.
3321 * paragraph_funcs.[Ch]: output functions moved to new files.
3323 * outputparams.h: rename of latexrunparams.h
3331 * paragraph_funcs.[Ch]:
3332 * paragraph_pimpl.[Ch]:
3333 * tabular.[Ch]: rename ascii to plaintext
3334 and LatexRunParams to OutputParams.
3336 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3338 * iterators.[Ch] (text): require bv argument
3339 * undo.C (recordUndo):
3340 * lyxfunc.C (dispatch):
3341 * bufferview_funcs.C (put_selection_at): adjust
3343 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3345 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3347 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3349 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3352 2003-11-04 André Pönitz <poenitz@gmx.net>
3354 * cursor.[Ch]: restructure
3357 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3359 * iterators.[Ch] (asCursor): remove
3361 * lfuns.h: remove LFUN_INSET_EDIT
3367 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3369 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3371 * lyxfind.[Ch]: complete overhaul
3372 * BufferView_pimpl.C:
3374 * paragraph.[Ch] (insert): add
3376 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3380 * text.C: remove dead spellcheck code
3382 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3384 * dispatchresult.h: add a val setter
3386 * cursor.C (dispatch): use a tempvar for data_[i]
3388 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3390 * PosIterator.[Ch]: compile fix
3392 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3394 * text.C (cursorPar): deactivate the cursor cache
3396 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3398 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3400 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * text3.C (dispatch): adjust for new DisptchResult semantics.
3404 * lyxfunc.C (dispatch): handle update when return from
3405 Cursor::dispatch, adjust for new DispatchResult semantics.
3407 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3408 DispatchResult(true) mean to not update. Add class functions for
3409 setting dispatched and update, as well as reading.
3411 * cursor.C (dispatch): don't handle update here
3413 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3416 * trans_mgr.C: adjust
3418 * paragraph_funcs.C (readParToken): exception safety
3420 * lyxvc.h: store the vcs pointer in a scoped_ptr
3423 * lyxsocket.C (serverCallback): exception safety
3425 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3427 * ispell.C (clone): make it return a auto_ptr
3429 * factory.C (createInset): exception safety
3430 (readInset): exception safety
3432 * bufferlist.C (newBuffer): exception safety
3434 * Thesaurus.C (Thesaurus): use initialization for aik_
3436 * MenuBackend.C (expandToc): exception safety.
3438 2003-11-03 André Pönitz <poenitz@gmx.net>
3442 * bufferview_funcs.C: remove getInsetFromId()
3445 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3451 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3453 * PosIterator.C (distance, advance): new
3454 * bufferview_funcs.[Ch] (put_selection_at): new
3455 * iterators.[Ch] (lockPath): new
3457 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3459 * iterators.[Ch] (asPosIterator): added
3460 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3461 * PosIterator.[Ch]: added
3463 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * cursor.C (dispatch):
3468 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3470 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3471 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3472 contructor, add a class function dispatched. Remove operator>=
3474 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * debug.C: only use the default constructor for debugstream
3479 * main.C (main): include debug.h and setup the lyxerr streambuf
3482 2003-10-31 José Matos <jamatos@lyx.org>
3484 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3486 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3487 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3488 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3489 * paragraph_pimpl.C (simpleTeXSpecialC):
3490 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3491 add LatexRunParams argument.
3493 * exporter.C (Export): change call accordingly.
3495 * latexrunparams.h: add new member to take care of the other backends.
3496 2003-10-30 José Matos <jamatos@lyx.org>
3498 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3499 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3500 factorise code for paragraph output.
3502 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3505 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * text3.C (dispatch):
3508 * lyxfunc.C (dispatch):
3509 * cursor.C (dispatch):
3510 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3512 * dispatchresult.h: make the dispatch_result_t ctor explicit
3514 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3517 * buffer.C: small refactoring of docbook stuff
3519 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3524 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3526 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3527 operator dispatch_result_t, and operators for == != and >=
3529 * cursor.C (dispatch): adjust for operator dispatch_result_t
3530 removal. comment out call to update
3532 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3534 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3545 * dispatchresult.h: new file, DispatchResult broken out of
3548 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3550 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3552 * text.C (rowBreakPoint): put a hack inside #if 0
3554 2003-10-28 André Pönitz <poenitz@gmx.net>
3558 * paragraph_funcs.C:
3561 * text2.C: general cleanup (lots of small stuff)
3563 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3565 * text2.C (cursorEnd): simple fix to the "end key goes to one
3566 before the end on last row" bug
3568 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3570 * text.C (backspace): fix the "zombie characters"
3572 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3574 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3576 2003-10-27 André Pönitz <poenitz@gmx.net>
3578 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3580 * factory.C: handle new InsetPagebreak, InsetLine
3582 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3583 and move handling into new InsetPagebreak, InsetLine
3585 * BufferView_pimpl.C:
3587 * ParagraphParameters.C:
3588 * ParameterStruct.h:
3593 * paragraph_funcs.C:
3594 * paragraph_pimpl.C:
3600 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3603 * lyxrow_funcs.[Ch]:
3609 * text3.C: remove lastPos uses in favour of Row::endpos
3611 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3613 * undo.C (performUndoOrRedo): fix two crashes by setting a
3614 cursor by hand and reordering some calls. Use bv->lockInset instead
3615 of inset->edit because the latter loses cursor information
3617 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3619 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3621 (rowBreakPoint): fix width. change point to point + 1.
3622 Add a missing check.
3624 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3627 * lyxfunc.C: fix (at least partly) the problems
3628 with the Nav menu and headers inside branch insets
3631 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3633 * paragraph.C (getChar): add strong asserts
3635 * lyxrow_funcs.C (lastPos): remove hideous hack
3637 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3638 (fill): adjust to that (avoid an infinite loop)
3640 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3642 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3644 2003-10-23 André Pönitz <poenitz@gmx.net>
3646 * RowList_fwd.h: change list<> to vector<> to gain speed
3647 after suggestion from Alfredo
3649 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3651 * lyxtext.h: move the bidi stuff from here...
3654 * Bidi.[Ch]: ... to here
3656 2003-10-23 André Pönitz <poenitz@gmx.net>
3659 * text.C (isLastRow, isFirstRow): new functions
3661 * paragraph.h: new width cache member
3663 * rowpainter.C: replace RowList::iterator with Row & where possible
3665 * lyxfunc.C: replace several view()->text with a single call
3667 * toc.C: fix 'unused' warning
3669 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3672 when woring with stream::pos_type
3673 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3675 2003-10-22 André Pönitz <poenitz@gmx.net>
3678 * text.C: use Row & instead of RowList::iterator
3680 * lyxrow.h: rename end() to endpos()
3686 2003-10-22 Angus Leeming <leeming@lyx.org>
3688 * buffer.[Ch] (fully_loaded): new member function, returning true
3689 only when the file has been loaded fully.
3690 Used to prevent the premature generation of previews and by the
3691 citation inset to prevent computation of the natbib-style label.
3693 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3694 templates are all set up.
3696 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3698 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3700 * text.C: fixed an "oops" in the "is a bit silly"
3703 2003-10-21 André Pönitz <poenitz@gmx.net>
3705 * FuncStatus.[Ch]: small stuff, whitespace
3707 * lyxfont.[Ch]: operator<<() for debug reasons
3711 * lyxtext.h: whitespace, spelling
3713 * paragraph.C: naming of variables
3716 * text2.C: small stuff
3719 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3721 * text.C: (1) finish off the inset display() work;
3722 (2) fix the "is a bit silly" bug (accessing char
3725 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3727 * text.C: re-introduce display() for insets, fixing the
3728 various bugs (stretch of line above, math inset
3731 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3733 * text.C (rightMargin): remove spurious semicolon
3735 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3738 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3740 * text3.C: fix one crash due to wrong cursor def
3742 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * vc-backend.C (scanMaster): make the regex static
3746 * LaTeX.C (scanAuxFile): make the regexs static
3748 * text3.C (doInsertInset, dispatch, dispatch):
3749 * text2.C (cursorUp, cursorDown):
3750 * text.C (selectNextWordToSpellcheck):
3751 * BufferView_pimpl.C (dispatch):
3752 * lyxfunc.C (dispatch): localDispatch -> dispatch
3754 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3756 * lyxsocket.C: include <cerrno>
3758 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * lyxfunc.C (dispatch): remove textcache stuff
3762 * bufferlist.C (release): remove textcache stuff
3765 * TextCache.C: delete file
3766 * TextCache.h: delete file
3768 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3770 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3771 delete of the bv_->text.
3772 (resizeCurrentBuffer): remove texcache stuff
3773 (workAreaResize): ditto
3775 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3780 2003-10-16 André Pönitz <poenitz@gmx.net>
3787 * text3.C: speed up by storing y positions per paragraph plus per-row
3788 offset instead of having a 'full' y position in the row.
3790 2003-10-15 André Pönitz <poenitz@gmx.net>
3794 * undo.[Ch]: make undo aware of inner insets
3796 2003-10-14 Angus Leeming <leeming@lyx.org>
3798 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3799 static member functions LyX::ref() and LyX::cref.
3800 (lastfiles): new accessor functions for the new lastfiles_ member var.
3801 (addLyXView, views_): add a new LyXView to the list of views_.
3802 (updateInset): loop over all LyXViews to call their own updateInset
3803 member function, returning a pointer to the Buffer owning the inset.
3805 * BufferView_pimpl.C (loadLyXFile):
3806 * MenuBackend.C (expandLastfiles):
3807 * bufferlist.C (MenuWrite, QuitLyX):
3808 lastfiles is no longer a global variable.
3809 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3811 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3812 static function. Access through LyX::cref().emergencyCleanup().
3814 2003-10-14 André Pönitz <poenitz@gmx.net>
3816 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3818 * undo.[Ch]: restoring part of 'undo in insets'
3821 * undo_funcs.[Ch]: merge with undo.[Ch]
3823 * tabular.C: small cleansing stuff
3825 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3827 * paragraph_funcs.C (readParToken): report unknown insets as error
3828 boxes. Use the outer paragraph as location (also for unknown
3831 * factory.C (readInset): do not abort on reading an unknown inset.
3832 Eat it and return 0.
3834 2003-10-13 Angus Leeming <leeming@lyx.org>
3836 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3838 * lyxrc.C: displayTranslator is now a function,
3839 declared in GraphicsTypes.h.
3841 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3843 * format.C: new placeholder $$a to pass the socket address.
3845 * bufferlist.[Ch]: new function getBufferFromTmp.
3847 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3848 files in the temporary dir.
3850 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3852 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3854 * Makefile.am: add lyxsocket.[Ch].
3856 * lyx_main.C (error_handler): handle SIGPIPE.
3858 2003-10-13 André Pönitz <poenitz@gmx.net>
3860 * BufferView_pimpl.C:
3865 * undo_funcs.[Ch]: use paroffset_type instead of
3866 ParagraphList::iterators to prevent multiple conversion
3867 (and get a more robust interface)
3869 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3873 * text3.C (dispatch): ditto
3875 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3878 move the onlyfile, use onlyfile instead of foundfile in a couple
3881 * DepTable.C (update): flush the error stream a bit more
3883 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * lyxserver.C (callback): adjust
3887 * lyxfunc.C (getStatus): add a missing brace in commented code
3888 (ensureBufferClean): reindent
3889 (dispatch): delete version taking a string
3891 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * LaTeX.C (deplog): move found file handlig from here...
3894 (handleFoundFile): .. to new function here.
3895 (deplog): make sure to discover several files mentioned on the
3898 2003-10-10 André Pönitz <poenitz@gmx.net>
3905 * text3.C: fix some of the tabular crashes
3907 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3909 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3911 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3913 2003-10-09 André Pönitz <poenitz@gmx.net>
3915 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3918 * BufferView_pimpl.C:
3919 * bufferview_funcs.C:
3930 * undo_funcs.C: adjust
3932 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * text2.C (incrementItemDepth): new function, use a backtracking
3935 algorithm to discover the correct item depth.
3936 (resetEnumCounterIfNeeded): new function, use a backtracking
3937 algorithm to discover if counter reset is needed.
3938 (setCounter): use them. Simplify a bit. Add different labels for
3939 different item depths for itemize.
3941 * paragraph.C (Paragraph): remove initialization of enumdepth
3944 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3945 enumerate and itemize. Change the type of itemdepth to signed char.
3947 2003-10-08 André Pönitz <poenitz@gmx.net>
3949 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3954 * tabular.[Ch]: fix crash after 'row-insert'
3956 2003-10-08 Angus Leeming <leeming@lyx.org>
3958 Fix doxygen warnings.
3960 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3961 Remove CutAndPaste:: prefix from header file declaration.
3963 * LColor.h (fill): remove LColor:: prefix from declaration.
3965 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3966 use lyx::depth_type rather than Paragraph::depth_type so that
3967 header file and .C file match.
3969 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3971 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3972 * aspell.C: \file aspell_local.C -> \file aspell.C
3973 * gettext.C: \file gettext.C -> \file src/gettext.C
3974 * gettext.h: \file gettext.h -> \file src/gettext.h
3975 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3976 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3977 * text.C: \file text.C -> \file src/text.C
3979 * toc.C: move comment so that doxygen is not confused.
3981 2003-10-07 Angus Leeming <leeming@lyx.org>
3983 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3985 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3988 * aspell_local.h: add forgotten std::string's.
3990 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3997 * text3.C: The Box patch. Fancybox support, minipage, parbox
3999 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4005 * ParagraphParameters.h:
4015 * lyxtextclasslist.h:
4018 * paragraph_pimpl.C:
4019 * textcursor.h: add <string> and other small fixes to make Lars'
4020 std::string patch compile with STLport.
4022 2003-10-06 Angus Leeming <leeming@lyx.org>
4024 * LColor.h: Add missing #include <string>.
4026 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * All most all file in all subdirs: Make <string> be the prefered
4029 way of getting to std::string, add using declarations.
4031 2003-10-06 André Pönitz <poenitz@gmx.net>
4033 * metricsinfo.C: initialize LyXFont before changing attribute.
4034 (fixes the 'math in \emph is upright' bug)
4036 2003-10-06 André Pönitz <poenitz@gmx.net>
4038 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4040 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4043 * paragraph_pimpl.C: Small fixes to build using STLport
4045 2003-10-02 André Pönitz <poenitz@gmx.net>
4048 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4050 2003-10-01 André Pönitz <poenitz@gmx.net>
4052 * factory.C: assert early
4054 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * lyx_main.C: remove the global debug object
4058 * debug.h: adjust for new debugstream
4060 * debug.C: adjust for new debugstream and keep the global debug
4063 2003-09-22 Angus Leeming <leeming@lyx.org>
4065 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4066 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4067 an incomplete class LyXFont.
4069 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4071 * factory.C: bug fix in branches
4073 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * lyxfunc.C (processKeySym): adjust
4077 (dispatch): change arg name from ev to func, adjust
4078 (sendDispatchMessage): ditto
4080 * lyx_main.C (defaultKeyBindings): adjust keybindings
4081 (deadKeyBindings): ditto
4083 * kbsequence.C (addkey): return a FuncRequest
4085 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4087 * kbmap.C (bind): take a FuncRequest as arg, adjust
4090 (defkey): change to take a FuncRequest as arg, adjust
4091 (findbinding): take a FuncRequest as arg, adjust.
4093 * funcrequest.h (operator=): added
4095 * funcrequest.C (FuncRequest): default kb_action changed from
4096 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4098 * buffer.C (dispatch): simplify
4099 (dispatch): adjust to take a FuncRequest as arg, adjust
4101 * boost.C (assertion_failed): change assertion message slightly
4103 * ToolbarBackend.C (read): simplify
4105 * MenuBackend.C (binding): adjust call to findbinding, add a
4106 message if no binding is found.
4108 (expandToc): correct by adding a empty FuncRequest
4110 * LyXAction.C: include <boost/assert.hpp>
4111 (isPseudoAction): delete function
4112 (LookupFunc): change name to...
4113 (lookupFunc): this. change return type to FuncRequest.
4114 (getActionName): take kb_action as arg, simplify
4115 (funcHasFlag): add an assert, simplify.
4117 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * toc.C (action): return a FuncRequest, simplify
4121 * lyxfunc.C (processKeySym): adjust
4122 (getStatus): delete version that takes an int.
4124 (dispatch): delete version that takes action as int
4126 (sendDispatchMessage): simplify and adjust
4128 * funcrequest.C (getArg): take unsigned int as arg
4130 * ToolbarBackend.C (read): adjust
4131 (add): delete version that takes func as a string.
4132 (getIton): take a FuncRequest as arg
4134 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4137 * MenuBackend.C (MenuItem): add a new construct that only takes a
4138 Kind, simplify the constructor use for submenus.
4140 (expandLastfiles): adjust
4141 (expandDocuments): adjust
4142 (expandFormats): adjust
4143 (expandFloatListInsert): adjust
4144 (expandFloatInsert): adjust
4145 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4147 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4148 Remove class variables lyx_pseudo_map and lyx_arg_map
4150 * LyXAction.C (searchActionArg): delete function
4151 (getPseudoAction): delete function
4152 (retrieveActionArg): delete function
4153 (LookupFunc): make it return kb_action, simplify.
4154 (getActionName): simplify
4156 * factory.C (createInset): fix new bug
4158 2003-09-19 Angus Leeming <leeming@lyx.org>
4160 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4161 masterFilename_ parameter in the include inset.
4163 * factory.C (createInset): changes due to the changes to InsetInclude.
4165 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4167 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4169 2003-09-18 Angus Leeming <leeming@lyx.org>
4172 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4173 Inset::fillWithBibKeys.
4174 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4176 2003-09-18 Angus Leeming <leeming@lyx.org>
4178 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4180 (ctor): pass and store a 'Buffer const &'
4181 (buffer): new member function.
4183 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4184 '*this' to the LaTeXFeatures ctor.
4186 2003-09-18 Angus Leeming <leeming@lyx.org>
4192 * text.C: rename EnumLColor as LColor_color.
4194 2003-09-18 Angus Leeming <leeming@lyx.org>
4196 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4197 remove #include "insets/insetbase.h" from cursor.h.
4199 2003-09-18 Angus Leeming <leeming@lyx.org>
4201 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4202 InsetOld_code to remove #include "inset.h".
4204 * iterators.C: add #include "insets/inset.h"
4206 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4208 * BufferView.C: remove more locking stuff that apparently doesn't
4209 do anything sensible.
4211 2003-09-16 André Pönitz <poenitz@gmx.net>
4214 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4217 2003-09-16 Angus Leeming <leeming@lyx.org>
4219 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4221 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4224 * paragraph.h: remove #include "lyxfont.h". Forward declare
4227 2003-09-16 Angus Leeming <leeming@lyx.org>
4229 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4230 of support/textutils.h.
4231 (isWord): move the contents of support/textutils.h's IsWordChar here.
4237 * text2.C: add #include "paragraph.h".
4240 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4242 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * LaTeX.C: use namespace alias for lyx::support::os
4250 2003-09-16 Angus Leeming <leeming@lyx.org>
4253 * bufferview_funcs.C:
4256 * paragraph_pimpl.C:
4258 * text.C: add #include "LColor.h".
4260 2003-09-16 Angus Leeming <leeming@lyx.org>
4262 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4263 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4265 Store the FontBits::color variable as an int rather than as an
4266 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4269 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4270 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4271 string calls together.
4273 * lyxrc.C: add #include "LColor.h".
4275 2003-09-15 Angus Leeming <leeming@lyx.org>
4277 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4280 2003-09-15 Angus Leeming <leeming@lyx.org>
4282 * LColor.h: add an EnumLColor wrapper for LColor::color.
4284 * lyxfont.[Ch] (color, setColor, realColor):
4285 * lyxtext.h, text.C (backgroundColor):
4286 pass EnumLColor args to/from the functions, rather than LColor::color
4290 * lyxtext.h: forward declare EnumLColor.
4292 * lyx_main.C: add #include "LColor.h".
4294 2003-09-15 Angus Leeming <leeming@lyx.org>
4296 * .cvsignore: add lyx-gtk.
4298 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * ParagraphParameters.C
4307 * bufferview_funcs.C
4317 * vc-backend.C: remove usage of STRCONV
4319 2003-09-15 Angus Leeming <leeming@lyx.org>
4321 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4322 explicitly define the color passed to the painter.
4324 2003-09-15 Angus Leeming <leeming@lyx.org>
4326 * bufferparams.C (BufferParams): reorder member initializers to avoid
4329 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4331 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4332 * text.C (updateRowPositions): remove an unusual nop
4334 2003-09-12 André Pönitz <poenitz@gmx.net>
4336 * BufferView_pimpl.C:
4345 * Counters.[Ch]: finish the 'automatic counters' job
4347 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4349 * aspell.C: include <boost/assert.cpp> (compile fix)
4351 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4353 * boost.C (assertion_failed): use lyx::support::abort instead of
4356 2003-09-10 Angus Leeming <leeming@lyx.org>
4358 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4359 with their _fwd progeny.
4361 2003-09-09 Angus Leeming <leeming@lyx.org>
4363 134 files throughtout the source tree: replace 'using namespace abc;'
4364 directives with the appropriate 'using abc::xyz;' declarations.
4366 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4368 * boost.C (emergencyCleanup): moved here from LAssert.c
4369 (assertion_failed): new function, called by BOOST_ASSERT
4371 * several files: change Assert to BOOST_ASSERT
4373 2003-09-09 Angus Leeming <leeming@lyx.org>
4375 * buffer.[Ch]: Add an Impl class and move Buffer's member
4376 variables into it. As a result move several header files out of
4379 Add header files to lots of .C files all over the tree as a result.
4381 2003-09-09 Angus Leeming <leeming@lyx.org>
4383 * buffer.[Ch]: make Buffer's member variables private. Add
4386 Lots of changes all over the tree as a result.
4388 2003-09-08 Angus Leeming <leeming@lyx.org>
4390 * graph.C: #include <config.h>.
4392 2003-09-08 Angus Leeming <leeming@lyx.org>
4396 * BufferView_pimpl.C:
4425 * toc.C: remove redundant using directives.
4427 2003-09-07 Angus Leeming <leeming@lyx.org>
4429 * LaTeXFeatures.h: remove #include "support/types.h".
4430 * ToolbarBackend.h: remove #include <algorithm>.
4431 * changes.h: remove #include <ctime>.
4432 * debug.h: remove #include <iosfwd>.
4433 * graph.h: remove #include "support/std_string.h".
4434 * lyx_main.h: remove #include <csignal>.
4435 * lyxlex_pimpl.h: remove #include <fstream>.
4436 * sgml.h: remove #include <algorithm>, <utility>.
4437 * toc.h: remove #include "support/std_ostream.h".
4438 Add #include <iosfwd>.
4440 2003-09-07 Angus Leeming <leeming@lyx.org>
4442 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4444 * converter.h: forward declare LatexRunParams.
4445 * encoding.h: remove #include "lyxrc.h".
4446 * lyxtext.h: remove #include "LColor.h".
4447 * lyxtextclass.h: remove #include "support/types.h".
4448 * trans.h: remove #include "tex-accent.h".
4449 * trans_mgr.h: remove #include "tex-accent.h".
4450 * insets/inset.h: remove #include "support/types.h", <vector>.
4451 * insets/insetcollapsable.h: remove #include "LColor.h".
4452 * insets/insetinclude.h: remove #include "dimension.h".
4453 * insets/insetlatexaccent.h: remove #include "dimension.h".
4454 * insets/insetoptarg.h:: remove #include "insettext.h".
4455 * insets/insettext.h: remove #include "dimension.h",
4456 <boost/shared_ptr.hpp>
4458 * insets/renderers.h: add #include "dimension.h".
4459 * insets/updatableinset.h: add #include "support/types.h".
4461 * many .C files: Associated changes.
4463 2003-09-06 Angus Leeming <leeming@lyx.org>
4465 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4466 one, inside testInvariant.
4468 * PrinterParams.C: new file.
4469 * PrinterParams.[Ch]: move the function bodies out of line.
4471 2003-09-06 Angus Leeming <leeming@lyx.org>
4473 * ParagraphParameters.h: forward declare ParameterStruct rather than
4474 including its header file.
4475 (depth): moved out-of-line.
4477 2003-09-06 Angus Leeming <leeming@lyx.org>
4479 * BufferView_pimpl.h:
4482 * lyxfunc.h: forward declare LyXKeySym rather than
4483 #include "frontends/LyXKeySym.h".
4485 * BufferView_pimpl.C:
4488 * lyxfunc.C: associated changes.
4490 2003-09-06 Angus Leeming <leeming@lyx.org>
4492 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4493 As a result, can remove the #include "insets/inset.h" from BufferView.h
4495 2003-09-06 Angus Leeming <leeming@lyx.org>
4497 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4498 As a result, can remove the #include "insets/inset.h" from BufferView.h
4500 2003-09-06 Angus Leeming <leeming@lyx.org>
4506 * bufferview_funcs.C:
4507 * BufferView_pimpl.C:
4512 * ParagraphParameters.C:
4517 * frontends/controllers/ControlDocument.C:
4518 * insets/insetcaption.C: rearrange the #includes into some sort of
4521 * buffer.h: remove #includes ErrorList.h, undo.h
4523 2003-09-06 Angus Leeming <leeming@lyx.org>
4525 * support/types.h: add a 'depth_type' typedef, used to store the
4526 nesting depth of a paragraph.
4529 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4530 defining explicitly.
4533 * paragraph_funcs.h:
4534 * ParagraphParameters.h:
4535 * sgml.h: use lyx::depth_type rather than Paragraph or
4536 ParameterStruct's depth_type.
4539 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4542 * BufferView_pimpl.C:
4544 * ParagraphParameters.C:
4547 * bufferview_funcs.C:
4554 * frontends/LyXView.C:
4555 * frontends/controllers/ControlDocument.C:
4556 * frontends/controllers/ControlErrorList.C:
4557 * insets/insetbibitem.C:
4558 * insets/insetbranch.C:
4559 * insets/insetcaption.C:
4560 * insets/insetcollapsable.C:
4561 * insets/insetenv.C:
4562 * insets/insetert.C:
4563 * insets/insetfloat.C:
4564 * insets/insetfoot.C:
4565 * insets/insetfootlike.C:
4566 * insets/insetnewline.C:
4567 * insets/insetquotes.C:
4568 * insets/insettabular.C:
4569 * insets/insettext.C:
4570 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4572 * frontends/controllers/ControlChanges.C: #include "changes.h".
4574 2003-09-06 Angus Leeming <leeming@lyx.org>
4576 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4577 than #including paragraph.h.
4580 * RowList.h: deleted. Superfluous.
4590 * insets/insettext.h: use ParagraphList_fwd.h rather than
4593 * paragraph.h: don't forward declare ParagraphList.
4596 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4597 rather than ParagraphList.h. paragraph.h is still needed for the
4598 Paragraph::depth_type parameters.
4600 * textcursor.h: enable it to compile stand-alone in light of the
4603 * bufferview_funcs.C:
4615 * frontends/controllers/ControlParagraph.C:
4616 * frontends/controllers/ControlTabular.C:
4617 * insets/insetmarginal.C:
4618 * insets/insetminipage.C:
4619 * insets/insetnote.C:
4620 * insets/insetoptarg.C: add header files needed to compile again.
4622 2003-09-06 Angus Leeming <leeming@lyx.org>
4624 * RowList_fwd.h: new file, forward-declaring Row rather than
4625 #including lyxrow.h.
4630 * insets/insettext.h: use it instead of RowList.h
4632 * bufferview_funcs.C:
4639 * text3.C: #include "RowList.h".
4641 2003-09-05 Angus Leeming <leeming@lyx.org>
4643 * factory.C (createInset):
4644 * vspace.C (c-tor): replace sscanf call with an istringstream.
4645 * ispell.C: re-add missing HP/UX headers.
4646 * lyxserver.C: re-add missing os2 headers.
4648 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4657 * text3.C: re-add missing system headers, needed for 2.95.2.
4659 2003-09-05 Angus Leeming <leeming@lyx.org>
4661 Changes most place everywhere due to the removal of using directives
4662 from support/std_sstream.h.
4664 2003-09-05 Angus Leeming <leeming@lyx.org>
4666 Replace LString.h with support/std_string.h,
4667 Lsstream.h with support/std_sstream.h,
4668 support/LIstream.h with support/std_istream.h,
4669 support/LOstream.h with support/std_ostream.h.
4671 Changes resulting throughout the tree.
4673 2003-09-05 Angus Leeming <leeming@lyx.org>
4675 * sgml.h: ensure that the header file can be compiled stand-alone.
4676 * *.C: strip out redundant #includes. (320 in total.)
4678 2003-09-04 Angus Leeming <leeming@lyx.org>
4680 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4681 here (from getPackages).
4683 * debug.[Ch]: add a new EXTERNAL tag.
4685 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4687 * text2.C (cursorEnd): simplify
4689 (getColumnNearX): adjust
4691 * text.C (computeBidiTables): adjust
4694 * rowpainter.C (paintChars): adjust
4695 (paintSelection): adjust
4696 (paintChangeBar): adjust
4699 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4701 (numberOfSeparators): adjust
4703 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4709 * text3.C: Restricts the mouse click functionality
4710 of insets like bibtex, include, toc and floatlist to the visible
4711 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4712 up the dialogs. Cursor has to be in front of the inset (i.e.
4713 start of row) for this to function.
4715 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4717 * bufferview_funcs.C (currentState): output row information
4719 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4721 * bufferview_funcs.C (currentState): output paragraph position
4723 2003-09-04 Angus Leeming <leeming@lyx.org>
4725 * FloatList.h: move out #include "Floating.h".
4726 * LaTeX.h: move out #include "DepTable.h".
4727 * LyXAction.h: move out #include "funcrequest.h".
4728 * buffer.h: move out #include "author.h", "iterators.h".
4729 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4730 * lyx_main.h: move out #include "errorlist.h".
4731 * lyxfunc.h: move out #include "FuncStatus.h".
4732 * lyxtext: move out #include "lyxcursor.h".
4733 * paragraph_pimpl.h: move out #include "counters.h".
4735 2003-09-03 Angus Leeming <leeming@lyx.org>
4737 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4738 preamble_snippets list, enabling us to add snippets to the preamble
4739 only if the snippet was not there already.
4741 2003-09-04 Angus Leeming <leeming@lyx.org>
4743 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4745 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4750 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4752 * BranchList.C: point fix, earlier forgotten
4754 2003-09-02 Angus Leeming <leeming@lyx.org>
4756 * box.C (contains): renamed from 'contained' after a fantastic
4759 2003-09-02 John Levon <levon@movementarian.org>
4765 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4767 2003-09-02 John Levon <levon@movementarian.org>
4769 * text2.C: simplification of cursorEnd(), including partial
4772 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * buffer.C (readFile): add a space
4776 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4778 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4780 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * buffer.C (readFile): new function, take a filename and a
4783 ParagraphList::iterator
4785 (readFile): adjust, make it private. don't use setStream, make
4786 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4787 always contain the filename.
4789 * BufferView.C (insertLyXFile): simplify and make it work for
4792 2003-08-30 John Levon <levon@movementarian.org>
4794 * Makefile.am: fix dist (from Kayvan)
4796 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * most files: change to use const Buffer refs
4800 2003-08-27 André Pönitz <poenitz@gmx.net>
4802 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4803 on top of ownerPar().
4805 2003-08-27 John Levon <levon@movementarian.org>
4807 * funcrequest.C: properly initialise POD members
4809 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4811 * lyxtext.h (top_y): move top_y from here
4816 * BufferView_pimpl.[Ch]: to here
4817 * frontends/screen.C:
4818 * insets/insettabular.C:
4819 * insets/insettext.C: adjust
4820 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4822 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4825 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4827 2003-08-26 André Pönitz <poenitz@gmx.net>
4829 * paragraph_func.[Ch] (outerPar): new function
4832 * paragraph_funcs.C:
4833 * paragraph_funcs.h:
4834 * paragraph_pimpl.C:
4835 * text2.C: remove Inset::par_owner
4837 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4842 * text2.C: eliminates the needFullRow/display() stuff
4843 altogether, putting the logic in metrics/draw in the insets.
4845 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4847 * text2.C (redoParagraphInternal, redoParagraphs):
4848 * text.C (redoParagraph): add a call to updateRowPositions at the
4849 end of each 'metrics-like' call. Remove all others.
4850 (getRow): remove the 'y-computing' version.
4851 (getRowNearY): do not compute nor return the real y. Solve the
4852 'y < 0' problem and simplify.
4854 2003-08-22 Angus Leeming <leeming@lyx.org>
4856 * *.[Ch]: clean-up of licence and author blurbs.
4857 Also move config.h out of a few .h files and into a few .C files.
4859 2003-08-22 André Pönitz <poenitz@gmx.net>
4861 * lyxrow.[Ch]: add x_ and *fill_ members
4866 * text2.C: adjust/remove prepareToPrint() calls
4868 2003-08-22 André Pönitz <poenitz@gmx.net>
4870 * lyxrow.[Ch]: add end_ member
4872 * lyxrow_funcs.C: use LyXRow::end_
4874 * lyxtext.h (singleWidth): add LyXFont parameter
4877 * text2.C: adjust LyXText::singleWidth() calls
4879 * text.C (redoParagraph): simplify row breaking logic
4882 2003-08-19 André Pönitz <poenitz@gmx.net>
4884 * funcrequest.C: initialize button_ member
4887 * rowpainter.[Ch]: interface consolidation
4889 2003-08-18 André Pönitz <poenitz@gmx.net>
4892 * BufferView_pimpl.C:
4894 * paragraph_funcs.C:
4896 * text3.C: remove LyXScreen::draw() and fitCursor calls
4898 * BranchList.h: remove spurious semicolons
4900 * MenuBackend.C: fix branchlist related crash
4902 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4910 * bufferparams.[Ch]:
4914 * text3.C: implements the 'branch inset'
4915 idea. This allows the output of various versions of a document
4916 from a single source version, selectively outputing or suppressing
4917 output of parts of the text.
4918 This implementation contains a 'branch list editor' in a separate
4919 tab of the document settings dialog. Branches are user definable
4920 and have a "display colour" to distinguish them on-screen.
4922 ColorHandler was somewhat cleaned up.
4923 (1) make possible a dynamically growing LColor list by allowing
4924 the graphic context cache to grow along (vector);
4925 (2) eliminate an IMHO unnecessary step in colour allocation.
4927 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4929 * BufferView_pimpl.C: compile fix
4931 2003-08-15 André Pönitz <poenitz@gmx.net>
4933 * rowpainter.C: remove extra metrics calls
4935 * lyxtext.h: merge the two constructors into a single one,
4936 pass reference to owner's par list
4938 * BufferView_pimpl.C:
4942 2003-08-15 André Pönitz <poenitz@gmx.net>
4944 * lyxrow_funcs.[Ch]:
4947 * paragraph_funcs.C:
4952 * text_funcs.C: split LyXText::rowlist_ into individual
4953 Paragraph::rows_ chunks
4956 * BufferView_pimpl.[Ch]:
4959 * text3.C: remove toggleSelection()
4961 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4963 * bufferlist.C: beautify two alerts (shorter text of buttons)
4964 * buffer.C: Remove redundant ' ' from message
4966 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4967 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4968 rename VALIGN_CENTER to VALIGN_MIDDLE
4970 2003-08-11 André Pönitz <poenitz@gmx.net>
4972 * lyxtext.h (getPar):
4973 * text.C: new function
4975 2003-08-11 André Pönitz <poenitz@gmx.net>
4978 * tracer.[Ch]: remove unneeded files
4980 * InsetList.[Ch]: remove resizeInsetsLyXText()
4985 * text3.C: merge insertParagraphs() and appendParagraph()
4986 remove breakAgain(), update()
4988 * BufferView_pimpl.[Ch]:
4989 * bufferview_funcs.[Ch]:
4993 * tabular.C: adjust after text & InsetList changes.
4995 2003-08-08 André Pönitz <poenitz@gmx.net>
4997 * text.C (insertChar, backspace): replace rowlist fiddling
4998 with rebreak of full par
5001 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5002 checkParagraph, updateInset): removed
5004 2003-08-07 André Pönitz <poenitz@gmx.net>
5007 * text3.C: merge some LFUN handlers, remove dead code
5009 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5011 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5013 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5015 * text2.C (DEPM): fix part of bug 1255 and 1256
5017 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5019 * BufferView_pimpl.C (workAreaDispatch): change to use
5020 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5021 that are no mouse related.
5023 2003-08-05 André Pönitz <poenitz@gmx.net>
5026 * BufferView_pimpl.[Ch]:
5027 * bufferview_funcs.C:
5029 * text3.C: rip out "deep update"
5031 * textcursor.[Ch] (last_sel_cursor): remove unused member
5033 2003-08-04 André Pönitz <poenitz@gmx.net>
5036 * BufferView_pimpl.[Ch]:
5037 * ParagraphParameters.C:
5038 * bufferview_funcs.C:
5044 * text3.C: replace "complicated" BufferView::update(...) calls with
5047 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5049 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5051 * Makefile.am (lyx_SOURCES): add paper.h
5053 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5055 * Makefile.am: move things around so that both lyx-qt and
5056 lyx-xforms can be built (according to --with-frontend). Then lyx
5057 is a symbolic link to lyx-[firstfrontend]
5059 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5061 * Always use std::endl with lyxerr
5063 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5065 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5067 2003-08-01 André Pönitz <poenitz@gmx.net>
5070 * BufferView_pimpl.[Ch]:
5072 * text3.C: merge BufferView::repaint() and BufferView::update()
5074 2003-08-01 José Matos <jamatos@lyx.org>
5076 * buffer.[Ch]: file_format is no longer a buffer data element.
5078 2003-08-01 André Pönitz <poenitz@gmx.net>
5083 * text2.C: make redoParagraph more independent of current cursor
5085 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5087 * text2.C: remove unneeded members
5089 2003-07-30 André Pönitz <poenitz@gmx.net>
5091 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5093 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5094 create a single function...
5096 * paragraph_funcs.C (moveItem): ... here.
5099 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5101 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5103 * LColor.[Ch]: Add comment and greyedout logical colors.
5105 2003-07-30 André Pönitz <poenitz@gmx.net>
5107 * tabular.C: don't use Assert too heavily. This crashes where it
5110 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5112 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5113 is disabled (bug 1232)
5115 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5117 * factory.C: limited 'arg' scope
5119 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5121 * factory.C: fixed Note submenu issues
5123 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5125 * factory.C: submenu for Note/Comment/Greyedout
5127 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5130 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5132 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5135 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5136 greyedout. Patch provided by Jürgen Spitzmüller.
5138 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5140 * kbmap.C (read): fix error message when reading bind files
5142 2003-07-29 Angus Leeming <leeming@lyx.org>
5144 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5145 certainly does not do what it purports to do. I am doing it, and
5146 us, a favour by killing it.
5148 2003-07-28 José Matos <jamatos@lyx.org>
5150 * buffer.C (readBody, do_writeFile):
5151 * paragraph.C(readParagraph): \end_document replaces \the_end.
5153 2003-07-29 André Pönitz <poenitz@gmx.net>
5156 * BufferView_pimpl.[Ch]:
5160 * textcursor.[Ch]: remove toggleToggle & Co
5162 2003-07-28 José Matos <jamatos@fep.up.pt>
5164 * buffer.C (readParagraph):
5165 * params_func (readParToken, readParagraph):
5166 * paragraph.C (write): \layout -> \begin_layout.
5168 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * lyxlex_pimpl.C (setFile): clean up slightly.
5172 * bufferparams.h: add compressed var
5174 * buffer_funcs.C (readFile): adjust for LyXLex change
5175 (newFile): ditto + simplify
5177 * buffer.C (writeFile): handle writing of compressed files
5179 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5180 Check if the file is compressed and set a bufferparm if so.
5182 * Makefile.am (lyx_LDADD): remove explicit -lz
5184 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5186 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5187 makeDocBookFile): put the real LyX version in the first line of
5191 * version.C.in: remove lyx_docversion
5193 * tabular.C (write_attribute): add a template-based version to
5194 write enums properly
5196 2003-07-28 André Pönitz <poenitz@gmx.net>
5201 * text3.C: use doubles again for x-coordinates. They are needed.
5203 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * messages.C (getLocaleDir): use lyx_localedir()
5207 * lyxlex_pimpl.C (setFile): compress stuff
5209 * buffer.C (writeFile): add some compression stuff
5210 (do_writeFile): new func, dont call expliti close... will this
5213 * Makefile.am (lyx_LDADD): add -lz
5215 2003-07-28 José Matos <jamatos@fep.up.pt>
5217 * buffer.C: increment file format.
5218 * paragraph_funcs (readParagraph, readParToken):
5219 * paragraph.C (readParagraph): add \end_layout.
5221 2003-07-27 Angus Leeming <leeming@lyx.org>
5223 * Makefile.am: remove special casing for configure-time setting of
5224 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5226 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5227 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5229 2003-07-26 André Pönitz <poenitz@gmx.net>
5231 * paragraph_func.[Ch]:
5232 * paragraph.C (realizeFont): inline it whereever it is used
5237 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5240 2003-07-26 André Pönitz <poenitz@gmx.net>
5244 * text2.C: get rid of LyXText::need_break_row
5246 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * toc.[Ch]: put namespace toc inside namespace lyx
5250 * MenuBackend.C (expandToc2): adjust for lyx::toc
5253 * lyxfunc.C (dispatch): adjust for lyx::find
5255 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5256 lyx::find instead. Reorganize a bit.
5257 (LyXReplace): rename to replace
5258 (LyXFind): rename to find
5260 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5263 2003-07-26 André Pönitz <poenitz@gmx.net>
5265 * text.C (setHeightOfRow): restrict scope of temporary variable
5267 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5268 code (never has been used?)
5270 2003-07-27 Asger Alstrup <alstrup@local>
5272 * text.C (fill): Optimise algorithm to exploit that we can reuse
5273 the LyXFont for many characters.
5274 (setHeightOfRow): Same thing.
5275 (rowBreakPoint): Same thing.
5277 2003-07-26 Asger Alstrup <alstrup@local>
5279 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5281 * text.C (singleWidth): Spurious font copying in hot-spot
5282 singleWidth avoided. Reorder tests for arabic for efficiency.
5284 * text.C (fill): handle empty paragraphs better.
5286 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5289 * encoding.h: add includes
5291 * lyxrc.C: remove reading of bind files
5293 * lyx_main.C (init): setup bindings and menus only if we have a
5296 * kbmap.C (read): new method. Do the actual reading of bind
5299 * converter.C (dvipdfm_options):
5302 (output): adapt PAPER_* enums.
5304 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5306 * bufferparams.h: remove paper-related enums from there
5308 * paper.h: New file. A trivial header file to hold paper-related
5309 enums. It should later expand to contain many paper-related
5312 * lyxrc.C: declare extern displayTranslator
5314 2003-07-27 José Matos <jamatos@fep.up.pt>
5316 * tabular.[Ch] (linuxdoc): add support for tables and figures
5319 2003-07-27 José Matos <jamatos@fep.up.pt>
5321 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5322 consistency in both functions.
5323 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5325 2003-07-26 Asger Alstrup <alstrup@local>
5327 * rowpainter.C (paintRows): Change algorithm to work directly on
5328 the insets rather than asking every character in the document
5329 whether its an inset.
5331 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5333 * buffer.C (openFileWrite): factorize some code
5335 2003-07-26 Angus Leeming <leeming@lyx.org>
5338 * lyx_main.[Ch]: replace occurances of system_tempdir with
5341 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * rename Inset to InsetOld
5345 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5347 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5348 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5349 which I think is a bit clearer. EDIT is gone, since it was
5350 premature optimisation, and broken for mathed anyway.
5351 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5352 with cursor positioning in insets as well (math insets still do not
5353 work, but that's a different story anyway.) It mysteriously
5354 crashes sometimes with undo in the first paragraph, but I'm fairly
5355 confident that this is a compiler bug.
5357 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * paragraph.C (Paragraph): adjust for new clone return type
5361 (copyIntoMinibuffer): ditto
5363 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5365 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5366 by not having a special case, and always doing a full rebreak of
5367 the document after undo.
5369 2003-07-23 Angus Leeming <leeming@lyx.org>
5371 * factory.C (createInset): InsetExternal::setParams now takes a
5374 2003-07-23 Angus Leeming <leeming@lyx.org>
5376 * factory.C (createInset): changed interface to the external and
5377 graphics mailers' string2params functions.
5379 2003-07-23 Angus Leeming <leeming@lyx.org>
5381 * factory.C (createInset): pass a
5382 Buffer const * parameter to InsetExternalMailer's string2params.
5384 2003-07-22 John Levon <levon@movementarian.org>
5386 * Thesaurus.h: include the right aiksaurus header
5388 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5390 * MenuBackend.C (expand): check menu shortcuts unconditionally
5392 2003-07-21 Angus Leeming <leeming@lyx.org>
5394 * factory.C (createInset): pass a
5395 buffer_path parameter to InsetGraphicsMailer's string2params.
5397 2003-07-21 Angus Leeming <leeming@lyx.org>
5399 * BufferView_pimpl.C (buffer):
5402 * lyxfunc.C (dispatch):
5403 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5404 rather than the grfx shortcut.
5406 2003-07-21 André Pönitz <poenitz@gmx.net>
5408 * rowpainter.C: remove unused variables
5411 * tabular_funcs.h: move to tabular.C
5412 * Makefile.am: adjust
5414 * tabular.[Ch]: basic optical cleaning
5416 * author.h: pass references, not values
5418 2003-07-18 André Pönitz <poenitz@gmx.net>
5426 * text3.C: two-phase drawing for InsetText and InsetTabular
5427 some float -> int changes.
5429 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5431 * lyx_main.C: fix the fix
5433 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5435 * lyx_main.C: fix a crash in batch mode if no files specified
5438 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5440 * format.[Ch] (papersize): moved to BufferParams
5441 * converter.[Ch] (dvips_options): moved to BufferParams
5442 (dvipdfm_options): moved to anon namespace
5443 * bufferparams.[Ch]: added above functions.
5445 2003-07-17 André Pönitz <poenitz@gmx.net>
5449 * text2.C: don't call inset->update() anymore
5451 * metricsinfo.[Ch]: add convenience constructor
5453 2003-07-16 André Pönitz <poenitz@gmx.net>
5458 * text2.C: replace the LyXCursor::irow_ member with
5459 on-demand computation of the value
5461 2003-07-16 John Levon <levon@movementarian.org>
5463 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5465 2003-07-15 André Pönitz <poenitz@gmx.net>
5468 * text2.C: remove no more needed refresh_row
5470 2003-07-15 André Pönitz <poenitz@gmx.net>
5475 * text3.C: refresh_status tristate -> need_update bool
5477 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5479 * lyxtext.h (init): remove reinit argument (act as if always true)
5480 * text2.C: adjust to that
5482 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5484 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5485 * text3.C: use it to delete selections in some cases
5486 (bugs 441, 673, 702, 954).
5488 2003-07-14 André Pönitz <poenitz@gmx.net>
5490 * rowpainter.[Ch]: reduce interface
5492 2003-07-14 André Pönitz <poenitz@gmx.net>
5494 * BufferView_pimpl.C:
5495 * text2.C: adjust after removing unused BufferView * argument
5497 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5499 * text2.C (init): fix a crash fired on resize
5501 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5503 * buffer.[Ch]: added new closing signal
5504 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5505 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5506 BufferView::Pimpl via the closing the signal
5508 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5510 * buffer.[Ch]: take out all bv-related from buffer
5512 * BufferView_pimpl.[Ch]: connect to new signals
5513 * CutAndPaste.C: removed useless asserts
5514 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5517 * lyxfunc.C: moved view-related funciontality from vc here
5518 * paragraph.C: removed outdated comments
5521 2003-07-10 André Pönitz <poenitz@gmx.net>
5523 * BufferView_pimpl.C:
5527 * text2.C: remove InsetText::InnerCache, clean up consequences
5529 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5531 * ispell.C: fix two typos in error messages
5533 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5535 * Extend Note inset to other forms of annotation like Comment
5536 and Greyedout. Right button click gives dialog.
5538 Files modified or added (+):
5542 * ControlNote.[Ch] +
5544 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5545 frontends/controllers
5549 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5551 * aspell.C: add missing namespace lyx::support
5553 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5555 * BufferView.[Ch] (newFile): Add
5556 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5557 * LaTeX.[Ch] (message): added this signal and use it
5558 * buffer.[Ch] (busy, message): added these signals and use them
5559 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5563 * importer.C: use buffer signals instead of direct bv calling
5564 * lyx_cb.[Ch] (ShowMessage): removed
5567 * paragraph_funcs.C:
5568 * text2.C: use buffer signals
5570 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * introduce namespace lyx::graphics
5574 2003-07-02 André Pönitz <poenitz@gmx.net>
5576 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5578 2003-07-01 André Pönitz <poenitz@gmx.net>
5585 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5586 text*.C to text_func.C
5588 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * introduce namespace lyx::support
5592 2003-06-30 André Pönitz <poenitz@gmx.net>
5597 * text.C: re-enable --with-included-string
5599 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * textcursor.C: add <config.h>
5603 * text.C (getWord): remove const from word_location arg
5605 * lyxvc.C (getLogFile): fix const type order
5607 * lyxtext.h: remove const from word_location arg, add arg name
5609 * lyxlayout.h: currect type on labeltype.
5611 * importer.C: correct \file
5613 * converter.C (intToFormat): use std:: on ret val, ws changes
5615 * bufferlist.h: correct \file
5617 * buffer.C (makeLinuxDocFile): fix const type order
5618 (makeDocBookFile): ditto
5619 (fillWithBibKeys): use std:: on stdlib args.
5621 * CutAndPaste.C: fix authors.
5622 (availableSelections): use std:: on return vector
5624 2003-06-27 André Pönitz <poenitz@gmx.net>
5626 * BufferView_pimpl.C:
5627 * bufferview_funcs.C:
5635 * text3.C: remove LyXCursor::row_ member
5638 * text.C: rename fullRebreak() to partialRebreak() and implement
5639 a fullRebreak() that really bereks fully
5641 * textcursor.h: new struct for cursor-related data
5643 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5645 * lyx_main.C (LyX): get full path of document loaded on the
5648 2003-06-26 André Pönitz <poenitz@gmx.net>
5650 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5651 remove unused/broken operator>,<,>=.
5653 * text.C: remove only use of broken operator<= in an Assert().
5655 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5657 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5658 moved errorlist_.clear to showErrorList
5660 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5662 * converter.C (scanLog, runLaTeX):
5663 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5664 move the bv->showErrorList call to the callers
5665 * lyxfunc.C: i.e. here...
5667 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5668 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5669 namespace, the second to...
5670 * buffer_funcs (BufferFormat, parseErrors): added
5671 * errorlist.C (ErrorList(TeXErrors const &)): removed
5673 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5675 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5677 2003-06-24 "Garst R. Reese" <reese@isn.net>
5681 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5683 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5685 * version.C.in: change docversion to 1.4
5687 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5689 * buffer.C: fix a bug just introduced
5691 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5693 * buffer.[Ch]: added the parseError signal and use it, removed
5695 * BufferView.[Ch] (addError): moved to ...
5696 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5697 to the Buffer::parseError signal to catch (guess what) parse errors
5698 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5700 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5702 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5703 ability to create a buffer and to return an existing one from
5704 the list. Moved these functions to...
5705 * buffer_funcs.[Ch]: added
5706 * BufferView.[Ch] (loadLyXFile): added
5707 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5708 job removed from bufferlist::loadLyXFile.
5709 * buffer.C (setReadOnly): make it work without view
5710 (i.e added an if (users))
5712 2003-06-19 Angus Leeming <leeming@lyx.org>
5715 * LyXAction.C (init):
5716 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5717 with LFUN_DIALOG_SHOW <name> <data>.
5719 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5721 * CutAndPaste.C (availableSelections): small compilation fix for
5722 ancient (gcc 2.9x) compilers
5724 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * text3.C (cursorNext): add tmp var
5728 * text2.C (updateCounters): for function calling out of for clause
5729 (replaceSelectionWithString): ditto
5730 (insertStringAsParagraphs): ditto
5731 (getColumnNearX): add tmp var
5732 (setCursorFromCoordinates): add tmp var
5733 (cursorDownParagraph): add tmp var
5734 (deleteEmptyParagraphMechanism): add tmp var
5736 * text.C (insertChar): add tmp var
5738 * rowpainter.C (paintDepthBar): add tmp var
5740 * CutAndPaste.C (availableSelections): potentially check all
5741 paragraphs in a cut to fill the shown strings.
5743 2003-06-18 André Pönitz <poenitz@gmx.net>
5745 * kbmap.[Ch]: use vector<> instead of list<>
5747 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5749 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5750 pasteSelection with index
5752 * text2.C (pasteSelection): modify, call pasteSelection with index
5754 * paragraph.C (asString): reimplement version with no interval to
5755 call the one with interval.
5757 * lyxtext.h: add index arg to pasteSelection
5759 * MenuBackend.C (MenuItem): handle PasteRecent
5760 (Menu::read::Menutags): add md_pasterecent
5762 (expandPasteRecent): new function
5765 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5767 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5769 (availableSelections): new function
5771 2003-06-17 Angus Leeming <leeming@lyx.org>
5773 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5775 2003-06-17 Angus Leeming <leeming@lyx.org>
5778 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5780 * lyxfunc.C (dispatch): invoke it.
5782 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5784 * iterators.C (operator++, ParPosition): reintroduce some
5785 const_cast for the benefit of older compilers.
5787 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5789 * text3.C (dispatch): do not modify clipboard when doing
5790 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5791 LFUN_DELETE_SKIP on a selection selection
5793 2003-06-16 André Pönitz <poenitz@gmx.net>
5799 * tabular.[Ch]: IU of clone() and getLabelList();
5801 2003-06-13 André Pönitz <poenitz@gmx.net>
5803 * tabular.h: compactification
5805 2003-06-12 André Pönitz <poenitz@gmx.net>
5809 * tabular_funcs.h: some renaming plus whitespace
5811 2003-06-12 André Pönitz <poenitz@gmx.net>
5814 * BufferView_pimpl.C:
5820 * toc.C: Return a Paragraph & for ParIterator::operator*()
5822 2003-06-11 John Levon <levon@movementarian.org>
5826 * ToolbarBackend.C: add "Toolbars" section and
5829 2003-06-10 Angus Leeming <leeming@lyx.org>
5832 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5834 * lyxfunc.C (dispatch): invoke it.
5836 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * main.C: protect <ios> with HAVE_IOS
5839 (main): protect sync_with_stdio with HAVE_IOS
5841 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5843 * text2.C (cutSelection): adjust
5844 (pasteSelection): adjust
5846 * messages.C: handle get of empty string
5848 * main.C (main): use sync_with_stdio(false)
5850 * lyxfunc.C (dispatch): adjust
5852 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5853 (WriteAs): remove unneeded BufferView arg.
5855 * bufferparams.h: use correct types on papersize, papersize2 and
5858 * bufferparams.C (readToken): adjust for type
5859 (writeLaTeX): add missing cases to switch.
5861 * bufferlist.C (quitWriteBuffer): adjust
5864 * buffer.C (asciiParagraph): remove some commented code.
5866 * CutAndPaste.C: remove current_view extern variable.
5867 (cutSelection): add BufferParams arg.
5868 (eraseSelection): add BufferParams arg.
5869 (pasteSelection): add Buffer const & arg
5871 2003-06-07 John Levon <levon@movementarian.org>
5874 * paragraph_funcs.C:
5875 * paragraph_pimpl.C:
5879 * paragraph.C: allow InsetERT to freely space lines,
5880 and some consolidation of code
5882 2003-06-06 José Matos <jamatos@fep.up.pt>
5884 * buffer.C (makeDocBookFile): fix bug #821
5886 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5888 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5890 2003-06-04 Angus Leeming <leeming@lyx.org>
5892 * buffer.C: bump format to 224.
5894 2003-06-05 André Pönitz <poenitz@gmx.net>
5896 * text2.C (redoParagraphs): remove two const_cast<>
5898 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5900 * ParagraphList.h: remove last remnants of NO_STD_LIST
5902 2003-06-03 Angus Leeming <leeming@lyx.org>
5904 * factory.C (createInset): small change to the way InsetExternal's params
5907 2003-06-04 André Pönitz <poenitz@gmx.net>
5909 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5911 * paragraph_pimpl.h:
5912 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5914 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5916 * undo_funcs.C: make some simple cases of undo work again
5918 2003-06-03 John Levon <levon@movementarian.org>
5920 * ispell.C: HPUX doesn't have sys/select.h
5923 2003-06-03 John Levon <levon@movementarian.org>
5925 * CutAndPaste.C: update tabular and include inset
5930 * paragraph.C: remove owningBuffer(), don't pass Buffer
5933 * factory.C: insetGraphicsParams changed
5935 2003-06-02 John Levon <levon@movementarian.org>
5941 * text3.C: remove insetparent
5943 2003-06-02 John Levon <levon@movementarian.org>
5946 * buffer.C: fix inset_iterator.end(), move out of line
5949 2003-06-01 John Levon <levon@movementarian.org>
5951 * text3.C: use a proper cut/paste when doing inset
5952 insert (from Jürgen Spitzmüller)
5954 2003-06-01 John Levon <levon@movementarian.org>
5956 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5958 2003-05-30 André Pönitz <poenitz@gmx.net>
5960 * rowpainter.C: unify second drawing phase
5962 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * trans_mgr.C: remove one case of current_view
5966 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5968 * paragraph_funcs.h: remove paragraph.h include
5970 * paragraph.h: delete NO_STD_LIST stuff
5972 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5974 * buffer.h: remove paragraph.h include
5976 * ParagraphList.C: delete file
5978 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5980 * toc.C (getTocList): adjust
5982 * paragraph_pimpl.C (validate): adjust
5984 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5986 * paragraph.C (Paragraph): adjust
5987 (getPositionOfInset): use const_iterator, adjust
5988 (bibitem): use const_iterator, adjust
5989 (setInsetOwner): adjust
5991 * iterators.C (operator++): adjust
5993 * InsetList.[Ch]: Replace selfmade iterator with standard
5994 vector::iterator also introduce const_iterator. Remove getPos,
5995 getInset and setInset from InsetTable. Adjust accordingly.
5997 * BufferView.C (lockInset): adjust
5998 (ChangeInsets): adjust
6000 * tabular.[Ch]: delete commented same_id functions
6002 2003-05-28 John Levon <levon@movementarian.org>
6004 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6006 2003-05-28 André Pönitz <poenitz@gmx.net>
6008 * metricsinfo.[Ch]: remove 'fullredraw' member
6010 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6012 * lyxtextclass.C (operator): remove caching.
6014 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * text2.C (cursorBottom): adjust
6019 (setCounter): use ParagraphList::find, adjust
6021 * text.C (workWidth): use ParagraphList::find, adjust
6023 * lyxcursor.C (LyXCursor): adjust
6025 * buffer.C (inset_iterator): adjust
6027 * ParagraphList.h: make iterator(value_type) private, make
6028 ParagraphList a friend of iterator.
6030 * ParagraphList.C (find): new function
6032 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6034 2003-05-27 André Pönitz <poenitz@gmx.net>
6036 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6038 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6040 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6042 2003-05-26 John Levon <levon@movementarian.org>
6044 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6046 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * remove same_id from function signatures, adjust.
6050 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6054 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6056 * paragraph.C (Paragraph): get rid of same_ids parameter
6058 * ParagraphList.C (insert): adjust
6061 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * paragraph_funcs.C (breakParagraph): adjust
6064 (breakParagraphConservative): adjust
6066 * buffer.C (readParagraph): adjust
6068 * ParagraphList.C (insert): take a reference instead of a pointer
6071 * paragraph.[Ch] (id): new function
6073 * bufferlist.C (newFile): adjust
6075 * ParagraphList.C (ParagraphList): adjust
6077 (push_back): take a reference instead of a pointer.
6079 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6081 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6084 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6085 set else use old code.
6087 * ParagraphList.C: remove all NO_NEXT code and only compile this
6088 code of NO_STD_LIST is set.
6090 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6092 * BufferView_pimpl.C:
6102 * graphics/GraphicsConverter.C:
6103 * graphics/PreviewLoader.C: header adjustment
6105 2003-05-23 Angus Leeming <leeming@lyx.org>
6107 * LaTeXFeatures.[Ch] (useBabel): new method.
6108 * bufferparams.C (writeLaTeX): use it.
6110 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * ParagraphList.h (set): remove unused function.
6114 2003-05-23 André Pönitz <poenitz@gmx.net>
6117 * BufferView_pimpl.C:
6121 * undo_funcs.C: setUndo reworked
6123 * iterators.[Ch]: add access to topmost ParagraphList
6125 * lyxtext.[Ch] (workWidth): add a const
6127 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6129 * texrow.[Ch] (increasePos): remove function
6130 * exporter.C (export): removed unused var and outdated comment
6132 2003-05-23 Angus Leeming <leeming@lyx.org>
6134 * latexrunparams.h: rename fragile as moving_arg.
6135 * paragraph.C (simpleTeXOnePar): ditto.
6136 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6138 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6142 (textUndoOrRedo): comment out a currently unused var.
6144 * paragraph.h (NO_NEXT): enable NO_NEXT
6146 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6148 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6150 * exporter.C (Export): adjust for removeAutoInsets removal.
6152 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6154 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6156 * BufferView.[Ch] (removeAutoInsets): delete function
6158 2003-05-22 Angus Leeming <leeming@lyx.org>
6160 * latexrunparams.h: add a free_spacing variable.
6162 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6163 to pass moving_arg, as the data is stored in runparams.fragile.
6165 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6166 to Inset::latexOptional or to simpleTeXOnePar.
6168 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6169 free_spacing arg to Inset::latexOptional.
6171 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6174 2003-05-22 Angus Leeming <leeming@lyx.org>
6176 * latexrunparams.h: add fragile and use_babel variables.
6178 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6179 * buffer.C (makeLaTeXFile): store this returned value in
6180 runparams.use_babel, thus passing it to the inset::latex methods.
6182 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6183 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6185 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6186 longer has a fragile arg, as it is stored in runparams.fragile.
6188 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6189 moving_arg parameter as the data is stored in runparams.fragile.
6191 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6192 a fragile parameter as the data is stored in runparams.fragile.
6194 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6198 2003-05-22 Angus Leeming <leeming@lyx.org>
6200 * latexrunparams.h: add a 'bool nice' which defaults to false.
6202 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6203 now encapsulated within runparams.
6205 * bufferlist.C (updateIncludedTeXfiles):
6206 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6208 2003-05-22 Angus Leeming <leeming@lyx.org>
6210 * latexrunparams.h: new file containing struct LatexRunParams.
6211 * Makefile.am: add new file.
6213 * LaTeX.[Ch] (c-tor, run):
6214 * buffer.[Ch] (makeLaTeXFile):
6215 * bufferlist.[Ch] (updateIncludedTeXfiles):
6216 * converter.C (convert, scanLog):
6217 * converter.[Ch] (runLaTeX):
6218 * exporter.C (Export):
6219 * paragraph.[Ch] (simpleTeXOnePar):
6220 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6221 * paragraph_funcs.[Ch] (latexParagraphs):
6222 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6223 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6224 pass around a LatexRunParams parameter.
6226 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * paragraph.[Ch]: remove unused constructor
6230 * ParagraphList.C (erase): new function, taking two iterators
6232 2003-05-22 André Pönitz <poenitz@gmx.net>
6234 * undo_funcs.C: remove duplicated code
6236 * iterator.[Ch]: operator=
6238 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6240 * tabular.C (SetMultiColumn): ws changes
6242 * rowpainter.C (paintFirst): get rid of a ->previous
6244 * lyx_cb.C (getPossibleLabel): parlist simplification
6246 * BufferView.C (ChangeInsets): simplify slightly.
6248 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6250 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6251 * lfuns.h: new LFUN_SPACE
6252 * lyxfunc.C: protected space has a new lfun
6253 * paragraph_funcs.C: read new space insets
6255 * factory.C: handle new space insets
6257 2003-05-22 André Pönitz <poenitz@gmx.net>
6260 * BufferView_pimpl.C:
6263 * undo_funcs.C: return a ParIterator from getParFromID.
6265 * iterators.[Ch]: add two const's
6267 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * toc.C (getTocList): adjust
6271 * iterators.[Ch]: rework for parlist
6273 * buffer.C (par_iterator_begin): adjust
6274 (par_iterator_end): adjust
6276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6278 * BufferView.C (removeAutoInsets): adjust
6279 (ChangeInsets): adjust
6281 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6283 * text.C (top_y): fix bug 1110
6285 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6287 * errorlist.[Ch]: added
6290 * BufferView_pimpl.C:
6291 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6294 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * Makefile.am: ensure that lyx is relinked upon changes to the
6297 various "convenience" libs.
6299 2003-05-20 Angus Leeming <leeming@lyx.org>
6301 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6302 files are compiled in alphabetical order again.
6304 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6306 2003-05-19 Angus Leeming <leeming@lyx.org>
6308 * gettext.[Ch]: remove "char const * _(char const *)".
6310 2003-05-19 André Pönitz <poenitz@gmx.net>
6312 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6321 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6323 2003-05-19 André Pönitz <poenitz@gmx.net>
6327 * lyxtextclass.[Ch]:
6329 * paragraph_funcs.[Ch]:
6331 * text3.C: more insetenv work
6333 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6335 * ParagraphParameters.C (params2string): small bug fixed
6337 2003-05-16 André Pönitz <poenitz@gmx.net>
6340 * bufferview_funcs.C: patch from Kornel Benko to prevent
6341 crash when _(...) is called twice in a statement
6343 2003-05-16 André Pönitz <poenitz@gmx.net>
6350 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6352 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6354 * lyx_main.C (init): remove spurious static_cast
6356 2003-05-14 André Pönitz <poenitz@gmx.net>
6358 * BufferView.C: fix format string
6360 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6362 * BufferView.[Ch] (insertErrors): removed
6363 * BufferView.[Ch] (showErrorList): added
6364 * buffer.C (runChkTeX):
6365 * converter.C (scanLog): call showErrorList instead of inserterrors
6367 2003-05-13 André Pönitz <poenitz@gmx.net>
6369 * BufferView_pimpl.C:
6371 * bufferview_func.C:
6378 * tabular_funcs.h: tostr() from its own header
6380 * ParagraphParameters.C:
6385 * text3.C: STRCONV()
6387 2003-05-12 André Pönitz <poenitz@gmx.net>
6390 * BufferView_pimpl.C:
6394 * ParagraphParameters.C:
6398 * bufferview_funcs.C:
6411 * paragraph_funcs.C:
6415 * text3.C: boost::format -> bformat all over the place
6418 2003-05-09 André Pönitz <poenitz@gmx.net>
6420 * LColor.[Ch]: Pimpl the #include <map> away
6422 2003-05-09 John Levon <levon@movementarian.org>
6424 * bufferlist.C: never remove emergency saves
6426 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * Makefile.am: better lib building
6430 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6434 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6435 (simpleTeXSpecialChars): adjust
6436 (simpleTeXSpecialChars): adjust
6437 * paragraph.C (simpleTeXOnePar): adjust
6438 * buffer.C (makeLaTeXFile): adjust
6440 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6442 * text2.C (changeDepth): parlist cleanup
6443 (getColumnNearX): ditto
6445 * rowpainter.C (getLabelFont): parlist cleanup
6447 * bufferlist.C (newFile): parlist cleanup
6449 * CutAndPaste.C (eraseSelection): parlist cleanup
6451 * BufferView_pimpl.C (trackChanges): parlist cleanup
6454 * BufferView.C (lockInset): parlist cleanup.
6455 (ChangeInsets): ditto
6457 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * CutAndPaste.h: Update file header.
6461 * CutAndPaste.C: Update file header.
6462 Store the parts cut out of the Document in a limited_stack.
6463 (copySelection): adjust
6464 (pasteSelection): new function, takes the index in the limited stack.
6465 (nrOfParagraphs): adjust
6466 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6467 simplify error inset insertion.
6468 (checkPastePossible): adjust
6470 2003-05-06 John Levon <levon@movementarian.org>
6472 * text2.C: don't cast wrap inset to float
6474 2003-05-05 André Pönitz <poenitz@gmx.net>
6477 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6479 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6480 few naked Paragraph *.
6482 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6484 * bufferparams.C: Output warning if a document with missing
6485 TeX document class is loaded
6486 * exporter.C: Disable TeX exports if the document class is missing
6489 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6490 isTeXClassAvailable()
6492 2003-05-03 John Levon <levon@movementarian.org>
6495 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6496 explicit cursor show/hide
6498 * BufferView_pimpl.h:
6499 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6500 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6502 * lyxfunc.C: hide cursor before dispatching.
6507 * text3.C: remove explicit cursor hides
6509 2003-05-02 André Pönitz <poenitz@gmx.net>
6511 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6514 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6517 * text2.C: tiny whitespace
6519 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * undo_funcs.C: almost only ws changes.
6523 * ParagraphList.C (splice): just return if pl is empty.
6525 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * ParagraphList.C (splice): new function.
6529 * CutAndPaste.C (pasteSelection): use it
6531 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * CutAndPaste.C (pasteSelection): remove the last next and
6534 previous from this file.
6536 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6538 * CutAndPaste.C (pasteSelection): more clean up, user proper
6539 ParagraphList functions for pasteing.
6541 * ParagraphList.C (insert): new function, three arg insert
6543 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * ParagraphList.C (insert): new function, three arg insert
6547 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6550 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6552 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6554 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6558 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6561 (copySelection): clean up a bit.
6562 (pasteSelection): use make_pair
6564 * ParagraphList.C (ParagraphList): implement copy constructor
6565 (operator=): implement, base on copy constructor.
6568 * paragraph.C (erase): return a bool
6570 * paragraph_pimpl.C (erasePos): remove function, move contents...
6571 (erase): ... here. Return a bool.
6572 (erase): call erase instead of erasePos.
6574 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6576 * ParagraphList.h: define PitPosPair
6577 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6578 ParagraphList, fix a bug on pasting multiple pars
6579 * text2.C: change interface to C&P
6581 2003-04-30 André Pönitz <poenitz@gmx.net>
6583 * undo_func.C: revert part of yesterday's patch 2
6585 2003-04-30 John Levon <levon@movementarian.org>
6587 * LColor.C: s/tabular/table/
6589 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * text3.C (dispatch): do not convert iterator -> pointer
6592 * undo_funcs.C (setCursorParUndo): ditto
6593 * text_funcs.C (transposeChars): ditto
6595 * text2.C (setLayout): ws changes only
6597 * text.C (breakParagraph): do not convert iterator -> pointer
6599 (acceptChange): ditto
6600 (rejectChange): ditto
6605 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6608 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6610 * text3.C (gotoInset): YABG (yet another bad getChar)
6612 2003-04-29 André Pönitz <poenitz@gmx.net>
6614 * paragraph.h: make operator= private unimplemented as long as
6617 * ParagraphList.C: whitespace
6620 * paragraph_pimpl.[Ch]:
6621 * paragraph_funcs.C:
6623 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6626 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6628 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6630 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6631 * paragraph.[Ch] (erase):
6632 * paragraph_pimpl.[Ch] (erase): change return type and value
6633 * text2.C (cutSelection): some rework
6635 2003-04-28 John Levon <levon@movementarian.org>
6637 * bufferlist.C: changes for unsaved changes dialog
6639 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6641 * bufferlist.C (newFile): set language (messages_) for new
6644 * buffer.C (readFile): ws changes only.
6646 2003-04-28 André Pönitz <poenitz@gmx.net>
6651 * BufferView_pimpl.C:
6652 * BufferView.C: getParFromID related ParagraphList::iterator changes
6654 2003-04-28 André Pönitz <poenitz@gmx.net>
6656 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6659 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * messages.C: remove one more localedir class variable.
6663 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * messages.C (getLocaleDir): singleton generation function
6667 (Messages): add a default constructor.
6669 * main.C (main): do not setup localedir here, do not call
6672 * gettext.C (_): use it.
6673 (gettext_init): delete funciton
6675 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * gettext.C (getLyXMessages): new singleton generating function.
6679 * buffer.C (updateDocLang): adjust
6681 * Makefile.am (messages.o): add target
6682 (main.o): remove target
6684 2003-04-27 John Levon <levon@movementarian.org>
6689 * lyxvc.C: specify cancel button in Alert::prompt
6691 2003-04-26 John Levon <levon@movementarian.org>
6696 * LyXAction.C: add LFUN_INSET_SETTINGS
6698 * lyxfunc.C: don't enable tabular-feature when there's
6699 just any locking inset
6701 2003-04-26 John Levon <levon@movementarian.org>
6703 * bufferlist.C: re-add Cancel to buffer close question
6705 * lyxfunc.C: fix import UI a bit
6707 2003-04-25 John Levon <levon@movementarian.org>
6709 * gettext.C: remove the broken asserts for now
6711 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * messages.C: make case where setlocale cannot comply work better.
6715 * buffer.C (updateDocLang): new function
6716 (changeLanguage): use it
6719 * text2.C (setCounter): use B_ a bit.
6721 * lyxlayout.C (Read): be sure to trim the label strings.
6723 * messages.C (Messages): fix typo in comment
6725 * buffer.C (readFile): set message_ after file is loaded.
6726 (makeDocBookFile): remove double return
6727 (changeLanguage): reset message_ upon language change.
6728 (B_): new func, use this to get translated buffer strings.
6730 * main.C: add myself and Jean Marc as authors.
6732 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * messages.[hC]: pimplify Messages, and three different pimpls to be
6735 used in different circumstances.
6737 * gettext.[Ch]: change for use with new message code.
6739 2003-04-24 André Pönitz <poenitz@gmx.net>
6741 * factory.C: support for eqref
6743 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * messages.[Ch]: add missing char
6747 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6749 * messages.[Ch]: New files
6751 2003-04-18 John Levon <levon@movementarian.org>
6755 * BufferView_pimpl.C:
6759 * text2.C: remove layout-copy/paste (bug 778)
6761 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6763 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6765 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6767 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6768 if they succeed. Act accordingly.
6770 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * text2.C (setCharFont): adjust
6773 (setCounter): adjust
6774 (insertStringAsLines): adjust
6776 * text.C (leftMargin): adjust
6777 (setHeightOfRow): adjust
6779 * rowpainter.C (paintFirst): adjust
6782 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6784 (isFirstInSequence): ditto
6785 (getEndLabel): ditto
6788 * paragraph.C (getParLanguage): comment out some hard stuff.
6790 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6792 (simpleDocBookOnePar): ditto
6793 (makeDocBookFile): use ParagraphList::iterator
6795 * CutAndPaste.C (pasteSelection): adjust
6797 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * text2.C (getFont): adjust
6800 (getLayoutFont): adjust
6801 (getLabelFont): adjust
6803 * paragraph_funcs.C (TeXOnePar): adjust
6805 * buffer.C (simpleLinuxDocOnePar): adjust
6806 (simpleDocBookOnePar): adjust
6808 * CutAndPaste.C (pasteSelection): adjust
6810 * BufferView.C (getEncoding): adjust
6812 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6814 2003-04-16 John Levon <levon@movementarian.org>
6816 * lyxfind.C: use parlist stuff for search/changes
6818 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6820 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6822 * text2.C (deleteEmptyParagraphMechanism): adjust
6824 * text2.[Ch] (ownerParagraph): delete func (both of them
6826 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6828 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6830 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * ParagraphList.C: prepare for NO_NEXT
6834 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * text2.C (getFont): adjust
6837 (getLayoutFont): adjust
6838 (getLabelFont): adjust
6840 * paragraph.C (getFont): adjust
6841 (getLabelFont): adjust
6842 (getLayoutFont): adjust
6844 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6846 2003-04-15 John Levon <levon@movementarian.org>
6850 * lyx_main.C: handle Include in .ui files
6852 2003-04-15 John Levon <levon@movementarian.org>
6854 * MenuBackend.C: make the doc files length shorter
6857 * ToolbarBackend.C: handle toolbar placement flags,
6860 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6865 * paragraph_funcs.C (TeXOnePar): adjust
6867 * paragraph.C (getLabelFont): add outerfont arg, adjust
6868 (getLayoutFont): ditto
6869 (simpleTeXOnePar): adjust
6871 * paragraph_pimpl.C (realizeFont): delete func
6873 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6875 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6876 row argument, constify cur argument.
6878 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * text2.C (getFont): adjust
6881 (getLayoutFont): adjust
6882 (getLabelFont): adjust
6884 * paragraph_funcs.C (TeXOnePar): adjust
6885 (outerFont): new func...
6886 (realizeFont): ...moved out from here, changed this to facilitate
6889 * paragraph.C (getFont): take outerfont as arg, adjust
6890 (simpleTeXOnePar): add outerfont arg, adjust
6892 * buffer.C (simpleLinuxDocOnePar): adjust
6893 (simpleDocBookOnePar): adjust
6895 * CutAndPaste.C (pasteSelection): adjust
6897 * BufferView.C (getEncoding): adjust
6899 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * text2.C (setCharFont): adjust
6902 (setCounter): adjust
6904 * text.C (leftMargin): adjust
6905 (setHeightOfRow): adjust
6907 * rowpainter.C (paintFirst): adjust
6910 * paragraph_pimpl.C (realizeFont): adjust
6912 * paragraph.C (isFirstInSequence): move from here...
6913 * paragraph_funcs.C (isFirstInSequence): ...to here
6915 * paragraph.C (outerHook): move from here...
6916 * paragraph_funcs.C (outerHook): ...to here
6918 * paragraph.C (depthHook): move from here...
6919 * paragraph_funcs.C (depthHook): ...to here
6921 * paragraph.C (getEndLabel): move from here...
6922 * paragraph_funcs.C (getEndLabel): ...to here
6924 * text2.C (realizeFont): move from here...
6925 * paragraph_funcs.C (realizeFont): ...to here
6927 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6931 2003-04-14 Angus Leeming <leeming@lyx.org>
6933 * LColor.[Ch]: scrap LColor mathcursor.
6935 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * lyxlex.[Ch] (text): delete function
6938 * trans.C (Load): adjust
6939 * paragraph_funcs.C (readParToken): adjust
6941 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6944 vector<char> instead of a char[].
6946 * lyxlex_pimpl.C (getString): adjust
6948 (lex): use getString
6952 * lyxlex.C (text): use pimpl_->getString()
6956 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6959 (makeFontEntriesLayoutSpecific): temp var for par.size()
6960 (setLayout): temp var for ownerParagraphs().end()
6961 (fullRebreak): temp var for rows().end()
6962 (selectionAsString): temp var for boost::next(startpit), realize
6963 that the while really is a regular for loop.
6964 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6965 setCursor in one place.
6966 (setParagraph): temp vr for ownerParagraphs().end()
6967 (updateCounters): make the while loop a for loop
6968 (cutSelection): temp var for ownerParagraphs().end()
6969 (updateInset): make the do {} while() a regular for loop
6970 (getCursorX): use temp vars
6971 (setCurrentFont): use temp vars
6972 (getColumnNearX): use temp vars
6974 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * text.C (transformChar): use temp var for getChar
6977 (computeBidiTables): use temp var for row->par()
6978 (fill): move temp vars for row->par() and pit->layout() earlier in
6980 (labelFill): use temp var for row->par()
6981 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6982 asc and desc, realize that pit never changes and that firstpit is
6983 just a duplicate and not needed. Exchange rit->par() with pit in a
6985 (breakAgain): use a temp var for boost::next(rit)
6986 (breakAgainOneRow): ditto
6987 (breakParagraph): use a temp var for rows().begin()
6988 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6989 (cursorRightOneWord): use temp var for cursor.par() and
6990 cursor.pos(), remove usage of tmpcursor.
6991 (cursorLeftOneWord): use temp var for cursor.par() and
6992 cursor.pos() only set cur at end of function.
6994 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * text.C, text2.C: exchange all usage of Paragraph::next with
6997 boost::next(ParagraphList::iterator)
6999 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7001 * text2.C (cursorTop): simplify implementation
7002 (cursorBottom): ditto
7003 (setParagraph): use ParagraphList::iterator
7004 (setCurrentFont): adjust
7005 (getColumnNearX): adjust
7006 (cursorRight): adjust
7007 (cursorLeft): remove usage of Paragraph::previous
7008 (cursorUpParagraph): ditto
7009 (deleteEmptyParagraphMechanism): slight cleanup
7011 * text.C (isBoundary): take a Paragraph const & instead of a
7013 (addressBreakPoint): ditto
7014 (leftMargin): remove usage of Paragraph::previous.
7015 (setHeightOfRow): ditto
7016 (cursorLeftOneWord): ditto
7017 (selectNextWordToSpellcheck): ditto
7020 (breakParagraph): remove one usage of Paragraph::next
7021 (redoParagraph): ditto
7022 (acceptChange): ditto
7023 (insertChar): adjust
7024 (rowBreakPoint): adjust
7026 * bufferview_funcs.C (toggleAndShow): adjust
7028 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7030 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7031 methods to access it.
7033 * text.C: Added updateRowPositions to compute all row positions.
7034 Make top_y and getRowNearY() to use the cached y position
7036 2003-04-11 John Levon <levon@movementarian.org>
7038 * text.C (rowBreakPoint): reintroduce the labelEnd
7039 checks, code copied from the row fill stuff. Deep voodoo.
7041 * text.C (fill): add a comment and debugging for the
7044 2003-04-11 John Levon <levon@movementarian.org>
7046 * text.C: make sure fullrow insets get wrapped to the next line,
7047 even when they're in a manual label
7049 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * text2.C (insertParagraph): make it take ParagraphList::iterator
7053 (setLayout): make it return ParagraphList::iterator
7054 (redoParagraphs): ditto
7056 (checkParagraph): ditto
7058 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7060 * text2.C: adjust several funcs.
7061 (realizeFont): take a ParagraphList::iterator as arg.
7062 (getLayoutFont): ditto
7063 (getLabelFont): ditto
7064 (setCharFont): ditto
7066 * text.C: adjust several funcs.
7068 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7070 * text.C (selectNextWordToSpellcheck): don't accidentally
7073 2003-04-10 John Levon <levon@movementarian.org>
7075 * ToolbarBackend.C (getIcon): special handling for
7078 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7080 * text2.C (cursorRight): a getChar assert fixed
7082 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * text2.C (getFont): change to take a ParagraphList::iterator
7085 instead of Paragraph*
7086 Adjust several functions.
7088 * text.C (transformChar): change to take a ParagraphList::iterator
7089 instead of Paragraph*
7090 (singleWidth): ditto
7091 Adjust several functions.
7093 * rowpainter.C: adjust several functions
7094 * rowpainter.h:store a ParagraphList::iterator and not a
7098 2003-04-09 John Levon <levon@movementarian.org>
7103 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7104 and the "help" bits as well
7106 2003-04-09 John Levon <levon@movementarian.org>
7109 * ToolbarBackend.C: allow multiple toolbars
7111 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * undo_funcs.C (setCursorParUndo): adjust
7115 * text_funcs.C (transposeChars): adjust
7117 * text3.C (gotoNextInset): adjust
7120 * text2.C (setLayout): adjust
7121 (changeDepth): adjust
7123 (redoParagraphs): adjust
7124 (selectionAsString): adjust
7125 (setParagraph): adjust
7126 (insertInset): adjust
7127 (cutSelection): adjust
7128 (copySelection): adjust
7129 (pasteSelection): adjust
7130 (insertStringAsLines): adjust
7131 (updateInset): adjust
7132 (setCursor): change to take a ParagraphList::iterator parameter
7133 (setCursorIntern): change to take a ParagraphList::iterator parameter
7134 (setCurrentFont): adjust
7135 (cursorLeft): adjust
7136 (cursorRight): adjust
7137 (deleteEmptyParagraphMechanism): adjust
7139 * text.C (breakParagraph): adjust
7140 (insertChar): adjust
7141 (acceptChange): adjust
7142 (rejectChange): adjust
7143 (selectNextWordToSpellcheck): adjust
7144 (changeCase): adjust
7148 * lyxfind.C (SearchForward): adjust
7149 (SearchBackward): adjust
7150 (nextChange): adjust
7152 * lyxcursor.C (par): adjust
7154 * lyxcursor.h: store a ParagraphList::iterator instead of a
7157 * lyx_cb.C (getPossibleLabel): adjust
7159 * bufferview_funcs.C (toggleAndShow): adjust
7161 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7164 * BufferView.C (removeAutoInsets): adjust
7165 (lockedInsetStoreUndo): adjust
7167 2003-04-09 John Levon <levon@movementarian.org>
7169 * ToolbarBackend.C: try icon without argument
7170 if with argument fails
7172 2003-04-08 John Levon <levon@movementarian.org>
7175 * ToolbarBackend.C: add getIcon(), handle tooltip,
7176 and change from "Icon" to "Item".
7178 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7180 * BufferView.C (lockInset): another bad getchar crunched
7182 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7184 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7187 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7189 * lyxfind.C (searchForward, searchBackwards): bug 782
7191 2003-04-07 John Levon <levon@movementarian.org>
7193 * paragraph.C: remove dead comment
7195 * text.C: remove troublesome depth-fiddling code
7196 in leftMargin() and rightMargin() (bug 1017)
7198 * text.C: fix breaking of rows in nested lists
7201 * text2.C (updateCounters): fix up depth values
7204 2003-04-07 John Levon <levon@movementarian.org>
7206 * BufferView_pimpl.C: clear message when doc finishes resizing,
7207 and after a mouse event
7209 * lyxfunc.C: clear message after exiting inset
7211 2003-04-07 John Levon <levon@movementarian.org>
7213 * bufferview_funcs.C: show math status not outside
7214 status in the statusbar
7216 2003-04-07 John Levon <levon@movementarian.org>
7218 * lyxfunc.C: note status changed after a depth change
7220 2003-04-04 Angus Leeming <leeming@lyx.org>
7222 * LaTeX.h: move AuxInfo operator==, != out of line.
7223 Remove LaTeX virtual destructor; nothing derives from it.
7224 Move operator()() out of public area and rename it startscript().
7225 Change protected for private.
7227 2003-04-04 Angus Leeming <leeming@lyx.org>
7230 * text2.C: remove unneeded #includes.
7232 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7234 * text2.C (dEPM): fix the heigth of the next row
7236 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7238 * text.C: squashed an invalid getChar requester + some ws changes
7240 2003-04-03 John Levon <levon@movementarian.org>
7242 * bufferview_funcs.h:
7243 * bufferview_funcs.C:
7246 * text2.C: make getStatus work for the env depth lfuns
7248 2003-04-03 John Levon <levon@movementarian.org>
7250 * bufferview_funcs.h:
7251 * bufferview_funcs.C:
7254 * text2.C: parlistize decDepth(), by merging it with incDepth()
7256 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * lyxrow.h: store a ParagraphList::iterator instead of a
7259 Paragraph* and adjust other class functions to suit.
7261 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7264 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7266 * text2.C (setCursor): do not anchor to cursor row for the time being
7268 2003-04-02 John Levon <levon@movementarian.org>
7275 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7277 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7279 * paragraph.h: make ParagraphList and ParagraphList::iterator
7280 friends of Paragraph.
7282 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7284 * ParagraphList.C: Use the private next_ and previous_ from
7287 2003-04-01 John Levon <levon@movementarian.org>
7291 * Makefile.am: rename, remove defaults gunk
7294 * MenuBackend.C: remove defaults gunk
7297 * Languages.C: remove defaults gunk
7300 * lyx_main.C: error out if files couldn't be found.
7302 2003-04-02 John Levon <levon@movementarian.org>
7304 * text2.C: make incDepth() use parlist
7306 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * undo_funcs.C (firstUndoParagraph): adjust
7310 * text3.C (gotoInset): adjust
7311 (dispatch): adjust, and rewrite loop.
7313 * text2.C (init): adjust, and rewrite loop.
7314 (redoParagraphs): adjust
7315 (updateInset): adjust, and rewrite loop.
7316 (deleteEmptyParagraphMechanism): adjust
7318 * tabular.C (LyXTabular): adjust
7319 (SetMultiColumn): adjust
7322 * lyxtext.[Ch] (ownerParagraph): delete function
7323 (ownerParagraphs): new function returns a ParagraphList.
7325 * BufferView.C (removeAutoInsets): adjust
7326 (insertErrors): adjust
7327 (setCursorFromRow): adjust
7329 2003-04-01 Angus Leeming <leeming@lyx.org>
7331 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7334 2003-04-02 John Levon <levon@movementarian.org>
7340 * text_funcs.C: make transposeChars a free function
7342 * lyxrow_funcs.C: remove wrong comment
7344 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * rowpainter.C: adjust
7352 * lyxrow_funcs. [Ch]: new files
7354 * lyxrow.[Ch]: remove next and previous pointers
7355 (next,previous): remove accessor functions
7356 (isParEnd): move to lyxrow_funcs
7357 (lastPos): move to lyxrow_funcs
7358 (nextRowIsAllInset): move to lyxrow_funcs
7359 (lastPrintablePos): move to lyxrow_funcs
7360 (numberOfSeparators): move to lyxrow_funcs
7361 (numberOfHfills): move to lyxrow_funcs
7362 (numberOfLabelHfills): move to lyxrow_funcs
7363 (hfillExpansion): move to lyxrow_funcs
7367 * bufferview_funcs.C (toggleAndShow): adjust
7369 * RowList.h: Remove class RowList from file leave just a
7372 * RowList.C: delete file
7374 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7377 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * text3.C (cursorPrevious): adjust
7380 (cursorNext): adjust
7383 * text2.C (redoHeightOfParagraph): adjust
7384 (redoDrawingOfParagraph): adjust
7387 * text.C (breakParagraph): adjust
7388 (insertChar): adjust
7391 * rowpainter.C (RowPainter): adjust
7392 (leftMargin): simplify and adjust
7393 (most rowpainter functions): adjust.
7395 * rowpainter.h: store the row as RowList::iterator not as Row*
7397 * lyxcursor.C (row): taka RowList::iterator as arg
7400 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7403 2003-04-01 Angus Leeming <leeming@lyx.org>
7405 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7406 stuff like bool Bool.
7408 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7410 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7413 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7418 * lyxtext.h (rows): drop one version and leve a const variant that
7419 returns a RowList::iterator.
7421 2003-03-31 Angus Leeming <leeming@lyx.org>
7423 * text.C (fill): ensure that the signature is the same as that in the
7426 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7428 * text2.C (redoParagraphs): adjust
7429 (updateCounters): adjust
7430 (checkParagraph): adjust
7431 (getColumnNearX): adjust and reformat a bit.
7433 * text.C (top_y): adjust
7435 (leftMargin): adjust
7436 (prepareToPrint): adjust
7438 (getRowNearY): adjust
7440 * lyxtext.h: make rowlist_ mutable.
7442 * RowList.h: add const_iterator
7443 * RowList.C: adjust for RowList::const_iterator.
7445 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7448 2003-03-31 John Levon <levon@movementarian.org>
7451 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7453 * lyx_main.C: set default fonts from using lyx_gui funcs
7455 * exporter.C: pdf_mode moved from lyxrc
7458 * lyxfunc.C: changes from above
7460 2003-03-31 John Levon <levon@movementarian.org>
7462 * lyx_main.C: fix to the last fix
7464 2003-03-31 John Levon <levon@movementarian.org>
7466 * bufferlist.C: "Load original" -> "Load Original"
7472 * format.C: more Alert cleanups
7474 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * text2.C (removeParagraph): make it take a RowList::iterator as
7478 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7479 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7481 * text.C (anchor_row): make it take a RowList::iterator as arg,
7483 (computeBidiTables): make it take a const reference to Row instead
7484 of Row pointer, adjust.
7485 (leftMargin): make it take a RowList::iterator as arg, adjust.
7486 (rowBreakPoint): adjust
7487 (breakAgainOneRow): make it take a RowList::iterator as arg,
7489 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7491 * bufferview_funcs.C (toggleAndShow): adjust
7493 2003-03-30 John Levon <levon@movementarian.org>
7497 * boost-inst.C: moved to support
7499 * several files: changes as a result
7501 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7503 * text2.C (LyXText): adjust.
7505 (removeRow): make it take a RowList::iterator as arg, adjust.
7506 (fullRebreak): adjust
7507 (deleteEmptyParagraphMechanism): adjust
7508 (clearPaint): adjust
7511 * text.C (top_y): adjust
7512 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7513 (breakAgain): make it take a RowList::iterator as arg, adjust.
7514 (breakParagraph): adjust
7515 (insertChar): adjust
7518 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7519 need_break_row, and refresh_row.
7521 * text3.C (dispatch): adjust
7523 * text2.C (checkParagraph): adjust
7525 (setCursorFromCoordinates): adjust
7527 * text.C (top_y): adjust
7529 (getRow): make it return a RowList::iterator, adjust
7530 (getRowNearY): make it return a RowList::iterator, adjust
7532 * text2.C (init): adjust
7533 (insertRow): remove function
7534 (insertParagraph): adjust
7535 (redoParagraphs): adjust
7536 (fullRebreak): adjust
7537 (updateCounters): adjust
7539 * text.C (top_y): rewrite to use RowList iterators.
7541 (setHeightOfRow): rewrite to sue RowList iterators.
7542 (appendParagraph): adjust
7543 (breakAgain): adjust
7544 (breakAgainOneRow): adjust
7545 (breakParagraph): adjust
7547 (getRowNearY): adjust, and remove commented code.
7549 * lyxtext.h (firstRow): delete function
7550 (lastRow): delete function
7551 (rows): new function (const and non-const versions.)
7552 (insertRow): delete function
7554 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7556 2003-03-29 John Levon <levon@movementarian.org>
7558 * BufferView_pimpl.C: always update scrollbar top
7559 because pasting text when we're anchored could mean we
7560 miss an update altogether
7562 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * text2.C (init): use rowlist_.end() and not 0.
7565 (insertRow): change to take a RowList::iterator as arg, adjust
7567 (insertParagraph): change to take a RowList::iterator as arg,
7569 (redoParagraphs): remove some debug msgs.
7571 * text.C (appendParagraph): change to take a RowList::iterator
7572 arg, adjust for this.
7573 (breakAgain): add an assert
7574 (breakAgainOneRow): ditto
7576 2003-03-29 John Levon <levon@movementarian.org>
7578 * text2.C: do not clear selection after inc/decDepth
7581 2003-03-29 John Levon <levon@movementarian.org>
7584 * buffer.C: fix broken strerrors according to Lars
7586 2003-03-29 John Levon <levon@movementarian.org>
7588 * converters.C: more Alert cleanups
7590 2003-03-29 John Levon <levon@movementarian.org>
7592 * bufferview_funcs.C: remove pointless Alert
7594 * buffer.C: fix confusing error message when
7595 a template is chmoded 000
7597 2003-03-29 John Levon <levon@movementarian.org>
7601 * BufferView_pimpl.C: Alert fixes
7605 * tabular-old.C: remove unused table compat reading
7607 2003-03-29 John Levon <levon@movementarian.org>
7612 * lyx_cb.C: more Alert cleanups
7614 * lyxfunc.C: don't allow chktex if not latex document
7616 2003-03-29 John Levon <levon@movementarian.org>
7620 * buffer.C: warnings pushed down from support/,
7623 2003-03-29 John Levon <levon@movementarian.org>
7625 * lyxfunc.C: safety check for C-r (revert)
7627 2003-03-29 John Levon <levon@movementarian.org>
7630 * bufferlist.C: several UI fixes using Alert::prompt.
7631 Fix the pointless looping quit code. Fix stupid revert
7636 * lyx_cb.C: use Alert::prompt
7638 * lyx_main.C: remove a silly question
7640 * lyxfunc.C: remove a couple of silly questions,
7643 2003-03-28 John Levon <levon@movementarian.org>
7645 * text2.C: fix bug 974 (End on empty par)
7647 2003-03-28 John Levon <levon@movementarian.org>
7649 * BufferView_pimpl.C:
7651 * lfuns.h: remove do-nothing math greek lfuns
7653 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * lyxgluelength.h (isValidGlueLength): add default arg on
7656 parameter 2. Remove default arg from friend in class.
7658 * lyxlength.h (isValidLength): add default arg on parameter 2.
7659 Remove default arg from friend in class.
7661 * text2.C (LyXText): adjust, initialize refresh_row.
7665 (insertParagraph): adjst
7666 (redoParagraphs): adjust
7667 (fullRebreak): adjust
7668 (updateCounters): adjust
7669 (deleteEmptyParagraphMechanism): first attempt at fixing a
7672 * text.C (top_y): adjust
7673 (setHeightOfRow): adjust
7675 (getRowNearY): adjust
7677 * lyxtext.h: include RowList.h
7678 (~LyXText): not needed anymore, deleted.
7679 (firstRow): modify for RowList
7680 (lastRow): new function
7681 Delete firstrow and lastrow class variables, add a Rowlist
7682 rowlist_ class variable.
7684 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7687 * RowList.C (insert): fix case where it == begin().
7689 2003-03-26 Angus Leeming <leeming@lyx.org>
7691 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7692 the thesaurus dialog.
7694 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7698 * RowList.[Ch]: new files
7700 * ParagraphList.C (erase): handle the case where it == begin
7703 2003-03-25 John Levon <levon@movementarian.org>
7707 * aspell.C: add new aspell support
7710 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7713 2003-03-25 Angus Leeming <leeming@lyx.org>
7716 * LyXAction.C (init): new LFUN_INSET_INSERT.
7718 * BufferView_pimpl.C (dispatch): split out part of the
7719 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7721 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7724 2003-03-25 Angus Leeming <leeming@lyx.org>
7726 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7728 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7731 * text3.C: remove useless row->height(0)
7733 2003-03-25 John Levon <levon@movementarian.org>
7737 * text3.C: rename the refreshing stuff to better names
7739 2003-03-24 John Levon <levon@movementarian.org>
7741 * BufferView_pimpl.h:
7742 * BufferView_pimpl.C: update layout choice on a mouse
7745 2003-03-23 John Levon <levon@movementarian.org>
7747 * Makefile.am: fix commandtags.h reference
7749 2003-03-22 John Levon <levon@movementarian.org>
7751 * BufferView_pimpl.C:
7756 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7758 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7761 * text.C: take the rtl methods out of line
7763 2003-03-21 André Pönitz <poenitz@gmx.net>
7765 * metricsinfo.[Ch]: new files containing structures to be passed around
7766 during the two-phase-drawing...
7768 2003-03-21 André Pönitz <poenitz@gmx.net>
7770 * lyxtextclass.C: read 'environment' tag.
7772 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7774 * text2.C (removeRow): fix bug 964
7776 2003-03-20 John Levon <levon@movementarian.org>
7780 * text2.C: paint cleanups. Inset::update() dropped font
7783 2003-03-19 John Levon <levon@movementarian.org>
7785 * lyxfunc.C: only fitcursor/markDirty if available()
7787 2003-03-19 John Levon <levon@movementarian.org>
7789 * commandtags.h: rename to ...
7791 * lfuns.h: ... this, and renumber / cleanup
7793 2003-03-19 John Levon <levon@movementarian.org>
7795 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7796 fit the cursor after an lfun
7800 * BufferView_pimpl.h:
7801 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7803 * LyXAction.C: layout-character should have ReadOnly
7805 * ParagraphParameters.C:
7807 * bufferview_funcs.C:
7814 * undo_funcs.C: changes from above
7816 2003-03-18 John Levon <levon@movementarian.org>
7818 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7819 remove it from update()
7821 * lyxfunc.C: update layout choice after an lfun
7823 * text3.C: remove extra updateLayoutChoice()s
7825 2003-03-18 John Levon <levon@movementarian.org>
7827 * text.C: top_y change means full repaint, fix
7828 a drawing bug with cursor movement
7830 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7834 * text2.C: anchor row on setCursor
7836 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7838 * lyxtext.h: remove almost all mutable keywords
7841 * text3.C: remove const keywords accordingly
7843 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7847 (TeXEnvironment): ditto
7850 2003-03-17 John Levon <levon@movementarian.org>
7852 * text.C (rowBreakPoint): remove attempt to fix displayed
7853 math insets inside a manual label
7855 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * lyxtext.h: remove BufferView* as first arg from almost all class
7859 * other files: adjust.
7861 2003-03-17 John Levon <levon@movementarian.org>
7865 * text2.C: more paint cleanups
7867 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7870 * rowpainter.C: remove "smart" background painting code
7872 2003-03-16 John Levon <levon@movementarian.org>
7877 * text3.C: add helper functions for setting refresh_row/y
7879 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7881 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7882 newline inset which *can* get inserted in the pass_thru layouts.
7883 This is primarily for literate documents.
7885 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7887 * buffer.C: increment LYX_FORMAT to 223
7889 2003-03-14 André Pönitz <poenitz@gmx.net>
7891 * textclass.h: prepare for environment handling, ws changes
7892 * lyxlayout.C: read latexheader and latexfooter tags
7894 2003-03-14 John Levon <levon@movementarian.org>
7896 * text2.C: rewrite ::status() a bit
7898 2003-03-13 John Levon <levon@movementarian.org>
7900 * lyxtext.h: add some docs
7902 2003-03-13 John Levon <levon@movementarian.org>
7907 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7909 2003-03-13 John Levon <levon@movementarian.org>
7911 * text3.C: fix appendix redrawing
7913 2003-03-13 John Levon <levon@movementarian.org>
7915 * text.C (setHeightOfRow):
7917 * rowpainter.C: make appendix mark have the text
7918 "Appendix" so the user knows what it is
7921 * LColor.C: s/appendixline/appendix/ from above
7923 2003-03-13 John Levon <levon@movementarian.org>
7925 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7927 * text.C: fix a getChar(pos) bug properly
7929 2003-03-13 Angus Leeming <leeming@lyx.org>
7932 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7933 Probably only temporary. Let's see how things pan out.
7935 * BufferView.C (unlockInset):
7936 * BufferView_pimpl.C (fitCursor):
7937 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7939 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7940 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7942 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7943 new functions that convert ParagraphParameters to and from a string.
7945 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7946 BufferView::Pimpl's dispatch.
7947 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7949 2003-03-13 André Pönitz <poenitz@gmx.net>
7953 * factory.C: make it aware of InsetEnv
7955 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * text2.C (setCursor): never ask for one past last
7958 (setCursor): add some debugging messages.
7960 * text.C (singleWidth): never ask for one past last
7961 (singleWidth): ditto
7963 (rightMargin): ditto
7964 (rowBreakPoint): ditto
7965 (setHeightOfRow): ditto
7966 (prepareToPrint): ditto
7968 * rowpainter.C (paintBackground): never ask for one past last
7969 (paintText): never ask for one past last
7971 * paragraph_pimpl.C (getChar): make the assert stricter, never
7972 allow the one past last pos to be taken
7974 * paragraph.C (getChar): ws changes only
7976 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7977 (numberOfSeparators): ditto
7978 (numberOfHfills): ditto
7980 2003-03-12 John Levon <levon@movementarian.org>
7986 * paragraph_funcs.C: fix per-buffer authorlists
7988 2003-03-12 John Levon <levon@movementarian.org>
7990 * text.C: fix newline in right address
7992 2003-03-12 Angus Leeming <leeming@lyx.org>
7994 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7995 duplicate those in LyXFunc::dispatch.
7999 * ToolbarDefaults.C:
8000 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8001 Add LFUN_FONTFREE_UPDATE.
8003 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8004 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8006 * bufferview_func.[Ch]: several new functions to facilliate
8007 transfer of data to and from the character dialog.
8009 2003-03-12 John Levon <levon@movementarian.org>
8014 * paragraph_funcs.C:
8015 * paragraph_pimpl.C:
8019 * text3.C: remove META_NEWLINE in favour of an inset
8022 * rowpainter.C: remove paintNewline (done by inset)
8024 2003-03-12 John Levon <levon@movementarian.org>
8026 * paragraph_pimpl.C: complain about bad getChar()s
8027 for a while at least
8029 2003-03-12 John Levon <levon@movementarian.org>
8032 * buffer.C: move paragraph read into a separate function,
8033 a little renaming to reflect that.
8036 * bufferparams.C: remove the author_ids map, not necessary now
8039 * factory.C: moved Buffer::readInset to here
8041 * paragraph_funcs.h:
8042 * paragraph_funcs.C: readParagraph free function moved from
8045 * tabular.C: name change
8047 2003-03-12 John Levon <levon@movementarian.org>
8050 * ParagraphParameters.C: move par params input to
8053 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8054 behave like a normal read from the stream wrt reading
8055 a line vs. a \\token
8057 2003-03-12 John Levon <levon@movementarian.org>
8060 * ParagraphParameters.h:
8061 * ParagraphParameters.C: move output code to a
8064 2003-03-12 John Levon <levon@movementarian.org>
8066 * BufferView.C (insertLyXFile):
8069 * tabular.C: use a parlist iterator for creating the
8072 2003-03-12 John Levon <levon@movementarian.org>
8074 * buffer.C: make current_change static local not
8077 2003-03-12 John Levon <levon@movementarian.org>
8079 * buffer.C: fix insertStringAsLines for change tracking
8081 2003-03-12 John Levon <levon@movementarian.org>
8088 * bufferparams.C: move author list into params. Rename some
8089 functions. Move the header reading into a separate token
8090 loop. Move the header token reading into BufferParams.
8092 2003-03-12 John Levon <levon@movementarian.org>
8094 * changes.C: put debug inside lyxerr.debugging() checks
8096 2003-03-11 André Pönitz <poenitz@gmx.net>
8098 * factory.C: make it aware of InsetHFill
8100 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * buffer.C (latexParagraphs): move function from here...
8103 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8106 2003-03-10 Angus Leeming <leeming@lyx.org>
8108 * LyXAction.C (init): fix bug in poplating array with multiple entries
8109 with the same LFUN (spotted by JMarc).
8111 2003-03-10 John Levon <levon@movementarian.org>
8114 * text2.C: move getColumnNearX() near its
8117 2003-03-10 John Levon <levon@movementarian.org>
8119 * text.C: fix break before a minipage
8121 2003-03-10 John Levon <levon@movementarian.org>
8123 * text.C: fix the last commit
8125 2003-03-09 John Levon <levon@movementarian.org>
8129 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8130 bug 365 (don't break before insets unless needed). Don't
8131 return a value > last under any circumstances.
8133 2003-03-09 Angus Leeming <leeming@lyx.org>
8135 * BufferView_pimpl.C (trackChanges, dispatch): call
8136 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8138 2003-03-09 Angus Leeming <leeming@lyx.org>
8140 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8141 than Dialogs::showAboutlyx().
8143 2003-03-09 Angus Leeming <leeming@lyx.org>
8145 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8146 than Dialogs::showTabularCreate().
8148 2003-03-09 John Levon <levon@movementarian.org>
8152 * text2.C: 3rd arg to nextBreakPoint was always the same.
8155 2003-03-08 John Levon <levon@movementarian.org>
8162 * text2.C: Remove the "main" bit from the "main body"
8165 2003-03-08 John Levon <levon@movementarian.org>
8167 * text.C (leftMargin): The left margin of an empty
8168 manual label paragraph should not include the label width
8171 * text.C (prepareToPrint): don't attempt to measure hfills
8172 for empty manual label paragraphs - the answer should be 0
8174 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * CutAndPaste.C: remove commented code and reindent.
8178 2003-03-08 John Levon <levon@movementarian.org>
8181 * lyxfunc.C: move reloadBuffer()
8184 * BufferView.C: to here
8186 * lyxvc.C: add comment
8189 * vc-backend.C: call bv->reload() to avoid
8190 getStatus() check on MENURELOAD
8192 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8194 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8195 to an old format .dep file.
8197 2003-03-07 Angus Leeming <leeming@lyx.org>
8199 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8200 when the LFUN_MOUSE_RELEASE should have been handled by
8201 inset->localDispatch.
8203 2003-03-07 Angus Leeming <leeming@lyx.org>
8205 * BufferView_pimpl.C (dispatch):
8206 * LyXAction.C (init):
8207 * ToolbarDefaults.C (init):
8209 * lyxfunc.C (getStatus):
8210 remove LFUN_INSET_GRAPHICS.
8212 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8214 2003-03-07 Angus Leeming <leeming@lyx.org>
8217 * LyXAction.C (init):
8218 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8220 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8223 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8225 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8226 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8228 2003-03-07 Angus Leeming <leeming@lyx.org>
8230 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8233 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * ParagraphList.C (front): new function
8238 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8240 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8241 and top_row_offset_. removed var first_y.
8243 * text2.C (LyXText, removeRow):
8245 * BufferView_pimpl.C:
8246 use these methods instead of using first_y
8248 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * text2.C (pasteSelection): adjust for checkPastePossible
8252 * CutAndPaste.C: remove Paragraph * buf and replace with
8253 ParagraphList paragraphs.
8254 (DeleteBuffer): delete
8255 (cutSelection): change the tc type to textclass_type
8256 (copySelection): change the tc type to textclass_type
8257 (copySelection): adjust for ParagraphList
8258 (pasteSelection): change the tc type to textclass_type
8259 (pasteSelection): adjust for Paragraphlist
8260 (nrOfParagraphs): simplify for ParagraphList
8261 (checkPastePossible): simplify for ParagraphList
8262 (checkPastePossible): remove unused arg
8264 * ParagraphList.C (insert): handle the case where there are no
8267 * CutAndPaste.h: make CutAndPaste a namespace.
8269 * text3.C (dispatch): adjust
8271 * text.C (breakParagraph): add a ParagraphList as arg
8273 * paragraph_funcs.C (breakParagraph): change to take a
8274 BufferParams and a ParagraphList as args.
8275 (breakParagraphConservative): ditto
8276 (mergeParagraph): ditto
8277 (TeXDeeper): add a ParagraphList arg
8278 (TeXEnvironment): ditto
8281 * buffer.C (readLyXformat2): adjust
8282 (insertStringAsLines): adjust
8283 (latexParagraphs): adjust
8285 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8286 (cutSelection): adjust
8287 (pasteSelection): adjust
8289 * BufferView_pimpl.C (insertInset): adjust
8291 2003-03-05 Angus Leeming <leeming@lyx.org>
8294 * LyXAction.C (init):
8295 * BufferView_pimpl.C (dispatch):
8296 * lyxfunc.C (getStatus):
8297 remove LFUN_CHILD_INSERT.
8299 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8301 2003-03-05 Angus Leeming <leeming@lyx.org>
8304 * LyXAction.C (init):
8305 * src/factory.C (createInset):
8306 * lyxfunc.C (getStatus):
8307 * text3.C (dispatch):
8308 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8310 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8312 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * ParagraphList.C (insert): handle insert right before end()
8315 (erase): fix cases where it can be first or last paragraph.
8317 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8320 Paragraph::next and Paragraph::previous
8323 * text.C (breakParagraph): adjust
8325 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8326 BufferParams& as arg.
8327 (breakParagraph): use ParagraphList::insert
8328 (breakParagraphConservative): take a Buffer* instead of a
8329 BufferParams& as arg.
8330 (breakParagraphConservative): use ParagraphList::insert.
8332 * buffer.C (insertStringAsLines): un-const it
8333 (insertStringAsLines): adjust
8335 * ParagraphList.C (insert): new function
8337 * CutAndPaste.C (pasteSelection): adjust
8339 * text.C (backspace): adjust
8341 * tabular.C (SetMultiColumn): adjust
8343 * CutAndPaste.C (cutSelection): adjust
8344 (pasteSelection): adjust
8346 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8347 Buffer const * as arg
8349 * ParagraphList.C (erase): new function
8350 * paragraph_funcs.C (mergeParagraph): use it
8351 (mergeParagraph): make it take a Buffer* instead of a
8352 BufferParams* as arg
8354 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8356 (breakParagraphConservative): ditto
8358 * paragraph.h: remove the breakParagraph friend
8360 * paragraph.C (eraseIntern): new function
8361 (setChange): new function
8363 * paragraph_funcs.C (mergeParagraph): make it take a
8364 ParagraphList::iterator instead of a Paragraph *, adjust
8367 * paragraph.h: move an #endif so that the change tracking stuff
8368 also works in the NO_NEXT case.
8370 2003-03-04 Angus Leeming <leeming@lyx.org>
8373 * LyXAction.C: new LFUN_INSET_MODIFY.
8375 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8376 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8378 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * several files: ws changes only
8382 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8383 (TeXEnvironment): ditto
8386 * buffer.C (makeLaTeXFile): adjust
8387 (latexParagraphs): make it take ParagraphList::iterator as args
8389 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * buffer.C (latexParagraphs): adjust
8393 * paragraph.C (TeXOnePar): move function...
8394 (optArgInset): move function...
8395 (TeXEnvironment): move function...
8396 * paragraph_pimpl.C (TeXDeeper): move function...
8397 * paragraph_funcs.C: ...here
8399 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8401 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8403 * buffer.C (readInset): remove compability code for old Figure and
8406 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * buffer.C: ws changes
8411 * BufferView_pimpl.C: ditto
8414 * bufferlist.h: ditto
8418 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8420 * converter.[Ch]: split into itself +
8423 * Makefile.am: += graph.[Ch] + format.[Ch]
8430 * lyxrc.C: added #include "format.h"
8432 2003-02-27 Angus Leeming <leeming@lyx.org>
8434 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8437 * factory.C (createInset): add "label" to the factory.
8439 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8440 string and do no more.
8442 2003-02-27 Angus Leeming <leeming@lyx.org>
8445 * LyXAction.C (init):
8446 * factory.C (createInset):
8447 * BufferView_pimpl.C (dispatch):
8448 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8450 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8452 * lyxfunc.C (dispatch):
8453 * text3.C (dispatch): pass name to params2string.
8455 2003-02-26 Angus Leeming <leeming@lyx.org>
8457 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8459 Rearrange the ~includes. Strip out the unnecessary ones.
8461 * factory.C (createInset): reformat.
8462 create new insets for the various LFUN_XYZ_APPLY lfuns.
8464 2003-02-26 John Levon <levon@movementarian.org>
8467 * lyxrow.C: add isParStart,isParEnd helpers
8469 * paragraph.h: make isInserted/DeletedText take refs
8471 * paragraph_funcs.h:
8472 * paragraph_funcs.C: remove #if 0'd code
8477 * text.C: use lyxrow helpers above.
8478 Move draw and paint routines to RowPainter.
8479 Make several methods use refs not pointers.
8480 Make backgroundColor() const.
8481 Add markChangeInDraw(), isInInset().
8482 Merge changeRegionCase into changeCase.
8483 Make workWidth() shouldn't-happen code into an Assert.
8486 * rowpainter.C: new class for painting a row.
8489 * vspace.C: make inPixels take a ref
8491 2003-02-26 Angus Leeming <leeming@lyx.org>
8493 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8496 2003-02-25 John Levon <levon@movementarian.org>
8498 * ispell.C: give the forked command a more accurate name
8500 2003-02-22 John Levon <levon@movementarian.org>
8503 * toc.C: make TocItem store an id not a Paragraph *
8506 2003-02-21 Angus Leeming <leeming@lyx.org>
8508 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8509 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8510 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8511 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8512 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8513 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8515 * BufferView_pimpl.C (dispatch):
8516 * LyXAction.C (init):
8517 * factory.C (createInset):
8518 * lyxfunc.C (getStatus, dispatch):
8519 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8521 2003-02-21 Angus Leeming <leeming@lyx.org>
8523 * BufferView_pimpl.C (MenuInsertLyXFile):
8524 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8525 * lyxfunc.C (menuNew, open, doImport):
8526 no longer pass a LyXView & to fileDlg.
8528 2003-02-21 Angus Leeming <leeming@lyx.org>
8530 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8531 * LyXAction.C: change, BIBKEY to BIBITEM.
8532 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8533 Change InsetBibKey to InsetBibitem.
8534 Change BIBKEY_CODE to BIBITEM_CODE.
8535 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8536 * factory.C: replace insetbib.h with insetbibitem.h.
8537 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8538 * paragraph.C: replace insetbib.h with insetbibitem.h.
8539 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8540 Change bibkey() to bibitem().
8541 * text.C: remove insetbib.h.
8542 * text2.C: replace insetbib.h with insetbibitem.h.
8543 change bibkey() to bibitem().
8544 * text3.C: remove insetbib.h.
8545 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8547 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8549 * lyxrc.C (output): enclose user email in quotes (in case there are
8552 2003-02-18 John Levon <levon@movementarian.org>
8554 * buffer.h: add std::
8556 2003-02-17 John Levon <levon@movementarian.org>
8562 * pspell.C: reworking. Especially in ispell, a large
8563 number of clean ups and bug fixes.
8565 * lyxfunc.C: fix revert to behave sensibly
8567 2003-02-17 André Pönitz <poenitz@gmx.net>
8570 * commandtags.h: new LFUN_INSERT_BIBKEY
8580 * paragraph_func.C: remove special bibkey handling
8582 2003-02-17 John Levon <levon@movementarian.org>
8584 * text.C (Delete): fix case where delete at the end of
8585 the very first paragraph would not merge the pars
8587 2003-02-17 John Levon <levon@movementarian.org>
8589 * lyxrow.C: fix lastPrintablePos()
8591 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8593 * bufferparams.C (writeLaTeX): add a std:here
8595 * buffer.C: and remove a using directive there
8597 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8599 * buffer.C (makeLaTeXFile): move the code that generates the
8602 * bufferparams.C (writeLaTeX): ... in this new method
8604 * LaTeXFeatures.C (getEncodingSet): make const
8605 (getLanguages): make const
8607 * MenuBackend.C (binding): returns the binding associated to this
8609 (add): sets the status of each item by calling getStatus. Adds
8611 (read): add support for OptSubMenu
8612 (expand): remove extra separator at the end of expanded menu
8614 2003-02-15 John Levon <levon@movementarian.org>
8617 * BufferView_pimpl.C:
8619 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8620 inset code that had no actual effect. Remove unneeded status
8623 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8625 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8628 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8630 * text.C (drawLengthMarker): also draw an arrow marker for
8631 symbolic lengths (medskip...)
8633 2003-02-14 John Levon <levon@movementarian.org>
8636 * tabular.C: better method names
8638 2003-02-14 John Levon <levon@movementarian.org>
8640 * BufferView_pimpl.C:
8645 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8646 it's a more accurate name. Remove some pointless uses.
8648 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8650 * text2.C (LyXText): change order of initilizers to shut off
8653 2003-02-14 John Levon <levon@movementarian.org>
8655 * buffer.C: use ParIterator for getParFromID()
8659 * paragraph_pimpl.h:
8660 * paragraph_pimpl.C: remove unused getParFromID()
8662 2003-02-14 John Levon <levon@movementarian.org>
8664 * buffer.C: remove some very old #if 0'd parse code
8666 2003-02-13 John Levon <levon@movementarian.org>
8670 * text2.C: move hfillExpansion(), numberOfSeparators(),
8671 rowLast(), rowLastPrintable(), numberofHfills(),
8672 numberOfLabelHfills() ...
8675 * lyxrow.C: ... to member functions here.
8680 * text.C: remove LyXText::beginningOfMainBody(), and call
8681 p->beginningOfMainBody() directly. Move the check for
8682 LABEL_MANUAL into the latter.
8689 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8695 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8696 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8698 2003-02-13 John Levon <levon@movementarian.org>
8700 * CutAndPaste.C: remove debug
8702 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * paragraph.C (asString): remove two unused variables
8706 * lyxtextclass.C (readTitleType):
8708 (LyXTextClass): handle new members titletype_ and titlename_
8710 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8712 2003-02-09 John Levon <levon@movementarian.org>
8715 * buffer.C: replace hand-coded list with a map for the dep clean
8717 2003-02-08 John Levon <levon@movementarian.org>
8719 * LaTeX.C: consolidate code into showRunMessage() helper
8721 2003-02-08 John Levon <levon@movementarian.org>
8726 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8727 and pass the size in explicitly
8729 * BufferView_pimpl.h:
8730 * BufferView_pimpl.C:
8732 * BufferView.C: add getCurrentChange()
8734 * BufferView_pimpl.h:
8735 * BufferView_pimpl.C: handle change lfuns
8737 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8738 for changes. Mark pasted paragraphs as new.
8740 * support/lyxtime.h:
8741 * support/lyxtime.C:
8742 * DepTable.C: abstract time_t as lyx::time_type
8745 * LColor.C: add colours for new text, deleted text, changebars
8747 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8748 package use "usenames" option.
8752 * LyXAction.C: add change lfuns
8756 * author.C: author handling
8759 * buffer.C: add a per-buffer author list, with first entry as
8760 current author. Handle new .lyx tokens for change tracking. Output
8761 author list to .lyx file. Output dvipost stuff to .tex preamble.
8762 Bump lyx format to 222.
8765 * bufferlist.C: add setCurrentAuthor() to reset current author details
8769 * bufferparams.C: add param for tracking
8771 * bufferview_funcs.C: output change info in minibuffer
8775 * changes.C: add change-tracking structure
8778 * debug.C: add CHANGES debug flag
8781 * lyxfind.C: add code for finding the next change piece
8784 * lyxrc.C: add user_name and user_email
8787 * lyxrow.C: add a metric for the top of the text line
8790 * text.C: implement accept/rejectChange()
8793 * text.C: paint changebars. Paint new/deleted text in the chosen
8794 colours. Strike through deleted text.
8798 * paragraph_pimpl.h:
8799 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8800 in the current change to the insert functions. Rework erase to
8801 mark text as deleted, adding an eraseIntern() and a range-based
8802 erase(). Implement per-paragraph change lookup and
8805 * paragraph_funcs.C: Fixup paste for change tracking.
8807 * tabular.C: mark added row/columns as new.
8809 * text.C: fix rowLast() to never return -1. Don't allow
8810 spellchecking of deleted text. Track transpose changes. Don't
8811 allow paragraph break or merge where appropriate.
8813 * text2.C: leave cursor at end of selection after a cut.
8815 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8817 * text.C (getLengthMarkerHeight):
8818 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8819 visible on screen too.
8821 2003-02-07 John Levon <levon@movementarian.org>
8823 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8825 2003-02-05 Angus Leeming <leeming@lyx.org>
8827 * lyxserver.C (read_ready): revert my patch of 11 September last year
8828 as it sends PC cpu through the roof. Presumably this means that
8829 the lyxserver will no longer run on an Alpha...
8831 2003-01-30 Angus Leeming <leeming@lyx.org>
8833 * factory.C (createInset): create an InsetCommandParam of type "index"
8834 and use it to 'do the right thing'.
8836 * text2.C (getStringToIndex): ensure that cursor position is always
8837 reset to the reset_cursor position.
8839 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8844 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8848 * lyxfunc.C: Output messages with identical spelling, punctuation,
8851 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8853 * MenuBackend.C (expandFormats): List only viewable export formats
8856 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8859 * lyxfunc.C (getStatus): Make sure that formats other than
8860 "fax" can also be disabled
8862 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8864 * text3.C (dispatch): put the lfuns that insert insets in 3
8865 groups, and call doInsertInset with appropriate arguments.
8866 (doInsertInset): new function, that creates an inset and inserts
8867 it according to some boolean parameters.
8869 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8871 * buffer.C (readFile): remember to pass on 'par' when calling
8872 readFile recursively.
8874 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8876 * MenuBackend.C (expandFormats): add "..." to import formats.
8878 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8880 * paragraph.C (asString): Remove XForms RTL hacks.
8882 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8883 * buffer.C: fix typo
8885 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * Makefile.am (LIBS): delete var
8888 (lyx_LDADD): add @LIBS@ here instead.
8890 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8892 * Clarify the meaning of "wheel mouse jump"
8894 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8896 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8899 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8901 * importer.C (Loaders): do not preallocate 3 elements in the
8902 vector, since one ends up with 6 elements otherwise
8904 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8906 * DepTable.C (write): write the file name as last element of the
8907 .dep file (because it may contain spaces)
8908 (read): read info in the right order
8910 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8912 * paragraph_pimpl.C (simpleTeXBlanks):
8913 (simpleTeXSpecialChars):
8914 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8916 * tabular.C (latex): add some missing case statements. Reindent.
8918 * MenuBackend.C (expandToc): remove unused variable.
8920 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8929 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8932 2003-01-05 John Levon <levon@movementarian.org>
8935 * BufferView.C: add getEncoding()
8938 * kbsequence.C: do not store last keypress
8941 * lyxfunc.C: store last keypress here instead. Pass encoding
8944 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * lyx_main.C (init): remove annoying error message when following
8947 symbolic links (bug #780)
8949 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8951 * text.C (insertChar):
8952 * lyxrc.C (getDescription): remove extra spaces
8954 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * lyxrc.C (getDescription): remove extra spaces
8958 2002-12-20 John Levon <levon@movementarian.org>
8960 * text3.C: hack fix for page up/down across tall rows
8962 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8964 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8967 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8969 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8970 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8971 thesaurus is not compiled in
8973 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8975 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8977 2002-12-16 Angus Leeming <leeming@lyx.org>
8980 * lyx_main.C (init): remove override_x_deadkeys stuff.
8982 2002-12-12 John Levon <levon@movementarian.org>
8984 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8985 insert. Only remove shift modifier under strict
8988 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * MenuBackend.C (expandToc): fix crash.
8992 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * MenuBackend.C (expandToc): gettext on float names.
8996 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8998 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8999 implement bool empty() [bug 490]
9001 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9003 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9005 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * several files: ws changes
9009 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9011 * text2.C (setCounter): clean up a bit, use boost.format.
9012 (updateCounters): initialize par upon declaration.
9014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9015 if the layout exists. We do not just store the layout any more.
9016 (SwitchLayoutsBetweenClasses): use boost.format
9018 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9020 * converter.C (convert): if from and to files are the same, use a
9021 temporary files as intermediary
9023 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9026 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9028 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9030 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9032 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9034 * tabular.C (asciiPrintCell): use string(size, char) instead of
9037 * sgml.C (openTag): fix order of arguments to string constructor
9040 * lyxfunc.C (dispatch): use boost.format
9042 * lots of files: change "c" -> 'c'
9044 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9046 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9048 2002-11-25 Angus Leeming <leeming@lyx.org>
9050 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9052 * lyx_main.C (init): compile fix.
9054 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9056 * lyx_cb.C (start): boost.formatify
9057 do not include <iostream>
9059 * lengthcommon.C: ws only
9061 * boost-inst.C,BoostFormat.h: add more explict instantations
9063 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9065 * lots of files: handle USE_BOOST_FORMAT
9067 2002-11-21 John Levon <levon@movementarian.org>
9069 * pspell.C: fix compile
9071 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * lyxfunc.C (dispatch): use boost::format
9077 * lyxfont.C (stateText): use boost::format
9079 * lyx_main.C (LyX): use boost::format
9081 (queryUserLyXDir): ditto
9084 (typedef boost::function): use the recommened syntax.
9086 * importer.C (Import): use boost::format
9088 * debug.C (showLevel): use boost::format
9090 * converter.C (view): use boost::format
9095 * bufferview_funcs.C (currentState): use boost::format
9097 * bufferlist.C (emergencyWrite): use boost::format
9099 * buffer.C (readLyXformat2): use boost::format
9100 (parseSingleLyXformat2Token): ditto
9102 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9104 * LaTeX.C (run): use boost::format
9106 * Chktex.C (scanLogFile): use boost::format
9108 * BufferView_pimpl.C (savePosition): use boost::format
9109 (restorePosition): ditto
9110 (MenuInsertLyXFile): ditto
9112 * BoostFormat.h: help file for explicit instation.
9114 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9116 * tabular.C (latex): Support for block alignment in fixed width
9119 2002-11-17 John Levon <levon@movementarian.org>
9121 * BufferView_pimpl.C:
9123 * lyxfunc.C: split filedialog into open/save
9125 2002-11-08 Juergen Vigna <jug@sad.it>
9127 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9128 by my last patch (hopefully).
9130 2002-11-08 John Levon <levon@movementarian.org>
9139 * toc.C: ParConstIterator, and use it (from Lars)
9141 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9143 * lyxtextclass.[Ch]: revise and add doxygen comments
9145 2002-11-07 John Levon <levon@movementarian.org>
9147 * text.C: fix progress value for spellchecker
9149 * toc.C: fix navigate menu for insetwrap inside minipage
9151 * paragraph_funcs.C: added FIXME for suspect code
9153 2002-11-07 John Levon <levon@movementarian.org>
9155 * BufferView_pimpl.C: fix redrawing of insets
9158 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9160 * text2.C (updateCounters): fix bug 668
9162 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9164 * text3.C (dispatch): Do not make the buffer dirty when moving the
9167 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9169 * vc-backend.C: STRCONV
9172 * text2.C (setCounter): STRCONV
9174 * paragraph.C (asString): STRCONV
9176 * lyxlength.C (asString): STRCONV
9177 (asLatexString): ditto
9179 * lyxgluelength.C (asString): STRCONV
9180 (asLatexString): ditto
9182 * lyxfunc.C (dispatch): STRCONV
9185 * lyxfont.C (stateText): STRCONV
9187 * importer.C (Import): STRCONV
9189 * counters.C (labelItem): STRCONV
9190 (numberLabel): ditto
9191 (numberLabel): remove unused ostringstream o
9196 * bufferview_funcs.C (currentState): STRCONV
9198 * buffer.C (readFile): STRCONV
9199 (asciiParagraph): ditto
9200 (makeLaTeXFile): ditto
9202 * Spacing.C (writeEnvirBegin): STRCONV
9204 * LaTeXFeatures.C (getLanguages): STRCONV
9205 (getPackages): ditto
9207 (getBabelOptions): ditto
9208 (getTClassPreamble): ditto
9209 (getLyXSGMLEntities): ditto
9210 (getIncludedFiles): ditto
9214 (scanAuxFile): ditto
9217 * LString.h: add the STRCONV macros
9219 * BufferView_pimpl.C (savePosition): STRCONV
9220 (restorePosition): ditto
9221 (MenuInsertLyXFile): ditto
9223 * vc-backend.C (scanMaster): change from submatch[...] to
9226 * funcrequest.C: include config.h
9228 * factory.C: include config.h
9230 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9232 * box.C: include config.h
9234 * LaTeX.C (scanAuxFile): change from submatch[...] to
9238 2002-10-25 Angus Leeming <leeming@lyx.org>
9240 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9242 * ispell.[Ch] (setError): new method.
9243 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9244 Use setError() insetead of goto END.
9246 * lyx_cb.C (AutoSave): move out child process into new class
9249 2002-10-30 John Levon <levon@movementarian.org>
9251 * text3.C: make start appendix undoable
9253 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9255 * lyxlength.C (inPixels): Fix returned value.
9257 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9260 2002-10-24 Angus Leeming <leeming@lyx.org>
9262 * lyxgluelength.h: no need to forward declare BufferParams
9263 or BufferView, so don't.
9265 2002-10-21 John Levon <levon@movementarian.org>
9267 * BufferView.C: menuUndo ->undo, redo
9269 * BufferView.h: document, remove dead, make some methods private
9271 * paragraph_funcs.h:
9272 * paragraph_funcs.C:
9273 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9278 * sgml.C: move sgml open/close tag into sgml.C
9280 * bufferview_funcs.h: unused prototype
9283 * lyxfunc.C: remove unused
9286 * text.C: remove unused
9288 2002-10-21 John Levon <levon@movementarian.org>
9292 * BufferView_pimpl.h:
9293 * BufferView_pimpl.C: fix mouse wheel handling based on
9294 patch from Darren Freeman
9296 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9298 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9300 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9302 * lyxlength.C (inPixels): Fix hanfling of negative length.
9303 Fix LyXLength::MU case.
9305 2002-10-16 John Levon <levon@movementarian.org>
9307 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9309 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9311 * converter.C (view): add support for $$i (file name) and $$p
9312 (file path) for the viewer command. If $$i is not specified, then
9313 it is appended to the command (for compatibility with old syntax)
9315 2002-10-14 Juergen Vigna <jug@sad.it>
9317 * undo_funcs.C (textHandleUndo): alter the order in which the
9318 new undopar is added to the LyXText, as we have to set first
9319 the right prev/next and then add it as otherwise the rebuild of
9320 LyXText is not correct. Also reset the cursor to the right paragraph,
9321 with this IMO we could remove the hack in "redoParagraphs()".
9323 2002-10-09 Angus Leeming <leeming@lyx.org>
9325 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9326 to turn off an optimisation if a new inset is to be inserted.
9328 2002-10-11 André Pönitz <poenitz@gmx.net>
9330 * lyxtext.h: make some functions public to allow access
9331 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9333 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9335 * text3.C (dispatch): when changing layout, avoid an infinite loop
9338 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9340 * lyxrc.C (read): treat a viewer or converter command of "none" as
9343 * MenuBackend.C (expandFormats): for an update, also allow the
9344 formats that are not viewable
9346 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9347 script if it is newer than the lyxrc.defaults in user directory
9349 2002-10-07 André Pönitz <poenitz@gmx.net>
9351 * text.C: Vitaly Lipatov's small i18n fix
9353 2002-09-25 Angus Leeming <leeming@lyx.org>
9355 * ispell.h: doxygen fix.
9357 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9359 * buffer.h (readFile): Add a new argument to the method, to allow
9360 reading of old-format templates.
9362 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9364 * toc.C (getTocList): Get TOC from InsetWrap.
9366 2002-09-16 John Levon <levon@movementarian.org>
9368 * lyxfunc.C: check tabular for cut/copy too
9370 2002-09-12 John Levon <levon@movementarian.org>
9375 * factory.C: add header
9377 * paragraph_funcs.h:
9378 * paragraph_funcs.C: cleanup
9380 2002-09-11 John Levon <levon@movementarian.org>
9382 * PrinterParams.h: odd/even default to true
9384 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9386 * PrinterParams.h: update printer parameters for new xforms dialog
9388 2002-09-11 Angus Leeming <leeming@lyx.org>
9390 * lyxserver.C (read_ready): re-write to make it more transparent
9391 and to make it work in coherent fashion under Tru64 Unix.
9393 2002-09-11 André Pönitz <poenitz@gmx.net>
9397 * text3.C: implement LFUN_WORDSEL
9399 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9401 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9402 make floatlist_ a boost::shared_ptr<FloatList>
9404 * lyxtextclass.C: include FloatList.h
9405 (LyXTextClass): initialize floatlist_
9406 (TextClassTags): add TC_NOFLOAT
9407 (Read): match "nofloat" to TC_NOFLOAT and use it.
9408 (readFloat): modify call to floatlist_
9412 * FloatList.[Ch] (FloatList): remove commented out float
9414 (erase): new function
9416 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9418 * MenuBackend.C (expandToc): fix crash when there is no document
9421 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9423 * many files: Add insetwrap.
9425 2002-09-09 John Levon <levon@movementarian.org>
9427 * text2.C: remove confusing and awkward depth wraparound
9429 2002-09-09 John Levon <levon@movementarian.org>
9431 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9434 * buffer.C: remove getIncludeonlyList()
9437 * lyxfunc.C: remove headers
9439 2002-09-09 Juergen Vigna <jug@sad.it>
9441 * text.C (getColumnNearX): fix form Michael this is most
9442 probably a cut&paste bug.
9444 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9446 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9448 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9449 references, ws changes.
9451 * text2.C (init): update counters after init
9452 (insertParagraph): no need to set counter on idividual paragraphs.
9453 (setCounter): access the counters object in the textclass object
9454 on in the buffer object.
9455 (updateCounters): ditto
9457 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9458 shared_ptr<Counters> to avoid loading counters.h in all
9460 (LyXTextClass): initialize ctrs_
9461 (TextClassTags): add TC_COUNTER, and ...
9462 (Read): use it here.
9463 (CounterTags): new tags
9464 (readCounter): new function
9465 (counters): new funtion
9466 (defaultLayoutName): return a const reference
9468 * counters.C (Counters): remove contructor
9469 (newCounter): remove a couple of unneeded statements.
9470 (newCounter): simplify a bit.
9471 (numberLabel): some small formatting changes.
9473 * buffer.[Ch]: remove all traces of counters, move the Counters
9474 object to the LyXTextClass.
9476 2002-09-06 Alain Castera <castera@in2p3.fr>
9478 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9479 package to set the horizontal alignment on fixed width columns.
9482 * lyx_sty.h: added tabularnewline macro def.
9484 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9486 2002-09-06 John Levon <levon@movementarian.org>
9488 * LyXAction.C: tooltips for sub/superscript
9490 * MenuBackend.C: a bit more verbose
9492 * lyxfunc.C: tiny clean
9494 * undo_funcs.C: document undo_frozen
9496 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9498 * counters.C (Counters): add missing algorithm counter.
9500 * text2.C (setCounter): lookup the counter with layouts latexname
9501 instead of by section number.
9502 (setCounter): use a hackish way to lookup the correct enum
9504 a float name->type change
9505 reset enum couners with counter name directly instead of depth value.
9507 * counters.C (Counters): remove the push_backs, change to use the
9508 float type not the float name.
9509 (labelItem): remove unused string, float name->type change
9511 * counters.h: don't include vector, loose the enums and sects vectors
9513 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9515 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9516 (Read): add float->TC_FLOAT to textclassTags
9517 (Read): and handle it in the switch
9518 (readFloat): new function
9520 * FloatList.C (FloatList): comment out the hardcoded float
9523 * lyxlayout.h: ws change.
9525 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9527 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9529 2002-09-03 Angus Leeming <leeming@lyx.org>
9531 * BufferView_pimpl.h: qualified name is not allowed in member
9532 declaration: WorkArea & Pimpl::workarea() const;
9534 * factory.C: added using std::endl directive.
9536 * text3.C: added using std::find and std::vector directives.
9538 2002-08-29 André Pönitz <poenitz@gmx.net>
9541 * text2.C: remove unused member number_of_rows
9544 * BufferView2.C: remove file, move contents to...
9545 * BufferView.C: ... here
9547 * BufferView_pimpl.C:
9548 * factory.C: move more inset creation to factory
9550 * vspace.C: avoid direct usage of LyXText, ws changes
9553 don't provide direct access to WorkArea, use two simple
9554 acessors haveSelction() and workHeight() instead
9557 2002-08-29 John Levon <levon@movementarian.org>
9559 * BufferView_pimpl.C (dispatch): do not continue when
9562 2002-08-28 André Pönitz <poenitz@gmx.net>
9564 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9567 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9569 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9571 * buffer.C: increment LYX_FORMAT to 221
9573 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9574 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9576 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9578 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9580 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * factory.C (createInset): use LyXTextClass::floats
9584 * MenuBackend.C (expandFloatListInsert):
9585 (expandFloatInsert):
9588 * text2.C (setCounter):
9590 * LaTeXFeatures.C (useFloat):
9591 (getFloatDefinitions):
9593 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9595 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9596 floatlist_, with accessor floats().
9598 * FloatList.h: remove global FloatList
9600 2002-08-26 André Pönitz <poenitz@gmx.net>
9602 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9606 * BufferView_pimpl.C:
9607 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9609 2002-08-25 John Levon <levon@movementarian.org>
9611 * LyXAction.C: fix margin note description
9613 2002-08-24 John Levon <levon@movementarian.org>
9617 * bufferview_funcs.C:
9619 * undo_funcs.C: cleanups
9621 * lyxfunc.C: disable CUT/COPY when no selection
9623 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9625 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9626 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9628 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9629 Add backward compatibility to "mono", "gray" and "no".
9631 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9633 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9634 (and file_format >= 200).
9636 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9640 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9644 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9646 * BufferView_pimpl.C:
9653 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9654 inset and code to make it work with the paragraph code. The inset
9655 can be anywhere in the paragraph, but will only do the expected
9656 thing in LaTeX if the layout file contains the parameter line
9658 (or more generally, a nonzero value) for that layout.
9660 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9662 * paragraph.h: remove the declaration of undefined counters class
9665 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9667 * text2.C (setCounter): fixed enumeration mis-count as reported by
9668 Dr. Richard Hawkins.
9670 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9672 * paragraph_funcs.h: remove some unneeded includes
9674 * text.C (backspace): pasteParagraph now in global scipe
9676 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9677 (pasteSelection): ditto
9679 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9680 * paragraph_funcs.C (pasteParagraph): ... here
9682 2002-08-20 André Pönitz <poenitz@gmx.net>
9684 * commandtags.h: new LFUNs for swapping/copying table row/colums
9687 * lyxfunc.C: support for new lfuns
9689 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9692 * buffer.[Ch]: remove NO_COMPABILITY stuff
9694 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9696 * boost.C (throw_exception): new file, with helper function for
9697 boost compiled without exceptions.
9702 * ParameterStruct.h:
9703 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9705 * bufferlist.C (emergencyWriteAll): use boost bind
9707 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9709 * text.C: include paragraph_funcs.h
9710 (breakParagraph): breakParagraph is now in global scope
9712 * paragraph_funcs.[Ch]: new files
9714 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9717 * buffer.C: include paragraph_funcs.h
9718 (insertStringAsLines): breakParagraph is now in global scope
9720 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9723 * CutAndPaste.C: include paragraph_funcs.h
9724 (cutSelection): breakParagraphConservative is now in global scope
9725 (pasteSelection): ditto
9727 * buffer.h: declare oprator== and operator!= for
9728 Buffer::inset_iterator
9730 * bufferlist.C (emergencyWrite): don't use fmt(...)
9732 * text3.C: add using std::endl
9734 * BufferView.C (moveCursorUpdate): remove default arg
9736 2002-08-20 André Pönitz <poenitz@gmx.net>
9738 * buffer.[Ch]: move inline functions to .C
9741 * BufferView_pimpl.C:
9743 * buffer.[Ch]: use improved inset_iterator
9746 * paragraph.[Ch]: write one paragraph at a time
9748 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9750 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9751 style if style is not specified.
9753 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * text2.C (setCounter): when searching for right label for a
9756 caption, make sure to recurse to parent insets (so that a caption
9757 in a minipage in a figure float works) (bug #568)
9759 2002-08-20 André Pönitz <poenitz@gmx.net>
9761 * text3.C: new file for LyXText::dispatch() and helpers
9763 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9765 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9767 2002-08-19 André Pönitz <poenitz@gmx.net>
9770 * text.C: new LyXText::dispatch()
9772 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9774 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9776 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9778 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9781 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * Makefile.am: use $(variables) instead of @substitutions@
9785 2002-08-15 André Pönitz <poenitz@gmx.net>
9788 * BufferView_pimpl.C: streamlining mathed <-> outer world
9792 * LyXAction.C: remove unused LFUN_MATH
9794 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9796 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9798 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9800 * paragraph.C (Paragraph): reformat a bit
9801 (cutIntoMinibuffer): use builtin InsetList function instad of
9805 * buffer.C: include boost/bind.hpp, add using std::for_each
9806 (writeFileAscii): use ParagraphList iterators
9807 (validate): use for_each for validate traversal of paragraphs
9808 (getBibkeyList): use ParagraphList iterators
9809 (resizeInsets): use for_each to resizeInsetsLyXText for all
9811 (getParFromID): use ParagraphList iterators
9813 * BufferView2.C (lockInset): use paragraph list and iterators
9815 2002-08-14 John Levon <levon@movementarian.org>
9817 * lyxserver.C: remove spurious xforms include
9819 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9821 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9823 2002-08-13 André Pönitz <poenitz@gmx.net>
9826 * lyxfunc.C: further cleaning
9828 2002-08-13 André Pönitz <poenitz@gmx.net>
9830 * funcrequest.h: new constructor
9832 * funcrequest.C: move stuff here from .h
9835 * BufferView_pimpl.C:
9838 * lyxfunc.C: subsequent changes
9840 * lyxfunc.h: new view() member function
9842 * lyxfunc.C: subsequent changes
9844 2002-08-13 Angus Leeming <leeming@lyx.org>
9847 * BufferView_pimpl.C:
9855 changes due to the changed LyXView interface that now returns references
9856 to member variables not pointers.
9858 2002-08-13 Angus Leeming <leeming@lyx.org>
9860 * WordLangTuple (word, lang_code): return references to strings,
9865 * lyxtext.h: forward-declare WordLangTuple.
9870 * text.C: #include "WordLangTuple.h".
9873 * text.C: (selectNextWordToSpellcheck): constify return type.
9875 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9881 * paragraph_pimpl.h:
9884 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9886 Made updateCounter always count from start of buffer, and removed
9887 second argument (par).
9888 Reverted floats number display to '#'. Perhaps I'll try again when the
9889 code base is sanitized a bit.
9891 2002-08-12 Angus Leeming <leeming@lyx.org>
9893 * buffer.[Ch] (getLabelList): constify.
9895 2002-08-07 André Pönitz <poenitz@gmx.net>
9897 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9899 * funcrequest.h: extension to keep mouse (x,y) position
9901 2002-08-12 Juergen Vigna <jug@sad.it>
9903 * BufferView2.C (insertErrors): forbid undo when inserting error
9906 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9908 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9910 * ParagraphList.[Ch]: new files
9912 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9914 * BufferView2.C (lockInset): ParagraphList changes
9917 * bufferlist.C: ditto
9921 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9924 unused class variable counter_,
9926 * paragraph.[Ch] (getFirstCounter): delete unused function
9928 * counters.C: include LAssert.h
9929 (reset): add a new function with no arg, change other version to
9930 not have def. arg and to not allow empty arg.
9932 * text2.C (setCounter): remove empty arg from call to Counters::reset
9934 2002-08-11 John Levon <levon@movementarian.org>
9936 * Makefile.am: add WordLangTuple.h
9938 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9940 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9941 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9943 * insets/insettext.C: InsetList changes
9945 * graphics/GraphicsSupport.C (operator()): InsetList changes
9947 * toc.C (getTocList): InsetList changes
9949 * paragraph_pimpl.[Ch]: InsetList changes
9951 * paragraph.[Ch]: InsetList changes
9953 * buffer.C (inset_iterator): InsetList changes
9954 (setParagraph): ditto
9955 * buffer.h (inset_iterator): ditto
9956 * iterators.C (operator++): ditto
9957 * iterators.h: ditto
9959 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9961 * InsetList.[Ch]: new files, most InsetList handling moved out of
9964 * BufferView2.C (removeAutoInsets): InsetList changes
9966 (ChangeInsets): ditto
9968 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9970 * paragraph_pimpl.h (empty): new function
9972 * paragraph.[Ch] (empty): new function
9974 * other files: use the new Paragraph::empty function
9976 2002-08-09 John Levon <levon@movementarian.org>
9978 * lyxtext.h: remove unused refresh_height
9980 2002-08-09 John Levon <levon@movementarian.org>
9987 * paragraph.C: move sgml char escaping out of paragraph
9990 * paragraph.C: remove id setter
9994 * paragraph_pimpl.C: remove dead tex_code_break_column
9996 * bufferview_funcs.C: small cleanup
9998 * lyxfunc.C: remove dead proto
10000 * lyxtext.h: make some stuff private. Remove some dead stuff.
10002 * lyxgluelength.C: make as[LyX]String() readable
10004 2002-08-08 John Levon <levon@movementarian.org>
10009 * ToolbarDefaults.C:
10012 * toc.C: lyxaction cleanup
10014 2002-08-08 John Levon <levon@movementarian.org>
10016 * BufferView2.C: small cleanup
10019 * lyxfind.C: move unnecessary header into the .C
10021 2002-08-08 John Levon <levon@movementarian.org>
10023 * funcrequest.h: just tedious nonsense
10026 * lyx_main.C: cleanups
10029 * vspace.C: remove dead header lyx_main.h
10031 2002-08-07 Angus Leeming <leeming@lyx.org>
10034 * paragraph_pimpl.h:
10035 Forward declare class Counters in paragraph.h by moving the ctrs member
10036 variable into Paragraph::Pimpl.
10037 (counters): new method, returning a reference to pimpl_->ctrs.
10039 * text2.C: ensuing changes.
10041 2002-08-07 John Levon <levon@movementarian.org>
10043 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10045 * BufferView_pimpl.C: announce X selection on double/triple
10048 * lyx_main.C: use correct bool in batch dispatch
10050 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10052 2002-08-07 André Pönitz <poenitz@gmx.net>
10054 * funcrequest.h: new class to wrap a kb_action and its argument
10057 * BufferView_pimpl[Ch]:
10061 * lyxrc.C: subsequent changes
10064 2002-08-07 John Levon <levon@movementarian.org>
10066 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10067 document options change.
10069 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10074 * makefile.am: move counters functionality over from
10075 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10077 2002-08-06 John Levon <levon@movementarian.org>
10079 * WordLangTuple.h: new file for word + language code tuple
10090 * BufferView2.C: use WordLangTuple
10093 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10095 2002-08-06 John Levon <levon@movementarian.org>
10097 * lyx_main.C: fix cmdline batch handling
10099 2002-08-06 André Pönitz <poenitz@gmx.net>
10101 * lyxrc.C: set default for show_banner to true
10103 2002-08-06 John Levon <levon@movementarian.org>
10105 * pspell.C: fix a crash, and allow new aspell to work
10107 2002-08-06 John Levon <levon@movementarian.org>
10110 * kbmap.C: small cleanup
10113 * vspace.C: add const
10115 2002-08-05 John Levon <levon@movementarian.org>
10117 * LyXAction.C: back to tabular-insert
10119 2002-08-04 John Levon <levon@movementarian.org>
10122 * BufferView.C: cosmetic change
10124 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10134 * BufferView2.C: purge all "Lyx" not "LyX" strings
10137 * lyxcursor.C: attempt to add some documentation
10142 * ToolbarDefaults.C:
10143 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10144 merge with LFUN_TABULAR_INSERT
10151 * pspell.C: split up i/pspell implementations into separate
10152 files, many cleanups
10154 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10156 * text2.C: some cleanup
10158 * lyxfunc.C: don't check for isp_command == "none" any more, it
10159 didn't make any sense
10161 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10166 * makefile.am: move counters functionality over
10167 from text2.C/paragraph.[Ch] to counters.[Ch], and
10169 2002-08-02 John Levon <levon@movementarian.org>
10171 * buffer.C: s/lyxconvert/lyx2lyx/
10173 2002-08-02 Angus Leeming <leeming@lyx.org>
10175 * lyxlex.C: revert John's change as it breaks reading of the user
10178 2002-08-02 Angus Leeming <leeming@lyx.org>
10180 * importer.C (Import):
10181 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10182 changes due to LyXView::view() now returning a boost::shared_ptr.
10184 2002-08-02 John Levon <levon@movementarian.org>
10186 * lyxlex.C: small cleanup
10188 2002-08-02 John Levon <levon@movementarian.org>
10190 * text2.C (status): small cleanup, no logic change
10192 2002-08-01 John Levon <levon@movementarian.org>
10195 * buffer.C (writeFile): don't output alerts, caller
10199 * lyx_cb.C: from above
10201 * lyxfunc.C: allow to open non-existent files
10203 2002-07-31 John Levon <levon@movementarian.org>
10205 * lyxserver.C: don't let incidental errors get
10208 2002-07-30 John Levon <levon@movementarian.org>
10210 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10212 2002-07-30 John Levon <levon@movementarian.org>
10215 * lyxserver.C: remove I/O callback too
10217 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10222 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10224 * many files: strip,frontStrip -> trim,ltrim,rtrim
10226 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10228 * PrinterParams.h: remove extern containsOnly, and include
10229 support/lstrings.h instead.
10231 * LaTeX.C (scanAuxFile): modify because of strip changes
10233 * buffer.C (makeLaTeXFile): ditto
10234 * bufferparams.C (writeFile): ditt
10235 * lyxfont.C (stateText): ditto
10236 * lyxserver.C (read_ready): ditto
10237 * vc-backend.C (scanMaster): ditto
10239 * BufferView_pimpl.h: ws changes
10241 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10243 2002-07-26 André Pönitz <poenitz@gmx.net>
10245 * kb_sequence.C: remove unnedred usings
10247 2002-07-26 Juergen Vigna <jug@sad.it>
10249 * lyxfind.C (LyXReplace): we have to check better if the returned
10250 text is not of theLockingInset()->getLockingInset().
10252 2002-07-25 Juergen Vigna <jug@sad.it>
10254 * lyxfind.C (LyXReplace): don't replace if we don't get the
10257 * undo_funcs.C (createUndo): remove debugging code.
10259 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10261 * buffer.C (parseSingleLyXformat2Token): Use default placement
10262 when reading old floats.
10264 * FloatList.C (FloatList): Change the default placement of figure
10265 and tables to "tbp".
10267 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10269 * MenuBackend.C: using std::max
10271 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * MenuBackend.C (expandToc):
10274 (expandToc2): code moved from xforms menu frontend. It is now
10275 generic and TOCs are transparent to menu frontends.
10277 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * toc.C (getTocList): protect against buf=0
10281 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10282 Menu as first parameter. Now, this calls itself recursively to
10283 expand a whole tree (this will be useful for TOC handling)
10284 (expandFloatInsert): remove 'wide' version of floats
10286 * MenuBackend.h (submenuname): returns the name of the submenu.
10287 (submenu): returns the submenu itself, provided it has been
10288 created by MenuBackend::expand
10290 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10293 insets which have noFontChange == true. (bug #172)
10295 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * BufferView_pimpl.C: add connection objects and use them...
10300 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * MenuBackend.C (expandLastfiles):
10305 (expandFloatListInsert):
10306 (expandFloatInsert):
10307 (expand): split expand in parts
10309 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10311 * lyx_gui.C: use lyx_gui::exit()
10313 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10315 * LyXAction.C: show the failing pseudo action
10317 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10319 * buffer.C (readFile): Run the lyxconvert script in order to read
10322 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10326 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10328 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10332 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10334 2002-07-22 Herbert Voss <voss@lyx.org>
10337 * lyxlength.[Ch]: add support for the vertical lengths
10339 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10341 * toc.[Ch]: std:: fixes
10343 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * lyxrc.C: do not include lyx_main.h
10347 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10353 * BufferView2.C: include "lyxlex.h"
10356 * bufferparams.h: do not #include "lyxlex.h"
10358 * lyxtextclasslist.C (Add): remove method
10359 (classlist): renamed to classlist_
10361 * paragraph_pimpl.C:
10365 * bufferview_funcs.C:
10370 * toc.C (getTocList): use BufferParams::getLyXTextClass
10372 * toc.C (getTocList): use InsetFloat::addToToc
10374 * toc.[Ch]: new files, containing helper functions to handle table
10377 * lyxfunc.C (dispatch): no need to remove spaces around command
10379 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10380 first command of the sequence; it is not very clever, but I do not
10381 have a better idea, actually
10383 * LyXAction.C (LookupFunc): make sure to remove space at the
10384 beginning and end of the command
10386 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * MenuBackend.C (getMenubar): new method: return the menubar of
10390 (read): treat differently reading of menu and menubar (in
10391 particular, the menubar has no name now)
10392 (Menu::menubar): remove
10394 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10397 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10399 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10400 a bibitem inset in a RTL paragraph.
10402 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10404 * paragraph_pimpl.C: constify
10406 * BufferView_pimpl.C:
10408 * lyxfunc.C: fix dispatch in a nicer way
10410 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * lyxfunc.C (dispatch):
10413 * BufferView_pimpl.C:
10414 * BufferView_pimpl.h:
10416 * BufferView.h: rename Dispatch() to dispatch()
10418 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10420 * lyxlayout.C (Read): honor DependsOn tag
10422 * lyxlayout.[Ch] (depends_on): new method
10424 * version.C.in: update lyx_docversion
10426 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10428 * paragraph.C (validate): remove from here...
10429 * paragraph_pimpl.C (validate): ... and move here
10430 (isTextAt): make it const
10432 * buffer.C (getLists): ws cleanup
10434 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10436 * language.C (read): Use iso8859-1 encoding in latex_lang
10437 (this prevents LyX from crashing when using iso10646-1 encoding).
10439 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10441 * text2.C (toggleInset): if cursor is inside an inset, close the
10442 inset and leave cursor _after_ it
10444 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10446 * lyxfunc.C: move minibuffer completion handling out of here
10448 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10450 * BufferView_pimpl.C:
10451 * LaTeX.C: fix dispatch calls
10453 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10455 * text.C (drawChars): Fix Arabic text rendering.
10457 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10461 * lyxfunc.C: remove message-push/pop
10465 * lyxfunc.C: rationalise some code by removing verboseDispatch
10466 in favour of a bool argument to dispatch()
10468 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * lyx_main.C (init): make sure to read symlinks as absolute paths
10472 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10475 * lyxfunc.C: no need for commandshortcut to be a member
10477 2002-07-15 André Pönitz <poenitz@gmx.net>
10479 * converter.C: add support for $$s (scripts from lib/scripts dir)
10480 * lyx_main.C: white space
10482 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10486 * lyxrc.C: remove second exit confirmation
10488 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10493 * BufferView_pimpl.h:
10494 * BufferView_pimpl.C:
10495 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10497 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10499 * MenuBackend.C (expand): add numeric shortcuts to document menu
10501 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10503 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10505 * lyxfont.C (setLyXFamily):
10512 * buffer.C (asciiParagraph): use ascii_lowercase
10514 2002-07-15 Mike Fabian <mfabian@suse.de>
10516 * lyxlex_pimpl.C (search_kw):
10517 * lyxlex.C (getLongString):
10518 * converter.h (operator<):
10519 * converter.C (operator<):
10520 * buffer.C (parseSingleLyXformat2Token):
10522 * ToolbarDefaults.C (read):
10523 * MenuBackend.C (checkShortcuts):
10525 * LColor.C (getFromGUIName):
10526 (getFromLyXName): use the compare_ascii_no_case instead of
10527 compare_no_case, because in turkish, 'i' is not the lowercase
10528 version of 'I', and thus turkish locale breaks parsing of tags.
10530 2002-07-16 Angus Leeming <leeming@lyx.org>
10532 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10533 now takes a Buffer const & argument.
10535 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView.C (resize): check there's a buffer to resize
10539 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10541 * lyxfunc.C: remove dead code
10544 * lyxserver.C: use lyx_guii::set_read_callback
10546 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10548 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10549 an inset in a RTL paragraph.
10551 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10553 * lyxfunc.C: repaint after a font size update
10555 2002-07-15 André Pönitz <poenitz@gmx.net>
10557 * lyxlength.C: inBP should be able to return negative values
10559 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10561 * lyxfunc.C: use lyx_gui::update_fonts()
10563 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10565 * lyxfunc.C: use lyx_gui::update_color()
10567 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10573 * lyxrc.C: remove file->new asks for name option, and let
10574 buffer-new take an argument
10576 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10578 * BufferView_pimpl.C: remove unneeded extra repaint()
10580 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10582 * LyXAction.C: allow command-sequence with NoBuffer
10584 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10586 2002-07-10 Angus Leeming <leeming@lyx.org>
10588 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10590 2002-07-09 Angus Leeming <leeming@lyx.org>
10592 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10594 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10596 * lengthcommon.h: whitespace
10598 * lyxfunc.C: update scrollbar after goto paragraph
10600 * lyxtext.h: factor out page break drawing, and fix it so
10601 page break/added space paints as selected nicely
10603 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10605 * BufferView_pimpl.C: add FIXMEs, clean up a little
10607 2002-07-09 André Pönitz <poenitz@gmx.net>
10609 * lyxfont.[Ch]: support for wasy symbols
10611 2002-07-08 André Pönitz <poenitz@gmx.net>
10613 * BufferView_pimpl.C: apply John's patch for #93.
10615 2002-07-05 Angus Leeming <leeming@lyx.org>
10617 * BufferView_pimpl.C (buffer): generate previews if desired.
10619 * LColor.h: add "preview" to the color enum.
10621 * LColor.C (LColor): add a corresponding entry to the items array.
10623 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10626 2002-07-05 Angus Leeming <leeming@lyx.org>
10628 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10629 The body of the code is now in the method that is passed an ostream &
10630 rather than a file name.
10631 Pass an additional only_preamble parameter, useful for the forthcoming
10634 2002-07-03 André Pönitz <poenitz@gmx.net>
10636 * lyxfunc.C: simplify getStatus() a bit for math stuff
10638 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10642 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * text.C (changeRegionCase): do not change case of all the
10645 document when region ends at paragraph end (bug #461)
10647 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * paragraph.C (startTeXParParams):
10650 (endTeXParParams): add \protect when necessary
10652 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10654 * BufferView_pimpl.C (workAreaExpose): remove warning
10656 2002-06-27 Angus Leeming <leeming@lyx.org>
10658 * Makefile.am: add lyxlayout_ptr_fwd.h.
10660 2002-06-26 André Pönitz <poenitz@gmx.net>
10662 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10664 2002-06-25 Angus Leeming <leeming@lyx.org>
10666 * lyxfunc.C (dispatch): Comment out the call to
10667 grfx::GCache::changeDisplay. The method no longer exists now that the
10668 pixmap generation part of the graphics loader has been moved into
10671 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10673 * text2.C: layout as layout
10675 * text.C: layout as layout
10677 * tabular.C (OldFormatRead): layout as layout
10679 * paragraph_pimpl.C (TeXDeeper): layout as layout
10680 (realizeFont): layout as layout
10682 * paragraph.C (writeFile): layout as layout
10683 (validate): layout as layout
10684 (getFont): layout as layout
10685 (getLabelFont): layout as layout
10686 (getLayoutFont): layout as layout
10687 (breakParagraph): layout as layout
10688 (stripLeadingSpaces): layout as layout
10689 (getEndLabel): layout as layout
10690 (getMaxDepthAfter): layout as layout
10691 (applyLayout): layout as layout
10692 (TeXOnePar): layout as layout
10693 (simpleTeXOnePar): layout as layout
10694 (TeXEnvironment): layout as layout
10695 (layout): layout as layout
10696 (layout): layout as layout
10698 * lyxtextclass.C (compare_name): new functor to work with
10699 shared_ptr, layout as layout
10700 (Read): layout as layout
10701 (hasLayout): layout as layout
10702 (operator): layout as layout
10703 (delete_layout): layout as layout
10704 (defaultLayout): layout as layout
10706 * lyxlayout_ptr_fwd.h: new file
10708 * lyxlayout.C (Read): layout as layout
10710 * lyx_cb.C (MenuInsertLabel): layout as layout
10712 * bufferlist.C (newFile): layout as layout
10714 * buffer.C (readLyXformat2): layout as layout
10715 (parseSingleLyXformat2Token): layout as layout
10716 (insertStringAsLines): layout as layout
10717 (asciiParagraph): layout as layout
10718 (latexParagraphs): layout as layout
10719 (makeLinuxDocFile): layout as layout
10720 (simpleLinuxDocOnePar): layout as layout
10721 (makeDocBookFile): layout as layout
10722 (simpleDocBookOnePar): layout as layout
10723 (getLists): layout as layout
10725 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10727 * CutAndPaste.C (cutSelection): layout as layout
10728 (pasteSelection): layout as layout
10729 (SwitchLayoutsBetweenClasses): layout as layout
10731 * BufferView_pimpl.C (Dispatch): layout as layout
10732 (smartQuote): layout as layout
10734 * BufferView2.C (unlockInset): layout as layout
10736 2002-06-24 André Pönitz <poenitz@gmx.net>
10738 * lyxfunc.C: fix #487
10740 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10744 * lyxfunc.C: remove display_shortcuts, show_banner
10746 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10748 * Buffer_pimpl.C: oops, update on resize
10750 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10757 * BufferView.C: use repaint()
10759 * BufferView_pimpl.h:
10760 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10761 as it's a clearer description. Remove superfluous
10764 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10766 * text.C: fix bug 488. Not ideal, but getting
10767 getWord() to work properly for the insets that
10768 matter is more difficult ...
10770 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C:
10775 * lyxfunc.C: remove the six million index lyxfuncs to just
10776 one, and DTRT (bug 458)
10778 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10782 * BufferView_pimpl.h:
10783 * BufferView_pimpl.C: clean up resize() stuff,
10784 and unnecessary updateScreen()s
10786 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10790 * BufferView_pimpl.h:
10791 * BufferView_pimpl.C:
10794 * minibuffer.C: remove focus management of workarea,
10795 not needed. Use screen's greyOut()
10797 2002-06-17 Herbert Voss <voss@lyx.org>
10799 * converter.C: (convert) do not post a message, when converting
10800 fails, let the calling function decide what to do in this case
10802 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10804 * lyxfunc.C: tidy up a little
10806 2002-06-16 <alstrup@diku.dk>
10808 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10809 Got rid of FORMS_H_LOCATION include. Now we are
10812 2002-06-15 LyX Development team <lyx@rilke>
10814 * buffer.[Ch] (sgmlOpenTag):
10815 (sgmlCloseTag): Added support for avoiding pernicious mixed
10816 content. Return number of lines written.
10818 (makeLinuxDocFile):
10819 (makeDocBookFile): Fixed calls to sgml*Tag.
10820 Simple white space clean.
10822 (simpleDocBookOnePar): Simple white space clean.
10824 * tabular.[Ch] (docBook): Renamed to docbook and got another
10825 argument to related with the pernicious mixed content.
10827 (docbookRow): Fixed calls for docbook inset method.
10829 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10831 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10832 so it's X11 independent.
10836 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10838 2002-06-15 Lyx Development team <lyx@electronia>
10840 * intl.h: Renamed getTrans to getTransManager.
10842 2002-06-14 Angus Leeming <leeming@lyx.org>
10844 * Makefile.am: nuke forgotten stl_string_fwd.h.
10846 2002-06-12 Angus Leeming <leeming@lyx.org>
10848 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10850 2002-06-13 Angus Leeming <leeming@lyx.org>
10853 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10855 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10857 * kbmap.C (getiso): add support for cyrillic and greek
10859 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10863 * BufferView_pimpl.h:
10864 * BufferView_pimpl.C: move bogus scrolling logic
10867 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.C: view->resize() change
10872 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10874 * BufferView_pimpl.C: topCursorVisible
10877 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10881 * lyx_gui.C: move to frontends/
10885 * lyx_main.C: changes from above
10887 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10894 * lyx_main.C: minor tidy
10896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10898 * BufferView_pimpl.h:
10899 * BufferView_pimpl.C:
10901 * BufferView.C: make painter() const,
10904 * BufferView2.C: use screen() accessor
10907 * lyx_main.C: some minor cleanup
10909 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10911 * BufferView_pimpl.h:
10912 * BufferView_pimpl.C: remove enter/leaveView,
10915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10920 * BufferView_pimpl.h:
10921 * BufferView_pimpl.C: only construct screen once,
10924 * lyxrc.C: remove pointless comment
10926 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10929 * BufferView.C: remove active() and belowMouse()
10931 * BufferView_pimpl.h:
10932 * BufferView_pimpl.C: use workarea() not workarea_,
10933 and make it use a scoped_ptr instead
10935 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10937 * lyx_gui.C: add debug message on BadWindow
10939 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * sp_spell.C: fdopen is not part of the C++ standard.
10943 * paragraph.C (InsetIterator): use >= instead of ==
10945 2002-06-07 Angus Leeming <leeming@lyx.org>
10947 Fixes needed to compile with Compaq cxx 6.5.
10948 * BufferView_pimpl.C:
10955 * lyxtextclasslist.C:
10960 all c-library variables have been moved into namespace std. Wrap
10961 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10966 Add a using std::abs declaration.
10968 * kbmap.h (modifier_pair):
10969 * paragraph.h (InsetTable, InsetList):
10970 * lyxfont.h (FontBits):
10971 type definition made public.
10973 * bufferlist.C (emergencyWriteAll): the compiler complains that
10974 there is more than one possible lyx::class_fun template to choose from.
10975 I re-named the void specialisation as lyx::void_class_fun.
10977 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10979 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10980 the compiler is is unable to find tostr in write_attribute.
10982 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * buffer.C (sgmlError): hide #warning
10986 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10988 * xtl/*: get rid of xtl, which is not in use anyway
10990 * LyXAction.C (init):
10991 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10992 were unimplemented xtl experimentation
10994 2002-06-04 André Pönitz <poenitz@gmx.net>
10996 * lyxfunc.C: disable array operation on simple formulae
10998 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11000 * converter.C: constify a bit
11002 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11004 * lyx_gui.C: check xforms version correctly
11006 2002-04-30 Herbert Voss <voss@lyx.org>
11008 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11011 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11013 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11014 attempt to register it with a VCS)
11016 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * lyx_main.C (init): honor variables LYX_DIR_13x and
11021 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11025 * lyx_main.C: fix a crash on bad command line,
11026 and give a useful exit status on error
11028 * lyxfunc.C (doImport): allow -i lyx to work
11030 2002-03-30 André Pönitz <poenitz@gmx.net>
11032 * lyxfunc.C: mathed font changes
11034 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11049 * trans_mgr.h: srcdocs, and some minor cleanups
11051 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11053 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11054 call getFont all the time)
11056 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11058 * switch from SigC signals to boost::signals
11060 2002-05-29 André Pönitz <poenitz@gmx.net>
11062 * paragraph_pimpl.C (getChar): don't call size() too often...
11064 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * paragraph_pimpl.C (insertChar): do not try to update tables when
11067 appending (pos == size())
11069 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11070 in order to reduce drastically the number of comparisons needed to
11071 parse a large document
11073 2002-05-29 André Pönitz <poenitz@gmx.net>
11079 * textclasslist.[Ch]:
11080 * sp_ispell.h: whitespace change
11082 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11085 lyxaction directly now.
11087 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11091 * lyxvc.C: remove unused headers
11093 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11100 * undo_funcs.C: some cleanups. Use shared_ptr
11101 and a template for the undo stacks.
11103 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11105 * BufferView_pimpl.h:
11106 * BufferView_pimpl.C:
11113 * text2.C: use key_state/mouse_state
11115 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11120 * chset.C: change include order
11121 (loadFile): use boost regex and get rid of LRegex and LSubstring
11123 * Makefile.am (BOOST_LIBS): new variable
11124 (lyx_LDADD): use it
11126 * LaTeX.C: change include order.
11127 (scanAuxFile): use boost regex and get rid of LRegex and
11131 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11136 * FontInfo.C: moved to frontends/xforms/
11139 * FontLoader.C: moved into frontends for GUIIzation
11144 * lyxfunc.C: changes from above
11146 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11148 * LColor.C: remove spurious X include
11150 * BufferView_pimpl.C:
11155 * text2.C: move font metrics to frontends/
11157 2002-05-24 Juergen Vigna <jug@sad.it>
11159 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11160 setting the undo_cursor.
11162 * ParagraphParameters.h: include local includes first.
11164 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11166 * BufferView_pimpl.C:
11167 * BufferView_pimpl.h:
11171 * screen.C: move WorkArea into frontends/
11177 * BufferView2.C: move LyXScreen into frontends/
11181 * lyx_gui.C: move lyxlookup into frontends/xforms/
11183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11186 * BufferView_pimpl.C:
11196 * bufferview_funcs.C:
11209 * vc-backend.C: move LyX/XFormsView into frontends/
11211 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11223 * text2.C: move Painter to frontends/
11225 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11227 * buffer.C: comment out some some code that depend upon lyx_format
11230 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11231 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11233 * buffer.h (NO_COMPABILITY): turn off compability
11235 * ColorHandler.C: include scoped_array.hpp
11237 * font.C: Use more specific smart_ptr header.
11240 * ShareContainer.h: ditto
11241 * lyx_main.h: ditto
11243 * FontInfo.h: ditto
11244 * BufferView_pimpl.h: ditto
11245 * ColorHandler.h: ditto
11247 * kbmap.C (defkey): change call to shared_ptr::reset
11249 2002-05-21 Juergen Vigna <jug@sad.it>
11251 * buffer.C (insertErtContents): fix to insert ert asis if it is
11252 non empty. Skip it completely if it contains only whitespaces.
11254 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11256 * BufferView_pimpl.C:
11257 * BufferView2.C: clear selection on paste (bug 393)
11259 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * DepTable.C: include ctime
11263 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11265 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11267 2002-05-14 Juergen Vigna <jug@sad.it>
11269 * text.C (breakParagraph): fixed function to honor the keepempty
11270 layout in the right maner and also to permit the right breaking
11271 algorithm on empty or non empyt keepempty paragraphs.
11273 * paragraph.C (breakParagraph): we have to check also if the par
11274 is really empty (!size()) for isempty otherwise we do the wrong
11277 2002-05-10 Juergen Vigna <jug@sad.it>
11279 * buffer.[Ch] : The following are only changes to the ert
11280 compatibility read reading old LaTeX layout and font stuff and
11281 convert it to ERTInsets.
11283 * buffer.h: added isErtInset().
11285 * buffer.C (struct ErtComp): add a fromlayout bool to check
11286 if we're inside a LaTeX layout.
11287 (isErtInset): new helper function.
11288 (insertErtContents): look for other ert insets before this one
11289 and insert the contents there, so that we don't have subsequent
11290 ERT insets with nothing between them. This way we create only one
11291 inset with multiple paragraphs. Also check if we don't insert only
11292 spaces ' ' as they are ignored anyway afterwards in the .tex file
11293 so if we have only spaces we will ignore this latex part in the
11295 (parseSingleLyXformat2Token \\layout): better compatibility when
11296 reading layout-latex stuff.
11297 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11299 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11300 stuff after reading the inset only get the information back from
11303 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11305 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11307 * LaTeXFeatures.C (getBabelOptions): New method.
11309 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * BufferView_pimpl.C (Dispatch): work around missing argument for
11314 2002-05-08 Juergen Vigna <jug@sad.it>
11316 * text.C (leftMargin): handle paragraph leftindent.
11318 * paragraph.C (writeFile): write the new \\leftindent tag.
11319 (validate): handle leftindent code.
11320 (TeXEnvironment): handle paragraphleftindent code again.
11322 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11324 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11325 for paragrap_extra indent code and new token \\leftindent.
11326 (latexParagraphs): handle the leftindent as environment.
11328 * ParameterStruct.h: added leftindent support.
11330 * ParagraphParameters.C (leftIndent): added support functions for
11331 the paragraph left indent.
11333 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11336 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11338 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11341 * text.C (computeBidiTables): No bidi in insetERT.
11343 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11346 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * version.C.in: pre 5
11350 2002-05-02 José Matos <jamatos@fep.up.pt>
11351 * buffer.C (makeDocBookFile): white space changes, add newline to
11353 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11355 * tabular.C (docBook): fix typo.
11357 2002-05-03 Juergen Vigna <jug@sad.it>
11359 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11360 change in LyXText as we can not be sure it was not freed.
11361 (drawOneRow): remove unused code.
11363 * text.C (drawInset): redo the calculation of the need_break_row as
11364 it could have a row which was already freed.
11365 (draw): look at the return value of drawInset and return false if
11366 it also returned false.
11367 (paintRowText): look at the return value of draw and return false if
11368 it also returned false.
11370 * lyxtext.h: added bool return type to drawInset() and draw() so that
11371 if we have a change in the row so that the rowbreak has to be redone
11372 we abort drawing as it will be called again.
11374 2002-05-02 Juergen Vigna <jug@sad.it>
11376 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11377 a change in the maintext also if we're inside an inset.
11378 (Dispatch): set the cursor again after a break line and after the
11379 screen has been updated as it could be we're in a different row.
11381 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11382 to set the cursor behind the pargraph with > size().
11383 (setCursor): check also for the same paragraph when checking where
11384 to put the cursor if we have a NFR inset.
11386 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11387 parts of layout read further up as it still was in the wrong
11390 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * screen.C (drawFromTo): change sine fullRebreak always return
11395 * buffer.C (parseSingleLyXformat2Token): reindent some
11397 * BufferView_pimpl.C (update): change since fullRebreak always
11399 (Dispatch): git rid of the last hardcoded "Standard"s.
11401 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11403 * text2.[Ch] (fullRebreak): make it return void now that we always
11406 2002-04-30 Juergen Vigna <jug@sad.it>
11408 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11409 ert compatibility check for "latex" layout.
11411 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11413 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11414 minipages: use col% instead of p%, and also use the current font.
11415 (makeLaTeXFile): Fix use babel condition.
11416 (parseSingleLyXformat2Token): Correct font when reading old floats.
11418 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11420 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11421 inserting list of floats.
11423 2002-04-25 Herbert Voss <voss@lyx.org>
11425 * MenuBackend.C (expand): don't add the graphics extensions to the
11428 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11431 non-existing layout, do not complain if it was the default layout
11432 of the original class (bug #342)
11434 2002-04-24 Juergen Vigna <jug@sad.it>
11436 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11437 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11439 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11441 * buffer.C (getBibkeyList): If using \bibliography, return the
11442 option field with the reference itself. Enables us to provide natbib
11443 support when using \bibliography.
11445 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11447 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11449 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11450 natbib is provided by the LaTeX class.
11452 2002-04-23 Juergen Vigna <jug@sad.it>
11454 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11457 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11459 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11461 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11463 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11464 ensuremath around textordmasculine, textordfeminine and
11467 2002-04-19 Juergen Vigna <jug@sad.it>
11469 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11470 reinitializing the buffer otherwise row-dimensions may be wrong.
11471 (update): reset also the selection cursors if they do exits otherwise
11472 their x/y positions may be wrong.
11474 * text2.C (cursorDown): don't enter the inset if we came from a row
11475 above and are one row over the inset.
11477 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11478 really leaving an inset.
11480 2002-04-18 Juergen Vigna <jug@sad.it>
11482 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11483 of the selected paragraph does not have the selected layout also if
11486 * text2.C (setLayout): fixed bug which did not change last selected
11489 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11490 changed the read and substituted \\end_float with \\end_inset!
11492 * BufferView_pimpl.C (cursorPrevious):
11493 (cursorNext): fixed to make it work with rows heigher than the work
11494 area without moving the cursor only the draw of the row.
11495 (workAreaMotionNotify): fix jumping over high rows.
11497 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11499 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11502 2002-04-16 Juergen Vigna <jug@sad.it>
11504 * text2.C (setCursor): set also the irow().
11505 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11507 (cursorDown): support for locking an inset if the x_fix value goes
11508 inside it. That way I can transverse insets too with cursor up/down.
11510 * lyxrow.h: added irow helper function same as other (i) functions.
11512 * BufferView_pimpl.C (cursorPrevious):
11513 (cursorNext): fixed for insets!
11515 2002-04-15 Juergen Vigna <jug@sad.it>
11517 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11518 position otherwise it is wrong in some cases.
11520 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11521 inside the inset before the call.
11523 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11525 * buffer.[Ch] (getBibkeyList): make it const.
11527 2002-04-12 Juergen Vigna <jug@sad.it>
11529 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11531 * text2.C (getCursorX): new helper function
11532 (setCursor): compute also ix_
11533 (setCursorFromCoordinates): set also ix.
11535 * lyxcursor.h: added ix_ and helper functions.
11537 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11539 * buffer.C (insertStringAsLines): dont break paragraph if the this
11540 paragraph is inside an inset which does not permit it!
11542 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11543 also with no chars on this paragraph.
11544 (paintRowText): only paint stuff if it's inside the workarea!
11546 * paragraph.C (breakParagraph): honor keepempty flag and break the
11547 paragraph always below not above.
11549 * BufferView2.C (unlockInset): update the paragraph layout on inset
11550 unlock as we changed paragraph in such a case.
11552 * lyxfind.C (LyXFind): clear the former selection if not found!
11554 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11555 again called in insertChar().
11557 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11558 an inset which uses the whole row!
11559 (rightMargin): ditto.
11560 (insertChar): force a rebreak if we inserted an inset!
11562 2002-03-28 Herbert Voss <voss@lyx.org>
11564 * lyxlength.[Ch]: add inBP() to get the right PS-point
11565 units (BigPoint). With inPixels we have rounding errors
11567 2002-04-11 Juergen Vigna <jug@sad.it>
11569 * text2.C (setCursorFromCoordinates): set iy to the right value.
11570 (setCursor): add check if row->previous exists!
11572 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11573 an old float_type as this was the case in the old code!
11575 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11577 * BufferView2.C (showLockedInsetCursor): use iy
11578 (fitLockedInsetCursor): ditto
11580 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11581 locked insets as there we have the right value now.
11583 * lyxcursor.C: added iy_ variable and iy functions to set to the
11584 baseline of cursor-y of the locked inset.
11586 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11587 (setCursor): fixed for insets which need a full row.
11589 * text.C (rowLastPrintable): don't ignore the last space when before
11590 an inset which needs a full row.
11591 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11592 as last character of a row when before a inset which needs a full row.
11594 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * version.C.in: update date
11598 * text2.C (fullRebreak): try to always return true and see what
11601 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * MenuBackend.C (expand): use Floating::listName
11605 * FloatList.C (FloatList): add listName argument to the built-in
11608 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11609 text associated with the float.
11611 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11613 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11615 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * ShareContainer.h: add a couple of missing typenames.
11619 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11621 * lyxrc.C (getDescription): use _() correctly rather than N_().
11623 2002-03-28 Herbert Voss <voss@lyx.org>
11625 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11626 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11628 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11630 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11631 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11633 2002-03-29 Juergen Vigna <jug@sad.it>
11635 * lyxfunc.C (dispatch): add a missing fitCursor call.
11637 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11638 it was scrolled by a cursor move, so return the bool status.
11640 * BufferView.C (fitCursor): return the bool flag also to the outside
11641 world as this is needed.
11643 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11645 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11646 call the edit() as it is not needed (and wrong) IMO.
11647 (workAreaButtonPress): set the screen_first variable before evt.
11648 unlock the inset as this may change screen_first and then we have
11649 a wrong y position for the click!
11651 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11653 * MenuBackend.C (expand): another translation that I missed
11655 2002-03-28 Juergen Vigna <jug@sad.it>
11657 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11659 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11661 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11665 * MenuBackend.C (expand): fix export/view/update when there is no
11668 2002-03-27 Herbert Voss <voss@lyx.org>
11670 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11673 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * bufferview_funcs.C (currentState): only show paragraph number
11676 for is DEVEL_VERSION is set.
11678 * lyxfunc.C (dispatch): put warning in INFO channel
11680 * MenuBackend.C (expand): translate the name of floats
11682 * FloatList.C (FloatList): mark the float names for translation
11684 * converter.C (convert): use LibScriptSearch
11686 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11688 * MenuBackend.C (defaults): fix default menu (we might as well get
11691 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11696 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * lyxvc.C: reorder includes.
11700 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11702 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11705 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11707 * CutAndPaste.C: change layouts earlier on paste
11708 to avoid crashing when calling getFont()
11710 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11712 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11715 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * WorkArea.C: remove 'Pending' debug message.
11719 * most files: ws cleanup
11721 * buffer.[Ch]: ws changes
11723 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11725 2002-03-21 Juergen Vigna <jug@sad.it>
11727 * tabular.C (SetMultiColumn): collapse also the contents of the
11728 cells and set the last border right. Added a Buffer const * param.
11730 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11735 2002-03-19 Juergen Vigna <jug@sad.it>
11737 * text2.C (clearSelection): reset also xsel_cache.
11739 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11740 where it needs to be called (John tells us to do so too :)
11741 (selectionLost): reset sel_cache.
11743 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11745 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * text2.C (setCursorIntern): put debuging code in INSETS channel
11749 2002-03-19 André Pönitz <poenitz@gmx.net>
11751 * lyxfunc.C: tiny whitespace change
11753 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11755 * ToolbarDefaults.C (init):
11756 * LyXAction.C (init):
11758 * BufferView_pimpl.C (Dispatch):
11759 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11761 2002-03-19 Allan Rae <rae@lyx.org>
11763 * exporter.C (Export): removeAutoInsets before doing anything else.
11764 While I've just introduced a dependency on BufferView this really is
11765 the best place to clean the buffer otherwise you need to cleanup in
11766 a dozen places before calling export or cleanup in a dozen functions
11769 * converter.C (runLaTeX):
11770 (scanLog): Better handling of removeAutoInsets and screen updates.
11772 * lyxfunc.C (dispatch): small whitespace changes
11774 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * WorkArea.C (C_WorkAreaEvent): return a value.
11777 (event_cb): return 1 if we handled the event, 0 otherwise.
11779 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11781 2002-03-18 Juergen Vigna <jug@sad.it>
11783 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11784 (GetAdditionalWidth): ditto.
11785 (RightLine): ditto.
11788 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11789 inset if we're there actually (probably not used right now but this
11790 is the direction to go for unifying code).
11791 (paste): disable code to clear the selection.
11793 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11794 inside an InsetText and move the check further up as it is in the
11797 * text2.C (pasteSelection): set a selection over the pasted text.
11799 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11801 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11802 and libgraphics to build on Cygwin.
11804 2002-03-15 Juergen Vigna <jug@sad.it>
11806 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11807 inserting an Inset into the paragraph. I know this is not the best
11808 fix but we already use current_view in CutAndPaste so we will remove
11809 all of it's using at the same time.
11811 * buffer.C (sgmlError): deactivated function till it is rewritten in
11812 the right mode, now it can create problems.
11814 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11815 before accessing it.
11817 2002-03-14 Juergen Vigna <jug@sad.it>
11819 * undo_funcs.C (textHandleUndo): do the right thing when updating
11820 the inset after the undo/redo.
11822 * text2.C (setCursor): just some testcode for #44 not ready yet.
11824 * undo_funcs.C (textHandleUndo): set the next() and previous()
11825 pointers of the paragraph to 0 before deleting otherwise we have
11826 problems with the Paragraph::[destructor].
11828 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11829 on a paragraph insertion.
11831 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * buffer.C (asciiParagraph): use += operator for char append to
11836 * paragraph.C (getFontSettings): compare >= not just >
11837 (highestFontInRange): ditto
11840 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * paragraph.C: change several algorithm to be more appripriate for
11843 the problem domain. This is lookip in FontList and in the InsetList.
11845 2002-03-13 André Pönitz <poenitz@gmx.net>
11848 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11850 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11855 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11857 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * Painter.C (display): anon helper function, adjust code for this
11861 (pixmap): remove function.
11863 * Painter.h: remove private display variable.
11865 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11867 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11869 * WorkArea.[Ch]: remove figinset_canvas cruft.
11871 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * lyxtextclass.C (operator): add one item cache optimization.
11875 * bufferlist.h: doxy changes
11877 * bufferlist.C: ws changes
11879 * DepTable.[Ch] (ext_exist): place const in the right spot.
11881 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11883 (workAreaExpose): call resizeInsets when the with BufferView changes.
11884 (Dispatch): adjust for protectedBlank removal
11885 (specialChar): call updateInset if the insert went ok.
11887 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11888 specialChar instead.
11890 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11892 * BufferView.h: doxy change
11894 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11896 * lyxtextclass.C (operator[]): remove non-const version
11897 (defaultLayout): remove non-const version
11899 2002-03-12 Juergen Vigna <jug@sad.it>
11901 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11902 did resize the LyXText too.
11904 * buffer.C (readLyXformat2): set layout information on newly allocated
11907 * tabular.C (OldFormatRead): set layout information on the paragraph.
11909 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11911 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11913 2002-03-11 Juergen Vigna <jug@sad.it>
11915 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11917 (resizeCurrentBuffer): force also the insets to resize themselfes.
11918 (moveCursorUpdate): fixed up for InsetText.
11920 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11923 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11924 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11925 value of Dialogs::tooltipsEnabled().
11926 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11928 2002-03-08 Juergen Vigna <jug@sad.it>
11930 * BufferView_pimpl.C (updateInset): update inset inside inset also
11931 if it isn't inside theLockingInset().
11933 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11935 * buffer.C (asciiParagraph): redo some of the word and line length
11937 (getLists): look for Caption instead of caption.
11939 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * buffer.C (Buffer): initialize niceFile to true
11943 (makeLinuxDocFile):
11944 (makeDocBookFile): make sure niceFile is true on exit
11946 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11950 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11952 * LyXSendto.C: remove.
11953 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11954 * lyx_gui.C: remove now-redundant comment.
11955 * ColorHandler.h: remove forward declaration of class WorkArea.
11956 * lyxfunc.C: remove #include "WorkArea.h".
11958 2002-03-07 Juergen Vigna <jug@sad.it>
11960 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11961 got moved away with the DEPM and also set the inset_owner always
11962 right which before could have been omitted.
11964 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11967 wanted layout is not found.
11969 2002-03-07 Juergen Vigna <jug@sad.it>
11971 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11973 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11975 * paragraph.C (breakParagraph): use default layout not layout of
11977 (Paragraph): clear ParagraphParameters.
11979 2002-03-06 Juergen Vigna <jug@sad.it>
11981 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11982 otherwise it would not be a valid lenght. Fixed a special case in
11983 the minipage compatibility read where we end the document with a
11986 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11987 was set as it could be 0 for InsetTexts first entry.
11989 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11991 * paragraph.C (writeFile): if layout is empty write out
11992 defaultLayoutName().
11994 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11995 file without named layout we set layout to defaultLayoutName().
11997 2002-03-06 Juergen Vigna <jug@sad.it>
11999 * CutAndPaste.C (copySelection): set layout for new paragraph.
12001 * text.C (prepareToPrint): leave ERT inset left aligned
12002 (leftMargin): don't indent paragraphs inside ERT insets
12004 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12006 * paragraph.C (breakParagraph): dont call clear do the work manually
12008 * paragraph.[Ch] (clear): remove function
12010 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * paragraph.C (Paragraph): dont call clear, the work has already
12015 * lyxtextclass.C (operator): assert if n is empty
12017 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12018 work manually instead.
12020 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.C: protect selectionLost against text == 0
12024 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12026 * text.C (breakParagraph): fix a setting layout to '0' problem.
12028 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12030 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12031 final location of file, for the included files, and graphics.
12033 2002-03-05 Juergen Vigna <jug@sad.it>
12035 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12037 2002-03-04 Juergen Vigna <jug@sad.it>
12039 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12041 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12042 last column of multicolumn cells.
12043 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12045 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12047 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12048 file if it doesn't go to a temporary file.
12050 * buffer.C (sgmlOpenTag):
12051 (sgmlCloseTag): remove extra newline insertion.
12053 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * text.C (getRowNearY): comment out debug msg
12057 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * text2.C: first -> first_y
12061 * text.C (getRowNearY): add some attemts at a possible
12062 optimization, not working.
12064 * tabular.[Ch]: add BufferParams to several function so that newly
12065 created paragraph can be initialized to he default layotu for the
12068 * tabular-old.C (ReadOld): add buf->params to call of Init
12070 * screen.C: rename text->first to text->first_y
12072 * paragraph.C (breakParagraph): always set layout in the broken
12075 * lyxtextclass.C (Read): remove lowercase
12078 (delete_layout): ditto
12080 * lyxtext.h: rename first -> first_y
12082 * lyxlayout.C (Read): remove lowercase
12085 (obsoleted_by): ditto
12087 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12089 * buffer.C (insertErtContents): add params are to InsetERT
12090 (parseSingleLyXformat2Token): add code to check if a paragraphs
12091 layout really exist.
12092 (parseSingleLyXformat2Token): add params to several inset
12094 (asciiParagraph): remove lowercase, do the layout comparisons with
12097 * BufferView_pimpl.C (cursorNext): first -> first_y
12098 (resizeCurrentBuffer): first -> first_y
12099 (updateScrollbar): first -> first_y
12100 (scrollCB): first -> first_y
12101 (workAreaMotionNotify): first -> first_y
12102 (workAreaButtonPress): first -> first_y
12103 (checkInsetHit): first -> first_y
12104 (cursorPrevious): first -> first_y
12105 (cursorNext): first -> first_y
12106 (Dispatch): add buffer_->params to severl inset contructors
12108 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * lyxlayout.C (Read): remove some debug info that I forgot.
12112 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12113 clean up the code slightly.
12114 (makeLinuxDocFile): ditto
12115 (makeDocBookFile): ditto
12117 * text2.C: layout as string
12119 * text.C: layout as string
12121 * paragraph_pimpl.C: layout as string
12123 * paragraph.[Ch]: layout as string
12125 * lyxtextclasslist.[Ch]: layout as string
12127 * lyxtextclass.[Ch]: layout as string
12129 * lyxtext.h: layout as string
12131 * lyxlayout.[Ch]: layout as string
12133 * lyx_cb.C: layout as string
12135 * bufferview_funcs.C: layout as string
12137 * bufferparams.C: layout as string
12139 * buffer.C: layout as string
12141 * LyXView.[Ch]: layout as string
12143 * LaTeXFeatures.[Ch]: layout as string
12145 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12147 * BufferView_pimpl.C: change current_layout to string, remove
12152 (workAreaButtonRelease): layout as string
12154 * BufferView2.C (unlockInset): adjust
12156 * vspace.C (asLatexCommand): use an explict temp variable.
12158 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12160 * Makefile.am: use FRONTEND_*
12162 2002-03-01 Juergen Vigna <jug@sad.it>
12164 * tabular.C (SetWidthOfMulticolCell): changed to something better
12165 I hope but still work in progress.
12166 (recalculateMulticolumnsOfColumn): renamed function from
12167 recalculateMulticolCells as it is more appropriate now.
12168 (SetWidthOfCell): calculate multicols better.
12170 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12172 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12174 * lyxfunc.C (processKeySym): print sequence also if it is
12175 `deleted' (complete)
12177 * kbsequence.C (print): print sequence even if it is deleted
12178 (complete would be a better word, actually).
12180 * lyxfunc.C (dispatch): print complete options after a prefix key
12182 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12184 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12186 * text2.C (setCharFont): eliminate setCharFont code duplication.
12188 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12191 LFUN_TABULAR_FEATURE (bug #177)
12193 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12195 * Makefile.am: remove figure.h
12197 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12199 * Bufferview_pimpl.C:
12211 * text2.C: remove #include "lyx_gui_misc.h".
12213 * LaTeX.C: added #include <cstdio>
12215 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12217 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12218 that the paragraph following this one can have.
12220 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12222 * vspace.C (asLatexCommand): fix bogus gcc warning
12224 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12226 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12228 * text2.C (setLayout): get rid of redundant code
12230 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12232 * text2.C (incDepth): make sure depth cannot be increased beyond
12235 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12237 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12238 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12240 * PainterBase.h (image):
12241 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12242 a LyXImage const *.
12244 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView_pimpl.C:
12249 * BufferView_pimpl.h:
12269 * sp_spell.C: remove fig inset, and the crap house of
12270 cards that follows it
12272 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12277 * os2_errortable.h:
12278 * nt_defines.h: move .h into support/
12280 * vms_defines.h: remove
12282 * WorkArea.C: add space in debug output
12286 * buffer.C: add WITH_WARNINGS
12290 * bufferlist.C: s/retrive/retrieve/, add docs
12299 * chset.C: add docs
12301 * lyxgui.C: add ID to X error handler
12303 * lyxtestclass.c: fix typo
12305 2002-02-26 Juergen Vigna <jug@sad.it>
12307 * tabular_funcs.C (write_attribute): changed so that some default
12308 attributes are not written at all.
12309 (getTokenValue): set default values before trying to read the
12310 value so we have the return value always set as default if we don't
12311 find the token we search for.
12313 * tabular.C (Write): write bools as bools not as strings!
12315 2002-02-22 Juergen Vigna <jug@sad.it>
12317 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12318 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12320 * text.C (leftMargin): don't add an indent for paragraphs inside
12321 tabular cells (fix #208).
12323 2002-02-21 José Matos <jamatos@fep.up.pt>
12325 * tabular.C (docBook): fixed support for long tables.
12327 2002-02-20 Juergen Vigna <jug@sad.it>
12329 * text2.C (getFont): get the drawing font of the Inset if this
12330 paragraph is inside an inset (only important for InsetERT for now).
12332 * buffer.C (insertErtContents): use new lanugage params in ERT
12335 * CutAndPaste.C: commenting out seemingly uneeded code.
12337 2002-02-19 Allan Rae <rae@lyx.org>
12339 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12340 Iterators might be simple to use but they also get invalidated.
12341 (removeAutoInsets): renamed saved cursor tracking variables and added
12342 some comments to clarify what everything does.
12344 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12351 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12352 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12355 * vc-backend.h: remove #include "support/syscall.h"
12359 * converter.C: rearrange #includes in Lars' approved fashion.
12361 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12362 forward declare class Timeout in the header file.
12364 * XFormsView.C: changes due to the above.
12366 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12367 similar to LyXView.
12369 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12370 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12372 2002-02-18 José Matos <jamatos@fep.up.pt>
12374 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12377 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12379 * a lot of small ws changes
12380 * add a lot of using std::XXX
12381 * use std construcs some places where approp.
12382 * use some exisint stuff from lyxfunctional where approp.
12383 * Make file changes to use partial linking (lets test this now...)
12385 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12389 remove #include "support/syscontr.h" as it's redundant. Always has been.
12397 change Systemcalls::System to Systemcalls::Wait and
12398 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12399 No change of functionality, just reflects the stripped down Systemcalls
12402 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12404 * debug.[Ch]: add a GRAPHICS type to the enum.
12406 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12410 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12413 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12416 match the changes below.
12418 * text2.C (toggleInset): if there is not editable inset at cursor
12419 position, try to see if cursor is _inside_ a collapsable inset
12422 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12424 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12425 document menu has a nice checkbox
12427 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12429 * lyxlength.C (asLatexString): change PW to output as percent of
12432 * lengthcommon.C: change '%' to 't%'
12434 * lyxfunc.C (dispatch): a few comments from Martin
12436 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12440 * BufferView_pimpl.h:
12441 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12444 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * vspace.C (inPixels): fix compiler warning
12448 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * lyxfunc.C (getStatus): fix status message for disabled commands.
12452 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12454 * BufferView_pimpl.C: fix crash on close buffer
12455 during selection (#227)
12457 2002-01-27 Herbert Voss <voss@lyx.org>
12459 * buffer.C: link old Figure to new graphic inset
12461 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12463 * FontLoader.C (getFontinfo): Change the latex font names in order
12464 to match the names of type1inst.
12466 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12470 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12471 (extchanged): ditto
12473 (remove_files_with_extension): ditto
12474 (remove_file): ditto
12477 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12478 document is smaller than the work area height. Do not initialize
12479 static variables to 0.
12481 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12485 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12486 LFUN_LAYOUT_PARAGRAPHS.
12488 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12489 tabular. It is possible to provide a possible cell, which will
12490 typically be the actcell from the corresponding insettabular
12492 * lyxfunc.C (getStatus): small cleanup; disable
12493 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12496 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12500 * paragraph.C (startTeXParParams):
12501 (endTeXParParams): new methods. The LaTeX code to
12502 start/end paragraph formatting
12503 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12504 empty (fixes bug #200)
12506 * vspace.C (inPixels): adapt to the change below
12507 (inPixels): [later] more cleanups (remove unused variables)
12509 * lyxlength.C (inPixels): change to use a width and a height as
12512 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12514 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12515 Replaced with \paperwidth
12517 * DepTable.C (insert): add std:: qualifier
12519 2002-01-18 Allan Rae <rae@lyx.org>
12521 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12524 * text.C (drawInset): Turned out I didn't know enough about how
12525 rebreaking worked. This fixes most of the redraw problems. I see
12526 an occasional cursor trail when a line is broken now and the cursor
12527 placement can seem out by a few pixels also after a rebreak.
12529 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12531 * buffer.C (parseSingleLyXformat2Token): update because minipage
12532 width is now a LyXLength
12534 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12536 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12539 2002-01-17 Juergen Vigna <jug@sad.it>
12541 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12543 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12544 is set correctly and the inset is updated correctly.
12546 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12548 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12549 the beginning of the loop.
12551 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12553 * lyxrc.C: improve help for use_scalable_fonts
12555 2002-01-17 Allan Rae <rae@lyx.org>
12557 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12559 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12561 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12562 make sure to set their inset_owner to the right value (bug #171)
12564 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12567 * DepTable.C: Implement mtime checking to reduce time spent doing
12570 2002-01-16 Juergen Vigna <jug@sad.it>
12572 * tabular.C (GetAdditionalHeight): one of error fixed.
12574 * lyxrc.C (output): small fix in writing use_pspell.
12576 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12578 * sp_base.h: #include LString.h
12580 2002-01-16 Allan Rae <rae@lyx.org>
12582 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12583 Can someone check this please?
12585 * text.C (drawInset): It was possible that p.row would be removed by
12586 breakAgainOneRow upsetting a few other settings. There may be another
12587 small tweak possible by setting need_break_row = 0 when p.row has been
12588 removed but I don't know enough about the logic here.
12590 2002-01-15 Allan Rae <rae@lyx.org>
12592 * text.C (insertChar): removed conditional truism.
12594 * BufferView2.C (removeAutoInsets): More tweaks.
12595 cur_par_prev could be a stray pointer. Check for trailing empty line
12596 in case last line was cur_par and only had an error inset on it.
12598 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12600 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12603 * vc-backend.C (most methods):
12604 * exporter.C (Export):
12605 * converter.C (convert):
12607 * LyXSendto.C (SendtoApplyCB):
12608 * lyxfunc.C (dispatch):
12612 * lyx_cb.C (AutoSave):
12614 * BufferView_pimpl.C (MenuInsertLyXFile):
12615 * buffer.C (runChktex): use Buffer::filePath().
12617 * buffer.h: rename filename to filename_; rename filepath to
12618 filepath_ and make it private
12619 (filePath): new method
12621 * buffer.C (writeFile): use fileName()
12624 * lyx_main.C (init): fix starting of LyX when the binary is a
12625 link from so,ewhere else.
12627 * minibuffer.C: include <cctype> for isprint
12629 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12631 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12632 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12633 name clash with InsetCollapsable's width function.
12635 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * lastfiles.C: include <iterator>
12639 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12641 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12644 * buffer.C (makeLaTeXFile): ditto.
12645 Also make loop operation more transparent.
12647 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12649 * ToolbarDefaults.C: remove trailing comma closing namespace.
12651 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12653 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12656 * trans.C (Load): comment out unused variable, allowed.
12658 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12660 * minibuffer.[Ch] (append_char): new method to recieve input from the
12661 drop-down completion browser. If a key was pressed, then recieve this
12662 char and append it to the existing string.
12663 (peek_event): modify the positioning data passed to the completion
12664 browser so that it can be placed above the minibuffer rather than below.
12665 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12667 * LyXAction.C (init): alloe error-next for readonly documents.
12669 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12672 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12674 * bufferlist.C (readFile): create the buffer _after_ checking that
12677 * lyxfunc.C (verboseDispatch): fix handling of arguments
12679 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12681 * lyxrc.C: use string::erase() instead of initializing to "".
12684 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12686 * BufferView_pimpl.h:
12687 * BufferView_pimpl.C:
12690 * text2.C: tell X when we have made a selection for copying
12692 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12694 * BufferView_pimpl.C (MenuInsertLyXFile):
12695 * lyxfunc.C (menuNew):
12697 (doImport): add shortcuts to directory buttons
12699 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12702 * lyxfunc.C (setStatusMessage):
12703 (getStatusMessage): new methods
12704 (getStatus):use setStatusMessage instead of setErrorMessage
12705 (dispatch): when function is disabled, set error message here
12706 [instead of in getStatus previously]
12708 * BufferView_pimpl.C (workAreaButtonRelease): update
12709 toolbar/menubar here too.
12711 2002-01-13 Allan Rae <rae@lyx.org>
12713 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12714 Now seems indestructible. Remaining task is to audit all other
12715 code affected by deleteEmptyParagraphMechanism. One small quirk
12716 left is that an empty document with an error in the preamble can
12717 be made to report an error but no error box appears. I don't know
12719 (removeAutoInsets): Improved comments.
12721 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12724 * Thesaurus.C: update for Aiksaurus 0.14
12726 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12728 * text2.C (firstParagraph): removed member function, all uses
12729 replaces with ownerParagraph
12730 (redoParagraphs): here
12731 (updateInset): here
12732 (toggleAppendix): here
12733 * BufferView2.C (insertErrors): here
12734 (setCursorFromRow): here
12736 2002-01-13 Allan Rae <rae@lyx.org>
12738 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12739 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12740 There is still a way to segfault this although you may have to do this
12741 multiple times: Have an InsetERT with an unknown command in it.
12742 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12743 <down-arrow>, <Enter> again, View->DVI, BANG!
12745 * text2.C (setCursor):
12746 (deleteEmptyParagraphMechanism):
12747 * lyxtext.h (setCursor):
12748 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12749 Making use of the return value may help fix other bugs.
12751 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12753 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12755 * LyXView.C (updateMenubar): call MenuBar::update here
12756 (updateToolbar): but not here
12757 (showState): do not update toolbar/menubar
12759 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12760 should need to care about that.
12762 * lyxfunc.C (verboseDispatch): simplify a bit
12763 (getStatus): have a version which takes a pseudoaction, and
12764 another which requires a (kb_action,string).
12766 * LyXAction.C (retrieveActionArg): make it work also when action
12767 is not a pseudo-action.
12768 (getActionName): simplify a bit
12771 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12773 * lyxfunc.C (verboseDispatch): new families of methods with
12774 several ways to specify a command and a bool to indicate whether
12775 the command name and shortcut should be displayed in minibuffer
12776 (eventually, we could extend that to a finer bitmask like
12777 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12778 (dispatch): the pristine dispatch command which just, well,
12779 dispatchs! Note it still sets its result to minibuffer; I'm not
12782 * lyxfunc.h: remove setHintMessage
12784 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12786 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * BufferView_pimpl.C (specialChar): delete new inset if we have
12789 not been able to insert it.
12791 * kbmap.C: revert to using int instead of kb_action, since all we
12792 are dealing with is pseudo-actions.
12794 * LyXAction.C (searchActionArg): change to return int instead of
12795 kb_action, since the result is a pseudoaction.
12797 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12799 * buffer.C (insertErtContents): Fix (partially) the font bug.
12801 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12803 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12804 as the other one is broken on my machine!
12806 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12809 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12811 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12813 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12814 reflect their actual use. Provide compatibility code for older lyxrc
12817 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12819 change names of popup font variables in line with the changes to lyxrc.C
12821 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * buffer.C (asciiParagraph): avoid outputing a word twice after
12826 * lyxrc.C (getDescription): document that document_path and
12827 template_path can be empty.
12829 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12831 * LaTeXFeatures.C (getMacros):
12832 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12834 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12836 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12838 (getPackages): rename feature "floats" to "float". Use an array to
12839 iterate over 'simple' features (i.e. just a \usepackage). Add
12840 handling of "amsmath" (renamed from "amsstyle").
12842 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12844 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12847 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12849 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12850 FuncStaus::FuncStatus & FuncStaus::some_method().
12852 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12854 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12855 of the func_satus stuff. Edited and massaged in various ways by
12858 * lyxfunc.C (getStatus): use FuncStatus
12860 2002-01-08 Juergen Vigna <jug@sad.it>
12862 * text.C (nextBreakPoint): use function Inset::isChar().
12864 * paragraph.C (TeXOnePar): use function
12865 Inset::forceDefaultParagraphs.
12867 * buffer.C (latexParagraphs): use function
12868 Inset::forceDefaultParagraphs.
12870 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12872 * lyx_gui.C (init): set the style of the menu popups to
12873 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12875 2002-01-07 Juergen Vigna <jug@sad.it>
12877 * text.C (setHeightOfRow): small fix
12878 (prepareToPrint): don't look at alignment if we don't have the place
12881 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12883 * box.C: New file. Move the Box methods and functions out of box.h,
12884 following Lars' suggestion.
12886 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12888 * box.h: #include "support/LOstream.h", needed for inlined function.
12891 * lyxtextclasslist.C: added some using std declarations.
12893 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12895 * box.h: make signed dimensions to allow insets wider than
12896 the screen (bug #162)
12898 * BufferView_pimpl.C: add some insetHit debug
12900 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12902 * vc-backend.C: add FIXME
12904 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12906 * lyxfunc.C (getStatus): enable code for showing math font status
12909 2002-01-07 Juergen Vigna <jug@sad.it>
12911 * text.C (nextBreakPoint): removed debug output not needed anymore.
12913 2002-01-06 Juergen Vigna <jug@sad.it>
12915 * text.C (nextBreakPoint): fixed up this function we had this bug
12916 since ever but now hopefully we break row better.
12917 (insertChar): we have to check if an inset is the next char as it
12918 could now happen that a large inset is causing a break.
12920 2002-01-05 Juergen Vigna <jug@sad.it>
12922 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12923 if it doesn't like to be drawed.
12925 2002-01-04 Juergen Vigna <jug@sad.it>
12927 * BufferView2.C (lockInset): forgot to set a cursor.
12929 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12931 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12933 * FormMathsPanel.C:
12936 * form_maths_panel.C:
12937 * form_maths_panel.h:
12938 * form_maths_panel.fd: implemented sub- and super- buttons in math
12941 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12942 (or ^ space) to be used as in TeX (req'd by André).
12944 * lyxfunc.C: Allow ^ and _ again to be used both as
12945 super/subscript (mathed) and as themselves (in text).
12947 2002-01-03 Allan Rae <rae@lyx.org>
12949 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12950 "LyX" or the filename of the current buffer if it has one. This is a
12951 modified form of John Levon's patch.
12953 * XFormsView.C (setWindowTitle): also set icon title.
12955 * LyXView.h (setWindowTitle): signature changed.
12956 * XFormsView.h (setWindowTitle): ditto.
12958 2002-01-02 Juergen Vigna <jug@sad.it>
12960 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12962 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * screen.C (topCursorVisible): introduce a temp var for
12965 text->cursor.row(), handle the case where this row is null. (kindo
12968 * text2.C (setCursor): add a couple of asserts.
12970 * paragraph.h (inset_iterator): add -> operator
12972 * paragraph.[Ch] (autoDeleteInsets): remove member function
12974 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12975 cursor pos correctly and handle inset deletion by itself.
12976 (insertErrors): move iterator declaration out of for expression
12978 * lyxtextclass.C: add <algorithm>
12980 * Makefile.am: added the new files to sources, removed layout.C
12982 * layout.C: removed file
12984 * layout.h: remove LYX_DUMMY_LAYOUT
12986 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12990 * lyxtextclass.[Ch]:
12991 * lyxtextclasslist.[Ch]: new files
12993 * include order changes to a lot of files, also changes because of
12996 2001-12-27 Juergen Vigna <jug@sad.it>
12998 * buffer.C (asciiParagraph): more fixes.
13000 * tabular.C (ascii): make ascii export support export of only the
13001 data separated by a column-delimiter.
13002 (ascii): better support for ascii export.
13004 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13006 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13008 * tabular_funcs.C: use a "using std::getline" instead of the
13009 previous fix from Angus (necessary for cxx + lyxstring)
13011 2001-12-24 Juergen Vigna <jug@sad.it>
13013 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13015 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13016 problems. First check a minipage also if we have some ert-contents
13017 (not only on par->size(), second set the right depth of the paragraph
13018 on the relink to the root-paragraph-list!
13020 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13021 which then did not anymore update the main paragraphs on undo/redo!
13023 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13025 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13026 code. Support all font-changing funcs (even those which are not in
13027 menu currently). Support for reporting font settings in
13028 mathed (disabled until Andre provides a function on mathed's side).
13030 * func_status.h (toggle): small helper function to set toggle
13033 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13035 * tabular_funcs.C: getline -> std::getline
13037 2001-12-21 Juergen Vigna <jug@sad.it>
13039 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13040 accessed and could be 0 (I couldn't generate this but it seems
13043 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13045 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13046 * tabular_funcs.h: here and include iosfwd
13048 2001-12-20 Juergen Vigna <jug@sad.it>
13050 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13051 inside inset but undo_par was.
13053 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13055 * Thesaurus.C: always include <config.h> in sources.
13059 * box.h: do not include <config.h> in header files
13061 * text.C (paintLastRow): remove unused variable
13063 * text.C (transformChar):
13065 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13067 * Painter.C (text):
13068 * font.C (width): rewrite to use uppercase() instead of
13071 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13073 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13075 * lyxfind.C: clean up of find failure position change
13077 2001-12-20 Juergen Vigna <jug@sad.it>
13079 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13081 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13082 (TeXRow): added to LaTeX a single tabular row.
13083 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13084 (Latex): simplified and finally good LT-h/f support.
13085 (various_functions): just small adaptions for LT-h/f support.
13087 * tabular_funcs.[hC]: added and moved here all not classfunctions
13090 2001-12-19 Juergen Vigna <jug@sad.it>
13092 * tabular.[Ch]: better support for longtabular options (not finished
13095 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13097 * text.C (paintLastRow): use the label font instead of the font of
13098 the last character to compute the size of *_BOX. This makes more
13099 sense and avoids a crash with empty paragraphs.
13100 Use Painter::rectangle to draw EMPTY_BOX.
13102 2001-12-19 Juergen Vigna <jug@sad.it>
13104 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13105 the paragraphs if the replaced paragraph is not the first one!
13106 Tried to delete not used paragraphs but does not work yet so for
13107 now it's inside #ifdef's and by default off!
13109 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * MenuBackend.C: include "lyx_main.h" instead of declaring
13112 lastfiles (actually was declared as LastFiles* instead of a
13115 2001-12-17 Juergen Vigna <jug@sad.it>
13117 * tabular.C (AppendColumn): applied John's fix
13119 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13123 * BufferView_pimpl.h:
13124 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13127 * box.h: new start of class for above
13129 * lyxfunc.C: ignore space-only minibuffer dispatches.
13130 Show the command name when it doesn't exist
13132 * minibuffer.C: don't add empty lines to the history
13134 * minibuffer.C: add a space on dropdown completion
13136 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13138 * text.C: fix line above/below drawing in insets
13140 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13142 * lyxlength.C (LyXLength): Initialize private variables.
13144 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13146 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13147 when inserting error insets.
13149 2001-12-13 Juergen Vigna <jug@sad.it>
13151 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13152 actually sometimes the before-paragraph.
13153 (setUndo): don't clear the redostack if we're not actually undoing!
13155 2001-12-06 Juergen Vigna <jug@sad.it>
13157 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13158 and fixed redoing of main paragraph, so we can use it now ;)
13160 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13162 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13164 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13167 2001-12-13 André Pönitz <poenitz@gmx.net>
13170 * undo_func.C: minor cleanup
13172 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13174 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13175 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13176 font in urw-fonts package which is marked as -urw-fontspecific and
13177 does not work (incidentally, changing the encoding in the
13178 fonts.dir of this package to -adobe-fontspecific fixes the
13181 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13182 is a crash when undoing first paragraph (Juergen, please take a
13183 look). THis does not mean the undo fix is wrong, just that it
13186 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13187 the (Paragraph*) version when needed instead of duplicating the
13190 * text.C (workWidth): use Inset::parOwner to find out where the
13191 inset has been inserted. This is a huge performance gain for large
13192 documents with lots of insets. If Inset::parOwner is not set, fall
13193 back on the brute force method
13195 * paragraph_pimpl.C (insertInset):
13196 * paragraph.C (Paragraph):
13197 (cutIntoMinibuffer): set parOwner of insets when
13198 inserting/removing them
13200 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13202 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13208 * mathed/formulabase.C:
13209 * mathed/math_cursor.[Ch]:
13210 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13213 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * lyxlength.[Ch] (operator!=): new function
13217 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13219 * text.C (workWidth): use Inset::parOwner to find out where the
13220 inset has been inserted. This is a huge performance gain for large
13221 documents with lots of insets. If Inset::parOwner is not set, fall
13222 back on the brute force method
13224 * paragraph_pimpl.C (insertInset):
13225 * paragraph.C (Paragraph):
13226 (cutIntoMinibuffer): set parOwner of insets when
13227 inserting/removing them
13229 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13231 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13233 * tabular-old.C (getTokenValue):
13234 * tabular.C (getTokenValue):
13235 (write_attribute): new versions for LyXLength
13236 (everywhere): adjust the use of widths
13238 * tabular.h: change the type of widths from string to LyXLength
13240 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13242 * paragraph.C: fixed missing line number count when exporting
13243 Environments to LaTeX file
13245 * buffer.C: added informational message for checking line numbers.
13247 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13249 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13250 paragraph, do the 'double space' part, but not the 'empty
13253 * text.C (workWidth): small optimization
13254 (getLengthMarkerHeight): use minimal size for negative lengths.
13256 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13258 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13260 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13262 2001-12-11 André Pönitz <poenitz@gmx.net>
13265 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13267 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13269 * text2.C: keep selection on a setFont()
13271 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13273 * lyx_cb.C: another bv->text misuse, from insert label
13275 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13278 * kbsequence.C: re-instate nmodifier mask
13280 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13282 * lyx_main.h: make lyxGUI private.
13284 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13286 * lyxfind.C: place the cursor correctly on failed search
13288 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * text.C (getLengthMarkerHeight): for small heights, the arrows
13291 are not always on top/bottom of the text
13292 (drawLengthMarker): smaller arrows; take the left margin in
13293 account; draw also vfills.
13295 (paintLastRow): remove special code for vfill and standard spaces,
13296 since everything is handled in drawLengthMarker now.
13298 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * buffer.C (insertErtContents): try to handle font and language
13301 interaction a bit better.g
13303 * ColorHandler.C (updateColor): change the hash to cover the whole
13304 LColor enum, ws cleanup
13305 (getGCLinepars): ditto
13306 (getGCLinepars): only lookup in the linecache once.
13308 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13310 * iterators.C (operator++): Make the iterator more robust
13312 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13314 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13316 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13319 * text.C: better added space drawing
13321 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13324 * BufferView2.C: fix layout combo update on inset unlock
13326 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13328 * Makefile.am: don't compile unused files
13330 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13334 * LyXAction.C: remove old LFUN_LAYOUTNO
13336 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13338 * paragraph_pimpl.h:
13339 * paragraph_pimpl.C: isTextAt() doesn't need font param
13341 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13344 * lyxlex.C: little cleanup
13346 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13348 * BufferView_pimpl.C: fix insertAscii for insets
13350 2001-12-05 Juergen Vigna <jug@sad.it>
13352 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13353 set the right font on the "multi" paragraph paste!
13355 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * lyxlength.C: remove out-commented code.
13363 * BufferView_pimpl:
13377 * vc-backend.C: change "while(" to "while ("
13379 * lyxlength.[Ch]: add zero function to check if length is zero or
13381 * lyxgluelength.C: use it
13383 2001-12-05 Allan Rae <rae@lyx.org>
13385 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13386 Works for 2.95.3, from what I understand of Garst's reports this should
13387 work for other g++ versions. We're screwed if the abs(int) definition
13388 changed between bugfix releases of gcc.
13390 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13392 * text.C: fix chapter label offset !
13394 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13397 * text.C: fix hfill at end of line, clean up
13399 2001-12-04 Juergen Vigna <jug@sad.it>
13401 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13402 that we force an update of the inset and it's owners if neccessary.
13404 2001-12-03 Juergen Vigna <jug@sad.it>
13406 * text.C (rowLast): simplified code
13408 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13410 * lyxfunc.C: fix show options on timeout
13412 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * screen.C (topCursorVisible): scroll half a page when the cursor
13415 reached top of bottom of screen
13417 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13419 * minibuffer.C: deactivate on loss of focus
13421 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * vspace.[Ch] (operator!=): add operator.
13425 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13427 * BufferView_pimpl.C: refuse to open an inset when
13428 there's a selection.
13430 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13432 * BufferView_pimpl.C: allow to click on RHS of full row insets
13434 2001-11-30 Juergen Vigna <jug@sad.it>
13436 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13437 insets for undo reasons.
13439 2001-11-28 André Pönitz <poenitz@gmx.net>
13441 * vspace.[Ch]: cosmetical changes
13443 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13453 * kbsequence.C: part re-write of old kb code
13456 * WorkArea.C: remove Lgb_bug_find_hack
13458 2001-11-30 José Matos <jamatos@fep.up.pt>
13460 * buffer.C (makeDocBookFile): add a comment to point a hack.
13461 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13462 Fixed a double write of labels.
13464 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13467 * LaTeX.h Fixed bug in LaTeX class where it would not
13468 re-run latex if no depfiles were changed, but the .dvi was removed.
13470 2001-11-28 André Pönitz <poenitz@gmx.net>
13472 * all the files from the change on 2001/11/26:
13473 use lyx::layout_type instead of LyXTextClass::size_type
13474 use lyx::textclass_type instead of LyXTextClassList::size_type
13476 2001-11-29 Juergen Vigna <jug@sad.it>
13478 * text.C: added support for paragraph::isFreeSpacing()
13480 * buffer.C: same as above
13482 * paragraph.h: inserted isFreeSpacing() function to enable
13483 FreeSpacing inside InsetERT.
13485 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13486 of the paragraph's in the cut/copy buffer to 0!
13488 * text2.C (removeRow): remove the assert as it can!
13490 * lyxtext.h: added helper function firstRow returning firstrow and
13491 made firstrow private again.
13493 * BufferView2.C (lockInset): don't relock if we're already locked!
13495 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13496 the only paragraph.
13497 (removeRow): added Assert::(firstrow)
13499 * debug.C: forgot to add INSETTEXT here.
13501 2001-11-28 Juergen Vigna <jug@sad.it>
13503 * sp_spell.C (initialize): changed error text to more general
13504 spellchecker command use (not only ispell!)
13506 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13508 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13510 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13512 * vspace.C: initialise lyxgluelength on failure
13514 2001-11-28 Allan Rae <rae@lyx.org>
13516 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13517 declaration & definition that looks like a function declaration.
13519 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * BufferView2.C (copy):
13522 (copyEnvironment): do not clear the selection when doing a copy.
13524 * text.C (paintFirstRow): compilation fix
13526 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13528 * tabular.C (Latex): correct line count when writing latex.
13530 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13532 * paragraph_pimpl.h:
13533 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13536 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13540 * LColor.C: change vfillline->added_space
13542 * text.C: add markers and text for added space
13544 * vspace.C: fix comment
13546 2001-11-28 André Pönitz <poenitz@gmx.net>
13548 * paragraph.C: whitespace changes
13549 * all the other files from the change on 2001/11/26:
13550 change *::pos_type into lyx::pos_type
13552 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13554 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13555 language of the document when inserting error insets.
13557 2001-11-26 André Pönitz <poenitz@gmx.net>
13559 * BufferView_pimpl.[Ch]:
13567 * paragraph_pimpl.[Ch]:
13570 * text2.C: reduce header dependencies, introduce type for positions
13572 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13574 * <various>: change to use Alert.h
13576 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13578 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13579 when encountering an unknown token.
13580 (readLyXformat2): Show an error message if there were unknown tokens.
13582 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13585 * BufferView_pimpl.C:
13589 * text2.C: use par->isInset()
13591 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13593 * paragraph_pimpl.h:
13594 * paragraph_pimpl.C: cleanup
13596 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * text2.C (removeRow):
13599 * text.C (setHeightOfRow): remove useless (and costly) call to
13602 2001-11-20 Allan Rae <rae@lyx.org>
13604 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13605 Now need Inset*::checkInsertChar() to return true for appropriate
13606 cases so that the characters in the minibuffer will actually be
13609 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * text.C: change the order of the includes.
13612 (workWidth): initialize it at once.
13613 (workWidth): make maxw unsigned
13614 (setHeightOfRow): remove unused variable (inset)
13615 (selectSelectedWord): remove unused variable (inset)
13616 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13618 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13620 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13621 server is not running.
13623 (closeConnection): add debug info when server is disabled.
13625 * ColorHandler.C (getGCForeground): send debug message to GUI
13628 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13630 * kbmap.C (bind): modify because return conventions of
13631 kb_sequence::parse have changed.
13633 * kbsequence.C (parse): only ignore spaces and not any stupid
13634 control character. This avoids tests like s[i] <= ' ', which are
13635 guaranteed to fail with 8bit characters and signed chars.
13636 Change return code to string::npos when there have been no error
13637 (0 was a bad idea when error is at first character)
13639 2001-11-14 José Matos <jamatos@fep.up.pt>
13642 * buffer.C (simpleDocBookOnePar): removed unused argument.
13644 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13646 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13647 insets which are part of a word. Paragraph::isLetter takes care of
13648 that now. Use Paragraph::isInset to identify insets.
13649 (selectSelectedWord): do not test for hyphenation break.
13651 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13652 that protected spaces are considered as spaces.
13654 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13657 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13660 * lyxserver.C: fix it. and small cleanup.
13662 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13664 * BufferView_pimpl.C: use inline helpers
13667 * LaTeXFeatures.C: fix typos
13670 * Spacing.C: move spacing_string into class
13672 * ToolbarDefaults.C: move stuff into namespace anon
13674 * layout.h: update enum
13676 * lyxfunc.C: use better debug
13678 * minibuffer.h: fix typo
13682 * WorkArea.C: add and use Debug::WORKAREA
13686 * text2.C: code re-organisation, inline helpers
13688 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13690 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13691 std::vector.empty().
13693 2001-11-09 Allan Rae <rae@lyx.org>
13695 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13696 '\n's after tables. Tabular and ERT inset work now makes this no
13699 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13702 * minibuffer.C: fix crash, improve drop-down completion
13704 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13707 * lyxserver.C: invalidate fd's when doing endPipe()
13709 2001-11-08 José Matos <jamatos@fep.up.pt>
13711 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13712 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13715 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13717 2001-11-07 José Matos <jamatos@fep.up.pt>
13720 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13723 * buffer.C (sgmlOpenTag):
13724 * buffer.C (sgmlCloseTag): removed debug info.
13726 * buffer.h (sgmlOpenTag):
13727 * buffer.h (sgmlCloseTag): made public.
13729 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * buffer.C (saveParamsAsDefaults):
13732 * lyx_cb.C (MenuLayoutSave): remove
13734 * LyXAction.C (init):
13736 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13738 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * buffer.C (setPaperStuff): removed from here...
13742 * bufferparams.C (setPaperStuff): ... and moved there.
13744 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13748 * XFormsView.C: add support for drop-down completion
13750 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13752 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13755 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13757 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13760 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13762 * lyx_main.C: change ref to known bugs
13764 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13766 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13767 to work around older babel problems.
13769 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13771 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13773 2001-10-24 Juergen Vigna <jug@sad.it>
13775 * tabular-old.C (ReadOld): below variable changes reflected.
13777 * tabular.[Ch]: added ltType struct for longtable header/footer
13778 defines and changed all instances where they are used. Added
13779 future support for double top/bottom rows.
13781 2001-10-24 José Matos <jamatos@fep.up.pt>
13783 * buffer.h (docbookHandleCaption):
13784 * buffer.C (docbookHandleCaption): removed unused function.
13785 (makeDocBookFile): moved docbook supported version to v4.1.
13787 2001-10-24 José Matos <jamatos@fep.up.pt>
13790 * tabular.C (docbookRow): new function to export docbook code of a row.
13791 (DocBook): now honors the longtable flags.
13793 2001-10-23 José Matos <jamatos@fep.up.pt>
13796 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13797 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13799 * buffer.C (makeLinuxDocFile):
13800 (makeDocBookFile): reworked the preamble, more clean, and with
13801 support for lyx defined entities. Changed the document declaration
13802 to be more XML friendly.
13804 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13805 if we need to output XML that should be done with a filter.
13807 2001-10-22 Juergen Vigna <jug@sad.it>
13809 * sp_pspell.h (class PSpell): add alive function needed in the
13810 controller to see if the spellchecker could be started.
13812 2001-10-22 Juergen Vigna <jug@sad.it>
13814 * buffer.C (insertStringAsLines): modify the font for inserting
13815 chars in certain conditions by calling checkInsertChar(font).
13817 2001-10-19 Juergen Vigna <jug@sad.it>
13819 * text.C (workWidth): use getRow instead of wrong algorithm.
13820 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13822 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13827 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13829 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * text.C (workWidth): do not search for the exact row when
13832 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13833 optimization for big documents.
13835 2001-10-18 Juergen Vigna <jug@sad.it>
13837 * text.C (workWidth): new function with added Inset * parameter.
13839 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13843 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13844 change return type of getColumnNearX.
13847 * text.C (changeRegionCase): use uppercase/lowercase instead of
13850 (rightMargin): simplify code by factoring out the uses of
13855 (appendParagraph): use Paragraph::size_type
13857 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * vspace.C (asLatexString): add a missing break
13861 2001-10-15 Herbert Voss <voss@perce.de>
13863 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13865 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13867 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13870 2001-10-10 André Pönitz <poenitz@gmx.net>
13872 * lyxfunc.C: removed greek_kb_flag.
13874 2001-10-10 Herbert Voss <voss@perce.de>
13876 * lyx_main.C: delete global string help_lyxdir.
13878 2001-10-09 Herbert Voss <voss@perce.de>
13880 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13882 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13884 * lyx_main.C: added global string help_lyxdir.
13886 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13888 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13890 * lyxrc.C (set_font_norm_type): support iso8859-4
13892 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13894 * LaTeX.C (deplog): add another regex for MikTeX
13896 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13898 * lyxrc.C (set_font_norm_type): support iso8859-3
13900 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13904 * LaTeXFeatures.C: remove special case of french and index
13906 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13907 before \begin{document}). This solves several incompatibilities.
13909 2001-10-03 Garst Reese <reese@isn.net>
13911 * lyx_cb.C: change CheckTex error msg.
13913 2001-10-03 José Matos <jamatos@fep.up.pt>
13915 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13917 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * .cvsignore: update
13921 * lyx_main.C (commandLineVersionInfo): use new style version info.
13923 * buffer.C (writeFile):
13925 (makeLinuxDocFile):
13926 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13928 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13930 * version.h: update to use stuff in version.C
13932 * version.C.in: new file. Contains version information determined
13933 at compile time. This is a merging of version.h and
13936 2001-10-03 Juergen Vigna <jug@sad.it>
13938 * BufferView_pimpl.C (update): don't change "dirty" status in
13941 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13943 * WorkArea.C (c-tor): re-position version string slightly.
13945 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13947 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13948 revert to previous code.
13950 WorkArea.[Ch]: (show, destroySplash): methods removed.
13952 WorkArea.C: rework code so that it's an amalgam of the codes before and
13953 after the splash screen was moved to WorkArea.
13955 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * vspace.C (inPixels):
13961 * buffer.C (insertStringAsLines):
13962 (asciiParagraph): fix types to be large enough
13964 * lyxlex_pimpl.h: change member status from short to int
13966 * layout.h: fix type of endlabeltype
13969 * kbsequence.C (parse): change return type to string::size_type
13971 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13974 * Bullet.C (bulletSize):
13975 (bulletEntry): do not use short ints as parameters
13977 * BufferView2.C (insertLyXFile): change a char to an int.
13979 * WorkArea.C (WorkArea): remove unneeded floats in computation
13981 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13983 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13985 * paragraph.C (asString): Do not ignore newline/hfill chars when
13986 copying to the clipboard.
13988 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13990 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13991 after a multi-line inset.
13993 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13995 * paragraph.C (validate): Set NeedLyXFootnoteCode
13997 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13999 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14000 and decrease-error to decrease.
14002 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14004 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14005 it more readable (should be equivalent)
14007 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14009 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14011 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14013 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14014 of a cursor (row, etc.) after a character has been deleted
14015 (deleteEmptyParagraphMechanism): call the method above on _all_
14016 cursors held by the LyXText when a double space has been
14019 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14021 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14023 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14025 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14026 background. Use greyOut() and the new show() methods to toggle between
14027 the foreground and background. Add code to remove the splash after
14028 its initial showing.
14030 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14031 (create_forms): no longer call Dialogs::showSplash.
14033 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * .cvsignore: add version_info.h
14037 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * version_info.h.in: new file
14041 * Makefile.am: add version_info.h.in
14043 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14044 version_info.h instead of VERSION_INFO
14046 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14048 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14049 The ERT inset now returns string().
14051 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14053 * lyxtext.h, text.C (selectNextWord): renamed as
14054 selectNextWordToSpellcheck.
14056 * text.C (selectNextWordToSpellcheck): Modified to not select
14057 words inside an ERT inset.
14059 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14061 * lyx_cb.C (MenuLayoutSave): change a bit the question
14063 * sp_base.h: include <sys/types.h>
14065 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14067 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14069 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14071 * several files: fix typos in user-visible strings
14073 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14075 * text2.C (pasteSelection): do not set the selection, since it
14076 will be cleared later. Actually, the intent was to fix the way the
14077 selection was set, but I figured rmoving the code was just as good.
14079 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14081 * FontLoader.C (available): Check if font is available without
14084 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14086 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14088 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14090 * lyxrc.[Ch]: added display_graphics variable and associated code.
14092 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * bufferparams.C (hasClassDefaults): new method. Returns true if
14095 the buffer parameters correspond to known class defaults
14097 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14099 * XFormsView.C (show): set minimum size to the main window.
14101 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14103 * text2.C (copySelection):
14105 * lyxfind.C (LyXReplace):
14106 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14107 LyXText::selectionAsString.
14109 * paragraph.C (asString): add "label" argument to the second form
14111 * text2.C (selectionAsString): add "label" argument and pass it to
14112 Paragraph::asString.
14114 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * lyx_main.C (commandLineHelp): remove version information
14118 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14120 * lyx_main.C: add -version commandline option
14122 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14124 * paragraph.h: make the optional constructor arg required instead.
14125 some modifications to other files because of this.
14127 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14129 * lyxserver.C (C_LyXComm_callback): make it static
14131 * lyx_main.C (error_handler): make it static
14133 * lyx_gui.C (LyX_XErrHandler): make it static
14135 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14137 * WorkArea.C: make the extern "C" methods static.
14139 * Makefile.am (lyx_LDADD): simplify
14141 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14143 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14144 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14146 * LyXAction.C (init):
14147 * lyxfunc.C (dispatch): associated code removal.
14149 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14151 * lyxfont.h (isSymbolFont): shut off warning
14153 * text.C (setHeightOfRow):
14154 (getVisibleRow): fix crash with empty paragraphs which have a
14157 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14159 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14162 2001-09-04 José Matos <jamatos@fep.up.pt>
14165 * tabular.C (docbook): rename docBook method to docbook.
14167 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14169 * Makefile.am: add dependencies to main.o.
14171 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14173 * FontLoader.C (available): Return false if !lyxrc.use_gui
14175 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14177 * FontInfo.C (query):
14178 * converter.C (view):
14179 * importer.C (Import):
14180 * exporter.C (Export): Can not -> cannot.
14182 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14184 * BufferView_pimpl.C: allow to create index inset even if
14187 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14189 * buffer.C (getLists): replace boost::tie code with an explicit pair
14190 as boost::tie can break some compilers.
14192 * iterators.h: Added a std:: declaration to the return type of
14195 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14197 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14200 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14202 * iterators.[Ch]: New files. Provide paragraph iterators.
14204 * buffer.C (changeLanguage): Use paragraph iterators.
14205 (isMultiLingual): ditto
14207 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14209 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14211 * FontLoader.C: Support for cmr font.
14213 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14215 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14216 (available): New method.
14218 * FontInfo.C (getFontname): Use scalable fonts even when
14219 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14222 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14224 * converter.C (Formats::view): reverted! Incorrect fix.
14226 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14228 * converter.C (Formats::view): only output the -paper option
14229 if the dvi viewer is xdvi, thereby fixing bug #233429.
14231 2001-08-23 Herbert Voss <voss@perce>
14233 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14235 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14237 * Spacing.h (Spacing): Set space to Default on in the default
14240 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14242 * vc-backend.h (RCS::versionString): add RCS to version
14243 (CVS::versionString): add CVS to version
14245 * vc-backend.C (scanMaster): do not add CVS to version.
14246 (scanMaster): do not add RCS to version
14248 * lyxvc.C (versionString): new method
14250 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14252 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * Spacing.C (set): initialize fval
14256 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14258 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14261 2001-08-16 Juergen Vigna <jug@sad.it>
14263 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14265 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14267 * BufferView_pimpl.C:
14270 * text2.C: setParagraph takes linespacing now
14272 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14274 * LyxAction.C: add internal LFUN_CITATION_INSERT
14276 * LyXView.C: actually apply fix
14278 * bufferlist.C: fix open non-existent file
14280 * lyxfind.C: fix indentation
14282 * lyxfunc.C: remove unneeded assert, fix typo
14284 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14286 * MenuBackend.C: use "Floatname List"
14288 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14290 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14291 when converting LaTeX layout to insetERT.
14292 Generate a non-collapsed float when reading old float
14294 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14296 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14299 2001-08-13 Juergen Vigna <jug@sad.it>
14301 * text.C (fill): return 0 instead of 20 as this seems to be the more
14304 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14306 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14309 2001-08-13 Juergen Vigna <jug@sad.it>
14311 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14313 (SearchBackward): comment out the unlocking of the inset_owner this
14314 should not be needed!
14316 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14318 * Many files: Remove inherit_language, and add latex_language
14320 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14321 collapsible insets.
14323 2001-08-10 Juergen Vigna <jug@sad.it>
14325 * text.C (prepareToPrint): fixed hfill-width in draw!
14327 * BufferView2.C (selectLastWord): save the selection cursor as this
14328 now is cleared in the function LyXText::clearSelection!
14330 2001-08-08 Juergen Vigna <jug@sad.it>
14332 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14333 BACKSPACE type functions.
14335 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14336 is only cutted from the document but not put in the cut-buffer, where
14337 still the old stuff should be.
14339 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14341 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14343 * tabular.C (SetWidthOfCell): fixed special case where the width
14345 (LeftLine): handle '|' in align_special.
14347 (LeftAlreadyDrawed): ditto
14348 (SetWidthOfCell): ditto
14350 2001-08-07 Juergen Vigna <jug@sad.it>
14352 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14354 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14357 * lyxlex.[hC]: ditto
14359 2001-08-06 Juergen Vigna <jug@sad.it>
14361 * text.C (getVisibleRow): fix up row clearing a bit.
14363 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * minibuffer.C: make sure the X server sees the changes in the input.
14367 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * paragraph.C (getFont): split into...
14370 (getLabelFont): this
14371 (getLayoutFont): and this
14372 * paragraph_pimpl.C (realizeFont): calling this
14374 * text2.C (getFont): split into...
14375 (getLayoutFont): this
14376 (getLabelFont): and this
14377 (realizeFont): all three calling this
14379 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14382 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14386 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14388 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14389 layouts from the Quote inset insertion.
14391 2001-08-03 Juergen Vigna <jug@sad.it>
14393 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14395 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14396 only if status not is already CHANGED_IN_DRAW (second level).
14398 * text.C (draw): don't set the need_break_row when inside an
14401 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * buffer.C (parseSingleLyXformat2Token): handle more latex
14406 * bufferview_funcs.[hC]: change function names to
14407 begin with small char, adjust other files.
14409 2001-08-02 André Pönitz <poenitz@gmx.net>
14412 BufferView_pimpl.C: remove broken special code for math-greek
14414 2001-08-02 Juergen Vigna <jug@sad.it>
14416 * BufferView_pimpl.C (update): redone this function so that we
14417 update the text again if there was a CHANGE_IN_DRAW.
14419 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14420 (drawFromTo): added a new internal bool which is used by draw() and
14422 (general): some cursor drawing problems fixed.
14424 2001-08-01 Juergen Vigna <jug@sad.it>
14426 * lyxfind.C (LyXFind): fixed
14427 (SearchForward): ditto
14428 (SearchBackward): ditto
14430 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14431 spurius drawing of the cursor in the main area.
14433 * text2.C (status): small fix which could lead to a segfault!
14434 (clearSelection): remove unneeded BufferView param.
14436 2001-08-01 André Pönitz <poenitz@gmx.net>
14438 * lyxfunc.C: small change due to changed mathed interface
14440 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14444 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14446 * lyxfunc.c: fail gracefully if file doesn't exist
14451 * BufferView_pimpl.C: IsDirWriteable() proto changed
14453 * LyXView.C: fix updateWindowTitle() to store the last title
14455 2001-07-31 Juergen Vigna <jug@sad.it>
14457 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14458 the font (wrong since using of Paragraph::highestFontInRange).
14460 * paragraph.C (highestFontInRange): added a default_size parameter.
14462 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14463 (setHeightOfRow): reformat
14465 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * converter.[hC] + affected files: move to (inital-char)lowercase
14470 * ParagraphParameters.C (ParagraphParameters): remove commented code
14472 * PainterBase.[Ch]: remove commented code
14474 * LaTeXFeatures.h: add "bool floats" for float.sty
14476 * LaTeXFeatures.C (LaTeXFeatures): init floats
14477 (require): handle float
14478 (getPackages): do it with floats
14480 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * BufferView_pimpl.C (Dispatch): improve handling of
14483 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14485 * commandtags.h: #include lyxfont.h here temporarily to avoid
14488 * bufferlist.h: include LString.h here.
14490 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * text2.C (getStringToIndex): new method.
14494 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14496 * *: Reduced header file dependencies all over.
14498 2001-07-30 Baruch Even <baruch@lyx.org>
14500 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14502 2001-07-29 Baruch Even <baruch@lyx.org>
14504 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14506 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14508 * ParameterStruct.h (endif): add a default constructor to make
14509 sure that all variables is initialized.
14511 * ParagraphParameters.C (ParagraphParameters): adjust
14513 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14516 index; also, check that there is something to index, and that it
14517 does not span over several paragraphs.
14518 (doubleClick): use WHOLE_WORD_STRICT for double click.
14520 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14522 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14525 2001-07-26 Baruch Even <baruch@lyx.org>
14527 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14528 an InsetFig figure, backwards compatible reading of old figure code.
14530 2001-07-27 Juergen Vigna <jug@sad.it>
14532 * text2.C: font.realize function adaption.
14534 * text.C (draw): add a warnings lyxerr text if needed.
14536 * layout.C: font.realize function adaption.
14538 * language.C: add inherit_language and implement it's handlings
14540 * bufferview_funcs.C (StyleReset): remove language parameter from
14541 font creation (should be language_inherit now).
14543 * bufferparams.C (writeFile): handle ignore_language.
14545 * paragraph.C (getFontSettings): the language has to be resolved
14546 otherwise we have problems in LyXFont!
14548 * lyxfont.C (lyxWriteChanges): added document_language parameter
14549 (update): removed unneeded language parameter
14551 * paragraph.C (validate): fixed wrong output of color-package when
14552 using interface colors for certain fonts in certain environments,
14553 which should not seen as that on the final output.
14555 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14557 * BufferView_pimpl.C:
14562 * LyXAction.C: add thesaurus support
14565 * lyxfind.C: add "once" parameter, for thesaurus, to not
14566 move to the next match
14568 2001-07-26 Juergen Vigna <jug@sad.it>
14570 * lyxfont.C (realize): honor ignore_language too!
14573 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14575 * text.C (draw): one place more for ignore_language to not draw
14578 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14580 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14582 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14584 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14585 the minipage conversion problem.
14587 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14589 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14592 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * BufferView.h: don't forward declare WorkArea
14596 * BufferView.C: don't include WorkArea.h
14598 2001-07-25 André Pönitz <poenitz@gmx.net>
14602 * lyxfunc.C: new LFUN 'math-space'
14604 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14606 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * text2.C (toggleInset): call open/close
14610 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * lyxfunc.C (dispatch): add debug for the disabled case
14614 * font.C (buttonText): make similar to rectText
14616 * buffer.C (readInset): comment out parsing of insetlist and
14619 * PainterBase.C (rectText): small correction
14621 * BufferView_pimpl.C: comment out insettheorem and insetlist
14622 * LyXAction.C: ditto
14623 * commandtags.h: ditto
14625 2001-07-24 Juergen Vigna <jug@sad.it>
14627 * text.C (draw): honor the ignore_language.
14629 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14631 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14636 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14638 * lyxtext.h: remove unused (and unimplemented) methods
14640 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14642 * text.C (getVisibleRow): honor background color
14645 * Painter.h: remove default color argument for fillRectangle
14647 * text.C (backgroundColor): new method
14649 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14651 * text.C (getVisibleRow): adjust
14653 * font.[Ch] (rectText): new method, metrics
14654 (buttonText): new method, metrics
14656 * PainterBase.[hC]: make rectText and buttonText always draw and take
14659 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14661 * ToolbarDefaults.C (read):
14662 * MenuBackend.C (read): allow escaping in all strings
14664 * BufferView_pimpl.C (insertAndEditInset): new method.
14665 (Dispatch): use insertAndEditInset whenever appropriate.
14667 * BufferView_pimpl.C (insertNote): removed
14669 * BufferView_pimpl.C (smartQuote): new method, moved from
14670 BufferView; if an insetquote cannot be inserted, insert a '"'
14673 * BufferView2.C: remove insertCorrectQuote();
14675 * lyxfunc.C (getStatus): Add support for all remaingin
14676 inset-insert lfuns.
14678 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14680 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14681 command (necessary to pass " as parameter of self-insert.
14683 * text.C (selectWordWhenUnderCursor):
14684 (selectWord): add word_location parameter
14685 (selectWordWhenUnderCursor): same + remove special code for word
14687 (selectNextWord): use kind() to guess type of insetspecialchar,
14690 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14691 (insertErtContents): create ert insets as collapsed.
14692 (readInset): better compatibility code for Info inset.
14694 2001-07-20 Juergen Vigna <jug@sad.it>
14696 * lyxfunc.C (dispatch): use always LyXFind now!
14698 * text2.C (init): add a reinit flag so that the LyXText can be
14699 reinited instead of deleted and reallocated (used in InsetText).
14701 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14707 2001-07-18 Juergen Vigna <jug@sad.it>
14709 * text.C (selectNextWord): handle insets inside inset by calling
14710 always the bv->text functions so that we can go up the_locking_inset!
14712 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14713 in strange locations when inside an inset!
14715 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14716 handling to include insets.
14718 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14720 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * LyXAction.C (init):
14724 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14725 LIGATURE_BREAK, since the name is so stupid.
14727 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14729 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14732 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14734 * sp_form.[Ch]: remove.
14736 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14738 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14741 * src/buffer.C (readInset): ditto.
14743 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14745 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14746 menuSeparator(), endOfSentenceDot(), ldots() and
14747 hyphenationPoint(), which are therefore removed.
14748 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14750 * LyXAction.C (init):
14751 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14753 * paragraph.C (getWord): removed.
14755 * BufferView_pimpl.C (Dispatch): use last word or selection for
14756 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14758 * lyx_main.C (queryUserLyXDir): do not ask before creating
14759 user_dir, except if it has been named explicitely.
14761 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14763 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14764 a document of zero size.
14766 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14768 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14769 approriately in the c-tor and in require().
14770 (getPackages): output the appropriate LaTeX for natbib support.
14772 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14773 variables "use_natbib" and "use_numerical_citations" when reading the
14775 (readInset): read the various natbib cite commands.
14776 (validate): white-space change.
14778 * bufferparams.[Ch]: new variables "bool use_natbib" and
14779 "bool use_numerical_citations".
14780 (writeFile): output them in the LyX file.
14782 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14784 * lyxfunc.C (getStatus): add support for all the inset insertion
14787 * text2.C (insertInset):
14788 * paragraph.C (insetAllowed):
14789 * BufferView_pimpl.C (insertInset): update to take in account the
14790 renaming of insertInsetAllowed
14792 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14794 * text2.C (getInset): new method. returns inset at cursor position.
14796 * BufferView_pimpl.C (Dispatch): changes because of this.
14798 * LyXAction.C (init): rename open-stuff to inset-toggle.
14800 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14802 * text2.C (toggleInset): renamed from openStuff; use
14805 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14807 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14809 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14811 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14813 * buffer.C (readLyXformat2): Add filename to the error dialog
14815 2001-07-18 Juergen Vigna <jug@sad.it>
14817 * tabular.C (GetCellNumber): put an assert here instead of the check!
14819 2001-07-17 Juergen Vigna <jug@sad.it>
14821 * BufferView_pimpl.C (toggleSelection): adapted too.
14823 * text.C (selectNextWord): adapted for use with insets.
14824 (selectSelectedWord): ditto
14826 2001-07-17 Juergen Vigna <jug@sad.it>
14828 * sp_spell.C (PSpell): fix initialitation order.
14830 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * paragraph.C: spacing
14834 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14836 * sp_spell.C: repair language selection for pspell
14838 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14840 * lyxfunc.h: change more methods to begin with lower char.
14842 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14844 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14845 for unknown layouts.
14847 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14849 * buffer.C (readLyXformat2): Generate an error dialog if there are
14852 2001-07-16 Juergen Vigna <jug@sad.it>
14854 * sp_spell.C: always compile ISpell part.
14856 * lyxrc.C: added use_pspell entry and it's handling.
14858 2001-07-13 Juergen Vigna <jug@sad.it>
14860 * sp_spell.C: removed double includes.
14862 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14864 Consistent use of Lsstream.h:
14865 * Lsstream.h: added using std::stringstream for consistencies sake.
14867 * buffer.C: removed using std::stringstream
14869 * lyxfont.C (stateText):
14870 * paragraph.C (asString):
14871 * text.C (selectNextWord, selectSelectedWord):
14872 * text2.C (setCounter):
14873 * vspace.C (asString, asLatexString):
14874 std::ostringstream -> ostringstream.
14876 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14878 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14879 * commandtags.h: add LFUN_HELP_ABOUTLYX
14880 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14882 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14884 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14886 * lyx_gui_misc.C: remove spellchecker
14887 * lyxfunc.C: showSpellchecker
14889 * sp_ispell.h: added
14890 * sp_pspell.h: added
14891 * sp_spell.C: added
14892 * sp_form.[Ch]: removed
14893 * spellchecker.[Ch]: removed
14895 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14897 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14899 (simpleTeXSpecialChars): Simply print the input character without
14900 any special translation if pass_thru is set.
14902 * layout.h: Added bool pass_thru to layout class for being able to
14903 implement pass through of a paragraph for Literate Programming.
14905 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14906 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14907 * layout.C (Read): add "passthru" to list of layout tags and add
14908 code to set the pass_thru boolean when it is read.
14910 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * trans_decl.h: remove allowed from KmodInfo
14914 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14915 remove allowed code
14918 * paragraph_pimpl.C (erase): use boost::prior
14920 * Painter.C (text): use data() instead of c_str() when length is
14922 * WorkArea.C (putClipboard): ditto
14923 * font.h (width): ditto
14925 * BufferView2.C: use it-> instead of (*it). for iterators
14927 * paragraph_pimpl.C: ditto
14928 * paragraph.C: ditto
14929 * minibuffer.C: ditto
14930 * language.C: ditto
14932 * encoding.C: ditto
14933 * counters.C: ditto
14934 * converter.C: ditto
14936 * Variables.C: ditto
14937 * TextCache.C: ditto
14938 * MenuBackend.C: ditto
14939 * LyXAction.C: ditto
14941 * FloatList.C: ditto
14942 * DepTable.C: ditto
14943 * ColorHandler.C (LyXColorHandler): ditto
14945 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14949 * text2.C (openStuff): reintroduce this method (which had been
14950 nuked in NEW_INSETS frenzy).
14952 * lyxfunc.C (Dispatch): when an action has not been handled, use
14953 its name in the error message, not its number.
14955 * paragraph.C (inInset): change method name to begin with lowercase.
14958 * text2.C: updates because of this.
14960 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * ToolbarDefaults.C (add): add spaces in error message
14964 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14967 (readLyXformat2): rename return_par to first_par, use lyxlex's
14968 pushToken and remove the manual push handling.
14969 (parseSingleLyXformat2Token): add another ert comp. variable:
14970 in_tabular, rename return_par to first_par. handle newlines better
14972 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14974 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14976 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14978 * text2.C (getParFromID): removed
14980 * buffer.C (getParFromID): new method moved form lyxtext.
14981 * BufferView2.C (insertErrors): adjust
14982 (setCursorFromRow): adjust
14983 * BufferView_pimpl.C (restorePosition): adjust
14984 * lyxfunc.C (Dispatch): adjust
14985 * undo_funcs.C (textUndo): adjust
14987 (textHandleUndo): adjust
14988 (textHandleUndo): adjust
14990 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14992 * buffer.C: up' the LYX_FORMAT
14994 * lyxfont.h: turn NO_LATEX on as default
14996 * buffer.C (insertErtContents): new methods of tex style compability.
14997 (parseSingleLyXformat2Token): use it several places.
14998 * tabular.C (OldFormatRead): and here
15000 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15002 * text2.C: remove some commented code.
15005 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15006 * trans.C: changes because of the above.
15008 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15010 * text2.C (setCounter): Fix counters bug with bibliography layout.
15012 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15015 own member functions
15016 (simpleTeXSpecialChars): ditto
15018 2001-07-06 Juergen Vigna <jug@sad.it>
15020 * a lot of files: changed the access to LyXText::status and the
15021 call of undo-functions.
15023 * undo.[Ch]: added a inset_id to the undo informations.
15025 * undo_funcs.[Ch]: added and moved here all undo functions.
15027 * lyxtext.h: give the status enum a weight, made status_ a private
15028 variable and made accessor functions for it, removed the whole bunch
15029 of undo-functions as they are now in their own file, make some
15030 functions publically available. Added function ownerParagraph with
15033 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15034 made InInset() a const function, added getParFromID() function.
15036 * buffer.[Ch]: added const version for inset_iterator functions,
15037 added getInsetFromID() function.
15039 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15040 changed undo functions for new version.
15042 2001-07-05 Juergen Vigna <jug@sad.it>
15044 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15045 unknow mechanism does not call the proper constructor but only this
15046 one also if I request the other!?
15048 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15052 * text2.C (LyXText): use initialization lists.
15054 * lyxtext.h (Selection): initialize set_ and mark_
15055 (init): remove method
15057 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15059 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15061 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15063 * screen.[Ch]: change method names to begin with lowercase
15065 * BufferView_pimpl.C (updateScrollbar): simplify further and
15066 hopefully make it a bit faster.
15068 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15071 calling directly xforms functions.
15073 * Painter.C (Painter):
15074 * lyx_cb.C (MenuWrite):
15075 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15078 * lyx_gui.C: remove bogus guiruntime extern declaration.
15080 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15082 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15084 (redoDrawingOfParagraph): ditto
15085 (redoParagraphs): ditto
15086 (cutSelection): don't create a object for CutAndPaste use the
15087 static method directly
15088 (pasteSelection): ditto
15090 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15093 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15095 * modifications to some other files because of this.
15097 * Makefile.am (lyx_SOURCES): add XFormsView
15099 * XFormsView.[Ch]: new files
15101 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15102 the main window. Move the gui dependent stuff to XFormsView
15104 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15106 * tabular.C (GetCellInset): update cur_cell also in the row/col
15107 version of this function.
15109 * lyxfunc.C: no need to include figure_form.h here.
15115 * lyxvc.C: no need to include forms.h here.
15117 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15121 * lyxfunc.C (Dispatch):
15123 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15124 constructor argument.
15126 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * paragraph.C (Paragraph): dont't clear, and just set layout.
15129 (makeSameLayout): use params's copy contructor.
15131 * ParagraphParameters.[Ch] (makeSame): delete method
15133 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15135 * Variables.[Ch]: fix indentation, rename set to isSet
15137 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15139 * lyxfunc.C (Dispatch): fix typo
15141 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15143 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15146 * bufferlist.C: include assert.h for emergencyWrite().
15148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15150 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15151 give up at last (bug #425202) !
15153 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15159 * spellchecker.C: strip spellchecker options and bring up
15160 preferences tab instead
15162 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15164 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15165 the istringstream constructor
15167 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15169 * paragraph.C (getLayout): fix return value
15171 * paragraph.h: do not declare getLayout as inline.
15173 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15175 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * lyxcursor.h (operator<): new func
15178 (operator>): new func
15179 (operator>=): new func
15180 (operator<=): new func
15182 * text.C (changeCase): use selection.start and selection.end
15183 (changeRegionCase): require from to be <= to. Require par to be a
15186 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15188 2001-06-27 Juergen Vigna <jug@sad.it>
15190 * text.C (cursorLeftOneWord): changed to return the cursor and added
15191 overlay with BufferView * parameter which calls this one.
15193 (selectWord): use new getWord function.
15194 (changeCase): renamed from changeWordCase as and extended to work
15195 also on selections.
15197 * lyxtext.h: added enum word_location
15199 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15200 changeCase as this operates now also on selections.
15202 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15204 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15206 * many files: send debug output to Debug::INFO instead of
15209 * converter.C (View):
15211 (Move): send debug output to Debug::FILES instead of console.
15213 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15215 * lyxfunc.C (getStatus): use func_status
15217 * func_status.h: new header, describing the results of
15218 LyXFunc::getStatus;
15220 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15223 2001-06-25 The LyX Project <jug@sad.it>
15225 * buffer.C (sgmlOpenTag):
15227 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15229 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15231 * text2.C: remove some dead code
15233 * tabular.C (GetCellInset): store the last cell checked (gotten)
15235 * tabular.h: add the helper for the speedup
15237 * lyxtext.h: remove some dead code
15239 2001-06-26 The LyX Project <Asger>
15241 * paragraph.C: Change export to LaTeX of alignment to
15242 \begin{center} and family for better roundtrip work with reLyX.
15244 * Tune the math drawing a bit.
15246 2001-06-25 The LyX Project <Asger>
15248 * LColor.C (LColor): New color for math background. New color
15251 2001-06-25 The LyX Project <jug@sad.it>
15253 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15255 * lyxfunc.C (Open):
15256 * bufferlist.C (newFile): do not restrict to files ending with
15259 * BufferView_pimpl.C (MenuInsertLyXFile):
15261 2001-06-24 The LyX Project <jug@sad.it>
15263 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15266 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * lyxtext.h: rename most methods to begin with a small char.
15269 Lots of changes because of this.
15271 * paragraph.C (Paragraph): do not call fitToSize
15272 (erase): call Pimpl::erase
15273 (insertChar): call Pimpl::insertChar
15274 (insertInset): call Pipl::insertInset
15275 (breakParagraph): do not call fitToSize
15276 (breakParagraphConservative): do not call fitToSize
15277 (fitToSize): remove method
15279 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15281 2001-06-24 The LyX Project <Asger>
15283 * Fix Qt compilation^2
15285 2001-06-24 The LyX Project <jug@sad.it>
15287 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15288 depthHook(getDepth()-1).
15291 * ParagraphParameters.h:
15292 * ParameterStruct.h: change type of depth to unsigned int ==
15293 depth_type. Many adaptations to other files before of that.
15295 2001-06-24 The LyX Project <Asger>
15297 * Fix Qt compilation.
15299 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * paragraph.h: renamed several methods to begin with small letter.
15302 several changes to many parts of the code because of this.
15304 2001-06-23 The LyX Project <jug@sad.it>
15306 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15307 rewritten to discard all double spaces when KeepEmpty is off
15308 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15309 to only handle newlines but not fiddle with spaces and friends.
15311 * lyxfunc.C (MenuNew): when doing 'new from template', use
15312 template_path as default directory
15314 2001-06-23 The LyX Project <Asger>
15316 * Clean-up of header file includes all over
15317 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15319 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15321 * paragraph.h: renamed from lyxparagraph.h
15323 2001-06-23 Asger <lyx@violet.home.sad.it>
15325 * Buffer.h: Removed Buffer::resize
15326 * BufferList.h: Removed BufferList::resize
15327 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15328 the document lazily when we change the width, or the font settings.
15330 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15332 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15334 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15336 * buffer.h: remove out of date comment
15338 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15341 * screen.C: fix "theoretical" GC leak
15343 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * LaTeX.C (scanAuxFile):
15346 (deplog): remove trailing \r when reading stream (useful under
15349 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15351 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15352 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15353 and BufferView::theLockingInset(Inset*), so should use them and not
15354 access bv_->text->the_locking_inset directly.
15356 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15358 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15361 * tex-defs.h: remove old unused file
15363 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15365 * BufferView_pimpl.C: fix typo, remove minibuffer message
15366 when buffer has loaded
15368 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15370 * lyxfunc.C (Dispatch): use stringstream
15371 (MenuNew): use stringstream
15372 (Open): use stringstream
15374 * importer.C (Import): use stringstream
15376 * bufferview_funcs.C (CurrentState): use stringstream
15378 * LaTeX.C (run): use stringstream
15380 * BufferView_pimpl.C (savePosition): use stringstream
15381 (restorePosition): use stringstream
15382 (MenuInsertLyXFile): use stringstream
15384 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15397 * vspace.C: removed // -*- C++ -*- as first line.
15400 * version.h: added // -*- C++ -*- as first line.
15402 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15404 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15406 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15409 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15411 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15414 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15416 * gettext.C: include LString.h even when --disable-nls is on.
15418 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15420 * converter.h (Get): changed argument type from int to
15421 FormatList::size_type to avoid unnecessary conversion.
15423 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15426 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * gettext.h: include LString.h even when --disable-nls is on.
15430 2001-06-07 Juergen Vigna <jug@sad.it>
15432 * text.C (BreakAgain): subst spaces with tabs.
15434 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15435 (resizeInsetsLyXText): set force on resizeLyXText.
15437 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * gettext.h (gettext_init):
15440 (locale_init): use a real definition instead of a macro
15442 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15444 * Bufferview_pimpl.C:
15446 * LColor.C: further lcolor tidies
15448 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15450 * BufferView_pimpl.C (updateScrollbar): simplify.
15452 * BufferView2.C: don't include insets/insetinfo.h, change
15453 prototype for insertInset and call the Pimpl version. let
15454 updateInset call Pimpl version.
15456 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15457 gotoInset to BufferView::Pimpl
15459 2001-06-01 Juergen Vigna <jug@sad.it>
15461 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15462 inside a LockingInset (is the update needed at all?).
15464 2001-05-31 Juergen Vigna <jug@sad.it>
15466 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15467 here not the old one otherwise how should we compare it afterwards
15470 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15475 * FontInfo.C: bring C functions into global namespace when
15478 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * LString.h: make sure config.h has been loaded before LString.h.
15482 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15483 (one for each char read by EatLine!).
15485 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15488 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15490 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15491 to the same as the par we break from
15493 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15495 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15497 * MenuBackend.C (expand): also create menu entries for wide
15498 versions of the floats.
15500 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15502 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15504 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15505 frontends/Makefile.am
15511 * tabular.C (getTokenValue): add std::
15513 * tabular-old.C (getTokenValue): add std::
15514 (getTokenValue): ditto
15515 (getTokenValue): ditto
15517 * screen.C (ToggleSelection): adjust
15519 * lyxtext.h: put selection cursors inside a Selection struct.
15521 * lyxfunc.C (moveCursorUpdate): adjust
15523 * lyxfont.C (latexWriteStartChanges): add std::
15525 * lyxfind.C: adjust
15527 * font.h: delete with(char const *, LyXFont const &)
15529 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15531 * FontInfo.C (getFontname): add std::
15533 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15534 (workAreaButtonPress): adjust
15535 (tripleClick): adjust
15537 (moveCursorUpdate): adjust
15540 * BufferView2.C (gotoInset): adjust
15542 2001-05-30 Juergen Vigna <jug@sad.it>
15544 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15545 to check pspell I add this as default as I now have new pspell
15546 libraries and they seem to use this.
15548 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15550 * text2.C (CutSelection): make the cursor valid before the call to
15553 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15556 relied on 0 terminated strings and other horrors. Bug found due to
15557 the new assert in lyxstring!
15559 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15562 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15567 * lyxfunc.C (processKeySym): change method of getting to the
15570 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15571 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15572 * BufferView_pimpl.[Ch]: here as private methods.
15574 2001-05-28 Juergen Vigna <jug@sad.it>
15576 * text.C (SetHeightOfRow): added the update() call again as it is
15577 needed to initialize inset dimensions!
15579 2001-05-16 Juergen Vigna <jug@sad.it>
15581 * text2.C (SetCharFont): Add new function with BufferView * and
15582 bool toggleall parameters for setting insets internal fonts.
15583 (SetFont): Freeze the undo as we may change fonts in Insets and
15584 all this change should be inside only one Undo!
15586 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15587 setting font's in insets as for them we have the SetFont function!
15589 2001-05-15 Juergen Vigna <jug@sad.it>
15591 * text2.C (ClearSelection): to be sure we REALLY don't have any
15594 * tabular.C (TeXCellPreamble): fixed the left border problem for
15597 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15599 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15602 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15605 LFUN_BREAKPARAGRAPH.
15607 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15608 help test to "internal only", similar for LFUN_INSERT_URL
15610 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15611 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15612 auto_region_delete and deadkeys.
15614 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15617 * LColor.C: remove some dead entries, tidy a little
15619 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15621 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15623 (Dispatch): implement LFUN_ESCAPE
15625 * commandtags.h: add LFUN_ESCAPE
15627 * LyXAction.C (init): add entry for LFUN_ESCAPE
15629 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15630 Remove commented code.
15631 (insertNote): moved here
15632 (open_new_inset): moved here
15634 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15637 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * kbmap.C (findbinding): clean it up and make it work correctly.
15641 * lyx_main.C (init): do not pass argc and argv as parameters
15643 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15645 * buffer.C: fix path for OS/2 & Win32
15649 * lyx_main.C: Added os:: class.
15651 * os2_defines.h: update
15653 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15655 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15656 better by trying again with reduced state.
15658 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * lyxrc.C (read): print error about invalid key sequence only when
15661 debugging (because not all latinX keysyms are known to some X
15664 * kbsequence.C (getiso): add a few std:: qualifiers
15665 (getiso): comment out extra return statement.
15667 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15669 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15671 (Dispatch): enhance the accent inset a bit. (not perfect)
15673 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15677 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15679 * bufferlist.C (emergencyWrite): fix assert() call
15681 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15683 * text.C (InsertChar): Added trivial patch to only send the "you
15684 can not do multiple spaces this way" message once during a
15687 2001-05-08 Baruch Even <baruch@lyx.org>
15689 * Makefile.am: Changed order of libraries to get LyX to link properly
15690 with the gnome frontend.
15692 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * LaTeXFeatures.h: add a std:: qualifier
15696 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * paragraph.C (String): use stringstream
15700 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * paragraph.C (writeFile): remove footflag arg
15704 * buffer.C (makeLaTeXFile): use stringstream
15705 (latexParagraphs): remove footnot gurba
15707 * LaTeXFeatures.C (getPackages): use stringstream
15708 (getMacros): likewise
15709 (getTClassPreamble): likewise
15710 (getFloatDefinitions): new method
15712 * paragraph.C (writeFile): reindent
15715 * WorkArea.h: revert the xpos + etc changes.
15717 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15719 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15721 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15722 (pasteSelection): likewise
15723 * text2.C (CreateUndo): likewise
15725 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15727 * minibuffer.C (peek_event): temporarily reduce the functionality
15728 of the minibuffer (to allow args on lfuns)
15730 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15731 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15733 * buffer.C (readInset): add compability reading of old float
15734 lists, add reading of new style float list.
15735 (readInset): avoid reevaluation of inscmd.getCmdName()
15736 (getLists): reindent
15738 * MenuBackend.C (MenuItem): implement parsing of
15739 md_floatlistinsert and md_floatinsert.
15740 (expand::LastFiles): move initalizaton of iterators out of loop,
15741 avoid reevaluation.
15742 (expand::Documents): introduce typdedef vector<string> Strings,
15744 (expand::ExportFormats): introduce typedef vector<Format const *>
15745 Formats, and use it.
15746 (expand): implement FloatListInsert and FloatInsert.
15748 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15749 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15750 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15752 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15754 (Dispatch::LFUN_FLOAT_LIST): implement
15756 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15758 * LaTeX.C (run): Fix problem with --export code.
15760 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15762 * BufferView.[Ch] (workarea): removed.
15763 (getClipboard) new method; wrapper for workarea()->getClipboard()
15765 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15768 * WorkArea.h (width, height, xpos, ypos): These methods all
15769 returned the dimensions of the work_area sub-area of WorkArea,
15770 resulting in a position error if the WorkArea were resized. Now
15771 return the dimensions of the entire WorkArea.
15773 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15775 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * LaTeX.C (deplog): correct the syntax of regex reg1
15779 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * undo.C: remove !NEW_INSETS cruft
15783 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * text2.C: remove !NEW_INSETS cruft
15787 * text.C: remove !NEW_INSETS cruft
15789 * tabular.C: remove !NEW_INSETS cruft
15791 * spellchecker.C: remove !NEW_INSETS cruft
15793 * lyxtext.h: remove !NEW_INSETS cruft
15795 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15797 * lyxfunc.C: remove !NEW_INSETS cruft
15799 * lyxfind.C: remove !NEW_INSETS cruft
15801 * lyx_cb.C: remove !NEW_INSETS cruft
15803 * figureForm.C: remove !NEW_INSETS cruft
15805 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15807 * buffer.[Ch]: remove !NEW_INSETS cruft
15809 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15811 * CutAndPaste.C: remove !NEW_INSETS cruft
15813 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15815 * BufferView2.C: remove !NEW_INSETS cruft
15817 * BufferView.h: remove !NEW_INSETS cruft
15819 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * Lsstream.h: include LString.h before the sstream headers to
15822 fix problem with gcc 2.95.3 and lyxstring
15824 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * lyx_main.C: add using directives when needed for C functions
15827 declared in std:: namespace.
15829 2001-04-27 Juergen Vigna <jug@sad.it>
15831 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15832 (SetHeightOfRow): comment out the update call should not be needed!
15834 2001-04-13 Juergen Vigna <jug@sad.it>
15836 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15837 (LyXTabular): tried to minimize operator= operations (and realized
15838 hopfully Lars wish).
15840 2001-04-27 Juergen Vigna <jug@sad.it>
15842 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15844 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15848 * buffer.C (readInset): hack to make listof algorithm work
15850 * BufferView_pimpl.C: hack to make listof algorithm work
15852 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15854 * LyXAction.C: removed all !NEW_INSETS cruft
15855 (init): moved lfun_item in method
15857 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15859 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15861 * BufferView2.C (theLockingInset): white space.
15863 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15865 * minibuffer.C: include <iostream>
15867 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15869 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15871 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15873 * text.[Ch] (TransposeChars): new method
15875 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * call message directly through LyXView instead of through LyXFunc
15878 * BufferView2.C: adjust
15879 * BufferView_pimpl.C: adjust
15880 * FontLoader.C: adjust
15882 * bufferview_funcs.C: adjust
15883 * converter.C: adjust
15884 * figureForm.C: adjust
15885 * importer.C: adjust
15887 * lyx_gui_misc.C: adjust
15888 * lyxfunc.C: adjust
15891 + more files in subdirs
15893 * lyxparagraph.h (size): move up int file
15896 * adjust all uses of Assert to lyx::Assert.
15898 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15899 lyxfunctional in namespace lyx
15900 * layout.C (hasLayout): ditto
15903 (delete_layout): ditto
15904 (NumberOfClass): ditto
15905 * converter.C (GetFormat): ditto
15910 * bufferlist.C (getFileNames): ditto
15911 (emergencyWriteAll): ditto
15914 * MenuBackend.C (hasSubmenu): ditto
15917 * BufferView_pimpl.C (getInsetByCode): ditto
15919 2001-04-18 Juergen Vigna <jug@sad.it>
15921 * vspace.C (asLatexString): fixed the 100% problem.
15923 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * lyxfunc.C (Dispatch):
15927 * minibuffer.h: add a few std:: qualifiers
15929 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15931 * minibuffer.[Ch]: reimplement so that commands is initiated and
15932 run from lyxfunc, simplified som handling, and made the completion
15933 and history code for complete. wip.
15935 * lyxfunc.C (processKeySym): call message
15936 (miniDispatch): new temporary method
15937 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15938 (LFUN_MESSAGE): implement
15939 (LFUN_MESSAGE_PUSH): implement
15940 (LFUN_MESSAGE_POP): implement
15941 (initMiniBuffer): the initial/defualt minibuffer message.
15943 * lyxfont.[Ch]: inline some more getters
15945 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15947 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15949 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15950 (AutoSave): use LFUN_MESSAGE
15951 (Reconfigure): ditto
15953 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15955 * figureForm.C: use LFUN_MESSAGE
15957 * converter.C (runLaTeX): use LFUN_MESSAGE
15959 * bufferview_funcs.C: use LFUN_MESSAGE
15961 (changeDepth): ditto
15963 * bufferparams.h: use boost::
15965 * bufferlist.h: inherit privately from noncopyable
15967 * bufferlist.C (loadLyXFile): remove some commented code.
15969 * buffer.C (runChktex): use LFUN_MESSAGE
15971 * ShareContainer.h: inherit privately from noncopyable
15973 * ParagraphParameters.[hC] (depth): inline it.
15975 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15977 (message): new method
15978 (messagePush): ditto
15979 (messagePop): ditto
15980 (show): init minibuffer
15981 (showState): direct call
15983 * LaTeX.[Ch]: inherit privately from noncopyable
15984 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15985 instead of WriteStatus.
15987 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15989 * BufferView_pimpl.C (buffer): don't init minibuffer
15990 (workAreaButtonPress): use LFUN_MESSAGE
15991 (workAreaButtonRelease): ditto
15992 (savePosition): ditto
15993 (restorePosition): ditto
15994 (MenuInsertLyXFile): ditto
15995 (workAreaExpose): don't init minibuffer
15996 (update): remove commented code, simplify
15998 * BufferView2.C (openStuff): use LFUN_MESSAGE
15999 (toggleFloat): ditto
16002 (copyEnvironment): ditto
16003 (pasteEnvironment): ditto
16008 (updateInset): remove some commented code
16010 * lastfiles.h: inherit privately from noncopyable
16013 * lyx_main.h: ditto
16015 * lyxlex_pimpl.h: ditto
16017 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16018 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16019 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16021 * LyXAction.h: inherit privately from noncopyable, add methods
16022 func_begin, func_end, returning iterators to the func map.
16024 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16025 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16026 (func_begin): new method
16027 (func_end): new method
16029 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16031 (copySelection): ditto
16032 (pasteSelection): ditto
16034 * BufferView.C: whitespace change
16035 * BufferView.h: inherit privately from noncopyable
16037 2001-04-16 Allan Rae <rae@lyx.org>
16039 * tabular-old.C (l_getline):
16040 * spellchecker.C (sc_check_word):
16041 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16042 an unrecognised preprocessor directive. So ensure they're wrapped.
16044 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16046 * src/exporter.C (Export): Give an error message when path to file
16049 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16051 * LaTeX.C (deplog): Always check that foundfile exists.
16053 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16056 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16058 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16060 * tabular.[Ch] (getLabelList): implement new method
16062 * minibuffer.h: comment ouf setTiimer
16064 * minibuffer.C (ExecutingCB): constify res
16065 (peek_event): constify s
16066 (Set): constify ntext
16067 (Init): constify nicename
16069 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16071 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16072 (savePosition): use two params to Minibuffer::Set
16073 (restorePosition): ditto
16075 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16077 * lyx_main.C: include language.h
16079 * Makefile.am (lyx_main.o): add language.h
16081 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * CutAndPaste.C: include gettext.h
16089 * lyxfont.h: remove old hack with ON and OFF.
16092 * lyxfont.h: do not include language.h...
16097 * bufferview_funcs.C:
16103 * paragraph.C: ... but do it here instead
16105 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16107 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16109 * tabular.C: small reformat
16111 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16114 (BreakParagraph): ditto
16115 (SetOnlyLayout): ditto
16118 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16121 * lastfiles.C: removed most using decl, add std:: where needed
16123 * buffer.C: ws changes
16125 * MenuBackend.C (class compare_format): put into anon namespace
16126 (expand): constify label, names, action, action2
16129 * text.C (SingleWidth): constify font
16130 (IsBoundary): constify rtl2
16131 (GetVisibleRow): constify ww
16133 * LaTeX.C (deplog): constify logfile
16135 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16137 (workAreaExpose): constify widthChange, heightChange
16139 * lyxrow.C (par): moved
16142 * lyxrow.h: as inlines here
16144 * lyxfont.h (shape): moved from lyxfont.C
16145 (emph): moved from lyxfont.C
16147 * lyxfont.C (LyXFont): use initialization list for all
16149 (shape): move to lyxfont.h as inline
16150 (emph): move to lyxfont.h as inline
16153 2001-04-04 Juergen Vigna <jug@sad.it>
16155 * vspace.C: had to include stdio.h for use of sscanf
16157 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16160 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16161 independent of xforms.
16163 2001-04-02 Juergen Vigna <jug@sad.it>
16165 * spellchecker.C: fixed namespace placing!
16167 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16169 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16170 the LyXParagraph * is 0.
16172 2001-03-29 Juergen Vigna <jug@sad.it>
16174 * vspace.C: added support for %, c%, p%, l%.
16175 (stringFromUnit): added helper function.
16176 (asLatexString): changed to give right results for the %-values.
16178 * buffer.C: convert the widthp in a width%.
16180 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16182 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16185 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16186 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16188 * lyx_cb.[Ch]: see above.
16190 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16194 * lyx.[Ch]: replaced by figure_form.[Ch].
16198 * lyxfunc.C: changed headers associated with above changes.
16200 2001-03-27 Juergen Vigna <jug@sad.it>
16202 * BufferView_pimpl.C: set the temporary cursor right!
16204 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16206 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16208 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16210 * LString.h: removed "using std::getline"!
16212 * BufferView_pimpl.C (Dispatch): changes due to changes in
16213 InsetInclude::Params.
16215 * buffer.C (tag_name): removed redundant break statements as they were
16216 producing lots of warnings with my compiler.
16218 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * LString.h: add "using std::getline" when using the real <string>.
16222 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16224 * buffer.C: removed bitset usage.
16225 PAR_TAG moved to an anonymous name space.
16226 (tag_name): new funtion, also in the anonymous namespace.
16227 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16228 (makeDocBookFile): clean code. Completed transition from string arrays
16230 (SimpleDocBookOnePar): code clean.
16232 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16234 * tabular.C: add some comments.
16236 2001-03-22 Juergen Vigna <jug@sad.it>
16238 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16239 compatibility read a bit and fixed bug with minipage in different
16242 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16244 * buffer.C (pop_tag): removed.
16245 (push_tag): removed.
16246 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16247 array replaced with vector. Added support for CDATA sections.
16248 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16250 (makeDocBookFile): XML conformant declaration of CDATA section,
16251 fixed bug related to <emphasis> in the first paragraph char.
16252 (sgmlOpenTag): exclude empty tags.
16253 (sgmlCloseTag): ditto.
16255 * buffer.h (pop_tag): removed.
16256 (push_tag): removed.
16258 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16260 * language.h (Languages): added size_type and size().
16262 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16264 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16265 response on compability reading of minipages. One probliem is that
16266 the old usage of minipages was «flertydig»
16268 * several files here and in subdirs: don't use static at file
16269 scope use anon namespaces instead.
16271 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16273 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16274 LaTeX output. This is necessary for Literate document
16277 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16279 * buffer.C: insert hfill when needed.
16281 * tabular.C (l_getline): use string::erase, small whitespace change.
16283 * BufferView_pimpl.C: try the anon namespace.
16284 * WorkArea.C: ditto
16286 2001-03-16 Juergen Vigna <jug@sad.it>
16288 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16289 otherwise it won't open options-dialogs.
16291 * buffer.C: honor pextraWidth(p) on converting minipages.
16293 * tabular.C (l_getline): changed the functions to strip trailing \r.
16295 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16297 * BufferView_pimpl.C:
16298 * minibuffer..C: added "using SigC::slot" declaration.
16300 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16302 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16308 * paragraph.C: ditto
16310 * lyxtext.h: NO_PEXTRA
16312 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16314 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16315 * ParameterStruct.h: ditto
16316 * ParagraphParameters.h: ditto
16317 * lyxparagraph.h: ditto
16319 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16321 * buffer.C: add compability for minipage alignment.
16322 (latexParagraphs): remove unwanted pextra check.
16324 * several files: remove CXX_WORKING_NAMESPACES
16326 * buffer.C (pop_tag): tie is in namespace boost
16328 * BufferView.h: noncopyable is in namespace boost
16330 * lyx_main.h: ditto
16333 * lastfiles.h: ditto
16334 * bufferlist.h: ditto
16335 * ShareContainer.h: ditto
16337 * LyXAction.h: ditto
16340 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16342 * Merging changes from BRANCH_MVC back into HEAD.
16344 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16346 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16348 * BufferView_pimpl.C: change from intl.C
16352 * Makefile.am: move combox.*
16358 * intl.C: remove dialog (covered by prefs)
16360 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16362 * lyxfunc.C (Dispatch): removed redundant break statement.
16364 2001-03-14 Juergen Vigna <jug@sad.it>
16366 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16368 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16370 * buffer.C: add hack to fix compability reading of minipages.
16372 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16374 * buffer.C (getLists): Cleanup.
16376 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16378 * lyxfont.C (update): don't honor toggleall on font size.
16380 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16384 * Makefile.am: moved to frontends/xforms/
16388 * BufferView_pimpl.C: changes for moved mathpanel
16390 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16392 * gettext.h: fix gettext_init() in --disable-nls
16394 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16396 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16398 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16401 * lyx.h: strip external form
16403 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16405 * BufferView_pimpl.C: add comment, destroySplash()
16407 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16409 * BufferView_pimpl.C:
16413 * lyxfunc.C: use re-worked insetinclude
16415 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16417 * buffer.C: add using std::stringstream.
16419 * lyx_cb.C: readd using std::ios.
16421 * buffer.C: add using std::map.
16423 * BufferView_pimpl.C: add using std::vector.
16425 * ShareContainer.h: add std:: to swap.
16427 * buffer.h: add some typedefs
16428 * buffer.C (getLists): use them
16429 (getLists): renamed from getTocList.
16430 add a counter for the different float types and use it in the
16432 (getLists): use the same counter for the NEW_INSETS and the "non"
16435 * lyx_cb.h: remove unused items, includes, using etc.
16437 * ShareContainer.h: remove some commented code, add more comments
16438 and "documentation".
16440 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16442 * buffer.C (getTocList): make the list also when NEW_INSETS is
16445 * buffer.h: remove TocType
16447 * buffer.C (getTocList): change to return a map<string,
16448 vector<TocItem> >, implement for dynamic number of list.
16450 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16451 * text2.C (PasteSelection): adjust
16452 * CutAndPaste.C (pasteSelection): adjust
16454 * FloatList.C (FloatList): update from the new_insets branch.
16455 * Floating.[Ch]: ditto
16456 * LaTeXFeatures.C: ditto
16458 * lyxlex_pimpl.C: ditto
16460 * paragraph.C (Last): remove when NEW_INSETS is defined.
16462 * other file: changes because of the above.
16464 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16466 * lyxparagraph.h: rename next to next_, previous to previous_,
16467 make them private for NEW_INSETS. Rename Next() to next(),
16468 Previous() to previous().
16470 * other files: changes because of the above.
16472 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16475 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16478 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16480 * main.C (main): pass lyx_localedir to gettext_init().
16482 * gettext.h: remove locale_init and gettext_init macros
16484 * gettext.C (locale_init): new function
16485 (gettext_init): new function
16487 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16490 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16492 * Moved credits to frontends:
16493 * credits.[Ch]: removed
16494 * credits_form.[Ch]: removed
16495 * lyx_gui_misc.C: remove credits stuff
16498 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16500 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16502 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16503 unneeded destructor.
16505 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16506 a standalone pointer again.
16508 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16510 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16516 * ToolbarDefaults.C:
16525 * BufferView_pimpl.C: use new file dialog in GUII
16528 * lyx_cb.C: remove LayoutsCB to Toolbar
16530 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16532 * ShareContainer.h (get): add std:: qualifier
16534 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * ShareContainer.h: define a proper ShareContainer::value_type
16537 type (and use typename to please compaq cxx)
16539 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16541 * lyxparagraph.h: move serveral local vars to
16542 ParameterStruct/ParagraphParameters., use ShareContainer in
16543 FontTable., make vars in FontTable private and add getter and
16546 * paragraph.C: changes because of the above.
16548 * lyxfont.h: remove copy constructor and copy assignment. (the
16549 default ones is ok), move number inside FontBits. move inlines to
16552 * lyxfont.C: add number to initializaton of statics, move several
16553 inlines here. constify several local vars. some whitespace
16554 cleanup. Dont hide outerscope variables.
16556 * Spacing.h: add two new constructors to match the set methods.
16558 * ShareContainer.h: new file, will perhaps be moved to support
16560 * ParameterStruct.h: new file
16562 * ParagraphParameters.h: new file
16564 * ParagraphParameters.C: new file
16566 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16567 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16569 * BufferView_pimpl.C: ParagraphParameter changes.
16570 * buffer.C: Likewise.
16571 * bufferview_funcs.C: Likewise.
16572 * text.C: Likewise.
16573 * text2.C: Likewise.
16575 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16577 * lyxfind.C (LyXReplace): do not redefine default argument in
16579 (IsStringInText): ditto
16580 (SearchForward): ditto
16581 (SearchBackward): ditto
16583 2001-03-06 Juergen Vigna <jug@sad.it>
16585 * lyxfind.C (IsStringInText): put parentes around expressions.
16587 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16589 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16591 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16593 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16595 * stl_string_fwd.h: add comment
16597 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16600 * tabular.C: remove unused DocBook methods
16606 killed DO_USE_DEFAULT_LANGUAGE
16608 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16610 * lyx_gui.C: do not include language.h.
16612 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16613 arguments in function implementation.
16615 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16617 * BufferView_pimpl.C: add <ctime>
16619 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16621 * BufferView_pimpl.C: add using std::find_if
16623 2001-02-27 José Matos <jamatos@fep.up.pt>
16625 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16628 2001-02-11 José Matos <jamatos@fep.up.pt>
16630 * buffer.C (makeDocBookFile): command styles now have a parameter as
16631 "title" by default.
16633 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16635 * layout_forms.[Ch]: removed
16636 * lyx_cb.[Ch]: out character
16637 * lyx_gui.C: out character
16638 * lyx_gui_misc.C: out character
16639 * bufferview_funcs.C: : out character,
16640 added toggleall as parameter in ToggleAndShow
16642 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16644 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16646 * text2.C (SetCurrentFont): Disable number property at boundary.
16648 2001-02-26 Juergen Vigna <jug@sad.it>
16650 * lyxfunc.C (getStatus): added a string argument override function so
16651 that this is correctly called from LyXFunc::Dispatch if it contains a
16652 do_not_use_argument which is used!
16653 (Dispatch): added check for "custom" export and call appropriate func.
16655 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16657 * lyxrc.C: Add language_command_local, language_use_babel and
16658 language_global_options.
16660 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16662 * buffer.C (makeLaTeXFile): Use language_use_babel and
16663 language_global_options.
16665 2001-02-23 Juergen Vigna <jug@sad.it>
16667 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16668 which works with LyXText and putted it inside BufferView. Here now we
16669 only call for that part the BufferView::Dispatch() function.
16671 * BufferView.C (Dispatch): added.
16673 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16674 functions which needs to use a LyXText over from LyXFunc.
16675 (MenuInsertLyXFile): added
16676 (getInsetByCode): added
16677 (moveCursorUpdate): added
16678 (static TEXT): added
16680 2001-02-22 Juergen Vigna <jug@sad.it>
16682 * BufferView_pimpl.C (update): call a status update to see if LyXText
16685 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16687 * vc-backend.C (revert): implement for CVS
16688 (getLog): implement for CVS
16690 2001-02-20 Juergen Vigna <jug@sad.it>
16692 * text2.C (ClearSelection): added BufferView param for inset_owner call
16694 * lyxfunc.C (TEXT): added this function and use it instead of
16695 directly owner->view()-text of getLyXText().
16697 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16699 * src/layout_forms.C: out preamble
16700 * src/layout_forms.h: out preamble
16701 * src/lyx_cb.C: out preamble
16702 * src/lyx_cb.h: out preamble
16703 * src/lyx_gui.C: out preamble
16704 * src/lyx_gui_misc.C: out preamble
16705 * src/lyxfunc.C: connect with guii preamble
16707 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16709 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16711 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16713 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16714 whether to run bibtex.
16716 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16718 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16720 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16722 * Makefile.am (lyx_SOURCES): removed bibforms.h
16724 * vspace.h: doxygen
16726 * text.C (GetVisibleRow): make several local vars const
16728 * tabular.C: small cleanup.
16730 * lyxserver.C (callback): use compare instead of strncmp
16732 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16733 inlines to after class or to paragraph.C
16735 * lyxfont.h: remove friend operator!=
16737 * converter.h: move friend bool operator< to non friend and after
16740 * combox.h: small cleanup
16742 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16743 to inlines after class def.
16745 * buffer.C (pop_tag): use string operations instead of strcmp
16747 * bmtable.c: doxygen, small cleanup
16749 * LaTeX.h: remove friend operator==
16751 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16763 * BufferView_pimpl.C:
16764 * BufferView.[Ch]: remove cruft
16766 2001-02-14 Juergen Vigna <jug@sad.it>
16768 * lyxfunc.C: removed #if 0 unused code
16770 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16772 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16774 * text2.C (SetSelection): added a BufferView * parameter
16776 2001-02-13 Juergen Vigna <jug@sad.it>
16778 * lyxfunc.C (Dispatch): fixed protected blank problem.
16779 * BufferView2.C (protectedBlank): added LyxText * parameter.
16781 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16782 (AppendColumn): same as above for column_info.
16784 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16785 (moveCursorUpdate): use a LyXText param for support of InsetText.
16787 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16788 (tripleClick): ditto
16790 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16792 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16794 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16796 * text2.C (SetSelection): set correct update status if inset_owner
16797 (ToggleFree): ditto
16799 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16801 * tabular.C: remove some commented code.
16803 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16805 * BufferView_pimpl.C: call hideSplash()
16807 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16810 * bibforms.h: remove
16813 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16814 add LFUN_CHILD_CREATE
16816 * counters.h: fix tiny typo
16821 * lyx.C: move splash to frontends/xforms/
16823 * lyx_gui_misc.C: move Include and Bibform to frontends
16825 * lyxvc.h: clarify comment
16827 * vspace.C: tiny housekeeping
16829 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16831 * text.C (PrepareToPrint): RTL Fix.
16833 * paragraph.C (GetUChar): New method.
16834 (String): Use GetUChar.
16836 * buffer.C (asciiParagraph): Use GetUChar.
16838 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16840 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16842 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16845 * buffer.C: rename to getLogName(), handle
16846 build log / latex log nicely
16848 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16851 * MenuBackend.h: remove support for reference menuitem type.
16853 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16855 * BufferView_pimpl.C: housekeeping
16856 * BufferView_pimpl.h:
16861 * minibuffer.h: move Timeout GUI-I
16863 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16865 * lyxrc.C (read): Update converters data-structures.
16867 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16869 * LaTeX.h (operator!=): add operator != for Aux_Info
16871 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16873 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16875 * LaTeXLog.C: deleted, useful code moved to Buffer
16878 * buffer.C: new function getLatexLogName()
16884 * lyxfunc.C: use frontends for LaTeX and VC logs
16886 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16888 * LaTeX.h: yet another std:: that Allan forgot.
16890 * Variables.C (set): renamed from isset(), because this clashes
16891 with some HP-UX macros (grr).
16893 2001-02-06 Allan Rae <rae@lyx.org>
16895 * LaTeX.h: Another bug fix. Missing std:: this time.
16897 2001-02-04 Allan Rae <rae@lyx.org>
16899 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16900 floats problem. I've left it commented out because it's not quite
16901 correct. It should also test that the current object is a table or
16902 figure inset. But I haven't gotten around to figuring out how to do
16903 that. I *think* it'll be something like: "table" == inset.type()
16905 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16908 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16910 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16911 all the citation/databases/styles in the auxilary file.
16912 (run): Rerun latex if there was a babel language error.
16914 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16916 * text.C (Backspace): Preserve the font when changing newline char
16918 (BreakParagraph): If the cursor is before a space, delete the space.
16920 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16922 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16924 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16925 new argument (code).
16926 (ChangeCitationsIfUnique): New method.
16928 * paragraph.C (GetPositionOfInset): Handle bibkey.
16930 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16932 * BufferView_pimpl.h: change type of Position::par_pos to
16933 LyXParagraph::size_type.
16935 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16937 * BufferView_pimpl.C (savePosition, restorePosition): Write
16938 messages to minibuffer.
16940 2001-01-28 José Matos <jamatos@fep.up.pt>
16942 * buffer.C (makeDocBookFile): adds support for document language.
16943 A silly restriction on the name of LatexCommand types where removed.
16944 Added support for CDATA sections, allows to chars unescaped, used
16945 among others in code, to avoid escape < and >.
16947 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16949 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16950 saved positions instrad of a stack. Furthermore, a position is
16951 stored using paragraph id/paragraph position.
16953 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16954 Remove LFUN_REF_BACK.
16956 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16958 * converter.C (dvipdfm_options): New method.
16960 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16962 * vspace.C (isValidLength): Fix for empty input string.
16964 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16966 * LyXAction.C (init): change description of LFUN_FIGURE to
16969 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16971 * LaTeX.C: add using directive
16973 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16975 * MenuBackend.C (expand): Fix the sorting of the formats.
16977 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16979 * lyx_main.C: tiny error message fix
16981 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16983 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16984 calling fl_initialize(). This fixes the problem with ',' as
16985 decimal separator in text files.
16987 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16989 * trans.C (process): Fix the keymap bug.
16991 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16993 * LaTeX.C (scanAuxFiles): New method. Provides support for
16994 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16995 (scanLogFile) Scan for "run BibTeX" messages.
16997 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16998 OT1 font encoding. Also, load the aecompl package if the ae
17001 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17003 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17005 * texrow.C (increasePos): turn two error messages into debug
17008 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17010 * LaTeX.C (scanAux): Handle the \@input macro.
17011 (runBibTeX): Use scanAux().
17013 * language.C (latex_options_): New field.
17015 * LaTeXFeatures.C (getMacros): Add language macros.
17017 * buffer.C (makeLaTeXFile): Small fix.
17019 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17021 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17023 * text2.C: add a using directive.
17025 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17030 * lyxfunc.C: kill LyXBell.
17032 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17034 * text.C (IsBoundary): Remove the error message
17036 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17038 * lyxrc.C (setDefaults): Correct initialization value for
17041 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17043 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17046 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17047 and GotoNextNote().
17049 * src/LyXAction.C: Added reference-next.
17051 * text.C (InsertChar): Use contains instead of strchr.
17053 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17055 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17057 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17058 alignment commands (when needed).
17060 * text.C (InsertChar): Add ':' to number separator chars.