1 2005-01-20 Angus Leeming <leeming@lyx.org>
3 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
4 printing diagnostic data by not dereferecing an iterator past the
7 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
9 * buffer.C (readHeader): use "&&" rather than "and".
11 * lyxserver.h (inPipeName, outPipeName): make these const.
13 2005-01-19 Angus Leeming <leeming@lyx.org>
15 * lyx_main.C (error_handler, init): protect SIGHUP with
18 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
22 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * text.C (setHeightOfRow): add a margin at the top and bottom of
25 the document (bug 1761)
27 2005-01-17 Angus Leeming <leeming@lyx.org>
29 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
30 with "python ". Workaround for a brain-dead Windows.
32 2005-01-16 Angus Leeming <leeming@lyx.org>
34 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
35 for MacOSX and Windows to use prependEnvPath.
36 Strip out the hard-coded block to add elements to the PATH for
37 MacOSX and replace it with a call to prependEnvPath using the
38 contents of LyXRC::path_prefix.
39 (queryUserLyXDir): strip out the code to run reconfigure, instead
40 returning a boolean indicating the necessity to do so.
41 (reconfigureUserLyXDir): contains the code to reconfigure the
42 user support directory. Is now called after the various LyXRC data
45 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
47 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * converter.[Ch] (convert): take a new parameter try_default. Use
50 a default converter (imagemagick) if try_default is true.
52 2005-01-13 Angus Leeming <leeming@lyx.org>
54 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
56 (write): output LyXRC::cygwin_path_fix as necessary.
58 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
61 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
63 2005-01-12 Angus Leeming <leeming@lyx.org>
65 * lyx_main.C (init): set the PATH variable to include the
66 directory containing the LyX binary when running on Mac or Windows.
68 2005-01-12 Angus Leeming <leeming@lyx.org>
70 * lyx_main.C (init): remove cruft that purports to set the locale
71 dir. It doesn't and is not needed anyway.
73 2005-01-10 Angus Leeming <leeming@lyx.org>
75 * Makefile.am: remove the lyx_main.C special casing.
83 * messages.C: use support/package.h to provide the paths to the
84 various directories used by LyX.
86 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
89 layout if pasting into an empty paragraph)
91 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
93 * tex-accent.C: add <string>
95 2005-01-06 José Matos <jamatos@lyx.org>
97 * ParagraphParameters.C (write): put every parameter in its own line.
98 * paragraph.C (write): reduce number of consecutive empty lines exported.
99 * buffer.C (LYX_FORMAT): increase file format to 239.
101 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * everywhere: change support/tostr.h -> support/convert.h
105 * tabular.C: make all write_attributes templates, tostr -> convert
107 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
108 (emptyTag): and -> &&, and fix type for ret from getChar
109 (getFirstWord): fix type for ret from getChar
110 (onlyText): and -> &&
111 (simpleDocBookOnePar): and not -> && !, fix type for ret from
114 * toc.C (goTo, action):
115 * text3.C (dispatch):
116 * text.C (currentState):
117 * tex-accent.C (DoAccent):
120 * lyxfunc.C (menuNew):
121 * lyxfinc.C (replace):
122 * counters.C (laberItem):
123 * bufferview_funcs.C (font2string):
124 * bufferparams.C (writeFile):
125 * buffer.C (readFile):
127 * MenuBackend.C: tostr -> convert
129 * LaTeX.C (runMessage): fix format
130 (scanAuxFiles): tostr -> convert
132 * BufferView_pimpl.C (savePosition): fix format
133 (restorePosition): ditto
136 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * Spacing.[Ch]: New method getValueAsString().
142 * ParagraphParameters.C:
145 * text3.C: store/read spacing value as string.
147 * rowpainter.C: change float value (spacing_val) to double.
149 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
150 broken custom document spacing).
152 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
154 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
155 namespace, also more use of temp references and const
157 * cursor.[Ch] (getStatus): move to lyxfunc.C
159 * bufferparams.C: reformat slightly
161 * bufferview_funcs.C (font2string): constify arg
167 * buffer_funcs.C: (many funcs): constify arg on function
168 definitions, also make more local vars const, also add ASSERTS on
171 * buffer.C (LYX_FORMAT): put const in correct place
172 (many funcs): constify arg on function definitions, also make
173 more local vars const
175 * aspell_local.h: remove "struct" from typdef setup
177 * aspell.C (check): make word_ok const
178 (nextMiss): simplify slightly
181 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * lyxrc.[Ch]: store all float values as strings.
184 use int (not float) for lyxrc.dpi.
186 2005-01-04 Angus Leeming <leeming@lyx.org>
188 * lyx_cb.C (Reconfigure):
189 * lyx_main.C (queryUserLyXDir):
190 to run the <system_lyxdir>/configure correctly on Windows, prefix
191 the path to the script with "sh " when generating the string that
192 is passed to system().
194 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
196 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
198 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * lyxlength.C (asLatexString): get rid of setprecision
202 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * text2.C (setLayout): remove unused variable endpit.
205 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
207 * paragraph.C (onlyText): remove unused variable style.
209 * cursor.C (bruteFind): remove unused variables beg and end.
211 * Makefile.am (dist_noinset_DATA): not needed anymore
213 * cheaders/*: remove.
215 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
217 * text3.C: fix LFUN_MATH_MODE.
219 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * buffer_funcs.C (countWords): new function. Counts words between
224 * BufferView_pimpl.C (getStatus, dispatch): handle
227 * LyXAction.C (init):
228 * lfuns.h: add LFUN_WORDS_COUNT.
230 2004-12-19 Angus Leeming <leeming@lyx.org>
232 * buffer.C (save): s/slashify_path/internal_path/.
234 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * lyxfind.C (findChange): do not search for end of pars, because
237 the change tracker cannot handle this (fixes bug 1719).
239 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
241 * paragraph.[Ch] (autoBreakRows): remove
243 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
245 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
246 avoid using the paragraph one
248 * text2.C (LyXText, insertStringAsLines): adjust
250 2004-12-16 Angus Leeming <leeming@lyx.org>
254 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
256 2004-12-14 Angus Leeming <leeming@lyx.org>
258 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
260 * bufferlist.C (emergencyWrite):
261 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
264 2004-12-14 Angus Leeming <leeming@lyx.org>
266 * main.C: (main): no longer pass pointers to os::init.
268 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
270 * undo.C (textUndoOrRedo): simplify logic, fix a crash
271 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
273 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
276 * text3.C: remove selection_possible global flag
278 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
280 * text2.C (getSelectionSpan): remove
281 (changeDepth, changeDepthAllowed): adjust
283 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
285 * Makefile.am (BOOST_LIBS): use boost variables
287 2004-12-03 José Matos <jamatos@lyx.org>
289 * buffer.C: format up to 238.
291 2004-12-03 José Matos <jamatos@lyx.org>
293 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
295 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * cursor.C (goUpDown): remove call to idxUpDown2
299 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
301 * tabular.[Ch]: use size_t-like types for cell, row and column
304 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * lyxfunc.C (getStatus): do not lose previous information when
307 calling BufferView::getStatus; do not set a default "Command
308 disabled" message at the beginning, but just before returning.
310 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * cursor.h (getStatus): add better comment from src/cursor.C
314 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * text3.C (getStatus): return false when the lfun is not handled
318 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * broken_headers.h: remove
322 * Makefile.am (lyx_SOURCES): remove broken_headers.h
324 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
326 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
329 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
330 top_y_, merge fitcursor with update
331 (updateScrollbar, scrollDocView, fitCursor, center, update): new
334 (workAreaDispatch): adapt to new coord scheme
335 (redoCurrentBuffer): remove
337 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
339 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
342 * coordcache.[Ch]: add paragraph cache and helpers
344 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
347 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
348 (targetX, setTargetX): introduce
350 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
351 baseline -> ascent, as the rest of lyx
353 * lyxtext.h: remove redoParagraphs, updateParPositions,
354 fullRebreak, redoParagraphInternal. move dist to anon namespace in
355 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
356 have ascent/descent (ascent is ascent of first par)
358 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
361 * paragraph.[Ch]: unify dimension handling with the rest of lyx
363 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
365 * pariterator.C: fix infinite loop introduced in par->pit renaming
367 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
368 in insets and LyXText, draw two off-screen paragraphs using
369 NullPainter, and adapt to new coord scheme
373 * text3.C: adapt lfun handlers to the new coord scheme, which
374 means: there's only guaranteed coord information for onscreen pars
375 plus one above and one below. This implies that one can do search
376 from y coordinates in the range [-1,workHeight]
378 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
380 * rename a lot of InsetOld to InsetBase
382 2004-11-25 Angus Leeming <leeming@lyx.org>
384 * BufferView_pimpl.C:
386 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
388 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
391 call BufferView::getStatus if LCursor::getStatus did nothing
392 (setStatusMessage, getStatusMessage): removed.
394 * FuncStatus.C (message): new methods. Used to provide an error
395 message indicating why a command is disabled.
396 (clear, |=, FuncStatus): update for message.
398 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
400 * lyxfunc.C (dispatch): always call sendDispatchMessage
402 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
405 * BufferView_pimpl.C:
419 * undo.C: par->pit renaming
421 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
423 * tabular.C (cellstruct): use initialization, store a shared_ptr
424 to insettext instead of the insettext directly, adjust to fit.
425 (operator=): new function
427 (rowstruct): use initialization
428 (columnstruct): use initialization
429 (ltType): use initialization
432 * lyxlength.h (swap): new function
434 * LColor.[Ch] (operator=): use the common semantics
436 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * lyxfind.C (findNextChange): update the bufferview after setting
441 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
444 number of InsetOptArgs has already been inserted.
446 * output_latex.C (latexOptArgInsets): new method. This outputs all
447 the optarg insets, up to the limit defined in the layout file.
448 (optArgInset): removed
449 (TeXOnePar): call latexOptArgInsets; correctly update texrow
451 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * paragraph.C (isLetter): remove special spellchecker-related
454 code; return true also for digits
455 (isWord, isKomma): remove
457 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
458 * lyxfind.C (MatchString()): use isLetter instead of isWord
460 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * pariterator.h (operatir=): comment out un-implemented member
465 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
468 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * lyxfont.h: include LColor.h to satisfy concept checks.
472 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
474 * pariterator.h: add typdefs for value_type, difference_type,
475 pointer and reference to satisfy concept checks. Also add default
476 constructor for same reason.
478 * pariterator.C (operator++): add post-increment operator to
479 satisfy concept checks.
481 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
484 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
486 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
487 checks. Also rename base_type to BaseType to follow naming
490 * FloatList.h: include Floating.h to satisfy concept checks.
492 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * lyxfunc.C (getStatus): when the origin of the request is menu or
495 toolbar, and the LyXView does not have focus, do as if there was
498 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
499 FuncRequest to individual entries of LFUN_SEQUENCE
501 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * output_latex.C (TeXOnePar): override runparams.moving_arg
504 according to the needprotect value of the current paragraph (bug
507 * paragraph.C (simpleTeXOnePar): no need to override
508 runparams.moving_args here
510 2004-11-14 John Spray <spray_john@users.sourceforge.net>
512 * vspace.C: fix off-by-one-error, related to fix #1682
514 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * lengthcommon.C: a more general fix for bug 1682
518 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
520 * text.C (backspace): fix crash
522 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * format.[Ch] (getFormatFromFile): new method
525 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
527 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
531 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * lyxfunc.C (dispatch): remove the verbose argument
534 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
537 * kbmap.C (defkey): set the origin of func to KEYBOARD
539 * MenuBackend.C (MenuItem):
540 * ToolbarBackend.C (add): set the origin of func to UI
542 * funcrequest.[Ch]: add origin member, which indicates which part
543 of LyX requests an action
545 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
547 * converter.C (move): don't lie in the error message
548 * converter.h (isReachable, move): document
550 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
552 * buffer.C: remove unused using lyx::support::atoi
553 * paragraph_funcs.C: ditto
555 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
557 * bufferlist.C (exists): use bind and equal_to instead of
560 * lyxtextclasslist.C (NumberOfClass): ditto
562 * cursor.C (insert): use for_each instead of explicit for loop
564 * bufferlist.C (getFileNames): use std::transform and
565 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
567 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
570 * buffer.C (changeLanguage): use for_each instead of explicit for
572 (hasParWithID): implement using getParFromID
574 * LaTeXFeatures.C: ws change only
576 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
579 * BufferView_pimpl.C (trackChanges): use for_each instead of
582 2004-11-04 André Pönitz <poenitz@gmx.net>
585 * undo.C (textUndoOrRedo): fix crash when creating undo information.
587 * dociterator.C (asDocIterator): use hard assert again.
589 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * lyxlength.C (asLatexString): rewrite so that it does not use
594 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * text3.C (specialChar, dispatch): make sure cursor moves to the
597 right after inserting an inset
599 2004-11-02 José Matos <jamatos@lyx.org>
601 * output_docbook.C (docbook):
602 * paragraph.C (getID):
603 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
604 garantee that the output is always legal.
606 * tabular.C (docbook):
607 * outputprams.[Ch]: remove mixed contents.
609 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
611 * text2.C (setCounter): prevent endless loop
613 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
615 * exporter.C (copyFile): use the mover instead of support::copy()
616 * exporter.C (Export): pass format and latex name to copyFile()
617 * exporter.h (addExternalFile): document
618 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
620 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
622 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
624 2004-10-30 José Matos <jamatos@lyx.org>
626 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
627 text and no inset or font change. This allows to use CDATA
628 sections just for the whole paragraph.
630 2004-10-30 José Matos <jamatos@lyx.org>
632 * paragraph.C (getFirstWord): remove unused variable.
634 2004-10-30 José Matos <jamatos@lyx.org>
636 * paragraph.C (getFirstWord): the content should always be escaped
638 (simpleDocBookOnePar):
639 * output_docbook.C (makeEnvironment): replace reference to CDATA
642 2004-10-30 José Matos <jamatos@lyx.org>
644 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
646 2004-10-30 José Matos <jamatos@lyx.org>
648 * output_docbook.C (makeParagraphs):
649 * paragraph.[Ch] (emptyTag): for docbook and company, if the
650 standard paragraph has only a given type of content drop the wrapper.
652 2004-10-29 José Matos <jamatos@lyx.org>
654 * output_docbook.C (makeEnvironment):
656 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
658 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
660 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
661 (cleanID): sanitize any id.
663 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * buffer.C, lyxlex_pimpl.C:
666 * lyxlex_pimpl.C (setFile):
667 s/getExtFromContents/getFormatFromContents/
669 2004-10-28 José Matos <jamatos@lyx.org>
671 * output_docbook.C (makeEnvironment): move id to broadest possible
674 * sgml.C (openTag): apply substitution of <> for all attributes.
676 2004-10-28 José Matos <jamatos@lyx.org>
678 * buffer.C (makeLinuxDocFile, makeDocBookFile):
679 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
680 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
682 * sgml.[Ch]: new version for open and closeTag for paragraph and
683 for strings. Now they handle the ids of paragraphs.
685 2004-10-26 Angus Leeming <leeming@lyx.org>
687 * Makefile.am: add mover.[Ch].
689 * converter.C (convert, move): use the new Movers to move external
690 files to the temp directory.
692 * lyx_main.C (init): ensure that the global system_movers data
695 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
698 * mover.[Ch]: new files, defining a Mover as a utility to move an
699 external file between directories and, if necessary, manipulate this
700 file using a helper script.
702 2004-10-25 José Matos <jamatos@lyx.org>
704 * output_docbook.C (makeCommand): merge two if's that tested the
707 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * sgml.C (escapeString): fix warning in a better way
711 2004-10-25 José Matos <jamatos@lyx.org>
713 * sgml.C (escapeString): import the require boosts header file for
714 tie, and avoid a signed unsigned comparison.
716 2004-10-25 José Matos <jamatos@lyx.org>
718 * sgml.h: add #include <string>
720 2004-10-25 José Matos <jamatos@lyx.org>
722 * sgml.[Ch] (escapeString): new function to escape all the string.
724 2004-10-24 José Matos <jamatos@lyx.org>
726 * paragraph.[Ch] (getFirstWord): new function to get the first
727 word. Useful for description.
728 (simpleDocBookOnePar): remove depth argument, add another that
729 says where to start the paragraph.
731 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
732 use the new functions to fix cleanly the support for descriptions.
734 2004-10-24 José Matos <jamatos@lyx.org>
736 * buffer.C (makeLinuxDocFile, makeDocBookFile):
737 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
738 * output_linuxdoc.C (linuxdocParagraphs):
739 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
740 add buffer as argument.
742 2004-10-24 José Matos <jamatos@lyx.org>
744 * output_docbook.C (makeEnvironment, searchEnvironment): place
745 CDATA inside paragraphs and fix scope for listitems.
747 2004-10-24 José Matos <jamatos@lyx.org>
749 * output_docbook.C: remove using statement for stack.
751 2004-10-23 José Matos <jamatos@lyx.org>
753 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
754 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
755 docbook. The new scheme is recursive and makes use of iterators, the
756 same as latex export works.
757 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
758 directly with the paragraph contents. This code was moved up to
759 output_docbook.C (docbookParagraphs).
760 * sgml.C (openTag, closeTag): removed unneeded newlines.
761 (closeEnvTags) removed.
763 2004-10-23 André Pönitz <poenitz@gmx.net>
765 * undo.C (textUndoOrRedo):
766 * dociterator.C (asDocIterator): work around crash
768 * cursor.C (getStatus): replace ASSERT by more verbose error message
769 and manual correction of the problem. Should increase stability
770 while providing more sensible information.
772 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
776 * bufferlist.C (previous, next): new methods
779 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
781 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
783 * buffer.C (makeDocBookFile): add dsssl stylesheet control
784 entities to preamble.
786 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * messages.C (Pimpl): strip off translation context information
790 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
793 the cursor is correct (bug 1694)
795 2004-10-13 José Matos <jamatos@lyx.org>
797 * output_docbook.C (docbookParagraphs): fix closing tags in the
800 2004-10-09 José Matos <jamatos@lyx.org>
802 * buffer.C: format up to 237.
803 * bufferparams.C (write): use tostr to convert booleans to strings.
805 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
807 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
809 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
811 * LaTeX.C: implement use of babel language in xindy.
813 2004-10-05 José Matos <jamatos@lyx.org>
815 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
816 Add new translators to help reading and writing the lyx file.
818 2004-10-05 José Matos <jamatos@lyx.org>
820 * ParagraphParameters.C (read):
821 * text.C (readParToken): replace nexToken by more appropriate lex
824 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
826 * LaTeX.C (runMakeIndex):
827 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
828 (usually 'makeindex') configurable.
830 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
831 with a variable rather than with a number.
833 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * output_latex.C (TeXOnePar): make sure font setting is the first
836 thing that gets output (and the last at the end). Should fix bug
839 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * pch.h: use proper signal include
843 * LaTeX.h: Use preferred calling of Boost.Signal
846 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
848 * pch.h: dont include <boost/function/function0.hpp>
850 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
852 * paragraph_pimpl.h: remove usage of ShareContainer
854 * paragraph_pimpl.C: remove initialization of ShareContainer.
856 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * BufferView.C (putSelectionAt): change the semantics when
861 backwards == true: now, this just swaps cursor and anchor wrt the
864 * BufferView.h (putSelectionAt): add some documentation
866 * lyxfind.C (findBackwards): rewrite using while(). In particular,
867 make sure backwardChar is done at least once (to avoid getting
869 (findNextChange): use putSelectionAt in the forward direction
870 (operator()): use Paragraph::isWord
872 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
874 * Spacing.C (set): c_str fix
876 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * lyx_cb.C (Reconfigure): quote the name of configure script in
879 case it contains spaces
881 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
885 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
886 (BOOST_LIBS): use top_buildir when looking for the file
888 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
890 * pch.h: do not use include boost/format.hpp, multiple symbols
891 will result (gcc bug)
894 2004-08-23 José Matos <jamatos@lyx.org>
896 * bufferparams.C (readToken): fix reading of the author field.
898 2004-08-20 José Matos <jamatos@lyx.org>
900 * lyxrc.C: remove support/translator.h inclusion since it is not used.
902 2004-08-20 José Matos <jamatos@lyx.org>
904 * lyxlex.[Ch] (findToken): remove function.
906 * ParagraphParameters.C (findToken):
907 * bufferparams.C (findToken): replace call for previous function
908 with local copy. This local function has one more argument, the
909 read string argument.
911 2004-08-16 José Matos <jamatos@lyx.org>
913 * ParagraphParameters.C (write):
914 * Spacing.C (writeFile):
915 * bufferparams.C (writeLaTeX):
916 * lyx_cb.C (Reconfigure):
917 * paragraph.C (write):
918 * tabular.C (write): remove unnecessary space at end of line.
921 2004-08-16 José Matos <jamatos@lyx.org>
923 * text.C (readParagraph): remove debug message.
925 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
930 * output_plaintext.C (asciiParagraph): set depth correctly
932 * outputparams.h: add member depth
934 * paragraph_funcs.C (ownerPar): remove.
936 * text2.C (setCounter): remove first_pit; comment out some
937 non-working code that uses ownerPar
939 * BufferView.C (getParentLanguage): remove. Not used anymore, and
942 2004-08-16 José Matos <jamatos@lyx.org>
944 * text.C (readParToken, readParagraph, read): report all unknown tokens.
945 For the same level of importance use the same chanel to report problems.
946 (read): add code to deal with \begin_body and \end_body.
949 2004-08-15 José Matos <jamatos@lyx.org>
951 * lyxlex.C (getString): fix comment, buffer::readBody is now
954 * tex-strings.C (string_papersize): Default -> default,
955 Custom -> custom, for consistency with other options.
957 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
961 * Makefile.am: support pch
963 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * text.C (readParToken): remove the static LyXFont variable and
966 pass it as a parameter instead. This fixes a nasty bug where an
967 inset will be inserted with a bad font in some situations
968 (readParagraph): adapt
970 * text2.C (setCounter): reduce number of calls to pars_[pit]
972 * text.C (singleWidth): add an assert, fix a test
974 * rowpainter.C (paintText): reduce number of calls to singleWidth
976 * paragraph.C (isHfill):
979 2004-08-14 André Pönitz <poenitz@gmx.net>
984 * lyxtext.h (several functions): use a Paragraph & argument
987 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
989 * metricsinfo.h: add a new field ltr_pos to PainterInfo
991 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
993 * text.C (singleWidth): remove useless test
995 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
997 * tabular.h: remove bogus comments
999 * tabular.C (getDescentOfRow):
1000 (isPartOfMultiColumn): add assertions
1002 * lyxlength.C (inPixels): remove #warning
1004 2004-08-14 André Pönitz <poenitz@gmx.net>
1006 * paragraph.h: inline getChar()
1008 * BufferView.h: remove unused declarations
1010 2004-08-14 José Matos <jamatos@lyx.org>
1012 * Buffer.[Ch] (readDocument): new name for old readBody.
1013 * Buffer.C: new file format, new keywords: \begin_document,
1014 \begin_header, \begin_body, \end_body.
1016 * bufferparams.C (readToken): replace all calls to lex.nextToken
1017 by lex.next(). Do the same to eatLine except where really needed.
1019 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1020 line when writing to the lyx file.
1022 * output_plaintext.C (asciiParagraph): fix Bibliography style
1025 * text.C (read): fix end of file handling.
1027 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * MenuBackend.C (Menu::operator[]): new method to access
1030 individual menu items
1031 (Menu::hasFunc): new method. search for an item that corresponds
1033 (MenuBackend::specialMenu): new method
1034 (MenuBackend::expand): if a special menu has been set, skip
1035 entries whose func() appears in this menu
1037 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1039 * text3.C: use Debug::DEBUG a bit more
1041 * text.C (leftMargin): try to simplify a tiny bit change var x to
1042 l_margin. Dont output the wide margins always.
1043 (rightMargin): no margin in inner texts
1045 * rowpainter.h (nestMargin): new func
1046 (changebarMargin): new func
1047 (rightMargin): new func
1049 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1053 * factory.C (createInset): modify setDrawFrame
1055 * cursor.C: use Debug::DEBUG a bit more
1057 2004-08-14 André Pönitz <poenitz@gmx.net>
1060 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1061 cache for all insets in (at least partially) visible (top-level)
1064 * BufferView_pimpl.C: reset external coord cache before every update.
1065 This means the coord cache only contains valid entries.
1067 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1070 * BufferView_pimpl.C (getInsetByCode): move function out of class
1071 and change in to a template in anon namespace. Also fix to do what
1074 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1077 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1079 (breakParagraph): rename par to par_offset and use a local
1080 reference. Add code to keep the language over a rebreak.
1081 (breakParagraphConservative): rename par to par_offset, use a
1083 (mergeParagraph): ditto
1085 (isFirstInSequence): ditto
1086 (outerFont): rename pit to par_offset
1088 * paragraph.C: ws change
1089 * paragraph.h: ditto
1093 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1095 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1098 * paragraph.C (simpleTeXOnePar): when we have a \item with
1099 optional argument, enclose the argument with curly brackets (in
1100 case it contains a closing square bracket)
1104 * text3.C (checkInsetHit): constify
1106 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1108 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1109 documents (bug 1629)
1111 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1113 Fix toggling of collapsable insets with the mouse (bug 1558)
1115 * lyxfunc.C (dispatch): adapt to LCursor changes
1117 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1118 make sure that dispatch is not invoked twice
1120 * cursor.C (needsUpdate): new method
1121 (dispatch): return void
1122 (result): new method, to access the DispatchResult of the cursor.
1124 2004-08-13 José Matos <jamatos@lyx.org>
1126 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1128 2004-08-13 André Pönitz <poenitz@gmx.net>
1130 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1132 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1135 2004-08-12 André Pönitz <poenitz@gmx.net>
1137 * text3.C: take out the 'cursor right' form insertInset and only
1138 do it in those places when it is really needed. Fixes crash on
1141 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1145 * BufferView_pimpl.C (setBuffer): initialize the current font of
1146 the underlying LyXText
1148 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * kbsequence.C (print): use UI native formatting for menu
1153 * text.C (insertChar): call Paragraph::insertChar with a font
1156 * paragraph.C (insertInset, insertChar): the version that takes a
1157 LyXFont argument is now a wrapper around the other one (the
1158 opposite used to be true).
1160 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1161 argument. Font setting is done in Paragraph now.
1163 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * outputparams.h: add new members intitle and lang.
1167 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1168 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1170 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1172 * text3.C (dispatch): remove special handling of button 4 and 5,
1173 it is now taken care of in the frontend code.
1175 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1177 * Spacing.h: add <string> (STLPort compile fix)
1179 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1181 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1183 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1185 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1188 * converter.C (showMessage): inherit from unary_function, make
1191 * buffer.C (writeFile): initialize retval
1193 * InsetList.h: rename private variable list to list_
1194 * InsetList.[Ch]: adjust accordingly.
1196 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1198 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1199 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1200 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1201 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1202 * ParagraphParameters.C, LaTeXFeatures.C: replace
1203 "support/std_sstream.h" with <sstream>
1205 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1207 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1208 * lyxsocket.C (LyXServerSocket): ditto
1209 (serverCallback): ditto
1211 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1213 * LaTeXFeatures.C: check release date when loading jurabib.
1215 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1217 * lyxserver.C (startPipe): call register_socket_callback
1218 (endPipe): call unregister_socket_callback
1220 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1222 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1223 (LyXServerSocket): register the callback
1224 (LyXServerSocket): unregister the callback
1225 (fd): delete function
1226 (serverCallback): improve error checking and setup the callbacks.
1227 (dataCallback): change arg to fd.
1228 (writeln): new func (copied fro the client socket) used for server
1230 (LyXDataSocket): simplify
1231 (~LyXDataSocket): close ann unregiser callback
1232 (server): delete function
1233 (fd): delete function
1234 (readln): small changes, improve some std::string usage
1235 (writeln): constify a bit
1237 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1242 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1245 after it has been populated
1247 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1249 * text2.C (insertInset): move cursor when inserting inset.
1251 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1253 * kbmap.C (findbindings): a couple of new methods. returns a
1254 container of kb_sequence objects. The real work is done by the
1255 private recursive version
1256 (printbindings): uses findbindings to print out a bracketed list
1257 of bindings (renamed from findbinding).
1259 * MenuBackend.C (binding): use kb_keymap::findbindings
1261 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1263 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1265 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1267 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1269 * paragraph.C (isWord): return true on insets that report
1272 * text.C (getWord): use Paragraph::isWord to decide what is in a
1273 word and what is not; fix bug 1609.
1275 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1277 * tex-strings.C: add "none" to string_paperpackages[], fixes
1278 off-by-one-error in the paperpackage selection.
1281 * tex-strings.[Ch]: char const * string[n]
1282 -> char const * const string[]
1284 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1286 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1287 command, return early.
1289 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1291 * debug.h: add DEBUG to enum and fix size of ANY.
1293 * debug.C: add support for Debug::DEBUG
1294 (showTags): cast errorTags.level to unsigned int
1296 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1297 (redoCurrentBuffer): ditto
1298 (updateScrollbar): ditto
1299 * cursor.C (dispatch): ditto
1300 * text2.C (setLayout): ditto
1302 (updateCounters): ditto
1304 (deleteEmptyParagraphMechanism): ditto
1306 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1308 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1309 annotations to cleanup the Makefile slightly.
1311 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1313 * lyxrc.C: do not set user_email to a default value but use empty
1314 instead. The entry used to be translated, which does not work
1315 since at the point where lyxrc is constructed there is no
1316 translation service available
1318 * messages.C (getLocaleDir): remove and use directly
1319 lyx_localedir() instead
1321 2004-06-02 Angus Leeming <leeming@lyx.org>
1323 Fix crash caused by dereferencing null pointer 'exportdata' in
1324 OutputParams by creating a new ExportData variable on the heap,
1325 storing it in a boost::shared_ptr.
1326 The crash was triggered when generating an Instant Preview
1327 of an external inset.
1329 * Makefile.am: add outputparams.C
1331 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1332 (c-tor): allocate memory to it.
1334 * exporter.C (c-tor): associated changes.
1336 2004-06-01 Angus Leeming <leeming@lyx.org>
1338 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1339 contains data before calling isInset(0). (Bug 1513.)
1341 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1343 * exporter.C (checkOverwrite): new method
1344 * exporter.C (copyFile): new method
1345 * exporter.C (Export): copy referenced files to the document dir
1346 * exporter.[Ch]: new class ExportedFile
1347 * exporter.[Ch]: new class ExportData. Contains currently the
1348 names of referenced external files
1349 * outputparams.h: add exportdata member.
1351 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1353 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1356 2004-05-19 Angus Leeming <leeming@lyx.org>
1361 * lyxfunc.C: small changes due to the introduction of namespace
1362 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1364 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1366 * text3.C (dispatch): supress update when only moving the cursor
1367 * cursor.C (selHandle): remove commented code
1369 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1371 * paragraph.C (startTeXParParams): correct column count
1372 * CutAndPaste.C (pasteSelection): remove const_cast
1373 * output_docbook.C (docbookParagraphs): remove const_cast
1374 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1375 const_cast and return ParagraphList::const_iterator
1376 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1377 * output_plaintext.C (writeFileAscii): remove const_cast
1378 * paragraph.[Ch] (simpleTeXOnePar): make const
1379 * paragraph_funcs.C (outerPar): use const iterators
1380 * paragraph_pimpl.C (validate): use const iterators
1381 * text.C (setHeightOfRow): use const iterators
1383 2004-05-17 Angus Leeming <leeming@lyx.org>
1386 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1388 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1389 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1390 if the citation engine has changed.
1392 2004-05-14 José Matos <jamatos@lyx.org>
1394 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1395 if the textclass does not provide it. Have it different for sgml and
1397 support the language of document.
1398 * output_docbook.C (docbookParagraphs):
1399 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1400 first anchor as the id of the paragraph, remove special case code.
1401 * sgml.C (escapeChar): escape only < & >.
1403 2004-05-14 Angus Leeming <leeming@lyx.org>
1405 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1406 dependencies on src/frontends/controllers/biblio.h. Define a
1407 CiteEngine_enum wrapper class to enable the enum to be forward
1410 2004-05-12 Angus Leeming <leeming@lyx.org>
1412 * buffer.C: up LYX_FORMAT to 234.
1413 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1414 use_numerical_citations with a single biblio::CiteEngine cite_engine
1416 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1418 2004-05-13 José Matos <jamatos@lyx.org>
1421 * converter.C (Converter, readFlags): add xml member.
1422 * outputparams.h: add XML flavor.
1423 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1425 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * lyxfunc.C (dispatch):
1428 (getStatus): fix handling of LFUN_SEQUENCE
1430 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * debug.C (showLevel): do not forget the end-of-line marker
1434 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * kbmap.C (read): do not stop parsing a bind file when an error
1439 2004-04-29 Angus Leeming <leeming@lyx.org>
1444 * text2.C: wrap a bunch of #warning statements
1445 inside #ifdef WITH_WARNINGS blocks.
1447 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1449 * buffer.C: increment format to 233.
1451 2004-04-28 Angus Leeming <leeming@lyx.org>
1453 * BufferView_pimpl.C:
1456 s/updateToolbar()/updateToolbars()/
1457 s/Toolbar.h/Toolbars.h/
1459 2004-04-28 Angus Leeming <leeming@lyx.org>
1461 * BufferView.[Ch] (c-tor):
1462 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1463 No longer passes these data to the WorkArea generator.
1465 2004-04-28 Angus Leeming <leeming@lyx.org>
1467 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1469 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1471 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1473 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * output_latex.C (TeXEnvironment): make sure that there is a line
1476 break before \end{foo} for the last paragraph of a document
1477 (TeXOnePar): if the paragraph is at the end of the document (or
1478 inset) and the language has to be reset, then make sure that the
1479 line break is _before_ the language command, not after (fixes bug
1480 1225); also make sure that the language reset command is the first
1481 thing after the paragraph (to ensure proper nesting of
1482 environments and thus fix bug 1404)
1484 2004-04-21 John Levon <levon@movementarian.org>
1487 * ToolbarBackend.C: make "name" be a programmatic name
1488 and a gui_name field.
1490 * lyxfunc.C: display the minibuffer on M-x
1492 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1497 2004-04-19 Angus Leeming <leeming@lyx.org>
1499 * BufferView_pimpl.C (setBuffer): changed preview interface.
1501 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1504 2004-04-19 John Levon <levon@movementarian.org>
1506 * BufferView_pimpl.C:
1507 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1509 2004-04-05 Angus Leeming <leeming@lyx.org>
1511 * text.C (redoParagraphs): add call to updateCounters(), thereby
1512 fixing the missing "Figure #:" label from the caption of a
1515 2004-04-13 Angus Leeming <leeming@lyx.org>
1517 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1518 cursor is clicked out of an inset.
1520 2004-04-13 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1523 than an InsetOld one.
1525 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1527 * format.[Ch]: add editor to Format
1528 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1529 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1531 2004-04-08 André Pönitz <poenitz@gmx.net>
1533 * metricsinfo.h: remove PainterInfo::width member
1535 2004-04-08 Angus Leeming <leeming@lyx.org>
1537 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1538 "\providecommand" rather than "\newcommand", thereby preventing
1539 clashes with packages that define "\boldsymbol" themselves.
1542 2004-04-08 Angus Leeming <leeming@lyx.org>
1544 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1545 thereby squashing an unnecessary warning.
1547 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1552 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1554 * BufferView.C (setCursor): call redoParagraph (some insets could
1556 (putSelectionAt): remove the 'double update' trick
1558 * BufferView_pimpl.C (fitCursor): call refreshPar
1559 (workAreaDispatch): remove an uneeded update call
1560 (dispatch): remove some manual update calls
1562 * cursor.[Ch]: remove cached_y_, updatePos
1563 (selHandle): set noUpdate when appropriate
1565 * lyxfunc.C (dispatch): track if we need an update
1567 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1569 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1570 (paintSelection): cheap optimization, do not call cursorX when not
1572 (paintPars): change signature
1575 (paintTextInset): adjust
1579 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * lengthcommon.C: compilation fix: remove explicit array size from
1582 unit_name[] and friends
1584 2004-04-05 Angus Leeming <leeming@lyx.org>
1586 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1588 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1589 present only for the preferences dialog.
1590 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1592 2004-04-05 Angus Leeming <leeming@lyx.org>
1594 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1595 to enable the frontends to export changes to lyxrc correctly.
1597 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1599 2004-04-07 André Pönitz <poenitz@gmx.net>
1601 * cursor.[Ch] (selClear, adjust): remove math
1603 * cursor_slice.C: more agressive assert
1606 * BufferView_pimpl.C: rework mouse event dispatch
1613 2004-04-05 André Pönitz <poenitz@gmx.net>
1615 * cursor.[Ch] (valign, halign...): remove unneeded functions
1617 2004-04-05 Angus Leeming <leeming@lyx.org>
1619 * lyxlength.[Ch] (unit_name et al.): const-correct.
1621 2004-04-05 Angus Leeming <leeming@lyx.org>
1623 * BufferView_pimpl.C:
1632 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1634 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1636 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1638 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1640 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1641 * BufferView_pimpl.[Ch] (getStatus)
1642 * BufferView.[Ch] (getStatus): add
1643 * lyxfunc.C (getStatus): move lfuns handled in
1644 BufferView::dispatch to te function above
1645 * Cursor.C (setSelection): set selection() = true
1647 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1649 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1651 2004-03-31 Angus Leeming <leeming@lyx.org>
1653 * lyxfunc.C (dispatch): Fall through to the generic
1654 Dialogs::show("preamble").
1656 2004-03-31 Angus Leeming <leeming@lyx.org>
1658 * lyxfunc.C (dispatch): Fall through to the generic
1659 Dialogs::show("spellchecker").
1661 2004-03-31 Angus Leeming <leeming@lyx.org>
1663 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1666 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1671 * insetiterator.[Ch]:
1676 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1678 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1680 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1681 insets where we are putting the cursor.
1683 2004-03-31 Angus Leeming <leeming@lyx.org>
1686 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1688 * lyxrc.[Ch] (read, write): overloaded member functions taking
1689 a std::[io]stream arguments.
1691 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1693 2004-03-31 Angus Leeming <leeming@lyx.org>
1695 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1696 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1698 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1699 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1701 2004-03-31 Angus Leeming <leeming@lyx.org>
1703 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1704 the LFUN_ALL_INSETS_TOGGLE code.
1706 2004-03-30 Angus Leeming <leeming@lyx.org>
1708 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1709 has died. Fall through to the generic Dialogs::show("document").
1711 2004-03-30 Angus Leeming <leeming@lyx.org>
1714 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1715 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1717 * lyxfunc.C (getStatus, dispatch): define the actions for these
1718 lfuns. Little more than a cut and pste job from ControlDocument.C
1720 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1722 2004-03-30 Angus Leeming <leeming@lyx.org>
1725 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1726 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1728 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1729 open/closed state of ollapsable insets. Usage:
1731 all-inset-toggle <state> <name>, where
1732 <state> == "open" || "closed" || "toggle" and
1733 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1735 * lyxtext.h, text2.C (toggleInset): removed.
1737 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1738 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1739 now passes LFUN_INSET_TOGGLE to the found inset.
1741 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1742 is now invoked as "all-insets-toggle toggle branch".
1744 2004-03-30 Angus Leeming <leeming@lyx.org>
1748 * pariterator.[Ch]: added/corrected header blurb.
1750 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1752 * dociterator.[Ch]: add an inset_ member
1753 (backwardPos): implemented
1754 (backwardPos, forwardPos): use inset_ when the stack is empty.
1755 (doc_iterator_begin, doc_iterator_end): implemented
1756 * pariterator.[Ch]: adjust, add begin, end
1757 * insetiterator.[Ch]: adjust, add begin, end
1761 * BufferView_pimpl.C:
1762 * CutAndPaste.C: adjust
1764 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1766 * buffer.C: increment file format to 232.
1767 * LaTeXFeatures.C: add bibtopic package.
1768 * bufferparams.[Ch]: param \use_bibtopic.
1770 * lyxrc.[Ch]: add lyxrc bibtex_command
1771 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1773 * buffer.C: increment file format to 231.
1775 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1777 * dociterator.C: implement forwardPar
1778 * iterators.[Ch]: remove, replaced by
1779 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1781 * BufferView_pimpl.C:
1784 * bufferview_funcs.C:
1790 * Makefile.am: adjust
1792 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1794 * CutAndPaste.C (pasteSelection): fix 2 crashes
1795 (eraseSelection): fix a crash
1796 * paragraph_funcs.C: remove a warning
1798 2004-03-28 Angus Leeming <leeming@lyx.org>
1801 * LyXAction.C (init): new LFUN_PRINT.
1803 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1805 2004-03-27 Angus Leeming <leeming@lyx.org>
1808 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1810 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1812 2004-03-27 Angus Leeming <leeming@lyx.org>
1814 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1815 insetlist always contains non-null pointers to insets.
1817 2004-03-26 Angus Leeming <leeming@lyx.org>
1819 * src/BufferView_pimpl.C:
1820 * src/CutAndPaste.C:
1823 * src/output_plaintext.C:
1824 * src/outputparams.h:
1825 * src/paragraph_funcs.C:
1829 * src/frontends/controllers/ControlErrorList.C:
1830 * src/frontends/gtk/FileDialogPrivate.C:
1831 * src/frontends/gtk/GPainter.C:
1832 * src/frontends/gtk/GToolbar.C:
1833 * src/frontends/qt2/QRef.C:
1834 * src/mathed/math_scriptinset.C: squash compiler warnings.
1836 2004-03-26 Angus Leeming <leeming@lyx.org>
1838 * ispell.C (LaunchIspell::start):
1839 * lyx_cb.C (AutoSaveBuffer::start):
1840 invoke run(DontWait) rather than runNonBlocking().
1842 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1844 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1846 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1848 * kbsequence.C (print): adjust
1850 * kbmap.C (printKeySym): rename and change signature
1851 (printKey): use LyXKeySym::print()
1853 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1855 * undo.C: add using std::advance to compile for stlport
1857 2004-03-24 Angus Leeming <leeming@lyx.org>
1859 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1860 it leads to a crash when no buffer is present.
1862 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1863 Martin Vermeer <martin.vermeer@hut.fi>
1865 * lyxfunc.C (dispatch):
1866 * bufferparams.C (readToken): use the new LColor::setColor
1868 * LColor.[Ch] (setColor): new version that takes two strings as
1869 argument and creates a new color entry if necessary
1871 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1873 * buffer.C (makeLaTeXFile): if the main latex file that is
1874 processed is usually a subdocument of some master, then pretend
1875 for a while that it is actually the master
1877 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1879 * buffer.C (getLabelList):
1880 (getBibkeyList): use getMasterBuffer()
1881 (getMasterBuffer): new method. Returns the main document in the
1882 case where one is using included documents.
1884 2004-03-25 André Pönitz <poenitz@gmx.net>
1888 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1890 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1892 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1893 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1895 * ParameterStruct.h: merge with ParagraphParameters
1897 * lyxtext.h: remove LyXText::parOffset() and getPar()
1899 * text3.C: Remove all 'manual' update calls. We do now one per user
1900 interaction which is completely sufficient.
1904 * BufferView_pimpl.C:
1905 * FontIterator.[Ch]:
1907 * ParagraphParameters.[Ch]:
1912 * cursor_slice.[Ch]:
1919 * output_docbook.[Ch]:
1920 * output_latex.[Ch]:
1921 * output_linuxdoc.[Ch]:
1922 * output_plaintext.[Ch]:
1924 * paragraph_funcs.[Ch]:
1925 * paragraph_pimpl.[Ch]:
1933 * frontends/controllers/ControlDocument.C:
1934 * frontends/controllers/ControlErrorList.C:
1935 * frontends/controllers/ControlSpellchecker.C:
1938 * insets/insetbase.h:
1939 * insets/insetbibitem.C:
1940 * insets/insetbox.C:
1941 * insets/insetbranch.C:
1942 * insets/insetcaption.C:
1943 * insets/insetcharstyle.C:
1944 * insets/insetcharstyle.h:
1945 * insets/insetcollapsable.C:
1946 * insets/insetcollapsable.h:
1947 * insets/insetert.C:
1948 * insets/insetfloat.C:
1949 * insets/insetfoot.C:
1950 * insets/insetmarginal.C:
1951 * insets/insetnote.C:
1952 * insets/insetoptarg.C:
1953 * insets/insettabular.C:
1954 * insets/insettext.C:
1955 * insets/insettext.h:
1956 * insets/insetwrap.C:
1957 * mathed/math_mboxinset.C:
1958 * mathed/math_nestinset.C:
1959 * mathed/math_scriptinset.C:
1960 * mathed/math_scriptinset.h:
1963 2004-03-24 Angus Leeming <leeming@lyx.org>
1965 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1966 deal with any child processes that have finished but are waiting to
1967 communicate this fact to the rest of LyX.
1969 2004-03-24 Angus Leeming <leeming@lyx.org>
1971 64-bit compile fixes.
1973 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1974 (c-tor): pass lyx::pos_types rather than ints.
1976 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1979 * text.C (Delete): compile fix.
1980 (getPar): ensure that function declaration is the same as that in
1983 2004-03-23 Angus Leeming <leeming@lyx.org>
1985 * ispell.C (LaunchIspell):
1986 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1987 a boost::shred_ptr rather than a std::auto_ptr.
1989 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1991 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1992 handle LFUN_FILE_INSERT_*
1994 * lyxrc.C (setDefaults, getDescription, output, read):
1995 * lyxrc.h: remove ps_command
1997 2004-03-22 Angus Leeming <leeming@lyx.org>
1999 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2000 Ensure that error_handler is processed once only and that all data
2001 is saved before attempting to output any warning messages.
2003 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2005 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2007 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2009 2004-03-19 André Pönitz <poenitz@gmx.net>
2011 * cursor.[Ch] (reset): take main text inset as argument
2013 * BufferView: adjust
2014 * BufferView_pimpl.C: adjust
2016 * paragraph.[Ch]: fix completely broken operator=()
2018 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * LColor.C (getFromLyXName): make sure that the color name is used
2023 2004-03-17 Angus Leeming <leeming@lyx.org>
2026 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2028 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2029 dialog and to kill a forked process.
2031 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2033 * text2.C (setCursorFromCoordinates): fix font problem
2035 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2037 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2038 bogus "rebuild cursor" code
2040 2004-03-11 André Pönitz <poenitz@gmx.net>
2042 * buffer.[Ch]: use InsetText instead of LyXText as container for
2045 * dociterator.[Ch]: drop the BufferView * member which is not needed
2046 anymore after the change to buffer.C
2048 * paragraph_funcs.C:
2052 * BufferView_pimpl.[Ch]:
2054 * cursor_slice.[Ch]: adjust
2056 * text3.C: fix bug in mathDispatch
2058 2004-03-08 André Pönitz <poenitz@gmx.net>
2060 * undo.[Ch]: use 'StableDocumentIterator' as base for
2063 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2066 * bufferparams.[Ch]: add jurabib support and param.
2068 * LaTeX.C: add FIXME/comment.
2070 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2072 * buffer.C: increment file format to 230.
2074 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2076 * cursor.C (dispatch): avoid infinite loops
2078 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2080 * rowpainter.C (paintSelection): fix x coordinates
2082 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2084 * text.C (rowBreakPoint): fix breaking before displayed insets
2086 2004-03-01 André Pönitz <poenitz@gmx.net>
2088 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2090 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2094 * BufferView_pimpl.C:
2102 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2108 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2109 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2111 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2113 * Bidi.[Ch] (computeTables): const correctness
2114 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2115 fill_hfill, fill_label_hfill and x from Row
2116 * lyxtext.h: prepareToPrint returns a RowMetrics
2117 * rowPainter.C: adjust
2118 * text.C (prepareToPrint): use width, not textWidth. adjust
2119 (redoParagraphInternal, cursorX): adjust
2120 * text2.C (getColumnNearX): adjust
2121 (init): put a default value to the top LyXText::width
2123 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2125 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2127 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2129 * lyxtext.h: add FontIterator class
2131 * text.C (FontIterator, operator*, operator->, operator++): add
2132 (rowBreakPoint, setRowWidth): adjust (fixing a
2135 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * BufferView_pimpl.C (workAreaDispatch): allow also
2138 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2140 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2142 * text.C (rowBreakPoint): fix a bug showing with very large insets
2144 2004-02-25 André Pönitz <poenitz@gmx.net>
2147 * cursor.[Ch]: move some mathed specific code to mathed
2149 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2151 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2152 use_tempdir in preferences
2153 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2155 * lyx_main.C: ensure that tempdir is valid
2156 * lyxlex.h: correct typo
2157 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2158 * paragraph.[Ch] (isMultiLingual): make const
2159 * cursor.[Ch] (openable): make const
2161 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2163 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2165 2004-02-20 André Pönitz <poenitz@gmx.net>
2167 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2169 * cursor.[Ch]: prepare for localized getStatus()
2175 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2177 2004-02-20 André Pönitz <poenitz@gmx.net>
2179 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2181 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2183 * text2.C (setCursorFromCoordinates): switch to absolute coords
2185 (cursorDown): adjust
2186 * text3.C (dispatch): adjust
2188 2004-02-16 André Pönitz <poenitz@gmx.net>
2190 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2193 * cursor_slice.[Ch]: remove unneeded acessor function
2195 * lyxtext.h: rename rtl() to isRTL()
2203 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2205 * rowpainter.C (paintSelection): coord fix
2207 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2209 * Spacing.C: compile fix
2211 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2213 * cursor.C (dispatch): restore current_ before returning
2215 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2217 * text2.C (cursorUp, cursorDown): fix coords
2220 2004-02-12 André Pönitz <poenitz@gmx.net>
2225 * text3.C: add LCursor & parameter to most cursor movement functions
2226 remove usage of LyXText::cursorRow() and cursorPar()
2228 * cursor.[Ch]: add textRow() needed members
2231 * BufferView_pimpl.C:
2234 * BufferView_pimpl.C: adjust
2236 2004-02-11 André Pönitz <poenitz@gmx.net>
2240 * BufferView_pimpl.C: shift undo/redo handling
2242 * cursor.[Ch]: fix mathed crash
2245 * lyxtext.h: move selectionAsText to LCursor
2253 * rowpainter.C: fix excessive drawing
2255 2004-02-06 André Pönitz <poenitz@gmx.net>
2258 * BufferView_pimpl.[Ch]:
2259 * text3.C: move some text specific LFUN handling
2261 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2263 * text3.C (checkInsetHit): adjust coords
2264 * text2.C (getColumnNearX): adjust coords
2265 (edit): adjust coords
2266 * text.C (getRowNearY): add two asserts
2268 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2271 * format.C: add using std::distance to compile on gcc 2.95/stlport
2273 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2275 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2277 2004-02-04 André Pönitz <poenitz@gmx.net>
2279 * BufferView.[Ch] (insertInset):
2280 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2285 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2287 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2288 on the default clause of the switch
2289 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2290 wasn't catched by LCursor::dispatch
2292 2004-02-03 André Pönitz <poenitz@gmx.net>
2295 * cursor.[Ch]: some additional asserts
2297 * undo.[Ch]: remove LyXText dependency in interface
2301 * lyxtext.h (firstPar, lastPar): remove dead functions
2306 * paragraph.[Ch]: adjust
2308 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2310 * lyxfind.C (find): fix argument order in call to ::find
2312 2004-02-02 André Pönitz <poenitz@gmx.net>
2314 * cursor.[Ch]: remove direct access to anchor
2316 * text.C: remove findText() hack
2318 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2320 * iterators.[Ch] (lockPath): remove in favour of...
2321 * BufferView.[Ch] (setCursor): this addition
2322 * BufferView.C (putSelectionAt): adjust
2323 * undo.C (performUndoOrRedo): adjust
2324 * lyxfunc.C (dispatch): adjust
2326 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2328 * iterators.C (lockPath): add a missing slice
2329 * undo.C (performUndoOrRedo): remove redundant positioning code
2331 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2333 * vc-backend.C (scanMaster): ";" -> ';'
2335 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2337 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2338 std::binary_function
2340 * lyxtextclass.C (compare_name): rename to...
2341 (LayoutNamesEqual): ...this
2343 * lyxlex_pimpl.C (compare_tags): inherit from
2344 std::binary_function, put back into anon namespace
2346 * lyxfind.C (MatchString): inherig from std::binary_function
2347 (findChange): use empty() istead of !size()
2349 * format.C (FormatNamesEqual): new functor
2356 * converter.C (compare_Converter): rename to...
2357 (ConverterEqual): ...this, and fixup a bit.
2358 (getConverter): use it, and make function const
2359 (getNumber): use it, and make function const
2363 * bufferlist.C: add using boost::bind
2365 * MenuBackend.C (MenuNamesEqual): new functor
2366 (hasMenu): use it, and make function const
2367 (hasSubmenu): use nested bind to get rid of compare_memfun.
2369 2004-01-30 André Pönitz <poenitz@gmx.net>
2371 * BufferView_pimpl.C:
2374 * cursor_slice.[Ch]:
2377 * paragraph_funcs.C:
2378 * paragraph_funcs.h:
2382 * text3.C: move some of the edit(x,y) handling to the insets
2383 some coordinate changes.
2385 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2387 * text.C: add using statements for std::advance and std::distance
2389 * paragraph.C: add using statement for std::distance
2391 * lyxfind.C: add using statement for std::advance
2393 * cursor.C (region): remove std:: from swap
2394 (openable): use nucleus in stead of operator->
2396 * BufferView.C: add using statements for std::distance and std::swap
2398 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2400 * iterators.C: Remove the pimple, move the needed structures to
2401 the header file. Create accessor for the positions stack.
2402 (asPosIterator): remove function
2404 * PosIterator.C (PosIterator): move constructors to top of file
2405 (PosIterator): reimplement the constructor taking a ParIterator in
2407 (setFrom): new function
2408 (operator!=): inline it
2410 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2412 * lyxfind.C (replaceAll): use std::advance
2414 * iterators.h: inherit from std::iterator.
2416 * PosIterator.C (advance, distance): remove
2417 * PosIterator.h: interit from std::iterator.
2419 2004-01-26 André Pönitz <poenitz@gmx.net>
2422 * BufferView_pimpl.[Ch]:
2426 * bufferview_funcs.C:
2436 * output_linuxdoc.C:
2437 * output_plaintext.C:
2439 * paragraph_funcs.[Ch]:
2440 * paragraph_pimpl.[Ch]:
2446 * text3.C: more IU: dumps most of the rest of the mathcursor
2447 implementation into cursor.[Ch]; "globalize" a bit of it.
2449 2004-01-25 Angus Leeming <leeming@lyx.org>
2451 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2453 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2455 * LaTeXFeatures.h: add nice_ and nice() const
2456 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2458 2004-01-20 André Pönitz <poenitz@gmx.net>
2461 * BufferView_pimpl.C:
2463 * bufferview_funcs.C:
2465 * cursor_slice.[Ch]:
2476 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2477 LCursor and mathcursor parts to LCursor and InsetBase.
2479 2004-01-15 André Pönitz <poenitz@gmx.net>
2481 * cursor_slice.[Ch]: add a few covienience functions
2483 * funcrequest.[Ch]: remove BufferView * member
2485 * BufferView_pimpl.C:
2492 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2494 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2496 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2497 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2499 2004-01-13 André Pönitz <poenitz@gmx.net>
2502 * lyxtext.h: hide cursor and selection anchor behind accessor function
2505 * BufferView_pimpl.[Ch]:
2507 * bufferview_funcs.C:
2517 * cursor_slice.[Ch]: some integer type changes for inset unification
2519 * lyxcursor.[hC]: remove, it's CursorSlice now.
2522 * BufferView_pimpl.[Ch]:
2523 * bufferview_funcs.C:
2529 * textcursor.[Ch]: adjust
2531 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2533 * text2.C (undoSpan): add and use
2534 * text.C (breakParagraph): use undoSpan (fix bug 578)
2537 2004-01-08 Angus Leeming <leeming@lyx.org>
2539 * BufferView_pimpl.C (MenuInsertLyXFile):
2540 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2541 * lyxfunc.C (menuNew, open, doImport):
2542 FileFilterList change to the FileDialog open and save functions.
2544 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2546 * ShareContainer.h: make isEqual and isUnique adaptable
2548 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2550 2004-01-07 Angus Leeming <leeming@lyx.org>
2553 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2555 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2557 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2558 functions replacing find, replace and replaceAll.
2560 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2561 LFUN_WORDFIND(FORWARD|BACKWARD).
2563 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2565 * text.C (breakParagraph): remove an outdated #warning
2567 2004-01-07 André Pönitz <poenitz@gmx.net>
2569 * lyxfind.C: somewhat clearer logic
2571 * text.C: prevent crash in cursorX on unitialized row cache
2573 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2575 * lyxcursor.[Ch] (operator>): add
2576 * textcursor.C (selStart, selEnd): use std::min and std::max
2578 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2580 * Chktex.C: include boost/format.hpp
2582 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2584 * InsetList.C: replace functor MathcIt with adaptable functor
2586 (insetIterator): modify accordingly
2588 * BranchList.h: move the BranchNamesEqual functor here from...
2589 * BranchList.C: ... to here
2591 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2593 (add): replace a finding loop with std::find_if.
2595 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2597 * output_docbook.C: moving LatexParam functionality into
2600 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2602 * buffer.C: increment format to 229.
2604 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2607 * lyx_sty.[Ch]: remove minipageindent_def
2613 * text3.C: remove LFUN_INSET_MINIPAGE
2615 2003-12-28 Angus Leeming <leeming@lyx.org>
2617 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2619 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2621 * text2.C (setParagraph): fix off-by-one crash
2623 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2625 * output_docbook.C: header stuff for AGU
2627 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2629 * text2.C (redoCursor): remove
2632 * BufferView_pimpl.C: remove calls to redoCursor and
2633 setCursor(cursor.par(), cursor.pos()) all around
2635 2003-12-15 Angus Leeming <leeming@lyx.org>
2637 * buffer.C: up the format to 228.
2639 2003-12-15 André Pönitz <poenitz@gmx.net>
2641 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2646 * BufferView_pimpl.C:
2655 2003-12-15 Angus Leeming <leeming@lyx.org>
2657 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2658 than getFromGUIName to manipulate the color.
2660 2003-12-14 Angus Leeming <leeming@lyx.org>
2662 * BranchList.[Ch]: minimize the API.
2663 (Branch::getBranch, getColor): now return a 'const &'.
2664 (Branch::setSelected) now returns a bool set to true if the
2665 selection status changes.
2666 (BranchList::clear, size, getColor, setColor, setSelected,
2667 allBranches, allSelected, separator): removed.
2668 (BranchList::find): new functions, returning the Branch with
2670 (BranchList::add, remove): return a bool indicating that
2671 the operation was successful.
2673 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2674 new InsetBranch::isBranchSlected member function.
2676 * LColor.[Ch]: mimimize the API.
2677 (fill): renamed as addColor and made private.
2678 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2679 versions of these functions taking a string arg have been removed.
2681 * bufferparams.C (readToken):
2682 * lyxfunc.C (dispatch):
2683 * lyxrc.C (read): changes due to the altered BranchList and
2686 * factory.C (createInset, readInset): changes due to altered
2689 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2692 * lyxfunc.C: remove insetminipage. "minipage-insert"
2693 now produces a frameless minipage box inset.
2695 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2697 * textcursor.[Ch] (selStart,selEnd): add new methods
2698 remove selection::start, end, use LyXCursor::operator<
2699 * lyxcursor.[Ch] (operator<): add
2700 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2701 * BufferView.[Ch] (unsetXSel): add
2702 * text2.C (clearSelection): use unsetXSel,adjust
2705 * rowpainter.C: adjust
2706 * bufferview_funcs.C (put_selection_at): adjust
2708 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2710 * BufferView_pimpl.C: small coord. correction
2712 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2714 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2715 dragging over the splash screen.
2717 2003-12-11 Angus Leeming <leeming@lyx.org>
2719 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2720 as it is now handled in LyXText::dispatch.
2722 * text3.C (doInsertInset): remove a level of nesting.
2724 2003-12-11 Angus Leeming <leeming@lyx.org>
2726 * factory.C (createInset): changes due to the changed interface to
2727 InsetCommandMailer::string2params.
2729 2003-12-10 Angus Leeming <leeming@lyx.org>
2731 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2732 'dialog-show-new-inset <inset name>'
2734 2003-12-10 Angus Leeming <leeming@lyx.org>
2736 * buffer.C: up the format to 227.
2738 * factory.C: the box inset is now identified simply by 'Box'.
2740 2003-12-10 Angus Leeming <leeming@lyx.org>
2742 * buffer.C: up the format to 226.
2744 * factory.C: the note inset is now identified simply by 'Note'.
2746 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2748 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2749 when a pit is enough. Standarize a couple of loops.
2751 2003-12-05 Angus Leeming <leeming@lyx.org>
2753 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2754 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2755 data to the re-worked "log" dialog.
2757 2003-12-03 André Pönitz <poenitz@gmx.net>
2763 * paragraph_funcs.C:
2765 * text2.C: use Inset::getText instead of Inset::getParagraph
2767 2003-12-03 André Pönitz <poenitz@gmx.net>
2771 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2772 InsetText::read() as LyXText::read()
2774 2003-12-02 Angus Leeming <leeming@lyx.org>
2776 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2777 type. Add a comment in the implementation that the function uses
2778 the stream's bad() function rather than fail() as the std::streams
2781 2003-12-02 André Pönitz <poenitz@gmx.net>
2783 * lyxlex.[Ch]: make interface more similar to std::stream
2785 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2787 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2789 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2791 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2793 * vspace.[Ch]: remove VSpace::NONE
2795 2003-12-01 André Pönitz <poenitz@gmx.net>
2798 * lyxtext.h: move ParagraphList member to LyXText
2799 rename LyXText::ownerParagraphs to LyXText::paragraph
2802 * bufferview_funcs.C:
2812 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2814 * undo.C: fix cursor positioning
2816 2003-12-01 John Levon <levon@movementarian.org>
2818 * BufferView_pimpl.C: fix a crash on exit with
2821 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2823 * BranchList.C: fix setSelected() method.
2825 2003-11-28 André Pönitz <poenitz@gmx.net>
2827 * ParagraphParameters.[Ch]:
2828 * ParameterStruct.h: remove space above/below from Paragraph to
2831 * BufferView_pimpl.C:
2837 * paragraph_funcs.C:
2843 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2845 * factory.C: Syntax change for CharStyles
2847 2003-11-28 André Pönitz <poenitz@gmx.net>
2852 * buffer.[Ch]: move LyXText member
2854 2003-11-28 André Pönitz <poenitz@gmx.net>
2856 * BufferView.[Ch]: make LyXText * text a private member
2858 * BufferView_pimpl.C:
2869 * output_plaintext.C: cleanup
2871 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2874 * lyxtextclass.[Ch]: parametrize SGML document header
2876 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2879 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2882 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2884 * text2.C (setFont): rework using PosIterator (no more recursive)
2885 (setCharFont): no more needed
2886 (setLayout): no more selection cursors fiddling (done by redoCursor)
2887 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2888 destroy remaining ones)
2890 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2892 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2894 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2897 * text3.C: adjust + re-allow multi par depth changes
2898 * textcursor.C: simplify a bit
2900 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2906 * src/output_docbook.C:
2907 * src/output_latex.C:
2912 * src/text2.C: Introducing a number of tags parametrizing various
2913 XML formats that we may want to support
2915 2003-11-25 André Pönitz <poenitz@gmx.net>
2917 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2919 * lyxtext.h (leftMargin/rightMargin): simplify interface
2926 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2928 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2929 master file to any child files. Fixes bug 546.
2931 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2933 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2935 2003-11-24 André Pönitz <poenitz@gmx.net>
2937 * rowpainter.C: simplification
2939 * text2.C (updateCounters): remove call to redoParagraph on
2940 changed labels as this is far too expensive.
2942 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2944 * converter.C (convert): fix a crash: this function gets
2945 called with buffer == 0 from importer code.
2947 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2949 * text3.C (cursorPrevious): make sure that we do not compare
2950 iterators form different containers.
2953 * rowpainter.C (paintSelection): make sure that we do not compare
2954 iterators from different containers.
2956 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2957 iterators from different ParagraphList containers.
2960 * text2.C (LyXText): change order of initialization slightly
2961 (operator=): new function. copy all variables except cache_par_
2962 (moveUp): make sure that we do not compare iterators from
2963 different ParagraphList constainers.
2966 * text.C (firstPar): new function
2967 (lastPar): new function
2968 (endPar): new function
2970 * lyxtext.h: move things around and group public functions, public
2971 variables, private functions, private variables
2973 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2975 * factory.C: change call to InsetERT constructor to avoid
2976 additional invocation of method status
2977 * text2.C (toggleInset): remove redundant update() call
2978 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2979 instead of a Bufferview pointer
2981 2003-11-21 André Pönitz <poenitz@gmx.net>
2983 * rowpainter.C: simplification
2985 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2987 * text3.C (dispatch): make possible to extend a word/row selection
2990 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2992 * lyxtext.h: x0_,y0_ -> xo_,yo_
2993 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2994 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2995 * rowpainter.C (paintRows): paint full paragraphs
2997 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2999 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3002 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3004 * lyxtext.h: add x0_, y0_
3005 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3006 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3008 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3010 * text2.C (setCursorIntern): move the x_target update here *
3011 * text3.C: change some bv() to true/false in calls to
3012 cursorUp/Down/Right/Left
3013 * cursor.C: use helper function.
3015 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3017 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3018 * paragraph_funcs.[Ch]: correct comment
3019 * rowpainter.C: do not paint selections away from bv->cursor()
3020 Fix a long standing selection painting bug.
3021 * text3.C: generalize mouse-selection code to LyXTexts other that
3023 * textcursor.C: do not use y coords if we can use par offsets
3025 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3027 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3028 cursor position after e.g. inset insert)
3030 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3032 * lyxfind.C (replace): adjust to locking removal + some
3035 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3037 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3040 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3043 * output_docbook.C: XML sanitation: new layout
3044 parameters InnerTag and CommandDepth
3046 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3048 * BufferView_pimpl.C:
3050 * text3.C: Fix the insertion and modification of button-style
3053 2003-11-13 André Pönitz <poenitz@gmx.net>
3055 * InsetList.[Ch]: remove deleteLyXText
3057 * paragraph.[Ch]: cache beginOfBody position
3062 * text3.C: remove superfluous update() calls
3066 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3068 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3069 * BufferView.C (fitLockedInsetCursor): remove
3070 * cursor.[Ch] (getDim): add
3071 * text.C (getRowNearY): add faster version
3072 * text3.C: remove some update calls
3074 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3086 * text3.C: The Character Style /XML short element patch.
3088 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3091 * factory.C: Small step to solving 'unable to insert some insets'
3094 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3096 * cursor.[Ch] (updatePos): new function for updating the y
3097 position of the tip inset
3098 * bufferview_funcs.C (put_selection_at):
3099 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3101 2003-11-11 André Pönitz <poenitz@gmx.net>
3103 * text.C: remove big comment on invalid Paragraph pointers as it is
3106 2003-11-11 André Pönitz <poenitz@gmx.net>
3108 * text_funcs.[Ch]: merge with ...
3116 * Makefile.am: remove text_funcs.[Ch]
3118 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3120 * cursor.C (getPos): return absolute cached y coord
3122 * BufferView_pimpl.C (fitCursor): new simplistic code
3123 (workAreaDispatch): add a fitCursor call
3125 2003-11-10 André Pönitz <poenitz@gmx.net>
3128 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3130 2003-11-10 André Pönitz <poenitz@gmx.net>
3132 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3133 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3134 indicate that the cursor needs to leave an inset
3136 * lyxtext.h: remove inset locking
3138 * cursor.[Ch]: re-implement functionality provided by inset locking
3141 * BufferView_pimpl.[Ch]:
3143 * bufferview_funcs.[Ch]:
3155 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3157 * PosIterator.[Ch]: replace the stack with a vector, add inset
3159 * iterators.[C]: adjust
3161 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3163 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3165 * paragraph_funcs.C (readParToken): put the correct id in the
3166 error item, not the id of the top paragraph
3168 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3170 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3171 * bufferview_funcs.C (put_selection_at): use the above
3173 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3175 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3177 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * output_linuxdoc.h:
3180 * output_plaintext.h:
3182 * output_docbook.h: add #include statements
3184 2003-11-05 José Matos <jamatos@lyx.org>
3186 * output_docbook.[Ch]:
3187 * output_latex.[Ch]:
3188 * output_linuxdoc.[Ch]:
3189 * output_plaintext.[Ch]: New files for output formats.
3190 * output.[Ch]: New file for helper functions.
3193 * paragraph_funcs.[Ch]: output functions moved to new files.
3195 * outputparams.h: rename of latexrunparams.h
3203 * paragraph_funcs.[Ch]:
3204 * paragraph_pimpl.[Ch]:
3205 * tabular.[Ch]: rename ascii to plaintext
3206 and LatexRunParams to OutputParams.
3208 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3210 * iterators.[Ch] (text): require bv argument
3211 * undo.C (recordUndo):
3212 * lyxfunc.C (dispatch):
3213 * bufferview_funcs.C (put_selection_at): adjust
3215 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3217 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3219 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3221 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3224 2003-11-04 André Pönitz <poenitz@gmx.net>
3226 * cursor.[Ch]: restructure
3229 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3231 * iterators.[Ch] (asCursor): remove
3233 * lfuns.h: remove LFUN_INSET_EDIT
3239 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3241 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3243 * lyxfind.[Ch]: complete overhaul
3244 * BufferView_pimpl.C:
3246 * paragraph.[Ch] (insert): add
3248 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3252 * text.C: remove dead spellcheck code
3254 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * dispatchresult.h: add a val setter
3258 * cursor.C (dispatch): use a tempvar for data_[i]
3260 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3262 * PosIterator.[Ch]: compile fix
3264 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3266 * text.C (cursorPar): deactivate the cursor cache
3268 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3270 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3272 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * text3.C (dispatch): adjust for new DisptchResult semantics.
3276 * lyxfunc.C (dispatch): handle update when return from
3277 Cursor::dispatch, adjust for new DispatchResult semantics.
3279 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3280 DispatchResult(true) mean to not update. Add class functions for
3281 setting dispatched and update, as well as reading.
3283 * cursor.C (dispatch): don't handle update here
3285 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3288 * trans_mgr.C: adjust
3290 * paragraph_funcs.C (readParToken): exception safety
3292 * lyxvc.h: store the vcs pointer in a scoped_ptr
3295 * lyxsocket.C (serverCallback): exception safety
3297 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3299 * ispell.C (clone): make it return a auto_ptr
3301 * factory.C (createInset): exception safety
3302 (readInset): exception safety
3304 * bufferlist.C (newBuffer): exception safety
3306 * Thesaurus.C (Thesaurus): use initialization for aik_
3308 * MenuBackend.C (expandToc): exception safety.
3310 2003-11-03 André Pönitz <poenitz@gmx.net>
3314 * bufferview_funcs.C: remove getInsetFromId()
3317 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3323 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3325 * PosIterator.C (distance, advance): new
3326 * bufferview_funcs.[Ch] (put_selection_at): new
3327 * iterators.[Ch] (lockPath): new
3329 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3331 * iterators.[Ch] (asPosIterator): added
3332 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3333 * PosIterator.[Ch]: added
3335 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * cursor.C (dispatch):
3340 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3342 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3343 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3344 contructor, add a class function dispatched. Remove operator>=
3346 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * debug.C: only use the default constructor for debugstream
3351 * main.C (main): include debug.h and setup the lyxerr streambuf
3354 2003-10-31 José Matos <jamatos@lyx.org>
3356 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3358 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3359 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3360 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3361 * paragraph_pimpl.C (simpleTeXSpecialC):
3362 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3363 add LatexRunParams argument.
3365 * exporter.C (Export): change call accordingly.
3367 * latexrunparams.h: add new member to take care of the other backends.
3368 2003-10-30 José Matos <jamatos@lyx.org>
3370 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3371 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3372 factorise code for paragraph output.
3374 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3377 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * text3.C (dispatch):
3380 * lyxfunc.C (dispatch):
3381 * cursor.C (dispatch):
3382 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3384 * dispatchresult.h: make the dispatch_result_t ctor explicit
3386 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3389 * buffer.C: small refactoring of docbook stuff
3391 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3396 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3399 operator dispatch_result_t, and operators for == != and >=
3401 * cursor.C (dispatch): adjust for operator dispatch_result_t
3402 removal. comment out call to update
3404 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3406 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3417 * dispatchresult.h: new file, DispatchResult broken out of
3420 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3422 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3424 * text.C (rowBreakPoint): put a hack inside #if 0
3426 2003-10-28 André Pönitz <poenitz@gmx.net>
3430 * paragraph_funcs.C:
3433 * text2.C: general cleanup (lots of small stuff)
3435 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3437 * text2.C (cursorEnd): simple fix to the "end key goes to one
3438 before the end on last row" bug
3440 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3442 * text.C (backspace): fix the "zombie characters"
3444 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3446 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3448 2003-10-27 André Pönitz <poenitz@gmx.net>
3450 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3452 * factory.C: handle new InsetPagebreak, InsetLine
3454 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3455 and move handling into new InsetPagebreak, InsetLine
3457 * BufferView_pimpl.C:
3459 * ParagraphParameters.C:
3460 * ParameterStruct.h:
3465 * paragraph_funcs.C:
3466 * paragraph_pimpl.C:
3472 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3475 * lyxrow_funcs.[Ch]:
3481 * text3.C: remove lastPos uses in favour of Row::endpos
3483 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3485 * undo.C (performUndoOrRedo): fix two crashes by setting a
3486 cursor by hand and reordering some calls. Use bv->lockInset instead
3487 of inset->edit because the latter loses cursor information
3489 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3491 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3493 (rowBreakPoint): fix width. change point to point + 1.
3494 Add a missing check.
3496 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3499 * lyxfunc.C: fix (at least partly) the problems
3500 with the Nav menu and headers inside branch insets
3503 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3505 * paragraph.C (getChar): add strong asserts
3507 * lyxrow_funcs.C (lastPos): remove hideous hack
3509 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3510 (fill): adjust to that (avoid an infinite loop)
3512 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3514 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3516 2003-10-23 André Pönitz <poenitz@gmx.net>
3518 * RowList_fwd.h: change list<> to vector<> to gain speed
3519 after suggestion from Alfredo
3521 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3523 * lyxtext.h: move the bidi stuff from here...
3526 * Bidi.[Ch]: ... to here
3528 2003-10-23 André Pönitz <poenitz@gmx.net>
3531 * text.C (isLastRow, isFirstRow): new functions
3533 * paragraph.h: new width cache member
3535 * rowpainter.C: replace RowList::iterator with Row & where possible
3537 * lyxfunc.C: replace several view()->text with a single call
3539 * toc.C: fix 'unused' warning
3541 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3544 when woring with stream::pos_type
3545 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3547 2003-10-22 André Pönitz <poenitz@gmx.net>
3550 * text.C: use Row & instead of RowList::iterator
3552 * lyxrow.h: rename end() to endpos()
3558 2003-10-22 Angus Leeming <leeming@lyx.org>
3560 * buffer.[Ch] (fully_loaded): new member function, returning true
3561 only when the file has been loaded fully.
3562 Used to prevent the premature generation of previews and by the
3563 citation inset to prevent computation of the natbib-style label.
3565 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3566 templates are all set up.
3568 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3570 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3572 * text.C: fixed an "oops" in the "is a bit silly"
3575 2003-10-21 André Pönitz <poenitz@gmx.net>
3577 * FuncStatus.[Ch]: small stuff, whitespace
3579 * lyxfont.[Ch]: operator<<() for debug reasons
3583 * lyxtext.h: whitespace, spelling
3585 * paragraph.C: naming of variables
3588 * text2.C: small stuff
3591 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3593 * text.C: (1) finish off the inset display() work;
3594 (2) fix the "is a bit silly" bug (accessing char
3597 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3599 * text.C: re-introduce display() for insets, fixing the
3600 various bugs (stretch of line above, math inset
3603 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3605 * text.C (rightMargin): remove spurious semicolon
3607 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3610 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3612 * text3.C: fix one crash due to wrong cursor def
3614 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3616 * vc-backend.C (scanMaster): make the regex static
3618 * LaTeX.C (scanAuxFile): make the regexs static
3620 * text3.C (doInsertInset, dispatch, dispatch):
3621 * text2.C (cursorUp, cursorDown):
3622 * text.C (selectNextWordToSpellcheck):
3623 * BufferView_pimpl.C (dispatch):
3624 * lyxfunc.C (dispatch): localDispatch -> dispatch
3626 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3628 * lyxsocket.C: include <cerrno>
3630 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * lyxfunc.C (dispatch): remove textcache stuff
3634 * bufferlist.C (release): remove textcache stuff
3637 * TextCache.C: delete file
3638 * TextCache.h: delete file
3640 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3642 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3643 delete of the bv_->text.
3644 (resizeCurrentBuffer): remove texcache stuff
3645 (workAreaResize): ditto
3647 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3652 2003-10-16 André Pönitz <poenitz@gmx.net>
3659 * text3.C: speed up by storing y positions per paragraph plus per-row
3660 offset instead of having a 'full' y position in the row.
3662 2003-10-15 André Pönitz <poenitz@gmx.net>
3666 * undo.[Ch]: make undo aware of inner insets
3668 2003-10-14 Angus Leeming <leeming@lyx.org>
3670 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3671 static member functions LyX::ref() and LyX::cref.
3672 (lastfiles): new accessor functions for the new lastfiles_ member var.
3673 (addLyXView, views_): add a new LyXView to the list of views_.
3674 (updateInset): loop over all LyXViews to call their own updateInset
3675 member function, returning a pointer to the Buffer owning the inset.
3677 * BufferView_pimpl.C (loadLyXFile):
3678 * MenuBackend.C (expandLastfiles):
3679 * bufferlist.C (MenuWrite, QuitLyX):
3680 lastfiles is no longer a global variable.
3681 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3683 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3684 static function. Access through LyX::cref().emergencyCleanup().
3686 2003-10-14 André Pönitz <poenitz@gmx.net>
3688 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3690 * undo.[Ch]: restoring part of 'undo in insets'
3693 * undo_funcs.[Ch]: merge with undo.[Ch]
3695 * tabular.C: small cleansing stuff
3697 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3699 * paragraph_funcs.C (readParToken): report unknown insets as error
3700 boxes. Use the outer paragraph as location (also for unknown
3703 * factory.C (readInset): do not abort on reading an unknown inset.
3704 Eat it and return 0.
3706 2003-10-13 Angus Leeming <leeming@lyx.org>
3708 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3710 * lyxrc.C: displayTranslator is now a function,
3711 declared in GraphicsTypes.h.
3713 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3715 * format.C: new placeholder $$a to pass the socket address.
3717 * bufferlist.[Ch]: new function getBufferFromTmp.
3719 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3720 files in the temporary dir.
3722 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3724 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3726 * Makefile.am: add lyxsocket.[Ch].
3728 * lyx_main.C (error_handler): handle SIGPIPE.
3730 2003-10-13 André Pönitz <poenitz@gmx.net>
3732 * BufferView_pimpl.C:
3737 * undo_funcs.[Ch]: use paroffset_type instead of
3738 ParagraphList::iterators to prevent multiple conversion
3739 (and get a more robust interface)
3741 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3745 * text3.C (dispatch): ditto
3747 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3750 move the onlyfile, use onlyfile instead of foundfile in a couple
3753 * DepTable.C (update): flush the error stream a bit more
3755 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * lyxserver.C (callback): adjust
3759 * lyxfunc.C (getStatus): add a missing brace in commented code
3760 (ensureBufferClean): reindent
3761 (dispatch): delete version taking a string
3763 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * LaTeX.C (deplog): move found file handlig from here...
3766 (handleFoundFile): .. to new function here.
3767 (deplog): make sure to discover several files mentioned on the
3770 2003-10-10 André Pönitz <poenitz@gmx.net>
3777 * text3.C: fix some of the tabular crashes
3779 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3781 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3783 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3785 2003-10-09 André Pönitz <poenitz@gmx.net>
3787 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3790 * BufferView_pimpl.C:
3791 * bufferview_funcs.C:
3802 * undo_funcs.C: adjust
3804 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * text2.C (incrementItemDepth): new function, use a backtracking
3807 algorithm to discover the correct item depth.
3808 (resetEnumCounterIfNeeded): new function, use a backtracking
3809 algorithm to discover if counter reset is needed.
3810 (setCounter): use them. Simplify a bit. Add different labels for
3811 different item depths for itemize.
3813 * paragraph.C (Paragraph): remove initialization of enumdepth
3816 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3817 enumerate and itemize. Change the type of itemdepth to signed char.
3819 2003-10-08 André Pönitz <poenitz@gmx.net>
3821 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3826 * tabular.[Ch]: fix crash after 'row-insert'
3828 2003-10-08 Angus Leeming <leeming@lyx.org>
3830 Fix doxygen warnings.
3832 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3833 Remove CutAndPaste:: prefix from header file declaration.
3835 * LColor.h (fill): remove LColor:: prefix from declaration.
3837 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3838 use lyx::depth_type rather than Paragraph::depth_type so that
3839 header file and .C file match.
3841 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3843 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3844 * aspell.C: \file aspell_local.C -> \file aspell.C
3845 * gettext.C: \file gettext.C -> \file src/gettext.C
3846 * gettext.h: \file gettext.h -> \file src/gettext.h
3847 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3848 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3849 * text.C: \file text.C -> \file src/text.C
3851 * toc.C: move comment so that doxygen is not confused.
3853 2003-10-07 Angus Leeming <leeming@lyx.org>
3855 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3857 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3860 * aspell_local.h: add forgotten std::string's.
3862 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3869 * text3.C: The Box patch. Fancybox support, minipage, parbox
3871 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3877 * ParagraphParameters.h:
3887 * lyxtextclasslist.h:
3890 * paragraph_pimpl.C:
3891 * textcursor.h: add <string> and other small fixes to make Lars'
3892 std::string patch compile with STLport.
3894 2003-10-06 Angus Leeming <leeming@lyx.org>
3896 * LColor.h: Add missing #include <string>.
3898 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * All most all file in all subdirs: Make <string> be the prefered
3901 way of getting to std::string, add using declarations.
3903 2003-10-06 André Pönitz <poenitz@gmx.net>
3905 * metricsinfo.C: initialize LyXFont before changing attribute.
3906 (fixes the 'math in \emph is upright' bug)
3908 2003-10-06 André Pönitz <poenitz@gmx.net>
3910 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3912 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3915 * paragraph_pimpl.C: Small fixes to build using STLport
3917 2003-10-02 André Pönitz <poenitz@gmx.net>
3920 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3922 2003-10-01 André Pönitz <poenitz@gmx.net>
3924 * factory.C: assert early
3926 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * lyx_main.C: remove the global debug object
3930 * debug.h: adjust for new debugstream
3932 * debug.C: adjust for new debugstream and keep the global debug
3935 2003-09-22 Angus Leeming <leeming@lyx.org>
3937 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3938 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3939 an incomplete class LyXFont.
3941 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3943 * factory.C: bug fix in branches
3945 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * lyxfunc.C (processKeySym): adjust
3949 (dispatch): change arg name from ev to func, adjust
3950 (sendDispatchMessage): ditto
3952 * lyx_main.C (defaultKeyBindings): adjust keybindings
3953 (deadKeyBindings): ditto
3955 * kbsequence.C (addkey): return a FuncRequest
3957 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3959 * kbmap.C (bind): take a FuncRequest as arg, adjust
3962 (defkey): change to take a FuncRequest as arg, adjust
3963 (findbinding): take a FuncRequest as arg, adjust.
3965 * funcrequest.h (operator=): added
3967 * funcrequest.C (FuncRequest): default kb_action changed from
3968 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3970 * buffer.C (dispatch): simplify
3971 (dispatch): adjust to take a FuncRequest as arg, adjust
3973 * boost.C (assertion_failed): change assertion message slightly
3975 * ToolbarBackend.C (read): simplify
3977 * MenuBackend.C (binding): adjust call to findbinding, add a
3978 message if no binding is found.
3980 (expandToc): correct by adding a empty FuncRequest
3982 * LyXAction.C: include <boost/assert.hpp>
3983 (isPseudoAction): delete function
3984 (LookupFunc): change name to...
3985 (lookupFunc): this. change return type to FuncRequest.
3986 (getActionName): take kb_action as arg, simplify
3987 (funcHasFlag): add an assert, simplify.
3989 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * toc.C (action): return a FuncRequest, simplify
3993 * lyxfunc.C (processKeySym): adjust
3994 (getStatus): delete version that takes an int.
3996 (dispatch): delete version that takes action as int
3998 (sendDispatchMessage): simplify and adjust
4000 * funcrequest.C (getArg): take unsigned int as arg
4002 * ToolbarBackend.C (read): adjust
4003 (add): delete version that takes func as a string.
4004 (getIton): take a FuncRequest as arg
4006 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4009 * MenuBackend.C (MenuItem): add a new construct that only takes a
4010 Kind, simplify the constructor use for submenus.
4012 (expandLastfiles): adjust
4013 (expandDocuments): adjust
4014 (expandFormats): adjust
4015 (expandFloatListInsert): adjust
4016 (expandFloatInsert): adjust
4017 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4019 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4020 Remove class variables lyx_pseudo_map and lyx_arg_map
4022 * LyXAction.C (searchActionArg): delete function
4023 (getPseudoAction): delete function
4024 (retrieveActionArg): delete function
4025 (LookupFunc): make it return kb_action, simplify.
4026 (getActionName): simplify
4028 * factory.C (createInset): fix new bug
4030 2003-09-19 Angus Leeming <leeming@lyx.org>
4032 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4033 masterFilename_ parameter in the include inset.
4035 * factory.C (createInset): changes due to the changes to InsetInclude.
4037 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4039 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4041 2003-09-18 Angus Leeming <leeming@lyx.org>
4044 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4045 Inset::fillWithBibKeys.
4046 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4048 2003-09-18 Angus Leeming <leeming@lyx.org>
4050 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4052 (ctor): pass and store a 'Buffer const &'
4053 (buffer): new member function.
4055 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4056 '*this' to the LaTeXFeatures ctor.
4058 2003-09-18 Angus Leeming <leeming@lyx.org>
4064 * text.C: rename EnumLColor as LColor_color.
4066 2003-09-18 Angus Leeming <leeming@lyx.org>
4068 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4069 remove #include "insets/insetbase.h" from cursor.h.
4071 2003-09-18 Angus Leeming <leeming@lyx.org>
4073 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4074 InsetOld_code to remove #include "inset.h".
4076 * iterators.C: add #include "insets/inset.h"
4078 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4080 * BufferView.C: remove more locking stuff that apparently doesn't
4081 do anything sensible.
4083 2003-09-16 André Pönitz <poenitz@gmx.net>
4086 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4089 2003-09-16 Angus Leeming <leeming@lyx.org>
4091 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4093 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4096 * paragraph.h: remove #include "lyxfont.h". Forward declare
4099 2003-09-16 Angus Leeming <leeming@lyx.org>
4101 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4102 of support/textutils.h.
4103 (isWord): move the contents of support/textutils.h's IsWordChar here.
4109 * text2.C: add #include "paragraph.h".
4112 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4114 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * LaTeX.C: use namespace alias for lyx::support::os
4122 2003-09-16 Angus Leeming <leeming@lyx.org>
4125 * bufferview_funcs.C:
4128 * paragraph_pimpl.C:
4130 * text.C: add #include "LColor.h".
4132 2003-09-16 Angus Leeming <leeming@lyx.org>
4134 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4135 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4137 Store the FontBits::color variable as an int rather than as an
4138 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4141 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4142 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4143 string calls together.
4145 * lyxrc.C: add #include "LColor.h".
4147 2003-09-15 Angus Leeming <leeming@lyx.org>
4149 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4152 2003-09-15 Angus Leeming <leeming@lyx.org>
4154 * LColor.h: add an EnumLColor wrapper for LColor::color.
4156 * lyxfont.[Ch] (color, setColor, realColor):
4157 * lyxtext.h, text.C (backgroundColor):
4158 pass EnumLColor args to/from the functions, rather than LColor::color
4162 * lyxtext.h: forward declare EnumLColor.
4164 * lyx_main.C: add #include "LColor.h".
4166 2003-09-15 Angus Leeming <leeming@lyx.org>
4168 * .cvsignore: add lyx-gtk.
4170 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * ParagraphParameters.C
4179 * bufferview_funcs.C
4189 * vc-backend.C: remove usage of STRCONV
4191 2003-09-15 Angus Leeming <leeming@lyx.org>
4193 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4194 explicitly define the color passed to the painter.
4196 2003-09-15 Angus Leeming <leeming@lyx.org>
4198 * bufferparams.C (BufferParams): reorder member initializers to avoid
4201 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4203 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4204 * text.C (updateRowPositions): remove an unusual nop
4206 2003-09-12 André Pönitz <poenitz@gmx.net>
4208 * BufferView_pimpl.C:
4217 * Counters.[Ch]: finish the 'automatic counters' job
4219 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4221 * aspell.C: include <boost/assert.cpp> (compile fix)
4223 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4225 * boost.C (assertion_failed): use lyx::support::abort instead of
4228 2003-09-10 Angus Leeming <leeming@lyx.org>
4230 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4231 with their _fwd progeny.
4233 2003-09-09 Angus Leeming <leeming@lyx.org>
4235 134 files throughtout the source tree: replace 'using namespace abc;'
4236 directives with the appropriate 'using abc::xyz;' declarations.
4238 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4240 * boost.C (emergencyCleanup): moved here from LAssert.c
4241 (assertion_failed): new function, called by BOOST_ASSERT
4243 * several files: change Assert to BOOST_ASSERT
4245 2003-09-09 Angus Leeming <leeming@lyx.org>
4247 * buffer.[Ch]: Add an Impl class and move Buffer's member
4248 variables into it. As a result move several header files out of
4251 Add header files to lots of .C files all over the tree as a result.
4253 2003-09-09 Angus Leeming <leeming@lyx.org>
4255 * buffer.[Ch]: make Buffer's member variables private. Add
4258 Lots of changes all over the tree as a result.
4260 2003-09-08 Angus Leeming <leeming@lyx.org>
4262 * graph.C: #include <config.h>.
4264 2003-09-08 Angus Leeming <leeming@lyx.org>
4268 * BufferView_pimpl.C:
4297 * toc.C: remove redundant using directives.
4299 2003-09-07 Angus Leeming <leeming@lyx.org>
4301 * LaTeXFeatures.h: remove #include "support/types.h".
4302 * ToolbarBackend.h: remove #include <algorithm>.
4303 * changes.h: remove #include <ctime>.
4304 * debug.h: remove #include <iosfwd>.
4305 * graph.h: remove #include "support/std_string.h".
4306 * lyx_main.h: remove #include <csignal>.
4307 * lyxlex_pimpl.h: remove #include <fstream>.
4308 * sgml.h: remove #include <algorithm>, <utility>.
4309 * toc.h: remove #include "support/std_ostream.h".
4310 Add #include <iosfwd>.
4312 2003-09-07 Angus Leeming <leeming@lyx.org>
4314 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4316 * converter.h: forward declare LatexRunParams.
4317 * encoding.h: remove #include "lyxrc.h".
4318 * lyxtext.h: remove #include "LColor.h".
4319 * lyxtextclass.h: remove #include "support/types.h".
4320 * trans.h: remove #include "tex-accent.h".
4321 * trans_mgr.h: remove #include "tex-accent.h".
4322 * insets/inset.h: remove #include "support/types.h", <vector>.
4323 * insets/insetcollapsable.h: remove #include "LColor.h".
4324 * insets/insetinclude.h: remove #include "dimension.h".
4325 * insets/insetlatexaccent.h: remove #include "dimension.h".
4326 * insets/insetoptarg.h:: remove #include "insettext.h".
4327 * insets/insettext.h: remove #include "dimension.h",
4328 <boost/shared_ptr.hpp>
4330 * insets/renderers.h: add #include "dimension.h".
4331 * insets/updatableinset.h: add #include "support/types.h".
4333 * many .C files: Associated changes.
4335 2003-09-06 Angus Leeming <leeming@lyx.org>
4337 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4338 one, inside testInvariant.
4340 * PrinterParams.C: new file.
4341 * PrinterParams.[Ch]: move the function bodies out of line.
4343 2003-09-06 Angus Leeming <leeming@lyx.org>
4345 * ParagraphParameters.h: forward declare ParameterStruct rather than
4346 including its header file.
4347 (depth): moved out-of-line.
4349 2003-09-06 Angus Leeming <leeming@lyx.org>
4351 * BufferView_pimpl.h:
4354 * lyxfunc.h: forward declare LyXKeySym rather than
4355 #include "frontends/LyXKeySym.h".
4357 * BufferView_pimpl.C:
4360 * lyxfunc.C: associated changes.
4362 2003-09-06 Angus Leeming <leeming@lyx.org>
4364 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4365 As a result, can remove the #include "insets/inset.h" from BufferView.h
4367 2003-09-06 Angus Leeming <leeming@lyx.org>
4369 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4370 As a result, can remove the #include "insets/inset.h" from BufferView.h
4372 2003-09-06 Angus Leeming <leeming@lyx.org>
4378 * bufferview_funcs.C:
4379 * BufferView_pimpl.C:
4384 * ParagraphParameters.C:
4389 * frontends/controllers/ControlDocument.C:
4390 * insets/insetcaption.C: rearrange the #includes into some sort of
4393 * buffer.h: remove #includes ErrorList.h, undo.h
4395 2003-09-06 Angus Leeming <leeming@lyx.org>
4397 * support/types.h: add a 'depth_type' typedef, used to store the
4398 nesting depth of a paragraph.
4401 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4402 defining explicitly.
4405 * paragraph_funcs.h:
4406 * ParagraphParameters.h:
4407 * sgml.h: use lyx::depth_type rather than Paragraph or
4408 ParameterStruct's depth_type.
4411 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4414 * BufferView_pimpl.C:
4416 * ParagraphParameters.C:
4419 * bufferview_funcs.C:
4426 * frontends/LyXView.C:
4427 * frontends/controllers/ControlDocument.C:
4428 * frontends/controllers/ControlErrorList.C:
4429 * insets/insetbibitem.C:
4430 * insets/insetbranch.C:
4431 * insets/insetcaption.C:
4432 * insets/insetcollapsable.C:
4433 * insets/insetenv.C:
4434 * insets/insetert.C:
4435 * insets/insetfloat.C:
4436 * insets/insetfoot.C:
4437 * insets/insetfootlike.C:
4438 * insets/insetnewline.C:
4439 * insets/insetquotes.C:
4440 * insets/insettabular.C:
4441 * insets/insettext.C:
4442 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4444 * frontends/controllers/ControlChanges.C: #include "changes.h".
4446 2003-09-06 Angus Leeming <leeming@lyx.org>
4448 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4449 than #including paragraph.h.
4452 * RowList.h: deleted. Superfluous.
4462 * insets/insettext.h: use ParagraphList_fwd.h rather than
4465 * paragraph.h: don't forward declare ParagraphList.
4468 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4469 rather than ParagraphList.h. paragraph.h is still needed for the
4470 Paragraph::depth_type parameters.
4472 * textcursor.h: enable it to compile stand-alone in light of the
4475 * bufferview_funcs.C:
4487 * frontends/controllers/ControlParagraph.C:
4488 * frontends/controllers/ControlTabular.C:
4489 * insets/insetmarginal.C:
4490 * insets/insetminipage.C:
4491 * insets/insetnote.C:
4492 * insets/insetoptarg.C: add header files needed to compile again.
4494 2003-09-06 Angus Leeming <leeming@lyx.org>
4496 * RowList_fwd.h: new file, forward-declaring Row rather than
4497 #including lyxrow.h.
4502 * insets/insettext.h: use it instead of RowList.h
4504 * bufferview_funcs.C:
4511 * text3.C: #include "RowList.h".
4513 2003-09-05 Angus Leeming <leeming@lyx.org>
4515 * factory.C (createInset):
4516 * vspace.C (c-tor): replace sscanf call with an istringstream.
4517 * ispell.C: re-add missing HP/UX headers.
4518 * lyxserver.C: re-add missing os2 headers.
4520 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4529 * text3.C: re-add missing system headers, needed for 2.95.2.
4531 2003-09-05 Angus Leeming <leeming@lyx.org>
4533 Changes most place everywhere due to the removal of using directives
4534 from support/std_sstream.h.
4536 2003-09-05 Angus Leeming <leeming@lyx.org>
4538 Replace LString.h with support/std_string.h,
4539 Lsstream.h with support/std_sstream.h,
4540 support/LIstream.h with support/std_istream.h,
4541 support/LOstream.h with support/std_ostream.h.
4543 Changes resulting throughout the tree.
4545 2003-09-05 Angus Leeming <leeming@lyx.org>
4547 * sgml.h: ensure that the header file can be compiled stand-alone.
4548 * *.C: strip out redundant #includes. (320 in total.)
4550 2003-09-04 Angus Leeming <leeming@lyx.org>
4552 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4553 here (from getPackages).
4555 * debug.[Ch]: add a new EXTERNAL tag.
4557 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4559 * text2.C (cursorEnd): simplify
4561 (getColumnNearX): adjust
4563 * text.C (computeBidiTables): adjust
4566 * rowpainter.C (paintChars): adjust
4567 (paintSelection): adjust
4568 (paintChangeBar): adjust
4571 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4573 (numberOfSeparators): adjust
4575 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4581 * text3.C: Restricts the mouse click functionality
4582 of insets like bibtex, include, toc and floatlist to the visible
4583 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4584 up the dialogs. Cursor has to be in front of the inset (i.e.
4585 start of row) for this to function.
4587 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4589 * bufferview_funcs.C (currentState): output row information
4591 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4593 * bufferview_funcs.C (currentState): output paragraph position
4595 2003-09-04 Angus Leeming <leeming@lyx.org>
4597 * FloatList.h: move out #include "Floating.h".
4598 * LaTeX.h: move out #include "DepTable.h".
4599 * LyXAction.h: move out #include "funcrequest.h".
4600 * buffer.h: move out #include "author.h", "iterators.h".
4601 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4602 * lyx_main.h: move out #include "errorlist.h".
4603 * lyxfunc.h: move out #include "FuncStatus.h".
4604 * lyxtext: move out #include "lyxcursor.h".
4605 * paragraph_pimpl.h: move out #include "counters.h".
4607 2003-09-03 Angus Leeming <leeming@lyx.org>
4609 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4610 preamble_snippets list, enabling us to add snippets to the preamble
4611 only if the snippet was not there already.
4613 2003-09-04 Angus Leeming <leeming@lyx.org>
4615 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4617 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4622 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4624 * BranchList.C: point fix, earlier forgotten
4626 2003-09-02 Angus Leeming <leeming@lyx.org>
4628 * box.C (contains): renamed from 'contained' after a fantastic
4631 2003-09-02 John Levon <levon@movementarian.org>
4637 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4639 2003-09-02 John Levon <levon@movementarian.org>
4641 * text2.C: simplification of cursorEnd(), including partial
4644 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * buffer.C (readFile): add a space
4648 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4650 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4652 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * buffer.C (readFile): new function, take a filename and a
4655 ParagraphList::iterator
4657 (readFile): adjust, make it private. don't use setStream, make
4658 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4659 always contain the filename.
4661 * BufferView.C (insertLyXFile): simplify and make it work for
4664 2003-08-30 John Levon <levon@movementarian.org>
4666 * Makefile.am: fix dist (from Kayvan)
4668 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * most files: change to use const Buffer refs
4672 2003-08-27 André Pönitz <poenitz@gmx.net>
4674 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4675 on top of ownerPar().
4677 2003-08-27 John Levon <levon@movementarian.org>
4679 * funcrequest.C: properly initialise POD members
4681 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4683 * lyxtext.h (top_y): move top_y from here
4688 * BufferView_pimpl.[Ch]: to here
4689 * frontends/screen.C:
4690 * insets/insettabular.C:
4691 * insets/insettext.C: adjust
4692 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4694 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4697 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4699 2003-08-26 André Pönitz <poenitz@gmx.net>
4701 * paragraph_func.[Ch] (outerPar): new function
4704 * paragraph_funcs.C:
4705 * paragraph_funcs.h:
4706 * paragraph_pimpl.C:
4707 * text2.C: remove Inset::par_owner
4709 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4714 * text2.C: eliminates the needFullRow/display() stuff
4715 altogether, putting the logic in metrics/draw in the insets.
4717 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4719 * text2.C (redoParagraphInternal, redoParagraphs):
4720 * text.C (redoParagraph): add a call to updateRowPositions at the
4721 end of each 'metrics-like' call. Remove all others.
4722 (getRow): remove the 'y-computing' version.
4723 (getRowNearY): do not compute nor return the real y. Solve the
4724 'y < 0' problem and simplify.
4726 2003-08-22 Angus Leeming <leeming@lyx.org>
4728 * *.[Ch]: clean-up of licence and author blurbs.
4729 Also move config.h out of a few .h files and into a few .C files.
4731 2003-08-22 André Pönitz <poenitz@gmx.net>
4733 * lyxrow.[Ch]: add x_ and *fill_ members
4738 * text2.C: adjust/remove prepareToPrint() calls
4740 2003-08-22 André Pönitz <poenitz@gmx.net>
4742 * lyxrow.[Ch]: add end_ member
4744 * lyxrow_funcs.C: use LyXRow::end_
4746 * lyxtext.h (singleWidth): add LyXFont parameter
4749 * text2.C: adjust LyXText::singleWidth() calls
4751 * text.C (redoParagraph): simplify row breaking logic
4754 2003-08-19 André Pönitz <poenitz@gmx.net>
4756 * funcrequest.C: initialize button_ member
4759 * rowpainter.[Ch]: interface consolidation
4761 2003-08-18 André Pönitz <poenitz@gmx.net>
4764 * BufferView_pimpl.C:
4766 * paragraph_funcs.C:
4768 * text3.C: remove LyXScreen::draw() and fitCursor calls
4770 * BranchList.h: remove spurious semicolons
4772 * MenuBackend.C: fix branchlist related crash
4774 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4782 * bufferparams.[Ch]:
4786 * text3.C: implements the 'branch inset'
4787 idea. This allows the output of various versions of a document
4788 from a single source version, selectively outputing or suppressing
4789 output of parts of the text.
4790 This implementation contains a 'branch list editor' in a separate
4791 tab of the document settings dialog. Branches are user definable
4792 and have a "display colour" to distinguish them on-screen.
4794 ColorHandler was somewhat cleaned up.
4795 (1) make possible a dynamically growing LColor list by allowing
4796 the graphic context cache to grow along (vector);
4797 (2) eliminate an IMHO unnecessary step in colour allocation.
4799 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4801 * BufferView_pimpl.C: compile fix
4803 2003-08-15 André Pönitz <poenitz@gmx.net>
4805 * rowpainter.C: remove extra metrics calls
4807 * lyxtext.h: merge the two constructors into a single one,
4808 pass reference to owner's par list
4810 * BufferView_pimpl.C:
4814 2003-08-15 André Pönitz <poenitz@gmx.net>
4816 * lyxrow_funcs.[Ch]:
4819 * paragraph_funcs.C:
4824 * text_funcs.C: split LyXText::rowlist_ into individual
4825 Paragraph::rows_ chunks
4828 * BufferView_pimpl.[Ch]:
4831 * text3.C: remove toggleSelection()
4833 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4835 * bufferlist.C: beautify two alerts (shorter text of buttons)
4836 * buffer.C: Remove redundant ' ' from message
4838 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4839 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4840 rename VALIGN_CENTER to VALIGN_MIDDLE
4842 2003-08-11 André Pönitz <poenitz@gmx.net>
4844 * lyxtext.h (getPar):
4845 * text.C: new function
4847 2003-08-11 André Pönitz <poenitz@gmx.net>
4850 * tracer.[Ch]: remove unneeded files
4852 * InsetList.[Ch]: remove resizeInsetsLyXText()
4857 * text3.C: merge insertParagraphs() and appendParagraph()
4858 remove breakAgain(), update()
4860 * BufferView_pimpl.[Ch]:
4861 * bufferview_funcs.[Ch]:
4865 * tabular.C: adjust after text & InsetList changes.
4867 2003-08-08 André Pönitz <poenitz@gmx.net>
4869 * text.C (insertChar, backspace): replace rowlist fiddling
4870 with rebreak of full par
4873 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4874 checkParagraph, updateInset): removed
4876 2003-08-07 André Pönitz <poenitz@gmx.net>
4879 * text3.C: merge some LFUN handlers, remove dead code
4881 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4883 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4885 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4887 * text2.C (DEPM): fix part of bug 1255 and 1256
4889 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4891 * BufferView_pimpl.C (workAreaDispatch): change to use
4892 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4893 that are no mouse related.
4895 2003-08-05 André Pönitz <poenitz@gmx.net>
4898 * BufferView_pimpl.[Ch]:
4899 * bufferview_funcs.C:
4901 * text3.C: rip out "deep update"
4903 * textcursor.[Ch] (last_sel_cursor): remove unused member
4905 2003-08-04 André Pönitz <poenitz@gmx.net>
4908 * BufferView_pimpl.[Ch]:
4909 * ParagraphParameters.C:
4910 * bufferview_funcs.C:
4916 * text3.C: replace "complicated" BufferView::update(...) calls with
4919 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4921 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4923 * Makefile.am (lyx_SOURCES): add paper.h
4925 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * Makefile.am: move things around so that both lyx-qt and
4928 lyx-xforms can be built (according to --with-frontend). Then lyx
4929 is a symbolic link to lyx-[firstfrontend]
4931 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4933 * Always use std::endl with lyxerr
4935 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4937 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4939 2003-08-01 André Pönitz <poenitz@gmx.net>
4942 * BufferView_pimpl.[Ch]:
4944 * text3.C: merge BufferView::repaint() and BufferView::update()
4946 2003-08-01 José Matos <jamatos@lyx.org>
4948 * buffer.[Ch]: file_format is no longer a buffer data element.
4950 2003-08-01 André Pönitz <poenitz@gmx.net>
4955 * text2.C: make redoParagraph more independent of current cursor
4957 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4959 * text2.C: remove unneeded members
4961 2003-07-30 André Pönitz <poenitz@gmx.net>
4963 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4965 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4966 create a single function...
4968 * paragraph_funcs.C (moveItem): ... here.
4971 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4973 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4975 * LColor.[Ch]: Add comment and greyedout logical colors.
4977 2003-07-30 André Pönitz <poenitz@gmx.net>
4979 * tabular.C: don't use Assert too heavily. This crashes where it
4982 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4984 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4985 is disabled (bug 1232)
4987 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4989 * factory.C: limited 'arg' scope
4991 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4993 * factory.C: fixed Note submenu issues
4995 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4997 * factory.C: submenu for Note/Comment/Greyedout
4999 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5002 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5004 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5007 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5008 greyedout. Patch provided by Jürgen Spitzmüller.
5010 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5012 * kbmap.C (read): fix error message when reading bind files
5014 2003-07-29 Angus Leeming <leeming@lyx.org>
5016 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5017 certainly does not do what it purports to do. I am doing it, and
5018 us, a favour by killing it.
5020 2003-07-28 José Matos <jamatos@lyx.org>
5022 * buffer.C (readBody, do_writeFile):
5023 * paragraph.C(readParagraph): \end_document replaces \the_end.
5025 2003-07-29 André Pönitz <poenitz@gmx.net>
5028 * BufferView_pimpl.[Ch]:
5032 * textcursor.[Ch]: remove toggleToggle & Co
5034 2003-07-28 José Matos <jamatos@fep.up.pt>
5036 * buffer.C (readParagraph):
5037 * params_func (readParToken, readParagraph):
5038 * paragraph.C (write): \layout -> \begin_layout.
5040 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * lyxlex_pimpl.C (setFile): clean up slightly.
5044 * bufferparams.h: add compressed var
5046 * buffer_funcs.C (readFile): adjust for LyXLex change
5047 (newFile): ditto + simplify
5049 * buffer.C (writeFile): handle writing of compressed files
5051 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5052 Check if the file is compressed and set a bufferparm if so.
5054 * Makefile.am (lyx_LDADD): remove explicit -lz
5056 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5058 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5059 makeDocBookFile): put the real LyX version in the first line of
5063 * version.C.in: remove lyx_docversion
5065 * tabular.C (write_attribute): add a template-based version to
5066 write enums properly
5068 2003-07-28 André Pönitz <poenitz@gmx.net>
5073 * text3.C: use doubles again for x-coordinates. They are needed.
5075 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * messages.C (getLocaleDir): use lyx_localedir()
5079 * lyxlex_pimpl.C (setFile): compress stuff
5081 * buffer.C (writeFile): add some compression stuff
5082 (do_writeFile): new func, dont call expliti close... will this
5085 * Makefile.am (lyx_LDADD): add -lz
5087 2003-07-28 José Matos <jamatos@fep.up.pt>
5089 * buffer.C: increment file format.
5090 * paragraph_funcs (readParagraph, readParToken):
5091 * paragraph.C (readParagraph): add \end_layout.
5093 2003-07-27 Angus Leeming <leeming@lyx.org>
5095 * Makefile.am: remove special casing for configure-time setting of
5096 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5098 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5099 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5101 2003-07-26 André Pönitz <poenitz@gmx.net>
5103 * paragraph_func.[Ch]:
5104 * paragraph.C (realizeFont): inline it whereever it is used
5109 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5112 2003-07-26 André Pönitz <poenitz@gmx.net>
5116 * text2.C: get rid of LyXText::need_break_row
5118 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * toc.[Ch]: put namespace toc inside namespace lyx
5122 * MenuBackend.C (expandToc2): adjust for lyx::toc
5125 * lyxfunc.C (dispatch): adjust for lyx::find
5127 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5128 lyx::find instead. Reorganize a bit.
5129 (LyXReplace): rename to replace
5130 (LyXFind): rename to find
5132 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5135 2003-07-26 André Pönitz <poenitz@gmx.net>
5137 * text.C (setHeightOfRow): restrict scope of temporary variable
5139 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5140 code (never has been used?)
5142 2003-07-27 Asger Alstrup <alstrup@local>
5144 * text.C (fill): Optimise algorithm to exploit that we can reuse
5145 the LyXFont for many characters.
5146 (setHeightOfRow): Same thing.
5147 (rowBreakPoint): Same thing.
5149 2003-07-26 Asger Alstrup <alstrup@local>
5151 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5153 * text.C (singleWidth): Spurious font copying in hot-spot
5154 singleWidth avoided. Reorder tests for arabic for efficiency.
5156 * text.C (fill): handle empty paragraphs better.
5158 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5161 * encoding.h: add includes
5163 * lyxrc.C: remove reading of bind files
5165 * lyx_main.C (init): setup bindings and menus only if we have a
5168 * kbmap.C (read): new method. Do the actual reading of bind
5171 * converter.C (dvipdfm_options):
5174 (output): adapt PAPER_* enums.
5176 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5178 * bufferparams.h: remove paper-related enums from there
5180 * paper.h: New file. A trivial header file to hold paper-related
5181 enums. It should later expand to contain many paper-related
5184 * lyxrc.C: declare extern displayTranslator
5186 2003-07-27 José Matos <jamatos@fep.up.pt>
5188 * tabular.[Ch] (linuxdoc): add support for tables and figures
5191 2003-07-27 José Matos <jamatos@fep.up.pt>
5193 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5194 consistency in both functions.
5195 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5197 2003-07-26 Asger Alstrup <alstrup@local>
5199 * rowpainter.C (paintRows): Change algorithm to work directly on
5200 the insets rather than asking every character in the document
5201 whether its an inset.
5203 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5205 * buffer.C (openFileWrite): factorize some code
5207 2003-07-26 Angus Leeming <leeming@lyx.org>
5210 * lyx_main.[Ch]: replace occurances of system_tempdir with
5213 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * rename Inset to InsetOld
5217 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5219 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5220 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5221 which I think is a bit clearer. EDIT is gone, since it was
5222 premature optimisation, and broken for mathed anyway.
5223 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5224 with cursor positioning in insets as well (math insets still do not
5225 work, but that's a different story anyway.) It mysteriously
5226 crashes sometimes with undo in the first paragraph, but I'm fairly
5227 confident that this is a compiler bug.
5229 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * paragraph.C (Paragraph): adjust for new clone return type
5233 (copyIntoMinibuffer): ditto
5235 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5237 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5238 by not having a special case, and always doing a full rebreak of
5239 the document after undo.
5241 2003-07-23 Angus Leeming <leeming@lyx.org>
5243 * factory.C (createInset): InsetExternal::setParams now takes a
5246 2003-07-23 Angus Leeming <leeming@lyx.org>
5248 * factory.C (createInset): changed interface to the external and
5249 graphics mailers' string2params functions.
5251 2003-07-23 Angus Leeming <leeming@lyx.org>
5253 * factory.C (createInset): pass a
5254 Buffer const * parameter to InsetExternalMailer's string2params.
5256 2003-07-22 John Levon <levon@movementarian.org>
5258 * Thesaurus.h: include the right aiksaurus header
5260 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5262 * MenuBackend.C (expand): check menu shortcuts unconditionally
5264 2003-07-21 Angus Leeming <leeming@lyx.org>
5266 * factory.C (createInset): pass a
5267 buffer_path parameter to InsetGraphicsMailer's string2params.
5269 2003-07-21 Angus Leeming <leeming@lyx.org>
5271 * BufferView_pimpl.C (buffer):
5274 * lyxfunc.C (dispatch):
5275 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5276 rather than the grfx shortcut.
5278 2003-07-21 André Pönitz <poenitz@gmx.net>
5280 * rowpainter.C: remove unused variables
5283 * tabular_funcs.h: move to tabular.C
5284 * Makefile.am: adjust
5286 * tabular.[Ch]: basic optical cleaning
5288 * author.h: pass references, not values
5290 2003-07-18 André Pönitz <poenitz@gmx.net>
5298 * text3.C: two-phase drawing for InsetText and InsetTabular
5299 some float -> int changes.
5301 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5303 * lyx_main.C: fix the fix
5305 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5307 * lyx_main.C: fix a crash in batch mode if no files specified
5310 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5312 * format.[Ch] (papersize): moved to BufferParams
5313 * converter.[Ch] (dvips_options): moved to BufferParams
5314 (dvipdfm_options): moved to anon namespace
5315 * bufferparams.[Ch]: added above functions.
5317 2003-07-17 André Pönitz <poenitz@gmx.net>
5321 * text2.C: don't call inset->update() anymore
5323 * metricsinfo.[Ch]: add convenience constructor
5325 2003-07-16 André Pönitz <poenitz@gmx.net>
5330 * text2.C: replace the LyXCursor::irow_ member with
5331 on-demand computation of the value
5333 2003-07-16 John Levon <levon@movementarian.org>
5335 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5337 2003-07-15 André Pönitz <poenitz@gmx.net>
5340 * text2.C: remove no more needed refresh_row
5342 2003-07-15 André Pönitz <poenitz@gmx.net>
5347 * text3.C: refresh_status tristate -> need_update bool
5349 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5351 * lyxtext.h (init): remove reinit argument (act as if always true)
5352 * text2.C: adjust to that
5354 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5356 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5357 * text3.C: use it to delete selections in some cases
5358 (bugs 441, 673, 702, 954).
5360 2003-07-14 André Pönitz <poenitz@gmx.net>
5362 * rowpainter.[Ch]: reduce interface
5364 2003-07-14 André Pönitz <poenitz@gmx.net>
5366 * BufferView_pimpl.C:
5367 * text2.C: adjust after removing unused BufferView * argument
5369 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5371 * text2.C (init): fix a crash fired on resize
5373 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5375 * buffer.[Ch]: added new closing signal
5376 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5377 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5378 BufferView::Pimpl via the closing the signal
5380 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5382 * buffer.[Ch]: take out all bv-related from buffer
5384 * BufferView_pimpl.[Ch]: connect to new signals
5385 * CutAndPaste.C: removed useless asserts
5386 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5389 * lyxfunc.C: moved view-related funciontality from vc here
5390 * paragraph.C: removed outdated comments
5393 2003-07-10 André Pönitz <poenitz@gmx.net>
5395 * BufferView_pimpl.C:
5399 * text2.C: remove InsetText::InnerCache, clean up consequences
5401 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5403 * ispell.C: fix two typos in error messages
5405 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5407 * Extend Note inset to other forms of annotation like Comment
5408 and Greyedout. Right button click gives dialog.
5410 Files modified or added (+):
5414 * ControlNote.[Ch] +
5416 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5417 frontends/controllers
5421 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5423 * aspell.C: add missing namespace lyx::support
5425 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5427 * BufferView.[Ch] (newFile): Add
5428 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5429 * LaTeX.[Ch] (message): added this signal and use it
5430 * buffer.[Ch] (busy, message): added these signals and use them
5431 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5435 * importer.C: use buffer signals instead of direct bv calling
5436 * lyx_cb.[Ch] (ShowMessage): removed
5439 * paragraph_funcs.C:
5440 * text2.C: use buffer signals
5442 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * introduce namespace lyx::graphics
5446 2003-07-02 André Pönitz <poenitz@gmx.net>
5448 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5450 2003-07-01 André Pönitz <poenitz@gmx.net>
5457 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5458 text*.C to text_func.C
5460 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * introduce namespace lyx::support
5464 2003-06-30 André Pönitz <poenitz@gmx.net>
5469 * text.C: re-enable --with-included-string
5471 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5473 * textcursor.C: add <config.h>
5475 * text.C (getWord): remove const from word_location arg
5477 * lyxvc.C (getLogFile): fix const type order
5479 * lyxtext.h: remove const from word_location arg, add arg name
5481 * lyxlayout.h: currect type on labeltype.
5483 * importer.C: correct \file
5485 * converter.C (intToFormat): use std:: on ret val, ws changes
5487 * bufferlist.h: correct \file
5489 * buffer.C (makeLinuxDocFile): fix const type order
5490 (makeDocBookFile): ditto
5491 (fillWithBibKeys): use std:: on stdlib args.
5493 * CutAndPaste.C: fix authors.
5494 (availableSelections): use std:: on return vector
5496 2003-06-27 André Pönitz <poenitz@gmx.net>
5498 * BufferView_pimpl.C:
5499 * bufferview_funcs.C:
5507 * text3.C: remove LyXCursor::row_ member
5510 * text.C: rename fullRebreak() to partialRebreak() and implement
5511 a fullRebreak() that really bereks fully
5513 * textcursor.h: new struct for cursor-related data
5515 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5517 * lyx_main.C (LyX): get full path of document loaded on the
5520 2003-06-26 André Pönitz <poenitz@gmx.net>
5522 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5523 remove unused/broken operator>,<,>=.
5525 * text.C: remove only use of broken operator<= in an Assert().
5527 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5529 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5530 moved errorlist_.clear to showErrorList
5532 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5534 * converter.C (scanLog, runLaTeX):
5535 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5536 move the bv->showErrorList call to the callers
5537 * lyxfunc.C: i.e. here...
5539 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5540 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5541 namespace, the second to...
5542 * buffer_funcs (BufferFormat, parseErrors): added
5543 * errorlist.C (ErrorList(TeXErrors const &)): removed
5545 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5547 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5549 2003-06-24 "Garst R. Reese" <reese@isn.net>
5553 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5555 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5557 * version.C.in: change docversion to 1.4
5559 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5561 * buffer.C: fix a bug just introduced
5563 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5565 * buffer.[Ch]: added the parseError signal and use it, removed
5567 * BufferView.[Ch] (addError): moved to ...
5568 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5569 to the Buffer::parseError signal to catch (guess what) parse errors
5570 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5572 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5574 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5575 ability to create a buffer and to return an existing one from
5576 the list. Moved these functions to...
5577 * buffer_funcs.[Ch]: added
5578 * BufferView.[Ch] (loadLyXFile): added
5579 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5580 job removed from bufferlist::loadLyXFile.
5581 * buffer.C (setReadOnly): make it work without view
5582 (i.e added an if (users))
5584 2003-06-19 Angus Leeming <leeming@lyx.org>
5587 * LyXAction.C (init):
5588 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5589 with LFUN_DIALOG_SHOW <name> <data>.
5591 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5593 * CutAndPaste.C (availableSelections): small compilation fix for
5594 ancient (gcc 2.9x) compilers
5596 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * text3.C (cursorNext): add tmp var
5600 * text2.C (updateCounters): for function calling out of for clause
5601 (replaceSelectionWithString): ditto
5602 (insertStringAsParagraphs): ditto
5603 (getColumnNearX): add tmp var
5604 (setCursorFromCoordinates): add tmp var
5605 (cursorDownParagraph): add tmp var
5606 (deleteEmptyParagraphMechanism): add tmp var
5608 * text.C (insertChar): add tmp var
5610 * rowpainter.C (paintDepthBar): add tmp var
5612 * CutAndPaste.C (availableSelections): potentially check all
5613 paragraphs in a cut to fill the shown strings.
5615 2003-06-18 André Pönitz <poenitz@gmx.net>
5617 * kbmap.[Ch]: use vector<> instead of list<>
5619 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5621 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5622 pasteSelection with index
5624 * text2.C (pasteSelection): modify, call pasteSelection with index
5626 * paragraph.C (asString): reimplement version with no interval to
5627 call the one with interval.
5629 * lyxtext.h: add index arg to pasteSelection
5631 * MenuBackend.C (MenuItem): handle PasteRecent
5632 (Menu::read::Menutags): add md_pasterecent
5634 (expandPasteRecent): new function
5637 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5639 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5641 (availableSelections): new function
5643 2003-06-17 Angus Leeming <leeming@lyx.org>
5645 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5647 2003-06-17 Angus Leeming <leeming@lyx.org>
5650 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5652 * lyxfunc.C (dispatch): invoke it.
5654 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5656 * iterators.C (operator++, ParPosition): reintroduce some
5657 const_cast for the benefit of older compilers.
5659 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5661 * text3.C (dispatch): do not modify clipboard when doing
5662 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5663 LFUN_DELETE_SKIP on a selection selection
5665 2003-06-16 André Pönitz <poenitz@gmx.net>
5671 * tabular.[Ch]: IU of clone() and getLabelList();
5673 2003-06-13 André Pönitz <poenitz@gmx.net>
5675 * tabular.h: compactification
5677 2003-06-12 André Pönitz <poenitz@gmx.net>
5681 * tabular_funcs.h: some renaming plus whitespace
5683 2003-06-12 André Pönitz <poenitz@gmx.net>
5686 * BufferView_pimpl.C:
5692 * toc.C: Return a Paragraph & for ParIterator::operator*()
5694 2003-06-11 John Levon <levon@movementarian.org>
5698 * ToolbarBackend.C: add "Toolbars" section and
5701 2003-06-10 Angus Leeming <leeming@lyx.org>
5704 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5706 * lyxfunc.C (dispatch): invoke it.
5708 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * main.C: protect <ios> with HAVE_IOS
5711 (main): protect sync_with_stdio with HAVE_IOS
5713 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5715 * text2.C (cutSelection): adjust
5716 (pasteSelection): adjust
5718 * messages.C: handle get of empty string
5720 * main.C (main): use sync_with_stdio(false)
5722 * lyxfunc.C (dispatch): adjust
5724 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5725 (WriteAs): remove unneeded BufferView arg.
5727 * bufferparams.h: use correct types on papersize, papersize2 and
5730 * bufferparams.C (readToken): adjust for type
5731 (writeLaTeX): add missing cases to switch.
5733 * bufferlist.C (quitWriteBuffer): adjust
5736 * buffer.C (asciiParagraph): remove some commented code.
5738 * CutAndPaste.C: remove current_view extern variable.
5739 (cutSelection): add BufferParams arg.
5740 (eraseSelection): add BufferParams arg.
5741 (pasteSelection): add Buffer const & arg
5743 2003-06-07 John Levon <levon@movementarian.org>
5746 * paragraph_funcs.C:
5747 * paragraph_pimpl.C:
5751 * paragraph.C: allow InsetERT to freely space lines,
5752 and some consolidation of code
5754 2003-06-06 José Matos <jamatos@fep.up.pt>
5756 * buffer.C (makeDocBookFile): fix bug #821
5758 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5760 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5762 2003-06-04 Angus Leeming <leeming@lyx.org>
5764 * buffer.C: bump format to 224.
5766 2003-06-05 André Pönitz <poenitz@gmx.net>
5768 * text2.C (redoParagraphs): remove two const_cast<>
5770 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5772 * ParagraphList.h: remove last remnants of NO_STD_LIST
5774 2003-06-03 Angus Leeming <leeming@lyx.org>
5776 * factory.C (createInset): small change to the way InsetExternal's params
5779 2003-06-04 André Pönitz <poenitz@gmx.net>
5781 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5783 * paragraph_pimpl.h:
5784 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5786 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5788 * undo_funcs.C: make some simple cases of undo work again
5790 2003-06-03 John Levon <levon@movementarian.org>
5792 * ispell.C: HPUX doesn't have sys/select.h
5795 2003-06-03 John Levon <levon@movementarian.org>
5797 * CutAndPaste.C: update tabular and include inset
5802 * paragraph.C: remove owningBuffer(), don't pass Buffer
5805 * factory.C: insetGraphicsParams changed
5807 2003-06-02 John Levon <levon@movementarian.org>
5813 * text3.C: remove insetparent
5815 2003-06-02 John Levon <levon@movementarian.org>
5818 * buffer.C: fix inset_iterator.end(), move out of line
5821 2003-06-01 John Levon <levon@movementarian.org>
5823 * text3.C: use a proper cut/paste when doing inset
5824 insert (from Jürgen Spitzmüller)
5826 2003-06-01 John Levon <levon@movementarian.org>
5828 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5830 2003-05-30 André Pönitz <poenitz@gmx.net>
5832 * rowpainter.C: unify second drawing phase
5834 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * trans_mgr.C: remove one case of current_view
5838 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5840 * paragraph_funcs.h: remove paragraph.h include
5842 * paragraph.h: delete NO_STD_LIST stuff
5844 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5846 * buffer.h: remove paragraph.h include
5848 * ParagraphList.C: delete file
5850 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5852 * toc.C (getTocList): adjust
5854 * paragraph_pimpl.C (validate): adjust
5856 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5858 * paragraph.C (Paragraph): adjust
5859 (getPositionOfInset): use const_iterator, adjust
5860 (bibitem): use const_iterator, adjust
5861 (setInsetOwner): adjust
5863 * iterators.C (operator++): adjust
5865 * InsetList.[Ch]: Replace selfmade iterator with standard
5866 vector::iterator also introduce const_iterator. Remove getPos,
5867 getInset and setInset from InsetTable. Adjust accordingly.
5869 * BufferView.C (lockInset): adjust
5870 (ChangeInsets): adjust
5872 * tabular.[Ch]: delete commented same_id functions
5874 2003-05-28 John Levon <levon@movementarian.org>
5876 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5878 2003-05-28 André Pönitz <poenitz@gmx.net>
5880 * metricsinfo.[Ch]: remove 'fullredraw' member
5882 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5884 * lyxtextclass.C (operator): remove caching.
5886 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * text2.C (cursorBottom): adjust
5891 (setCounter): use ParagraphList::find, adjust
5893 * text.C (workWidth): use ParagraphList::find, adjust
5895 * lyxcursor.C (LyXCursor): adjust
5897 * buffer.C (inset_iterator): adjust
5899 * ParagraphList.h: make iterator(value_type) private, make
5900 ParagraphList a friend of iterator.
5902 * ParagraphList.C (find): new function
5904 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5906 2003-05-27 André Pönitz <poenitz@gmx.net>
5908 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5910 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5912 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5914 2003-05-26 John Levon <levon@movementarian.org>
5916 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5918 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * remove same_id from function signatures, adjust.
5922 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5924 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5926 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5928 * paragraph.C (Paragraph): get rid of same_ids parameter
5930 * ParagraphList.C (insert): adjust
5933 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * paragraph_funcs.C (breakParagraph): adjust
5936 (breakParagraphConservative): adjust
5938 * buffer.C (readParagraph): adjust
5940 * ParagraphList.C (insert): take a reference instead of a pointer
5943 * paragraph.[Ch] (id): new function
5945 * bufferlist.C (newFile): adjust
5947 * ParagraphList.C (ParagraphList): adjust
5949 (push_back): take a reference instead of a pointer.
5951 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5953 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5956 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5957 set else use old code.
5959 * ParagraphList.C: remove all NO_NEXT code and only compile this
5960 code of NO_STD_LIST is set.
5962 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5964 * BufferView_pimpl.C:
5974 * graphics/GraphicsConverter.C:
5975 * graphics/PreviewLoader.C: header adjustment
5977 2003-05-23 Angus Leeming <leeming@lyx.org>
5979 * LaTeXFeatures.[Ch] (useBabel): new method.
5980 * bufferparams.C (writeLaTeX): use it.
5982 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * ParagraphList.h (set): remove unused function.
5986 2003-05-23 André Pönitz <poenitz@gmx.net>
5989 * BufferView_pimpl.C:
5993 * undo_funcs.C: setUndo reworked
5995 * iterators.[Ch]: add access to topmost ParagraphList
5997 * lyxtext.[Ch] (workWidth): add a const
5999 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6001 * texrow.[Ch] (increasePos): remove function
6002 * exporter.C (export): removed unused var and outdated comment
6004 2003-05-23 Angus Leeming <leeming@lyx.org>
6006 * latexrunparams.h: rename fragile as moving_arg.
6007 * paragraph.C (simpleTeXOnePar): ditto.
6008 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6010 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6014 (textUndoOrRedo): comment out a currently unused var.
6016 * paragraph.h (NO_NEXT): enable NO_NEXT
6018 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6020 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6022 * exporter.C (Export): adjust for removeAutoInsets removal.
6024 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6026 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6028 * BufferView.[Ch] (removeAutoInsets): delete function
6030 2003-05-22 Angus Leeming <leeming@lyx.org>
6032 * latexrunparams.h: add a free_spacing variable.
6034 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6035 to pass moving_arg, as the data is stored in runparams.fragile.
6037 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6038 to Inset::latexOptional or to simpleTeXOnePar.
6040 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6041 free_spacing arg to Inset::latexOptional.
6043 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6046 2003-05-22 Angus Leeming <leeming@lyx.org>
6048 * latexrunparams.h: add fragile and use_babel variables.
6050 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6051 * buffer.C (makeLaTeXFile): store this returned value in
6052 runparams.use_babel, thus passing it to the inset::latex methods.
6054 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6055 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6057 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6058 longer has a fragile arg, as it is stored in runparams.fragile.
6060 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6061 moving_arg parameter as the data is stored in runparams.fragile.
6063 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6064 a fragile parameter as the data is stored in runparams.fragile.
6066 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6070 2003-05-22 Angus Leeming <leeming@lyx.org>
6072 * latexrunparams.h: add a 'bool nice' which defaults to false.
6074 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6075 now encapsulated within runparams.
6077 * bufferlist.C (updateIncludedTeXfiles):
6078 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6080 2003-05-22 Angus Leeming <leeming@lyx.org>
6082 * latexrunparams.h: new file containing struct LatexRunParams.
6083 * Makefile.am: add new file.
6085 * LaTeX.[Ch] (c-tor, run):
6086 * buffer.[Ch] (makeLaTeXFile):
6087 * bufferlist.[Ch] (updateIncludedTeXfiles):
6088 * converter.C (convert, scanLog):
6089 * converter.[Ch] (runLaTeX):
6090 * exporter.C (Export):
6091 * paragraph.[Ch] (simpleTeXOnePar):
6092 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6093 * paragraph_funcs.[Ch] (latexParagraphs):
6094 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6095 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6096 pass around a LatexRunParams parameter.
6098 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * paragraph.[Ch]: remove unused constructor
6102 * ParagraphList.C (erase): new function, taking two iterators
6104 2003-05-22 André Pönitz <poenitz@gmx.net>
6106 * undo_funcs.C: remove duplicated code
6108 * iterator.[Ch]: operator=
6110 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * tabular.C (SetMultiColumn): ws changes
6114 * rowpainter.C (paintFirst): get rid of a ->previous
6116 * lyx_cb.C (getPossibleLabel): parlist simplification
6118 * BufferView.C (ChangeInsets): simplify slightly.
6120 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6122 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6123 * lfuns.h: new LFUN_SPACE
6124 * lyxfunc.C: protected space has a new lfun
6125 * paragraph_funcs.C: read new space insets
6127 * factory.C: handle new space insets
6129 2003-05-22 André Pönitz <poenitz@gmx.net>
6132 * BufferView_pimpl.C:
6135 * undo_funcs.C: return a ParIterator from getParFromID.
6137 * iterators.[Ch]: add two const's
6139 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * toc.C (getTocList): adjust
6143 * iterators.[Ch]: rework for parlist
6145 * buffer.C (par_iterator_begin): adjust
6146 (par_iterator_end): adjust
6148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6150 * BufferView.C (removeAutoInsets): adjust
6151 (ChangeInsets): adjust
6153 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6155 * text.C (top_y): fix bug 1110
6157 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6159 * errorlist.[Ch]: added
6162 * BufferView_pimpl.C:
6163 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6166 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * Makefile.am: ensure that lyx is relinked upon changes to the
6169 various "convenience" libs.
6171 2003-05-20 Angus Leeming <leeming@lyx.org>
6173 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6174 files are compiled in alphabetical order again.
6176 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6178 2003-05-19 Angus Leeming <leeming@lyx.org>
6180 * gettext.[Ch]: remove "char const * _(char const *)".
6182 2003-05-19 André Pönitz <poenitz@gmx.net>
6184 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6193 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6195 2003-05-19 André Pönitz <poenitz@gmx.net>
6199 * lyxtextclass.[Ch]:
6201 * paragraph_funcs.[Ch]:
6203 * text3.C: more insetenv work
6205 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6207 * ParagraphParameters.C (params2string): small bug fixed
6209 2003-05-16 André Pönitz <poenitz@gmx.net>
6212 * bufferview_funcs.C: patch from Kornel Benko to prevent
6213 crash when _(...) is called twice in a statement
6215 2003-05-16 André Pönitz <poenitz@gmx.net>
6222 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6224 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6226 * lyx_main.C (init): remove spurious static_cast
6228 2003-05-14 André Pönitz <poenitz@gmx.net>
6230 * BufferView.C: fix format string
6232 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6234 * BufferView.[Ch] (insertErrors): removed
6235 * BufferView.[Ch] (showErrorList): added
6236 * buffer.C (runChkTeX):
6237 * converter.C (scanLog): call showErrorList instead of inserterrors
6239 2003-05-13 André Pönitz <poenitz@gmx.net>
6241 * BufferView_pimpl.C:
6243 * bufferview_func.C:
6250 * tabular_funcs.h: tostr() from its own header
6252 * ParagraphParameters.C:
6257 * text3.C: STRCONV()
6259 2003-05-12 André Pönitz <poenitz@gmx.net>
6262 * BufferView_pimpl.C:
6266 * ParagraphParameters.C:
6270 * bufferview_funcs.C:
6283 * paragraph_funcs.C:
6287 * text3.C: boost::format -> bformat all over the place
6290 2003-05-09 André Pönitz <poenitz@gmx.net>
6292 * LColor.[Ch]: Pimpl the #include <map> away
6294 2003-05-09 John Levon <levon@movementarian.org>
6296 * bufferlist.C: never remove emergency saves
6298 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * Makefile.am: better lib building
6302 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6306 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6307 (simpleTeXSpecialChars): adjust
6308 (simpleTeXSpecialChars): adjust
6309 * paragraph.C (simpleTeXOnePar): adjust
6310 * buffer.C (makeLaTeXFile): adjust
6312 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6314 * text2.C (changeDepth): parlist cleanup
6315 (getColumnNearX): ditto
6317 * rowpainter.C (getLabelFont): parlist cleanup
6319 * bufferlist.C (newFile): parlist cleanup
6321 * CutAndPaste.C (eraseSelection): parlist cleanup
6323 * BufferView_pimpl.C (trackChanges): parlist cleanup
6326 * BufferView.C (lockInset): parlist cleanup.
6327 (ChangeInsets): ditto
6329 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * CutAndPaste.h: Update file header.
6333 * CutAndPaste.C: Update file header.
6334 Store the parts cut out of the Document in a limited_stack.
6335 (copySelection): adjust
6336 (pasteSelection): new function, takes the index in the limited stack.
6337 (nrOfParagraphs): adjust
6338 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6339 simplify error inset insertion.
6340 (checkPastePossible): adjust
6342 2003-05-06 John Levon <levon@movementarian.org>
6344 * text2.C: don't cast wrap inset to float
6346 2003-05-05 André Pönitz <poenitz@gmx.net>
6349 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6351 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6352 few naked Paragraph *.
6354 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6356 * bufferparams.C: Output warning if a document with missing
6357 TeX document class is loaded
6358 * exporter.C: Disable TeX exports if the document class is missing
6361 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6362 isTeXClassAvailable()
6364 2003-05-03 John Levon <levon@movementarian.org>
6367 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6368 explicit cursor show/hide
6370 * BufferView_pimpl.h:
6371 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6372 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6374 * lyxfunc.C: hide cursor before dispatching.
6379 * text3.C: remove explicit cursor hides
6381 2003-05-02 André Pönitz <poenitz@gmx.net>
6383 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6386 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6389 * text2.C: tiny whitespace
6391 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * undo_funcs.C: almost only ws changes.
6395 * ParagraphList.C (splice): just return if pl is empty.
6397 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * ParagraphList.C (splice): new function.
6401 * CutAndPaste.C (pasteSelection): use it
6403 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * CutAndPaste.C (pasteSelection): remove the last next and
6406 previous from this file.
6408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * CutAndPaste.C (pasteSelection): more clean up, user proper
6411 ParagraphList functions for pasteing.
6413 * ParagraphList.C (insert): new function, three arg insert
6415 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * ParagraphList.C (insert): new function, three arg insert
6419 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6422 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6426 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6430 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6433 (copySelection): clean up a bit.
6434 (pasteSelection): use make_pair
6436 * ParagraphList.C (ParagraphList): implement copy constructor
6437 (operator=): implement, base on copy constructor.
6440 * paragraph.C (erase): return a bool
6442 * paragraph_pimpl.C (erasePos): remove function, move contents...
6443 (erase): ... here. Return a bool.
6444 (erase): call erase instead of erasePos.
6446 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6448 * ParagraphList.h: define PitPosPair
6449 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6450 ParagraphList, fix a bug on pasting multiple pars
6451 * text2.C: change interface to C&P
6453 2003-04-30 André Pönitz <poenitz@gmx.net>
6455 * undo_func.C: revert part of yesterday's patch 2
6457 2003-04-30 John Levon <levon@movementarian.org>
6459 * LColor.C: s/tabular/table/
6461 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * text3.C (dispatch): do not convert iterator -> pointer
6464 * undo_funcs.C (setCursorParUndo): ditto
6465 * text_funcs.C (transposeChars): ditto
6467 * text2.C (setLayout): ws changes only
6469 * text.C (breakParagraph): do not convert iterator -> pointer
6471 (acceptChange): ditto
6472 (rejectChange): ditto
6477 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6480 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6482 * text3.C (gotoInset): YABG (yet another bad getChar)
6484 2003-04-29 André Pönitz <poenitz@gmx.net>
6486 * paragraph.h: make operator= private unimplemented as long as
6489 * ParagraphList.C: whitespace
6492 * paragraph_pimpl.[Ch]:
6493 * paragraph_funcs.C:
6495 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6498 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6500 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6502 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6503 * paragraph.[Ch] (erase):
6504 * paragraph_pimpl.[Ch] (erase): change return type and value
6505 * text2.C (cutSelection): some rework
6507 2003-04-28 John Levon <levon@movementarian.org>
6509 * bufferlist.C: changes for unsaved changes dialog
6511 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * bufferlist.C (newFile): set language (messages_) for new
6516 * buffer.C (readFile): ws changes only.
6518 2003-04-28 André Pönitz <poenitz@gmx.net>
6523 * BufferView_pimpl.C:
6524 * BufferView.C: getParFromID related ParagraphList::iterator changes
6526 2003-04-28 André Pönitz <poenitz@gmx.net>
6528 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6531 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * messages.C: remove one more localedir class variable.
6535 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * messages.C (getLocaleDir): singleton generation function
6539 (Messages): add a default constructor.
6541 * main.C (main): do not setup localedir here, do not call
6544 * gettext.C (_): use it.
6545 (gettext_init): delete funciton
6547 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * gettext.C (getLyXMessages): new singleton generating function.
6551 * buffer.C (updateDocLang): adjust
6553 * Makefile.am (messages.o): add target
6554 (main.o): remove target
6556 2003-04-27 John Levon <levon@movementarian.org>
6561 * lyxvc.C: specify cancel button in Alert::prompt
6563 2003-04-26 John Levon <levon@movementarian.org>
6568 * LyXAction.C: add LFUN_INSET_SETTINGS
6570 * lyxfunc.C: don't enable tabular-feature when there's
6571 just any locking inset
6573 2003-04-26 John Levon <levon@movementarian.org>
6575 * bufferlist.C: re-add Cancel to buffer close question
6577 * lyxfunc.C: fix import UI a bit
6579 2003-04-25 John Levon <levon@movementarian.org>
6581 * gettext.C: remove the broken asserts for now
6583 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * messages.C: make case where setlocale cannot comply work better.
6587 * buffer.C (updateDocLang): new function
6588 (changeLanguage): use it
6591 * text2.C (setCounter): use B_ a bit.
6593 * lyxlayout.C (Read): be sure to trim the label strings.
6595 * messages.C (Messages): fix typo in comment
6597 * buffer.C (readFile): set message_ after file is loaded.
6598 (makeDocBookFile): remove double return
6599 (changeLanguage): reset message_ upon language change.
6600 (B_): new func, use this to get translated buffer strings.
6602 * main.C: add myself and Jean Marc as authors.
6604 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * messages.[hC]: pimplify Messages, and three different pimpls to be
6607 used in different circumstances.
6609 * gettext.[Ch]: change for use with new message code.
6611 2003-04-24 André Pönitz <poenitz@gmx.net>
6613 * factory.C: support for eqref
6615 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * messages.[Ch]: add missing char
6619 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6621 * messages.[Ch]: New files
6623 2003-04-18 John Levon <levon@movementarian.org>
6627 * BufferView_pimpl.C:
6631 * text2.C: remove layout-copy/paste (bug 778)
6633 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6635 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6637 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6639 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6640 if they succeed. Act accordingly.
6642 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6644 * text2.C (setCharFont): adjust
6645 (setCounter): adjust
6646 (insertStringAsLines): adjust
6648 * text.C (leftMargin): adjust
6649 (setHeightOfRow): adjust
6651 * rowpainter.C (paintFirst): adjust
6654 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6656 (isFirstInSequence): ditto
6657 (getEndLabel): ditto
6660 * paragraph.C (getParLanguage): comment out some hard stuff.
6662 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6664 (simpleDocBookOnePar): ditto
6665 (makeDocBookFile): use ParagraphList::iterator
6667 * CutAndPaste.C (pasteSelection): adjust
6669 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * text2.C (getFont): adjust
6672 (getLayoutFont): adjust
6673 (getLabelFont): adjust
6675 * paragraph_funcs.C (TeXOnePar): adjust
6677 * buffer.C (simpleLinuxDocOnePar): adjust
6678 (simpleDocBookOnePar): adjust
6680 * CutAndPaste.C (pasteSelection): adjust
6682 * BufferView.C (getEncoding): adjust
6684 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6686 2003-04-16 John Levon <levon@movementarian.org>
6688 * lyxfind.C: use parlist stuff for search/changes
6690 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6694 * text2.C (deleteEmptyParagraphMechanism): adjust
6696 * text2.[Ch] (ownerParagraph): delete func (both of them
6698 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6702 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6704 * ParagraphList.C: prepare for NO_NEXT
6706 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * text2.C (getFont): adjust
6709 (getLayoutFont): adjust
6710 (getLabelFont): adjust
6712 * paragraph.C (getFont): adjust
6713 (getLabelFont): adjust
6714 (getLayoutFont): adjust
6716 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6718 2003-04-15 John Levon <levon@movementarian.org>
6722 * lyx_main.C: handle Include in .ui files
6724 2003-04-15 John Levon <levon@movementarian.org>
6726 * MenuBackend.C: make the doc files length shorter
6729 * ToolbarBackend.C: handle toolbar placement flags,
6732 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6737 * paragraph_funcs.C (TeXOnePar): adjust
6739 * paragraph.C (getLabelFont): add outerfont arg, adjust
6740 (getLayoutFont): ditto
6741 (simpleTeXOnePar): adjust
6743 * paragraph_pimpl.C (realizeFont): delete func
6745 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6747 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6748 row argument, constify cur argument.
6750 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * text2.C (getFont): adjust
6753 (getLayoutFont): adjust
6754 (getLabelFont): adjust
6756 * paragraph_funcs.C (TeXOnePar): adjust
6757 (outerFont): new func...
6758 (realizeFont): ...moved out from here, changed this to facilitate
6761 * paragraph.C (getFont): take outerfont as arg, adjust
6762 (simpleTeXOnePar): add outerfont arg, adjust
6764 * buffer.C (simpleLinuxDocOnePar): adjust
6765 (simpleDocBookOnePar): adjust
6767 * CutAndPaste.C (pasteSelection): adjust
6769 * BufferView.C (getEncoding): adjust
6771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * text2.C (setCharFont): adjust
6774 (setCounter): adjust
6776 * text.C (leftMargin): adjust
6777 (setHeightOfRow): adjust
6779 * rowpainter.C (paintFirst): adjust
6782 * paragraph_pimpl.C (realizeFont): adjust
6784 * paragraph.C (isFirstInSequence): move from here...
6785 * paragraph_funcs.C (isFirstInSequence): ...to here
6787 * paragraph.C (outerHook): move from here...
6788 * paragraph_funcs.C (outerHook): ...to here
6790 * paragraph.C (depthHook): move from here...
6791 * paragraph_funcs.C (depthHook): ...to here
6793 * paragraph.C (getEndLabel): move from here...
6794 * paragraph_funcs.C (getEndLabel): ...to here
6796 * text2.C (realizeFont): move from here...
6797 * paragraph_funcs.C (realizeFont): ...to here
6799 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6803 2003-04-14 Angus Leeming <leeming@lyx.org>
6805 * LColor.[Ch]: scrap LColor mathcursor.
6807 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * lyxlex.[Ch] (text): delete function
6810 * trans.C (Load): adjust
6811 * paragraph_funcs.C (readParToken): adjust
6813 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6816 vector<char> instead of a char[].
6818 * lyxlex_pimpl.C (getString): adjust
6820 (lex): use getString
6824 * lyxlex.C (text): use pimpl_->getString()
6828 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6830 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6831 (makeFontEntriesLayoutSpecific): temp var for par.size()
6832 (setLayout): temp var for ownerParagraphs().end()
6833 (fullRebreak): temp var for rows().end()
6834 (selectionAsString): temp var for boost::next(startpit), realize
6835 that the while really is a regular for loop.
6836 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6837 setCursor in one place.
6838 (setParagraph): temp vr for ownerParagraphs().end()
6839 (updateCounters): make the while loop a for loop
6840 (cutSelection): temp var for ownerParagraphs().end()
6841 (updateInset): make the do {} while() a regular for loop
6842 (getCursorX): use temp vars
6843 (setCurrentFont): use temp vars
6844 (getColumnNearX): use temp vars
6846 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * text.C (transformChar): use temp var for getChar
6849 (computeBidiTables): use temp var for row->par()
6850 (fill): move temp vars for row->par() and pit->layout() earlier in
6852 (labelFill): use temp var for row->par()
6853 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6854 asc and desc, realize that pit never changes and that firstpit is
6855 just a duplicate and not needed. Exchange rit->par() with pit in a
6857 (breakAgain): use a temp var for boost::next(rit)
6858 (breakAgainOneRow): ditto
6859 (breakParagraph): use a temp var for rows().begin()
6860 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6861 (cursorRightOneWord): use temp var for cursor.par() and
6862 cursor.pos(), remove usage of tmpcursor.
6863 (cursorLeftOneWord): use temp var for cursor.par() and
6864 cursor.pos() only set cur at end of function.
6866 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * text.C, text2.C: exchange all usage of Paragraph::next with
6869 boost::next(ParagraphList::iterator)
6871 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6873 * text2.C (cursorTop): simplify implementation
6874 (cursorBottom): ditto
6875 (setParagraph): use ParagraphList::iterator
6876 (setCurrentFont): adjust
6877 (getColumnNearX): adjust
6878 (cursorRight): adjust
6879 (cursorLeft): remove usage of Paragraph::previous
6880 (cursorUpParagraph): ditto
6881 (deleteEmptyParagraphMechanism): slight cleanup
6883 * text.C (isBoundary): take a Paragraph const & instead of a
6885 (addressBreakPoint): ditto
6886 (leftMargin): remove usage of Paragraph::previous.
6887 (setHeightOfRow): ditto
6888 (cursorLeftOneWord): ditto
6889 (selectNextWordToSpellcheck): ditto
6892 (breakParagraph): remove one usage of Paragraph::next
6893 (redoParagraph): ditto
6894 (acceptChange): ditto
6895 (insertChar): adjust
6896 (rowBreakPoint): adjust
6898 * bufferview_funcs.C (toggleAndShow): adjust
6900 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6902 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6903 methods to access it.
6905 * text.C: Added updateRowPositions to compute all row positions.
6906 Make top_y and getRowNearY() to use the cached y position
6908 2003-04-11 John Levon <levon@movementarian.org>
6910 * text.C (rowBreakPoint): reintroduce the labelEnd
6911 checks, code copied from the row fill stuff. Deep voodoo.
6913 * text.C (fill): add a comment and debugging for the
6916 2003-04-11 John Levon <levon@movementarian.org>
6918 * text.C: make sure fullrow insets get wrapped to the next line,
6919 even when they're in a manual label
6921 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * text2.C (insertParagraph): make it take ParagraphList::iterator
6925 (setLayout): make it return ParagraphList::iterator
6926 (redoParagraphs): ditto
6928 (checkParagraph): ditto
6930 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6932 * text2.C: adjust several funcs.
6933 (realizeFont): take a ParagraphList::iterator as arg.
6934 (getLayoutFont): ditto
6935 (getLabelFont): ditto
6936 (setCharFont): ditto
6938 * text.C: adjust several funcs.
6940 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6942 * text.C (selectNextWordToSpellcheck): don't accidentally
6945 2003-04-10 John Levon <levon@movementarian.org>
6947 * ToolbarBackend.C (getIcon): special handling for
6950 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6952 * text2.C (cursorRight): a getChar assert fixed
6954 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * text2.C (getFont): change to take a ParagraphList::iterator
6957 instead of Paragraph*
6958 Adjust several functions.
6960 * text.C (transformChar): change to take a ParagraphList::iterator
6961 instead of Paragraph*
6962 (singleWidth): ditto
6963 Adjust several functions.
6965 * rowpainter.C: adjust several functions
6966 * rowpainter.h:store a ParagraphList::iterator and not a
6970 2003-04-09 John Levon <levon@movementarian.org>
6975 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6976 and the "help" bits as well
6978 2003-04-09 John Levon <levon@movementarian.org>
6981 * ToolbarBackend.C: allow multiple toolbars
6983 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * undo_funcs.C (setCursorParUndo): adjust
6987 * text_funcs.C (transposeChars): adjust
6989 * text3.C (gotoNextInset): adjust
6992 * text2.C (setLayout): adjust
6993 (changeDepth): adjust
6995 (redoParagraphs): adjust
6996 (selectionAsString): adjust
6997 (setParagraph): adjust
6998 (insertInset): adjust
6999 (cutSelection): adjust
7000 (copySelection): adjust
7001 (pasteSelection): adjust
7002 (insertStringAsLines): adjust
7003 (updateInset): adjust
7004 (setCursor): change to take a ParagraphList::iterator parameter
7005 (setCursorIntern): change to take a ParagraphList::iterator parameter
7006 (setCurrentFont): adjust
7007 (cursorLeft): adjust
7008 (cursorRight): adjust
7009 (deleteEmptyParagraphMechanism): adjust
7011 * text.C (breakParagraph): adjust
7012 (insertChar): adjust
7013 (acceptChange): adjust
7014 (rejectChange): adjust
7015 (selectNextWordToSpellcheck): adjust
7016 (changeCase): adjust
7020 * lyxfind.C (SearchForward): adjust
7021 (SearchBackward): adjust
7022 (nextChange): adjust
7024 * lyxcursor.C (par): adjust
7026 * lyxcursor.h: store a ParagraphList::iterator instead of a
7029 * lyx_cb.C (getPossibleLabel): adjust
7031 * bufferview_funcs.C (toggleAndShow): adjust
7033 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7036 * BufferView.C (removeAutoInsets): adjust
7037 (lockedInsetStoreUndo): adjust
7039 2003-04-09 John Levon <levon@movementarian.org>
7041 * ToolbarBackend.C: try icon without argument
7042 if with argument fails
7044 2003-04-08 John Levon <levon@movementarian.org>
7047 * ToolbarBackend.C: add getIcon(), handle tooltip,
7048 and change from "Icon" to "Item".
7050 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7052 * BufferView.C (lockInset): another bad getchar crunched
7054 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7056 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7059 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7061 * lyxfind.C (searchForward, searchBackwards): bug 782
7063 2003-04-07 John Levon <levon@movementarian.org>
7065 * paragraph.C: remove dead comment
7067 * text.C: remove troublesome depth-fiddling code
7068 in leftMargin() and rightMargin() (bug 1017)
7070 * text.C: fix breaking of rows in nested lists
7073 * text2.C (updateCounters): fix up depth values
7076 2003-04-07 John Levon <levon@movementarian.org>
7078 * BufferView_pimpl.C: clear message when doc finishes resizing,
7079 and after a mouse event
7081 * lyxfunc.C: clear message after exiting inset
7083 2003-04-07 John Levon <levon@movementarian.org>
7085 * bufferview_funcs.C: show math status not outside
7086 status in the statusbar
7088 2003-04-07 John Levon <levon@movementarian.org>
7090 * lyxfunc.C: note status changed after a depth change
7092 2003-04-04 Angus Leeming <leeming@lyx.org>
7094 * LaTeX.h: move AuxInfo operator==, != out of line.
7095 Remove LaTeX virtual destructor; nothing derives from it.
7096 Move operator()() out of public area and rename it startscript().
7097 Change protected for private.
7099 2003-04-04 Angus Leeming <leeming@lyx.org>
7102 * text2.C: remove unneeded #includes.
7104 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7106 * text2.C (dEPM): fix the heigth of the next row
7108 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7110 * text.C: squashed an invalid getChar requester + some ws changes
7112 2003-04-03 John Levon <levon@movementarian.org>
7114 * bufferview_funcs.h:
7115 * bufferview_funcs.C:
7118 * text2.C: make getStatus work for the env depth lfuns
7120 2003-04-03 John Levon <levon@movementarian.org>
7122 * bufferview_funcs.h:
7123 * bufferview_funcs.C:
7126 * text2.C: parlistize decDepth(), by merging it with incDepth()
7128 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7130 * lyxrow.h: store a ParagraphList::iterator instead of a
7131 Paragraph* and adjust other class functions to suit.
7133 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7136 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7138 * text2.C (setCursor): do not anchor to cursor row for the time being
7140 2003-04-02 John Levon <levon@movementarian.org>
7147 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7149 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * paragraph.h: make ParagraphList and ParagraphList::iterator
7152 friends of Paragraph.
7154 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7156 * ParagraphList.C: Use the private next_ and previous_ from
7159 2003-04-01 John Levon <levon@movementarian.org>
7163 * Makefile.am: rename, remove defaults gunk
7166 * MenuBackend.C: remove defaults gunk
7169 * Languages.C: remove defaults gunk
7172 * lyx_main.C: error out if files couldn't be found.
7174 2003-04-02 John Levon <levon@movementarian.org>
7176 * text2.C: make incDepth() use parlist
7178 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * undo_funcs.C (firstUndoParagraph): adjust
7182 * text3.C (gotoInset): adjust
7183 (dispatch): adjust, and rewrite loop.
7185 * text2.C (init): adjust, and rewrite loop.
7186 (redoParagraphs): adjust
7187 (updateInset): adjust, and rewrite loop.
7188 (deleteEmptyParagraphMechanism): adjust
7190 * tabular.C (LyXTabular): adjust
7191 (SetMultiColumn): adjust
7194 * lyxtext.[Ch] (ownerParagraph): delete function
7195 (ownerParagraphs): new function returns a ParagraphList.
7197 * BufferView.C (removeAutoInsets): adjust
7198 (insertErrors): adjust
7199 (setCursorFromRow): adjust
7201 2003-04-01 Angus Leeming <leeming@lyx.org>
7203 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7206 2003-04-02 John Levon <levon@movementarian.org>
7212 * text_funcs.C: make transposeChars a free function
7214 * lyxrow_funcs.C: remove wrong comment
7216 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * rowpainter.C: adjust
7224 * lyxrow_funcs. [Ch]: new files
7226 * lyxrow.[Ch]: remove next and previous pointers
7227 (next,previous): remove accessor functions
7228 (isParEnd): move to lyxrow_funcs
7229 (lastPos): move to lyxrow_funcs
7230 (nextRowIsAllInset): move to lyxrow_funcs
7231 (lastPrintablePos): move to lyxrow_funcs
7232 (numberOfSeparators): move to lyxrow_funcs
7233 (numberOfHfills): move to lyxrow_funcs
7234 (numberOfLabelHfills): move to lyxrow_funcs
7235 (hfillExpansion): move to lyxrow_funcs
7239 * bufferview_funcs.C (toggleAndShow): adjust
7241 * RowList.h: Remove class RowList from file leave just a
7244 * RowList.C: delete file
7246 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7249 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * text3.C (cursorPrevious): adjust
7252 (cursorNext): adjust
7255 * text2.C (redoHeightOfParagraph): adjust
7256 (redoDrawingOfParagraph): adjust
7259 * text.C (breakParagraph): adjust
7260 (insertChar): adjust
7263 * rowpainter.C (RowPainter): adjust
7264 (leftMargin): simplify and adjust
7265 (most rowpainter functions): adjust.
7267 * rowpainter.h: store the row as RowList::iterator not as Row*
7269 * lyxcursor.C (row): taka RowList::iterator as arg
7272 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7275 2003-04-01 Angus Leeming <leeming@lyx.org>
7277 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7278 stuff like bool Bool.
7280 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7282 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7285 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7290 * lyxtext.h (rows): drop one version and leve a const variant that
7291 returns a RowList::iterator.
7293 2003-03-31 Angus Leeming <leeming@lyx.org>
7295 * text.C (fill): ensure that the signature is the same as that in the
7298 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * text2.C (redoParagraphs): adjust
7301 (updateCounters): adjust
7302 (checkParagraph): adjust
7303 (getColumnNearX): adjust and reformat a bit.
7305 * text.C (top_y): adjust
7307 (leftMargin): adjust
7308 (prepareToPrint): adjust
7310 (getRowNearY): adjust
7312 * lyxtext.h: make rowlist_ mutable.
7314 * RowList.h: add const_iterator
7315 * RowList.C: adjust for RowList::const_iterator.
7317 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7320 2003-03-31 John Levon <levon@movementarian.org>
7323 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7325 * lyx_main.C: set default fonts from using lyx_gui funcs
7327 * exporter.C: pdf_mode moved from lyxrc
7330 * lyxfunc.C: changes from above
7332 2003-03-31 John Levon <levon@movementarian.org>
7334 * lyx_main.C: fix to the last fix
7336 2003-03-31 John Levon <levon@movementarian.org>
7338 * bufferlist.C: "Load original" -> "Load Original"
7344 * format.C: more Alert cleanups
7346 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * text2.C (removeParagraph): make it take a RowList::iterator as
7350 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7351 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7353 * text.C (anchor_row): make it take a RowList::iterator as arg,
7355 (computeBidiTables): make it take a const reference to Row instead
7356 of Row pointer, adjust.
7357 (leftMargin): make it take a RowList::iterator as arg, adjust.
7358 (rowBreakPoint): adjust
7359 (breakAgainOneRow): make it take a RowList::iterator as arg,
7361 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7363 * bufferview_funcs.C (toggleAndShow): adjust
7365 2003-03-30 John Levon <levon@movementarian.org>
7369 * boost-inst.C: moved to support
7371 * several files: changes as a result
7373 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * text2.C (LyXText): adjust.
7377 (removeRow): make it take a RowList::iterator as arg, adjust.
7378 (fullRebreak): adjust
7379 (deleteEmptyParagraphMechanism): adjust
7380 (clearPaint): adjust
7383 * text.C (top_y): adjust
7384 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7385 (breakAgain): make it take a RowList::iterator as arg, adjust.
7386 (breakParagraph): adjust
7387 (insertChar): adjust
7390 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7391 need_break_row, and refresh_row.
7393 * text3.C (dispatch): adjust
7395 * text2.C (checkParagraph): adjust
7397 (setCursorFromCoordinates): adjust
7399 * text.C (top_y): adjust
7401 (getRow): make it return a RowList::iterator, adjust
7402 (getRowNearY): make it return a RowList::iterator, adjust
7404 * text2.C (init): adjust
7405 (insertRow): remove function
7406 (insertParagraph): adjust
7407 (redoParagraphs): adjust
7408 (fullRebreak): adjust
7409 (updateCounters): adjust
7411 * text.C (top_y): rewrite to use RowList iterators.
7413 (setHeightOfRow): rewrite to sue RowList iterators.
7414 (appendParagraph): adjust
7415 (breakAgain): adjust
7416 (breakAgainOneRow): adjust
7417 (breakParagraph): adjust
7419 (getRowNearY): adjust, and remove commented code.
7421 * lyxtext.h (firstRow): delete function
7422 (lastRow): delete function
7423 (rows): new function (const and non-const versions.)
7424 (insertRow): delete function
7426 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7428 2003-03-29 John Levon <levon@movementarian.org>
7430 * BufferView_pimpl.C: always update scrollbar top
7431 because pasting text when we're anchored could mean we
7432 miss an update altogether
7434 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * text2.C (init): use rowlist_.end() and not 0.
7437 (insertRow): change to take a RowList::iterator as arg, adjust
7439 (insertParagraph): change to take a RowList::iterator as arg,
7441 (redoParagraphs): remove some debug msgs.
7443 * text.C (appendParagraph): change to take a RowList::iterator
7444 arg, adjust for this.
7445 (breakAgain): add an assert
7446 (breakAgainOneRow): ditto
7448 2003-03-29 John Levon <levon@movementarian.org>
7450 * text2.C: do not clear selection after inc/decDepth
7453 2003-03-29 John Levon <levon@movementarian.org>
7456 * buffer.C: fix broken strerrors according to Lars
7458 2003-03-29 John Levon <levon@movementarian.org>
7460 * converters.C: more Alert cleanups
7462 2003-03-29 John Levon <levon@movementarian.org>
7464 * bufferview_funcs.C: remove pointless Alert
7466 * buffer.C: fix confusing error message when
7467 a template is chmoded 000
7469 2003-03-29 John Levon <levon@movementarian.org>
7473 * BufferView_pimpl.C: Alert fixes
7477 * tabular-old.C: remove unused table compat reading
7479 2003-03-29 John Levon <levon@movementarian.org>
7484 * lyx_cb.C: more Alert cleanups
7486 * lyxfunc.C: don't allow chktex if not latex document
7488 2003-03-29 John Levon <levon@movementarian.org>
7492 * buffer.C: warnings pushed down from support/,
7495 2003-03-29 John Levon <levon@movementarian.org>
7497 * lyxfunc.C: safety check for C-r (revert)
7499 2003-03-29 John Levon <levon@movementarian.org>
7502 * bufferlist.C: several UI fixes using Alert::prompt.
7503 Fix the pointless looping quit code. Fix stupid revert
7508 * lyx_cb.C: use Alert::prompt
7510 * lyx_main.C: remove a silly question
7512 * lyxfunc.C: remove a couple of silly questions,
7515 2003-03-28 John Levon <levon@movementarian.org>
7517 * text2.C: fix bug 974 (End on empty par)
7519 2003-03-28 John Levon <levon@movementarian.org>
7521 * BufferView_pimpl.C:
7523 * lfuns.h: remove do-nothing math greek lfuns
7525 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * lyxgluelength.h (isValidGlueLength): add default arg on
7528 parameter 2. Remove default arg from friend in class.
7530 * lyxlength.h (isValidLength): add default arg on parameter 2.
7531 Remove default arg from friend in class.
7533 * text2.C (LyXText): adjust, initialize refresh_row.
7537 (insertParagraph): adjst
7538 (redoParagraphs): adjust
7539 (fullRebreak): adjust
7540 (updateCounters): adjust
7541 (deleteEmptyParagraphMechanism): first attempt at fixing a
7544 * text.C (top_y): adjust
7545 (setHeightOfRow): adjust
7547 (getRowNearY): adjust
7549 * lyxtext.h: include RowList.h
7550 (~LyXText): not needed anymore, deleted.
7551 (firstRow): modify for RowList
7552 (lastRow): new function
7553 Delete firstrow and lastrow class variables, add a Rowlist
7554 rowlist_ class variable.
7556 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7559 * RowList.C (insert): fix case where it == begin().
7561 2003-03-26 Angus Leeming <leeming@lyx.org>
7563 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7564 the thesaurus dialog.
7566 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7570 * RowList.[Ch]: new files
7572 * ParagraphList.C (erase): handle the case where it == begin
7575 2003-03-25 John Levon <levon@movementarian.org>
7579 * aspell.C: add new aspell support
7582 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7585 2003-03-25 Angus Leeming <leeming@lyx.org>
7588 * LyXAction.C (init): new LFUN_INSET_INSERT.
7590 * BufferView_pimpl.C (dispatch): split out part of the
7591 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7593 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7596 2003-03-25 Angus Leeming <leeming@lyx.org>
7598 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7600 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7603 * text3.C: remove useless row->height(0)
7605 2003-03-25 John Levon <levon@movementarian.org>
7609 * text3.C: rename the refreshing stuff to better names
7611 2003-03-24 John Levon <levon@movementarian.org>
7613 * BufferView_pimpl.h:
7614 * BufferView_pimpl.C: update layout choice on a mouse
7617 2003-03-23 John Levon <levon@movementarian.org>
7619 * Makefile.am: fix commandtags.h reference
7621 2003-03-22 John Levon <levon@movementarian.org>
7623 * BufferView_pimpl.C:
7628 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7630 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7633 * text.C: take the rtl methods out of line
7635 2003-03-21 André Pönitz <poenitz@gmx.net>
7637 * metricsinfo.[Ch]: new files containing structures to be passed around
7638 during the two-phase-drawing...
7640 2003-03-21 André Pönitz <poenitz@gmx.net>
7642 * lyxtextclass.C: read 'environment' tag.
7644 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7646 * text2.C (removeRow): fix bug 964
7648 2003-03-20 John Levon <levon@movementarian.org>
7652 * text2.C: paint cleanups. Inset::update() dropped font
7655 2003-03-19 John Levon <levon@movementarian.org>
7657 * lyxfunc.C: only fitcursor/markDirty if available()
7659 2003-03-19 John Levon <levon@movementarian.org>
7661 * commandtags.h: rename to ...
7663 * lfuns.h: ... this, and renumber / cleanup
7665 2003-03-19 John Levon <levon@movementarian.org>
7667 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7668 fit the cursor after an lfun
7672 * BufferView_pimpl.h:
7673 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7675 * LyXAction.C: layout-character should have ReadOnly
7677 * ParagraphParameters.C:
7679 * bufferview_funcs.C:
7686 * undo_funcs.C: changes from above
7688 2003-03-18 John Levon <levon@movementarian.org>
7690 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7691 remove it from update()
7693 * lyxfunc.C: update layout choice after an lfun
7695 * text3.C: remove extra updateLayoutChoice()s
7697 2003-03-18 John Levon <levon@movementarian.org>
7699 * text.C: top_y change means full repaint, fix
7700 a drawing bug with cursor movement
7702 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7706 * text2.C: anchor row on setCursor
7708 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7710 * lyxtext.h: remove almost all mutable keywords
7713 * text3.C: remove const keywords accordingly
7715 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7719 (TeXEnvironment): ditto
7722 2003-03-17 John Levon <levon@movementarian.org>
7724 * text.C (rowBreakPoint): remove attempt to fix displayed
7725 math insets inside a manual label
7727 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * lyxtext.h: remove BufferView* as first arg from almost all class
7731 * other files: adjust.
7733 2003-03-17 John Levon <levon@movementarian.org>
7737 * text2.C: more paint cleanups
7739 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7742 * rowpainter.C: remove "smart" background painting code
7744 2003-03-16 John Levon <levon@movementarian.org>
7749 * text3.C: add helper functions for setting refresh_row/y
7751 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7753 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7754 newline inset which *can* get inserted in the pass_thru layouts.
7755 This is primarily for literate documents.
7757 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7759 * buffer.C: increment LYX_FORMAT to 223
7761 2003-03-14 André Pönitz <poenitz@gmx.net>
7763 * textclass.h: prepare for environment handling, ws changes
7764 * lyxlayout.C: read latexheader and latexfooter tags
7766 2003-03-14 John Levon <levon@movementarian.org>
7768 * text2.C: rewrite ::status() a bit
7770 2003-03-13 John Levon <levon@movementarian.org>
7772 * lyxtext.h: add some docs
7774 2003-03-13 John Levon <levon@movementarian.org>
7779 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7781 2003-03-13 John Levon <levon@movementarian.org>
7783 * text3.C: fix appendix redrawing
7785 2003-03-13 John Levon <levon@movementarian.org>
7787 * text.C (setHeightOfRow):
7789 * rowpainter.C: make appendix mark have the text
7790 "Appendix" so the user knows what it is
7793 * LColor.C: s/appendixline/appendix/ from above
7795 2003-03-13 John Levon <levon@movementarian.org>
7797 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7799 * text.C: fix a getChar(pos) bug properly
7801 2003-03-13 Angus Leeming <leeming@lyx.org>
7804 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7805 Probably only temporary. Let's see how things pan out.
7807 * BufferView.C (unlockInset):
7808 * BufferView_pimpl.C (fitCursor):
7809 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7811 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7812 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7814 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7815 new functions that convert ParagraphParameters to and from a string.
7817 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7818 BufferView::Pimpl's dispatch.
7819 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7821 2003-03-13 André Pönitz <poenitz@gmx.net>
7825 * factory.C: make it aware of InsetEnv
7827 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * text2.C (setCursor): never ask for one past last
7830 (setCursor): add some debugging messages.
7832 * text.C (singleWidth): never ask for one past last
7833 (singleWidth): ditto
7835 (rightMargin): ditto
7836 (rowBreakPoint): ditto
7837 (setHeightOfRow): ditto
7838 (prepareToPrint): ditto
7840 * rowpainter.C (paintBackground): never ask for one past last
7841 (paintText): never ask for one past last
7843 * paragraph_pimpl.C (getChar): make the assert stricter, never
7844 allow the one past last pos to be taken
7846 * paragraph.C (getChar): ws changes only
7848 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7849 (numberOfSeparators): ditto
7850 (numberOfHfills): ditto
7852 2003-03-12 John Levon <levon@movementarian.org>
7858 * paragraph_funcs.C: fix per-buffer authorlists
7860 2003-03-12 John Levon <levon@movementarian.org>
7862 * text.C: fix newline in right address
7864 2003-03-12 Angus Leeming <leeming@lyx.org>
7866 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7867 duplicate those in LyXFunc::dispatch.
7871 * ToolbarDefaults.C:
7872 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7873 Add LFUN_FONTFREE_UPDATE.
7875 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7876 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7878 * bufferview_func.[Ch]: several new functions to facilliate
7879 transfer of data to and from the character dialog.
7881 2003-03-12 John Levon <levon@movementarian.org>
7886 * paragraph_funcs.C:
7887 * paragraph_pimpl.C:
7891 * text3.C: remove META_NEWLINE in favour of an inset
7894 * rowpainter.C: remove paintNewline (done by inset)
7896 2003-03-12 John Levon <levon@movementarian.org>
7898 * paragraph_pimpl.C: complain about bad getChar()s
7899 for a while at least
7901 2003-03-12 John Levon <levon@movementarian.org>
7904 * buffer.C: move paragraph read into a separate function,
7905 a little renaming to reflect that.
7908 * bufferparams.C: remove the author_ids map, not necessary now
7911 * factory.C: moved Buffer::readInset to here
7913 * paragraph_funcs.h:
7914 * paragraph_funcs.C: readParagraph free function moved from
7917 * tabular.C: name change
7919 2003-03-12 John Levon <levon@movementarian.org>
7922 * ParagraphParameters.C: move par params input to
7925 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7926 behave like a normal read from the stream wrt reading
7927 a line vs. a \\token
7929 2003-03-12 John Levon <levon@movementarian.org>
7932 * ParagraphParameters.h:
7933 * ParagraphParameters.C: move output code to a
7936 2003-03-12 John Levon <levon@movementarian.org>
7938 * BufferView.C (insertLyXFile):
7941 * tabular.C: use a parlist iterator for creating the
7944 2003-03-12 John Levon <levon@movementarian.org>
7946 * buffer.C: make current_change static local not
7949 2003-03-12 John Levon <levon@movementarian.org>
7951 * buffer.C: fix insertStringAsLines for change tracking
7953 2003-03-12 John Levon <levon@movementarian.org>
7960 * bufferparams.C: move author list into params. Rename some
7961 functions. Move the header reading into a separate token
7962 loop. Move the header token reading into BufferParams.
7964 2003-03-12 John Levon <levon@movementarian.org>
7966 * changes.C: put debug inside lyxerr.debugging() checks
7968 2003-03-11 André Pönitz <poenitz@gmx.net>
7970 * factory.C: make it aware of InsetHFill
7972 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7974 * buffer.C (latexParagraphs): move function from here...
7975 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7978 2003-03-10 Angus Leeming <leeming@lyx.org>
7980 * LyXAction.C (init): fix bug in poplating array with multiple entries
7981 with the same LFUN (spotted by JMarc).
7983 2003-03-10 John Levon <levon@movementarian.org>
7986 * text2.C: move getColumnNearX() near its
7989 2003-03-10 John Levon <levon@movementarian.org>
7991 * text.C: fix break before a minipage
7993 2003-03-10 John Levon <levon@movementarian.org>
7995 * text.C: fix the last commit
7997 2003-03-09 John Levon <levon@movementarian.org>
8001 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8002 bug 365 (don't break before insets unless needed). Don't
8003 return a value > last under any circumstances.
8005 2003-03-09 Angus Leeming <leeming@lyx.org>
8007 * BufferView_pimpl.C (trackChanges, dispatch): call
8008 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8010 2003-03-09 Angus Leeming <leeming@lyx.org>
8012 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8013 than Dialogs::showAboutlyx().
8015 2003-03-09 Angus Leeming <leeming@lyx.org>
8017 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8018 than Dialogs::showTabularCreate().
8020 2003-03-09 John Levon <levon@movementarian.org>
8024 * text2.C: 3rd arg to nextBreakPoint was always the same.
8027 2003-03-08 John Levon <levon@movementarian.org>
8034 * text2.C: Remove the "main" bit from the "main body"
8037 2003-03-08 John Levon <levon@movementarian.org>
8039 * text.C (leftMargin): The left margin of an empty
8040 manual label paragraph should not include the label width
8043 * text.C (prepareToPrint): don't attempt to measure hfills
8044 for empty manual label paragraphs - the answer should be 0
8046 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * CutAndPaste.C: remove commented code and reindent.
8050 2003-03-08 John Levon <levon@movementarian.org>
8053 * lyxfunc.C: move reloadBuffer()
8056 * BufferView.C: to here
8058 * lyxvc.C: add comment
8061 * vc-backend.C: call bv->reload() to avoid
8062 getStatus() check on MENURELOAD
8064 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8066 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8067 to an old format .dep file.
8069 2003-03-07 Angus Leeming <leeming@lyx.org>
8071 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8072 when the LFUN_MOUSE_RELEASE should have been handled by
8073 inset->localDispatch.
8075 2003-03-07 Angus Leeming <leeming@lyx.org>
8077 * BufferView_pimpl.C (dispatch):
8078 * LyXAction.C (init):
8079 * ToolbarDefaults.C (init):
8081 * lyxfunc.C (getStatus):
8082 remove LFUN_INSET_GRAPHICS.
8084 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8086 2003-03-07 Angus Leeming <leeming@lyx.org>
8089 * LyXAction.C (init):
8090 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8092 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8095 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8097 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8098 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8100 2003-03-07 Angus Leeming <leeming@lyx.org>
8102 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8105 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * ParagraphList.C (front): new function
8110 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8112 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8113 and top_row_offset_. removed var first_y.
8115 * text2.C (LyXText, removeRow):
8117 * BufferView_pimpl.C:
8118 use these methods instead of using first_y
8120 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * text2.C (pasteSelection): adjust for checkPastePossible
8124 * CutAndPaste.C: remove Paragraph * buf and replace with
8125 ParagraphList paragraphs.
8126 (DeleteBuffer): delete
8127 (cutSelection): change the tc type to textclass_type
8128 (copySelection): change the tc type to textclass_type
8129 (copySelection): adjust for ParagraphList
8130 (pasteSelection): change the tc type to textclass_type
8131 (pasteSelection): adjust for Paragraphlist
8132 (nrOfParagraphs): simplify for ParagraphList
8133 (checkPastePossible): simplify for ParagraphList
8134 (checkPastePossible): remove unused arg
8136 * ParagraphList.C (insert): handle the case where there are no
8139 * CutAndPaste.h: make CutAndPaste a namespace.
8141 * text3.C (dispatch): adjust
8143 * text.C (breakParagraph): add a ParagraphList as arg
8145 * paragraph_funcs.C (breakParagraph): change to take a
8146 BufferParams and a ParagraphList as args.
8147 (breakParagraphConservative): ditto
8148 (mergeParagraph): ditto
8149 (TeXDeeper): add a ParagraphList arg
8150 (TeXEnvironment): ditto
8153 * buffer.C (readLyXformat2): adjust
8154 (insertStringAsLines): adjust
8155 (latexParagraphs): adjust
8157 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8158 (cutSelection): adjust
8159 (pasteSelection): adjust
8161 * BufferView_pimpl.C (insertInset): adjust
8163 2003-03-05 Angus Leeming <leeming@lyx.org>
8166 * LyXAction.C (init):
8167 * BufferView_pimpl.C (dispatch):
8168 * lyxfunc.C (getStatus):
8169 remove LFUN_CHILD_INSERT.
8171 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8173 2003-03-05 Angus Leeming <leeming@lyx.org>
8176 * LyXAction.C (init):
8177 * src/factory.C (createInset):
8178 * lyxfunc.C (getStatus):
8179 * text3.C (dispatch):
8180 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8182 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8184 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * ParagraphList.C (insert): handle insert right before end()
8187 (erase): fix cases where it can be first or last paragraph.
8189 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8192 Paragraph::next and Paragraph::previous
8195 * text.C (breakParagraph): adjust
8197 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8198 BufferParams& as arg.
8199 (breakParagraph): use ParagraphList::insert
8200 (breakParagraphConservative): take a Buffer* instead of a
8201 BufferParams& as arg.
8202 (breakParagraphConservative): use ParagraphList::insert.
8204 * buffer.C (insertStringAsLines): un-const it
8205 (insertStringAsLines): adjust
8207 * ParagraphList.C (insert): new function
8209 * CutAndPaste.C (pasteSelection): adjust
8211 * text.C (backspace): adjust
8213 * tabular.C (SetMultiColumn): adjust
8215 * CutAndPaste.C (cutSelection): adjust
8216 (pasteSelection): adjust
8218 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8219 Buffer const * as arg
8221 * ParagraphList.C (erase): new function
8222 * paragraph_funcs.C (mergeParagraph): use it
8223 (mergeParagraph): make it take a Buffer* instead of a
8224 BufferParams* as arg
8226 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8228 (breakParagraphConservative): ditto
8230 * paragraph.h: remove the breakParagraph friend
8232 * paragraph.C (eraseIntern): new function
8233 (setChange): new function
8235 * paragraph_funcs.C (mergeParagraph): make it take a
8236 ParagraphList::iterator instead of a Paragraph *, adjust
8239 * paragraph.h: move an #endif so that the change tracking stuff
8240 also works in the NO_NEXT case.
8242 2003-03-04 Angus Leeming <leeming@lyx.org>
8245 * LyXAction.C: new LFUN_INSET_MODIFY.
8247 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8248 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8250 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * several files: ws changes only
8254 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8255 (TeXEnvironment): ditto
8258 * buffer.C (makeLaTeXFile): adjust
8259 (latexParagraphs): make it take ParagraphList::iterator as args
8261 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * buffer.C (latexParagraphs): adjust
8265 * paragraph.C (TeXOnePar): move function...
8266 (optArgInset): move function...
8267 (TeXEnvironment): move function...
8268 * paragraph_pimpl.C (TeXDeeper): move function...
8269 * paragraph_funcs.C: ...here
8271 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8273 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * buffer.C (readInset): remove compability code for old Figure and
8278 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * buffer.C: ws changes
8283 * BufferView_pimpl.C: ditto
8286 * bufferlist.h: ditto
8290 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8292 * converter.[Ch]: split into itself +
8295 * Makefile.am: += graph.[Ch] + format.[Ch]
8302 * lyxrc.C: added #include "format.h"
8304 2003-02-27 Angus Leeming <leeming@lyx.org>
8306 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8309 * factory.C (createInset): add "label" to the factory.
8311 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8312 string and do no more.
8314 2003-02-27 Angus Leeming <leeming@lyx.org>
8317 * LyXAction.C (init):
8318 * factory.C (createInset):
8319 * BufferView_pimpl.C (dispatch):
8320 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8322 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8324 * lyxfunc.C (dispatch):
8325 * text3.C (dispatch): pass name to params2string.
8327 2003-02-26 Angus Leeming <leeming@lyx.org>
8329 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8331 Rearrange the ~includes. Strip out the unnecessary ones.
8333 * factory.C (createInset): reformat.
8334 create new insets for the various LFUN_XYZ_APPLY lfuns.
8336 2003-02-26 John Levon <levon@movementarian.org>
8339 * lyxrow.C: add isParStart,isParEnd helpers
8341 * paragraph.h: make isInserted/DeletedText take refs
8343 * paragraph_funcs.h:
8344 * paragraph_funcs.C: remove #if 0'd code
8349 * text.C: use lyxrow helpers above.
8350 Move draw and paint routines to RowPainter.
8351 Make several methods use refs not pointers.
8352 Make backgroundColor() const.
8353 Add markChangeInDraw(), isInInset().
8354 Merge changeRegionCase into changeCase.
8355 Make workWidth() shouldn't-happen code into an Assert.
8358 * rowpainter.C: new class for painting a row.
8361 * vspace.C: make inPixels take a ref
8363 2003-02-26 Angus Leeming <leeming@lyx.org>
8365 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8368 2003-02-25 John Levon <levon@movementarian.org>
8370 * ispell.C: give the forked command a more accurate name
8372 2003-02-22 John Levon <levon@movementarian.org>
8375 * toc.C: make TocItem store an id not a Paragraph *
8378 2003-02-21 Angus Leeming <leeming@lyx.org>
8380 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8381 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8382 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8383 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8384 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8385 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8387 * BufferView_pimpl.C (dispatch):
8388 * LyXAction.C (init):
8389 * factory.C (createInset):
8390 * lyxfunc.C (getStatus, dispatch):
8391 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8393 2003-02-21 Angus Leeming <leeming@lyx.org>
8395 * BufferView_pimpl.C (MenuInsertLyXFile):
8396 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8397 * lyxfunc.C (menuNew, open, doImport):
8398 no longer pass a LyXView & to fileDlg.
8400 2003-02-21 Angus Leeming <leeming@lyx.org>
8402 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8403 * LyXAction.C: change, BIBKEY to BIBITEM.
8404 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8405 Change InsetBibKey to InsetBibitem.
8406 Change BIBKEY_CODE to BIBITEM_CODE.
8407 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8408 * factory.C: replace insetbib.h with insetbibitem.h.
8409 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8410 * paragraph.C: replace insetbib.h with insetbibitem.h.
8411 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8412 Change bibkey() to bibitem().
8413 * text.C: remove insetbib.h.
8414 * text2.C: replace insetbib.h with insetbibitem.h.
8415 change bibkey() to bibitem().
8416 * text3.C: remove insetbib.h.
8417 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8419 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * lyxrc.C (output): enclose user email in quotes (in case there are
8424 2003-02-18 John Levon <levon@movementarian.org>
8426 * buffer.h: add std::
8428 2003-02-17 John Levon <levon@movementarian.org>
8434 * pspell.C: reworking. Especially in ispell, a large
8435 number of clean ups and bug fixes.
8437 * lyxfunc.C: fix revert to behave sensibly
8439 2003-02-17 André Pönitz <poenitz@gmx.net>
8442 * commandtags.h: new LFUN_INSERT_BIBKEY
8452 * paragraph_func.C: remove special bibkey handling
8454 2003-02-17 John Levon <levon@movementarian.org>
8456 * text.C (Delete): fix case where delete at the end of
8457 the very first paragraph would not merge the pars
8459 2003-02-17 John Levon <levon@movementarian.org>
8461 * lyxrow.C: fix lastPrintablePos()
8463 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8465 * bufferparams.C (writeLaTeX): add a std:here
8467 * buffer.C: and remove a using directive there
8469 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8471 * buffer.C (makeLaTeXFile): move the code that generates the
8474 * bufferparams.C (writeLaTeX): ... in this new method
8476 * LaTeXFeatures.C (getEncodingSet): make const
8477 (getLanguages): make const
8479 * MenuBackend.C (binding): returns the binding associated to this
8481 (add): sets the status of each item by calling getStatus. Adds
8483 (read): add support for OptSubMenu
8484 (expand): remove extra separator at the end of expanded menu
8486 2003-02-15 John Levon <levon@movementarian.org>
8489 * BufferView_pimpl.C:
8491 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8492 inset code that had no actual effect. Remove unneeded status
8495 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8497 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8500 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8502 * text.C (drawLengthMarker): also draw an arrow marker for
8503 symbolic lengths (medskip...)
8505 2003-02-14 John Levon <levon@movementarian.org>
8508 * tabular.C: better method names
8510 2003-02-14 John Levon <levon@movementarian.org>
8512 * BufferView_pimpl.C:
8517 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8518 it's a more accurate name. Remove some pointless uses.
8520 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8522 * text2.C (LyXText): change order of initilizers to shut off
8525 2003-02-14 John Levon <levon@movementarian.org>
8527 * buffer.C: use ParIterator for getParFromID()
8531 * paragraph_pimpl.h:
8532 * paragraph_pimpl.C: remove unused getParFromID()
8534 2003-02-14 John Levon <levon@movementarian.org>
8536 * buffer.C: remove some very old #if 0'd parse code
8538 2003-02-13 John Levon <levon@movementarian.org>
8542 * text2.C: move hfillExpansion(), numberOfSeparators(),
8543 rowLast(), rowLastPrintable(), numberofHfills(),
8544 numberOfLabelHfills() ...
8547 * lyxrow.C: ... to member functions here.
8552 * text.C: remove LyXText::beginningOfMainBody(), and call
8553 p->beginningOfMainBody() directly. Move the check for
8554 LABEL_MANUAL into the latter.
8561 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8567 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8568 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8570 2003-02-13 John Levon <levon@movementarian.org>
8572 * CutAndPaste.C: remove debug
8574 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8576 * paragraph.C (asString): remove two unused variables
8578 * lyxtextclass.C (readTitleType):
8580 (LyXTextClass): handle new members titletype_ and titlename_
8582 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8584 2003-02-09 John Levon <levon@movementarian.org>
8587 * buffer.C: replace hand-coded list with a map for the dep clean
8589 2003-02-08 John Levon <levon@movementarian.org>
8591 * LaTeX.C: consolidate code into showRunMessage() helper
8593 2003-02-08 John Levon <levon@movementarian.org>
8598 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8599 and pass the size in explicitly
8601 * BufferView_pimpl.h:
8602 * BufferView_pimpl.C:
8604 * BufferView.C: add getCurrentChange()
8606 * BufferView_pimpl.h:
8607 * BufferView_pimpl.C: handle change lfuns
8609 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8610 for changes. Mark pasted paragraphs as new.
8612 * support/lyxtime.h:
8613 * support/lyxtime.C:
8614 * DepTable.C: abstract time_t as lyx::time_type
8617 * LColor.C: add colours for new text, deleted text, changebars
8619 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8620 package use "usenames" option.
8624 * LyXAction.C: add change lfuns
8628 * author.C: author handling
8631 * buffer.C: add a per-buffer author list, with first entry as
8632 current author. Handle new .lyx tokens for change tracking. Output
8633 author list to .lyx file. Output dvipost stuff to .tex preamble.
8634 Bump lyx format to 222.
8637 * bufferlist.C: add setCurrentAuthor() to reset current author details
8641 * bufferparams.C: add param for tracking
8643 * bufferview_funcs.C: output change info in minibuffer
8647 * changes.C: add change-tracking structure
8650 * debug.C: add CHANGES debug flag
8653 * lyxfind.C: add code for finding the next change piece
8656 * lyxrc.C: add user_name and user_email
8659 * lyxrow.C: add a metric for the top of the text line
8662 * text.C: implement accept/rejectChange()
8665 * text.C: paint changebars. Paint new/deleted text in the chosen
8666 colours. Strike through deleted text.
8670 * paragraph_pimpl.h:
8671 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8672 in the current change to the insert functions. Rework erase to
8673 mark text as deleted, adding an eraseIntern() and a range-based
8674 erase(). Implement per-paragraph change lookup and
8677 * paragraph_funcs.C: Fixup paste for change tracking.
8679 * tabular.C: mark added row/columns as new.
8681 * text.C: fix rowLast() to never return -1. Don't allow
8682 spellchecking of deleted text. Track transpose changes. Don't
8683 allow paragraph break or merge where appropriate.
8685 * text2.C: leave cursor at end of selection after a cut.
8687 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8689 * text.C (getLengthMarkerHeight):
8690 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8691 visible on screen too.
8693 2003-02-07 John Levon <levon@movementarian.org>
8695 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8697 2003-02-05 Angus Leeming <leeming@lyx.org>
8699 * lyxserver.C (read_ready): revert my patch of 11 September last year
8700 as it sends PC cpu through the roof. Presumably this means that
8701 the lyxserver will no longer run on an Alpha...
8703 2003-01-30 Angus Leeming <leeming@lyx.org>
8705 * factory.C (createInset): create an InsetCommandParam of type "index"
8706 and use it to 'do the right thing'.
8708 * text2.C (getStringToIndex): ensure that cursor position is always
8709 reset to the reset_cursor position.
8711 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8713 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8716 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8720 * lyxfunc.C: Output messages with identical spelling, punctuation,
8723 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8725 * MenuBackend.C (expandFormats): List only viewable export formats
8728 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8731 * lyxfunc.C (getStatus): Make sure that formats other than
8732 "fax" can also be disabled
8734 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * text3.C (dispatch): put the lfuns that insert insets in 3
8737 groups, and call doInsertInset with appropriate arguments.
8738 (doInsertInset): new function, that creates an inset and inserts
8739 it according to some boolean parameters.
8741 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * buffer.C (readFile): remember to pass on 'par' when calling
8744 readFile recursively.
8746 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8748 * MenuBackend.C (expandFormats): add "..." to import formats.
8750 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8752 * paragraph.C (asString): Remove XForms RTL hacks.
8754 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8755 * buffer.C: fix typo
8757 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8759 * Makefile.am (LIBS): delete var
8760 (lyx_LDADD): add @LIBS@ here instead.
8762 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8764 * Clarify the meaning of "wheel mouse jump"
8766 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8768 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8771 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8773 * importer.C (Loaders): do not preallocate 3 elements in the
8774 vector, since one ends up with 6 elements otherwise
8776 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * DepTable.C (write): write the file name as last element of the
8779 .dep file (because it may contain spaces)
8780 (read): read info in the right order
8782 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8784 * paragraph_pimpl.C (simpleTeXBlanks):
8785 (simpleTeXSpecialChars):
8786 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8788 * tabular.C (latex): add some missing case statements. Reindent.
8790 * MenuBackend.C (expandToc): remove unused variable.
8792 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8801 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8804 2003-01-05 John Levon <levon@movementarian.org>
8807 * BufferView.C: add getEncoding()
8810 * kbsequence.C: do not store last keypress
8813 * lyxfunc.C: store last keypress here instead. Pass encoding
8816 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8818 * lyx_main.C (init): remove annoying error message when following
8819 symbolic links (bug #780)
8821 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8823 * text.C (insertChar):
8824 * lyxrc.C (getDescription): remove extra spaces
8826 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8828 * lyxrc.C (getDescription): remove extra spaces
8830 2002-12-20 John Levon <levon@movementarian.org>
8832 * text3.C: hack fix for page up/down across tall rows
8834 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8839 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8842 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8843 thesaurus is not compiled in
8845 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8847 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8849 2002-12-16 Angus Leeming <leeming@lyx.org>
8852 * lyx_main.C (init): remove override_x_deadkeys stuff.
8854 2002-12-12 John Levon <levon@movementarian.org>
8856 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8857 insert. Only remove shift modifier under strict
8860 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * MenuBackend.C (expandToc): fix crash.
8864 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * MenuBackend.C (expandToc): gettext on float names.
8868 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8870 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8871 implement bool empty() [bug 490]
8873 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8877 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * several files: ws changes
8881 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * text2.C (setCounter): clean up a bit, use boost.format.
8884 (updateCounters): initialize par upon declaration.
8886 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8887 if the layout exists. We do not just store the layout any more.
8888 (SwitchLayoutsBetweenClasses): use boost.format
8890 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * converter.C (convert): if from and to files are the same, use a
8893 temporary files as intermediary
8895 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8898 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8900 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8902 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8904 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * tabular.C (asciiPrintCell): use string(size, char) instead of
8909 * sgml.C (openTag): fix order of arguments to string constructor
8912 * lyxfunc.C (dispatch): use boost.format
8914 * lots of files: change "c" -> 'c'
8916 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8918 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8920 2002-11-25 Angus Leeming <leeming@lyx.org>
8922 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8924 * lyx_main.C (init): compile fix.
8926 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8928 * lyx_cb.C (start): boost.formatify
8929 do not include <iostream>
8931 * lengthcommon.C: ws only
8933 * boost-inst.C,BoostFormat.h: add more explict instantations
8935 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * lots of files: handle USE_BOOST_FORMAT
8939 2002-11-21 John Levon <levon@movementarian.org>
8941 * pspell.C: fix compile
8943 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * lyxfunc.C (dispatch): use boost::format
8949 * lyxfont.C (stateText): use boost::format
8951 * lyx_main.C (LyX): use boost::format
8953 (queryUserLyXDir): ditto
8956 (typedef boost::function): use the recommened syntax.
8958 * importer.C (Import): use boost::format
8960 * debug.C (showLevel): use boost::format
8962 * converter.C (view): use boost::format
8967 * bufferview_funcs.C (currentState): use boost::format
8969 * bufferlist.C (emergencyWrite): use boost::format
8971 * buffer.C (readLyXformat2): use boost::format
8972 (parseSingleLyXformat2Token): ditto
8974 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8976 * LaTeX.C (run): use boost::format
8978 * Chktex.C (scanLogFile): use boost::format
8980 * BufferView_pimpl.C (savePosition): use boost::format
8981 (restorePosition): ditto
8982 (MenuInsertLyXFile): ditto
8984 * BoostFormat.h: help file for explicit instation.
8986 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8988 * tabular.C (latex): Support for block alignment in fixed width
8991 2002-11-17 John Levon <levon@movementarian.org>
8993 * BufferView_pimpl.C:
8995 * lyxfunc.C: split filedialog into open/save
8997 2002-11-08 Juergen Vigna <jug@sad.it>
8999 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9000 by my last patch (hopefully).
9002 2002-11-08 John Levon <levon@movementarian.org>
9011 * toc.C: ParConstIterator, and use it (from Lars)
9013 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9015 * lyxtextclass.[Ch]: revise and add doxygen comments
9017 2002-11-07 John Levon <levon@movementarian.org>
9019 * text.C: fix progress value for spellchecker
9021 * toc.C: fix navigate menu for insetwrap inside minipage
9023 * paragraph_funcs.C: added FIXME for suspect code
9025 2002-11-07 John Levon <levon@movementarian.org>
9027 * BufferView_pimpl.C: fix redrawing of insets
9030 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * text2.C (updateCounters): fix bug 668
9034 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9036 * text3.C (dispatch): Do not make the buffer dirty when moving the
9039 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9041 * vc-backend.C: STRCONV
9044 * text2.C (setCounter): STRCONV
9046 * paragraph.C (asString): STRCONV
9048 * lyxlength.C (asString): STRCONV
9049 (asLatexString): ditto
9051 * lyxgluelength.C (asString): STRCONV
9052 (asLatexString): ditto
9054 * lyxfunc.C (dispatch): STRCONV
9057 * lyxfont.C (stateText): STRCONV
9059 * importer.C (Import): STRCONV
9061 * counters.C (labelItem): STRCONV
9062 (numberLabel): ditto
9063 (numberLabel): remove unused ostringstream o
9068 * bufferview_funcs.C (currentState): STRCONV
9070 * buffer.C (readFile): STRCONV
9071 (asciiParagraph): ditto
9072 (makeLaTeXFile): ditto
9074 * Spacing.C (writeEnvirBegin): STRCONV
9076 * LaTeXFeatures.C (getLanguages): STRCONV
9077 (getPackages): ditto
9079 (getBabelOptions): ditto
9080 (getTClassPreamble): ditto
9081 (getLyXSGMLEntities): ditto
9082 (getIncludedFiles): ditto
9086 (scanAuxFile): ditto
9089 * LString.h: add the STRCONV macros
9091 * BufferView_pimpl.C (savePosition): STRCONV
9092 (restorePosition): ditto
9093 (MenuInsertLyXFile): ditto
9095 * vc-backend.C (scanMaster): change from submatch[...] to
9098 * funcrequest.C: include config.h
9100 * factory.C: include config.h
9102 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9104 * box.C: include config.h
9106 * LaTeX.C (scanAuxFile): change from submatch[...] to
9110 2002-10-25 Angus Leeming <leeming@lyx.org>
9112 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9114 * ispell.[Ch] (setError): new method.
9115 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9116 Use setError() insetead of goto END.
9118 * lyx_cb.C (AutoSave): move out child process into new class
9121 2002-10-30 John Levon <levon@movementarian.org>
9123 * text3.C: make start appendix undoable
9125 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9127 * lyxlength.C (inPixels): Fix returned value.
9129 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9132 2002-10-24 Angus Leeming <leeming@lyx.org>
9134 * lyxgluelength.h: no need to forward declare BufferParams
9135 or BufferView, so don't.
9137 2002-10-21 John Levon <levon@movementarian.org>
9139 * BufferView.C: menuUndo ->undo, redo
9141 * BufferView.h: document, remove dead, make some methods private
9143 * paragraph_funcs.h:
9144 * paragraph_funcs.C:
9145 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9150 * sgml.C: move sgml open/close tag into sgml.C
9152 * bufferview_funcs.h: unused prototype
9155 * lyxfunc.C: remove unused
9158 * text.C: remove unused
9160 2002-10-21 John Levon <levon@movementarian.org>
9164 * BufferView_pimpl.h:
9165 * BufferView_pimpl.C: fix mouse wheel handling based on
9166 patch from Darren Freeman
9168 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9170 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9172 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9174 * lyxlength.C (inPixels): Fix hanfling of negative length.
9175 Fix LyXLength::MU case.
9177 2002-10-16 John Levon <levon@movementarian.org>
9179 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9181 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * converter.C (view): add support for $$i (file name) and $$p
9184 (file path) for the viewer command. If $$i is not specified, then
9185 it is appended to the command (for compatibility with old syntax)
9187 2002-10-14 Juergen Vigna <jug@sad.it>
9189 * undo_funcs.C (textHandleUndo): alter the order in which the
9190 new undopar is added to the LyXText, as we have to set first
9191 the right prev/next and then add it as otherwise the rebuild of
9192 LyXText is not correct. Also reset the cursor to the right paragraph,
9193 with this IMO we could remove the hack in "redoParagraphs()".
9195 2002-10-09 Angus Leeming <leeming@lyx.org>
9197 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9198 to turn off an optimisation if a new inset is to be inserted.
9200 2002-10-11 André Pönitz <poenitz@gmx.net>
9202 * lyxtext.h: make some functions public to allow access
9203 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9205 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9207 * text3.C (dispatch): when changing layout, avoid an infinite loop
9210 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9212 * lyxrc.C (read): treat a viewer or converter command of "none" as
9215 * MenuBackend.C (expandFormats): for an update, also allow the
9216 formats that are not viewable
9218 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9219 script if it is newer than the lyxrc.defaults in user directory
9221 2002-10-07 André Pönitz <poenitz@gmx.net>
9223 * text.C: Vitaly Lipatov's small i18n fix
9225 2002-09-25 Angus Leeming <leeming@lyx.org>
9227 * ispell.h: doxygen fix.
9229 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9231 * buffer.h (readFile): Add a new argument to the method, to allow
9232 reading of old-format templates.
9234 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9236 * toc.C (getTocList): Get TOC from InsetWrap.
9238 2002-09-16 John Levon <levon@movementarian.org>
9240 * lyxfunc.C: check tabular for cut/copy too
9242 2002-09-12 John Levon <levon@movementarian.org>
9247 * factory.C: add header
9249 * paragraph_funcs.h:
9250 * paragraph_funcs.C: cleanup
9252 2002-09-11 John Levon <levon@movementarian.org>
9254 * PrinterParams.h: odd/even default to true
9256 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9258 * PrinterParams.h: update printer parameters for new xforms dialog
9260 2002-09-11 Angus Leeming <leeming@lyx.org>
9262 * lyxserver.C (read_ready): re-write to make it more transparent
9263 and to make it work in coherent fashion under Tru64 Unix.
9265 2002-09-11 André Pönitz <poenitz@gmx.net>
9269 * text3.C: implement LFUN_WORDSEL
9271 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9273 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9274 make floatlist_ a boost::shared_ptr<FloatList>
9276 * lyxtextclass.C: include FloatList.h
9277 (LyXTextClass): initialize floatlist_
9278 (TextClassTags): add TC_NOFLOAT
9279 (Read): match "nofloat" to TC_NOFLOAT and use it.
9280 (readFloat): modify call to floatlist_
9284 * FloatList.[Ch] (FloatList): remove commented out float
9286 (erase): new function
9288 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9290 * MenuBackend.C (expandToc): fix crash when there is no document
9293 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9295 * many files: Add insetwrap.
9297 2002-09-09 John Levon <levon@movementarian.org>
9299 * text2.C: remove confusing and awkward depth wraparound
9301 2002-09-09 John Levon <levon@movementarian.org>
9303 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9306 * buffer.C: remove getIncludeonlyList()
9309 * lyxfunc.C: remove headers
9311 2002-09-09 Juergen Vigna <jug@sad.it>
9313 * text.C (getColumnNearX): fix form Michael this is most
9314 probably a cut&paste bug.
9316 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9318 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9320 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9321 references, ws changes.
9323 * text2.C (init): update counters after init
9324 (insertParagraph): no need to set counter on idividual paragraphs.
9325 (setCounter): access the counters object in the textclass object
9326 on in the buffer object.
9327 (updateCounters): ditto
9329 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9330 shared_ptr<Counters> to avoid loading counters.h in all
9332 (LyXTextClass): initialize ctrs_
9333 (TextClassTags): add TC_COUNTER, and ...
9334 (Read): use it here.
9335 (CounterTags): new tags
9336 (readCounter): new function
9337 (counters): new funtion
9338 (defaultLayoutName): return a const reference
9340 * counters.C (Counters): remove contructor
9341 (newCounter): remove a couple of unneeded statements.
9342 (newCounter): simplify a bit.
9343 (numberLabel): some small formatting changes.
9345 * buffer.[Ch]: remove all traces of counters, move the Counters
9346 object to the LyXTextClass.
9348 2002-09-06 Alain Castera <castera@in2p3.fr>
9350 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9351 package to set the horizontal alignment on fixed width columns.
9354 * lyx_sty.h: added tabularnewline macro def.
9356 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9358 2002-09-06 John Levon <levon@movementarian.org>
9360 * LyXAction.C: tooltips for sub/superscript
9362 * MenuBackend.C: a bit more verbose
9364 * lyxfunc.C: tiny clean
9366 * undo_funcs.C: document undo_frozen
9368 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9370 * counters.C (Counters): add missing algorithm counter.
9372 * text2.C (setCounter): lookup the counter with layouts latexname
9373 instead of by section number.
9374 (setCounter): use a hackish way to lookup the correct enum
9376 a float name->type change
9377 reset enum couners with counter name directly instead of depth value.
9379 * counters.C (Counters): remove the push_backs, change to use the
9380 float type not the float name.
9381 (labelItem): remove unused string, float name->type change
9383 * counters.h: don't include vector, loose the enums and sects vectors
9385 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9387 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9388 (Read): add float->TC_FLOAT to textclassTags
9389 (Read): and handle it in the switch
9390 (readFloat): new function
9392 * FloatList.C (FloatList): comment out the hardcoded float
9395 * lyxlayout.h: ws change.
9397 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9399 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9401 2002-09-03 Angus Leeming <leeming@lyx.org>
9403 * BufferView_pimpl.h: qualified name is not allowed in member
9404 declaration: WorkArea & Pimpl::workarea() const;
9406 * factory.C: added using std::endl directive.
9408 * text3.C: added using std::find and std::vector directives.
9410 2002-08-29 André Pönitz <poenitz@gmx.net>
9413 * text2.C: remove unused member number_of_rows
9416 * BufferView2.C: remove file, move contents to...
9417 * BufferView.C: ... here
9419 * BufferView_pimpl.C:
9420 * factory.C: move more inset creation to factory
9422 * vspace.C: avoid direct usage of LyXText, ws changes
9425 don't provide direct access to WorkArea, use two simple
9426 acessors haveSelction() and workHeight() instead
9429 2002-08-29 John Levon <levon@movementarian.org>
9431 * BufferView_pimpl.C (dispatch): do not continue when
9434 2002-08-28 André Pönitz <poenitz@gmx.net>
9436 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9439 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9441 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9443 * buffer.C: increment LYX_FORMAT to 221
9445 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9446 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9448 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9450 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9452 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9454 * factory.C (createInset): use LyXTextClass::floats
9456 * MenuBackend.C (expandFloatListInsert):
9457 (expandFloatInsert):
9460 * text2.C (setCounter):
9462 * LaTeXFeatures.C (useFloat):
9463 (getFloatDefinitions):
9465 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9467 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9468 floatlist_, with accessor floats().
9470 * FloatList.h: remove global FloatList
9472 2002-08-26 André Pönitz <poenitz@gmx.net>
9474 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9478 * BufferView_pimpl.C:
9479 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9481 2002-08-25 John Levon <levon@movementarian.org>
9483 * LyXAction.C: fix margin note description
9485 2002-08-24 John Levon <levon@movementarian.org>
9489 * bufferview_funcs.C:
9491 * undo_funcs.C: cleanups
9493 * lyxfunc.C: disable CUT/COPY when no selection
9495 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9497 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9498 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9500 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9501 Add backward compatibility to "mono", "gray" and "no".
9503 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9505 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9506 (and file_format >= 200).
9508 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9512 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9516 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9518 * BufferView_pimpl.C:
9525 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9526 inset and code to make it work with the paragraph code. The inset
9527 can be anywhere in the paragraph, but will only do the expected
9528 thing in LaTeX if the layout file contains the parameter line
9530 (or more generally, a nonzero value) for that layout.
9532 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9534 * paragraph.h: remove the declaration of undefined counters class
9537 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9539 * text2.C (setCounter): fixed enumeration mis-count as reported by
9540 Dr. Richard Hawkins.
9542 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9544 * paragraph_funcs.h: remove some unneeded includes
9546 * text.C (backspace): pasteParagraph now in global scipe
9548 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9549 (pasteSelection): ditto
9551 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9552 * paragraph_funcs.C (pasteParagraph): ... here
9554 2002-08-20 André Pönitz <poenitz@gmx.net>
9556 * commandtags.h: new LFUNs for swapping/copying table row/colums
9559 * lyxfunc.C: support for new lfuns
9561 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9564 * buffer.[Ch]: remove NO_COMPABILITY stuff
9566 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * boost.C (throw_exception): new file, with helper function for
9569 boost compiled without exceptions.
9574 * ParameterStruct.h:
9575 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9577 * bufferlist.C (emergencyWriteAll): use boost bind
9579 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9581 * text.C: include paragraph_funcs.h
9582 (breakParagraph): breakParagraph is now in global scope
9584 * paragraph_funcs.[Ch]: new files
9586 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9589 * buffer.C: include paragraph_funcs.h
9590 (insertStringAsLines): breakParagraph is now in global scope
9592 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9595 * CutAndPaste.C: include paragraph_funcs.h
9596 (cutSelection): breakParagraphConservative is now in global scope
9597 (pasteSelection): ditto
9599 * buffer.h: declare oprator== and operator!= for
9600 Buffer::inset_iterator
9602 * bufferlist.C (emergencyWrite): don't use fmt(...)
9604 * text3.C: add using std::endl
9606 * BufferView.C (moveCursorUpdate): remove default arg
9608 2002-08-20 André Pönitz <poenitz@gmx.net>
9610 * buffer.[Ch]: move inline functions to .C
9613 * BufferView_pimpl.C:
9615 * buffer.[Ch]: use improved inset_iterator
9618 * paragraph.[Ch]: write one paragraph at a time
9620 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9622 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9623 style if style is not specified.
9625 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9627 * text2.C (setCounter): when searching for right label for a
9628 caption, make sure to recurse to parent insets (so that a caption
9629 in a minipage in a figure float works) (bug #568)
9631 2002-08-20 André Pönitz <poenitz@gmx.net>
9633 * text3.C: new file for LyXText::dispatch() and helpers
9635 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9637 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9639 2002-08-19 André Pönitz <poenitz@gmx.net>
9642 * text.C: new LyXText::dispatch()
9644 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9646 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9648 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9650 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9653 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * Makefile.am: use $(variables) instead of @substitutions@
9657 2002-08-15 André Pönitz <poenitz@gmx.net>
9660 * BufferView_pimpl.C: streamlining mathed <-> outer world
9664 * LyXAction.C: remove unused LFUN_MATH
9666 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9668 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9670 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9672 * paragraph.C (Paragraph): reformat a bit
9673 (cutIntoMinibuffer): use builtin InsetList function instad of
9677 * buffer.C: include boost/bind.hpp, add using std::for_each
9678 (writeFileAscii): use ParagraphList iterators
9679 (validate): use for_each for validate traversal of paragraphs
9680 (getBibkeyList): use ParagraphList iterators
9681 (resizeInsets): use for_each to resizeInsetsLyXText for all
9683 (getParFromID): use ParagraphList iterators
9685 * BufferView2.C (lockInset): use paragraph list and iterators
9687 2002-08-14 John Levon <levon@movementarian.org>
9689 * lyxserver.C: remove spurious xforms include
9691 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9693 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9695 2002-08-13 André Pönitz <poenitz@gmx.net>
9698 * lyxfunc.C: further cleaning
9700 2002-08-13 André Pönitz <poenitz@gmx.net>
9702 * funcrequest.h: new constructor
9704 * funcrequest.C: move stuff here from .h
9707 * BufferView_pimpl.C:
9710 * lyxfunc.C: subsequent changes
9712 * lyxfunc.h: new view() member function
9714 * lyxfunc.C: subsequent changes
9716 2002-08-13 Angus Leeming <leeming@lyx.org>
9719 * BufferView_pimpl.C:
9727 changes due to the changed LyXView interface that now returns references
9728 to member variables not pointers.
9730 2002-08-13 Angus Leeming <leeming@lyx.org>
9732 * WordLangTuple (word, lang_code): return references to strings,
9737 * lyxtext.h: forward-declare WordLangTuple.
9742 * text.C: #include "WordLangTuple.h".
9745 * text.C: (selectNextWordToSpellcheck): constify return type.
9747 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9753 * paragraph_pimpl.h:
9756 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9758 Made updateCounter always count from start of buffer, and removed
9759 second argument (par).
9760 Reverted floats number display to '#'. Perhaps I'll try again when the
9761 code base is sanitized a bit.
9763 2002-08-12 Angus Leeming <leeming@lyx.org>
9765 * buffer.[Ch] (getLabelList): constify.
9767 2002-08-07 André Pönitz <poenitz@gmx.net>
9769 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9771 * funcrequest.h: extension to keep mouse (x,y) position
9773 2002-08-12 Juergen Vigna <jug@sad.it>
9775 * BufferView2.C (insertErrors): forbid undo when inserting error
9778 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9780 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9782 * ParagraphList.[Ch]: new files
9784 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9786 * BufferView2.C (lockInset): ParagraphList changes
9789 * bufferlist.C: ditto
9793 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9795 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9796 unused class variable counter_,
9798 * paragraph.[Ch] (getFirstCounter): delete unused function
9800 * counters.C: include LAssert.h
9801 (reset): add a new function with no arg, change other version to
9802 not have def. arg and to not allow empty arg.
9804 * text2.C (setCounter): remove empty arg from call to Counters::reset
9806 2002-08-11 John Levon <levon@movementarian.org>
9808 * Makefile.am: add WordLangTuple.h
9810 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9813 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9815 * insets/insettext.C: InsetList changes
9817 * graphics/GraphicsSupport.C (operator()): InsetList changes
9819 * toc.C (getTocList): InsetList changes
9821 * paragraph_pimpl.[Ch]: InsetList changes
9823 * paragraph.[Ch]: InsetList changes
9825 * buffer.C (inset_iterator): InsetList changes
9826 (setParagraph): ditto
9827 * buffer.h (inset_iterator): ditto
9828 * iterators.C (operator++): ditto
9829 * iterators.h: ditto
9831 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9833 * InsetList.[Ch]: new files, most InsetList handling moved out of
9836 * BufferView2.C (removeAutoInsets): InsetList changes
9838 (ChangeInsets): ditto
9840 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * paragraph_pimpl.h (empty): new function
9844 * paragraph.[Ch] (empty): new function
9846 * other files: use the new Paragraph::empty function
9848 2002-08-09 John Levon <levon@movementarian.org>
9850 * lyxtext.h: remove unused refresh_height
9852 2002-08-09 John Levon <levon@movementarian.org>
9859 * paragraph.C: move sgml char escaping out of paragraph
9862 * paragraph.C: remove id setter
9866 * paragraph_pimpl.C: remove dead tex_code_break_column
9868 * bufferview_funcs.C: small cleanup
9870 * lyxfunc.C: remove dead proto
9872 * lyxtext.h: make some stuff private. Remove some dead stuff.
9874 * lyxgluelength.C: make as[LyX]String() readable
9876 2002-08-08 John Levon <levon@movementarian.org>
9881 * ToolbarDefaults.C:
9884 * toc.C: lyxaction cleanup
9886 2002-08-08 John Levon <levon@movementarian.org>
9888 * BufferView2.C: small cleanup
9891 * lyxfind.C: move unnecessary header into the .C
9893 2002-08-08 John Levon <levon@movementarian.org>
9895 * funcrequest.h: just tedious nonsense
9898 * lyx_main.C: cleanups
9901 * vspace.C: remove dead header lyx_main.h
9903 2002-08-07 Angus Leeming <leeming@lyx.org>
9906 * paragraph_pimpl.h:
9907 Forward declare class Counters in paragraph.h by moving the ctrs member
9908 variable into Paragraph::Pimpl.
9909 (counters): new method, returning a reference to pimpl_->ctrs.
9911 * text2.C: ensuing changes.
9913 2002-08-07 John Levon <levon@movementarian.org>
9915 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9917 * BufferView_pimpl.C: announce X selection on double/triple
9920 * lyx_main.C: use correct bool in batch dispatch
9922 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9924 2002-08-07 André Pönitz <poenitz@gmx.net>
9926 * funcrequest.h: new class to wrap a kb_action and its argument
9929 * BufferView_pimpl[Ch]:
9933 * lyxrc.C: subsequent changes
9936 2002-08-07 John Levon <levon@movementarian.org>
9938 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9939 document options change.
9941 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9946 * makefile.am: move counters functionality over from
9947 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9949 2002-08-06 John Levon <levon@movementarian.org>
9951 * WordLangTuple.h: new file for word + language code tuple
9962 * BufferView2.C: use WordLangTuple
9965 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9967 2002-08-06 John Levon <levon@movementarian.org>
9969 * lyx_main.C: fix cmdline batch handling
9971 2002-08-06 André Pönitz <poenitz@gmx.net>
9973 * lyxrc.C: set default for show_banner to true
9975 2002-08-06 John Levon <levon@movementarian.org>
9977 * pspell.C: fix a crash, and allow new aspell to work
9979 2002-08-06 John Levon <levon@movementarian.org>
9982 * kbmap.C: small cleanup
9985 * vspace.C: add const
9987 2002-08-05 John Levon <levon@movementarian.org>
9989 * LyXAction.C: back to tabular-insert
9991 2002-08-04 John Levon <levon@movementarian.org>
9994 * BufferView.C: cosmetic change
9996 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10006 * BufferView2.C: purge all "Lyx" not "LyX" strings
10009 * lyxcursor.C: attempt to add some documentation
10014 * ToolbarDefaults.C:
10015 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10016 merge with LFUN_TABULAR_INSERT
10023 * pspell.C: split up i/pspell implementations into separate
10024 files, many cleanups
10026 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10028 * text2.C: some cleanup
10030 * lyxfunc.C: don't check for isp_command == "none" any more, it
10031 didn't make any sense
10033 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10038 * makefile.am: move counters functionality over
10039 from text2.C/paragraph.[Ch] to counters.[Ch], and
10041 2002-08-02 John Levon <levon@movementarian.org>
10043 * buffer.C: s/lyxconvert/lyx2lyx/
10045 2002-08-02 Angus Leeming <leeming@lyx.org>
10047 * lyxlex.C: revert John's change as it breaks reading of the user
10050 2002-08-02 Angus Leeming <leeming@lyx.org>
10052 * importer.C (Import):
10053 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10054 changes due to LyXView::view() now returning a boost::shared_ptr.
10056 2002-08-02 John Levon <levon@movementarian.org>
10058 * lyxlex.C: small cleanup
10060 2002-08-02 John Levon <levon@movementarian.org>
10062 * text2.C (status): small cleanup, no logic change
10064 2002-08-01 John Levon <levon@movementarian.org>
10067 * buffer.C (writeFile): don't output alerts, caller
10071 * lyx_cb.C: from above
10073 * lyxfunc.C: allow to open non-existent files
10075 2002-07-31 John Levon <levon@movementarian.org>
10077 * lyxserver.C: don't let incidental errors get
10080 2002-07-30 John Levon <levon@movementarian.org>
10082 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10084 2002-07-30 John Levon <levon@movementarian.org>
10087 * lyxserver.C: remove I/O callback too
10089 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10094 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10096 * many files: strip,frontStrip -> trim,ltrim,rtrim
10098 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10100 * PrinterParams.h: remove extern containsOnly, and include
10101 support/lstrings.h instead.
10103 * LaTeX.C (scanAuxFile): modify because of strip changes
10105 * buffer.C (makeLaTeXFile): ditto
10106 * bufferparams.C (writeFile): ditt
10107 * lyxfont.C (stateText): ditto
10108 * lyxserver.C (read_ready): ditto
10109 * vc-backend.C (scanMaster): ditto
10111 * BufferView_pimpl.h: ws changes
10113 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10115 2002-07-26 André Pönitz <poenitz@gmx.net>
10117 * kb_sequence.C: remove unnedred usings
10119 2002-07-26 Juergen Vigna <jug@sad.it>
10121 * lyxfind.C (LyXReplace): we have to check better if the returned
10122 text is not of theLockingInset()->getLockingInset().
10124 2002-07-25 Juergen Vigna <jug@sad.it>
10126 * lyxfind.C (LyXReplace): don't replace if we don't get the
10129 * undo_funcs.C (createUndo): remove debugging code.
10131 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10133 * buffer.C (parseSingleLyXformat2Token): Use default placement
10134 when reading old floats.
10136 * FloatList.C (FloatList): Change the default placement of figure
10137 and tables to "tbp".
10139 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10141 * MenuBackend.C: using std::max
10143 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * MenuBackend.C (expandToc):
10146 (expandToc2): code moved from xforms menu frontend. It is now
10147 generic and TOCs are transparent to menu frontends.
10149 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10151 * toc.C (getTocList): protect against buf=0
10153 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10154 Menu as first parameter. Now, this calls itself recursively to
10155 expand a whole tree (this will be useful for TOC handling)
10156 (expandFloatInsert): remove 'wide' version of floats
10158 * MenuBackend.h (submenuname): returns the name of the submenu.
10159 (submenu): returns the submenu itself, provided it has been
10160 created by MenuBackend::expand
10162 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10165 insets which have noFontChange == true. (bug #172)
10167 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * BufferView_pimpl.C: add connection objects and use them...
10172 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10174 * MenuBackend.C (expandLastfiles):
10177 (expandFloatListInsert):
10178 (expandFloatInsert):
10179 (expand): split expand in parts
10181 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10183 * lyx_gui.C: use lyx_gui::exit()
10185 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10187 * LyXAction.C: show the failing pseudo action
10189 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10191 * buffer.C (readFile): Run the lyxconvert script in order to read
10194 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10198 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10200 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10204 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10206 2002-07-22 Herbert Voss <voss@lyx.org>
10209 * lyxlength.[Ch]: add support for the vertical lengths
10211 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10213 * toc.[Ch]: std:: fixes
10215 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10217 * lyxrc.C: do not include lyx_main.h
10219 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10225 * BufferView2.C: include "lyxlex.h"
10228 * bufferparams.h: do not #include "lyxlex.h"
10230 * lyxtextclasslist.C (Add): remove method
10231 (classlist): renamed to classlist_
10233 * paragraph_pimpl.C:
10237 * bufferview_funcs.C:
10242 * toc.C (getTocList): use BufferParams::getLyXTextClass
10244 * toc.C (getTocList): use InsetFloat::addToToc
10246 * toc.[Ch]: new files, containing helper functions to handle table
10249 * lyxfunc.C (dispatch): no need to remove spaces around command
10251 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10252 first command of the sequence; it is not very clever, but I do not
10253 have a better idea, actually
10255 * LyXAction.C (LookupFunc): make sure to remove space at the
10256 beginning and end of the command
10258 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10260 * MenuBackend.C (getMenubar): new method: return the menubar of
10262 (read): treat differently reading of menu and menubar (in
10263 particular, the menubar has no name now)
10264 (Menu::menubar): remove
10266 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10269 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10271 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10272 a bibitem inset in a RTL paragraph.
10274 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10276 * paragraph_pimpl.C: constify
10278 * BufferView_pimpl.C:
10280 * lyxfunc.C: fix dispatch in a nicer way
10282 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10284 * lyxfunc.C (dispatch):
10285 * BufferView_pimpl.C:
10286 * BufferView_pimpl.h:
10288 * BufferView.h: rename Dispatch() to dispatch()
10290 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10292 * lyxlayout.C (Read): honor DependsOn tag
10294 * lyxlayout.[Ch] (depends_on): new method
10296 * version.C.in: update lyx_docversion
10298 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10300 * paragraph.C (validate): remove from here...
10301 * paragraph_pimpl.C (validate): ... and move here
10302 (isTextAt): make it const
10304 * buffer.C (getLists): ws cleanup
10306 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10308 * language.C (read): Use iso8859-1 encoding in latex_lang
10309 (this prevents LyX from crashing when using iso10646-1 encoding).
10311 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * text2.C (toggleInset): if cursor is inside an inset, close the
10314 inset and leave cursor _after_ it
10316 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10318 * lyxfunc.C: move minibuffer completion handling out of here
10320 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10322 * BufferView_pimpl.C:
10323 * LaTeX.C: fix dispatch calls
10325 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10327 * text.C (drawChars): Fix Arabic text rendering.
10329 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10333 * lyxfunc.C: remove message-push/pop
10337 * lyxfunc.C: rationalise some code by removing verboseDispatch
10338 in favour of a bool argument to dispatch()
10340 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10342 * lyx_main.C (init): make sure to read symlinks as absolute paths
10344 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10347 * lyxfunc.C: no need for commandshortcut to be a member
10349 2002-07-15 André Pönitz <poenitz@gmx.net>
10351 * converter.C: add support for $$s (scripts from lib/scripts dir)
10352 * lyx_main.C: white space
10354 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10358 * lyxrc.C: remove second exit confirmation
10360 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10365 * BufferView_pimpl.h:
10366 * BufferView_pimpl.C:
10367 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10369 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * MenuBackend.C (expand): add numeric shortcuts to document menu
10373 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10375 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * lyxfont.C (setLyXFamily):
10384 * buffer.C (asciiParagraph): use ascii_lowercase
10386 2002-07-15 Mike Fabian <mfabian@suse.de>
10388 * lyxlex_pimpl.C (search_kw):
10389 * lyxlex.C (getLongString):
10390 * converter.h (operator<):
10391 * converter.C (operator<):
10392 * buffer.C (parseSingleLyXformat2Token):
10394 * ToolbarDefaults.C (read):
10395 * MenuBackend.C (checkShortcuts):
10397 * LColor.C (getFromGUIName):
10398 (getFromLyXName): use the compare_ascii_no_case instead of
10399 compare_no_case, because in turkish, 'i' is not the lowercase
10400 version of 'I', and thus turkish locale breaks parsing of tags.
10402 2002-07-16 Angus Leeming <leeming@lyx.org>
10404 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10405 now takes a Buffer const & argument.
10407 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10409 * BufferView.C (resize): check there's a buffer to resize
10411 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10413 * lyxfunc.C: remove dead code
10416 * lyxserver.C: use lyx_guii::set_read_callback
10418 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10420 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10421 an inset in a RTL paragraph.
10423 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10425 * lyxfunc.C: repaint after a font size update
10427 2002-07-15 André Pönitz <poenitz@gmx.net>
10429 * lyxlength.C: inBP should be able to return negative values
10431 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10433 * lyxfunc.C: use lyx_gui::update_fonts()
10435 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10437 * lyxfunc.C: use lyx_gui::update_color()
10439 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10445 * lyxrc.C: remove file->new asks for name option, and let
10446 buffer-new take an argument
10448 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10450 * BufferView_pimpl.C: remove unneeded extra repaint()
10452 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10454 * LyXAction.C: allow command-sequence with NoBuffer
10456 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10458 2002-07-10 Angus Leeming <leeming@lyx.org>
10460 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10462 2002-07-09 Angus Leeming <leeming@lyx.org>
10464 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10466 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10468 * lengthcommon.h: whitespace
10470 * lyxfunc.C: update scrollbar after goto paragraph
10472 * lyxtext.h: factor out page break drawing, and fix it so
10473 page break/added space paints as selected nicely
10475 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.C: add FIXMEs, clean up a little
10479 2002-07-09 André Pönitz <poenitz@gmx.net>
10481 * lyxfont.[Ch]: support for wasy symbols
10483 2002-07-08 André Pönitz <poenitz@gmx.net>
10485 * BufferView_pimpl.C: apply John's patch for #93.
10487 2002-07-05 Angus Leeming <leeming@lyx.org>
10489 * BufferView_pimpl.C (buffer): generate previews if desired.
10491 * LColor.h: add "preview" to the color enum.
10493 * LColor.C (LColor): add a corresponding entry to the items array.
10495 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10498 2002-07-05 Angus Leeming <leeming@lyx.org>
10500 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10501 The body of the code is now in the method that is passed an ostream &
10502 rather than a file name.
10503 Pass an additional only_preamble parameter, useful for the forthcoming
10506 2002-07-03 André Pönitz <poenitz@gmx.net>
10508 * lyxfunc.C: simplify getStatus() a bit for math stuff
10510 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10512 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10514 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * text.C (changeRegionCase): do not change case of all the
10517 document when region ends at paragraph end (bug #461)
10519 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * paragraph.C (startTeXParParams):
10522 (endTeXParParams): add \protect when necessary
10524 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10526 * BufferView_pimpl.C (workAreaExpose): remove warning
10528 2002-06-27 Angus Leeming <leeming@lyx.org>
10530 * Makefile.am: add lyxlayout_ptr_fwd.h.
10532 2002-06-26 André Pönitz <poenitz@gmx.net>
10534 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10536 2002-06-25 Angus Leeming <leeming@lyx.org>
10538 * lyxfunc.C (dispatch): Comment out the call to
10539 grfx::GCache::changeDisplay. The method no longer exists now that the
10540 pixmap generation part of the graphics loader has been moved into
10543 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * text2.C: layout as layout
10547 * text.C: layout as layout
10549 * tabular.C (OldFormatRead): layout as layout
10551 * paragraph_pimpl.C (TeXDeeper): layout as layout
10552 (realizeFont): layout as layout
10554 * paragraph.C (writeFile): layout as layout
10555 (validate): layout as layout
10556 (getFont): layout as layout
10557 (getLabelFont): layout as layout
10558 (getLayoutFont): layout as layout
10559 (breakParagraph): layout as layout
10560 (stripLeadingSpaces): layout as layout
10561 (getEndLabel): layout as layout
10562 (getMaxDepthAfter): layout as layout
10563 (applyLayout): layout as layout
10564 (TeXOnePar): layout as layout
10565 (simpleTeXOnePar): layout as layout
10566 (TeXEnvironment): layout as layout
10567 (layout): layout as layout
10568 (layout): layout as layout
10570 * lyxtextclass.C (compare_name): new functor to work with
10571 shared_ptr, layout as layout
10572 (Read): layout as layout
10573 (hasLayout): layout as layout
10574 (operator): layout as layout
10575 (delete_layout): layout as layout
10576 (defaultLayout): layout as layout
10578 * lyxlayout_ptr_fwd.h: new file
10580 * lyxlayout.C (Read): layout as layout
10582 * lyx_cb.C (MenuInsertLabel): layout as layout
10584 * bufferlist.C (newFile): layout as layout
10586 * buffer.C (readLyXformat2): layout as layout
10587 (parseSingleLyXformat2Token): layout as layout
10588 (insertStringAsLines): layout as layout
10589 (asciiParagraph): layout as layout
10590 (latexParagraphs): layout as layout
10591 (makeLinuxDocFile): layout as layout
10592 (simpleLinuxDocOnePar): layout as layout
10593 (makeDocBookFile): layout as layout
10594 (simpleDocBookOnePar): layout as layout
10595 (getLists): layout as layout
10597 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10599 * CutAndPaste.C (cutSelection): layout as layout
10600 (pasteSelection): layout as layout
10601 (SwitchLayoutsBetweenClasses): layout as layout
10603 * BufferView_pimpl.C (Dispatch): layout as layout
10604 (smartQuote): layout as layout
10606 * BufferView2.C (unlockInset): layout as layout
10608 2002-06-24 André Pönitz <poenitz@gmx.net>
10610 * lyxfunc.C: fix #487
10612 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10616 * lyxfunc.C: remove display_shortcuts, show_banner
10618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10620 * Buffer_pimpl.C: oops, update on resize
10622 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10629 * BufferView.C: use repaint()
10631 * BufferView_pimpl.h:
10632 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10633 as it's a clearer description. Remove superfluous
10636 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10638 * text.C: fix bug 488. Not ideal, but getting
10639 getWord() to work properly for the insets that
10640 matter is more difficult ...
10642 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10644 * BufferView_pimpl.C:
10647 * lyxfunc.C: remove the six million index lyxfuncs to just
10648 one, and DTRT (bug 458)
10650 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10654 * BufferView_pimpl.h:
10655 * BufferView_pimpl.C: clean up resize() stuff,
10656 and unnecessary updateScreen()s
10658 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10662 * BufferView_pimpl.h:
10663 * BufferView_pimpl.C:
10666 * minibuffer.C: remove focus management of workarea,
10667 not needed. Use screen's greyOut()
10669 2002-06-17 Herbert Voss <voss@lyx.org>
10671 * converter.C: (convert) do not post a message, when converting
10672 fails, let the calling function decide what to do in this case
10674 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10676 * lyxfunc.C: tidy up a little
10678 2002-06-16 <alstrup@diku.dk>
10680 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10681 Got rid of FORMS_H_LOCATION include. Now we are
10684 2002-06-15 LyX Development team <lyx@rilke>
10686 * buffer.[Ch] (sgmlOpenTag):
10687 (sgmlCloseTag): Added support for avoiding pernicious mixed
10688 content. Return number of lines written.
10690 (makeLinuxDocFile):
10691 (makeDocBookFile): Fixed calls to sgml*Tag.
10692 Simple white space clean.
10694 (simpleDocBookOnePar): Simple white space clean.
10696 * tabular.[Ch] (docBook): Renamed to docbook and got another
10697 argument to related with the pernicious mixed content.
10699 (docbookRow): Fixed calls for docbook inset method.
10701 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10703 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10704 so it's X11 independent.
10708 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10710 2002-06-15 Lyx Development team <lyx@electronia>
10712 * intl.h: Renamed getTrans to getTransManager.
10714 2002-06-14 Angus Leeming <leeming@lyx.org>
10716 * Makefile.am: nuke forgotten stl_string_fwd.h.
10718 2002-06-12 Angus Leeming <leeming@lyx.org>
10720 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10722 2002-06-13 Angus Leeming <leeming@lyx.org>
10725 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10727 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10729 * kbmap.C (getiso): add support for cyrillic and greek
10731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.h:
10736 * BufferView_pimpl.C: move bogus scrolling logic
10739 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.C: view->resize() change
10744 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10746 * BufferView_pimpl.C: topCursorVisible
10749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10753 * lyx_gui.C: move to frontends/
10757 * lyx_main.C: changes from above
10759 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10766 * lyx_main.C: minor tidy
10768 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10770 * BufferView_pimpl.h:
10771 * BufferView_pimpl.C:
10773 * BufferView.C: make painter() const,
10776 * BufferView2.C: use screen() accessor
10779 * lyx_main.C: some minor cleanup
10781 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10783 * BufferView_pimpl.h:
10784 * BufferView_pimpl.C: remove enter/leaveView,
10787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10792 * BufferView_pimpl.h:
10793 * BufferView_pimpl.C: only construct screen once,
10796 * lyxrc.C: remove pointless comment
10798 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10801 * BufferView.C: remove active() and belowMouse()
10803 * BufferView_pimpl.h:
10804 * BufferView_pimpl.C: use workarea() not workarea_,
10805 and make it use a scoped_ptr instead
10807 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10809 * lyx_gui.C: add debug message on BadWindow
10811 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * sp_spell.C: fdopen is not part of the C++ standard.
10815 * paragraph.C (InsetIterator): use >= instead of ==
10817 2002-06-07 Angus Leeming <leeming@lyx.org>
10819 Fixes needed to compile with Compaq cxx 6.5.
10820 * BufferView_pimpl.C:
10827 * lyxtextclasslist.C:
10832 all c-library variables have been moved into namespace std. Wrap
10833 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10838 Add a using std::abs declaration.
10840 * kbmap.h (modifier_pair):
10841 * paragraph.h (InsetTable, InsetList):
10842 * lyxfont.h (FontBits):
10843 type definition made public.
10845 * bufferlist.C (emergencyWriteAll): the compiler complains that
10846 there is more than one possible lyx::class_fun template to choose from.
10847 I re-named the void specialisation as lyx::void_class_fun.
10849 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10851 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10852 the compiler is is unable to find tostr in write_attribute.
10854 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * buffer.C (sgmlError): hide #warning
10858 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10860 * xtl/*: get rid of xtl, which is not in use anyway
10862 * LyXAction.C (init):
10863 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10864 were unimplemented xtl experimentation
10866 2002-06-04 André Pönitz <poenitz@gmx.net>
10868 * lyxfunc.C: disable array operation on simple formulae
10870 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10872 * converter.C: constify a bit
10874 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10876 * lyx_gui.C: check xforms version correctly
10878 2002-04-30 Herbert Voss <voss@lyx.org>
10880 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10883 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10885 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10886 attempt to register it with a VCS)
10888 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * lyx_main.C (init): honor variables LYX_DIR_13x and
10893 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10897 * lyx_main.C: fix a crash on bad command line,
10898 and give a useful exit status on error
10900 * lyxfunc.C (doImport): allow -i lyx to work
10902 2002-03-30 André Pönitz <poenitz@gmx.net>
10904 * lyxfunc.C: mathed font changes
10906 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10921 * trans_mgr.h: srcdocs, and some minor cleanups
10923 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10926 call getFont all the time)
10928 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * switch from SigC signals to boost::signals
10932 2002-05-29 André Pönitz <poenitz@gmx.net>
10934 * paragraph_pimpl.C (getChar): don't call size() too often...
10936 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10938 * paragraph_pimpl.C (insertChar): do not try to update tables when
10939 appending (pos == size())
10941 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10942 in order to reduce drastically the number of comparisons needed to
10943 parse a large document
10945 2002-05-29 André Pönitz <poenitz@gmx.net>
10951 * textclasslist.[Ch]:
10952 * sp_ispell.h: whitespace change
10954 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10956 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10957 lyxaction directly now.
10959 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10963 * lyxvc.C: remove unused headers
10965 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10972 * undo_funcs.C: some cleanups. Use shared_ptr
10973 and a template for the undo stacks.
10975 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10977 * BufferView_pimpl.h:
10978 * BufferView_pimpl.C:
10985 * text2.C: use key_state/mouse_state
10987 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10989 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10992 * chset.C: change include order
10993 (loadFile): use boost regex and get rid of LRegex and LSubstring
10995 * Makefile.am (BOOST_LIBS): new variable
10996 (lyx_LDADD): use it
10998 * LaTeX.C: change include order.
10999 (scanAuxFile): use boost regex and get rid of LRegex and
11003 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11008 * FontInfo.C: moved to frontends/xforms/
11011 * FontLoader.C: moved into frontends for GUIIzation
11016 * lyxfunc.C: changes from above
11018 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11020 * LColor.C: remove spurious X include
11022 * BufferView_pimpl.C:
11027 * text2.C: move font metrics to frontends/
11029 2002-05-24 Juergen Vigna <jug@sad.it>
11031 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11032 setting the undo_cursor.
11034 * ParagraphParameters.h: include local includes first.
11036 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11038 * BufferView_pimpl.C:
11039 * BufferView_pimpl.h:
11043 * screen.C: move WorkArea into frontends/
11049 * BufferView2.C: move LyXScreen into frontends/
11053 * lyx_gui.C: move lyxlookup into frontends/xforms/
11055 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11058 * BufferView_pimpl.C:
11068 * bufferview_funcs.C:
11081 * vc-backend.C: move LyX/XFormsView into frontends/
11083 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11095 * text2.C: move Painter to frontends/
11097 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * buffer.C: comment out some some code that depend upon lyx_format
11102 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11103 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11105 * buffer.h (NO_COMPABILITY): turn off compability
11107 * ColorHandler.C: include scoped_array.hpp
11109 * font.C: Use more specific smart_ptr header.
11112 * ShareContainer.h: ditto
11113 * lyx_main.h: ditto
11115 * FontInfo.h: ditto
11116 * BufferView_pimpl.h: ditto
11117 * ColorHandler.h: ditto
11119 * kbmap.C (defkey): change call to shared_ptr::reset
11121 2002-05-21 Juergen Vigna <jug@sad.it>
11123 * buffer.C (insertErtContents): fix to insert ert asis if it is
11124 non empty. Skip it completely if it contains only whitespaces.
11126 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11128 * BufferView_pimpl.C:
11129 * BufferView2.C: clear selection on paste (bug 393)
11131 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11133 * DepTable.C: include ctime
11135 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11137 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11139 2002-05-14 Juergen Vigna <jug@sad.it>
11141 * text.C (breakParagraph): fixed function to honor the keepempty
11142 layout in the right maner and also to permit the right breaking
11143 algorithm on empty or non empyt keepempty paragraphs.
11145 * paragraph.C (breakParagraph): we have to check also if the par
11146 is really empty (!size()) for isempty otherwise we do the wrong
11149 2002-05-10 Juergen Vigna <jug@sad.it>
11151 * buffer.[Ch] : The following are only changes to the ert
11152 compatibility read reading old LaTeX layout and font stuff and
11153 convert it to ERTInsets.
11155 * buffer.h: added isErtInset().
11157 * buffer.C (struct ErtComp): add a fromlayout bool to check
11158 if we're inside a LaTeX layout.
11159 (isErtInset): new helper function.
11160 (insertErtContents): look for other ert insets before this one
11161 and insert the contents there, so that we don't have subsequent
11162 ERT insets with nothing between them. This way we create only one
11163 inset with multiple paragraphs. Also check if we don't insert only
11164 spaces ' ' as they are ignored anyway afterwards in the .tex file
11165 so if we have only spaces we will ignore this latex part in the
11167 (parseSingleLyXformat2Token \\layout): better compatibility when
11168 reading layout-latex stuff.
11169 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11171 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11172 stuff after reading the inset only get the information back from
11175 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11177 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11179 * LaTeXFeatures.C (getBabelOptions): New method.
11181 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11183 * BufferView_pimpl.C (Dispatch): work around missing argument for
11186 2002-05-08 Juergen Vigna <jug@sad.it>
11188 * text.C (leftMargin): handle paragraph leftindent.
11190 * paragraph.C (writeFile): write the new \\leftindent tag.
11191 (validate): handle leftindent code.
11192 (TeXEnvironment): handle paragraphleftindent code again.
11194 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11196 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11197 for paragrap_extra indent code and new token \\leftindent.
11198 (latexParagraphs): handle the leftindent as environment.
11200 * ParameterStruct.h: added leftindent support.
11202 * ParagraphParameters.C (leftIndent): added support functions for
11203 the paragraph left indent.
11205 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11208 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11210 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11213 * text.C (computeBidiTables): No bidi in insetERT.
11215 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11218 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * version.C.in: pre 5
11222 2002-05-02 José Matos <jamatos@fep.up.pt>
11223 * buffer.C (makeDocBookFile): white space changes, add newline to
11225 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11227 * tabular.C (docBook): fix typo.
11229 2002-05-03 Juergen Vigna <jug@sad.it>
11231 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11232 change in LyXText as we can not be sure it was not freed.
11233 (drawOneRow): remove unused code.
11235 * text.C (drawInset): redo the calculation of the need_break_row as
11236 it could have a row which was already freed.
11237 (draw): look at the return value of drawInset and return false if
11238 it also returned false.
11239 (paintRowText): look at the return value of draw and return false if
11240 it also returned false.
11242 * lyxtext.h: added bool return type to drawInset() and draw() so that
11243 if we have a change in the row so that the rowbreak has to be redone
11244 we abort drawing as it will be called again.
11246 2002-05-02 Juergen Vigna <jug@sad.it>
11248 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11249 a change in the maintext also if we're inside an inset.
11250 (Dispatch): set the cursor again after a break line and after the
11251 screen has been updated as it could be we're in a different row.
11253 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11254 to set the cursor behind the pargraph with > size().
11255 (setCursor): check also for the same paragraph when checking where
11256 to put the cursor if we have a NFR inset.
11258 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11259 parts of layout read further up as it still was in the wrong
11262 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * screen.C (drawFromTo): change sine fullRebreak always return
11267 * buffer.C (parseSingleLyXformat2Token): reindent some
11269 * BufferView_pimpl.C (update): change since fullRebreak always
11271 (Dispatch): git rid of the last hardcoded "Standard"s.
11273 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * text2.[Ch] (fullRebreak): make it return void now that we always
11278 2002-04-30 Juergen Vigna <jug@sad.it>
11280 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11281 ert compatibility check for "latex" layout.
11283 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11285 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11286 minipages: use col% instead of p%, and also use the current font.
11287 (makeLaTeXFile): Fix use babel condition.
11288 (parseSingleLyXformat2Token): Correct font when reading old floats.
11290 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11292 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11293 inserting list of floats.
11295 2002-04-25 Herbert Voss <voss@lyx.org>
11297 * MenuBackend.C (expand): don't add the graphics extensions to the
11300 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11303 non-existing layout, do not complain if it was the default layout
11304 of the original class (bug #342)
11306 2002-04-24 Juergen Vigna <jug@sad.it>
11308 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11309 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11311 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11313 * buffer.C (getBibkeyList): If using \bibliography, return the
11314 option field with the reference itself. Enables us to provide natbib
11315 support when using \bibliography.
11317 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11319 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11321 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11322 natbib is provided by the LaTeX class.
11324 2002-04-23 Juergen Vigna <jug@sad.it>
11326 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11329 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11331 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11335 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11336 ensuremath around textordmasculine, textordfeminine and
11339 2002-04-19 Juergen Vigna <jug@sad.it>
11341 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11342 reinitializing the buffer otherwise row-dimensions may be wrong.
11343 (update): reset also the selection cursors if they do exits otherwise
11344 their x/y positions may be wrong.
11346 * text2.C (cursorDown): don't enter the inset if we came from a row
11347 above and are one row over the inset.
11349 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11350 really leaving an inset.
11352 2002-04-18 Juergen Vigna <jug@sad.it>
11354 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11355 of the selected paragraph does not have the selected layout also if
11358 * text2.C (setLayout): fixed bug which did not change last selected
11361 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11362 changed the read and substituted \\end_float with \\end_inset!
11364 * BufferView_pimpl.C (cursorPrevious):
11365 (cursorNext): fixed to make it work with rows heigher than the work
11366 area without moving the cursor only the draw of the row.
11367 (workAreaMotionNotify): fix jumping over high rows.
11369 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11374 2002-04-16 Juergen Vigna <jug@sad.it>
11376 * text2.C (setCursor): set also the irow().
11377 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11379 (cursorDown): support for locking an inset if the x_fix value goes
11380 inside it. That way I can transverse insets too with cursor up/down.
11382 * lyxrow.h: added irow helper function same as other (i) functions.
11384 * BufferView_pimpl.C (cursorPrevious):
11385 (cursorNext): fixed for insets!
11387 2002-04-15 Juergen Vigna <jug@sad.it>
11389 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11390 position otherwise it is wrong in some cases.
11392 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11393 inside the inset before the call.
11395 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11397 * buffer.[Ch] (getBibkeyList): make it const.
11399 2002-04-12 Juergen Vigna <jug@sad.it>
11401 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11403 * text2.C (getCursorX): new helper function
11404 (setCursor): compute also ix_
11405 (setCursorFromCoordinates): set also ix.
11407 * lyxcursor.h: added ix_ and helper functions.
11409 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11411 * buffer.C (insertStringAsLines): dont break paragraph if the this
11412 paragraph is inside an inset which does not permit it!
11414 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11415 also with no chars on this paragraph.
11416 (paintRowText): only paint stuff if it's inside the workarea!
11418 * paragraph.C (breakParagraph): honor keepempty flag and break the
11419 paragraph always below not above.
11421 * BufferView2.C (unlockInset): update the paragraph layout on inset
11422 unlock as we changed paragraph in such a case.
11424 * lyxfind.C (LyXFind): clear the former selection if not found!
11426 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11427 again called in insertChar().
11429 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11430 an inset which uses the whole row!
11431 (rightMargin): ditto.
11432 (insertChar): force a rebreak if we inserted an inset!
11434 2002-03-28 Herbert Voss <voss@lyx.org>
11436 * lyxlength.[Ch]: add inBP() to get the right PS-point
11437 units (BigPoint). With inPixels we have rounding errors
11439 2002-04-11 Juergen Vigna <jug@sad.it>
11441 * text2.C (setCursorFromCoordinates): set iy to the right value.
11442 (setCursor): add check if row->previous exists!
11444 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11445 an old float_type as this was the case in the old code!
11447 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11449 * BufferView2.C (showLockedInsetCursor): use iy
11450 (fitLockedInsetCursor): ditto
11452 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11453 locked insets as there we have the right value now.
11455 * lyxcursor.C: added iy_ variable and iy functions to set to the
11456 baseline of cursor-y of the locked inset.
11458 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11459 (setCursor): fixed for insets which need a full row.
11461 * text.C (rowLastPrintable): don't ignore the last space when before
11462 an inset which needs a full row.
11463 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11464 as last character of a row when before a inset which needs a full row.
11466 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * version.C.in: update date
11470 * text2.C (fullRebreak): try to always return true and see what
11473 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * MenuBackend.C (expand): use Floating::listName
11477 * FloatList.C (FloatList): add listName argument to the built-in
11480 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11481 text associated with the float.
11483 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11487 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * ShareContainer.h: add a couple of missing typenames.
11491 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11493 * lyxrc.C (getDescription): use _() correctly rather than N_().
11495 2002-03-28 Herbert Voss <voss@lyx.org>
11497 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11498 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11500 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11502 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11503 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11505 2002-03-29 Juergen Vigna <jug@sad.it>
11507 * lyxfunc.C (dispatch): add a missing fitCursor call.
11509 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11510 it was scrolled by a cursor move, so return the bool status.
11512 * BufferView.C (fitCursor): return the bool flag also to the outside
11513 world as this is needed.
11515 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11517 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11518 call the edit() as it is not needed (and wrong) IMO.
11519 (workAreaButtonPress): set the screen_first variable before evt.
11520 unlock the inset as this may change screen_first and then we have
11521 a wrong y position for the click!
11523 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * MenuBackend.C (expand): another translation that I missed
11527 2002-03-28 Juergen Vigna <jug@sad.it>
11529 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11531 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11533 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11537 * MenuBackend.C (expand): fix export/view/update when there is no
11540 2002-03-27 Herbert Voss <voss@lyx.org>
11542 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11545 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11547 * bufferview_funcs.C (currentState): only show paragraph number
11548 for is DEVEL_VERSION is set.
11550 * lyxfunc.C (dispatch): put warning in INFO channel
11552 * MenuBackend.C (expand): translate the name of floats
11554 * FloatList.C (FloatList): mark the float names for translation
11556 * converter.C (convert): use LibScriptSearch
11558 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11560 * MenuBackend.C (defaults): fix default menu (we might as well get
11563 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11568 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * lyxvc.C: reorder includes.
11572 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11574 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11577 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11579 * CutAndPaste.C: change layouts earlier on paste
11580 to avoid crashing when calling getFont()
11582 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11584 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11587 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11589 * WorkArea.C: remove 'Pending' debug message.
11591 * most files: ws cleanup
11593 * buffer.[Ch]: ws changes
11595 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11597 2002-03-21 Juergen Vigna <jug@sad.it>
11599 * tabular.C (SetMultiColumn): collapse also the contents of the
11600 cells and set the last border right. Added a Buffer const * param.
11602 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11604 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11607 2002-03-19 Juergen Vigna <jug@sad.it>
11609 * text2.C (clearSelection): reset also xsel_cache.
11611 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11612 where it needs to be called (John tells us to do so too :)
11613 (selectionLost): reset sel_cache.
11615 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11617 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11619 * text2.C (setCursorIntern): put debuging code in INSETS channel
11621 2002-03-19 André Pönitz <poenitz@gmx.net>
11623 * lyxfunc.C: tiny whitespace change
11625 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11627 * ToolbarDefaults.C (init):
11628 * LyXAction.C (init):
11630 * BufferView_pimpl.C (Dispatch):
11631 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11633 2002-03-19 Allan Rae <rae@lyx.org>
11635 * exporter.C (Export): removeAutoInsets before doing anything else.
11636 While I've just introduced a dependency on BufferView this really is
11637 the best place to clean the buffer otherwise you need to cleanup in
11638 a dozen places before calling export or cleanup in a dozen functions
11641 * converter.C (runLaTeX):
11642 (scanLog): Better handling of removeAutoInsets and screen updates.
11644 * lyxfunc.C (dispatch): small whitespace changes
11646 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * WorkArea.C (C_WorkAreaEvent): return a value.
11649 (event_cb): return 1 if we handled the event, 0 otherwise.
11651 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11653 2002-03-18 Juergen Vigna <jug@sad.it>
11655 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11656 (GetAdditionalWidth): ditto.
11657 (RightLine): ditto.
11660 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11661 inset if we're there actually (probably not used right now but this
11662 is the direction to go for unifying code).
11663 (paste): disable code to clear the selection.
11665 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11666 inside an InsetText and move the check further up as it is in the
11669 * text2.C (pasteSelection): set a selection over the pasted text.
11671 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11673 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11674 and libgraphics to build on Cygwin.
11676 2002-03-15 Juergen Vigna <jug@sad.it>
11678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11679 inserting an Inset into the paragraph. I know this is not the best
11680 fix but we already use current_view in CutAndPaste so we will remove
11681 all of it's using at the same time.
11683 * buffer.C (sgmlError): deactivated function till it is rewritten in
11684 the right mode, now it can create problems.
11686 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11687 before accessing it.
11689 2002-03-14 Juergen Vigna <jug@sad.it>
11691 * undo_funcs.C (textHandleUndo): do the right thing when updating
11692 the inset after the undo/redo.
11694 * text2.C (setCursor): just some testcode for #44 not ready yet.
11696 * undo_funcs.C (textHandleUndo): set the next() and previous()
11697 pointers of the paragraph to 0 before deleting otherwise we have
11698 problems with the Paragraph::[destructor].
11700 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11701 on a paragraph insertion.
11703 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * buffer.C (asciiParagraph): use += operator for char append to
11708 * paragraph.C (getFontSettings): compare >= not just >
11709 (highestFontInRange): ditto
11712 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * paragraph.C: change several algorithm to be more appripriate for
11715 the problem domain. This is lookip in FontList and in the InsetList.
11717 2002-03-13 André Pönitz <poenitz@gmx.net>
11720 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11722 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11727 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11729 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * Painter.C (display): anon helper function, adjust code for this
11733 (pixmap): remove function.
11735 * Painter.h: remove private display variable.
11737 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11739 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11741 * WorkArea.[Ch]: remove figinset_canvas cruft.
11743 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * lyxtextclass.C (operator): add one item cache optimization.
11747 * bufferlist.h: doxy changes
11749 * bufferlist.C: ws changes
11751 * DepTable.[Ch] (ext_exist): place const in the right spot.
11753 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11755 (workAreaExpose): call resizeInsets when the with BufferView changes.
11756 (Dispatch): adjust for protectedBlank removal
11757 (specialChar): call updateInset if the insert went ok.
11759 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11760 specialChar instead.
11762 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11764 * BufferView.h: doxy change
11766 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11768 * lyxtextclass.C (operator[]): remove non-const version
11769 (defaultLayout): remove non-const version
11771 2002-03-12 Juergen Vigna <jug@sad.it>
11773 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11774 did resize the LyXText too.
11776 * buffer.C (readLyXformat2): set layout information on newly allocated
11779 * tabular.C (OldFormatRead): set layout information on the paragraph.
11781 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11783 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11785 2002-03-11 Juergen Vigna <jug@sad.it>
11787 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11789 (resizeCurrentBuffer): force also the insets to resize themselfes.
11790 (moveCursorUpdate): fixed up for InsetText.
11792 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11795 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11796 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11797 value of Dialogs::tooltipsEnabled().
11798 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11800 2002-03-08 Juergen Vigna <jug@sad.it>
11802 * BufferView_pimpl.C (updateInset): update inset inside inset also
11803 if it isn't inside theLockingInset().
11805 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * buffer.C (asciiParagraph): redo some of the word and line length
11809 (getLists): look for Caption instead of caption.
11811 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11813 * buffer.C (Buffer): initialize niceFile to true
11815 (makeLinuxDocFile):
11816 (makeDocBookFile): make sure niceFile is true on exit
11818 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11822 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11824 * LyXSendto.C: remove.
11825 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11826 * lyx_gui.C: remove now-redundant comment.
11827 * ColorHandler.h: remove forward declaration of class WorkArea.
11828 * lyxfunc.C: remove #include "WorkArea.h".
11830 2002-03-07 Juergen Vigna <jug@sad.it>
11832 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11833 got moved away with the DEPM and also set the inset_owner always
11834 right which before could have been omitted.
11836 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11839 wanted layout is not found.
11841 2002-03-07 Juergen Vigna <jug@sad.it>
11843 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11845 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * paragraph.C (breakParagraph): use default layout not layout of
11849 (Paragraph): clear ParagraphParameters.
11851 2002-03-06 Juergen Vigna <jug@sad.it>
11853 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11854 otherwise it would not be a valid lenght. Fixed a special case in
11855 the minipage compatibility read where we end the document with a
11858 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11859 was set as it could be 0 for InsetTexts first entry.
11861 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * paragraph.C (writeFile): if layout is empty write out
11864 defaultLayoutName().
11866 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11867 file without named layout we set layout to defaultLayoutName().
11869 2002-03-06 Juergen Vigna <jug@sad.it>
11871 * CutAndPaste.C (copySelection): set layout for new paragraph.
11873 * text.C (prepareToPrint): leave ERT inset left aligned
11874 (leftMargin): don't indent paragraphs inside ERT insets
11876 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * paragraph.C (breakParagraph): dont call clear do the work manually
11880 * paragraph.[Ch] (clear): remove function
11882 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * paragraph.C (Paragraph): dont call clear, the work has already
11887 * lyxtextclass.C (operator): assert if n is empty
11889 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11890 work manually instead.
11892 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11894 * BufferView_pimpl.C: protect selectionLost against text == 0
11896 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * text.C (breakParagraph): fix a setting layout to '0' problem.
11900 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11902 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11903 final location of file, for the included files, and graphics.
11905 2002-03-05 Juergen Vigna <jug@sad.it>
11907 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11909 2002-03-04 Juergen Vigna <jug@sad.it>
11911 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11913 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11914 last column of multicolumn cells.
11915 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11917 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11919 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11920 file if it doesn't go to a temporary file.
11922 * buffer.C (sgmlOpenTag):
11923 (sgmlCloseTag): remove extra newline insertion.
11925 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * text.C (getRowNearY): comment out debug msg
11929 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * text2.C: first -> first_y
11933 * text.C (getRowNearY): add some attemts at a possible
11934 optimization, not working.
11936 * tabular.[Ch]: add BufferParams to several function so that newly
11937 created paragraph can be initialized to he default layotu for the
11940 * tabular-old.C (ReadOld): add buf->params to call of Init
11942 * screen.C: rename text->first to text->first_y
11944 * paragraph.C (breakParagraph): always set layout in the broken
11947 * lyxtextclass.C (Read): remove lowercase
11950 (delete_layout): ditto
11952 * lyxtext.h: rename first -> first_y
11954 * lyxlayout.C (Read): remove lowercase
11957 (obsoleted_by): ditto
11959 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11961 * buffer.C (insertErtContents): add params are to InsetERT
11962 (parseSingleLyXformat2Token): add code to check if a paragraphs
11963 layout really exist.
11964 (parseSingleLyXformat2Token): add params to several inset
11966 (asciiParagraph): remove lowercase, do the layout comparisons with
11969 * BufferView_pimpl.C (cursorNext): first -> first_y
11970 (resizeCurrentBuffer): first -> first_y
11971 (updateScrollbar): first -> first_y
11972 (scrollCB): first -> first_y
11973 (workAreaMotionNotify): first -> first_y
11974 (workAreaButtonPress): first -> first_y
11975 (checkInsetHit): first -> first_y
11976 (cursorPrevious): first -> first_y
11977 (cursorNext): first -> first_y
11978 (Dispatch): add buffer_->params to severl inset contructors
11980 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11982 * lyxlayout.C (Read): remove some debug info that I forgot.
11984 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11985 clean up the code slightly.
11986 (makeLinuxDocFile): ditto
11987 (makeDocBookFile): ditto
11989 * text2.C: layout as string
11991 * text.C: layout as string
11993 * paragraph_pimpl.C: layout as string
11995 * paragraph.[Ch]: layout as string
11997 * lyxtextclasslist.[Ch]: layout as string
11999 * lyxtextclass.[Ch]: layout as string
12001 * lyxtext.h: layout as string
12003 * lyxlayout.[Ch]: layout as string
12005 * lyx_cb.C: layout as string
12007 * bufferview_funcs.C: layout as string
12009 * bufferparams.C: layout as string
12011 * buffer.C: layout as string
12013 * LyXView.[Ch]: layout as string
12015 * LaTeXFeatures.[Ch]: layout as string
12017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12019 * BufferView_pimpl.C: change current_layout to string, remove
12024 (workAreaButtonRelease): layout as string
12026 * BufferView2.C (unlockInset): adjust
12028 * vspace.C (asLatexCommand): use an explict temp variable.
12030 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12032 * Makefile.am: use FRONTEND_*
12034 2002-03-01 Juergen Vigna <jug@sad.it>
12036 * tabular.C (SetWidthOfMulticolCell): changed to something better
12037 I hope but still work in progress.
12038 (recalculateMulticolumnsOfColumn): renamed function from
12039 recalculateMulticolCells as it is more appropriate now.
12040 (SetWidthOfCell): calculate multicols better.
12042 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12046 * lyxfunc.C (processKeySym): print sequence also if it is
12047 `deleted' (complete)
12049 * kbsequence.C (print): print sequence even if it is deleted
12050 (complete would be a better word, actually).
12052 * lyxfunc.C (dispatch): print complete options after a prefix key
12054 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12056 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12058 * text2.C (setCharFont): eliminate setCharFont code duplication.
12060 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12062 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12063 LFUN_TABULAR_FEATURE (bug #177)
12065 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12067 * Makefile.am: remove figure.h
12069 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12071 * Bufferview_pimpl.C:
12083 * text2.C: remove #include "lyx_gui_misc.h".
12085 * LaTeX.C: added #include <cstdio>
12087 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12089 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12090 that the paragraph following this one can have.
12092 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12094 * vspace.C (asLatexCommand): fix bogus gcc warning
12096 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12098 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12100 * text2.C (setLayout): get rid of redundant code
12102 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12104 * text2.C (incDepth): make sure depth cannot be increased beyond
12107 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12109 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12110 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12112 * PainterBase.h (image):
12113 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12114 a LyXImage const *.
12116 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12120 * BufferView_pimpl.C:
12121 * BufferView_pimpl.h:
12141 * sp_spell.C: remove fig inset, and the crap house of
12142 cards that follows it
12144 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12149 * os2_errortable.h:
12150 * nt_defines.h: move .h into support/
12152 * vms_defines.h: remove
12154 * WorkArea.C: add space in debug output
12158 * buffer.C: add WITH_WARNINGS
12162 * bufferlist.C: s/retrive/retrieve/, add docs
12171 * chset.C: add docs
12173 * lyxgui.C: add ID to X error handler
12175 * lyxtestclass.c: fix typo
12177 2002-02-26 Juergen Vigna <jug@sad.it>
12179 * tabular_funcs.C (write_attribute): changed so that some default
12180 attributes are not written at all.
12181 (getTokenValue): set default values before trying to read the
12182 value so we have the return value always set as default if we don't
12183 find the token we search for.
12185 * tabular.C (Write): write bools as bools not as strings!
12187 2002-02-22 Juergen Vigna <jug@sad.it>
12189 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12190 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12192 * text.C (leftMargin): don't add an indent for paragraphs inside
12193 tabular cells (fix #208).
12195 2002-02-21 José Matos <jamatos@fep.up.pt>
12197 * tabular.C (docBook): fixed support for long tables.
12199 2002-02-20 Juergen Vigna <jug@sad.it>
12201 * text2.C (getFont): get the drawing font of the Inset if this
12202 paragraph is inside an inset (only important for InsetERT for now).
12204 * buffer.C (insertErtContents): use new lanugage params in ERT
12207 * CutAndPaste.C: commenting out seemingly uneeded code.
12209 2002-02-19 Allan Rae <rae@lyx.org>
12211 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12212 Iterators might be simple to use but they also get invalidated.
12213 (removeAutoInsets): renamed saved cursor tracking variables and added
12214 some comments to clarify what everything does.
12216 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12223 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12224 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12227 * vc-backend.h: remove #include "support/syscall.h"
12231 * converter.C: rearrange #includes in Lars' approved fashion.
12233 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12234 forward declare class Timeout in the header file.
12236 * XFormsView.C: changes due to the above.
12238 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12239 similar to LyXView.
12241 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12242 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12244 2002-02-18 José Matos <jamatos@fep.up.pt>
12246 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12249 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12251 * a lot of small ws changes
12252 * add a lot of using std::XXX
12253 * use std construcs some places where approp.
12254 * use some exisint stuff from lyxfunctional where approp.
12255 * Make file changes to use partial linking (lets test this now...)
12257 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12261 remove #include "support/syscontr.h" as it's redundant. Always has been.
12269 change Systemcalls::System to Systemcalls::Wait and
12270 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12271 No change of functionality, just reflects the stripped down Systemcalls
12274 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12276 * debug.[Ch]: add a GRAPHICS type to the enum.
12278 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12282 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12285 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12288 match the changes below.
12290 * text2.C (toggleInset): if there is not editable inset at cursor
12291 position, try to see if cursor is _inside_ a collapsable inset
12294 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12296 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12297 document menu has a nice checkbox
12299 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * lyxlength.C (asLatexString): change PW to output as percent of
12304 * lengthcommon.C: change '%' to 't%'
12306 * lyxfunc.C (dispatch): a few comments from Martin
12308 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12312 * BufferView_pimpl.h:
12313 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12316 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12318 * vspace.C (inPixels): fix compiler warning
12320 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12322 * lyxfunc.C (getStatus): fix status message for disabled commands.
12324 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12326 * BufferView_pimpl.C: fix crash on close buffer
12327 during selection (#227)
12329 2002-01-27 Herbert Voss <voss@lyx.org>
12331 * buffer.C: link old Figure to new graphic inset
12333 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12335 * FontLoader.C (getFontinfo): Change the latex font names in order
12336 to match the names of type1inst.
12338 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12342 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12343 (extchanged): ditto
12345 (remove_files_with_extension): ditto
12346 (remove_file): ditto
12349 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12350 document is smaller than the work area height. Do not initialize
12351 static variables to 0.
12353 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12357 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12358 LFUN_LAYOUT_PARAGRAPHS.
12360 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12361 tabular. It is possible to provide a possible cell, which will
12362 typically be the actcell from the corresponding insettabular
12364 * lyxfunc.C (getStatus): small cleanup; disable
12365 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12368 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12370 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12372 * paragraph.C (startTeXParParams):
12373 (endTeXParParams): new methods. The LaTeX code to
12374 start/end paragraph formatting
12375 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12376 empty (fixes bug #200)
12378 * vspace.C (inPixels): adapt to the change below
12379 (inPixels): [later] more cleanups (remove unused variables)
12381 * lyxlength.C (inPixels): change to use a width and a height as
12384 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12387 Replaced with \paperwidth
12389 * DepTable.C (insert): add std:: qualifier
12391 2002-01-18 Allan Rae <rae@lyx.org>
12393 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12396 * text.C (drawInset): Turned out I didn't know enough about how
12397 rebreaking worked. This fixes most of the redraw problems. I see
12398 an occasional cursor trail when a line is broken now and the cursor
12399 placement can seem out by a few pixels also after a rebreak.
12401 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12403 * buffer.C (parseSingleLyXformat2Token): update because minipage
12404 width is now a LyXLength
12406 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12408 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12411 2002-01-17 Juergen Vigna <jug@sad.it>
12413 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12415 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12416 is set correctly and the inset is updated correctly.
12418 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12421 the beginning of the loop.
12423 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12425 * lyxrc.C: improve help for use_scalable_fonts
12427 2002-01-17 Allan Rae <rae@lyx.org>
12429 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12431 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12433 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12434 make sure to set their inset_owner to the right value (bug #171)
12436 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12439 * DepTable.C: Implement mtime checking to reduce time spent doing
12442 2002-01-16 Juergen Vigna <jug@sad.it>
12444 * tabular.C (GetAdditionalHeight): one of error fixed.
12446 * lyxrc.C (output): small fix in writing use_pspell.
12448 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12450 * sp_base.h: #include LString.h
12452 2002-01-16 Allan Rae <rae@lyx.org>
12454 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12455 Can someone check this please?
12457 * text.C (drawInset): It was possible that p.row would be removed by
12458 breakAgainOneRow upsetting a few other settings. There may be another
12459 small tweak possible by setting need_break_row = 0 when p.row has been
12460 removed but I don't know enough about the logic here.
12462 2002-01-15 Allan Rae <rae@lyx.org>
12464 * text.C (insertChar): removed conditional truism.
12466 * BufferView2.C (removeAutoInsets): More tweaks.
12467 cur_par_prev could be a stray pointer. Check for trailing empty line
12468 in case last line was cur_par and only had an error inset on it.
12470 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12472 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12475 * vc-backend.C (most methods):
12476 * exporter.C (Export):
12477 * converter.C (convert):
12479 * LyXSendto.C (SendtoApplyCB):
12480 * lyxfunc.C (dispatch):
12484 * lyx_cb.C (AutoSave):
12486 * BufferView_pimpl.C (MenuInsertLyXFile):
12487 * buffer.C (runChktex): use Buffer::filePath().
12489 * buffer.h: rename filename to filename_; rename filepath to
12490 filepath_ and make it private
12491 (filePath): new method
12493 * buffer.C (writeFile): use fileName()
12496 * lyx_main.C (init): fix starting of LyX when the binary is a
12497 link from so,ewhere else.
12499 * minibuffer.C: include <cctype> for isprint
12501 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12503 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12504 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12505 name clash with InsetCollapsable's width function.
12507 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * lastfiles.C: include <iterator>
12511 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12513 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12516 * buffer.C (makeLaTeXFile): ditto.
12517 Also make loop operation more transparent.
12519 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12521 * ToolbarDefaults.C: remove trailing comma closing namespace.
12523 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12525 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12528 * trans.C (Load): comment out unused variable, allowed.
12530 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12532 * minibuffer.[Ch] (append_char): new method to recieve input from the
12533 drop-down completion browser. If a key was pressed, then recieve this
12534 char and append it to the existing string.
12535 (peek_event): modify the positioning data passed to the completion
12536 browser so that it can be placed above the minibuffer rather than below.
12537 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * LyXAction.C (init): alloe error-next for readonly documents.
12541 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12544 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12546 * bufferlist.C (readFile): create the buffer _after_ checking that
12549 * lyxfunc.C (verboseDispatch): fix handling of arguments
12551 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12553 * lyxrc.C: use string::erase() instead of initializing to "".
12556 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12558 * BufferView_pimpl.h:
12559 * BufferView_pimpl.C:
12562 * text2.C: tell X when we have made a selection for copying
12564 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * BufferView_pimpl.C (MenuInsertLyXFile):
12567 * lyxfunc.C (menuNew):
12569 (doImport): add shortcuts to directory buttons
12571 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12574 * lyxfunc.C (setStatusMessage):
12575 (getStatusMessage): new methods
12576 (getStatus):use setStatusMessage instead of setErrorMessage
12577 (dispatch): when function is disabled, set error message here
12578 [instead of in getStatus previously]
12580 * BufferView_pimpl.C (workAreaButtonRelease): update
12581 toolbar/menubar here too.
12583 2002-01-13 Allan Rae <rae@lyx.org>
12585 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12586 Now seems indestructible. Remaining task is to audit all other
12587 code affected by deleteEmptyParagraphMechanism. One small quirk
12588 left is that an empty document with an error in the preamble can
12589 be made to report an error but no error box appears. I don't know
12591 (removeAutoInsets): Improved comments.
12593 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12596 * Thesaurus.C: update for Aiksaurus 0.14
12598 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12600 * text2.C (firstParagraph): removed member function, all uses
12601 replaces with ownerParagraph
12602 (redoParagraphs): here
12603 (updateInset): here
12604 (toggleAppendix): here
12605 * BufferView2.C (insertErrors): here
12606 (setCursorFromRow): here
12608 2002-01-13 Allan Rae <rae@lyx.org>
12610 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12611 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12612 There is still a way to segfault this although you may have to do this
12613 multiple times: Have an InsetERT with an unknown command in it.
12614 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12615 <down-arrow>, <Enter> again, View->DVI, BANG!
12617 * text2.C (setCursor):
12618 (deleteEmptyParagraphMechanism):
12619 * lyxtext.h (setCursor):
12620 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12621 Making use of the return value may help fix other bugs.
12623 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12627 * LyXView.C (updateMenubar): call MenuBar::update here
12628 (updateToolbar): but not here
12629 (showState): do not update toolbar/menubar
12631 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12632 should need to care about that.
12634 * lyxfunc.C (verboseDispatch): simplify a bit
12635 (getStatus): have a version which takes a pseudoaction, and
12636 another which requires a (kb_action,string).
12638 * LyXAction.C (retrieveActionArg): make it work also when action
12639 is not a pseudo-action.
12640 (getActionName): simplify a bit
12643 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12645 * lyxfunc.C (verboseDispatch): new families of methods with
12646 several ways to specify a command and a bool to indicate whether
12647 the command name and shortcut should be displayed in minibuffer
12648 (eventually, we could extend that to a finer bitmask like
12649 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12650 (dispatch): the pristine dispatch command which just, well,
12651 dispatchs! Note it still sets its result to minibuffer; I'm not
12654 * lyxfunc.h: remove setHintMessage
12656 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12658 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * BufferView_pimpl.C (specialChar): delete new inset if we have
12661 not been able to insert it.
12663 * kbmap.C: revert to using int instead of kb_action, since all we
12664 are dealing with is pseudo-actions.
12666 * LyXAction.C (searchActionArg): change to return int instead of
12667 kb_action, since the result is a pseudoaction.
12669 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12671 * buffer.C (insertErtContents): Fix (partially) the font bug.
12673 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12675 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12676 as the other one is broken on my machine!
12678 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12681 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12683 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12685 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12686 reflect their actual use. Provide compatibility code for older lyxrc
12689 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12691 change names of popup font variables in line with the changes to lyxrc.C
12693 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12695 * buffer.C (asciiParagraph): avoid outputing a word twice after
12698 * lyxrc.C (getDescription): document that document_path and
12699 template_path can be empty.
12701 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12703 * LaTeXFeatures.C (getMacros):
12704 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12706 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12708 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12710 (getPackages): rename feature "floats" to "float". Use an array to
12711 iterate over 'simple' features (i.e. just a \usepackage). Add
12712 handling of "amsmath" (renamed from "amsstyle").
12714 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12716 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12719 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12721 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12722 FuncStaus::FuncStatus & FuncStaus::some_method().
12724 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12726 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12727 of the func_satus stuff. Edited and massaged in various ways by
12730 * lyxfunc.C (getStatus): use FuncStatus
12732 2002-01-08 Juergen Vigna <jug@sad.it>
12734 * text.C (nextBreakPoint): use function Inset::isChar().
12736 * paragraph.C (TeXOnePar): use function
12737 Inset::forceDefaultParagraphs.
12739 * buffer.C (latexParagraphs): use function
12740 Inset::forceDefaultParagraphs.
12742 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12744 * lyx_gui.C (init): set the style of the menu popups to
12745 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12747 2002-01-07 Juergen Vigna <jug@sad.it>
12749 * text.C (setHeightOfRow): small fix
12750 (prepareToPrint): don't look at alignment if we don't have the place
12753 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12755 * box.C: New file. Move the Box methods and functions out of box.h,
12756 following Lars' suggestion.
12758 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12760 * box.h: #include "support/LOstream.h", needed for inlined function.
12763 * lyxtextclasslist.C: added some using std declarations.
12765 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12767 * box.h: make signed dimensions to allow insets wider than
12768 the screen (bug #162)
12770 * BufferView_pimpl.C: add some insetHit debug
12772 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12774 * vc-backend.C: add FIXME
12776 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12778 * lyxfunc.C (getStatus): enable code for showing math font status
12781 2002-01-07 Juergen Vigna <jug@sad.it>
12783 * text.C (nextBreakPoint): removed debug output not needed anymore.
12785 2002-01-06 Juergen Vigna <jug@sad.it>
12787 * text.C (nextBreakPoint): fixed up this function we had this bug
12788 since ever but now hopefully we break row better.
12789 (insertChar): we have to check if an inset is the next char as it
12790 could now happen that a large inset is causing a break.
12792 2002-01-05 Juergen Vigna <jug@sad.it>
12794 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12795 if it doesn't like to be drawed.
12797 2002-01-04 Juergen Vigna <jug@sad.it>
12799 * BufferView2.C (lockInset): forgot to set a cursor.
12801 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12803 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12805 * FormMathsPanel.C:
12808 * form_maths_panel.C:
12809 * form_maths_panel.h:
12810 * form_maths_panel.fd: implemented sub- and super- buttons in math
12813 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12814 (or ^ space) to be used as in TeX (req'd by André).
12816 * lyxfunc.C: Allow ^ and _ again to be used both as
12817 super/subscript (mathed) and as themselves (in text).
12819 2002-01-03 Allan Rae <rae@lyx.org>
12821 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12822 "LyX" or the filename of the current buffer if it has one. This is a
12823 modified form of John Levon's patch.
12825 * XFormsView.C (setWindowTitle): also set icon title.
12827 * LyXView.h (setWindowTitle): signature changed.
12828 * XFormsView.h (setWindowTitle): ditto.
12830 2002-01-02 Juergen Vigna <jug@sad.it>
12832 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12834 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * screen.C (topCursorVisible): introduce a temp var for
12837 text->cursor.row(), handle the case where this row is null. (kindo
12840 * text2.C (setCursor): add a couple of asserts.
12842 * paragraph.h (inset_iterator): add -> operator
12844 * paragraph.[Ch] (autoDeleteInsets): remove member function
12846 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12847 cursor pos correctly and handle inset deletion by itself.
12848 (insertErrors): move iterator declaration out of for expression
12850 * lyxtextclass.C: add <algorithm>
12852 * Makefile.am: added the new files to sources, removed layout.C
12854 * layout.C: removed file
12856 * layout.h: remove LYX_DUMMY_LAYOUT
12858 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12862 * lyxtextclass.[Ch]:
12863 * lyxtextclasslist.[Ch]: new files
12865 * include order changes to a lot of files, also changes because of
12868 2001-12-27 Juergen Vigna <jug@sad.it>
12870 * buffer.C (asciiParagraph): more fixes.
12872 * tabular.C (ascii): make ascii export support export of only the
12873 data separated by a column-delimiter.
12874 (ascii): better support for ascii export.
12876 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12878 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * tabular_funcs.C: use a "using std::getline" instead of the
12881 previous fix from Angus (necessary for cxx + lyxstring)
12883 2001-12-24 Juergen Vigna <jug@sad.it>
12885 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12887 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12888 problems. First check a minipage also if we have some ert-contents
12889 (not only on par->size(), second set the right depth of the paragraph
12890 on the relink to the root-paragraph-list!
12892 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12893 which then did not anymore update the main paragraphs on undo/redo!
12895 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12898 code. Support all font-changing funcs (even those which are not in
12899 menu currently). Support for reporting font settings in
12900 mathed (disabled until Andre provides a function on mathed's side).
12902 * func_status.h (toggle): small helper function to set toggle
12905 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12907 * tabular_funcs.C: getline -> std::getline
12909 2001-12-21 Juergen Vigna <jug@sad.it>
12911 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12912 accessed and could be 0 (I couldn't generate this but it seems
12915 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12918 * tabular_funcs.h: here and include iosfwd
12920 2001-12-20 Juergen Vigna <jug@sad.it>
12922 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12923 inside inset but undo_par was.
12925 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12927 * Thesaurus.C: always include <config.h> in sources.
12931 * box.h: do not include <config.h> in header files
12933 * text.C (paintLastRow): remove unused variable
12935 * text.C (transformChar):
12937 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12939 * Painter.C (text):
12940 * font.C (width): rewrite to use uppercase() instead of
12943 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12945 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12947 * lyxfind.C: clean up of find failure position change
12949 2001-12-20 Juergen Vigna <jug@sad.it>
12951 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12953 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12954 (TeXRow): added to LaTeX a single tabular row.
12955 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12956 (Latex): simplified and finally good LT-h/f support.
12957 (various_functions): just small adaptions for LT-h/f support.
12959 * tabular_funcs.[hC]: added and moved here all not classfunctions
12962 2001-12-19 Juergen Vigna <jug@sad.it>
12964 * tabular.[Ch]: better support for longtabular options (not finished
12967 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12969 * text.C (paintLastRow): use the label font instead of the font of
12970 the last character to compute the size of *_BOX. This makes more
12971 sense and avoids a crash with empty paragraphs.
12972 Use Painter::rectangle to draw EMPTY_BOX.
12974 2001-12-19 Juergen Vigna <jug@sad.it>
12976 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12977 the paragraphs if the replaced paragraph is not the first one!
12978 Tried to delete not used paragraphs but does not work yet so for
12979 now it's inside #ifdef's and by default off!
12981 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12983 * MenuBackend.C: include "lyx_main.h" instead of declaring
12984 lastfiles (actually was declared as LastFiles* instead of a
12987 2001-12-17 Juergen Vigna <jug@sad.it>
12989 * tabular.C (AppendColumn): applied John's fix
12991 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12995 * BufferView_pimpl.h:
12996 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12999 * box.h: new start of class for above
13001 * lyxfunc.C: ignore space-only minibuffer dispatches.
13002 Show the command name when it doesn't exist
13004 * minibuffer.C: don't add empty lines to the history
13006 * minibuffer.C: add a space on dropdown completion
13008 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13010 * text.C: fix line above/below drawing in insets
13012 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * lyxlength.C (LyXLength): Initialize private variables.
13016 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13019 when inserting error insets.
13021 2001-12-13 Juergen Vigna <jug@sad.it>
13023 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13024 actually sometimes the before-paragraph.
13025 (setUndo): don't clear the redostack if we're not actually undoing!
13027 2001-12-06 Juergen Vigna <jug@sad.it>
13029 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13030 and fixed redoing of main paragraph, so we can use it now ;)
13032 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13034 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13036 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13039 2001-12-13 André Pönitz <poenitz@gmx.net>
13042 * undo_func.C: minor cleanup
13044 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13046 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13047 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13048 font in urw-fonts package which is marked as -urw-fontspecific and
13049 does not work (incidentally, changing the encoding in the
13050 fonts.dir of this package to -adobe-fontspecific fixes the
13053 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13054 is a crash when undoing first paragraph (Juergen, please take a
13055 look). THis does not mean the undo fix is wrong, just that it
13058 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13059 the (Paragraph*) version when needed instead of duplicating the
13062 * text.C (workWidth): use Inset::parOwner to find out where the
13063 inset has been inserted. This is a huge performance gain for large
13064 documents with lots of insets. If Inset::parOwner is not set, fall
13065 back on the brute force method
13067 * paragraph_pimpl.C (insertInset):
13068 * paragraph.C (Paragraph):
13069 (cutIntoMinibuffer): set parOwner of insets when
13070 inserting/removing them
13072 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13074 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13080 * mathed/formulabase.C:
13081 * mathed/math_cursor.[Ch]:
13082 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13085 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * lyxlength.[Ch] (operator!=): new function
13089 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13091 * text.C (workWidth): use Inset::parOwner to find out where the
13092 inset has been inserted. This is a huge performance gain for large
13093 documents with lots of insets. If Inset::parOwner is not set, fall
13094 back on the brute force method
13096 * paragraph_pimpl.C (insertInset):
13097 * paragraph.C (Paragraph):
13098 (cutIntoMinibuffer): set parOwner of insets when
13099 inserting/removing them
13101 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13103 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * tabular-old.C (getTokenValue):
13106 * tabular.C (getTokenValue):
13107 (write_attribute): new versions for LyXLength
13108 (everywhere): adjust the use of widths
13110 * tabular.h: change the type of widths from string to LyXLength
13112 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13114 * paragraph.C: fixed missing line number count when exporting
13115 Environments to LaTeX file
13117 * buffer.C: added informational message for checking line numbers.
13119 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13121 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13122 paragraph, do the 'double space' part, but not the 'empty
13125 * text.C (workWidth): small optimization
13126 (getLengthMarkerHeight): use minimal size for negative lengths.
13128 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13130 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13132 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13134 2001-12-11 André Pönitz <poenitz@gmx.net>
13137 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13139 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13141 * text2.C: keep selection on a setFont()
13143 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13145 * lyx_cb.C: another bv->text misuse, from insert label
13147 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13150 * kbsequence.C: re-instate nmodifier mask
13152 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13154 * lyx_main.h: make lyxGUI private.
13156 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13158 * lyxfind.C: place the cursor correctly on failed search
13160 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13162 * text.C (getLengthMarkerHeight): for small heights, the arrows
13163 are not always on top/bottom of the text
13164 (drawLengthMarker): smaller arrows; take the left margin in
13165 account; draw also vfills.
13167 (paintLastRow): remove special code for vfill and standard spaces,
13168 since everything is handled in drawLengthMarker now.
13170 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * buffer.C (insertErtContents): try to handle font and language
13173 interaction a bit better.g
13175 * ColorHandler.C (updateColor): change the hash to cover the whole
13176 LColor enum, ws cleanup
13177 (getGCLinepars): ditto
13178 (getGCLinepars): only lookup in the linecache once.
13180 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13182 * iterators.C (operator++): Make the iterator more robust
13184 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13188 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13191 * text.C: better added space drawing
13193 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13196 * BufferView2.C: fix layout combo update on inset unlock
13198 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13200 * Makefile.am: don't compile unused files
13202 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13206 * LyXAction.C: remove old LFUN_LAYOUTNO
13208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13210 * paragraph_pimpl.h:
13211 * paragraph_pimpl.C: isTextAt() doesn't need font param
13213 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13216 * lyxlex.C: little cleanup
13218 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13220 * BufferView_pimpl.C: fix insertAscii for insets
13222 2001-12-05 Juergen Vigna <jug@sad.it>
13224 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13225 set the right font on the "multi" paragraph paste!
13227 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * lyxlength.C: remove out-commented code.
13235 * BufferView_pimpl:
13249 * vc-backend.C: change "while(" to "while ("
13251 * lyxlength.[Ch]: add zero function to check if length is zero or
13253 * lyxgluelength.C: use it
13255 2001-12-05 Allan Rae <rae@lyx.org>
13257 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13258 Works for 2.95.3, from what I understand of Garst's reports this should
13259 work for other g++ versions. We're screwed if the abs(int) definition
13260 changed between bugfix releases of gcc.
13262 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13264 * text.C: fix chapter label offset !
13266 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13269 * text.C: fix hfill at end of line, clean up
13271 2001-12-04 Juergen Vigna <jug@sad.it>
13273 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13274 that we force an update of the inset and it's owners if neccessary.
13276 2001-12-03 Juergen Vigna <jug@sad.it>
13278 * text.C (rowLast): simplified code
13280 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13282 * lyxfunc.C: fix show options on timeout
13284 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * screen.C (topCursorVisible): scroll half a page when the cursor
13287 reached top of bottom of screen
13289 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13291 * minibuffer.C: deactivate on loss of focus
13293 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * vspace.[Ch] (operator!=): add operator.
13297 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13299 * BufferView_pimpl.C: refuse to open an inset when
13300 there's a selection.
13302 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13304 * BufferView_pimpl.C: allow to click on RHS of full row insets
13306 2001-11-30 Juergen Vigna <jug@sad.it>
13308 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13309 insets for undo reasons.
13311 2001-11-28 André Pönitz <poenitz@gmx.net>
13313 * vspace.[Ch]: cosmetical changes
13315 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13325 * kbsequence.C: part re-write of old kb code
13328 * WorkArea.C: remove Lgb_bug_find_hack
13330 2001-11-30 José Matos <jamatos@fep.up.pt>
13332 * buffer.C (makeDocBookFile): add a comment to point a hack.
13333 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13334 Fixed a double write of labels.
13336 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13339 * LaTeX.h Fixed bug in LaTeX class where it would not
13340 re-run latex if no depfiles were changed, but the .dvi was removed.
13342 2001-11-28 André Pönitz <poenitz@gmx.net>
13344 * all the files from the change on 2001/11/26:
13345 use lyx::layout_type instead of LyXTextClass::size_type
13346 use lyx::textclass_type instead of LyXTextClassList::size_type
13348 2001-11-29 Juergen Vigna <jug@sad.it>
13350 * text.C: added support for paragraph::isFreeSpacing()
13352 * buffer.C: same as above
13354 * paragraph.h: inserted isFreeSpacing() function to enable
13355 FreeSpacing inside InsetERT.
13357 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13358 of the paragraph's in the cut/copy buffer to 0!
13360 * text2.C (removeRow): remove the assert as it can!
13362 * lyxtext.h: added helper function firstRow returning firstrow and
13363 made firstrow private again.
13365 * BufferView2.C (lockInset): don't relock if we're already locked!
13367 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13368 the only paragraph.
13369 (removeRow): added Assert::(firstrow)
13371 * debug.C: forgot to add INSETTEXT here.
13373 2001-11-28 Juergen Vigna <jug@sad.it>
13375 * sp_spell.C (initialize): changed error text to more general
13376 spellchecker command use (not only ispell!)
13378 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13380 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13382 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13384 * vspace.C: initialise lyxgluelength on failure
13386 2001-11-28 Allan Rae <rae@lyx.org>
13388 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13389 declaration & definition that looks like a function declaration.
13391 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13393 * BufferView2.C (copy):
13394 (copyEnvironment): do not clear the selection when doing a copy.
13396 * text.C (paintFirstRow): compilation fix
13398 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13400 * tabular.C (Latex): correct line count when writing latex.
13402 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13404 * paragraph_pimpl.h:
13405 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13408 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13412 * LColor.C: change vfillline->added_space
13414 * text.C: add markers and text for added space
13416 * vspace.C: fix comment
13418 2001-11-28 André Pönitz <poenitz@gmx.net>
13420 * paragraph.C: whitespace changes
13421 * all the other files from the change on 2001/11/26:
13422 change *::pos_type into lyx::pos_type
13424 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13426 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13427 language of the document when inserting error insets.
13429 2001-11-26 André Pönitz <poenitz@gmx.net>
13431 * BufferView_pimpl.[Ch]:
13439 * paragraph_pimpl.[Ch]:
13442 * text2.C: reduce header dependencies, introduce type for positions
13444 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13446 * <various>: change to use Alert.h
13448 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13450 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13451 when encountering an unknown token.
13452 (readLyXformat2): Show an error message if there were unknown tokens.
13454 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13457 * BufferView_pimpl.C:
13461 * text2.C: use par->isInset()
13463 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13465 * paragraph_pimpl.h:
13466 * paragraph_pimpl.C: cleanup
13468 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * text2.C (removeRow):
13471 * text.C (setHeightOfRow): remove useless (and costly) call to
13474 2001-11-20 Allan Rae <rae@lyx.org>
13476 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13477 Now need Inset*::checkInsertChar() to return true for appropriate
13478 cases so that the characters in the minibuffer will actually be
13481 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * text.C: change the order of the includes.
13484 (workWidth): initialize it at once.
13485 (workWidth): make maxw unsigned
13486 (setHeightOfRow): remove unused variable (inset)
13487 (selectSelectedWord): remove unused variable (inset)
13488 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13490 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13493 server is not running.
13495 (closeConnection): add debug info when server is disabled.
13497 * ColorHandler.C (getGCForeground): send debug message to GUI
13500 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13502 * kbmap.C (bind): modify because return conventions of
13503 kb_sequence::parse have changed.
13505 * kbsequence.C (parse): only ignore spaces and not any stupid
13506 control character. This avoids tests like s[i] <= ' ', which are
13507 guaranteed to fail with 8bit characters and signed chars.
13508 Change return code to string::npos when there have been no error
13509 (0 was a bad idea when error is at first character)
13511 2001-11-14 José Matos <jamatos@fep.up.pt>
13514 * buffer.C (simpleDocBookOnePar): removed unused argument.
13516 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13518 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13519 insets which are part of a word. Paragraph::isLetter takes care of
13520 that now. Use Paragraph::isInset to identify insets.
13521 (selectSelectedWord): do not test for hyphenation break.
13523 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13524 that protected spaces are considered as spaces.
13526 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13529 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13532 * lyxserver.C: fix it. and small cleanup.
13534 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13536 * BufferView_pimpl.C: use inline helpers
13539 * LaTeXFeatures.C: fix typos
13542 * Spacing.C: move spacing_string into class
13544 * ToolbarDefaults.C: move stuff into namespace anon
13546 * layout.h: update enum
13548 * lyxfunc.C: use better debug
13550 * minibuffer.h: fix typo
13554 * WorkArea.C: add and use Debug::WORKAREA
13558 * text2.C: code re-organisation, inline helpers
13560 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13562 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13563 std::vector.empty().
13565 2001-11-09 Allan Rae <rae@lyx.org>
13567 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13568 '\n's after tables. Tabular and ERT inset work now makes this no
13571 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13574 * minibuffer.C: fix crash, improve drop-down completion
13576 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13579 * lyxserver.C: invalidate fd's when doing endPipe()
13581 2001-11-08 José Matos <jamatos@fep.up.pt>
13583 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13584 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13587 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13589 2001-11-07 José Matos <jamatos@fep.up.pt>
13592 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13595 * buffer.C (sgmlOpenTag):
13596 * buffer.C (sgmlCloseTag): removed debug info.
13598 * buffer.h (sgmlOpenTag):
13599 * buffer.h (sgmlCloseTag): made public.
13601 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * buffer.C (saveParamsAsDefaults):
13604 * lyx_cb.C (MenuLayoutSave): remove
13606 * LyXAction.C (init):
13608 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13610 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * buffer.C (setPaperStuff): removed from here...
13614 * bufferparams.C (setPaperStuff): ... and moved there.
13616 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13620 * XFormsView.C: add support for drop-down completion
13622 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13624 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13627 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13632 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13634 * lyx_main.C: change ref to known bugs
13636 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13638 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13639 to work around older babel problems.
13641 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13643 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13645 2001-10-24 Juergen Vigna <jug@sad.it>
13647 * tabular-old.C (ReadOld): below variable changes reflected.
13649 * tabular.[Ch]: added ltType struct for longtable header/footer
13650 defines and changed all instances where they are used. Added
13651 future support for double top/bottom rows.
13653 2001-10-24 José Matos <jamatos@fep.up.pt>
13655 * buffer.h (docbookHandleCaption):
13656 * buffer.C (docbookHandleCaption): removed unused function.
13657 (makeDocBookFile): moved docbook supported version to v4.1.
13659 2001-10-24 José Matos <jamatos@fep.up.pt>
13662 * tabular.C (docbookRow): new function to export docbook code of a row.
13663 (DocBook): now honors the longtable flags.
13665 2001-10-23 José Matos <jamatos@fep.up.pt>
13668 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13669 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13671 * buffer.C (makeLinuxDocFile):
13672 (makeDocBookFile): reworked the preamble, more clean, and with
13673 support for lyx defined entities. Changed the document declaration
13674 to be more XML friendly.
13676 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13677 if we need to output XML that should be done with a filter.
13679 2001-10-22 Juergen Vigna <jug@sad.it>
13681 * sp_pspell.h (class PSpell): add alive function needed in the
13682 controller to see if the spellchecker could be started.
13684 2001-10-22 Juergen Vigna <jug@sad.it>
13686 * buffer.C (insertStringAsLines): modify the font for inserting
13687 chars in certain conditions by calling checkInsertChar(font).
13689 2001-10-19 Juergen Vigna <jug@sad.it>
13691 * text.C (workWidth): use getRow instead of wrong algorithm.
13692 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13694 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13699 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13701 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13703 * text.C (workWidth): do not search for the exact row when
13704 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13705 optimization for big documents.
13707 2001-10-18 Juergen Vigna <jug@sad.it>
13709 * text.C (workWidth): new function with added Inset * parameter.
13711 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13713 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13715 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13716 change return type of getColumnNearX.
13719 * text.C (changeRegionCase): use uppercase/lowercase instead of
13722 (rightMargin): simplify code by factoring out the uses of
13727 (appendParagraph): use Paragraph::size_type
13729 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * vspace.C (asLatexString): add a missing break
13733 2001-10-15 Herbert Voss <voss@perce.de>
13735 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13737 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13739 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13742 2001-10-10 André Pönitz <poenitz@gmx.net>
13744 * lyxfunc.C: removed greek_kb_flag.
13746 2001-10-10 Herbert Voss <voss@perce.de>
13748 * lyx_main.C: delete global string help_lyxdir.
13750 2001-10-09 Herbert Voss <voss@perce.de>
13752 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13754 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13756 * lyx_main.C: added global string help_lyxdir.
13758 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13760 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13762 * lyxrc.C (set_font_norm_type): support iso8859-4
13764 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13766 * LaTeX.C (deplog): add another regex for MikTeX
13768 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13770 * lyxrc.C (set_font_norm_type): support iso8859-3
13772 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13774 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13776 * LaTeXFeatures.C: remove special case of french and index
13778 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13779 before \begin{document}). This solves several incompatibilities.
13781 2001-10-03 Garst Reese <reese@isn.net>
13783 * lyx_cb.C: change CheckTex error msg.
13785 2001-10-03 José Matos <jamatos@fep.up.pt>
13787 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13789 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * .cvsignore: update
13793 * lyx_main.C (commandLineVersionInfo): use new style version info.
13795 * buffer.C (writeFile):
13797 (makeLinuxDocFile):
13798 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13800 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13802 * version.h: update to use stuff in version.C
13804 * version.C.in: new file. Contains version information determined
13805 at compile time. This is a merging of version.h and
13808 2001-10-03 Juergen Vigna <jug@sad.it>
13810 * BufferView_pimpl.C (update): don't change "dirty" status in
13813 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13815 * WorkArea.C (c-tor): re-position version string slightly.
13817 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13819 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13820 revert to previous code.
13822 WorkArea.[Ch]: (show, destroySplash): methods removed.
13824 WorkArea.C: rework code so that it's an amalgam of the codes before and
13825 after the splash screen was moved to WorkArea.
13827 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * vspace.C (inPixels):
13833 * buffer.C (insertStringAsLines):
13834 (asciiParagraph): fix types to be large enough
13836 * lyxlex_pimpl.h: change member status from short to int
13838 * layout.h: fix type of endlabeltype
13841 * kbsequence.C (parse): change return type to string::size_type
13843 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13846 * Bullet.C (bulletSize):
13847 (bulletEntry): do not use short ints as parameters
13849 * BufferView2.C (insertLyXFile): change a char to an int.
13851 * WorkArea.C (WorkArea): remove unneeded floats in computation
13853 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13855 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13857 * paragraph.C (asString): Do not ignore newline/hfill chars when
13858 copying to the clipboard.
13860 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13862 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13863 after a multi-line inset.
13865 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13867 * paragraph.C (validate): Set NeedLyXFootnoteCode
13869 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13871 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13872 and decrease-error to decrease.
13874 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13876 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13877 it more readable (should be equivalent)
13879 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13881 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13883 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13886 of a cursor (row, etc.) after a character has been deleted
13887 (deleteEmptyParagraphMechanism): call the method above on _all_
13888 cursors held by the LyXText when a double space has been
13891 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13893 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13895 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13897 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13898 background. Use greyOut() and the new show() methods to toggle between
13899 the foreground and background. Add code to remove the splash after
13900 its initial showing.
13902 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13903 (create_forms): no longer call Dialogs::showSplash.
13905 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13907 * .cvsignore: add version_info.h
13909 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * version_info.h.in: new file
13913 * Makefile.am: add version_info.h.in
13915 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13916 version_info.h instead of VERSION_INFO
13918 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13920 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13921 The ERT inset now returns string().
13923 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13925 * lyxtext.h, text.C (selectNextWord): renamed as
13926 selectNextWordToSpellcheck.
13928 * text.C (selectNextWordToSpellcheck): Modified to not select
13929 words inside an ERT inset.
13931 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * lyx_cb.C (MenuLayoutSave): change a bit the question
13935 * sp_base.h: include <sys/types.h>
13937 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13939 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13941 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13943 * several files: fix typos in user-visible strings
13945 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * text2.C (pasteSelection): do not set the selection, since it
13948 will be cleared later. Actually, the intent was to fix the way the
13949 selection was set, but I figured rmoving the code was just as good.
13951 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13953 * FontLoader.C (available): Check if font is available without
13956 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13958 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13960 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13962 * lyxrc.[Ch]: added display_graphics variable and associated code.
13964 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13966 * bufferparams.C (hasClassDefaults): new method. Returns true if
13967 the buffer parameters correspond to known class defaults
13969 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13971 * XFormsView.C (show): set minimum size to the main window.
13973 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13975 * text2.C (copySelection):
13977 * lyxfind.C (LyXReplace):
13978 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13979 LyXText::selectionAsString.
13981 * paragraph.C (asString): add "label" argument to the second form
13983 * text2.C (selectionAsString): add "label" argument and pass it to
13984 Paragraph::asString.
13986 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * lyx_main.C (commandLineHelp): remove version information
13990 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13992 * lyx_main.C: add -version commandline option
13994 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13996 * paragraph.h: make the optional constructor arg required instead.
13997 some modifications to other files because of this.
13999 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14001 * lyxserver.C (C_LyXComm_callback): make it static
14003 * lyx_main.C (error_handler): make it static
14005 * lyx_gui.C (LyX_XErrHandler): make it static
14007 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14009 * WorkArea.C: make the extern "C" methods static.
14011 * Makefile.am (lyx_LDADD): simplify
14013 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14015 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14016 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14018 * LyXAction.C (init):
14019 * lyxfunc.C (dispatch): associated code removal.
14021 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * lyxfont.h (isSymbolFont): shut off warning
14025 * text.C (setHeightOfRow):
14026 (getVisibleRow): fix crash with empty paragraphs which have a
14029 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14031 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14034 2001-09-04 José Matos <jamatos@fep.up.pt>
14037 * tabular.C (docbook): rename docBook method to docbook.
14039 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14041 * Makefile.am: add dependencies to main.o.
14043 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14045 * FontLoader.C (available): Return false if !lyxrc.use_gui
14047 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14049 * FontInfo.C (query):
14050 * converter.C (view):
14051 * importer.C (Import):
14052 * exporter.C (Export): Can not -> cannot.
14054 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14056 * BufferView_pimpl.C: allow to create index inset even if
14059 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14061 * buffer.C (getLists): replace boost::tie code with an explicit pair
14062 as boost::tie can break some compilers.
14064 * iterators.h: Added a std:: declaration to the return type of
14067 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14069 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14072 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14074 * iterators.[Ch]: New files. Provide paragraph iterators.
14076 * buffer.C (changeLanguage): Use paragraph iterators.
14077 (isMultiLingual): ditto
14079 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14081 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14083 * FontLoader.C: Support for cmr font.
14085 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14087 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14088 (available): New method.
14090 * FontInfo.C (getFontname): Use scalable fonts even when
14091 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14094 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14096 * converter.C (Formats::view): reverted! Incorrect fix.
14098 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14100 * converter.C (Formats::view): only output the -paper option
14101 if the dvi viewer is xdvi, thereby fixing bug #233429.
14103 2001-08-23 Herbert Voss <voss@perce>
14105 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14107 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14109 * Spacing.h (Spacing): Set space to Default on in the default
14112 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * vc-backend.h (RCS::versionString): add RCS to version
14115 (CVS::versionString): add CVS to version
14117 * vc-backend.C (scanMaster): do not add CVS to version.
14118 (scanMaster): do not add RCS to version
14120 * lyxvc.C (versionString): new method
14122 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14124 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14126 * Spacing.C (set): initialize fval
14128 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14130 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14133 2001-08-16 Juergen Vigna <jug@sad.it>
14135 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14137 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.C:
14142 * text2.C: setParagraph takes linespacing now
14144 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14146 * LyxAction.C: add internal LFUN_CITATION_INSERT
14148 * LyXView.C: actually apply fix
14150 * bufferlist.C: fix open non-existent file
14152 * lyxfind.C: fix indentation
14154 * lyxfunc.C: remove unneeded assert, fix typo
14156 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14158 * MenuBackend.C: use "Floatname List"
14160 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14162 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14163 when converting LaTeX layout to insetERT.
14164 Generate a non-collapsed float when reading old float
14166 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14168 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14171 2001-08-13 Juergen Vigna <jug@sad.it>
14173 * text.C (fill): return 0 instead of 20 as this seems to be the more
14176 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14178 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14181 2001-08-13 Juergen Vigna <jug@sad.it>
14183 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14185 (SearchBackward): comment out the unlocking of the inset_owner this
14186 should not be needed!
14188 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14190 * Many files: Remove inherit_language, and add latex_language
14192 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14193 collapsible insets.
14195 2001-08-10 Juergen Vigna <jug@sad.it>
14197 * text.C (prepareToPrint): fixed hfill-width in draw!
14199 * BufferView2.C (selectLastWord): save the selection cursor as this
14200 now is cleared in the function LyXText::clearSelection!
14202 2001-08-08 Juergen Vigna <jug@sad.it>
14204 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14205 BACKSPACE type functions.
14207 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14208 is only cutted from the document but not put in the cut-buffer, where
14209 still the old stuff should be.
14211 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14213 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14215 * tabular.C (SetWidthOfCell): fixed special case where the width
14217 (LeftLine): handle '|' in align_special.
14219 (LeftAlreadyDrawed): ditto
14220 (SetWidthOfCell): ditto
14222 2001-08-07 Juergen Vigna <jug@sad.it>
14224 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14226 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14229 * lyxlex.[hC]: ditto
14231 2001-08-06 Juergen Vigna <jug@sad.it>
14233 * text.C (getVisibleRow): fix up row clearing a bit.
14235 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * minibuffer.C: make sure the X server sees the changes in the input.
14239 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * paragraph.C (getFont): split into...
14242 (getLabelFont): this
14243 (getLayoutFont): and this
14244 * paragraph_pimpl.C (realizeFont): calling this
14246 * text2.C (getFont): split into...
14247 (getLayoutFont): this
14248 (getLabelFont): and this
14249 (realizeFont): all three calling this
14251 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14254 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14256 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14258 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14260 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14261 layouts from the Quote inset insertion.
14263 2001-08-03 Juergen Vigna <jug@sad.it>
14265 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14267 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14268 only if status not is already CHANGED_IN_DRAW (second level).
14270 * text.C (draw): don't set the need_break_row when inside an
14273 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14275 * buffer.C (parseSingleLyXformat2Token): handle more latex
14278 * bufferview_funcs.[hC]: change function names to
14279 begin with small char, adjust other files.
14281 2001-08-02 André Pönitz <poenitz@gmx.net>
14284 BufferView_pimpl.C: remove broken special code for math-greek
14286 2001-08-02 Juergen Vigna <jug@sad.it>
14288 * BufferView_pimpl.C (update): redone this function so that we
14289 update the text again if there was a CHANGE_IN_DRAW.
14291 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14292 (drawFromTo): added a new internal bool which is used by draw() and
14294 (general): some cursor drawing problems fixed.
14296 2001-08-01 Juergen Vigna <jug@sad.it>
14298 * lyxfind.C (LyXFind): fixed
14299 (SearchForward): ditto
14300 (SearchBackward): ditto
14302 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14303 spurius drawing of the cursor in the main area.
14305 * text2.C (status): small fix which could lead to a segfault!
14306 (clearSelection): remove unneeded BufferView param.
14308 2001-08-01 André Pönitz <poenitz@gmx.net>
14310 * lyxfunc.C: small change due to changed mathed interface
14312 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14314 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14316 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14318 * lyxfunc.c: fail gracefully if file doesn't exist
14323 * BufferView_pimpl.C: IsDirWriteable() proto changed
14325 * LyXView.C: fix updateWindowTitle() to store the last title
14327 2001-07-31 Juergen Vigna <jug@sad.it>
14329 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14330 the font (wrong since using of Paragraph::highestFontInRange).
14332 * paragraph.C (highestFontInRange): added a default_size parameter.
14334 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14335 (setHeightOfRow): reformat
14337 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14339 * converter.[hC] + affected files: move to (inital-char)lowercase
14342 * ParagraphParameters.C (ParagraphParameters): remove commented code
14344 * PainterBase.[Ch]: remove commented code
14346 * LaTeXFeatures.h: add "bool floats" for float.sty
14348 * LaTeXFeatures.C (LaTeXFeatures): init floats
14349 (require): handle float
14350 (getPackages): do it with floats
14352 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14354 * BufferView_pimpl.C (Dispatch): improve handling of
14355 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14357 * commandtags.h: #include lyxfont.h here temporarily to avoid
14360 * bufferlist.h: include LString.h here.
14362 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14364 * text2.C (getStringToIndex): new method.
14366 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14368 * *: Reduced header file dependencies all over.
14370 2001-07-30 Baruch Even <baruch@lyx.org>
14372 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14374 2001-07-29 Baruch Even <baruch@lyx.org>
14376 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14378 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * ParameterStruct.h (endif): add a default constructor to make
14381 sure that all variables is initialized.
14383 * ParagraphParameters.C (ParagraphParameters): adjust
14385 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14388 index; also, check that there is something to index, and that it
14389 does not span over several paragraphs.
14390 (doubleClick): use WHOLE_WORD_STRICT for double click.
14392 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14394 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14397 2001-07-26 Baruch Even <baruch@lyx.org>
14399 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14400 an InsetFig figure, backwards compatible reading of old figure code.
14402 2001-07-27 Juergen Vigna <jug@sad.it>
14404 * text2.C: font.realize function adaption.
14406 * text.C (draw): add a warnings lyxerr text if needed.
14408 * layout.C: font.realize function adaption.
14410 * language.C: add inherit_language and implement it's handlings
14412 * bufferview_funcs.C (StyleReset): remove language parameter from
14413 font creation (should be language_inherit now).
14415 * bufferparams.C (writeFile): handle ignore_language.
14417 * paragraph.C (getFontSettings): the language has to be resolved
14418 otherwise we have problems in LyXFont!
14420 * lyxfont.C (lyxWriteChanges): added document_language parameter
14421 (update): removed unneeded language parameter
14423 * paragraph.C (validate): fixed wrong output of color-package when
14424 using interface colors for certain fonts in certain environments,
14425 which should not seen as that on the final output.
14427 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14429 * BufferView_pimpl.C:
14434 * LyXAction.C: add thesaurus support
14437 * lyxfind.C: add "once" parameter, for thesaurus, to not
14438 move to the next match
14440 2001-07-26 Juergen Vigna <jug@sad.it>
14442 * lyxfont.C (realize): honor ignore_language too!
14445 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14447 * text.C (draw): one place more for ignore_language to not draw
14450 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14452 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14454 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14456 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14457 the minipage conversion problem.
14459 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14461 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14464 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * BufferView.h: don't forward declare WorkArea
14468 * BufferView.C: don't include WorkArea.h
14470 2001-07-25 André Pönitz <poenitz@gmx.net>
14474 * lyxfunc.C: new LFUN 'math-space'
14476 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14478 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14480 * text2.C (toggleInset): call open/close
14482 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14484 * lyxfunc.C (dispatch): add debug for the disabled case
14486 * font.C (buttonText): make similar to rectText
14488 * buffer.C (readInset): comment out parsing of insetlist and
14491 * PainterBase.C (rectText): small correction
14493 * BufferView_pimpl.C: comment out insettheorem and insetlist
14494 * LyXAction.C: ditto
14495 * commandtags.h: ditto
14497 2001-07-24 Juergen Vigna <jug@sad.it>
14499 * text.C (draw): honor the ignore_language.
14501 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14503 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14505 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14508 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14510 * lyxtext.h: remove unused (and unimplemented) methods
14512 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14514 * text.C (getVisibleRow): honor background color
14517 * Painter.h: remove default color argument for fillRectangle
14519 * text.C (backgroundColor): new method
14521 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * text.C (getVisibleRow): adjust
14525 * font.[Ch] (rectText): new method, metrics
14526 (buttonText): new method, metrics
14528 * PainterBase.[hC]: make rectText and buttonText always draw and take
14531 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14533 * ToolbarDefaults.C (read):
14534 * MenuBackend.C (read): allow escaping in all strings
14536 * BufferView_pimpl.C (insertAndEditInset): new method.
14537 (Dispatch): use insertAndEditInset whenever appropriate.
14539 * BufferView_pimpl.C (insertNote): removed
14541 * BufferView_pimpl.C (smartQuote): new method, moved from
14542 BufferView; if an insetquote cannot be inserted, insert a '"'
14545 * BufferView2.C: remove insertCorrectQuote();
14547 * lyxfunc.C (getStatus): Add support for all remaingin
14548 inset-insert lfuns.
14550 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14552 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14553 command (necessary to pass " as parameter of self-insert.
14555 * text.C (selectWordWhenUnderCursor):
14556 (selectWord): add word_location parameter
14557 (selectWordWhenUnderCursor): same + remove special code for word
14559 (selectNextWord): use kind() to guess type of insetspecialchar,
14562 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14563 (insertErtContents): create ert insets as collapsed.
14564 (readInset): better compatibility code for Info inset.
14566 2001-07-20 Juergen Vigna <jug@sad.it>
14568 * lyxfunc.C (dispatch): use always LyXFind now!
14570 * text2.C (init): add a reinit flag so that the LyXText can be
14571 reinited instead of deleted and reallocated (used in InsetText).
14573 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14579 2001-07-18 Juergen Vigna <jug@sad.it>
14581 * text.C (selectNextWord): handle insets inside inset by calling
14582 always the bv->text functions so that we can go up the_locking_inset!
14584 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14585 in strange locations when inside an inset!
14587 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14588 handling to include insets.
14590 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14592 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * LyXAction.C (init):
14596 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14597 LIGATURE_BREAK, since the name is so stupid.
14599 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14601 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14604 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14606 * sp_form.[Ch]: remove.
14608 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14610 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14613 * src/buffer.C (readInset): ditto.
14615 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14617 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14618 menuSeparator(), endOfSentenceDot(), ldots() and
14619 hyphenationPoint(), which are therefore removed.
14620 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14622 * LyXAction.C (init):
14623 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14625 * paragraph.C (getWord): removed.
14627 * BufferView_pimpl.C (Dispatch): use last word or selection for
14628 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14630 * lyx_main.C (queryUserLyXDir): do not ask before creating
14631 user_dir, except if it has been named explicitely.
14633 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14635 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14636 a document of zero size.
14638 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14640 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14641 approriately in the c-tor and in require().
14642 (getPackages): output the appropriate LaTeX for natbib support.
14644 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14645 variables "use_natbib" and "use_numerical_citations" when reading the
14647 (readInset): read the various natbib cite commands.
14648 (validate): white-space change.
14650 * bufferparams.[Ch]: new variables "bool use_natbib" and
14651 "bool use_numerical_citations".
14652 (writeFile): output them in the LyX file.
14654 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14656 * lyxfunc.C (getStatus): add support for all the inset insertion
14659 * text2.C (insertInset):
14660 * paragraph.C (insetAllowed):
14661 * BufferView_pimpl.C (insertInset): update to take in account the
14662 renaming of insertInsetAllowed
14664 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14666 * text2.C (getInset): new method. returns inset at cursor position.
14668 * BufferView_pimpl.C (Dispatch): changes because of this.
14670 * LyXAction.C (init): rename open-stuff to inset-toggle.
14672 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14674 * text2.C (toggleInset): renamed from openStuff; use
14677 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14679 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14681 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14683 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14685 * buffer.C (readLyXformat2): Add filename to the error dialog
14687 2001-07-18 Juergen Vigna <jug@sad.it>
14689 * tabular.C (GetCellNumber): put an assert here instead of the check!
14691 2001-07-17 Juergen Vigna <jug@sad.it>
14693 * BufferView_pimpl.C (toggleSelection): adapted too.
14695 * text.C (selectNextWord): adapted for use with insets.
14696 (selectSelectedWord): ditto
14698 2001-07-17 Juergen Vigna <jug@sad.it>
14700 * sp_spell.C (PSpell): fix initialitation order.
14702 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14704 * paragraph.C: spacing
14706 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14708 * sp_spell.C: repair language selection for pspell
14710 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14712 * lyxfunc.h: change more methods to begin with lower char.
14714 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14716 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14717 for unknown layouts.
14719 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14721 * buffer.C (readLyXformat2): Generate an error dialog if there are
14724 2001-07-16 Juergen Vigna <jug@sad.it>
14726 * sp_spell.C: always compile ISpell part.
14728 * lyxrc.C: added use_pspell entry and it's handling.
14730 2001-07-13 Juergen Vigna <jug@sad.it>
14732 * sp_spell.C: removed double includes.
14734 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14736 Consistent use of Lsstream.h:
14737 * Lsstream.h: added using std::stringstream for consistencies sake.
14739 * buffer.C: removed using std::stringstream
14741 * lyxfont.C (stateText):
14742 * paragraph.C (asString):
14743 * text.C (selectNextWord, selectSelectedWord):
14744 * text2.C (setCounter):
14745 * vspace.C (asString, asLatexString):
14746 std::ostringstream -> ostringstream.
14748 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14750 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14751 * commandtags.h: add LFUN_HELP_ABOUTLYX
14752 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14754 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14756 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14758 * lyx_gui_misc.C: remove spellchecker
14759 * lyxfunc.C: showSpellchecker
14761 * sp_ispell.h: added
14762 * sp_pspell.h: added
14763 * sp_spell.C: added
14764 * sp_form.[Ch]: removed
14765 * spellchecker.[Ch]: removed
14767 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14769 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14771 (simpleTeXSpecialChars): Simply print the input character without
14772 any special translation if pass_thru is set.
14774 * layout.h: Added bool pass_thru to layout class for being able to
14775 implement pass through of a paragraph for Literate Programming.
14777 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14778 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14779 * layout.C (Read): add "passthru" to list of layout tags and add
14780 code to set the pass_thru boolean when it is read.
14782 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * trans_decl.h: remove allowed from KmodInfo
14786 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14787 remove allowed code
14790 * paragraph_pimpl.C (erase): use boost::prior
14792 * Painter.C (text): use data() instead of c_str() when length is
14794 * WorkArea.C (putClipboard): ditto
14795 * font.h (width): ditto
14797 * BufferView2.C: use it-> instead of (*it). for iterators
14799 * paragraph_pimpl.C: ditto
14800 * paragraph.C: ditto
14801 * minibuffer.C: ditto
14802 * language.C: ditto
14804 * encoding.C: ditto
14805 * counters.C: ditto
14806 * converter.C: ditto
14808 * Variables.C: ditto
14809 * TextCache.C: ditto
14810 * MenuBackend.C: ditto
14811 * LyXAction.C: ditto
14813 * FloatList.C: ditto
14814 * DepTable.C: ditto
14815 * ColorHandler.C (LyXColorHandler): ditto
14817 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14819 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14821 * text2.C (openStuff): reintroduce this method (which had been
14822 nuked in NEW_INSETS frenzy).
14824 * lyxfunc.C (Dispatch): when an action has not been handled, use
14825 its name in the error message, not its number.
14827 * paragraph.C (inInset): change method name to begin with lowercase.
14830 * text2.C: updates because of this.
14832 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * ToolbarDefaults.C (add): add spaces in error message
14836 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14839 (readLyXformat2): rename return_par to first_par, use lyxlex's
14840 pushToken and remove the manual push handling.
14841 (parseSingleLyXformat2Token): add another ert comp. variable:
14842 in_tabular, rename return_par to first_par. handle newlines better
14844 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14846 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14848 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14850 * text2.C (getParFromID): removed
14852 * buffer.C (getParFromID): new method moved form lyxtext.
14853 * BufferView2.C (insertErrors): adjust
14854 (setCursorFromRow): adjust
14855 * BufferView_pimpl.C (restorePosition): adjust
14856 * lyxfunc.C (Dispatch): adjust
14857 * undo_funcs.C (textUndo): adjust
14859 (textHandleUndo): adjust
14860 (textHandleUndo): adjust
14862 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * buffer.C: up' the LYX_FORMAT
14866 * lyxfont.h: turn NO_LATEX on as default
14868 * buffer.C (insertErtContents): new methods of tex style compability.
14869 (parseSingleLyXformat2Token): use it several places.
14870 * tabular.C (OldFormatRead): and here
14872 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * text2.C: remove some commented code.
14877 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14878 * trans.C: changes because of the above.
14880 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14882 * text2.C (setCounter): Fix counters bug with bibliography layout.
14884 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14887 own member functions
14888 (simpleTeXSpecialChars): ditto
14890 2001-07-06 Juergen Vigna <jug@sad.it>
14892 * a lot of files: changed the access to LyXText::status and the
14893 call of undo-functions.
14895 * undo.[Ch]: added a inset_id to the undo informations.
14897 * undo_funcs.[Ch]: added and moved here all undo functions.
14899 * lyxtext.h: give the status enum a weight, made status_ a private
14900 variable and made accessor functions for it, removed the whole bunch
14901 of undo-functions as they are now in their own file, make some
14902 functions publically available. Added function ownerParagraph with
14905 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14906 made InInset() a const function, added getParFromID() function.
14908 * buffer.[Ch]: added const version for inset_iterator functions,
14909 added getInsetFromID() function.
14911 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14912 changed undo functions for new version.
14914 2001-07-05 Juergen Vigna <jug@sad.it>
14916 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14917 unknow mechanism does not call the proper constructor but only this
14918 one also if I request the other!?
14920 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14924 * text2.C (LyXText): use initialization lists.
14926 * lyxtext.h (Selection): initialize set_ and mark_
14927 (init): remove method
14929 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14931 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14933 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * screen.[Ch]: change method names to begin with lowercase
14937 * BufferView_pimpl.C (updateScrollbar): simplify further and
14938 hopefully make it a bit faster.
14940 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14942 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14943 calling directly xforms functions.
14945 * Painter.C (Painter):
14946 * lyx_cb.C (MenuWrite):
14947 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14950 * lyx_gui.C: remove bogus guiruntime extern declaration.
14952 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14956 (redoDrawingOfParagraph): ditto
14957 (redoParagraphs): ditto
14958 (cutSelection): don't create a object for CutAndPaste use the
14959 static method directly
14960 (pasteSelection): ditto
14962 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14965 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * modifications to some other files because of this.
14969 * Makefile.am (lyx_SOURCES): add XFormsView
14971 * XFormsView.[Ch]: new files
14973 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14974 the main window. Move the gui dependent stuff to XFormsView
14976 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * tabular.C (GetCellInset): update cur_cell also in the row/col
14979 version of this function.
14981 * lyxfunc.C: no need to include figure_form.h here.
14987 * lyxvc.C: no need to include forms.h here.
14989 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14993 * lyxfunc.C (Dispatch):
14995 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14996 constructor argument.
14998 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15000 * paragraph.C (Paragraph): dont't clear, and just set layout.
15001 (makeSameLayout): use params's copy contructor.
15003 * ParagraphParameters.[Ch] (makeSame): delete method
15005 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15007 * Variables.[Ch]: fix indentation, rename set to isSet
15009 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15011 * lyxfunc.C (Dispatch): fix typo
15013 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15018 * bufferlist.C: include assert.h for emergencyWrite().
15020 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15022 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15023 give up at last (bug #425202) !
15025 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15031 * spellchecker.C: strip spellchecker options and bring up
15032 preferences tab instead
15034 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15037 the istringstream constructor
15039 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * paragraph.C (getLayout): fix return value
15043 * paragraph.h: do not declare getLayout as inline.
15045 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15047 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15049 * lyxcursor.h (operator<): new func
15050 (operator>): new func
15051 (operator>=): new func
15052 (operator<=): new func
15054 * text.C (changeCase): use selection.start and selection.end
15055 (changeRegionCase): require from to be <= to. Require par to be a
15058 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15060 2001-06-27 Juergen Vigna <jug@sad.it>
15062 * text.C (cursorLeftOneWord): changed to return the cursor and added
15063 overlay with BufferView * parameter which calls this one.
15065 (selectWord): use new getWord function.
15066 (changeCase): renamed from changeWordCase as and extended to work
15067 also on selections.
15069 * lyxtext.h: added enum word_location
15071 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15072 changeCase as this operates now also on selections.
15074 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15076 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15078 * many files: send debug output to Debug::INFO instead of
15081 * converter.C (View):
15083 (Move): send debug output to Debug::FILES instead of console.
15085 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15087 * lyxfunc.C (getStatus): use func_status
15089 * func_status.h: new header, describing the results of
15090 LyXFunc::getStatus;
15092 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15095 2001-06-25 The LyX Project <jug@sad.it>
15097 * buffer.C (sgmlOpenTag):
15099 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15101 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * text2.C: remove some dead code
15105 * tabular.C (GetCellInset): store the last cell checked (gotten)
15107 * tabular.h: add the helper for the speedup
15109 * lyxtext.h: remove some dead code
15111 2001-06-26 The LyX Project <Asger>
15113 * paragraph.C: Change export to LaTeX of alignment to
15114 \begin{center} and family for better roundtrip work with reLyX.
15116 * Tune the math drawing a bit.
15118 2001-06-25 The LyX Project <Asger>
15120 * LColor.C (LColor): New color for math background. New color
15123 2001-06-25 The LyX Project <jug@sad.it>
15125 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15127 * lyxfunc.C (Open):
15128 * bufferlist.C (newFile): do not restrict to files ending with
15131 * BufferView_pimpl.C (MenuInsertLyXFile):
15133 2001-06-24 The LyX Project <jug@sad.it>
15135 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15138 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * lyxtext.h: rename most methods to begin with a small char.
15141 Lots of changes because of this.
15143 * paragraph.C (Paragraph): do not call fitToSize
15144 (erase): call Pimpl::erase
15145 (insertChar): call Pimpl::insertChar
15146 (insertInset): call Pipl::insertInset
15147 (breakParagraph): do not call fitToSize
15148 (breakParagraphConservative): do not call fitToSize
15149 (fitToSize): remove method
15151 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15153 2001-06-24 The LyX Project <Asger>
15155 * Fix Qt compilation^2
15157 2001-06-24 The LyX Project <jug@sad.it>
15159 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15160 depthHook(getDepth()-1).
15163 * ParagraphParameters.h:
15164 * ParameterStruct.h: change type of depth to unsigned int ==
15165 depth_type. Many adaptations to other files before of that.
15167 2001-06-24 The LyX Project <Asger>
15169 * Fix Qt compilation.
15171 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15173 * paragraph.h: renamed several methods to begin with small letter.
15174 several changes to many parts of the code because of this.
15176 2001-06-23 The LyX Project <jug@sad.it>
15178 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15179 rewritten to discard all double spaces when KeepEmpty is off
15180 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15181 to only handle newlines but not fiddle with spaces and friends.
15183 * lyxfunc.C (MenuNew): when doing 'new from template', use
15184 template_path as default directory
15186 2001-06-23 The LyX Project <Asger>
15188 * Clean-up of header file includes all over
15189 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15191 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * paragraph.h: renamed from lyxparagraph.h
15195 2001-06-23 Asger <lyx@violet.home.sad.it>
15197 * Buffer.h: Removed Buffer::resize
15198 * BufferList.h: Removed BufferList::resize
15199 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15200 the document lazily when we change the width, or the font settings.
15202 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15204 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15206 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15208 * buffer.h: remove out of date comment
15210 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15213 * screen.C: fix "theoretical" GC leak
15215 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * LaTeX.C (scanAuxFile):
15218 (deplog): remove trailing \r when reading stream (useful under
15221 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15223 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15224 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15225 and BufferView::theLockingInset(Inset*), so should use them and not
15226 access bv_->text->the_locking_inset directly.
15228 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15230 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15233 * tex-defs.h: remove old unused file
15235 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15237 * BufferView_pimpl.C: fix typo, remove minibuffer message
15238 when buffer has loaded
15240 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15242 * lyxfunc.C (Dispatch): use stringstream
15243 (MenuNew): use stringstream
15244 (Open): use stringstream
15246 * importer.C (Import): use stringstream
15248 * bufferview_funcs.C (CurrentState): use stringstream
15250 * LaTeX.C (run): use stringstream
15252 * BufferView_pimpl.C (savePosition): use stringstream
15253 (restorePosition): use stringstream
15254 (MenuInsertLyXFile): use stringstream
15256 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15269 * vspace.C: removed // -*- C++ -*- as first line.
15272 * version.h: added // -*- C++ -*- as first line.
15274 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15278 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15281 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15283 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15286 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * gettext.C: include LString.h even when --disable-nls is on.
15290 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15292 * converter.h (Get): changed argument type from int to
15293 FormatList::size_type to avoid unnecessary conversion.
15295 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15298 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * gettext.h: include LString.h even when --disable-nls is on.
15302 2001-06-07 Juergen Vigna <jug@sad.it>
15304 * text.C (BreakAgain): subst spaces with tabs.
15306 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15307 (resizeInsetsLyXText): set force on resizeLyXText.
15309 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15311 * gettext.h (gettext_init):
15312 (locale_init): use a real definition instead of a macro
15314 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15316 * Bufferview_pimpl.C:
15318 * LColor.C: further lcolor tidies
15320 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * BufferView_pimpl.C (updateScrollbar): simplify.
15324 * BufferView2.C: don't include insets/insetinfo.h, change
15325 prototype for insertInset and call the Pimpl version. let
15326 updateInset call Pimpl version.
15328 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15329 gotoInset to BufferView::Pimpl
15331 2001-06-01 Juergen Vigna <jug@sad.it>
15333 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15334 inside a LockingInset (is the update needed at all?).
15336 2001-05-31 Juergen Vigna <jug@sad.it>
15338 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15339 here not the old one otherwise how should we compare it afterwards
15342 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * FontInfo.C: bring C functions into global namespace when
15350 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * LString.h: make sure config.h has been loaded before LString.h.
15354 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15355 (one for each char read by EatLine!).
15357 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15360 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15363 to the same as the par we break from
15365 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15369 * MenuBackend.C (expand): also create menu entries for wide
15370 versions of the floats.
15372 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15374 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15376 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15377 frontends/Makefile.am
15383 * tabular.C (getTokenValue): add std::
15385 * tabular-old.C (getTokenValue): add std::
15386 (getTokenValue): ditto
15387 (getTokenValue): ditto
15389 * screen.C (ToggleSelection): adjust
15391 * lyxtext.h: put selection cursors inside a Selection struct.
15393 * lyxfunc.C (moveCursorUpdate): adjust
15395 * lyxfont.C (latexWriteStartChanges): add std::
15397 * lyxfind.C: adjust
15399 * font.h: delete with(char const *, LyXFont const &)
15401 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15403 * FontInfo.C (getFontname): add std::
15405 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15406 (workAreaButtonPress): adjust
15407 (tripleClick): adjust
15409 (moveCursorUpdate): adjust
15412 * BufferView2.C (gotoInset): adjust
15414 2001-05-30 Juergen Vigna <jug@sad.it>
15416 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15417 to check pspell I add this as default as I now have new pspell
15418 libraries and they seem to use this.
15420 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * text2.C (CutSelection): make the cursor valid before the call to
15425 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15428 relied on 0 terminated strings and other horrors. Bug found due to
15429 the new assert in lyxstring!
15431 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15434 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15439 * lyxfunc.C (processKeySym): change method of getting to the
15442 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15443 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15444 * BufferView_pimpl.[Ch]: here as private methods.
15446 2001-05-28 Juergen Vigna <jug@sad.it>
15448 * text.C (SetHeightOfRow): added the update() call again as it is
15449 needed to initialize inset dimensions!
15451 2001-05-16 Juergen Vigna <jug@sad.it>
15453 * text2.C (SetCharFont): Add new function with BufferView * and
15454 bool toggleall parameters for setting insets internal fonts.
15455 (SetFont): Freeze the undo as we may change fonts in Insets and
15456 all this change should be inside only one Undo!
15458 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15459 setting font's in insets as for them we have the SetFont function!
15461 2001-05-15 Juergen Vigna <jug@sad.it>
15463 * text2.C (ClearSelection): to be sure we REALLY don't have any
15466 * tabular.C (TeXCellPreamble): fixed the left border problem for
15469 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15471 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15474 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15477 LFUN_BREAKPARAGRAPH.
15479 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15480 help test to "internal only", similar for LFUN_INSERT_URL
15482 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15483 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15484 auto_region_delete and deadkeys.
15486 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15489 * LColor.C: remove some dead entries, tidy a little
15491 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15493 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15495 (Dispatch): implement LFUN_ESCAPE
15497 * commandtags.h: add LFUN_ESCAPE
15499 * LyXAction.C (init): add entry for LFUN_ESCAPE
15501 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15502 Remove commented code.
15503 (insertNote): moved here
15504 (open_new_inset): moved here
15506 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15509 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * kbmap.C (findbinding): clean it up and make it work correctly.
15513 * lyx_main.C (init): do not pass argc and argv as parameters
15515 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15517 * buffer.C: fix path for OS/2 & Win32
15521 * lyx_main.C: Added os:: class.
15523 * os2_defines.h: update
15525 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15528 better by trying again with reduced state.
15530 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15532 * lyxrc.C (read): print error about invalid key sequence only when
15533 debugging (because not all latinX keysyms are known to some X
15536 * kbsequence.C (getiso): add a few std:: qualifiers
15537 (getiso): comment out extra return statement.
15539 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15541 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15543 (Dispatch): enhance the accent inset a bit. (not perfect)
15545 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15549 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * bufferlist.C (emergencyWrite): fix assert() call
15553 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15555 * text.C (InsertChar): Added trivial patch to only send the "you
15556 can not do multiple spaces this way" message once during a
15559 2001-05-08 Baruch Even <baruch@lyx.org>
15561 * Makefile.am: Changed order of libraries to get LyX to link properly
15562 with the gnome frontend.
15564 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * LaTeXFeatures.h: add a std:: qualifier
15568 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15570 * paragraph.C (String): use stringstream
15572 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * paragraph.C (writeFile): remove footflag arg
15576 * buffer.C (makeLaTeXFile): use stringstream
15577 (latexParagraphs): remove footnot gurba
15579 * LaTeXFeatures.C (getPackages): use stringstream
15580 (getMacros): likewise
15581 (getTClassPreamble): likewise
15582 (getFloatDefinitions): new method
15584 * paragraph.C (writeFile): reindent
15587 * WorkArea.h: revert the xpos + etc changes.
15589 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15591 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15593 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15594 (pasteSelection): likewise
15595 * text2.C (CreateUndo): likewise
15597 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15599 * minibuffer.C (peek_event): temporarily reduce the functionality
15600 of the minibuffer (to allow args on lfuns)
15602 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15603 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15605 * buffer.C (readInset): add compability reading of old float
15606 lists, add reading of new style float list.
15607 (readInset): avoid reevaluation of inscmd.getCmdName()
15608 (getLists): reindent
15610 * MenuBackend.C (MenuItem): implement parsing of
15611 md_floatlistinsert and md_floatinsert.
15612 (expand::LastFiles): move initalizaton of iterators out of loop,
15613 avoid reevaluation.
15614 (expand::Documents): introduce typdedef vector<string> Strings,
15616 (expand::ExportFormats): introduce typedef vector<Format const *>
15617 Formats, and use it.
15618 (expand): implement FloatListInsert and FloatInsert.
15620 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15621 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15622 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15624 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15626 (Dispatch::LFUN_FLOAT_LIST): implement
15628 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15630 * LaTeX.C (run): Fix problem with --export code.
15632 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15634 * BufferView.[Ch] (workarea): removed.
15635 (getClipboard) new method; wrapper for workarea()->getClipboard()
15637 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15640 * WorkArea.h (width, height, xpos, ypos): These methods all
15641 returned the dimensions of the work_area sub-area of WorkArea,
15642 resulting in a position error if the WorkArea were resized. Now
15643 return the dimensions of the entire WorkArea.
15645 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15647 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15649 * LaTeX.C (deplog): correct the syntax of regex reg1
15651 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15653 * undo.C: remove !NEW_INSETS cruft
15655 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15657 * text2.C: remove !NEW_INSETS cruft
15659 * text.C: remove !NEW_INSETS cruft
15661 * tabular.C: remove !NEW_INSETS cruft
15663 * spellchecker.C: remove !NEW_INSETS cruft
15665 * lyxtext.h: remove !NEW_INSETS cruft
15667 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15669 * lyxfunc.C: remove !NEW_INSETS cruft
15671 * lyxfind.C: remove !NEW_INSETS cruft
15673 * lyx_cb.C: remove !NEW_INSETS cruft
15675 * figureForm.C: remove !NEW_INSETS cruft
15677 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15679 * buffer.[Ch]: remove !NEW_INSETS cruft
15681 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15683 * CutAndPaste.C: remove !NEW_INSETS cruft
15685 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15687 * BufferView2.C: remove !NEW_INSETS cruft
15689 * BufferView.h: remove !NEW_INSETS cruft
15691 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * Lsstream.h: include LString.h before the sstream headers to
15694 fix problem with gcc 2.95.3 and lyxstring
15696 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15698 * lyx_main.C: add using directives when needed for C functions
15699 declared in std:: namespace.
15701 2001-04-27 Juergen Vigna <jug@sad.it>
15703 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15704 (SetHeightOfRow): comment out the update call should not be needed!
15706 2001-04-13 Juergen Vigna <jug@sad.it>
15708 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15709 (LyXTabular): tried to minimize operator= operations (and realized
15710 hopfully Lars wish).
15712 2001-04-27 Juergen Vigna <jug@sad.it>
15714 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15716 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15718 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15720 * buffer.C (readInset): hack to make listof algorithm work
15722 * BufferView_pimpl.C: hack to make listof algorithm work
15724 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * LyXAction.C: removed all !NEW_INSETS cruft
15727 (init): moved lfun_item in method
15729 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15731 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15733 * BufferView2.C (theLockingInset): white space.
15735 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15737 * minibuffer.C: include <iostream>
15739 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15741 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15743 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15745 * text.[Ch] (TransposeChars): new method
15747 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * call message directly through LyXView instead of through LyXFunc
15750 * BufferView2.C: adjust
15751 * BufferView_pimpl.C: adjust
15752 * FontLoader.C: adjust
15754 * bufferview_funcs.C: adjust
15755 * converter.C: adjust
15756 * figureForm.C: adjust
15757 * importer.C: adjust
15759 * lyx_gui_misc.C: adjust
15760 * lyxfunc.C: adjust
15763 + more files in subdirs
15765 * lyxparagraph.h (size): move up int file
15768 * adjust all uses of Assert to lyx::Assert.
15770 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15771 lyxfunctional in namespace lyx
15772 * layout.C (hasLayout): ditto
15775 (delete_layout): ditto
15776 (NumberOfClass): ditto
15777 * converter.C (GetFormat): ditto
15782 * bufferlist.C (getFileNames): ditto
15783 (emergencyWriteAll): ditto
15786 * MenuBackend.C (hasSubmenu): ditto
15789 * BufferView_pimpl.C (getInsetByCode): ditto
15791 2001-04-18 Juergen Vigna <jug@sad.it>
15793 * vspace.C (asLatexString): fixed the 100% problem.
15795 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15797 * lyxfunc.C (Dispatch):
15799 * minibuffer.h: add a few std:: qualifiers
15801 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * minibuffer.[Ch]: reimplement so that commands is initiated and
15804 run from lyxfunc, simplified som handling, and made the completion
15805 and history code for complete. wip.
15807 * lyxfunc.C (processKeySym): call message
15808 (miniDispatch): new temporary method
15809 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15810 (LFUN_MESSAGE): implement
15811 (LFUN_MESSAGE_PUSH): implement
15812 (LFUN_MESSAGE_POP): implement
15813 (initMiniBuffer): the initial/defualt minibuffer message.
15815 * lyxfont.[Ch]: inline some more getters
15817 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15819 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15821 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15822 (AutoSave): use LFUN_MESSAGE
15823 (Reconfigure): ditto
15825 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15827 * figureForm.C: use LFUN_MESSAGE
15829 * converter.C (runLaTeX): use LFUN_MESSAGE
15831 * bufferview_funcs.C: use LFUN_MESSAGE
15833 (changeDepth): ditto
15835 * bufferparams.h: use boost::
15837 * bufferlist.h: inherit privately from noncopyable
15839 * bufferlist.C (loadLyXFile): remove some commented code.
15841 * buffer.C (runChktex): use LFUN_MESSAGE
15843 * ShareContainer.h: inherit privately from noncopyable
15845 * ParagraphParameters.[hC] (depth): inline it.
15847 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15849 (message): new method
15850 (messagePush): ditto
15851 (messagePop): ditto
15852 (show): init minibuffer
15853 (showState): direct call
15855 * LaTeX.[Ch]: inherit privately from noncopyable
15856 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15857 instead of WriteStatus.
15859 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15861 * BufferView_pimpl.C (buffer): don't init minibuffer
15862 (workAreaButtonPress): use LFUN_MESSAGE
15863 (workAreaButtonRelease): ditto
15864 (savePosition): ditto
15865 (restorePosition): ditto
15866 (MenuInsertLyXFile): ditto
15867 (workAreaExpose): don't init minibuffer
15868 (update): remove commented code, simplify
15870 * BufferView2.C (openStuff): use LFUN_MESSAGE
15871 (toggleFloat): ditto
15874 (copyEnvironment): ditto
15875 (pasteEnvironment): ditto
15880 (updateInset): remove some commented code
15882 * lastfiles.h: inherit privately from noncopyable
15885 * lyx_main.h: ditto
15887 * lyxlex_pimpl.h: ditto
15889 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15890 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15891 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15893 * LyXAction.h: inherit privately from noncopyable, add methods
15894 func_begin, func_end, returning iterators to the func map.
15896 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15897 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15898 (func_begin): new method
15899 (func_end): new method
15901 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15903 (copySelection): ditto
15904 (pasteSelection): ditto
15906 * BufferView.C: whitespace change
15907 * BufferView.h: inherit privately from noncopyable
15909 2001-04-16 Allan Rae <rae@lyx.org>
15911 * tabular-old.C (l_getline):
15912 * spellchecker.C (sc_check_word):
15913 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15914 an unrecognised preprocessor directive. So ensure they're wrapped.
15916 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15918 * src/exporter.C (Export): Give an error message when path to file
15921 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15923 * LaTeX.C (deplog): Always check that foundfile exists.
15925 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15930 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * tabular.[Ch] (getLabelList): implement new method
15934 * minibuffer.h: comment ouf setTiimer
15936 * minibuffer.C (ExecutingCB): constify res
15937 (peek_event): constify s
15938 (Set): constify ntext
15939 (Init): constify nicename
15941 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15943 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15944 (savePosition): use two params to Minibuffer::Set
15945 (restorePosition): ditto
15947 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * lyx_main.C: include language.h
15951 * Makefile.am (lyx_main.o): add language.h
15953 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15959 * CutAndPaste.C: include gettext.h
15961 * lyxfont.h: remove old hack with ON and OFF.
15964 * lyxfont.h: do not include language.h...
15969 * bufferview_funcs.C:
15975 * paragraph.C: ... but do it here instead
15977 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15979 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15981 * tabular.C: small reformat
15983 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15986 (BreakParagraph): ditto
15987 (SetOnlyLayout): ditto
15990 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15993 * lastfiles.C: removed most using decl, add std:: where needed
15995 * buffer.C: ws changes
15997 * MenuBackend.C (class compare_format): put into anon namespace
15998 (expand): constify label, names, action, action2
16001 * text.C (SingleWidth): constify font
16002 (IsBoundary): constify rtl2
16003 (GetVisibleRow): constify ww
16005 * LaTeX.C (deplog): constify logfile
16007 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16009 (workAreaExpose): constify widthChange, heightChange
16011 * lyxrow.C (par): moved
16014 * lyxrow.h: as inlines here
16016 * lyxfont.h (shape): moved from lyxfont.C
16017 (emph): moved from lyxfont.C
16019 * lyxfont.C (LyXFont): use initialization list for all
16021 (shape): move to lyxfont.h as inline
16022 (emph): move to lyxfont.h as inline
16025 2001-04-04 Juergen Vigna <jug@sad.it>
16027 * vspace.C: had to include stdio.h for use of sscanf
16029 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16032 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16033 independent of xforms.
16035 2001-04-02 Juergen Vigna <jug@sad.it>
16037 * spellchecker.C: fixed namespace placing!
16039 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16041 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16042 the LyXParagraph * is 0.
16044 2001-03-29 Juergen Vigna <jug@sad.it>
16046 * vspace.C: added support for %, c%, p%, l%.
16047 (stringFromUnit): added helper function.
16048 (asLatexString): changed to give right results for the %-values.
16050 * buffer.C: convert the widthp in a width%.
16052 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16054 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16057 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16058 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16060 * lyx_cb.[Ch]: see above.
16062 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16066 * lyx.[Ch]: replaced by figure_form.[Ch].
16070 * lyxfunc.C: changed headers associated with above changes.
16072 2001-03-27 Juergen Vigna <jug@sad.it>
16074 * BufferView_pimpl.C: set the temporary cursor right!
16076 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16078 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16080 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16082 * LString.h: removed "using std::getline"!
16084 * BufferView_pimpl.C (Dispatch): changes due to changes in
16085 InsetInclude::Params.
16087 * buffer.C (tag_name): removed redundant break statements as they were
16088 producing lots of warnings with my compiler.
16090 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16092 * LString.h: add "using std::getline" when using the real <string>.
16094 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16096 * buffer.C: removed bitset usage.
16097 PAR_TAG moved to an anonymous name space.
16098 (tag_name): new funtion, also in the anonymous namespace.
16099 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16100 (makeDocBookFile): clean code. Completed transition from string arrays
16102 (SimpleDocBookOnePar): code clean.
16104 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16106 * tabular.C: add some comments.
16108 2001-03-22 Juergen Vigna <jug@sad.it>
16110 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16111 compatibility read a bit and fixed bug with minipage in different
16114 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16116 * buffer.C (pop_tag): removed.
16117 (push_tag): removed.
16118 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16119 array replaced with vector. Added support for CDATA sections.
16120 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16122 (makeDocBookFile): XML conformant declaration of CDATA section,
16123 fixed bug related to <emphasis> in the first paragraph char.
16124 (sgmlOpenTag): exclude empty tags.
16125 (sgmlCloseTag): ditto.
16127 * buffer.h (pop_tag): removed.
16128 (push_tag): removed.
16130 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16132 * language.h (Languages): added size_type and size().
16134 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16136 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16137 response on compability reading of minipages. One probliem is that
16138 the old usage of minipages was «flertydig»
16140 * several files here and in subdirs: don't use static at file
16141 scope use anon namespaces instead.
16143 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16145 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16146 LaTeX output. This is necessary for Literate document
16149 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16151 * buffer.C: insert hfill when needed.
16153 * tabular.C (l_getline): use string::erase, small whitespace change.
16155 * BufferView_pimpl.C: try the anon namespace.
16156 * WorkArea.C: ditto
16158 2001-03-16 Juergen Vigna <jug@sad.it>
16160 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16161 otherwise it won't open options-dialogs.
16163 * buffer.C: honor pextraWidth(p) on converting minipages.
16165 * tabular.C (l_getline): changed the functions to strip trailing \r.
16167 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16169 * BufferView_pimpl.C:
16170 * minibuffer..C: added "using SigC::slot" declaration.
16172 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16174 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16180 * paragraph.C: ditto
16182 * lyxtext.h: NO_PEXTRA
16184 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16186 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16187 * ParameterStruct.h: ditto
16188 * ParagraphParameters.h: ditto
16189 * lyxparagraph.h: ditto
16191 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16193 * buffer.C: add compability for minipage alignment.
16194 (latexParagraphs): remove unwanted pextra check.
16196 * several files: remove CXX_WORKING_NAMESPACES
16198 * buffer.C (pop_tag): tie is in namespace boost
16200 * BufferView.h: noncopyable is in namespace boost
16202 * lyx_main.h: ditto
16205 * lastfiles.h: ditto
16206 * bufferlist.h: ditto
16207 * ShareContainer.h: ditto
16209 * LyXAction.h: ditto
16212 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16214 * Merging changes from BRANCH_MVC back into HEAD.
16216 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16218 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16220 * BufferView_pimpl.C: change from intl.C
16224 * Makefile.am: move combox.*
16230 * intl.C: remove dialog (covered by prefs)
16232 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16234 * lyxfunc.C (Dispatch): removed redundant break statement.
16236 2001-03-14 Juergen Vigna <jug@sad.it>
16238 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16240 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16242 * buffer.C: add hack to fix compability reading of minipages.
16244 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16246 * buffer.C (getLists): Cleanup.
16248 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * lyxfont.C (update): don't honor toggleall on font size.
16252 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16256 * Makefile.am: moved to frontends/xforms/
16260 * BufferView_pimpl.C: changes for moved mathpanel
16262 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16264 * gettext.h: fix gettext_init() in --disable-nls
16266 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16270 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16273 * lyx.h: strip external form
16275 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16277 * BufferView_pimpl.C: add comment, destroySplash()
16279 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16281 * BufferView_pimpl.C:
16285 * lyxfunc.C: use re-worked insetinclude
16287 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16289 * buffer.C: add using std::stringstream.
16291 * lyx_cb.C: readd using std::ios.
16293 * buffer.C: add using std::map.
16295 * BufferView_pimpl.C: add using std::vector.
16297 * ShareContainer.h: add std:: to swap.
16299 * buffer.h: add some typedefs
16300 * buffer.C (getLists): use them
16301 (getLists): renamed from getTocList.
16302 add a counter for the different float types and use it in the
16304 (getLists): use the same counter for the NEW_INSETS and the "non"
16307 * lyx_cb.h: remove unused items, includes, using etc.
16309 * ShareContainer.h: remove some commented code, add more comments
16310 and "documentation".
16312 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16314 * buffer.C (getTocList): make the list also when NEW_INSETS is
16317 * buffer.h: remove TocType
16319 * buffer.C (getTocList): change to return a map<string,
16320 vector<TocItem> >, implement for dynamic number of list.
16322 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16323 * text2.C (PasteSelection): adjust
16324 * CutAndPaste.C (pasteSelection): adjust
16326 * FloatList.C (FloatList): update from the new_insets branch.
16327 * Floating.[Ch]: ditto
16328 * LaTeXFeatures.C: ditto
16330 * lyxlex_pimpl.C: ditto
16332 * paragraph.C (Last): remove when NEW_INSETS is defined.
16334 * other file: changes because of the above.
16336 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16338 * lyxparagraph.h: rename next to next_, previous to previous_,
16339 make them private for NEW_INSETS. Rename Next() to next(),
16340 Previous() to previous().
16342 * other files: changes because of the above.
16344 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16347 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16350 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16352 * main.C (main): pass lyx_localedir to gettext_init().
16354 * gettext.h: remove locale_init and gettext_init macros
16356 * gettext.C (locale_init): new function
16357 (gettext_init): new function
16359 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16362 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16364 * Moved credits to frontends:
16365 * credits.[Ch]: removed
16366 * credits_form.[Ch]: removed
16367 * lyx_gui_misc.C: remove credits stuff
16370 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16372 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16374 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16375 unneeded destructor.
16377 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16378 a standalone pointer again.
16380 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16382 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16388 * ToolbarDefaults.C:
16397 * BufferView_pimpl.C: use new file dialog in GUII
16400 * lyx_cb.C: remove LayoutsCB to Toolbar
16402 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16404 * ShareContainer.h (get): add std:: qualifier
16406 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16408 * ShareContainer.h: define a proper ShareContainer::value_type
16409 type (and use typename to please compaq cxx)
16411 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16413 * lyxparagraph.h: move serveral local vars to
16414 ParameterStruct/ParagraphParameters., use ShareContainer in
16415 FontTable., make vars in FontTable private and add getter and
16418 * paragraph.C: changes because of the above.
16420 * lyxfont.h: remove copy constructor and copy assignment. (the
16421 default ones is ok), move number inside FontBits. move inlines to
16424 * lyxfont.C: add number to initializaton of statics, move several
16425 inlines here. constify several local vars. some whitespace
16426 cleanup. Dont hide outerscope variables.
16428 * Spacing.h: add two new constructors to match the set methods.
16430 * ShareContainer.h: new file, will perhaps be moved to support
16432 * ParameterStruct.h: new file
16434 * ParagraphParameters.h: new file
16436 * ParagraphParameters.C: new file
16438 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16439 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16441 * BufferView_pimpl.C: ParagraphParameter changes.
16442 * buffer.C: Likewise.
16443 * bufferview_funcs.C: Likewise.
16444 * text.C: Likewise.
16445 * text2.C: Likewise.
16447 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16449 * lyxfind.C (LyXReplace): do not redefine default argument in
16451 (IsStringInText): ditto
16452 (SearchForward): ditto
16453 (SearchBackward): ditto
16455 2001-03-06 Juergen Vigna <jug@sad.it>
16457 * lyxfind.C (IsStringInText): put parentes around expressions.
16459 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16461 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16463 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16465 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16467 * stl_string_fwd.h: add comment
16469 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16472 * tabular.C: remove unused DocBook methods
16478 killed DO_USE_DEFAULT_LANGUAGE
16480 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * lyx_gui.C: do not include language.h.
16484 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16485 arguments in function implementation.
16487 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16489 * BufferView_pimpl.C: add <ctime>
16491 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16493 * BufferView_pimpl.C: add using std::find_if
16495 2001-02-27 José Matos <jamatos@fep.up.pt>
16497 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16500 2001-02-11 José Matos <jamatos@fep.up.pt>
16502 * buffer.C (makeDocBookFile): command styles now have a parameter as
16503 "title" by default.
16505 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16507 * layout_forms.[Ch]: removed
16508 * lyx_cb.[Ch]: out character
16509 * lyx_gui.C: out character
16510 * lyx_gui_misc.C: out character
16511 * bufferview_funcs.C: : out character,
16512 added toggleall as parameter in ToggleAndShow
16514 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16516 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16518 * text2.C (SetCurrentFont): Disable number property at boundary.
16520 2001-02-26 Juergen Vigna <jug@sad.it>
16522 * lyxfunc.C (getStatus): added a string argument override function so
16523 that this is correctly called from LyXFunc::Dispatch if it contains a
16524 do_not_use_argument which is used!
16525 (Dispatch): added check for "custom" export and call appropriate func.
16527 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16529 * lyxrc.C: Add language_command_local, language_use_babel and
16530 language_global_options.
16532 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16534 * buffer.C (makeLaTeXFile): Use language_use_babel and
16535 language_global_options.
16537 2001-02-23 Juergen Vigna <jug@sad.it>
16539 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16540 which works with LyXText and putted it inside BufferView. Here now we
16541 only call for that part the BufferView::Dispatch() function.
16543 * BufferView.C (Dispatch): added.
16545 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16546 functions which needs to use a LyXText over from LyXFunc.
16547 (MenuInsertLyXFile): added
16548 (getInsetByCode): added
16549 (moveCursorUpdate): added
16550 (static TEXT): added
16552 2001-02-22 Juergen Vigna <jug@sad.it>
16554 * BufferView_pimpl.C (update): call a status update to see if LyXText
16557 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16559 * vc-backend.C (revert): implement for CVS
16560 (getLog): implement for CVS
16562 2001-02-20 Juergen Vigna <jug@sad.it>
16564 * text2.C (ClearSelection): added BufferView param for inset_owner call
16566 * lyxfunc.C (TEXT): added this function and use it instead of
16567 directly owner->view()-text of getLyXText().
16569 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16571 * src/layout_forms.C: out preamble
16572 * src/layout_forms.h: out preamble
16573 * src/lyx_cb.C: out preamble
16574 * src/lyx_cb.h: out preamble
16575 * src/lyx_gui.C: out preamble
16576 * src/lyx_gui_misc.C: out preamble
16577 * src/lyxfunc.C: connect with guii preamble
16579 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16581 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16583 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16585 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16586 whether to run bibtex.
16588 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16590 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16592 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16594 * Makefile.am (lyx_SOURCES): removed bibforms.h
16596 * vspace.h: doxygen
16598 * text.C (GetVisibleRow): make several local vars const
16600 * tabular.C: small cleanup.
16602 * lyxserver.C (callback): use compare instead of strncmp
16604 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16605 inlines to after class or to paragraph.C
16607 * lyxfont.h: remove friend operator!=
16609 * converter.h: move friend bool operator< to non friend and after
16612 * combox.h: small cleanup
16614 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16615 to inlines after class def.
16617 * buffer.C (pop_tag): use string operations instead of strcmp
16619 * bmtable.c: doxygen, small cleanup
16621 * LaTeX.h: remove friend operator==
16623 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16635 * BufferView_pimpl.C:
16636 * BufferView.[Ch]: remove cruft
16638 2001-02-14 Juergen Vigna <jug@sad.it>
16640 * lyxfunc.C: removed #if 0 unused code
16642 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16644 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16646 * text2.C (SetSelection): added a BufferView * parameter
16648 2001-02-13 Juergen Vigna <jug@sad.it>
16650 * lyxfunc.C (Dispatch): fixed protected blank problem.
16651 * BufferView2.C (protectedBlank): added LyxText * parameter.
16653 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16654 (AppendColumn): same as above for column_info.
16656 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16657 (moveCursorUpdate): use a LyXText param for support of InsetText.
16659 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16660 (tripleClick): ditto
16662 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16664 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16666 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16668 * text2.C (SetSelection): set correct update status if inset_owner
16669 (ToggleFree): ditto
16671 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16673 * tabular.C: remove some commented code.
16675 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16677 * BufferView_pimpl.C: call hideSplash()
16679 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16682 * bibforms.h: remove
16685 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16686 add LFUN_CHILD_CREATE
16688 * counters.h: fix tiny typo
16693 * lyx.C: move splash to frontends/xforms/
16695 * lyx_gui_misc.C: move Include and Bibform to frontends
16697 * lyxvc.h: clarify comment
16699 * vspace.C: tiny housekeeping
16701 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16703 * text.C (PrepareToPrint): RTL Fix.
16705 * paragraph.C (GetUChar): New method.
16706 (String): Use GetUChar.
16708 * buffer.C (asciiParagraph): Use GetUChar.
16710 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16712 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16714 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16717 * buffer.C: rename to getLogName(), handle
16718 build log / latex log nicely
16720 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16723 * MenuBackend.h: remove support for reference menuitem type.
16725 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16727 * BufferView_pimpl.C: housekeeping
16728 * BufferView_pimpl.h:
16733 * minibuffer.h: move Timeout GUI-I
16735 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16737 * lyxrc.C (read): Update converters data-structures.
16739 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16741 * LaTeX.h (operator!=): add operator != for Aux_Info
16743 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16745 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16747 * LaTeXLog.C: deleted, useful code moved to Buffer
16750 * buffer.C: new function getLatexLogName()
16756 * lyxfunc.C: use frontends for LaTeX and VC logs
16758 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16760 * LaTeX.h: yet another std:: that Allan forgot.
16762 * Variables.C (set): renamed from isset(), because this clashes
16763 with some HP-UX macros (grr).
16765 2001-02-06 Allan Rae <rae@lyx.org>
16767 * LaTeX.h: Another bug fix. Missing std:: this time.
16769 2001-02-04 Allan Rae <rae@lyx.org>
16771 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16772 floats problem. I've left it commented out because it's not quite
16773 correct. It should also test that the current object is a table or
16774 figure inset. But I haven't gotten around to figuring out how to do
16775 that. I *think* it'll be something like: "table" == inset.type()
16777 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16780 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16782 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16783 all the citation/databases/styles in the auxilary file.
16784 (run): Rerun latex if there was a babel language error.
16786 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16788 * text.C (Backspace): Preserve the font when changing newline char
16790 (BreakParagraph): If the cursor is before a space, delete the space.
16792 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16794 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16796 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16797 new argument (code).
16798 (ChangeCitationsIfUnique): New method.
16800 * paragraph.C (GetPositionOfInset): Handle bibkey.
16802 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * BufferView_pimpl.h: change type of Position::par_pos to
16805 LyXParagraph::size_type.
16807 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16809 * BufferView_pimpl.C (savePosition, restorePosition): Write
16810 messages to minibuffer.
16812 2001-01-28 José Matos <jamatos@fep.up.pt>
16814 * buffer.C (makeDocBookFile): adds support for document language.
16815 A silly restriction on the name of LatexCommand types where removed.
16816 Added support for CDATA sections, allows to chars unescaped, used
16817 among others in code, to avoid escape < and >.
16819 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16821 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16822 saved positions instrad of a stack. Furthermore, a position is
16823 stored using paragraph id/paragraph position.
16825 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16826 Remove LFUN_REF_BACK.
16828 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16830 * converter.C (dvipdfm_options): New method.
16832 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16834 * vspace.C (isValidLength): Fix for empty input string.
16836 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16838 * LyXAction.C (init): change description of LFUN_FIGURE to
16841 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16843 * LaTeX.C: add using directive
16845 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16847 * MenuBackend.C (expand): Fix the sorting of the formats.
16849 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16851 * lyx_main.C: tiny error message fix
16853 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16855 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16856 calling fl_initialize(). This fixes the problem with ',' as
16857 decimal separator in text files.
16859 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16861 * trans.C (process): Fix the keymap bug.
16863 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16865 * LaTeX.C (scanAuxFiles): New method. Provides support for
16866 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16867 (scanLogFile) Scan for "run BibTeX" messages.
16869 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16870 OT1 font encoding. Also, load the aecompl package if the ae
16873 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16875 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * texrow.C (increasePos): turn two error messages into debug
16880 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16882 * LaTeX.C (scanAux): Handle the \@input macro.
16883 (runBibTeX): Use scanAux().
16885 * language.C (latex_options_): New field.
16887 * LaTeXFeatures.C (getMacros): Add language macros.
16889 * buffer.C (makeLaTeXFile): Small fix.
16891 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16895 * text2.C: add a using directive.
16897 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16902 * lyxfunc.C: kill LyXBell.
16904 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16906 * text.C (IsBoundary): Remove the error message
16908 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16910 * lyxrc.C (setDefaults): Correct initialization value for
16913 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16915 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16918 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16919 and GotoNextNote().
16921 * src/LyXAction.C: Added reference-next.
16923 * text.C (InsertChar): Use contains instead of strchr.
16925 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16927 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16929 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16930 alignment commands (when needed).
16932 * text.C (InsertChar): Add ':' to number separator chars.